/* ==========================================================================
   IGT Affiliate — Design System
   Brand: #00A86B jade | #1B2D3A navy | #00D4AA teal | Inter typography
   ========================================================================== */

:root {
    --igt-primary: #00A86B;
    --igt-primary-dark: #008C5A;
    --igt-primary-light: #2FC088;
    --igt-secondary: #1B2D3A;
    --igt-secondary-deep: #0D1B2A;
    --igt-accent: #00D4AA;
    --igt-ink: #2D3E50;
    --igt-text: #1B2D3A;
    --igt-muted: #5A6B7B;
    --igt-faint: #8A9BAD;
    --igt-hairline: #E8ECF0;
    --igt-surface: #FAFBFC;
    --igt-surface-alt: #F3F6F9;
    --igt-white: #FFFFFF;
    --igt-success-bg: #F0FFF8;
    --igt-danger: #D94F4F;
    --igt-danger-bg: #FFF5F5;
    --igt-warning: #F59E0B;
    --igt-warning-bg: #FFFBEB;
    --igt-star: #F6B900;

    --igt-radius-sm: 6px;
    --igt-radius: 12px;
    --igt-radius-lg: 16px;
    --igt-shadow-sm: 0 2px 6px rgba(27,45,58,0.05);
    --igt-shadow: 0 6px 24px rgba(27,45,58,0.08);
    --igt-shadow-lg: 0 12px 40px rgba(27,45,58,0.12);
    --igt-shadow-glow: 0 4px 20px rgba(0,168,107,0.4);

    --igt-container: 1200px;
    --igt-reading: 780px;

    --igt-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Global ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body,
body.wordpress,
body.generatepress {
    font-family: var(--igt-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--igt-text);
    background: var(--igt-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--igt-primary); color: #fff; }
::-moz-selection { background: var(--igt-primary); color: #fff; }

.site,
.grid-container,
.inside-header,
.inside-navigation,
.inside-content,
.inside-footer-widgets,
.inside-site-info {
    max-width: var(--igt-container);
}

h1, h2, h3, h4, h5, h6,
.site-title, .entry-title {
    font-family: var(--igt-font);
    color: var(--igt-text);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

h1, .entry-title { font-size: clamp(28px, 4vw, 36px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 28px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; }

a {
    color: var(--igt-primary);
    text-decoration: none;
    transition: color 160ms ease;
}
a:hover,
a:focus { color: var(--igt-primary-dark); }

img { max-width: 100%; height: auto; }

/* ---------- Header + Navigation ----------
   GeneratePress "nav-below-header" layout places .main-navigation as a
   SIBLING of .site-header, not a child. So the dark sticky chrome must
   style both: the branding bar and the nav bar.
*/
.site-header,
body.nav-below-header .site-header {
    background: var(--igt-secondary);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .main-title a,
.site-header .site-title a,
.site-header .site-description,
.site-header p,
.site-header a {
    color: #fff !important;
}
.site-header .site-description { color: rgba(255,255,255,0.7) !important; }

.main-navigation,
body.nav-below-header .main-navigation {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(27,45,58,0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Legacy combined selector — kept for safety on other layouts. */
body.fluid-header .site-header {
    position: sticky;
    top: 0;
    z-index: 99;
}

.site-header .inside-header,
.site-header .header-wrap,
.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 20px;
}

.site-header .site-logo img,
.site-header .header-image {
    max-height: 44px;
    width: auto;
}

.site-title a,
.site-description {
    color: #fff;
}

.site-title a {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.01em;
}

.main-navigation,
.main-navigation .inside-navigation {
    background: transparent;
}

.main-navigation .main-nav ul li a,
.main-navigation a,
.main-navigation .menu-item a,
body .main-navigation .main-nav > ul > li > a,
body .main-navigation .main-nav ul li a {
    color: #ffffff !important;
    font-family: var(--igt-font);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 14px 18px;
    position: relative;
    transition: color 160ms ease;
}

.main-navigation .main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 0;
    height: 2px;
    background: var(--igt-accent);
    transition: width 240ms ease, left 240ms ease;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation a:hover,
.main-navigation a:focus,
body .main-navigation .main-nav ul li a:hover {
    color: #00D4AA !important;
}

.main-navigation .main-nav ul li a:hover::after,
.main-navigation .main-nav ul li.current-menu-item > a::after {
    width: calc(100% - 36px);
    left: 18px;
}

/* Dropdowns */
.main-navigation .main-nav ul ul {
    background: var(--igt-secondary-deep);
    border-top: 3px solid var(--igt-primary);
    box-shadow: var(--igt-shadow);
    border-radius: 0 0 var(--igt-radius-sm) var(--igt-radius-sm);
    min-width: 240px;
    padding: 6px 0;
}

.main-navigation .main-nav ul ul li a {
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    padding: 10px 18px;
}

.main-navigation .main-nav ul ul li a:hover {
    background: rgba(0,168,107,0.15);
    color: var(--igt-accent) !important;
}

.main-navigation .main-nav ul ul li a::after { display: none; }

/* Mobile menu */
.menu-toggle,
.mobile-menu-control-wrapper button {
    color: #fff !important;
    background: transparent;
}

@media (max-width: 768px) {
    .main-navigation .main-nav ul li a {
        padding: 14px 20px;
        font-size: 15px;
    }
    .main-navigation .main-nav ul li a::after { display: none; }
    .main-navigation .main-nav ul li.current-menu-item > a,
    .main-navigation .main-nav ul li a:hover {
        background: rgba(0,168,107,0.15);
    }
}

/* ---------- Buttons ---------- */
.igt-btn,
.wp-block-button__link,
button.button,
input[type="submit"],
.main-navigation .main-nav ul li.cta a {
    display: inline-block;
    background: var(--igt-primary);
    color: #fff !important;
    padding: 12px 26px;
    border-radius: var(--igt-radius-sm);
    font-family: var(--igt-font);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 200ms ease, background 160ms ease;
}

.igt-btn:hover,
.wp-block-button__link:hover,
button.button:hover,
input[type="submit"]:hover {
    background: var(--igt-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--igt-shadow-glow);
    color: #fff !important;
}

.igt-btn--ghost {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.7);
    padding: 10px 24px;
}
.igt-btn--ghost:hover {
    background: #fff;
    color: var(--igt-secondary) !important;
    border-color: #fff;
    box-shadow: none;
}

.igt-btn--light {
    background: #fff;
    color: var(--igt-secondary) !important;
}
.igt-btn--light:hover {
    background: var(--igt-surface);
    color: var(--igt-secondary) !important;
    box-shadow: 0 4px 20px rgba(255,255,255,0.2);
}

/* ---------- Hero ---------- */
.igt-hero {
    position: relative;
    background: linear-gradient(135deg, var(--igt-secondary) 0%, var(--igt-secondary-deep) 50%, var(--igt-primary) 100%);
    color: #fff;
    padding: 96px 24px 112px;
    overflow: hidden;
    text-align: center;
}

.igt-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0,212,170,0.25) 0%, transparent 45%),
                radial-gradient(circle at 80% 80%, rgba(0,168,107,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.igt-hero__inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.igt-hero__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--igt-accent);
    padding: 6px 14px;
    border: 1px solid rgba(0,212,170,0.4);
    border-radius: 999px;
    background: rgba(0,212,170,0.08);
    margin-bottom: 20px;
}

.igt-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
}

.igt-hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255,255,255,0.82);
    margin: 0 auto 32px;
    max-width: 720px;
}

.igt-hero__cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Category Cards ---------- */
.igt-section {
    padding: 72px 20px;
    max-width: var(--igt-container);
    margin: 0 auto;
}

.igt-section__heading {
    text-align: center;
    margin-bottom: 48px;
}
.igt-section__heading h2 {
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 800;
    margin: 0 0 10px;
}
.igt-section__heading p {
    color: var(--igt-muted);
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto;
}

.igt-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.igt-card {
    background: #fff;
    border: 1px solid var(--igt-hairline);
    border-radius: var(--igt-radius);
    padding: 32px 28px;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    display: flex;
    flex-direction: column;
}

.igt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--igt-shadow-lg);
    border-color: rgba(0,168,107,0.4);
}

