:root { color-scheme: dark; --gmrs-divider: rgba(150,180,210,.16); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: #07111d; color: #f1f5f8; }
body.admin-bar .site-header { top: 32px; }
a { text-underline-offset: .18em; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { min-height: 100vh; }
.skip-link { position: fixed; z-index: 10000; left: 1rem; top: -5rem; padding: .75rem 1rem; background: #f1f5f8; color: #07111d; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid #58a3ff; outline-offset: 3px; }
.site-header { position: sticky; z-index: 1000; top: 0; min-height: 80px; background: rgba(4,16,27,.88); border-bottom: 1px solid rgba(150,180,210,.23); backdrop-filter: blur(10px); transition: background-color .2s ease,border-color .2s ease; }
.site-header.is-scrolled { background: #04101b; border-bottom-color: rgba(150,180,210,.29); }
.header-inner { min-height: 80px; display: grid; grid-template-columns: minmax(260px,1fr) auto minmax(190px,1fr); align-items: center; gap: clamp(1.5rem,2.6vw,2.75rem); padding: .45rem max(1.25rem,4vw); }
.brand-link { display: flex; align-items: center; gap: .7rem; min-width: 0; text-decoration: none; color: #f1f5f8; }
.brand-mark { width: 70px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark img { display: block; width: 70px; max-width: none; height: auto; }
.brand-link > span:last-child, .brand-name, .brand-tagline { display: block; }
.brand-link > span:last-child { min-width: 0; }
.brand-name { font-size: 1.2rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.brand-name span { color: #58a3ff; }
.brand-tagline { color: #a9b6c5; font-size: .7rem; letter-spacing: .035em; margin-top: .26rem; }
.main-nav ul { display: flex; align-items: center; gap: clamp(.75rem,2vw,2rem); list-style: none; padding: 0; margin: 0; }
.main-nav a, .header-tools a { color: #f1f5f8; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.main-nav a:hover, .header-tools a:hover { color: #58a3ff; }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.tool-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
.tool-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; cursor: pointer; min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid #24384c; border-radius: 9px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-panel { position: absolute; top: 80px; left: 0; right: 0; padding: 1rem 1.25rem 1.5rem; background: #04101b; border-bottom: 1px solid #24384c; }
.mobile-panel a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--gmrs-divider); color: #f1f5f8; text-decoration: none; }
.hero { position: relative; min-height: 650px; margin-top: -80px; padding-top: 80px; isolation: isolate; background: #0b1724; }
.hero-media, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-media { z-index: -3; overflow: hidden; }
.hero-slide { opacity: 0; background-position: var(--hero-position,center); background-size: cover; transform: scale(1); transition: opacity 2.5s ease, transform 14.5s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1.025); }
.hero-shade { z-index: -2; background: linear-gradient(90deg,rgba(4,16,28,.97) 0%,rgba(4,16,28,.88) 25%,rgba(4,16,28,.48) 52%,rgba(4,16,28,.10) 78%,rgba(4,16,28,.03) 100%),linear-gradient(180deg,rgba(7,17,29,0) 55%,rgba(7,17,29,.45) 78%,#07111d 100%); }
.hero-content { width: min(1376px,calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(5.4rem,9.5vw,8.5rem) 0 8rem; }
.hero-copy { max-width: 690px; }
.hero-eyebrow, .section-kicker { margin: 0 0 .85rem; color: #58a3ff; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(2.6rem,5vw,4rem); line-height: 1.05; font-weight: 580; letter-spacing: -.045em; }
.accent { color: #2f87f6; }
.hero-copy > p:not(.hero-eyebrow) { max-width: 630px; margin-top: 1.55rem; color: #d1d9e1; font-size: clamp(1.05rem,1.5vw,1.22rem); line-height: 1.62; }
.button-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.gmrsworld-hero-cta { align-items: center; }
.gmrsworld-hero-cta > a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-weight: 650; text-transform: uppercase; box-shadow: none; }
.gmrsworld-hero-cta > .gmrsworld-cta-shop { padding: 1rem 1.5rem; border: 1px solid transparent; border-radius: 10px; background: #2f87f6; color: #fff; }
.gmrsworld-hero-cta > .gmrsworld-cta-shop:hover { background: #58a3ff; color: #04101b; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.gmrsworld-hero-cta > :is(.gmrsworld-cta-explore,.gmrsworld-cta-new) { padding: 1rem 1.5rem; border: 1px solid #2f87f6; border-radius: 10px; background: transparent; color: #fff; }
.gmrsworld-hero-cta > :is(.gmrsworld-cta-explore,.gmrsworld-cta-new):hover { border-color: #58a3ff; background: rgba(47,135,246,.12); color: #fff; }
.gmrsworld-hero-cta > a:focus-visible { outline: 3px solid #8bc0ff; outline-offset: 3px; }
.gmrs-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.15rem; border: 1px solid #2f87f6; border-radius: 9px; background: #2f87f6; color: #fff; text-decoration: none; font-weight: 650; }
.gmrs-button:hover { background: #58a3ff; border-color: #58a3ff; color: #04101b; }
.gmrs-button.secondary { background: rgba(4,16,27,.55); color: #f1f5f8; border-color: #587897; }
.gmrs-button.secondary:hover { background: #132538; color: #fff; }
.pathways-wrap { position: relative; z-index: 5; width: min(1376px,calc(100% - 2.5rem)); margin: -48px auto 0; }
.pathways { display: grid; grid-template-columns: repeat(5,1fr); gap: .8rem; }
.pathway-card { min-height: 178px; display: flex; flex-direction: column; padding: 1.4rem 1.35rem 1.25rem; border: 1px solid #2b4258; border-radius: 14px; background: linear-gradient(145deg,#14273a,#0e1c2b); color: #f1f5f8; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.16); transition: transform .18s ease,border-color .18s ease,background-color .18s ease; }
.pathway-card:hover { transform: translateY(-2px); border-color: #4a6d8d; background: #162b40; color: #f1f5f8; }
.pathway-icon { width: 29px; height: 29px; display: block; color: #58a3ff; line-height: 1; }
.pathway-icon svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pathway-build .pathway-icon { color: #54c982; }
.pathway-plan .pathway-icon { color: #e9b44c; }
.pathway-shop .pathway-icon { color: #b58ae2; }
.pathway-consult .pathway-icon { color: #43c7d9; }
.pathway-card h2 { font-size: 1.25rem; margin: .72rem 0 .28rem; }
.pathway-card p { margin: 0; color: #a9b6c5; font-size: .9rem; line-height: 1.5; }
.pathway-arrow { margin-top: auto; padding-top: .45rem; align-self: end; font-size: 1.25rem; line-height: 1; }
.pathways-wrap + .section { padding-top: clamp(2.75rem,4.5vw,4rem); }
.section { padding: clamp(4rem,7vw,6.5rem) max(1.25rem,4vw); }
.section.alt { background: #0b1724; }
.section.deep { background: #04101b; }
.section-inner { width: min(1376px,100%); margin: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.75rem,3vw,2.25rem); }
.section-heading p { max-width: 620px; margin: .5rem 0 0; color: #a9b6c5; }
.text-link { font-size: .9rem; white-space: nowrap; }
.learning-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.resource-card, .category-card, .goal-link, .content-card { border: 1px solid #24384c; border-radius: 14px; background: #101e2d; }
.resource-card { overflow: hidden; }
.resource-thumb { min-height: 120px; background: linear-gradient(135deg,#132538,#1b4160); display: grid; place-items: center; color: #7baeea; font-size: 2rem; }
.resource-thumb img { display: block; width: 100%; height: 120px; object-fit: cover; object-position: center; }
.resource-body { padding: 1.2rem; }
.resource-meta { display: flex; gap: .55rem; flex-wrap: wrap; color: #7f91a5; font-size: .78rem; }
.resource-card h3 { margin: .55rem 0 .35rem; font-size: 1.08rem; }
.resource-card a { color: #f1f5f8; text-decoration: none; }
.resource-card a:hover { color: #58a3ff; }
.resource-card-featured { display: block; color: #f1f5f8; text-decoration: none; }
.resource-card-featured:hover h3 { color: #58a3ff; }
.resource-card-featured:focus-visible { outline: 3px solid #58a3ff; outline-offset: 3px; }
.resource-description { margin: .4rem 0 0; color: #a9b6c5; font-size: .86rem; line-height: 1.5; }
.goal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .85rem; }
.goal-link { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.15rem; color: #f1f5f8; text-decoration: none; }
.goal-link:hover { background: #132538; color: #fff; border-color: #42617e; }
.spotlight { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 360px; overflow: hidden; border: 1px solid #24384c; border-radius: 16px; background: #101e2d; }
.spotlight-copy { padding: clamp(2rem,5vw,4rem); align-self: center; }
.spotlight-copy h2 { margin: .3rem 0 1rem; font-size: clamp(2rem,4vw,3.2rem); }
.spotlight-copy p { color: #a9b6c5; }
.spotlight-visual { min-height: 300px; background: radial-gradient(circle at 68% 38%,rgba(88,163,255,.28),transparent 5%),linear-gradient(145deg,rgba(47,135,246,.14),rgba(4,16,27,.75)),repeating-linear-gradient(90deg,transparent 0 59px,rgba(150,180,210,.08) 60px),repeating-linear-gradient(0deg,transparent 0 59px,rgba(150,180,210,.08) 60px),#132538; }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .85rem; }
.category-card { min-height: 120px; display: flex; flex-direction: column; justify-content: end; padding: 1.2rem; color: #f1f5f8; text-decoration: none; background: linear-gradient(145deg,#132538,#0e1b28); }
.category-card span { color: #58a3ff; font-size: .8rem; margin-top: .4rem; }
.category-card:hover { border-color: #58a3ff; color: #fff; }
.principles { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; border: 1px solid #24384c; border-radius: 14px; overflow: hidden; background: #24384c; }
.principle { padding: 1.5rem; background: #07111d; }
.principle h3 { margin: 0 0 .35rem; font-size: .98rem; }
.principle p { margin: 0; color: #7f91a5; font-size: .82rem; line-height: 1.5; }
.site-footer { background: #04101b; border-top: 1px solid #24384c; }
.newsletter { padding: 2rem max(1.25rem,4vw); border-bottom: 1px solid var(--gmrs-divider); }
.newsletter-inner { width: min(1376px,100%); margin: auto; display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.newsletter h2 { margin: 0; font-size: 1.2rem; }
.newsletter p { margin: .25rem 0 0; color: #a9b6c5; font-size: .9rem; }
.newsletter-note { padding: .75rem 1rem; border: 1px solid #24384c; border-radius: 9px; color: #a9b6c5; font-size: .85rem; }
.footer-inner { width: min(1376px,calc(100% - 2.5rem)); margin: auto; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4,1fr); gap: 2rem; }
.footer-brand p { color: #7f91a5; font-size: .9rem; max-width: 260px; }
.footer-col h2 { font-size: .9rem; margin: 0 0 .8rem; }
.footer-col a { display: block; color: #a9b6c5; text-decoration: none; font-size: .85rem; padding: .28rem 0; }
.footer-col a:hover { color: #58a3ff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gmrs-divider); color: #7f91a5; font-size: .78rem; }
.page-shell { width: min(1376px,calc(100% - 2.5rem)); margin: auto; padding: clamp(3.5rem,7vw,7rem) 0; }
.page-hero { padding: clamp(3.5rem,7vw,6rem) max(1.25rem,4vw); background: radial-gradient(circle at 80% 0,rgba(47,135,246,.15),transparent 34%),#0b1724; border-bottom: 1px solid #24384c; }
.page-hero-inner { width: min(1376px,100%); margin: auto; }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.3rem,5vw,3.25rem); }
.page-hero p { max-width: 760px; color: #a9b6c5; }
.content-card { padding: clamp(1.5rem,3vw,2.5rem); }
.placeholder-note { border-left: 3px solid #e9b44c; padding: 1rem 1.2rem; background: rgba(233,180,76,.08); color: #d7c492; border-radius: 0 10px 10px 0; }
.education-search { display: flex; gap: .6rem; margin: 2rem 0; }
.education-search input { flex: 1; min-height: 56px; padding: 0 1rem; background: #07111d; border: 1px solid #42617e; border-radius: 9px; color: #f1f5f8; font: inherit; }
.filter-row { display: flex; gap: .65rem; flex-wrap: wrap; margin: 1.5rem 0; }
.filter-chip { padding: .55rem .85rem; border: 1px solid #24384c; border-radius: 999px; color: #a9b6c5; background: #101e2d; }
.article-layout { width: min(1180px,calc(100% - 2.5rem)); margin: auto; padding: 4rem 0 6rem; }
.article-main { min-width: 0; }
.breadcrumbs { color: #7f91a5; font-size: .85rem; margin-bottom: 2rem; }
.article-meta { color: #a9b6c5; font-size: .9rem; }
.article-summary { font-size: 1.2rem; color: #c9d2dc; border-left: 3px solid #2f87f6; padding-left: 1.25rem; }
.article-main :where(h2,h3) { scroll-margin-top: 110px; }
.article-main table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-main th,.article-main td { padding: .7rem; border: 1px solid #24384c; white-space: nowrap; }
.gmrs-basics-article > .content { padding: 3rem 0; border-top: 1px solid var(--gmrs-divider); }
.gmrs-basics-article .section-tag { margin: 0 0 .6rem; color: #58a3ff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gmrs-basics-article .lead-text { color: #c9d2dc; font-size: 1.08rem; line-height: 1.65; }
.gmrs-basics-article :where(.cols2,.cols-equal,.cards3,.cards4,.steps,.cheat-grid) { display: grid; gap: 1rem; margin: 1.5rem 0; }
.gmrs-basics-article :where(.cols2,.cols-equal) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.gmrs-basics-article .cards3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.gmrs-basics-article .cards4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.gmrs-basics-article :where(.steps,.cheat-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.gmrs-basics-article :where(.panel,.stat,.step,.cheat-item) { padding: 1.15rem; border: 1px solid #24384c; border-radius: 12px; background: #101e2d; }
.gmrs-basics-article :where(.panel,.stat,.step,.cheat-item) p:last-child { margin-bottom: 0; }
.gmrs-basics-article .panel-title { color: #f1f5f8; font-weight: 700; }
.gmrs-basics-article .num p { margin: 0; color: #58a3ff; font-size: 1.45rem; font-weight: 700; }
.gmrs-basics-article .label p,.gmrs-basics-article .k p { margin: .25rem 0 0; color: #7f91a5; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.gmrs-basics-article .meta-row { display: flex; gap: .75rem 1.25rem; flex-wrap: wrap; color: #7f91a5; font-size: .85rem; }
.gmrs-basics-article .meta-row p { margin: 0; }
.gmrs-basics-article .range-row { margin: 1rem 0; }
.gmrs-basics-article .range-bar { height: 8px; overflow: hidden; border-radius: 99px; background: #132538; }
.gmrs-basics-article .range-fill { height: 100%; border-radius: inherit; background: #2f87f6; }
.gmrs-basics-article .w25 { width: 25%; }.gmrs-basics-article .w48 { width: 48%; }.gmrs-basics-article .w72 { width: 72%; }.gmrs-basics-article .w100 { width: 100%; }
.gmrs-basics-article .badge { display: block; margin-top: .25rem; color: #a9b6c5; font-size: .72rem; }
.gmrs-basics-article .plain-example { margin: 1.5rem 0; padding: 1rem 1.2rem; border: 1px solid #24384c; border-radius: 10px; background: #101e2d; }
.gmrs-basics-article .transmission p { margin: .4rem 0; }
.gmrs-guide-sources { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gmrs-divider); }
.gmrs-guide-sources a { overflow-wrap: anywhere; }
.callout { padding: 1.2rem 1.3rem; margin: 2rem 0; border: 1px solid #24384c; border-left-width: 4px; border-radius: 10px; background: #101e2d; }
.callout h3 { margin: 0 0 .4rem; font-size: 1rem; }
.callout p:last-child { margin-bottom: 0; }
.callout.technical { border-left-color: #43c7d9; }
.callout.beginner { border-left-color: #54c982; }
.callout.warning { border-left-color: #e07178; }
.callout.regulatory { border-left-color: #e9b44c; }
.callout.why { border-left-color: #2f87f6; }
.callout.mistake { border-left-color: #b58ae2; }
/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { color: #7f91a5; }
.woocommerce .woocommerce-breadcrumb a { color: #a9b6c5; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.woocommerce ul.products::before,.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none!important; width: auto!important; margin: 0!important; padding: 1rem; background: #101e2d; border: 1px solid #24384c; border-radius: 14px; }
.woocommerce ul.products li.product a img { border-radius: 9px; background: #f1f5f8; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: #f1f5f8; font-size: 1.05rem; }
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price { color: #58a3ff; }
.woocommerce span.onsale { min-width: auto; min-height: auto; padding: .3rem .55rem; line-height: 1.2; border-radius: 7px; background: #2f6e55; }
.woocommerce :where(.button,button.button,input.button,.wc-block-components-button) { border-radius: 9px!important; background: #2f87f6!important; color: #fff!important; font-weight: 650!important; }
.woocommerce :where(.button,button.button,input.button,.wc-block-components-button):hover { background: #58a3ff!important; color: #04101b!important; }
.woocommerce div.product { padding-top: 2rem; }
.woocommerce div.product div.images img { border-radius: 14px; background: #f1f5f8; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: #24384c; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: #101e2d; border-color: #24384c; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #132538; color: #f1f5f8; }
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner { background: #101e2d!important; color: #f1f5f8!important; border-color: #2f87f6!important; border-radius: 9px; }
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce select,.woocommerce .quantity .qty,.wc-block-components-text-input input,.wc-blocks-components-select__select { background: #0b1724!important; color: #f1f5f8!important; border: 1px solid #42617e!important; border-radius: 9px!important; min-height: 46px; }
.woocommerce table.shop_table,.wc-block-cart-items,.wc-block-components-totals-wrapper { border-color: #24384c!important; background: #101e2d; border-radius: 12px; }
.woocommerce table.shop_table th,.woocommerce table.shop_table td,.wc-block-cart-items td { border-color: #24384c!important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: .7rem 1rem; border-bottom: 1px solid #24384c; text-decoration: none; }
.woocommerce-account .woocommerce > .u-columns.col2-set { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.woocommerce-account .woocommerce > .u-columns.col2-set::before,.woocommerce-account .woocommerce > .u-columns.col2-set::after { display: none; }
.woocommerce-account .woocommerce > .u-columns.col2-set > .u-column1,.woocommerce-account .woocommerce > .u-columns.col2-set > .u-column2 { float: none; width: auto; padding: clamp(1.35rem,3vw,2rem); border: 1px solid #2b4258; border-radius: 14px; background: #101e2d; }
.woocommerce-account .woocommerce > .u-columns.col2-set h2 { margin-top: 0; font-size: clamp(1.55rem,2.4vw,2rem); }
.woocommerce-account .woocommerce form.login,.woocommerce-account .woocommerce form.register { min-height: 100%; margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; }
.woocommerce-account .woocommerce form.login .form-row:last-child,.woocommerce-account .woocommerce form.register .form-row:last-child { margin-top: auto; padding-top: .75rem; }
.gmrs-account-intro { margin: 0 0 1.25rem; color: #a9b6c5; font-size: .95rem; line-height: 1.55; }
@media (max-width:1100px) {
  .header-inner { grid-template-columns: minmax(0,1fr) auto; }
  .main-nav,.header-tools .tool-label { display: none; }
  .mobile-menu { display: block; }
  .pathways { grid-template-columns: repeat(3,1fr); }
  .learning-grid,.goal-grid { grid-template-columns: repeat(2,1fr); }
  .category-grid { grid-template-columns: repeat(3,1fr); }
  .principles { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: repeat(3,1fr); }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width:782px) {
  body.admin-bar .site-header { top: 46px; }
  .hero { min-height: 610px; }
  .hero-slide { background-position: var(--hero-position-mobile,var(--hero-position,center)); }
  .hero-content { padding-top: 7rem; }
  .pathways-wrap { margin-top: 1.5rem; }
  .pathways { grid-template-columns: repeat(2,1fr); }
  .pathway-card:first-child,.pathway-card:nth-child(4) { border-color: #42617e; }
  .learning-grid,.goal-grid,.category-grid { grid-template-columns: repeat(2,1fr); }
  .spotlight { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .gmrs-basics-article .cards3,.gmrs-basics-article .cards4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .newsletter-inner,.footer-bottom { align-items: flex-start; flex-direction: column; }
  .woocommerce-account .woocommerce > .u-columns.col2-set { grid-template-columns: 1fr; }
}
@media (max-width:520px) {
  body.admin-bar .site-header { top: 0; }
  .header-inner { padding-inline: 1rem; gap: .5rem; }
  .brand-mark { width: 54px; height: 48px; }
  .brand-mark img { width: 54px; }
  .brand-name { font-size: 1.05rem; }
  .brand-tagline { display: none; }
  .header-tools { gap: .25rem; }
  .tool-link.account-link,.tool-link.cart-link { display: none; }
  .hero { min-height: 630px; }
  .hero-shade { background: linear-gradient(90deg,rgba(4,16,27,.96),rgba(4,16,27,.55)),linear-gradient(0deg,#07111d,transparent 58%); }
  .hero-content { width: calc(100% - 2rem); padding-top: 5.5rem; }
  .button-row { flex-direction: column; align-items: stretch; }
  .gmrsworld-hero-cta { align-items: stretch; gap: 1rem; }
  .pathways-wrap { width: calc(100% - 2rem); margin-top: 1rem; }
  .pathways,.learning-grid,.goal-grid,.category-grid,.principles,.footer-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: 155px; }
  .section { padding-inline: 1rem; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .page-shell,.article-layout,.footer-inner { width: calc(100% - 2rem); }
  .education-search { flex-direction: column; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .woocommerce table.shop_table_responsive tr td::before { color: #a9b6c5; }
  .gmrs-basics-article :where(.cols2,.cols-equal,.cards3,.cards4,.steps,.cheat-grid) { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
  .hero-slide { transform: none!important; }
  .hero-slide:not(:first-child) { display: none; }
}
/* =========================================================
   AMAZON EXTERNAL-PRODUCT IMAGE BUTTONS

   Applies only when:
   1. WooCommerce identifies the link as an external product.
   2. The destination is Amazon or amzn.to.

   Simple and variable products sold directly by GMRSWorld
   remain completely unaffected.
   ========================================================= */


/* ---------------------------------------------------------
   SHARED AMAZON BUTTON APPEARANCE
   --------------------------------------------------------- */

body.single-product.product-type-external
a.single_add_to_cart_button[href*="amazon."],

body.single-product.product-type-external
a.single_add_to_cart_button[href*="amzn.to"],

a.button.product_type_external[href*="amazon."],

a.button.product_type_external[href*="amzn.to"] {
	display: inline-block;

	padding: 0 !important;
	border: 0 !important;
	border-radius: 14px;

	background-color: transparent !important;
	background-image: url("../images/commerce/buy-now-on-amazon.png") !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;

	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-indent: -9999px;

	box-shadow: none !important;
	overflow: hidden;
	vertical-align: middle;

	transition:
		transform 160ms ease,
		filter 160ms ease;
}


/* ---------------------------------------------------------
   SINGLE PRODUCT PAGE
   --------------------------------------------------------- */

body.single-product.product-type-external
a.single_add_to_cart_button[href*="amazon."],

body.single-product.product-type-external
a.single_add_to_cart_button[href*="amzn.to"] {
	width: min(240px, 60%);
	aspect-ratio: 3.2 / 1;
}


/* ---------------------------------------------------------
   SHOP AND PRODUCT CATEGORY CARDS
   --------------------------------------------------------- */

a.button.product_type_external[href*="amazon."],

a.button.product_type_external[href*="amzn.to"] {
    display: block;
	width: max(150px, 15%);
	aspect-ratio: 3.2 / 1;
	margin: 0 auto 1rem !important;
}


/* ---------------------------------------------------------
   INTERACTION STATES
   --------------------------------------------------------- */

body.single-product.product-type-external
a.single_add_to_cart_button[href*="amazon."]:hover,

body.single-product.product-type-external
a.single_add_to_cart_button[href*="amzn.to"]:hover,

a.button.product_type_external[href*="amazon."]:hover,

a.button.product_type_external[href*="amzn.to"]:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
}


body.single-product.product-type-external
a.single_add_to_cart_button[href*="amazon."]:focus-visible,

body.single-product.product-type-external
a.single_add_to_cart_button[href*="amzn.to"]:focus-visible,

a.button.product_type_external[href*="amazon."]:focus-visible,

a.button.product_type_external[href*="amzn.to"]:focus-visible {
	outline: 3px solid #58a3ff;
	outline-offset: 4px;
}

/* ---------------------------------------------------------
   REDUCED-MOTION ACCESSIBILITY
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	body.single-product.product-type-external
	a.single_add_to_cart_button,

	a.button.product_type_external {
		transition: none;
	}
}
