/*
Theme Name: GearInStock Kadence Child
Theme URI: https://www.gearinstock.com/
Description: Kadence child theme for GearInStock tracker-style layouts and visual refinements.
Author: GearInStock
Author URI: https://www.gearinstock.com/
Template: kadence
Version: 0.2.1
Text Domain: gearinstock-kadence-child
*/

/* =========================================================
   GearInStock Phase 1 — Base Visual System + Layout Cleanup
   ========================================================= */

:root {
    --gis-blue: #0ea5e9;
    --gis-blue-dark: #0369a1;
    --gis-orange: #f97316;
    --gis-orange-dark: #ea580c;
    --gis-green: #10b981;
    --gis-purple: #8b5cf6;
    --gis-ink: #0f172a;
    --gis-muted: #64748b;
    --gis-soft: #f8fafc;
    --gis-soft-blue: #eff6ff;
    --gis-border: #e2e8f0;
    --gis-card: #ffffff;
    --gis-shadow: 0 12px 35px rgba(15, 23, 42, .08);
    --gis-radius: 16px;
    --gis-radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body.wp-theme-kadence {
    background:
        radial-gradient(circle at 8% 5%, rgba(14, 165, 233, .08), transparent 28rem),
        radial-gradient(circle at 92% 10%, rgba(249, 115, 22, .07), transparent 26rem),
        #f8fafc;
    color: var(--gis-ink);
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

body.wp-theme-kadence a {
    color: var(--gis-blue-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.wp-theme-kadence a:hover {
    color: var(--gis-orange-dark);
}

/* =========================================================
   Header cleanup
   ========================================================= */

.site-header {
    border-bottom: 1px solid rgba(226, 232, 240, .95);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .05);
}

.site-main-header-wrap .site-container {
    max-width: 1180px;
}

.site-branding .site-title {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 850;
    letter-spacing: -.03em;
    color: var(--gis-ink);
}

.site-branding .site-title::after {
    content: LIVE;
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(16, 185, 129, .12);
    color: #047857;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    vertical-align: middle;
}

.main-navigation .primary-menu-container > ul > li > a {
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 14px;
    font-weight: 650;
    color: #334155;
}

.main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.main-navigation .primary-menu-container > ul > li > a:hover {
    background: var(--gis-soft-blue);
    color: var(--gis-blue-dark);
}

/* =========================================================
   Global content layout
   ========================================================= */

.site-container,
.content-container.site-container {
    max-width: 1180px;
}

.content-bg,
.entry.content-bg {
    background: var(--gis-card);
    border: 1px solid var(--gis-border);
    border-radius: var(--gis-radius);
    box-shadow: var(--gis-shadow);
}

.content-vertical-padding-show .site-main {
    padding-top: 30px;
    padding-bottom: 48px;
}

.entry-content-wrap {
    padding: clamp(20px, 3vw, 34px);
}

.entry-taxonomies a,
.category-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--gis-soft-blue);
    color: var(--gis-blue-dark) !important;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .01em;
    text-decoration: none !important;
}

.entry-taxonomies a::before,
.category-links a::before {
    content: ;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--gis-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .14);
}

.entry-title,
.entry-title a {
    color: var(--gis-ink) !important;
    letter-spacing: -.025em;
    line-height: 1.18;
}

.entry-meta {
    color: var(--gis-muted);
    font-size: 12.5px;
}

.entry-meta a {
    color: var(--gis-muted);
    text-decoration: none;
}

/* Remove old-blog visual noise. If widgets appear later, these stay hidden. */
.widget_meta,
.widget_archive,
.widget_recent_comments,
.widget_pages {
    display: none !important;
}

/* =========================================================
   Homepage / archive cards
   ========================================================= */

.home #archive-container,
.blog #archive-container,
.archive #archive-container {
    gap: 22px;
}

.home .loop-entry,
.blog .loop-entry,
.archive .loop-entry {
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home .loop-entry:hover,
.blog .loop-entry:hover,
.archive .loop-entry:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, .45);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

.home .loop-entry .entry-title,
.blog .loop-entry .entry-title,
.archive .loop-entry .entry-title {
    font-size: clamp(18px, 2vw, 22px);
    margin-top: 10px;
}