.igt-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--igt-primary), var(--igt-accent));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.igt-card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--igt-text);
    margin: 0 0 10px;
}

.igt-card__body {
    color: var(--igt-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
}

.igt-card__more {
    color: var(--igt-primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 180ms ease;
}
.igt-card__more:hover { transform: translateX(4px); }

@media (max-width: 1024px) {
    .igt-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .igt-cards { grid-template-columns: 1fr; }
    .igt-section { padding: 56px 18px; }
}

/* ---------- Blog Post Cards (archive/blog) ---------- */
.igt-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.igt-post-card {
    background: #fff;
    border: 1px solid var(--igt-hairline);
    border-radius: var(--igt-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.igt-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--igt-shadow);
}

.igt-post-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--igt-surface-alt);
    overflow: hidden;
}

.igt-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}
.igt-post-card:hover .igt-post-card__image img { transform: scale(1.04); }

.igt-post-card__image .igt-badge {
    position: absolute;
    top: 14px;
    left: 14px;
}

.igt-post-card__body {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--igt-primary);
}

.igt-post-card__title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px;
    color: var(--igt-text);
    transition: color 160ms ease;
}
.igt-post-card__title a { color: inherit; }
.igt-post-card__title a:hover { color: var(--igt-primary); }

.igt-post-card__excerpt {
    color: var(--igt-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.igt-post-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: var(--igt-faint);
    font-weight: 400;
}

.igt-badge {
    display: inline-block;
    background: var(--igt-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .igt-posts-grid { grid-template-columns: 1fr; }
}

/* ---------- Single Post Layout ---------- */
.single .entry-content,
.single .inside-article,
.page .inside-article {
    max-width: var(--igt-reading);
    margin: 0 auto;
}

.single .entry-header {
    max-width: var(--igt-reading);
    margin: 40px auto 24px;
    padding: 0 20px;
}

.single .entry-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
}

.single .entry-meta,
.single .igt-post-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 18px;
    background: var(--igt-surface-alt);
    border-radius: var(--igt-radius-sm);
    font-size: 14px;
    color: var(--igt-muted);
    margin-bottom: 28px;
}

