/*
Theme Name: AquaGearLab
Theme URI: https://aquagearlab.com
Author: AquaGearLab
Author URI: https://aquagearlab.com
Description: Fast, responsive affiliate WordPress theme built for aquarium gear reviews, buyer guides and freshwater aquarium content.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: aquagearlab
*/

:root {
  --agl-navy: #071c2c;
  --agl-navy-2: #0b2b40;
  --agl-ocean: #0c7890;
  --agl-aqua: #19b7b1;
  --agl-mint: #dff8f3;
  --agl-ice: #f3fbfc;
  --agl-white: #ffffff;
  --agl-ink: #102533;
  --agl-muted: #5f7380;
  --agl-line: #dce9ed;
  --agl-warm: #ffb85c;
  --agl-green: #2b9b72;
  --agl-red: #d95757;
  --agl-shadow: 0 14px 40px rgba(7, 28, 44, .10);
  --agl-shadow-soft: 0 7px 24px rgba(7, 28, 44, .08);
  --agl-radius: 18px;
  --agl-radius-sm: 12px;
  --agl-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--agl-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--agl-ocean); text-decoration: none; }
a:hover { color: var(--agl-aqua); }
button, input, textarea, select { font: inherit; }

.agl-container { width: min(calc(100% - 36px), var(--agl-max)); margin-inline: auto; }
.agl-narrow { width: min(calc(100% - 36px), 820px); margin-inline: auto; }
.agl-section { padding: 76px 0; }
.agl-section--soft { background: var(--agl-ice); }
.agl-kicker {
  margin: 0 0 10px;
  color: var(--agl-ocean);
  font-size: .78rem;
  line-height: 1.2;
  letter-spacing: .14em;
  font-weight: 800;
  text-transform: uppercase;
}
.agl-section-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:28px; }
.agl-section-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.12; letter-spacing: -.035em; }
.agl-section-head p { max-width: 620px; margin: 10px 0 0; color:var(--agl-muted); }