.home .loop-entry .entry-summary,
.blog .loop-entry .entry-summary,
.archive .loop-entry .entry-summary {
    color: #475569;
    font-size: 14.5px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--gis-radius-sm);
    background: linear-gradient(135deg, var(--gis-blue), var(--gis-blue-dark));
    color: #fff !important;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(14, 165, 233, .22);
}

.post-more-link:hover {
    background: linear-gradient(135deg, var(--gis-orange), var(--gis-orange-dark));
    color: #fff !important;
}

/* =========================================================
   Single tracker article cleanup
   ========================================================= */

.single-post .content-container.site-container {
    max-width: 1040px;
}

.single-post .single-entry {
    overflow: hidden;
}

.single-post .entry-header {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gis-border);
    margin-bottom: 22px;
}

.single-post .entry-title {
    font-size: clamp(28px, 4vw, 44px);
    max-width: 920px;
}

.single-content {
    font-size: 17px;
    line-height: 1.75;
    color: #27364a;
}

.single-content > p:first-of-type img,
.single-content img.aligncenter {
    border-radius: var(--gis-radius);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .10);
}

.single-content h2,
.single-content h3 {
    color: var(--gis-ink);
    letter-spacing: -.02em;
    margin-top: 1.6em;
}

/* Modernize existing retailer/product tables without changing content. */
.single-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--gis-border);
    border-radius: var(--gis-radius);
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.single-content table th,
.single-content table td {
    border: 0 !important;
    border-bottom: 1px solid var(--gis-border) !important;
    padding: 12px 14px;
    vertical-align: middle;
}

.single-content table tr:last-child td {
    border-bottom: 0 !important;
}

.single-content table th {
    background: #f1f5f9;
    color: #334155;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.single-content table a {
    font-weight: 750;
}

/* =========================================================
   Footer cleanup
   ========================================================= */

.site-footer {
    border-top: 1px solid var(--gis-border);
    background: #0f172a;
    color: #cbd5e1;
}

.site-footer a {
    color: #e0f2fe;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 767px) {
    .content-vertical-padding-show .site-main {
        padding-top: 18px;
    }

    .entry-content-wrap {
        padding: 18px;
    }

    .single-post .entry-title {
        font-size: 28px;
    }

    .single-content {
        font-size: 16px;
    }

    .single-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-branding .site-title::after {
        display: none;
    }
}

/* =========================================================
   Header/Footer tracker structure
   ========================================================= */

.site-branding .site-title::after {
    content: "LIVE";
}

.gis-tracker-bar {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #0f172a 0%, #12325c 50%, #0b4a6f 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
}

.gis-tracker-bar__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto auto;
    align-items: center;
    gap: 14px;
}

.gis-tracker-bar__intro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.78);
}

.gis-tracker-bar__status {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
    animation: gis-header-pulse 2s ease-in-out infinite;
}

@keyframes gis-header-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.gis-tracker-search {
    display: flex;
    align-items: stretch;
    min-width: 0;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 4px;
    backdrop-filter: blur(10px);
}

.gis-tracker-search input {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    padding: 8px 12px 8px 16px !important;
    font-size: 14px;
    outline: none;
    box-shadow: none !important;
}

.gis-tracker-search input::placeholder {
    color: rgba(255,255,255,.54);
}

.gis-tracker-search button,
.gis-submit-product,
.gis-footer-search button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gis-orange), var(--gis-orange-dark));
    color: #fff !important;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(249, 115, 22, .24);
}

.gis-tracker-search button {
    padding: 8px 16px;
}

.gis-submit-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
}

.gis-quick-cats {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.gis-quick-cats a {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    color: rgba(255,255,255,.82) !important;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.11);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
}

.gis-quick-cats a:hover {
    background: rgba(255,255,255,.16);
    color: #fff !important;
}

.gis-site-footer {
    background:
        radial-gradient(circle at 10% 0%, rgba(14,165,233,.18), transparent 28rem),
        #0f172a;
    color: #cbd5e1;
    margin-top: 48px;
}

