/* Tank Logic — guides-index.css  NATURE THEME */

.guides-hero { padding-top: calc(var(--nav-h) + 52px); padding-bottom: 52px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.guides-hero::before { content: ''; position: absolute; width: 600px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(42,127,168,0.06) 0%, transparent 70%); top: -80px; right: -120px; pointer-events: none; }
.guides-hero__inner { max-width: 700px; position: relative; z-index: 1; }
.guides-hero h1     { font-family: var(--font-head); margin-bottom: 16px; }

.guides-filter-bar { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.guides-search-wrap { position: relative; max-width: 480px; }
.guides-search { width: 100%; padding-left: 38px; background: var(--bg-1); border: 1px solid var(--border-mid); border-radius: var(--r-md); padding: 13px 18px 13px 38px; font-size: var(--sz-15); font-family: var(--font); color: var(--tx-hi); outline: none; box-shadow: var(--shadow-sm); transition: border-color 0.2s, box-shadow 0.2s; }
.guides-search::placeholder { color: var(--tx-xlo); }
.guides-search:focus { border-color: var(--accent-mid); box-shadow: 0 0 0 3px rgba(45,122,58,0.1); }
.filter-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn  { padding: 8px 18px; border-radius: 100px; border: 1px solid var(--border-mid); background: var(--bg-1); color: var(--tx); font-size: var(--sz-13); font-weight: 600; font-family: var(--font); cursor: pointer; transition: all 0.18s; white-space: nowrap; }
.filter-btn:hover  { border-color: var(--accent-mid); color: var(--tx-hi); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.featured-card { display: flex; align-items: center; gap: 32px; background: linear-gradient(135deg, var(--bg-1) 0%, var(--accent-lo) 100%); border: 1px solid var(--accent-mid); border-radius: var(--r-xl); padding: 36px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.featured-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 0% 50%, rgba(45,122,58,0.04), transparent 60%); pointer-events: none; }
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-hi); }
.featured-card__body  { flex: 1; }
.featured-card__tags  { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.featured-card__title { font-family: var(--font-head); font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 800; color: var(--tx-hi); line-height: 1.22; margin-bottom: 14px; }
.featured-card__desc  { font-size: var(--sz-15); color: var(--tx-lo); line-height: 1.75; margin-bottom: 20px; }
.featured-card__meta  { display: flex; gap: 20px; flex-wrap: wrap; font-size: var(--sz-13); color: var(--tx-lo); margin-bottom: 20px; }
.featured-card__cta   { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--accent); transition: gap 0.2s; }
.featured-card:hover .featured-card__cta { gap: 10px; }
.featured-card__emoji { font-size: 5rem; flex-shrink: 0; opacity: 0.85; display: none; }

.guides-section-header h2 { font-family: var(--font-head); font-size: 1.5rem; color: var(--tx-hi); }
.guides-count { font-size: var(--sz-13); font-weight: 400; color: var(--tx-lo); font-family: var(--font); margin-left: 8px; }
#noResults { color: var(--tx-lo); font-size: 0.9rem; margin-top: 10px; }

.cat-label { grid-column: 1 / -1; font-family: var(--font-head); font-size: var(--sz-12); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--tx-lo); padding: 12px 0 8px; border-bottom: 1px solid var(--border); margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.cat-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.cat-label.hidden { display: none; }

.guides-index-grid { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: stretch; }
.gi-card { background: var(--bg-1); border: 1px solid var(--border); border-left: 2px solid transparent; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, border-left-color 160ms var(--ease); }
.gi-card:not(:has(.gi-card__link--soon)):hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-mid); border-left-color: var(--water); }
.gi-card:not(:has(.gi-card__link--soon)):hover .gi-card__title { color: var(--water); }
.gi-card:has(.gi-card__link--soon) { opacity: 0.65; }
.gi-card:has(.gi-card__link--soon):hover { transform: none; box-shadow: none; border-color: var(--border); }
.gi-card.hidden { display: none; }
.gi-card__link  { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; text-decoration: none; color: inherit; }
.gi-card__icon  { width: 40px; height: 40px; min-width: 40px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.gi-card__icon.teal   { background: var(--accent-lo); }
.gi-card__icon.blue   { background: var(--water-lo);  }
.gi-card__icon.purple { background: var(--purple-lo); }
.gi-card__icon.gold   { background: var(--gold-lo);   }
.gi-card__body  { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.gi-card__tags  { display: flex; gap: 6px; flex-wrap: wrap; }
.gi-essential   { background: var(--accent-lo); color: var(--accent); border-color: var(--accent-mid); }
.gi-card__title { font-family: var(--font-head); font-size: var(--sz-15); font-weight: 700; color: var(--tx-hi); line-height: 1.32; margin: 0; transition: color 0.2s; }
.gi-card__desc  { font-size: var(--sz-14); color: var(--tx-lo); line-height: 1.62; margin: 0; }
.gi-card__meta  { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: var(--sz-13); color: var(--tx-lo); }
.badge-live { font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; color: var(--accent); background: var(--accent-lo); border: 1px solid var(--accent-mid); border-radius: 100px; padding: 2px 8px; }
.badge-soon { font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; color: var(--tx-lo); background: var(--bg-2); border: 1px solid var(--border); border-radius: 100px; padding: 2px 8px; }

@media (min-width: 600px) { .guides-index-grid { grid-template-columns: repeat(2, 1fr); } .featured-card__emoji { display: block; } }
@media (min-width: 900px) { .guides-index-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .filter-btns { gap: 6px; } .filter-btn { padding: 6px 13px; font-size: var(--sz-12); } }

/* ── Fishroom band: distinct, intentional ── */
.cat-label--field{ color: var(--accent); border-color: var(--accent-mid); margin-top: 18px; }
.gi-card--field{ border-left: 3px solid var(--accent); background: var(--bg-1); }
.gi-card--field .gi-card__title{ color: var(--accent); }

/* ── equal-height cards, meta pinned to bottom ── */
.gi-card{ height:100%; display:flex; }
.gi-card__link{ display:flex; gap:14px; width:100%; align-items:flex-start; }
.gi-card__body{ display:flex; flex-direction:column; flex:1; min-width:0; }
.gi-card__desc{ flex:1; }
.gi-card__meta{ margin-top:auto; padding-top:10px; }