.single .entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--igt-ink);
    padding: 0 20px;
}

.single .entry-content p { margin: 0 0 22px; }

.single .entry-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--igt-text);
    border-left: 4px solid var(--igt-primary);
    padding-left: 16px;
    margin: 44px 0 20px;
}

.single .entry-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--igt-text);
    margin: 36px 0 16px;
}

.single .entry-content blockquote {
    border-left: 4px solid var(--igt-accent);
    background: var(--igt-success-bg);
    padding: 18px 22px;
    margin: 28px 0;
    border-radius: 0 var(--igt-radius-sm) var(--igt-radius-sm) 0;
    color: var(--igt-ink);
    font-style: normal;
}

.single .entry-content code,
.single .entry-content kbd {
    background: var(--igt-secondary);
    color: var(--igt-accent);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.single .entry-content pre {
    background: var(--igt-secondary);
    color: var(--igt-accent);
    padding: 18px 20px;
    border-radius: var(--igt-radius-sm);
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.55;
    margin: 26px 0;
}

.single .entry-content pre code {
    background: transparent;
    padding: 0;
}

.single .entry-content img,
.single .entry-content figure img {
    border-radius: var(--igt-radius-sm);
    box-shadow: var(--igt-shadow-sm);
}

.single .entry-content a:not(.igt-btn):not(.wp-block-button__link) {
    color: var(--igt-primary);
    text-decoration: underline;
    text-decoration-color: rgba(0,168,107,0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 160ms ease;
}
.single .entry-content a:hover { text-decoration-color: var(--igt-primary); }

.single .entry-content ul,
.single .entry-content ol { padding-left: 24px; margin: 0 0 22px; }
.single .entry-content li { margin-bottom: 8px; }

/* ---------- Sidebar ---------- */
.sidebar,
#secondary {
    padding-left: 24px;
}

@media (min-width: 1024px) {
    .sidebar,
    #secondary {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

.sidebar .widget,
#secondary .widget {
    background: #fff;
    border: 1px solid var(--igt-hairline);
    border-radius: var(--igt-radius);
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: var(--igt-shadow-sm);
}

.sidebar .widget-title,
#secondary .widget-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--igt-secondary);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--igt-primary);
}