.gis-site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 24px 30px;
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) 1fr 1fr;
    gap: 34px;
}

.gis-footer-brand__name {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -.035em;
}

.gis-footer-brand p {
    max-width: 420px;
    color: #94a3b8;
    margin: 10px 0 18px;
    line-height: 1.6;
}

.gis-footer-search {
    display: flex;
    max-width: 420px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 4px;
}

.gis-footer-search input {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    padding: 9px 12px 9px 16px !important;
    outline: none;
    box-shadow: none !important;
}

.gis-footer-search input::placeholder {
    color: rgba(255,255,255,.45);
}

.gis-footer-search button {
    padding: 9px 15px;
}

.gis-footer-col h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.gis-footer-col a {
    display: block;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    padding: 5px 0;
    font-size: 14px;
}

.gis-footer-col a:hover {
    color: #7dd3fc !important;
}

.gis-site-footer__bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 24px 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #94a3b8;
    font-size: 12.5px;
}

/* Hide the mostly empty default Kadence footer copyright area after custom footer. */
.site-footer {
    margin-top: 0;
}

@media (max-width: 980px) {
    .gis-tracker-bar__inner {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gis-quick-cats {
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .gis-submit-product {
        justify-self: start;
    }

    .gis-site-footer__inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .gis-site-footer__bottom {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .gis-tracker-bar__inner {
        padding: 12px 16px;
    }

    .gis-tracker-bar__intro {
        font-size: 11px;
    }

    .gis-tracker-search {
        border-radius: 14px;
    }

    .gis-tracker-search input {
        padding-left: 10px !important;
        font-size: 13px;
    }

    .gis-tracker-search button {
        padding-inline: 12px;
    }
}

/* =========================================================
   Fix tracker bar overflow on article pages
   ========================================================= */
.gis-tracker-bar {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.gis-tracker-bar__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    min-width: 0;
}

.gis-tracker-bar__intro,
.gis-tracker-search,
.gis-quick-cats,
.gis-submit-product {
    min-width: 0;
}

.gis-tracker-search input {
    min-width: 0;
}

.gis-quick-cats {
    flex-wrap: wrap;
    white-space: normal;
}

@media (max-width: 1180px) {
    .gis-tracker-bar__inner {
        grid-template-columns: auto minmax(220px, 1fr) auto;
        grid-template-areas:
            intro search submit
            cats cats cats;
    }
    .gis-tracker-bar__intro { grid-area: intro; }
    .gis-tracker-search { grid-area: search; }
    .gis-quick-cats { grid-area: cats; }
    .gis-submit-product { grid-area: submit; }
}

@media (max-width: 720px) {
    .gis-tracker-bar__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            intro
            search
            cats
            submit;
    }
    .gis-submit-product {
        justify-self: stretch;
        width: 100%;
    }
    .gis-quick-cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* =========================================================
   Homepage Dashboard
   ========================================================= */

.gis-home-dashboard {
    max-width: 1180px;
    margin: 0 auto 30px;
    padding: 28px 24px 0;
}

.gis-home-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 10% 10%, rgba(14, 165, 233, .35), transparent 28rem),
        radial-gradient(circle at 86% 18%, rgba(249, 115, 22, .28), transparent 24rem),
        linear-gradient(145deg, #0f172a 0%, #10284c 55%, #0b3b56 100%);
    color: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.gis-home-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -35% 42%;
    height: 70%;
    background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%);
    filter: blur(28px);
    pointer-events: none;
}

.gis-home-hero__content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding: clamp(34px, 6vw, 72px);
}

.gis-home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gis-home-hero__pulse {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,.55);
    animation: gis-header-pulse 2s ease-in-out infinite;
}

.gis-home-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 6vw, 68px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 900;
}

.gis-home-hero__text {
    max-width: 620px;
    margin: 18px 0 26px;
    color: rgba(255,255,255,.72);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
}

.gis-home-search {
    display: flex;
    align-items: stretch;
    max-width: 680px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
}

.gis-home-search input {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    padding: 13px 16px !important;
    outline: none;
    box-shadow: none !important;
    font-size: 15px;
}

.gis-home-search input::placeholder {
    color: rgba(255,255,255,.52);
}

