/*
Theme Name: Tool Minimal
Theme URI: https://example.invalid/
Author: Tool
Version: 0.1.0
Text Domain: tool-minimal
*/

:root {
  --tool-max-width: 1120px;
  --tool-padding-x: 16px;
  --tool-border: #e5e7eb;
  --tool-text: #111827;
  --tool-muted: #6b7280;
  --tool-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  color: var(--tool-text);
  /*
  background: var(--tool-bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  */
}

a {
  color: inherit;
}

.tool-container {
  /*
  max-width: var(--tool-max-width);
  margin: 0 auto;
  padding: 0 var(--tool-padding-x);
  */
}

.tool-header {
  border-bottom: 1px solid var(--tool-border);
}

.tool-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.tool-brand {
  font-weight: 700;
  text-decoration: none;
}

.tool-nav {
  font-family: sans-serif;
  font-size: 14px;
}

.tool-nav ul.menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
}

.tool-nav .menu > li {
  position: relative;
}

.tool-nav .menu > li > a {
  display: block;
  padding: 12px 16px;
  color: #555;
  text-decoration: none;
}

.tool-nav .menu > li > a:hover,
.tool-nav .menu > li:hover > a {
  color: #000;
}

.tool-nav .menu > li.current-menu-item > a,
.tool-nav .menu > li.current_page_item > a {
  color: #000;
  font-weight: 500;
}

/* Freccia dropdown */
.tool-nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
}

/* Sottomenu */
.tool-nav .sub-menu {
  list-style: none;
  margin: 0; padding: 6px 0;
  position: absolute;
  top: 100%; left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .15s, transform .15s;
  z-index: 100;
}

.tool-nav .menu > li:hover > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tool-nav .sub-menu li a {
  display: block;
  padding: 8px 16px;
  color: #555;
  text-decoration: none;
}

.tool-nav .sub-menu li a:hover {
  color: #000;
  background: #f5f5f5;
}

/*
.tool-main {
  padding: 28px 0 48px;
}

.tool-footer {
  border-top: 1px solid var(--tool-border);
  padding: 24px 0;
  color: var(--tool-muted);
  font-size: 14px;
}

.tool-post-list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.tool-card {
  grid-column: span 12;
  border: 1px solid var(--tool-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

@media (min-width: 720px) {
  .tool-card {
    grid-column: span 6;
  }
}

@media (min-width: 1024px) {
  .tool-card {
    grid-column: span 4;
  }
}

.tool-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.tool-card__body {
  padding: 14px 14px 16px;
}

.tool-card__title {
  margin: 0 0 8px;
  font-size: 16px;
}

.tool-card__excerpt {
  margin: 0 0 12px;
  color: var(--tool-muted);
  font-size: 14px;
}

.tool-button {
  display: inline-block;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--tool-border);
  background: #f9fafb;
}

.tool-pagination {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-pagination a,
.tool-pagination span {
  padding: 6px 10px;
  border: 1px solid var(--tool-border);
  border-radius: 8px;
  text-decoration: none;
}

.tool-pagination .current {
  background: #111827;
  color: #fff;
  border-color: #111827;
}
*/