.sidebar .widget ul,
#secondary .widget ul { list-style: none; padding: 0; margin: 0; }

.sidebar .widget ul li,
#secondary .widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--igt-hairline);
    font-size: 14px;
}
.sidebar .widget ul li:last-child,
#secondary .widget ul li:last-child { border-bottom: none; }

.sidebar .widget ul li a,
#secondary .widget ul li a {
    color: var(--igt-ink);
    font-weight: 500;
}
.sidebar .widget ul li a:hover,
#secondary .widget ul li a:hover { color: var(--igt-primary); }

/* Newsletter CTA widget */
.igt-newsletter {
    background: linear-gradient(135deg, var(--igt-primary), var(--igt-accent));
    color: #fff;
    border-radius: var(--igt-radius);
    padding: 26px;
    text-align: center;
    margin-bottom: 24px;
}
.igt-newsletter h3 { color: #fff; font-size: 18px; margin: 0 0 8px; }
.igt-newsletter p { color: rgba(255,255,255,0.9); font-size: 14px; margin: 0 0 16px; }
.igt-newsletter input[type="email"] {
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--igt-radius-sm);
    border: none;
    margin-bottom: 10px;
    font-family: var(--igt-font);
    font-size: 14px;
}
.igt-newsletter button {
    width: 100%;
    background: var(--igt-secondary);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: var(--igt-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background 160ms ease;
}
.igt-newsletter button:hover { background: var(--igt-secondary-deep); }

/* ---------- Affiliate Components ---------- */
/* Comparison Table */
.igt-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    background: #fff;
    border-radius: var(--igt-radius);
    overflow: hidden;
    box-shadow: var(--igt-shadow-sm);
    border: 1px solid var(--igt-hairline);
}

.igt-comparison-table thead th {
    background: var(--igt-secondary);
    color: #fff;
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.igt-comparison-table tbody td {
    padding: 14px 16px;
    border-top: 1px solid var(--igt-hairline);
    font-size: 15px;
    color: var(--igt-ink);
}

.igt-comparison-table tbody tr:nth-child(even) { background: var(--igt-surface); }
.igt-comparison-table tbody tr:hover { background: var(--igt-success-bg); }

.igt-comparison-table .igt-check { color: var(--igt-primary); font-weight: 700; }
.igt-comparison-table .igt-x { color: var(--igt-danger); font-weight: 700; }

/* Pros / Cons */
.igt-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 28px 0;
}
.igt-pros-cons__col {
    border-radius: var(--igt-radius);
    padding: 22px 24px;
    border: 1px solid var(--igt-hairline);
}
.igt-pros-cons__pros {
    background: var(--igt-success-bg);
    border-color: rgba(0,168,107,0.3);
}
.igt-pros-cons__cons {
    background: var(--igt-danger-bg);
    border-color: rgba(217,79,79,0.25);
}
.igt-pros-cons__col h4 {
    margin: 0 0 12px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.igt-pros-cons__pros h4 { color: var(--igt-primary-dark); }
.igt-pros-cons__cons h4 { color: var(--igt-danger); }
.igt-pros-cons__col ul { list-style: none; padding: 0; margin: 0; }
.igt-pros-cons__col li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 15px;
    line-height: 1.55;
    color: var(--igt-ink);
}
.igt-pros-cons__pros li::before {
    content: '\2714';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--igt-primary);
    font-weight: 700;
}
.igt-pros-cons__cons li::before {
    content: '\2716';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--igt-danger);
    font-weight: 700;
}
@media (max-width: 640px) {
    .igt-pros-cons { grid-template-columns: 1fr; }
}