.gis-home-search button {
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--gis-orange), var(--gis-orange-dark));
    color: #fff;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(249, 115, 22, .28);
}

.gis-home-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.gis-home-stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.13);
    color: rgba(255,255,255,.74);
    font-size: 13px;
}

.gis-home-stats strong {
    color: #fff;
    font-weight: 900;
}

.gis-dashboard-section,
.gis-latest-heading {
    margin-top: 34px;
}

.gis-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.gis-section-kicker {
    margin: 0 0 3px;
    color: var(--gis-blue-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gis-section-head h2,
.gis-latest-heading h2 {
    margin: 0;
    color: var(--gis-ink);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -.035em;
    font-weight: 900;
}

.gis-section-head > a {
    color: var(--gis-blue-dark);
    font-weight: 800;
    text-decoration: none;
}

.gis-cat-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gis-cat-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 132px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--gis-border);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.gis-cat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(14,165,233,.5);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .1);
}

.gis-cat-card__badge {
    align-self: flex-start;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--gis-soft-blue);
    color: var(--gis-blue-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gis-cat-card strong {
    color: var(--gis-ink);
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -.025em;
}

.gis-cat-card span:last-child {
    margin-top: auto;
    color: var(--gis-muted);
    font-size: 13px;
}

.gis-recent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gis-recent-card {
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--gis-border);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.gis-recent-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--gis-muted);
    font-size: 12px;
    font-weight: 700;
}

.gis-recent-card__meta span {
    color: var(--gis-blue-dark);
}

.gis-recent-card h3 {
    margin: 10px 0 14px;
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.gis-recent-card h3 a {
    color: var(--gis-ink) !important;
    text-decoration: none !important;
}

.gis-recent-card__link {
    color: var(--gis-orange-dark) !important;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none !important;
}

.gis-latest-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gis-border);
}

.home #archive-container,
.blog #archive-container {
    margin-top: 22px;
}

@media (max-width: 900px) {
    .gis-cat-cards,
    .gis-recent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .gis-home-dashboard {
        padding: 18px 16px 0;
    }

    .gis-home-hero__content {
        padding: 30px 20px;
    }

    .gis-home-search {
        border-radius: 18px;
        flex-direction: column;
    }

    .gis-home-search button {
        width: 100%;
    }

    .gis-cat-cards,
    .gis-recent-grid {
        grid-template-columns: 1fr;
    }

    .gis-section-head,
    .gis-latest-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Hide the default post loop on the homepage dashboard. */
.home #archive-container {
    display: none;
}

/* Hide leftover homepage pagination after removing the default post loop. */
.home .pagination,
.home .navigation.pagination,
.home .post-navigation,
.home .page-numbers {
    display: none;
}

/* Hide the utility tracker bar on the homepage dashboard. */
.home .gis-tracker-bar {
    display: none;
}

/* Tighten the homepage gap between the header and dashboard hero. */
.home #primary.content-area,
.home .content-container.site-container,
.home #main.site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.home .gis-home-dashboard {
    padding-top: 14px;
}

/* Make the Amazon Associate disclosure explicit in the custom footer. */
.gis-amazon-disclosure {
    max-width: 620px;
    padding: 10px 14px;
    border: 1px solid rgba(251, 191, 36, .34);
    border-radius: 12px;
    background: rgba(251, 191, 36, .1);
    color: #fde68a;
    line-height: 1.45;
}

.gis-amazon-disclosure strong {
    color: #fff7ed;
    font-weight: 900;
}

/* Keep Amazon Associate disclosure on one line on desktop. */
.gis-amazon-disclosure {
    max-width: none;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .gis-amazon-disclosure {
        white-space: normal;
    }
}

/* Footer cleanup: use the custom tracker footer only. */
.gis-site-footer__bottom {
    padding: 18px 24px 24px;
    display: grid;
    grid-template-columns: max-content minmax(0, auto);
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.gis-footer-copyright {
    white-space: nowrap;
}

.site-footer {
    display: none !important;
    margin-top: 0;
}

@media (max-width: 980px) {
    .gis-site-footer__bottom {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
}
