/*
Theme Name: GPUChoice
Description: GPUChoice child theme for Twenty Twenty-Five (block theme).
Template: twentytwentyfive
Version: 0.5.2
Text Domain: gpuchoice
*/

/* Base */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;overflow-x:clip;background:var(--wp--preset--color--surface);color:var(--wp--preset--color--contrast)}
a{text-underline-offset:.18em}

/* Pure Black shell */
.gc-header,.gc-footer{color:#fff;background:#08090B!important;background-image:none!important}
.gc-header{position:relative;z-index:10;padding:18px 32px;isolation:isolate}
.gc-header::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:url("assets/header-pattern.svg") center center / cover no-repeat;opacity:.45}
.gc-header>*{position:relative;z-index:1}
.gc-footer{padding:34px 32px 30px}
.gc-main{min-height:55vh;max-width:1120px;margin:28px auto 36px;padding:52px 36px 72px;background:#fff;border:1px solid #dce3ed;border-radius:28px;box-shadow:0 2px 10px rgba(3,5,9,.03),0 24px 56px rgba(20,34,56,.06)}

/* Brand */
.gc-header__row,.gc-footer__top{width:100%;max-width:1120px;margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.gc-header__row{flex-wrap:nowrap}
.gc-logo{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:800;font-size:clamp(1.48rem,1.4rem + .6vw,1.9rem);line-height:1.05;letter-spacing:-.05em}
.gc-logo a,.gc-header .wp-block-site-title a,.gc-footer .wp-block-site-title a{color:#fff!important;text-decoration:none;display:inline-flex;align-items:center;gap:12px}
.gc-logo a::before,.gc-header .wp-block-site-title a::before,.gc-footer .wp-block-site-title a::before{content:"";display:inline-block;width:1.58rem;height:1.58rem;flex:0 0 1.58rem;background:url("assets/gpuchoice-g-bold.svg") center / contain no-repeat;transform:translateY(-1px)}
.gc-logo--footer{font-size:1.35rem}
.gc-logo--footer a::before{width:1.38rem;height:1.38rem;flex-basis:1.38rem}

/* Navigation */
.gc-nav{margin:0!important;min-width:0}
.gc-nav .wp-block-navigation__container{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.gc-nav .wp-block-navigation-item{margin:0}
.gc-nav .wp-block-navigation-item__content,
.gc-nav .wp-block-navigation__responsive-container-open{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 24px;border:1px solid rgba(255,255,255,.13);border-radius:0;color:#fff!important;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.028));backdrop-filter:blur(2px);text-decoration:none;white-space:nowrap;font-size:.92rem;font-weight:600;line-height:1.25;clip-path:polygon(14px 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,14px 100%,0 50%);box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 0 0 1px rgba(255,255,255,.03);transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.gc-nav .wp-block-navigation-item__content:hover,
.gc-nav .wp-block-navigation__responsive-container-open:hover{background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045));border-color:rgba(255,255,255,.24);text-decoration:none;transform:translateY(-1px)}
.gc-nav .current-menu-item>.wp-block-navigation-item__content{background:linear-gradient(180deg,#3779ff,#2455d8);border-color:rgba(112,170,255,.92);box-shadow:0 8px 18px rgba(37,99,235,.22),inset 0 1px 0 rgba(255,255,255,.12)}
.gc-nav .wp-block-navigation__responsive-container-open{padding:9px;min-width:44px;clip-path:none;border-radius:999px}
.gc-nav .wp-block-navigation__responsive-container-open svg,.gc-nav .wp-block-navigation__responsive-container-close svg{fill:currentColor;stroke:currentColor}
.gc-nav .wp-block-navigation__responsive-container.is-menu-open{position:fixed!important;inset:0!important;z-index:99999!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;background:#08090B!important;background-image:none!important;color:#fff!important;padding:26px 22px!important}
.gc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close{width:min(100%,1120px);margin-inline:auto;position:relative;min-height:42px}
.gc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close::before{content:"GPUChoice";display:block;position:absolute;top:0;left:0;z-index:1;padding-left:44px;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:1.56rem;line-height:42px;font-weight:800;letter-spacing:-.05em;color:#fff;pointer-events:none;background:url("assets/gpuchoice-g-bold.svg") left center / 30px 30px no-repeat}
.gc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{padding-top:74px;align-items:stretch!important}
.gc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;width:100%!important}
.gc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{width:100%!important}
.gc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{display:block!important;width:100%!important;padding:15px 18px!important;text-align:left!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:14px!important;clip-path:none!important;box-shadow:none!important;background:rgba(255,255,255,.03)!important;font-size:1.03rem!important}
.gc-nav .wp-block-navigation__responsive-container-close{position:absolute!important;right:0!important;top:0!important;color:#fff!important;min-width:44px;min-height:44px}

/* Footer */
.gc-footer a{color:inherit;text-decoration:none}
.gc-footer a:hover{text-decoration:underline}
.gc-footer-nav .wp-block-navigation__container{display:flex;gap:10px 20px;flex-wrap:wrap;justify-content:flex-end}
.gc-footer-nav .wp-block-navigation-item__content{color:#fff!important;font-size:.9rem}
.gc-footer__copy{margin-top:24px;padding-top:20px;border-top:1px solid rgba(255,255,255,.14);font-size:.8125rem;color:#dbe6ff}

/* Content typography */
.gc-label,.gc-label a{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--accent);text-decoration:none;margin:0;font-weight:700}
.gc-meta,.gc-meta a{font-size:.84rem;color:var(--wp--preset--color--muted);margin:0}
.gc-home-top{align-items:start;gap:40px}
.gc-home-top>.wp-block-column{min-width:0}
.gc-main .wp-block-post-featured-image{margin:0}
.gc-main .wp-block-post-featured-image img{display:block;width:100%;height:auto;border-radius:14px;object-fit:cover}
.gc-main .wp-block-post-title a{color:inherit;text-decoration:none}
.gc-main .wp-block-post-title a:hover{color:var(--wp--preset--color--accent)}
.gc-lead-title{font-size:clamp(2rem,1.68rem + 1.3vw,2.75rem);line-height:1.08;margin:.55rem 0 .9rem}
.gc-lead-excerpt,.gc-standfirst{font-size:1.08rem;line-height:1.62;color:var(--wp--preset--color--soft)}
.gc-article-title{font-size:clamp(2.1rem,1.7rem + 1.35vw,3rem);line-height:1.08;margin:.78rem 0 1rem}
.gc-page-title{font-size:clamp(2rem,1.55rem + 1.8vw,3rem);line-height:1.08;margin:0 0 1.1rem}
.gc-section-label{margin:52px 0 14px;font-weight:700}
.gc-item{border-top:1px solid var(--wp--preset--color--line);padding:18px 0}
.gc-item:first-child{margin-top:8px}
.gc-item h3,.gc-row h3{font-size:1.19rem;line-height:1.3;margin:.25rem 0}
.gc-row{display:grid;grid-template-columns:minmax(100px,155px) minmax(0,1fr);gap:20px;align-items:start;border-top:1px solid var(--wp--preset--color--line);padding:22px 0}
.gc-row .wp-block-post-title{overflow-wrap:anywhere}
.gc-empty{margin:0;padding:32px 30px;border:1px solid #d7dee8;border-radius:16px;background:#f7f9fc;color:#44505f}
.gc-empty h2,.gc-empty h3{font:700 1.3rem/1.3 Inter,system-ui,sans-serif;margin:0 0 8px}
.gc-empty p{margin:0}
.gc-empty-note{font-size:.95rem;line-height:1.6;color:#64748b;margin:0;padding:4px 0 12px}
.gc-chips{margin:0 0 32px}
.gc-chips .wp-block-navigation-item__content{display:inline-flex;align-items:center;min-height:42px;padding:0 17px;border:1px solid #cfd7e4;border-radius:999px;font-size:.93rem;text-decoration:none;background:#fff}
.gc-chips .current-menu-item>.wp-block-navigation-item__content{background:var(--wp--preset--color--contrast);border-color:var(--wp--preset--color--contrast);color:#fff}

/* Article body */
.gc-main > .wp-block-post-content,
.gc-main > .wp-block-post-featured-image,
.gc-main > .wp-block-post-excerpt,
.gc-main > .wp-block-post-title,
.gc-main > .wp-block-post-terms,
.gc-main > .gc-meta,
.gc-main > .wp-block-query,
.gc-main > .wp-block-query-title,
.gc-main > .wp-block-columns,
.gc-main > .wp-block-heading,
.gc-main > .wp-block-navigation,
.gc-main > p{max-width:100%}
.single .gc-main .wp-block-post-content,
.page .gc-main .wp-block-post-content{margin-top:1.2rem}
.single .gc-main .wp-block-post-content > * + *,
.page .gc-main .wp-block-post-content > * + *{margin-top:1.1rem}

/* Pagination */
.wp-block-query-pagination{margin-top:32px;padding-top:24px;border-top:1px solid var(--wp--preset--color--line)}
.wp-block-query-pagination .page-numbers,.wp-block-query-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;border-radius:50%;font-weight:600;text-decoration:none}
.wp-block-query-pagination .page-numbers.current{background:var(--wp--preset--color--contrast);color:#fff}

/* Responsive */
@media (min-width:601px){
  .gc-nav .wp-block-navigation__responsive-container-open{display:none!important}
  .gc-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:block!important;position:static!important;width:auto!important;height:auto!important;background:transparent!important;overflow:visible!important}
  .gc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content{display:flex!important;align-items:center!important;padding:0!important}
  .gc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container{flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-end!important}
  .gc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item{width:auto!important}
}
@media (min-width:601px) and (max-width:960px){
  .gc-header__row{flex-wrap:wrap!important;justify-content:center!important;gap:14px!important}
  .gc-header__row>.gc-logo{width:100%;text-align:center}
  .gc-header__row>.gc-nav{width:100%;display:flex;justify-content:center!important}
  .gc-nav .wp-block-navigation__responsive-container:not(.is-menu-open){width:100%!important}
  .gc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content{justify-content:center!important}
  .gc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container{justify-content:center!important;gap:6px!important}
  .gc-nav .wp-block-navigation-item__content{min-height:40px;padding:0 16px;font-size:.84rem;clip-path:polygon(11px 0,calc(100% - 11px) 0,100% 50%,calc(100% - 11px) 100%,11px 100%,0 50%)}
}
@media (max-width:781px){
  .gc-header,.gc-footer{padding-left:16px;padding-right:16px}
  .gc-header{padding-block:12px}
  .gc-main{margin:18px 12px 26px;padding:30px 18px 52px;border-radius:22px;min-height:48vh}
  .gc-home-top{display:block;gap:0}
  .gc-home-top>.wp-block-column{width:100%!important;flex-basis:100%!important}
  .gc-home-top>.wp-block-column+.wp-block-column{margin-top:34px}
  .gc-row{grid-template-columns:110px minmax(0,1fr)}
  .gc-footer__top{display:block}
  .gc-footer-nav{margin-top:18px!important}
  .gc-footer-nav .wp-block-navigation__container{justify-content:flex-start}
}
@media (max-width:600px){
  .gc-header__row{flex-wrap:nowrap!important;justify-content:space-between!important}
  .gc-header::before{background-position:58% center;opacity:.36}
  .gc-nav .wp-block-navigation__responsive-container-open{display:flex!important}
  .gc-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
}
@media (max-width:480px){
  .gc-nav .wp-block-navigation__responsive-container.is-menu-open{padding:20px 16px!important}
  .gc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close::before{font-size:1.42rem;background-size:28px 28px;padding-left:40px}
  .gc-row{grid-template-columns:88px minmax(0,1fr);gap:12px}
  .gc-row h3{font-size:1rem}
  .gc-empty{padding:22px 18px}
  .gc-logo{font-size:1.42rem}
  .gc-logo a,.gc-header .wp-block-site-title a,.gc-footer .wp-block-site-title a{gap:10px}
  .gc-logo a::before,.gc-header .wp-block-site-title a::before,.gc-footer .wp-block-site-title a::before{width:1.42rem;height:1.42rem;flex-basis:1.42rem}
  .gc-main .gc-article-title{font-size:1.95rem}
}

/* 0.3.3 — exact user-approved complete transparent GPUChoice logo + angled nav. */
.gc-header .wp-block-site-title.gc-logo a,
.gc-footer .wp-block-site-title.gc-logo a{
  display:block!important;
  box-sizing:border-box;
  width:260px;
  height:80px;
  max-width:100%;
  padding:0;
  overflow:hidden;
  white-space:nowrap;
  text-indent:-9999px;
  background:url("assets/gpuchoice-approved-logo.png") left center / contain no-repeat;
}
.gc-header .wp-block-site-title.gc-logo a::before,
.gc-footer .wp-block-site-title.gc-logo a::before{content:none!important;display:none!important}
.gc-footer .wp-block-site-title.gc-logo a{width:228px;height:70px}
.gc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close::before{
  content:""!important;
  background:url("assets/gpuchoice-approved-logo.png") left center / contain no-repeat!important;
  width:225px;
  height:68px;
  padding:0!important;
  top:-12px;
}
@media(max-width:600px){
  .gc-header .wp-block-site-title.gc-logo a{width:200px;height:62px}
  .gc-footer .wp-block-site-title.gc-logo a{width:208px;height:64px}
}
@media(max-width:360px){.gc-header .wp-block-site-title.gc-logo a{width:175px;height:54px}}

/* v0.3.5 — precisely drawn angled navigation, retained border through an inner layer */
@media (min-width:601px) {
 .gc-header .gc-nav .wp-block-navigation__container {gap:13px!important;}
 .gc-header .gc-nav .wp-block-navigation-item__content {
  position:relative!important;isolation:isolate!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  height:43px!important;min-height:43px!important;
  padding:0 21px!important;box-sizing:border-box!important;
  font:500 14px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  letter-spacing:0!important;text-decoration:none!important;
  border:0!important;border-radius:0!important;
  clip-path:polygon(7px 0,calc(100% - 7px) 0,100% 7px,100% calc(100% - 7px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 7px),0 7px)!important;
  background:#5b626b!important;box-shadow:none!important;transform:none!important;
 }
 .gc-header .gc-nav .wp-block-navigation-item__content::before {
  content:"";position:absolute;inset:1px;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,#25282d,#1b1e23);
  clip-path:polygon(6px 0,calc(100% - 6px) 0,100% 6px,100% calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,0 calc(100% - 6px),0 6px);
 }
 .gc-header .gc-nav .wp-block-navigation-item__content:hover,
 .gc-header .gc-nav .wp-block-navigation-item__content:focus-visible {background:#8d96a2!important;}
 .gc-header .gc-nav .wp-block-navigation-item__content:hover::before,
 .gc-header .gc-nav .wp-block-navigation-item__content:focus-visible::before{background:linear-gradient(180deg,#303741,#22282f)}
 .gc-header .gc-nav .current-menu-item>.wp-block-navigation-item__content,
 body.home .gc-header .gc-nav .wp-block-navigation-item:first-child>.wp-block-navigation-item__content,
 body.blog .gc-header .gc-nav .wp-block-navigation-item:nth-child(2)>.wp-block-navigation-item__content{background:#74a3ef!important;color:#fff!important;font-weight:600!important;}
 .gc-header .gc-nav .current-menu-item>.wp-block-navigation-item__content::before,
 body.home .gc-header .gc-nav .wp-block-navigation-item:first-child>.wp-block-navigation-item__content::before,
 body.blog .gc-header .gc-nav .wp-block-navigation-item:nth-child(2)>.wp-block-navigation-item__content::before {background:linear-gradient(180deg,#326de0,#2252b8)!important;}
}
@media (min-width:601px) and (max-width:960px){
 .gc-header .gc-nav .wp-block-navigation__container{gap:9px!important;}
 .gc-header .gc-nav .wp-block-navigation-item__content{height:40px!important;min-height:40px!important;padding:0 15px!important;font-size:13px!important;}
}


/* GPUChoice 0.4 — editorial front page, restrained hardware publication style. */
.gc-main{max-width:1120px;border-radius:18px;padding:48px 44px 66px;box-shadow:0 16px 38px rgba(16,24,40,.045);border-color:#e0e5ec}
.gc-main .wp-block-post-title,
.gc-main .wp-block-post-title a,
.gc-main .gc-lead-title,
.gc-main .gc-article-title,
.gc-main .gc-page-title{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:-.037em;font-weight:750;line-height:1.16}
.gc-main .gc-lead-title{font-size:clamp(1.75rem,2.4vw,2.35rem)!important;line-height:1.13;margin:.7rem 0 .8rem}
.gc-main .gc-lead-excerpt{font-size:.97rem;line-height:1.65;max-width:56ch;color:#526071}
.gc-main .gc-label,.gc-main .gc-label a{color:#225acf;font-weight:750;font-family:system-ui,sans-serif;letter-spacing:.075em;font-size:.71rem}
.gc-main .gc-meta,.gc-main .gc-meta a,.gc-reading-time{color:#788394;font-size:.76rem;font-family:system-ui,sans-serif;line-height:1.4}
.gc-reading-time{white-space:nowrap}
.gc-reading-time::before{content:'·';display:inline-block;margin:0 .43rem;color:#a0a8b3}
.gc-meta-line{display:flex;align-items:center;gap:0!important;margin-top:8px!important}
.gc-main .gc-home-top{gap:38px;align-items:stretch}
.gc-home-top>.wp-block-column:first-child{padding-right:10px}
.gc-home-top>.wp-block-column:nth-child(2){border-left:1px solid #e3e7ec;padding-left:30px}
.gc-main .gc-home-top .wp-block-post-featured-image img{border-radius:7px}
.gc-sidebar-label{padding-bottom:12px;border-bottom:2px solid #1f2937;margin-bottom:3px!important}
.gc-main .gc-item{padding:16px 0;border-color:#e2e6eb}
.gc-main .gc-item h3{font-family:Inter,system-ui,"Segoe UI",sans-serif!important;font-size:1rem;line-height:1.34;font-weight:700;letter-spacing:-.018em;margin:5px 0 7px}
.gc-item .gc-label,.gc-item .gc-label a{font-size:.67rem}
.gc-main .gc-section-label{font:750 .83rem/1.3 system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;margin:56px 0 24px;color:#171b23;padding-bottom:12px;border-bottom:2px solid #171b23}
.gc-main .gc-section-label::after{content:'';display:block;width:42px;height:2px;background:#2563eb;position:relative;top:14px}
.gc-main .wp-block-post-template.is-layout-grid{column-gap:34px;row-gap:0}
.gc-main .gc-row{grid-template-columns:136px minmax(0,1fr);gap:17px;padding:23px 0;border-top:1px solid #e1e6ec;min-width:0}
.gc-main .gc-row .wp-block-post-featured-image img{border-radius:5px}
.gc-main .gc-row h3{font:700 1.04rem/1.28 Inter,system-ui,"Segoe UI",sans-serif!important;letter-spacing:-.025em;margin:.33rem 0 .4rem}
.gc-row .gc-meta{line-height:1.45}
.gc-main .wp-block-post-title a:hover{color:#215bcc}
.gc-main .gc-article-title{font-size:clamp(2rem,3.5vw,3.1rem)!important}
.gc-main .wp-block-post-content{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.82}
.gc-main .wp-block-post-content h2,.gc-main .wp-block-post-content h3{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.025em}
@media(max-width:960px){
 .gc-main{padding:38px 28px 54px}
 .gc-main .gc-home-top{gap:22px}
 .gc-home-top>.wp-block-column:nth-child(2){padding-left:20px}
 .gc-main .gc-row{grid-template-columns:105px minmax(0,1fr);gap:13px}
}
@media(max-width:781px){
 .gc-main{margin:18px 12px 26px;padding:28px 22px 48px;border-radius:16px}
 .gc-main .gc-home-top>.wp-block-column:first-child{padding-right:0}
 .gc-main .gc-home-top>.wp-block-column:nth-child(2){border-left:0;padding-left:0;margin-top:35px}
 .gc-main .wp-block-post-template.is-layout-grid{grid-template-columns:1fr 1fr;gap:0 20px}
}
@media(max-width:600px){
 .gc-main{padding:24px 18px 42px}
 .gc-main .wp-block-post-template.is-layout-grid{grid-template-columns:1fr;gap:0}
 .gc-main .gc-row{grid-template-columns:112px minmax(0,1fr);gap:15px}
 .gc-main .gc-lead-title{font-size:1.82rem!important}
 .gc-main .gc-section-label{margin-top:38px}
}
@media(max-width:360px){.gc-main .gc-row{grid-template-columns:92px minmax(0,1fr);gap:12px}}

/* GPUChoice 0.4.1 — final front-page editorial polish.
   Scope deliberately limited to the home template: keep approved chrome intact. */
.gc-main:has(.gc-home-top){padding-bottom:58px}
.gc-main .gc-home-top{gap:42px}
.gc-main .gc-home-top>.wp-block-column:first-child{padding-right:4px}
.gc-main .gc-home-top .wp-block-post-featured-image{margin-bottom:15px}
.gc-main .gc-home-top .wp-block-post-featured-image img{border-radius:6px}
.gc-main .gc-lead-title{font-size:clamp(1.92rem,2.75vw,2.55rem)!important;line-height:1.12;margin:.55rem 0 .68rem;max-width:24ch}
.gc-main .gc-lead-excerpt{font-size:1.035rem;line-height:1.63;max-width:57ch;color:#4e5b6a;margin-bottom:14px}
.gc-main .gc-label,.gc-main .gc-label a{font-size:.75rem;letter-spacing:.065em}
.gc-main .gc-meta,.gc-main .gc-meta a,.gc-main .gc-reading-time{font-size:.835rem;line-height:1.55;color:#657184}
.gc-main .gc-item{padding:17px 0}
.gc-main .gc-item h3{font-size:1.03rem;line-height:1.37;margin:6px 0 8px}
.gc-main .gc-section-label{margin-top:52px;margin-bottom:20px}
.gc-main .wp-block-post-template.is-layout-grid{column-gap:32px}
.gc-main .gc-row{grid-template-columns:132px minmax(0,1fr);gap:17px;padding:21px 0;align-items:start}
.gc-main .gc-row h3{font-size:1.075rem!important;line-height:1.35;margin:.28rem 0 .45rem}
.gc-main .gc-row .wp-block-post-excerpt{font-size:.875rem;line-height:1.55;color:#566274}
.gc-main .gc-row .gc-meta-line{margin-top:9px!important;row-gap:3px;flex-wrap:wrap}
.gc-main .wp-block-post-title a:focus-visible{outline:2px solid #2563eb;outline-offset:3px;border-radius:2px}
/* No featured image: editorial text-first cards instead of a gray placeholder box.
   This detects genuinely absent image markup, not existing demo thumbnails. */
.gc-main .gc-row .wp-block-post-featured-image:not(:has(img)){display:none!important}
.gc-main .gc-row:not(:has(.wp-block-post-featured-image img)){grid-template-columns:minmax(0,1fr)}
.gc-main .gc-home-top .wp-block-post-featured-image:not(:has(img)){display:none!important}
@media(max-width:960px){
 .gc-main .gc-home-top{gap:25px}
 .gc-main .gc-row{grid-template-columns:108px minmax(0,1fr);gap:14px}
}
@media(max-width:781px){
 .gc-main:has(.gc-home-top){padding-bottom:46px}
 .gc-main .gc-home-top>.wp-block-column:first-child{padding-right:0}
 .gc-main .gc-home-top>.wp-block-column:nth-child(2){margin-top:36px}
 .gc-main .gc-lead-title{max-width:none}
 .gc-main .wp-block-post-template.is-layout-grid{column-gap:22px}
}
@media(max-width:600px){
 .gc-main .gc-lead-title{font-size:1.91rem!important}
 .gc-main .gc-lead-excerpt{font-size:1rem}
 .gc-main .gc-row{grid-template-columns:112px minmax(0,1fr);gap:14px;padding:20px 0}
 .gc-main .gc-row h3{font-size:1.05rem!important}
 .gc-main .gc-section-label{margin-top:40px}
}
@media(max-width:380px){
 .gc-main .gc-row{grid-template-columns:94px minmax(0,1fr);gap:12px}
 .gc-main .gc-row:not(:has(.wp-block-post-featured-image img)){grid-template-columns:minmax(0,1fr)}
}

/* v0.4.2 — final tablet/mobile editorial refinements; chrome unchanged on desktop. */
@media (min-width:601px) and (max-width:960px){
  .gc-header{padding-top:10px!important;padding-bottom:10px!important}
  .gc-header__row{gap:7px!important}
  .gc-header .wp-block-site-title.gc-logo a{height:56px!important;width:228px!important;margin:auto!important}
  .gc-header .gc-nav .wp-block-navigation__container{gap:9px!important}
  /* Keep the lead story visible sooner on tablet without distorting thumbnails. */
  .gc-main .gc-home-top .wp-block-post-featured-image img{
    width:100%!important;height:clamp(220px,36vw,310px)!important;
    aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;
  }
}
@media(max-width:600px){
  /* Preserve the existing mobile header and the full 16:9 lead image. */
  .gc-main .gc-home-top .wp-block-post-featured-image img{height:auto!important;aspect-ratio:16/9!important}
  .gc-main .gc-lead-excerpt{margin-bottom:10px}
}
/* Read-more isn't part of the editorial excerpt. Hide only its link, if supplied. */
.gc-main .gc-home-top .wp-block-post-excerpt__more-text{display:none!important}

/* v0.4.3 tablet lead image: controlled compact crop, mobile remains 16:9. */
@media (min-width:601px) and (max-width:960px){
.gc-main .gc-home-top .wp-block-post-featured-image,.gc-main .gc-home-top .wp-block-post-featured-image a{display:block;width:100%;overflow:hidden;border-radius:6px}
.gc-main .gc-home-top .wp-block-post-featured-image img{display:block;width:100%!important;height:clamp(175px,27vw,225px)!important;max-height:225px!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center center!important}
.gc-main .gc-home-top .wp-block-post-featured-image{margin-bottom:12px!important}
}
@media (max-width:600px){.gc-main .gc-home-top .wp-block-post-featured-image img{height:auto!important;max-height:none!important;aspect-ratio:16/9!important;object-fit:cover!important}}
/* WordPress editor-only Read more placeholder; don't suppress real excerpts. */
.editor-styles-wrapper .gc-lead-excerpt [data-placeholder*="read more"],.editor-styles-wrapper .gc-lead-excerpt [data-placeholder*="Read more"]{display:none!important}

/* 0.4.4 — clean front-page metadata and suppress editor-only excerpt hints. */
.gc-main .gc-lead-meta{display:flex;align-items:center;gap:0!important;margin-top:15px!important}
.gc-main .gc-lead-meta .gc-meta{margin:0!important}
.gc-main .gc-meta-line .gc-reading-time::before{content:"·";margin:0 .6em;color:#98a2b3}
/* Post Excerpt inserts a read-more editor placeholder even with empty moreText;
   remove only that optional link, never the actual excerpt paragraph. */
.gc-main .gc-home-top .wp-block-post-excerpt__more-link,
.gc-main .gc-home-top .wp-block-post-excerpt__more-text,
.editor-styles-wrapper .gc-home-top .wp-block-post-excerpt__more-link,
.editor-styles-wrapper .gc-home-top .wp-block-post-excerpt__more-text{display:none!important}


/* 0.4.5 — predictable editorial thumbnail sizing and unobtrusive hover. */
.gc-main .gc-row{grid-template-columns:160px minmax(0,1fr)!important;gap:18px!important;padding:20px 0!important;align-items:start!important}
.gc-main .gc-row .wp-block-post-featured-image{display:block;width:160px!important;height:100px!important;margin:0!important;overflow:hidden;border-radius:5px;aspect-ratio:8/5!important}
.gc-main .gc-row .wp-block-post-featured-image a{display:block!important;width:100%;height:100%;overflow:hidden}
.gc-main .gc-row .wp-block-post-featured-image img{display:block!important;width:100%!important;height:100%!important;min-height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center!important;aspect-ratio:auto!important;border-radius:5px!important;transition:opacity .22s ease,transform .24s ease}
.gc-main .gc-row .wp-block-group{min-width:0}
.gc-main .gc-row .gc-meta-line{margin-top:12px!important}
.gc-main .gc-row .wp-block-post-excerpt{margin:7px 0 0!important}
.gc-main .gc-row .wp-block-post-excerpt__more-text,
.gc-main .gc-row .wp-block-post-excerpt__more-link{display:none!important}
.gc-main .gc-row .wp-block-post-excerpt__excerpt{margin-bottom:0!important}
/* Editor inserts an editable read-more placeholder even when the block has no read-more link. */
.editor-styles-wrapper .gc-main .wp-block-post-excerpt .block-editor-rich-text__editable[data-placeholder*="read more"],
.editor-styles-wrapper .gc-main .wp-block-post-excerpt .block-editor-rich-text__editable[data-placeholder*="Read more"],
.editor-styles-wrapper .gc-main .wp-block-post-excerpt [data-placeholder*="read more"],
.editor-styles-wrapper .gc-main .wp-block-post-excerpt [data-placeholder*="Read more"],
.editor-styles-wrapper .gc-main .wp-block-post-excerpt .wp-block-post-excerpt__more-text{display:none!important}
@media (hover:hover) and (pointer:fine){
.gc-main .wp-block-post-featured-image:has(a):hover img{opacity:.78;transform:scale(1.015)}
}
.gc-main .gc-row:not(:has(.wp-block-post-featured-image img)){grid-template-columns:minmax(0,1fr)!important}
@media (min-width:782px) and (max-width:1100px){
.gc-main .gc-row{grid-template-columns:130px minmax(0,1fr)!important;gap:15px!important}
.gc-main .gc-row .wp-block-post-featured-image{width:130px!important;height:81px!important}
}
@media (max-width:781px){
.gc-main .gc-row{grid-template-columns:112px minmax(0,1fr)!important;gap:14px!important;padding:19px 0!important}
.gc-main .gc-row .wp-block-post-featured-image{width:112px!important;height:70px!important}
.gc-main .gc-row h3{margin-top:4px!important;line-height:1.34!important}
.gc-main .gc-row .wp-block-post-excerpt{margin-top:8px!important;line-height:1.5!important}
.gc-main .gc-row .gc-meta-line{margin-top:11px!important}
.gc-main .wp-block-post-template.is-layout-grid{row-gap:0!important}
}
@media (max-width:480px){
.gc-main .gc-row{grid-template-columns:100px minmax(0,1fr)!important;gap:14px!important;padding:20px 0!important}
.gc-main .gc-row .wp-block-post-featured-image{width:100px!important;height:63px!important}
.gc-main .gc-row h3{font-size:1rem!important;line-height:1.31!important}
.gc-main .gc-row .wp-block-post-excerpt{font-size:.87rem!important;line-height:1.5!important}
.gc-main .gc-row .gc-meta-line{margin-top:10px!important}
}
@media (max-width:360px){
.gc-main .gc-row{grid-template-columns:92px minmax(0,1fr)!important;gap:12px!important}
.gc-main .gc-row .wp-block-post-featured-image{width:92px!important;height:58px!important}
}

/* 0.4.6 — align the category top edge with the thumbnail on tablet and phone.
   Preserve existing thumbnail sizes, grid gaps and vertical card spacing. */
@media (max-width:1100px){
 .gc-main .gc-row > .wp-block-group{align-self:start!important;margin-block-start:0!important;padding-block-start:0!important;}
 .gc-main .gc-row > .wp-block-group > .wp-block-post-terms.gc-label{margin-block-start:0!important;margin-top:0!important;padding-block-start:0!important;line-height:1.2!important;}
 .gc-main .gc-row > .wp-block-group > .wp-block-post-terms.gc-label a{line-height:inherit!important;}
}

/* v0.4.7: native post-date + server-side reading duration. */
.gc-meta-line .gc-reading-time,.gc-meta .gc-reading-time{display:inline;white-space:nowrap;color:#68758a;font:inherit}
.gc-meta-line .gc-reading-time::before,.gc-meta .gc-reading-time::before{content:"·";display:inline-block;margin:0 8px;color:#94a3b8}
.wp-block-post-date .gc-reading-time{display:inline;color:#68758a}
.wp-block-post-date .gc-reading-time::before{content:"·";display:inline-block;margin:0 8px;color:#94a3b8}

/* v0.4.8: align category tops with thumbnails on all viewport widths,
 * including desktop, without changing thumbnail dimensions or card spacing. */
.gc-main .gc-row {
  align-items:start!important;
}
.gc-main .gc-row > .wp-block-group {
  align-self:start!important;
  padding-top:0!important;
  margin-top:0!important;
}
.gc-main .gc-row > .wp-block-group > .wp-block-post-terms.gc-label {
  margin-top:0!important;
  padding-top:0!important;
  line-height:1.2!important;
}
.gc-main .gc-row > .wp-block-featured-image,
.gc-main .gc-row > .wp-block-post-featured-image {margin-top:0!important}

/* Reading time in Site Editor (core date stays intact). */
.editor-styles-wrapper .gc-reading-time--editor{display:inline-block;margin-left:9px;color:#68758a;font-size:.83rem}
.editor-styles-wrapper .gc-reading-time--editor::before{content:"·";margin-right:9px;color:#94a3b8}

/* v0.5.0: Single Post > Related Articles metadata stays on a single row.
 * Only this section is targeted; homepage metadata is unchanged. */
.gc-main .gc-row .gc-related-meta {
  display:flex!important;align-items:baseline!important;flex-wrap:nowrap!important;
  column-gap:0!important;row-gap:0!important;margin-top:12px!important;
}
.gc-main .gc-row .gc-related-meta .wp-block-post-date {
  margin:0!important;white-space:nowrap!important;
}
.editor-styles-wrapper .gc-main .gc-row .gc-related-meta .gc-reading-time--editor {
  margin-top:0!important;align-self:baseline!important;white-space:nowrap!important;
}


/* v0.5.1 — Single Post editorial polish; front-page styles remain unchanged. */
.single .gc-main > .gc-meta {
  display:flex;align-items:baseline;flex-wrap:wrap;
  column-gap:9px;row-gap:5px;
  margin:10px 0 17px!important;
  font-size:.83rem;line-height:1.55;
}
.single .gc-main > .gc-meta > * { margin:0!important; }
.single .gc-main > .gc-meta .wp-block-post-date { white-space:nowrap; }
.single .gc-main > .gc-meta .gc-reading-time { margin-left:0; }
.single .gc-main > .gc-meta .gc-updated-date {
  color:#657184;white-space:nowrap;
}
.single .gc-main > .gc-meta .gc-updated-date::before {
  content:"·";display:inline-block;margin-right:9px;color:#94a3b8;
}
/* Date + reading time must share one row in each related story. */
.single .gc-main .gc-related-list .gc-row {
  padding-top:17px!important;padding-bottom:17px!important;
}
.single .gc-main .gc-related-list .gc-row .gc-related-meta {
  display:flex!important;align-items:baseline!important;
  flex-wrap:wrap!important;gap:0!important;
  margin-top:9px!important;
}
.single .gc-main .gc-related-list .gc-row .gc-related-meta .wp-block-post-date,
.single .gc-main .gc-related-list .gc-row .gc-related-meta .gc-reading-time {
  display:inline!important;white-space:nowrap!important;
}
.single .gc-main .gc-related-list .gc-row .gc-related-meta .gc-reading-time::before {
  content:"·";display:inline-block;margin:0 8px;color:#94a3b8;
}
/* A restrained accent on the verdict, not another colorful template card. */
.single .gc-main .wp-block-post-content h2.gc-verdict-heading {
  border-top:1px solid #dce3ec;
  padding-top:22px;margin-top:29px;
}
.single .gc-main .wp-block-post-content h2.gc-verdict-heading ~ p:last-child {
  border-left:3px solid #2867ee;
  padding:10px 0 10px 17px;
  background:linear-gradient(90deg,rgba(40,103,238,.045),transparent 75%);
  font-weight:600;
}
@media (max-width:600px){
 .single .gc-main > .gc-meta {column-gap:7px;row-gap:4px;}
 .single .gc-main .gc-related-list .gc-row {padding-top:16px!important;padding-bottom:16px!important;}
}

/* v0.5.2 — sticky global site navigation on desktop/tablet/mobile.
 * The template-part element is the real sibling of <main>. Applying sticky
 * only to the nested .gc-header would trap it in a header-height parent.
 */
header.wp-block-template-part:has(.gc-header) {
  position:sticky!important;
  top:0;
  z-index:1000;
  margin-block:0!important;
  background:#08090B;
}
/* Preserve the admin toolbar when previewing the site while signed in. */
body.admin-bar header.wp-block-template-part:has(.gc-header) {
  top:32px;
}
@media (max-width:782px) {
  body.admin-bar header.wp-block-template-part:has(.gc-header) {
    top:46px;
  }
}
@media (max-width:600px) {
  /* The WordPress mobile admin bar scrolls away on small screens. */
  body.admin-bar header.wp-block-template-part:has(.gc-header) {
    top:0;
  }
}