/* Verdict Box */
.igt-verdict-box {
    border: 2px solid var(--igt-primary);
    border-radius: var(--igt-radius);
    padding: 28px;
    margin: 32px 0;
    background: #fff;
    box-shadow: var(--igt-shadow);
    position: relative;
}
.igt-verdict-box__label {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--igt-primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--igt-radius-sm);
}
.igt-verdict-box__rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.igt-verdict-box__score {
    font-size: 32px;
    font-weight: 800;
    color: var(--igt-primary);
    line-height: 1;
}
.igt-verdict-box__text {
    font-size: 16px;
    color: var(--igt-ink);
    line-height: 1.65;
    margin: 14px 0 20px;
}
.igt-verdict-box .igt-btn { margin-top: 6px; }

/* Rating Stars */
.igt-rating {
    display: inline-flex;
    gap: 2px;
    font-size: 18px;
    line-height: 1;
    color: var(--igt-star);
}
.igt-rating__empty { color: var(--igt-hairline); }

/* CTA Box */
.igt-cta-box {
    background: linear-gradient(135deg, var(--igt-primary), var(--igt-accent));
    color: #fff;
    padding: 40px 32px;
    border-radius: var(--igt-radius-lg);
    text-align: center;
    margin: 40px 0;
    box-shadow: var(--igt-shadow);
}
.igt-cta-box h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.igt-cta-box p {
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 22px;
}
.igt-cta-box .igt-btn,
.igt-cta-box a.igt-btn {
    background: #fff;
    color: var(--igt-secondary) !important;
    font-weight: 700;
}
.igt-cta-box .igt-btn:hover { background: var(--igt-surface); box-shadow: 0 4px 20px rgba(255,255,255,0.3); }

