/* Page-level layout built from components.css. Nothing here defines a reusable component. */

/* ---- masthead (all pages) ---- */
.ag-header{background:var(--ag-night)!important;border-bottom:0!important;box-shadow:none!important;color:#fff;padding-inline:0!important}
.ag-header>.ag-bar,.ag-header .ag-bar{max-width:1360px!important;width:100%;margin-inline:auto!important;padding-inline:clamp(1rem,3vw,2.25rem)!important;box-sizing:border-box}
.ag-header .wp-block-site-logo img{width:clamp(170px,20vw,230px)}
.ag-header .wp-block-navigation,.ag-header .wp-block-navigation a,.ag-header .wp-block-navigation-item__content{color:#fff!important;font-weight:500;font-size:.92rem}
.ag-header .wp-block-navigation a:hover{color:#ffb27a!important}
.ag-header .wp-block-navigation__submenu-container{background:var(--ag-night2)!important;border:1px solid #1d2744!important;border-radius:10px;padding:.3rem 0}
.ag-header .wp-block-search__button{background:transparent;color:#fff;border:0}
.ag-header .wp-block-navigation__responsive-container-open svg,.ag-header .wp-block-navigation__responsive-container-close svg{fill:#fff}

/* ---- home ---- */
.ag-band{background:var(--ag-night);color:#fff;padding:clamp(2rem,5vw,4rem) 0 clamp(1.5rem,3vw,2.5rem)}
.ag-band__hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(1.5rem,4vw,4rem);align-items:center}
.ag-band__text h1{font-family:var(--ag-display);font-weight:800;font-size:clamp(2.2rem,4.6vw,4rem);line-height:1.02;letter-spacing:-.03em;margin:0 0 1.25rem;color:#fff;text-wrap:balance}
.ag-band__text p{font-size:clamp(1rem,1.3vw,1.15rem);line-height:1.6;color:#c4cce0;max-width:34rem;margin:0 0 1.75rem}
.ag-bigtiles{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:clamp(1.75rem,3vw,2.75rem)}
.ag-big{position:relative;display:flex;align-items:center;min-height:130px;overflow:hidden;border-radius:12px;color:#fff!important;text-decoration:none!important;padding:0 1.6rem}
.ag-big span{position:relative;z-index:2;font-family:var(--ag-display);font-weight:800;font-size:clamp(1.3rem,2vw,1.8rem);letter-spacing:-.01em}
.ag-big img{position:absolute;right:0;top:0;height:100%;width:58%;object-fit:cover;mask-image:linear-gradient(90deg,transparent,#000 40%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 40%);transition:transform .5s ease}
.ag-big:hover img{transform:scale(1.06)}
.ag-big--orange{background:var(--ag-orange)}.ag-big--ember{background:#c2410c}.ag-big--violet{background:var(--ag-violet)}
.ag-sec{padding:clamp(2.25rem,4.5vw,4rem) 0;background:#fff}
.ag-sec--explore{background:#f3f4f6}
.ag-learn{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr) auto;gap:1.5rem;align-items:center;padding:1.75rem 2rem;border-radius:18px;border:1px solid var(--ag-line);background:linear-gradient(115deg,#fff3e8 0%,#f3f0ff 42%,#e6f6ff 74%,#e8fbf1 100%)}
.ag-learn h2{font-family:var(--ag-display);font-weight:800;font-size:1.5rem;letter-spacing:-.02em;margin:0 0 .35rem}
.ag-learn p{margin:0;color:#4b5563;font-size:.95rem}
.ag-learn__cards{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}
.ag-learn__cards a{display:grid;gap:.25rem;background:#fff;border-radius:12px;padding:.9rem 1rem;text-decoration:none;color:var(--ag-ink);box-shadow:0 1px 0 var(--ag-line),0 6px 16px rgb(17 24 39/.05)}
.ag-learn__cards strong{font-size:.95rem}.ag-learn__cards span{font-size:.8rem;color:var(--ag-muted)}
@media(max-width:1100px){.ag-learn{grid-template-columns:1fr}}
@media(max-width:820px){.ag-band__hero,.ag-bigtiles,.ag-learn__cards{grid-template-columns:1fr}}

/* ---- archive band ---- */
.ag-catband{background:var(--ag-night);color:#fff;padding:clamp(2rem,4vw,3.5rem) 0 clamp(1.75rem,3vw,2.75rem);border-top:1px solid #151d33}
.ag-catband h1{font-family:var(--ag-display);font-weight:800;font-size:clamp(2.2rem,5vw,3.8rem);letter-spacing:-.03em;line-height:1.02;margin:.8rem 0 .6rem;color:#fff}
.ag-catband__desc,.ag-catband__desc p{max-width:44rem;color:#c4cce0;font-size:1.1rem;line-height:1.55;margin:0}
.ag-crumbs-dark,.ag-crumbs-dark a,.ag-crumbs-dark .wp-block-breadcrumbs{color:#9aa6c4!important;font-size:.85rem;text-decoration:none}
.ag-crumbs-dark ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0}

/* ---- article ---- */
.ag-single>.ag-arthead{background:var(--ag-night)!important;color:#fff;max-width:none!important;width:100%;margin:0!important;padding:clamp(1.5rem,3vw,2.5rem) clamp(1rem,3vw,2.25rem) 0!important}
.ag-arthead>*{max-width:1288px!important;margin-left:auto!important;margin-right:auto!important}
.ag-arthead .wp-block-breadcrumbs,.ag-arthead .wp-block-breadcrumbs a{color:#9aa6c4!important;justify-content:flex-start!important;text-align:left}
.ag-arthead .ag-pill{display:block;text-align:left}
.ag-arthead .ag-pill a{background:var(--ag-orange)!important;color:#fff!important;font-size:.8rem;font-weight:800;padding:.3rem .9rem;border-radius:999px}
.ag-arthead .wp-block-post-title{font-family:var(--ag-display);font-weight:800;color:#fff!important;text-align:left!important;font-size:clamp(2.1rem,4.8vw,3.9rem)!important;letter-spacing:-.03em;line-height:1.02;max-width:1288px!important;margin:1rem auto .8rem!important}
.ag-arthead .ag-date{color:#9aa6c4!important;text-align:left!important}
.ag-arthead .ag-arthero{margin-top:1.75rem;margin-bottom:-4.5rem!important;position:relative;z-index:2;border-radius:12px;overflow:hidden;box-shadow:0 20px 50px rgb(0 0 0/.35)}
.ag-arthead .ag-arthero img{border-radius:12px}
.ag-single>.ag-arthead+.wp-block-group{padding-top:7rem!important}
.ag-article-card h2.wp-block-heading,.ag-article-card h3.wp-block-heading{font-family:var(--ag-display);font-weight:800;letter-spacing:-.025em}
.ag-answer{background:#fff4ec!important;border-left:4px solid var(--ag-orange)!important}
.ag-pickgrid .ag-pickcard__badge{background:var(--ag-night)!important;color:#fff;border-top:4px solid var(--ag-orange);font-family:var(--ag-display);letter-spacing:-.01em}
.ag-pickcard{border-radius:12px!important}.ag-pickcard__btn{background:var(--ag-orange)!important;border-radius:999px!important}.ag-pickcard__btn:hover{background:var(--ag-orange-d)!important}
.ag-pickcard__name{font-family:var(--ag-display);font-weight:800}
.ag-toc a.is-active,.ag-toc a:hover{background:#fff1e7!important;color:#b24006!important}
.ag-badge{background:#fff1e7!important;color:#b24006!important}
.ag-more-guides .ag-guide--row+.ag-guide--row{margin-top:.4rem}
.ag-crumbs-dark *,.ag-arthead .wp-block-breadcrumbs *{color:#aab5d2!important}
.ag-crumbs-dark [aria-current],.ag-arthead .wp-block-breadcrumbs [aria-current]{color:#fff!important}
.ag-crumbs-dark,.ag-crumbs-dark .wp-block-breadcrumbs,.ag-crumbs-dark ol{text-align:left!important;justify-content:flex-start!important;margin-left:0!important;margin-right:auto!important;max-width:none!important}

/* ---- quick answer ---- */
.ag-answer{padding:1.25rem 1.5rem!important;border-radius:12px!important}
.ag-qa__label{margin:0 0 .6rem!important;font-family:var(--ag-display);font-size:1.15rem;letter-spacing:-.01em;color:var(--ag-ink)}
.ag-qa__label strong{font-weight:800}
.ag-qa{list-style:none;margin:0!important;padding:0!important;display:grid;gap:.55rem}
.ag-qa li{position:relative;padding-left:1.5rem;margin:0!important;line-height:1.55}
.ag-qa li::before{content:"";position:absolute;left:0;top:.6em;width:.55rem;height:.55rem;border-radius:50%;background:var(--ag-orange)}
.ag-qa strong{font-weight:800;color:var(--ag-ink)}

/* ---- top picks: only the best three ---- */
.ag-pickgrid>.wp-block-column:nth-child(n+4){display:none}
.ag-pickgrid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important}

/* ---- choose it / skip it ---- */
.ag-pick>div{border-radius:12px!important;padding:1.1rem 1.25rem!important;border:1px solid transparent!important}.ag-pick>div:first-child,.ag-proscons>.wp-block-column:first-child{background:#eefaf2!important;border-color:#c3e8cf!important}.ag-pick>div:last-child,.ag-proscons>.wp-block-column:last-child{background:#fff1f0!important;border-color:#f3c9c4!important}.ag-pick h4,.ag-proscons h4{margin:0 0 .6rem!important;font-family:var(--ag-display);font-size:1.05rem;font-weight:800;display:flex;align-items:center;gap:.5rem}.ag-pick>div:first-child h4,.ag-proscons>.wp-block-column:first-child h4{color:#157a3d}.ag-pick>div:last-child h4,.ag-proscons>.wp-block-column:last-child h4{color:#b3261e}.ag-pick>div:first-child h4::before,.ag-pick>div:last-child h4::before,.ag-proscons>.wp-block-column:first-child h4::before,.ag-proscons>.wp-block-column:last-child h4::before{display:inline-grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:50%;color:#fff;font-size:.85rem;font-weight:800}.ag-pick>div:first-child h4::before,.ag-proscons>.wp-block-column:first-child h4::before{content:"\2713";background:#1f9d55}.ag-pick>div:last-child h4::before,.ag-proscons>.wp-block-column:last-child h4::before{content:"\2715";background:#d6453b}.ag-pick ul,.ag-proscons ul{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:.45rem}.ag-pick li,.ag-proscons li{position:relative;padding-left:1.35rem;margin:0!important}.ag-pick li::before,.ag-proscons li::before{position:absolute;left:0;top:0;font-weight:800}.ag-pick>div:first-child li::before,.ag-proscons>.wp-block-column:first-child li::before{content:"\2713";color:#1f9d55}.ag-pick>div:last-child li::before,.ag-proscons>.wp-block-column:last-child li::before{content:"\2715";color:#d6453b}

.ag-proscons{gap:1.1rem!important;margin:1.25rem 0!important}
.ag-proscons>.wp-block-column{background-clip:padding-box}
.ag-arthead .wp-block-breadcrumbs ol,.ag-arthead .wp-block-breadcrumbs{justify-content:flex-start!important;text-align:left!important}

/* More guides: left aligned everywhere */
.ag-more,.ag-more h3,.ag-more-guides,.ag-guide--row,.ag-guide--row .ag-guide__body,.ag-guide--row .ag-guide__title,.ag-guide--row .ag-guide__date{text-align:left!important}
.ag-more .wp-block-heading,.ag-more h3{margin-left:0!important;margin-right:auto!important;max-width:none!important}
.ag-guide--row{justify-items:start}

/* ---- page hero (About etc.): same band as archives, no background image, compact, left aligned ---- */
.ag-pagehero.wp-block-cover{min-height:0!important;align-items:flex-start;background:var(--ag-night)!important;padding:clamp(1.75rem,3vw,2.75rem) clamp(1rem,3vw,2.25rem)!important;border-top:1px solid #151d33}
.ag-pagehero::before,.ag-pagehero .wp-block-cover__background{display:none!important}
.ag-pagehero .wp-block-cover__inner-container{max-width:1288px;margin:0 auto;width:100%;text-align:left}
.ag-pagehero .wp-block-breadcrumbs,.ag-pagehero .wp-block-post-title,.ag-pagehero .wp-block-query-title,.ag-pagehero .wp-block-term-description{max-width:none!important;margin-left:0!important;margin-right:auto!important;text-align:left!important}
.ag-pagehero .wp-block-breadcrumbs ol{justify-content:flex-start!important;list-style:none;padding:0;margin:0}
.ag-pagehero .wp-block-breadcrumbs,.ag-pagehero .wp-block-breadcrumbs *{color:#aab5d2!important}
.ag-pagehero .wp-block-breadcrumbs [aria-current]{color:#fff!important}
.ag-pagehero .wp-block-post-title,.ag-pagehero .wp-block-query-title{font-family:var(--ag-display);font-weight:800;letter-spacing:-.03em;font-size:clamp(2rem,4.2vw,3.2rem)!important;margin-top:.7rem!important;margin-bottom:0!important;line-height:1.05;color:#fff!important}
.wp-block-group.alignwide:has(>.ag-page-card){max-width:1360px!important;width:100%;box-sizing:border-box;padding-inline:clamp(1rem,3vw,2.25rem)!important;margin-inline:auto!important}
.ag-page-card{max-width:820px!important;margin-left:0!important;margin-right:auto!important}

/* article hero: whole featured image, never cropped, with space below */
.ag-single>.ag-arthead{padding-bottom:clamp(1.5rem,3vw,2.5rem)!important}
.ag-arthead .ag-arthero{margin-bottom:0!important}
.ag-arthead .ag-arthero img{aspect-ratio:auto!important;height:auto!important;width:100%}
.ag-single>.ag-arthead+.wp-block-group{padding-top:2rem!important}
/* pick cards: gap under the name, button only as wide as its label, a lone card stays compact */
.ag-pickcard__name{margin:1.15rem 1rem 1.1rem!important}
.ag-pickcard__btn{display:inline-block!important;align-self:center;margin:auto 1rem 1.25rem!important;padding:.75rem 1.9rem!important}
.ag-pickgrid>.wp-block-column:only-child{max-width:440px;width:100%;justify-self:center;margin-inline:auto}