/* Header */
.agl-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(220,233,237,.95);
  backdrop-filter: blur(14px);
}
.admin-bar .agl-site-header { top: 32px; }
.agl-header-inner { min-height: 74px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.agl-brand { display:flex; align-items:center; gap:10px; color:var(--agl-navy); font-weight:900; font-size:1.22rem; letter-spacing:-.035em; white-space:nowrap; }
.agl-brand:hover { color:var(--agl-navy); }
.agl-logo-mark { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; background:linear-gradient(145deg,var(--agl-aqua),var(--agl-ocean)); box-shadow:0 7px 18px rgba(12,120,144,.23); }
.agl-logo-mark svg { width:24px; height:24px; fill:#fff; }
.custom-logo { max-height:44px; width:auto; display:block; }
.agl-primary-nav ul { list-style:none; display:flex; align-items:center; gap:6px; margin:0; padding:0; }
.agl-primary-nav a { display:block; padding:9px 12px; border-radius:10px; color:#304a59; font-size:.94rem; font-weight:700; }
.agl-primary-nav a:hover, .agl-primary-nav .current-menu-item > a { color:var(--agl-ocean); background:var(--agl-ice); }
.agl-header-cta { display:inline-flex; align-items:center; gap:7px; padding:10px 15px; color:#fff; background:var(--agl-navy); border-radius:11px; font-size:.9rem; font-weight:800; white-space:nowrap; }
.agl-header-cta:hover { color:#fff; background:var(--agl-ocean); }
.agl-menu-toggle { display:none; width:42px; height:42px; border:0; border-radius:11px; background:var(--agl-ice); cursor:pointer; }
.agl-menu-toggle span { width:20px; height:2px; display:block; background:var(--agl-navy); margin:4px auto; border-radius:3px; }

/* Hero */
.agl-hero { position:relative; min-height:590px; overflow:hidden; background:#061b2b; color:#fff; isolation:isolate; }
.agl-hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 54%; z-index:-3; }
.agl-hero-shade { position:absolute; inset:0; z-index:-2; background:linear-gradient(90deg,rgba(4,20,32,.94) 0%,rgba(4,20,32,.83) 38%,rgba(4,20,32,.36) 67%,rgba(4,20,32,.08) 100%); }
.agl-hero:after { content:""; position:absolute; inset:auto 0 0; height:140px; z-index:-1; background:linear-gradient(180deg,transparent,rgba(3,20,31,.32)); }
.agl-hero-inner { min-height:590px; display:flex; align-items:center; padding:82px 0; }
.agl-hero-copy { max-width:720px; }
.agl-hero h1 { margin:0 0 20px; max-width:710px; font-size:clamp(2.65rem,5.4vw,4.95rem); line-height:.98; letter-spacing:-.055em; text-shadow:0 4px 28px rgba(0,0,0,.22); }
.agl-hero p { max-width:650px; margin:0; color:#e3f1f4; font-size:clamp(1.02rem,1.45vw,1.18rem); line-height:1.72; text-shadow:0 2px 14px rgba(0,0,0,.18); }
.agl-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.agl-btn { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:11px 18px; border-radius:11px; border:1px solid transparent; font-weight:800; line-height:1.2; transition:.18s ease; }
.agl-btn:hover { transform:translateY(-1px); }
.agl-btn--primary { background:#fff; color:var(--agl-navy); box-shadow:0 8px 24px rgba(0,0,0,.12); }
.agl-btn--primary:hover { color:var(--agl-ocean); }
.agl-btn--ghost { color:#fff; border-color:rgba(255,255,255,.42); background:rgba(4,27,40,.26); backdrop-filter:blur(7px); }
.agl-btn--ghost:hover { color:#fff; background:rgba(4,27,40,.46); }
.agl-btn--soft { background:var(--agl-ice); color:var(--agl-navy); border-color:var(--agl-line); }
.agl-btn--soft:hover { color:var(--agl-ocean); border-color:#b8dfe2; }

/* Trust strip */
.agl-trust { border-bottom:1px solid var(--agl-line); background:#fff; }
.agl-trust-inner { display:grid; grid-template-columns:repeat(3,1fr); }
.agl-trust-item { padding:17px 24px; display:flex; align-items:center; justify-content:center; gap:9px; color:#48606d; font-size:.88rem; font-weight:750; border-right:1px solid var(--agl-line); }
.agl-trust-item:last-child { border-right:0; }
.agl-trust-item .agl-svg-icon { width:23px; height:23px; flex:0 0 23px; color:var(--agl-green); padding:4px; border-radius:50%; background:var(--agl-mint); }

/* Category cards */
.agl-category-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.agl-category-card { position:relative; min-height:195px; padding:24px; overflow:hidden; border:1px solid var(--agl-line); border-radius:var(--agl-radius); background:#fff; box-shadow:var(--agl-shadow-soft); transition:.22s ease; }
.agl-category-card:hover { transform:translateY(-3px); border-color:#b9dfe3; box-shadow:var(--agl-shadow); }
.agl-category-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:var(--agl-mint); color:var(--agl-ocean); }
.agl-category-icon .agl-svg-icon { width:25px; height:25px; }
.agl-category-card h3 { margin:18px 0 7px; color:var(--agl-navy); font-size:1.18rem; line-height:1.3; }
.agl-category-card p { margin:0; color:var(--agl-muted); font-size:.92rem; }
.agl-card-link { position:absolute; left:24px; bottom:20px; color:var(--agl-ocean); font-size:.82rem; font-weight:850; }

/* Post cards */
.agl-post-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.agl-post-card { overflow:hidden; border:1px solid var(--agl-line); border-radius:var(--agl-radius); background:#fff; box-shadow:var(--agl-shadow-soft); transition:.22s ease; }
.agl-post-card:hover { transform:translateY(-3px); box-shadow:var(--agl-shadow); }
.agl-post-thumb { display:block; aspect-ratio:16/9; overflow:hidden; background:linear-gradient(135deg,#dff8f3,#d7ebf4); }
.agl-post-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.agl-post-card:hover .agl-post-thumb img { transform:scale(1.025); }
.agl-post-placeholder { width:100%; height:100%; display:grid; place-items:center; color:var(--agl-ocean); font-weight:900; letter-spacing:.03em; }
.agl-post-body { padding:21px; }
.agl-post-meta { display:flex; flex-wrap:wrap; gap:8px 14px; color:#71838d; font-size:.78rem; font-weight:750; }
.agl-post-card h3 { margin:10px 0 9px; font-size:1.18rem; line-height:1.35; letter-spacing:-.02em; }
.agl-post-card h3 a { color:var(--agl-navy); }
.agl-post-card h3 a:hover { color:var(--agl-ocean); }
.agl-post-card p { margin:0; color:var(--agl-muted); font-size:.91rem; }
.agl-read-more { display:inline-flex; margin-top:14px; font-size:.87rem; font-weight:850; }

/* Start cards */
.agl-start-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.agl-start-card { padding:27px; border-radius:var(--agl-radius); background:var(--agl-navy); color:#fff; position:relative; overflow:hidden; }
.agl-start-card:nth-child(2) { background:var(--agl-ocean); }
.agl-start-card:nth-child(3) { background:#155f66; }
.agl-start-card:after { content:""; position:absolute; width:110px; height:110px; right:-30px; bottom:-42px; border:1px solid rgba(255,255,255,.18); border-radius:50%; }
.agl-start-card span { color:#bdebe8; font-size:.78rem; font-weight:850; text-transform:uppercase; letter-spacing:.12em; }
.agl-start-card h3 { margin:9px 0 8px; font-size:1.25rem; line-height:1.25; }
.agl-start-card p { margin:0 0 18px; color:#d7e5e9; font-size:.9rem; }
.agl-start-card a { color:#fff; font-weight:850; font-size:.88rem; }

/* Content / article */
.agl-page-hero { padding:64px 0 46px; background:linear-gradient(180deg,var(--agl-ice),#fff); border-bottom:1px solid var(--agl-line); }
.agl-page-hero h1 { margin:8px 0 12px; font-size:clamp(2.2rem,4vw,3.8rem); line-height:1.06; letter-spacing:-.045em; color:var(--agl-navy); }
.agl-page-hero p { max-width:720px; margin:0; color:var(--agl-muted); }
.agl-breadcrumbs { display:flex; flex-wrap:wrap; gap:6px; color:#71838d; font-size:.82rem; font-weight:700; }
.agl-breadcrumbs a { color:var(--agl-ocean); }

.agl-article-wrap { display:grid; grid-template-columns:minmax(0,1fr) 260px; gap:52px; align-items:start; padding:52px 0 80px; }
.agl-article { min-width:0; }
.agl-article-header h1 { margin:10px 0 14px; font-size:clamp(2.15rem,4vw,3.55rem); line-height:1.08; letter-spacing:-.045em; color:var(--agl-navy); }
.agl-article-deck { margin:0 0 18px; color:var(--agl-muted); font-size:1.08rem; }
.agl-article-meta { display:flex; flex-wrap:wrap; gap:10px 18px; color:#71838d; font-size:.83rem; font-weight:700; }
.agl-featured-image { margin:29px 0 34px; overflow:hidden; border-radius:var(--agl-radius); box-shadow:var(--agl-shadow-soft); }
.agl-featured-image img { width:100%; display:block; }
.agl-entry-content { font-size:1.03rem; }
.agl-entry-content > *:first-child { margin-top:0; }
.agl-entry-content h2, .agl-entry-content h3, .agl-entry-content h4 { scroll-margin-top:105px; color:var(--agl-navy); line-height:1.2; letter-spacing:-.025em; }
.agl-entry-content h2 { margin:2.3em 0 .65em; font-size:clamp(1.65rem,2.5vw,2.2rem); }
.agl-entry-content h3 { margin:1.8em 0 .55em; font-size:1.35rem; }
.agl-entry-content p { margin:0 0 1.25em; }
.agl-entry-content ul, .agl-entry-content ol { padding-left:1.3em; margin-bottom:1.35em; }
.agl-entry-content blockquote { margin:28px 0; padding:18px 22px; border-left:4px solid var(--agl-aqua); background:var(--agl-ice); border-radius:0 var(--agl-radius-sm) var(--agl-radius-sm) 0; color:#3f5865; }
.agl-entry-content table { width:100%; border-collapse:separate; border-spacing:0; margin:28px 0; border:1px solid var(--agl-line); border-radius:12px; overflow:hidden; font-size:.92rem; }
.agl-entry-content th, .agl-entry-content td { padding:12px 14px; border-bottom:1px solid var(--agl-line); text-align:left; }
.agl-entry-content th { background:var(--agl-ice); color:var(--agl-navy); }
.agl-entry-content tr:last-child td { border-bottom:0; }

.agl-toc { position:sticky; top:100px; padding:18px; border:1px solid var(--agl-line); border-radius:14px; background:#fff; box-shadow:var(--agl-shadow-soft); }
.agl-toc h3 { margin:0 0 11px; font-size:.9rem; text-transform:uppercase; letter-spacing:.08em; color:var(--agl-navy); }
.agl-toc ol { list-style:none; margin:0; padding:0; }
.agl-toc li + li { margin-top:7px; }
.agl-toc a { display:block; color:#58707d; font-size:.82rem; line-height:1.35; font-weight:700; }
.agl-toc a:hover { color:var(--agl-ocean); }
.agl-toc.is-empty { display:none; }

/* Affiliate disclosure */
.agl-disclosure { margin:22px 0 30px; padding:13px 16px; border:1px solid #d9ecee; border-radius:11px; background:#f6fcfc; color:#58707d; font-size:.8rem; line-height:1.55; }
.agl-disclosure strong { color:var(--agl-navy); }

/* Product card shortcode */
.agl-product-card { margin:30px 0; padding:0; overflow:hidden; display:grid; grid-template-columns:190px minmax(0,1fr); border:1px solid #cfe1e6; border-radius:18px; background:#fff; box-shadow:var(--agl-shadow); }
.agl-product-media { min-height:210px; padding:20px; display:grid; place-items:center; background:linear-gradient(145deg,#f3fbfc,#e8f6f6); }
.agl-product-media img { max-height:180px; object-fit:contain; }
.agl-product-noimg { width:82px; height:82px; display:grid; place-items:center; border-radius:24px; background:#fff; box-shadow:var(--agl-shadow-soft); color:var(--agl-ocean); font-weight:900; font-size:1.8rem; }
.agl-product-content { padding:22px 24px; }
.agl-product-badge { display:inline-block; margin-bottom:9px; padding:5px 9px; border-radius:999px; background:#fff1d9; color:#9b6308; font-size:.72rem; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.agl-product-card h3 { margin:0 0 7px !important; font-size:1.32rem !important; }
.agl-product-card p { margin:0 0 12px; color:var(--agl-muted); font-size:.91rem; }
.agl-product-features { display:flex; flex-wrap:wrap; gap:7px 12px; margin:12px 0 16px; padding:0 !important; list-style:none; }
.agl-product-features li { color:#3f5865; font-size:.82rem; }
.agl-product-features li:before { content:"✓"; margin-right:5px; color:var(--agl-green); font-weight:900; }
.agl-amazon-btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:11px 16px; border-radius:11px; background:#ffb14a; color:#162a35 !important; font-size:.88rem; font-weight:900; box-shadow:0 7px 18px rgba(255,177,74,.22); }
.agl-amazon-btn:hover { background:#ffc36c; color:#162a35 !important; }
.agl-amazon-note { margin:9px 0 0 !important; color:#83939b !important; font-size:.71rem !important; }

/* Pros and cons */
.agl-pros-cons { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:28px 0; }
.agl-pros, .agl-cons { padding:20px; border:1px solid var(--agl-line); border-radius:14px; background:#fff; }
.agl-pros h4, .agl-cons h4 { margin:0 0 10px !important; font-size:1rem !important; }
.agl-pros h4 { color:var(--agl-green); }
.agl-cons h4 { color:var(--agl-red); }
.agl-pros ul, .agl-cons ul { margin:0; padding-left:18px; font-size:.9rem; }

/* Archive */
.agl-archive-grid { padding:50px 0 80px; }
.agl-pagination { margin-top:34px; }
.agl-pagination .nav-links { display:flex; flex-wrap:wrap; gap:7px; }
.agl-pagination .page-numbers { min-width:38px; height:38px; display:grid; place-items:center; padding:0 10px; border:1px solid var(--agl-line); border-radius:9px; color:var(--agl-navy); font-weight:800; }
.agl-pagination .current { background:var(--agl-navy); color:#fff; border-color:var(--agl-navy); }

/* CTA */
.agl-cta-section { padding:68px 0; }
.agl-cta-box { position:relative; overflow:hidden; padding:42px; border-radius:24px; background:linear-gradient(135deg,var(--agl-navy),#0d6674); color:#fff; box-shadow:var(--agl-shadow); }
.agl-cta-box:after { content:""; position:absolute; width:300px; height:300px; right:-110px; top:-130px; border-radius:50%; border:1px solid rgba(255,255,255,.14); }
.agl-cta-box h2 { margin:0 0 10px; font-size:clamp(1.7rem,3vw,2.6rem); line-height:1.1; letter-spacing:-.035em; }
.agl-cta-box p { max-width:650px; margin:0 0 20px; color:#d0e6ea; }

/* Footer */
.agl-site-footer { background:#061824; color:#b8c9d1; }
.agl-footer-main { padding:54px 0 36px; display:grid; grid-template-columns:1.3fr .7fr .7fr; gap:50px; }
.agl-footer-brand .agl-brand { color:#fff; display:inline-flex; }
.agl-footer-brand p { max-width:470px; margin:15px 0 0; color:#94aab4; font-size:.9rem; }
.agl-footer-col h3 { margin:4px 0 12px; color:#fff; font-size:.9rem; text-transform:uppercase; letter-spacing:.08em; }
.agl-footer-col ul { list-style:none; margin:0; padding:0; }
.agl-footer-col li + li { margin-top:8px; }
.agl-footer-col a { color:#a9bdc6; font-size:.88rem; }
.agl-footer-col a:hover { color:#fff; }
.agl-footer-bottom { padding:18px 0 26px; border-top:1px solid rgba(255,255,255,.08); display:flex; align-items:center; justify-content:space-between; gap:18px; color:#8098a3; font-size:.78rem; }
.agl-footer-links { display:flex; flex-wrap:wrap; gap:14px; }
.agl-footer-links a { color:#8fa7b1; }

/* Search / 404 */
.agl-empty { padding:80px 0; text-align:center; }
.agl-empty h1 { margin:0 0 10px; font-size:clamp(2rem,4vw,3.4rem); color:var(--agl-navy); }
.agl-empty p { color:var(--agl-muted); }
.agl-search-form { max-width:560px; margin:24px auto 0; display:flex; gap:8px; }
.agl-search-form input[type="search"] { width:100%; min-height:46px; border:1px solid var(--agl-line); border-radius:11px; padding:0 14px; outline:none; }
.agl-search-form input[type="search"]:focus { border-color:var(--agl-aqua); box-shadow:0 0 0 3px rgba(25,183,177,.12); }
.agl-search-form button { border:0; padding:0 17px; border-radius:11px; background:var(--agl-navy); color:#fff; font-weight:850; cursor:pointer; }

/* Comments */
.comments-area { margin-top:48px; padding-top:36px; border-top:1px solid var(--agl-line); }
.comments-title { color:var(--agl-navy); }
.comment-list { padding-left:0; list-style:none; }
.comment-body { margin:18px 0; padding:18px; border:1px solid var(--agl-line); border-radius:12px; }

/* WordPress */
.alignwide { max-width:1080px; margin-left:auto; margin-right:auto; }
.alignfull { width:100vw; margin-left:calc(50% - 50vw); }
.wp-caption, .gallery-caption { color:var(--agl-muted); }
.sticky { outline:2px solid rgba(25,183,177,.18); }
.bypostauthor { } 
.screen-reader-text { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width: 980px) {
  .agl-header-cta { display:none; }
  .agl-menu-toggle { display:block; }
  .agl-primary-nav { display:none; position:absolute; left:18px; right:18px; top:68px; padding:12px; border:1px solid var(--agl-line); border-radius:14px; background:#fff; box-shadow:var(--agl-shadow); }
  .agl-primary-nav.is-open { display:block; }
  .agl-primary-nav ul { flex-direction:column; align-items:stretch; }
  .agl-primary-nav a { padding:11px 12px; }
  .agl-hero, .agl-hero-inner { min-height:520px; }
  .agl-hero-shade { background:linear-gradient(90deg,rgba(4,20,32,.92),rgba(4,20,32,.66)); }
  .agl-category-grid, .agl-post-grid { grid-template-columns:repeat(2,1fr); }
  .agl-start-grid { grid-template-columns:1fr; }
  .agl-article-wrap { grid-template-columns:1fr; }
  .agl-toc { position:relative; top:auto; order:-1; }
  .agl-footer-main { grid-template-columns:1fr 1fr; }
  .agl-footer-brand { grid-column:1/-1; }
}

@media (max-width: 700px) {
  .admin-bar .agl-site-header { top:46px; }
  .agl-container, .agl-narrow { width:min(calc(100% - 28px), var(--agl-max)); }
  .agl-section { padding:56px 0; }
  .agl-header-inner { min-height:66px; }
  .agl-brand { font-size:1.08rem; }
  .agl-logo-mark { width:35px; height:35px; }
  .agl-hero, .agl-hero-inner { min-height:500px; }
  .agl-hero-inner { padding:64px 0; }
  .agl-hero h1 { font-size:clamp(2.35rem,11vw,3.65rem); }
  .agl-hero-shade { background:linear-gradient(90deg,rgba(4,20,32,.94),rgba(4,20,32,.72)); }
  .agl-hero-bg { object-position:42% center; }
  .agl-trust-inner { grid-template-columns:1fr; }
  .agl-trust-item { border-right:0; border-bottom:1px solid var(--agl-line); justify-content:flex-start; }
  .agl-trust-item:last-child { border-bottom:0; }
  .agl-category-grid, .agl-post-grid { grid-template-columns:1fr; }
  .agl-section-head { display:block; }
  .agl-section-head .agl-btn { margin-top:16px; }
  .agl-product-card { grid-template-columns:1fr; }
  .agl-product-media { min-height:170px; }
  .agl-pros-cons { grid-template-columns:1fr; }
  .agl-cta-box { padding:30px 24px; }
  .agl-footer-main { grid-template-columns:1fr; gap:30px; }
  .agl-footer-brand { grid-column:auto; }
  .agl-footer-bottom { align-items:flex-start; flex-direction:column; }
  .agl-search-form { flex-direction:column; }
  .agl-search-form button { min-height:44px; }
}


/* AquaGearLab v2 brand + editorial polish */
.agl-brand--image{display:flex;align-items:center;min-width:220px}.agl-brand--image img{width:min(330px,32vw);height:auto;display:block}.agl-header-inner{min-height:82px}.agl-amazon-footer{padding-top:22px;padding-bottom:4px;color:#a9bac3;font-size:.8rem;line-height:1.6;border-top:1px solid rgba(255,255,255,.08)}
.agl-quick-answer{margin:24px 0;padding:18px 20px;border:1px solid #bfe5df;border-left:5px solid var(--agl-aqua);border-radius:12px;background:#f2fbf9;color:#365762}.agl-lead{font-size:1.1rem;line-height:1.75}.agl-compare-wrap{overflow-x:auto}.agl-related-inline{display:grid;gap:8px}.agl-related-inline a{font-weight:800}.agl-editorial-box{margin:40px 0;padding:22px;display:grid;grid-template-columns:58px 1fr;gap:18px;border:1px solid var(--agl-line);border-radius:16px;background:#f8fcfc}.agl-editorial-mark{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:var(--agl-navy);color:#fff;font-weight:900}.agl-editorial-box p{margin:6px 0 8px;color:var(--agl-muted);font-size:.9rem}.agl-related{margin-top:42px}.agl-related h2{font-size:1.45rem}.agl-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.agl-related-card{overflow:hidden;border:1px solid var(--agl-line);border-radius:14px;background:#fff}.agl-related-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.agl-related-card strong,.agl-related-card span{display:block;padding:0 14px}.agl-related-card strong{padding-top:12px;color:var(--agl-navy);line-height:1.3}.agl-related-card span{padding-top:6px;padding-bottom:14px;font-size:.82rem;font-weight:800;color:var(--agl-ocean)}
@media(max-width:900px){.agl-brand--image img{width:230px}.agl-related-grid{grid-template-columns:1fr}.agl-editorial-box{grid-template-columns:1fr}.agl-header-inner{min-height:72px}}
@media(max-width:520px){.agl-brand--image img{width:190px}.agl-amazon-footer{padding-left:18px;padding-right:18px}}


/* Cookie consent */
.agl-cookie-banner { position:fixed; z-index:10000; left:18px; right:18px; bottom:18px; margin:auto; max-width:1120px; display:none; align-items:center; gap:22px; padding:18px 20px; border:1px solid rgba(255,255,255,.12); border-radius:16px; background:rgba(5,22,34,.97); color:#fff; box-shadow:0 22px 60px rgba(0,0,0,.32); backdrop-filter:blur(14px); }
.agl-cookie-banner.is-visible { display:flex; }
.agl-cookie-copy { flex:1; min-width:0; }
.agl-cookie-copy strong { display:block; margin-bottom:3px; font-size:.96rem; }
.agl-cookie-copy p { margin:0; color:#d7e7ec; font-size:.86rem; line-height:1.55; }
.agl-cookie-copy a { color:#8ee8df; text-decoration:underline; text-underline-offset:2px; }
.agl-cookie-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.agl-cookie-btn { min-height:40px; padding:9px 14px; border-radius:9px; border:1px solid rgba(255,255,255,.28); background:transparent; color:#fff; font-weight:800; cursor:pointer; }
.agl-cookie-btn:hover { background:rgba(255,255,255,.08); }
.agl-cookie-btn--accept { border-color:var(--agl-aqua); background:var(--agl-aqua); color:#06233a; }
.agl-cookie-btn--accept:hover { background:#42ccc4; }
.agl-cookie-settings { position:fixed; z-index:10001; inset:0; display:none; place-items:center; padding:20px; background:rgba(2,14,22,.60); }
.agl-cookie-settings.is-visible { display:grid; }
.agl-cookie-panel { width:min(100%,560px); max-height:90vh; overflow:auto; border-radius:18px; padding:24px; background:#fff; color:var(--agl-ink); box-shadow:0 30px 80px rgba(0,0,0,.28); }
.agl-cookie-panel h2 { margin:0 0 8px; font-size:1.55rem; }
.agl-cookie-panel > p { margin:0 0 18px; color:var(--agl-muted); }
.agl-cookie-row { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; padding:15px 0; border-top:1px solid var(--agl-line); }
.agl-cookie-row strong { display:block; margin-bottom:2px; }
.agl-cookie-row small { display:block; color:var(--agl-muted); line-height:1.5; }
.agl-cookie-toggle { width:22px; height:22px; accent-color:var(--agl-aqua); margin-top:3px; }
.agl-cookie-panel-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:9px; padding-top:18px; }
.agl-cookie-settings-link { border:0; padding:0; background:none; color:inherit; font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
body.agl-cookie-lock { overflow:hidden; }
@media (max-width:760px){
  .agl-cookie-banner { left:10px; right:10px; bottom:10px; align-items:stretch; flex-direction:column; gap:13px; padding:16px; }
  .agl-cookie-actions { justify-content:stretch; }
  .agl-cookie-actions .agl-cookie-btn { flex:1; }
}