/* Author Bio */
.igt-author-bio {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    background: var(--igt-surface);
    border-radius: var(--igt-radius);
    border: 1px solid var(--igt-hairline);
    margin: 32px 0;
}
.igt-author-bio__avatar {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--igt-primary), var(--igt-accent));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    overflow: hidden;
}
.igt-author-bio__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.igt-author-bio__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--igt-text);
    margin: 0 0 2px;
}
.igt-author-bio__role {
    font-size: 13px;
    color: var(--igt-muted);
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.igt-author-bio__text {
    font-size: 14px;
    color: var(--igt-ink);
    line-height: 1.55;
    margin: 0;
}

/* Disclosure */
.igt-disclosure {
    background: var(--igt-surface-alt);
    border: 1px dashed var(--igt-hairline);
    border-radius: var(--igt-radius-sm);
    padding: 12px 16px;
    font-size: 12px;
    color: var(--igt-muted);
    line-height: 1.5;
    margin: 20px 0;
}

/* Product Card */
.igt-product-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 22px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--igt-hairline);
    border-radius: var(--igt-radius);
    margin: 22px 0;
    box-shadow: var(--igt-shadow-sm);
    transition: box-shadow 220ms ease, transform 220ms ease;
}
.igt-product-card:hover { box-shadow: var(--igt-shadow); transform: translateY(-2px); }
.igt-product-card__image {
    background: var(--igt-surface);
    border-radius: var(--igt-radius-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.igt-product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.igt-product-card__name { font-size: 18px; font-weight: 700; color: var(--igt-text); margin: 0 0 6px; }
.igt-product-card__features { list-style: none; padding: 0; margin: 10px 0; font-size: 14px; color: var(--igt-ink); }
.igt-product-card__features li { padding-left: 18px; position: relative; margin-bottom: 4px; }
.igt-product-card__features li::before { content: '\2714'; position: absolute; left: 0; color: var(--igt-primary); font-weight: 700; }
.igt-product-card__price { font-weight: 700; color: var(--igt-primary); font-size: 18px; margin: 8px 0 12px; }
@media (max-width: 640px) {
    .igt-product-card { grid-template-columns: 1fr; }
    .igt-product-card__image { max-width: 200px; }
}

/* ---------- Footer ---------- */
.site-footer,
.site-info,
.footer-widgets {
    background: var(--igt-secondary);
    color: rgba(255,255,255,0.85);
    border-top: 3px solid var(--igt-primary);
}

.footer-widgets {
    padding: 56px 20px 24px;
}

.footer-widgets .inside-footer-widgets {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    max-width: var(--igt-container);
    margin: 0 auto;
}
@media (max-width: 768px) {
    .footer-widgets .inside-footer-widgets { grid-template-columns: 1fr; gap: 28px; }
}

.footer-widgets .widget-title,
.site-footer .widget-title {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
    padding-bottom: 0;
    border: none;
}

.footer-widgets .widget,
.site-footer .widget {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.65;
}

.footer-widgets .widget ul li,
.site-footer .widget ul li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0;
}

.footer-widgets .widget ul li a,
.site-footer .widget ul li a,
.site-footer a {
    color: rgba(255,255,255,0.82);
    font-weight: 400;
}

.footer-widgets .widget ul li a:hover,
.site-footer .widget ul li a:hover,
.site-footer a:hover {
    color: var(--igt-accent);
}

.site-info,
.footer-bar,
.inside-site-info {
    background: var(--igt-secondary-deep);
    padding: 18px 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    border-top: 1px solid rgba(255,255,255,0.06);
    max-width: none;
}

.inside-site-info { max-width: var(--igt-container); margin: 0 auto; }

.site-info a { color: rgba(255,255,255,0.85); }

/* Hide default GP credit once custom footer is active */
.site-info .copyright-bar .generate-credit { display: none; }

/* ---------- Content area spacing ---------- */
.entry-content > p:first-child { margin-top: 0; }

/* Page built with hero + sections should remove default content padding */
.page-template-default .entry-header.has-igt-hero { display: none; }

/* ---------- Helpers ---------- */
.igt-center { text-align: center; }
.igt-mt-0 { margin-top: 0 !important; }
.igt-mb-0 { margin-bottom: 0 !important; }
.igt-text-muted { color: var(--igt-muted); }
.igt-text-primary { color: var(--igt-primary); }

/* Accessibility: focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(0,212,170,0.55);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Mobile tap target size */
@media (max-width: 768px) {
    .main-navigation .main-nav ul li a,
    .igt-btn,
    button,
    input[type="submit"],
    .wp-block-button__link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ==========================================================================
   Front-page layout overrides
   Applied via body.igt-frontpage (added in functions.php on is_front_page()).
   Goals:
     1. Edge-to-edge hero (escape .grid-container and padded wrappers)
     2. No sidebar
     3. No "Home" H1 above the hero
     4. Clean section heading (no inherited h2 border/background)
     5. No stray <p>/<br> spacing injected between shortcodes
   ========================================================================== */

/* Hide the duplicate entry-header/page-title on the front page. */
.igt-frontpage .entry-header,
.igt-frontpage .page-header,
.igt-frontpage .page .entry-title,
.igt-frontpage .entry-title { display: none !important; }

/* Let the content area span the full viewport. */
.igt-frontpage .content-area,
.igt-frontpage .site-content,
.igt-frontpage #primary,
.igt-frontpage .inside-article,
.igt-frontpage .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.igt-frontpage.separate-containers .inside-article,
.igt-frontpage.separate-containers .content-area,
.igt-frontpage .site-main > article {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.igt-frontpage.separate-containers .site-content { padding: 0 !important; }

/* Remove the empty <p> / <br> visual gaps wpautop sometimes leaves behind. */
.igt-frontpage .entry-content > br,
.igt-frontpage .entry-content > p:empty { display: none; }

/* Hero: edge-to-edge breakout even if the content container is constrained. */
.igt-frontpage .igt-hero {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
}

/* Same breakout for the CTA band if a page uses one as a full-bleed section. */
.igt-frontpage .igt-cta-box--full {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
}

/* Section heading: strip any h2 border/bar/background inherited from other
   stylesheets (GP defaults, RankMath, block editor). Clean centered style. */
.igt-frontpage .igt-section__heading h2,
.igt-section__heading h2 {
    border: 0 !important;
    border-left: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
    padding-left: 0 !important;
    text-align: center;
    position: relative;
    display: inline-block;
    color: var(--igt-text) !important;
}

/* Subtle teal underline accent (replaces any hard green highlight). */
.igt-section__heading {
    text-align: center;
    position: relative;
}
.igt-section__heading h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--igt-accent);
    border-radius: 2px;
    margin: 12px auto 0;
}

/* Section width inside full-width front page: reintroduce container padding. */
.igt-frontpage .igt-section {
    max-width: var(--igt-container);
    margin: 0 auto;
    padding: 72px 24px;
}
@media (max-width: 640px) {
    .igt-frontpage .igt-section { padding: 56px 18px; }
}

/* Card icon that contains an SVG — center the svg inside the colored circle. */
.igt-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Slightly elevated card shape on the frontpage to feel premium. */
.igt-frontpage .igt-card {
    padding: 36px 28px;
}
.igt-frontpage .igt-card__icon {
    width: 64px;
    height: 64px;
    box-shadow: 0 8px 24px rgba(0,168,107,0.25);
}

/* ==========================================================================
 * Utility header bar (thin strip above site-header)
 * ========================================================================== */
.igt-utility-bar {
    background-color: #0F1A24;
    color: #CBD5E1;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 20;
}
.igt-utility-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.igt-utility-bar__tag {
    color: #CBD5E1;
    opacity: 0.9;
}
.igt-utility-bar__contact {
    color: #A7F3D0 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}
.igt-utility-bar__contact:hover,
.igt-utility-bar__contact:focus {
    color: #ffffff !important;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .igt-utility-bar__inner {
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================================
 * Block-based homepage polish
 *
 * These rules layer visual depth on top of native core blocks (cover, group,
 * columns, buttons) so the homepages render with real sectional structure.
 * ========================================================================== */

/* Hero cover — full-bleed content, tighter width on large screens. */
.igt-frontpage .igt-hero-cover {
    padding-block: 72px !important;
}
.igt-frontpage .igt-hero-cover .wp-block-cover__inner-container {
    max-width: 960px;
    margin-inline: auto;
    padding-inline: 24px;
}
.igt-frontpage .igt-hero-cover .igt-hero-title {
    text-wrap: balance;
    margin-bottom: 0;
}
.igt-frontpage .igt-hero-cover .igt-hero-sub {
    max-width: 760px;
    margin-inline: auto;
    text-wrap: pretty;
}
.igt-frontpage .igt-hero-cover .wp-block-buttons {
    gap: 14px;
}
.igt-frontpage .igt-hero-cover .igt-btn-primary .wp-block-button__link {
    color: #00A86B !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.igt-frontpage .igt-hero-cover .igt-btn-primary .wp-block-button__link:hover,
.igt-frontpage .igt-hero-cover .igt-btn-primary .wp-block-button__link:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}
.igt-frontpage .igt-hero-cover .igt-btn-ghost .wp-block-button__link {
    background-color: transparent !important;
    transition: background-color 0.18s ease, transform 0.18s ease;
}
.igt-frontpage .igt-hero-cover .igt-btn-ghost .wp-block-button__link:hover,
.igt-frontpage .igt-hero-cover .igt-btn-ghost .wp-block-button__link:focus {
    background-color: rgba(255,255,255,0.10) !important;
    transform: translateY(-1px);
}

/* Section-heading underline accent for h2s in full-width group sections. */
.igt-frontpage .igt-sec-title,
.igt-frontpage .igt-value-strip h2 {
    position: relative;
    padding-bottom: 18px;
}
.igt-frontpage .igt-sec-title::after,
.igt-frontpage .igt-value-strip h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #00A86B 0%, #00D4AA 100%);
    border-radius: 2px;
}

/* Group/columns inner max-width — keep content readable on wide screens. */
.igt-frontpage .wp-block-group.alignwide,
.igt-frontpage .wp-block-columns.alignwide {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* Value strip stat numbers visual rhythm */
.igt-frontpage .igt-stats-row {
    gap: 32px;
    margin-top: 0;
}
.igt-frontpage .igt-stats-row .wp-block-column {
    background: #ffffff;
    border: 1px solid #E8ECF0;
    border-radius: 12px;
    padding: 28px 16px;
    box-shadow: 0 2px 8px rgba(27,45,58,0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.igt-frontpage .igt-stats-row .wp-block-column:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(27,45,58,0.08);
}
.igt-frontpage .igt-stat-num {
    margin: 0 0 6px 0 !important;
}

/* CTA band tightening */
.igt-frontpage .igt-cta-band {
    padding-block: 56px !important;
}
.igt-frontpage .igt-cta-band .wp-block-cover__inner-container {
    max-width: 720px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* Card hover lift — stronger than baseline for frontpage feel */
.igt-frontpage .igt-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.igt-frontpage .igt-card:hover,
.igt-frontpage .igt-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(27,45,58,0.10);
    border-color: rgba(0,168,107,0.25);
}

/* Ensure full-width cover truly breaks out (core handles this but GP can re-box). */
.igt-frontpage .wp-block-cover.alignfull,
.igt-frontpage .wp-block-group.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
}

/* Responsive: hero title scales down on mobile */
@media (max-width: 768px) {
    .igt-frontpage .igt-hero-title {
        font-size: 36px !important;
        line-height: 1.12 !important;
    }
    .igt-frontpage .igt-hero-cover {
        padding-block: 56px !important;
        min-height: 460px !important;
    }
    .igt-frontpage .igt-sec-title {
        font-size: 28px !important;
    }
}
@media (max-width: 480px) {
    .igt-frontpage .igt-hero-title {
        font-size: 30px !important;
    }
    .igt-frontpage .igt-hero-sub {
        font-size: 17px !important;
    }
    .igt-frontpage .wp-block-buttons {
        flex-direction: column;
        width: 100%;
    }
    .igt-frontpage .wp-block-buttons .wp-block-button {
        width: 100%;
    }
    .igt-frontpage .wp-block-buttons .wp-block-button__link {
        display: block;
        text-align: center;
    }
}

/* ==========================================================================
 * Nav text color override — maximum specificity belt-and-braces
 *
 * 2026-04-17: Corporate (intlgreenteam.com) uses nav-below-header layout,
 * CFIT/CFMS use nav-float-right. Existing selectors *should* match both
 * but corporate rendered dark-on-dark in browser while AMS sites rendered
 * correctly. This block uses html body prefix + every known anchor path
 * under .main-navigation to guarantee white text across all GP layout
 * modes (nav-below-header, nav-float-right, nav-above-header,
 * nav-left-sidebar, nav-right-sidebar).
 * ========================================================================== */
html body .main-navigation,
html body.nav-below-header .main-navigation,
html body.nav-float-right .main-navigation,
html body.nav-float-left .main-navigation,
html body.nav-above-header .main-navigation {
    background: rgba(27,45,58,0.95) !important;
}

html body .main-navigation .main-nav ul li a,
html body .main-navigation .main-nav ul li > a,
html body .main-navigation .menu-item > a,
html body .main-navigation a,
html body.nav-below-header .main-navigation .main-nav ul li a,
html body.nav-below-header .main-navigation .menu-item > a,
html body.nav-float-right .main-navigation .main-nav ul li a,
html body.nav-float-right .main-navigation .menu-item > a {
    color: #ffffff !important;
}

html body .main-navigation .main-nav ul li a:hover,
html body .main-navigation .main-nav ul li a:focus,
html body .main-navigation .main-nav ul li.sfHover > a,
html body .main-navigation .main-nav ul li[class*='current-menu-'] > a,
html body.nav-below-header .main-navigation .main-nav ul li a:hover,
html body.nav-below-header .main-navigation .main-nav ul li[class*='current-menu-'] > a,
html body.nav-float-right .main-navigation .main-nav ul li a:hover,
html body.nav-float-right .main-navigation .main-nav ul li[class*='current-menu-'] > a {
    color: #00D4AA !important;
    background-color: transparent !important;
}

/* Submenu (dropdown) items — same treatment. */
html body .main-navigation .main-nav ul ul li a,
html body .main-navigation .sub-menu li a {
    color: #ffffff !important;
    background-color: var(--igt-secondary-deep, #0D1B2A) !important;
}
html body .main-navigation .main-nav ul ul li a:hover,
html body .main-navigation .main-nav ul ul li a:focus,
html body .main-navigation .main-nav ul ul li[class*='current-menu-'] > a {
    color: #00D4AA !important;
}
