/*
Theme Name: Top Picks
Theme URI: https://example.com/
Author: Top Picks Lab
Description: A Twenty Twenty-Five child theme for editorial comparison and review websites.
Template: twentytwentyfive
Version: 0.4.7
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: top-picks
*/

*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}.wp-site-blocks{min-height:100vh}.top-picks-main{min-height:55vh}:root{--top-brand:#172a46;--top-brand-strong:#0f1f35;--top-action:#2563eb;--top-action-hover:#1d4ed8;--top-highlight:#f59e0b;--top-surface:#f6f8fb;--top-card:#fff;--top-line:#dde3ea;--top-muted:#596579;--top-positive:#15803d;--top-negative:#b42318;--top-radius:12px;--top-shadow:0 10px 28px rgba(23,42,70,.08)}
.top-site-header{background:var(--top-card);border-bottom:1px solid var(--top-line);position:relative;z-index:20}.top-site-header__inner{min-height:84px}.top-site-brand a{color:var(--top-brand);font-weight:800;letter-spacing:-.03em;text-decoration:none}.top-site-nav{font-size:var(--wp--preset--font-size--small)}.top-site-nav a{color:var(--top-brand);font-weight:600;text-decoration:none}.top-site-nav a:hover{color:var(--top-action)}.top-header-method{border-left:1px solid var(--top-line);padding-left:1.25rem}.top-disclosure-bar{background:var(--top-brand);color:#fff;font-size:.78rem;padding:.55rem 1rem;text-align:center}.top-disclosure-bar a{color:#fff;text-underline-offset:.18em}
.top-site-footer{background:var(--top-brand-strong);color:#fff}.top-site-footer a{color:#fff}.top-site-footer__lead{max-width:520px}.top-footer-links{gap:.75rem 1.5rem}.top-footer-links a{text-decoration:none}.top-footer-links a:hover{text-decoration:underline}.top-footer-bottom{border-top:1px solid rgba(255,255,255,.18)}
.top-home-hero{background:linear-gradient(125deg,#f6f8fb 0%,#eef4ff 70%,#fff6e3 100%);overflow:hidden;position:relative}.top-home-hero::after{background:radial-gradient(circle,rgba(37,99,235,.15) 0 2px,transparent 3px);background-size:24px 24px;content:"";height:240px;opacity:.45;position:absolute;right:-40px;top:20px;width:340px}.top-home-hero__inner{min-height:480px;position:relative;z-index:1}.top-eyebrow{color:var(--top-action);font-size:.78rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.top-home-hero h1{color:var(--top-brand);letter-spacing:-.045em;line-height:1.05;max-width:820px}.top-home-hero__copy{color:var(--top-muted);max-width:720px}.top-hero-search{background:var(--top-card);border:1px solid var(--top-line);border-radius:var(--top-radius);box-shadow:var(--top-shadow);display:flex;gap:.65rem;max-width:680px;padding:.55rem}.top-hero-search .wp-block-search__inside-wrapper{border:0;padding:0}.top-hero-search input{border:0!important;min-height:48px}.top-hero-search button{background:var(--top-action)!important;border-radius:8px!important;min-height:48px}.top-quick-links{align-items:center;display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.25rem}.top-quick-links a{background:rgba(255,255,255,.8);border:1px solid var(--top-line);border-radius:999px;color:var(--top-brand);font-size:.82rem;font-weight:700;padding:.45rem .8rem;text-decoration:none}.top-quick-links a:hover{border-color:var(--top-action);color:var(--top-action)}
.top-editorial-band{background:var(--top-surface)}.top-editorial-item{background:var(--top-card);border:1px solid var(--top-line);border-radius:var(--top-radius);height:100%;padding:1.5rem}.top-editorial-number{align-items:center;background:#eaf0ff;border-radius:999px;color:var(--top-action);display:flex;font-weight:800;height:40px;justify-content:center;width:40px}.top-faq-grid details{border-bottom:1px solid var(--top-line);padding:1rem 0}.top-faq-grid summary{color:var(--top-brand);cursor:pointer;font-weight:700}.top-faq-grid details p{color:var(--top-muted)}
.top-category-grid{display:flex;flex-wrap:wrap;justify-content:center}.top-category-grid>.top-category-card{align-items:center;box-sizing:border-box;flex:0 1 calc((100% - 6rem)/5);min-width:0;text-align:center}.top-category-icon__image{display:block;height:100%;object-fit:contain;width:100%}.top-category-card__trigger{appearance:none;background:transparent;border:0;border-radius:inherit;cursor:pointer;inset:0;padding:0;position:absolute;z-index:1}.top-category-card__trigger:focus-visible{outline:3px solid var(--top-highlight);outline-offset:4px}.top-category-card>.top-card-link{position:relative;z-index:2}.top-category-card.is-active{border-color:color-mix(in srgb,var(--top-action) 45%,var(--top-line));box-shadow:var(--top-shadow);transform:translateY(-2px)}.top-category-children{display:grid;grid-template-rows:0fr;margin-top:0;opacity:0;visibility:hidden}.top-category-browser.has-active-children .top-category-children{grid-template-rows:1fr;margin-top:1.5rem;opacity:1;visibility:visible}.top-category-children__inner{min-height:0;overflow:hidden}.top-category-child-group[hidden]{display:none!important}.top-category-child-group{background:var(--top-surface);border:1px solid var(--top-line);border-radius:var(--top-radius);padding:1.25rem}.top-category-child-grid{display:grid;gap:1rem;grid-template-columns:repeat(5,minmax(0,1fr))}.top-category-child-card{background:var(--top-card);border:1px solid var(--top-line);border-radius:8px;display:flex;flex-direction:column;min-height:108px;padding:1rem}.top-category-child-card h4{color:var(--top-brand);font-size:1rem;margin:0 0 .75rem}.top-category-child-card .top-card-link{font-size:.82rem;font-weight:800;margin-top:auto}
.wp-block-navigation a:focus-visible,.wp-element-button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--top-highlight);outline-offset:3px}@media(prefers-reduced-motion:no-preference){a,button,.wp-element-button{transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.wp-element-button:hover{transform:translateY(-1px)}}@media(max-width:782px){.top-site-header__inner{min-height:70px}.top-header-method{display:none}.top-home-hero__inner{min-height:430px}.top-home-hero::after{opacity:.25}.top-site-footer__columns{gap:2rem!important}}@media(max-width:480px){.top-home-hero__inner{min-height:0}.top-hero-search{display:block;padding:.4rem}.top-hero-search button{margin-top:.4rem;width:100%}}
@media(prefers-reduced-motion:no-preference){.top-category-children{transition:grid-template-rows .22s ease,margin-top .22s ease,opacity .18s ease,visibility .22s}.top-category-card{transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}}
@media(max-width:980px){.top-category-grid>.top-category-card{flex-basis:calc((100% - 1.5rem)/2)}.top-category-child-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.top-category-grid>.top-category-card{flex-basis:100%}.top-category-child-grid{grid-template-columns:1fr}.top-category-child-group{padding:1rem}.top-category-child-card{min-height:90px}}

/* Shared motion for interactive content cards. Static reading and utility cards are intentionally excluded. */
@media (hover:hover) and (pointer:fine){
	:is(.top-category-card,.top-category-child-card,.top-offer-card,.top-editor-pick,.top-guide-card,.top-ranking-card,.top-review-card,.top-product-card):is(:hover,:focus-within){border-color:color-mix(in srgb,var(--top-action) 45%,var(--top-line));box-shadow:var(--top-shadow)}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
	:is(.top-category-card,.top-category-child-card,.top-offer-card,.top-editor-pick,.top-guide-card,.top-ranking-card,.top-review-card,.top-product-card){transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
	:is(.top-category-card,.top-category-child-card,.top-offer-card,.top-editor-pick,.top-guide-card,.top-ranking-card,.top-review-card,.top-product-card):is(:hover,:focus-within){transform:translateY(-2px)}
}
@media (prefers-reduced-motion:reduce){
	.top-category-card:is(:hover,:focus-within){transform:none}
}

/* Homepage provider explorer. */
.top-provider-explorer-section{background:var(--top-surface)}
.top-provider-explorer{background:var(--top-card);border:1px solid var(--top-line);border-radius:var(--top-radius);padding:1.5rem}
.top-provider-explorer [hidden]{display:none!important}
.top-provider-explorer__parents{display:flex;gap:1.75rem;overflow-x:auto;padding:.25rem .15rem 1rem;scrollbar-width:thin}
.top-provider-explorer__parent-tab,.top-provider-explorer__child-tab{appearance:none;background:transparent;border:0;color:var(--top-muted);cursor:pointer;font:inherit;text-align:left}
.top-provider-explorer__parent-tab{border-bottom:2px solid transparent;font-weight:750;padding:.45rem .1rem;white-space:nowrap}
.top-provider-explorer__parent-tab[aria-selected="true"]{border-color:var(--top-action);color:var(--top-brand)}
.top-provider-explorer__layout{display:grid;gap:1.25rem;grid-template-columns:240px minmax(0,1fr);padding-top:.75rem}
.top-provider-explorer__children{align-content:start;border-right:1px solid var(--top-line);display:grid;gap:.35rem;max-height:430px;overflow-y:auto;padding-right:1rem;scrollbar-color:var(--top-line) transparent;scrollbar-width:thin}
.top-provider-explorer__child-tab{border:1px solid transparent;border-radius:8px;font-weight:650;padding:.8rem .9rem}
.top-provider-explorer__child-tab:is(:hover,[aria-selected="true"]){background:color-mix(in srgb,var(--top-action) 8%,var(--top-card));border-color:color-mix(in srgb,var(--top-action) 35%,var(--top-line));color:var(--top-brand)}
.top-provider-explorer__parent-tab:focus-visible,.top-provider-explorer__child-tab:focus-visible,.top-provider-explorer__more:focus-visible{outline:3px solid color-mix(in srgb,var(--top-action) 45%,transparent);outline-offset:3px}
.top-provider-explorer__grid{display:grid;gap:1rem;grid-template-columns:repeat(3,minmax(0,1fr))}
.top-provider-card{display:flex;flex-direction:column;min-width:0;padding:0;overflow:hidden}
.top-provider-card__brand{align-items:center;background:var(--top-surface);display:flex;justify-content:center;min-height:112px;padding:1.25rem}
.top-provider-card__brand .top-logo{max-height:58px;max-width:150px}
.top-provider-card__body{display:flex;flex:1;flex-direction:column;padding:1.15rem 1.15rem .75rem}
.top-provider-card__body h3{font-size:1.05rem;margin:0 0 .55rem}
.top-provider-card__body h3 a{color:var(--top-brand);text-decoration:none}
.top-provider-card__score{color:var(--top-muted);font-size:.76rem;margin:0 0 .9rem}
.top-provider-card__score strong{color:var(--top-action);font-size:1.05rem}
.top-provider-card__body ul{display:grid;gap:.45rem;list-style:none;margin:auto 0 0;padding:0}
.top-provider-card__body li{font-size:.85rem;line-height:1.4;padding-left:1.25rem;position:relative}
.top-provider-card__body li::before{color:var(--top-action);content:"✓";font-weight:800;left:0;position:absolute}
.top-provider-card__actions{display:grid;gap:.65rem;padding:.75rem 1.15rem 1.15rem;text-align:center}
.top-provider-card__actions .top-button{width:100%}
.top-provider-explorer__more{background:transparent;border:1px solid var(--top-line);border-radius:8px;color:var(--top-brand);cursor:pointer;display:block;font-weight:750;margin:1.25rem auto 0;min-height:44px;padding:.55rem 1.15rem}
@media(hover:hover) and (pointer:fine){.top-provider-card:is(:hover,:focus-within){border-color:color-mix(in srgb,var(--top-action) 45%,var(--top-line));box-shadow:var(--top-shadow)}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.top-provider-card{transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.top-provider-card:is(:hover,:focus-within){transform:translateY(-2px)}}
@media(max-width:980px){.top-provider-explorer__layout{grid-template-columns:1fr}.top-provider-explorer__children{border-bottom:1px solid var(--top-line);border-right:0;display:flex;max-height:none;overflow-x:auto;padding:0 0 1rem}.top-provider-explorer__child-tab{flex:0 0 auto;white-space:nowrap}.top-provider-explorer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.top-provider-explorer{padding:1rem}.top-provider-explorer__parents{gap:1.1rem}.top-provider-explorer__grid{grid-template-columns:1fr}.top-provider-card__brand{min-height:96px}.top-provider-card__body,.top-provider-card__actions{padding-inline:1rem}}

/* Categorized Editor's Picks. */
.top-editor-picks-groups{display:grid;gap:3rem}.top-editor-picks-group__title{color:var(--top-brand);font-size:clamp(1.35rem,2vw,1.8rem);margin:0 0 1.25rem}.top-editor-picks-featured{display:grid;gap:1rem}.top-editor-picks-featured--3{grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}.top-editor-picks-featured--3 .top-editor-pick--lead{grid-row:1/3}.top-editor-picks-featured--2{grid-template-columns:repeat(2,minmax(0,1fr))}.top-editor-picks-featured--1{grid-template-columns:minmax(0,1fr)}.top-editor-picks-featured--1 .top-editor-pick{max-width:850px}.top-editor-pick--lead{min-height:380px;padding:2rem}.top-editor-pick--lead h4{font-size:clamp(1.55rem,2.6vw,2.2rem)}.top-editor-pick--lead>p{font-size:1.02rem;max-width:58ch}.top-editor-pick--supporting{min-height:0;padding:1.35rem}.top-editor-pick--supporting h4{font-size:1.15rem}.top-editor-pick--supporting>p{font-size:.88rem;margin-block:.65rem}.top-editor-pick h4{color:var(--top-brand);margin:0}.top-editor-pick h4 a{color:inherit;text-decoration:none}.top-editor-picks-more{display:grid;gap:1rem;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:1rem}.top-editor-picks-more[hidden]{display:none}.top-editor-pick--extra{min-height:250px}.top-editor-picks-more-button{background:transparent;border:1px solid var(--top-line);border-radius:8px;color:var(--top-brand);cursor:pointer;display:block;font-weight:750;margin:1.25rem auto 0;min-height:44px;padding:.55rem 1.15rem}.top-editor-picks-more-button:focus-visible{outline:3px solid color-mix(in srgb,var(--top-action) 45%,transparent);outline-offset:3px}.top-editor-pick[tabindex="-1"]:focus{outline:3px solid color-mix(in srgb,var(--top-action) 45%,transparent);outline-offset:3px}
@media(max-width:980px){.top-editor-picks-featured--3{grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr)}.top-editor-picks-more{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.top-editor-picks-featured--3{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.top-editor-picks-featured--3 .top-editor-pick--lead{grid-column:1/-1;grid-row:auto}.top-editor-picks-featured--2{grid-template-columns:1fr}.top-editor-pick--lead{min-height:0;padding:1.4rem}.top-editor-pick--supporting{padding:1rem}.top-editor-pick--supporting h4{font-size:1rem}.top-editor-pick--supporting>p{font-size:.8rem}.top-editor-pick--supporting .top-editor-pick__meta{align-items:flex-start;gap:.65rem}.top-editor-pick--supporting .top-editor-pick__score{font-size:1.15rem}.top-editor-picks-more{grid-template-columns:1fr}.top-editor-picks-groups{gap:2.25rem}}
