/* === Components: Hero anims, Inner hero, About intro, SLA, Principles === */

/* ════════════════════════════════════════════════
   INNER HERO IMPROVEMENTS
════════════════════════════════════════════════ */

/* Inner pages: compact, left-aligned, readable */
.hero-inner {
    min-height: 34vh !important;
    padding-top: 110px !important;
    padding-bottom: 44px !important;
    align-items: flex-end;
}
.hero-inner .container {
    width: 100%;
}
.hero-inner .hero-content {
    max-width: 720px;
    text-align: left !important;
}
.hero-inner .hero-tag {
    text-align: left !important;
    margin-bottom: 16px;
}
.hero-inner h1 {
    font-size: clamp(32px, 5vw, 58px) !important;
    margin-bottom: 0 !important;
    line-height: 1.1;
}

/* Home hero — larger, centered */
.hero-home {
    min-height: 86vh !important;
    align-items: center;
    padding-top: 120px !important;
    padding-bottom: 60px !important;
}
.hero-home .hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center !important;
}
.hero-home h1 {
    font-size: clamp(40px, 5.5vw, 72px) !important;
    margin-bottom: 32px !important;
    line-height: 1.08 !important;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.hero-home .hero-description {
    font-size: 18px !important;
    max-width: 560px;
    margin: 0 auto 52px !important;
    line-height: 1.8 !important;
    opacity: 0.75;
}
.hero-home .hero-cta {
    justify-content: center !important;
    gap: 16px;
    flex-wrap: wrap;
}

/* ════════════════════════════════════════════════
   ABOUT INTRO SECTION fixes
════════════════════════════════════════════════ */
.about-intro-section {
    padding: 64px 0 64px !important;
    border-bottom: 1px solid var(--card-border);
    background: rgba(255,255,255,0.02);
}
.about-intro-grid p {
    font-size: 17px !important;
    line-height: 1.85 !important;
    color: rgba(232,240,248,0.8) !important;
}

/* ════════════════════════════════════════════════
   UNIVERSAL CTA SECTION improvements
════════════════════════════════════════════════ */
.cta-section {
    padding: 72px 24px !important;
}
.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.cta-content h2 { margin-bottom: 4px; }
.cta-content p  { margin-bottom: 28px; max-width: 560px; }
.cta-content .btn-primary,
.cta-content button.btn-primary,
.cta-content button.ig-popup-open {
    margin-top: 4px;
}

/* ════════════════════════════════════════════════
   HEADER scroll state
════════════════════════════════════════════════ */
.header {
    background: rgba(11, 26, 48, 0.95) !important;
    backdrop-filter: blur(16px);
}
.header.scrolled {
    box-shadow: 0 2px 40px rgba(0,0,0,0.4);
}

/* ════════════════════════════════════════════════
   CONTACT PAGE FORM (standalone, not in popup)
════════════════════════════════════════════════ */
.contact-form-wrapper .wpcf7 { margin: 0; }
.contact-form-wrapper .wpcf7-form br { display: none; }

/* Same dark field styles as popup but slightly larger */
.contact-form-wrapper .ig-cf7-row,
.contact-form-wrapper .wpcf7-form .ig-cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.contact-form-wrapper .ig-cf7-group,
.contact-form-wrapper .wpcf7-form .ig-cf7-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper select,
.contact-form-wrapper textarea,
.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form select,
.contact-form-wrapper .wpcf7-form textarea {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    font-size: 15px !important;
    color: #fff !important;
    font-family: inherit !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    -webkit-appearance: none !important;
}
.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder { color: rgba(232,240,248,0.28) !important; }
.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    border-color: rgba(0,201,167,0.45) !important;
    background: rgba(0,201,167,0.03) !important;
}
.contact-form-wrapper textarea,
.contact-form-wrapper .wpcf7-form textarea { min-height: 130px !important; resize: vertical !important; }

.contact-form-wrapper label,
.contact-form-wrapper .wpcf7-form label {
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: rgba(232,240,248,0.65) !important;
}
.contact-form-wrapper .required { color: var(--teal) !important; }

.contact-form-wrapper .wpcf7-acceptance {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}
.contact-form-wrapper .wpcf7-acceptance label {
    font-size: 13px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: rgba(232,240,248,0.55) !important;
}
.contact-form-wrapper .wpcf7-acceptance a { color: var(--teal); text-decoration: underline; }

.contact-form-wrapper input[type="submit"],
.contact-form-wrapper .wpcf7-submit,
.contact-form-wrapper .ig-form-submit {
    width: 100% !important;
    padding: 14px !important;
    background: var(--teal) !important;
    color: var(--navy) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: all 0.22s !important;
    margin-top: 4px !important;
}
.contact-form-wrapper input[type="submit"]:hover,
.contact-form-wrapper .wpcf7-submit:hover { background: #00e5bf !important; }

.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #ff8080 !important; font-size: 11px !important; margin-top: 3px !important;
}
.contact-form-wrapper .wpcf7-response-output {
    margin: 12px 0 0 !important; padding: 10px 14px !important;
    border-radius: 4px !important; font-size: 13px !important;
    border: 1px solid rgba(0,201,167,0.3) !important;
    color: var(--teal) !important;
}

/* Select arrow */
.contact-form-wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f93a8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 36px !important;
    cursor: pointer !important;
}

@media (max-width: 768px) {
    .contact-form-wrapper .ig-cf7-row { grid-template-columns: 1fr !important; }
}

/* ════════════════════════════════════════════════
   D&C PROGRAM BADGE — redesigned
════════════════════════════════════════════════ */
.program-badge {
    background: linear-gradient(135deg, #0a1628 0%, #0e3a32 60%, #0b2830 100%);
    border: 1px solid rgba(0,201,167,0.3);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    max-width: 280px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(0,201,167,0.15);
}
.program-badge::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(0,201,167,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.program-badge-eyebrow {
    
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(0,201,167,0.7);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.program-badge-acronym {
    font-size: 72px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 16px;
}
.program-badge-acronym span {
    color: var(--teal);
}
.program-badge-line {
    width: 40px;
    height: 2px;
    background: var(--teal);
    margin: 0 auto 16px;
    border-radius: 1px;
}
.program-badge-full {
    font-size: 13px;
    color: rgba(232,240,248,0.7);
    line-height: 1.6;
    letter-spacing: 0.3px;
}
.program-badge-since {
    
    font-size: 10px;
    color: rgba(0,201,167,0.4);
    margin-top: 20px;
    letter-spacing: 1px;
}

/* Keep program-intro layout correct with new badge size */
.program-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}
@media (max-width: 768px) {
    .program-intro { grid-template-columns: 1fr; }
    .program-badge { max-width: 100%; }
}

/* ════════════════════════════════════════════════
   HERO — equal visual padding (top = bottom)
   Header height ~70px; so visual top = padding-top - 70
════════════════════════════════════════════════ */
.hero-inner {
    min-height: 34vh !important;
    padding-top: 110px !important;
    padding-bottom: 44px !important;
    display: flex !important;
    align-items: center !important;
}
.hero-home {
    min-height: 88vh !important;
    padding-top: 100px !important;  /* less top — content more centered */
    padding-bottom: 80px !important;
    display: flex !important;
    align-items: center !important;
}

/* ════════════════════════════════════════════════
   CUSTOMIZER — social links section note
════════════════════════════════════════════════ */
/* Social icon hover */
.footer-social a:hover svg {
    stroke: var(--teal);
    transition: stroke 0.2s;
}

/* ════════════════════════════════════════════════
   DARK GREEN UTILITY — for white-on-green sections
════════════════════════════════════════════════ */
.bg-dark-green {
    background: linear-gradient(160deg, #0a1628 0%, #0e3630 100%);
}

/* ════════════════════════════════════════════════
   BLOG SYSTEM — Single Post
════════════════════════════════════════════════ */

/* Single article hero */
.single-hero {
    padding: 100px 0 32px;
    background: linear-gradient(180deg, var(--navy) 0%, #0a1628 100%);
    position: relative;
    overflow: hidden;
}
.single-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,201,167,0.2), transparent);
}
.single-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.post-cat {
    
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(0,201,167,0.1);
    border: 1px solid rgba(0,201,167,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
}
.post-date, .post-read {
    font-size: 13px;
    color: rgba(232,240,248,0.5);
}
.post-date::before { content: ''; }
.post-read::before { content: '· '; opacity: 0.4; }

.single-title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
    max-width: 820px;
}
.single-excerpt {
    font-size: 18px;
    color: rgba(232,240,248,0.7);
    line-height: 1.7;
    max-width: 680px;
}

/* Layout: content + sidebar */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    padding: 36px 0 80px;
    align-items: start;
}
.single-content { min-width: 0; }

/* Article body typography */
.single-body {
    font-size: 17px;
    line-height: 1.85;
    color: rgba(232,240,248,0.88);
}
.single-body h2 { font-size: 26px; color: #fff; margin: 40px 0 16px; font-weight: 700; }
.single-body h3 { font-size: 20px; color: #fff; margin: 32px 0 12px; font-weight: 600; }
.single-body p  { margin: 0 0 20px; }
.single-body a  { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.single-body ul, .single-body ol { margin: 0 0 20px 24px; }
.single-body li { margin-bottom: 8px; }
.single-body blockquote {
    border-left: 3px solid var(--teal);
    padding: 16px 20px;
    margin: 28px 0;
    background: rgba(0,201,167,0.06);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: rgba(232,240,248,0.8);
}
.single-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 24px 0; }
.single-body pre {
    background: #061020;
    border: 1px solid rgba(0,201,167,0.15);
    border-radius: 6px;
    padding: 20px;
    overflow-x: auto;
    
    font-size: 14px;
    margin: 24px 0;
}
.single-body code {
    
    font-size: 13px;
    background: rgba(0,201,167,0.08);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--teal);
}

/* Tags row */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 28px 0;
    border-top: 1px solid var(--card-border);
    margin-top: 40px;
}
.tags-label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.tag-pill {
    font-size: 12px;
    padding: 5px 13px;
    background: rgba(0,201,167,0.08);
    border: 1px solid rgba(0,201,167,0.18);
    border-radius: 20px;
    color: var(--teal);
    text-decoration: none;
    transition: all 0.2s;
}
.tag-pill:hover { background: rgba(0,201,167,0.15); }
.tag-pill span { color: var(--muted); font-size: 10px; }

/* Author */
.single-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    margin: 40px 0;
}
.single-author .author-avatar img { border-radius: 50%; }
.author-name { font-weight: 600; color: #fff; margin-bottom: 4px; }
.author-bio  { font-size: 13px; color: var(--muted); margin: 0; }

/* Prev/Next nav */
.single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid var(--card-border);
    padding-top: 32px;
}
.single-nav-prev, .single-nav-next {
    display: flex; flex-direction: column; gap: 6px;
    padding: 20px; border: 1px solid var(--card-border);
    border-radius: 8px; text-decoration: none;
    transition: all 0.2s; background: rgba(255,255,255,0.02);
}
.single-nav-prev:hover, .single-nav-next:hover {
    border-color: rgba(0,201,167,0.3);
    background: rgba(0,201,167,0.04);
}
.single-nav-next { text-align: right; }
.nav-dir { font-size: 11px; color: var(--teal);  letter-spacing: 1px; }
.nav-title { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.4; }

/* Sidebar */
.single-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 24px;
}
.widget-about { text-align: center; }
.widget-about .sidebar-logo { margin-bottom: 12px; display: inline-block; }
.widget-about p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 0; }
.sidebar-cta { width: 100%; margin-top: 16px !important; font-size: 13px !important; padding: 10px !important; }

.widget-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--card-border);
}

/* Sidebar recent posts */
.sidebar-post {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    transition: opacity 0.2s;
}
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post:hover { opacity: 0.8; }
.sidebar-post-thumb { flex-shrink: 0; }
.sidebar-post-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.sidebar-post-info { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.sidebar-post-title { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-post-date  { font-size: 11px; color: var(--muted); }

/* Sidebar categories */
.sidebar-categories { list-style: none; margin: 0; padding: 0; }
.sidebar-categories li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-categories li:last-child { border-bottom: none; }
.sidebar-categories a { font-size: 14px; color: rgba(232,240,248,0.8); text-decoration: none; transition: color 0.2s; }
.sidebar-categories a:hover { color: var(--teal); }
.cat-count { font-size: 11px; color: var(--muted); background: rgba(255,255,255,0.05); padding: 2px 7px; border-radius: 10px; }

/* Sidebar tags */
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Calendar widget */
.widget-calendar caption { color: var(--teal); font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.widget-calendar table { width: 100%; border-collapse: collapse; font-size: 13px; }
.widget-calendar th { color: var(--muted); font-weight: 600; text-align: center; padding: 4px; font-size: 11px; text-transform: uppercase; }
.widget-calendar td { text-align: center; padding: 4px; color: rgba(232,240,248,0.6); }
.widget-calendar td a { color: var(--teal); text-decoration: none; font-weight: 600; }
.widget-calendar td#today { background: rgba(0,201,167,0.1); border-radius: 4px; color: var(--teal); font-weight: 700; }
.widget-calendar .wp-calendar-nav { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; }
.widget-calendar .wp-calendar-nav a { color: var(--teal); text-decoration: none; }

/* Related posts */
.related-posts {
    padding: 60px 0;
    border-top: 1px solid var(--card-border);
    margin-top: 0;
}

/* News card images */
.news-card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}
.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card:hover .news-card-thumb img { transform: scale(1.04); }
.news-card-cat {
    position: absolute;
    top: 12px; left: 12px;
    
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--teal);
    padding: 3px 10px;
    border-radius: 2px;
    font-weight: 700;
}
.news-card-title a { color: #fff; text-decoration: none; }
.news-card-title a:hover { color: var(--teal); }
.news-card-date { font-size: 12px; color: var(--muted); }
.news-read { font-size: 12px; color: var(--muted); }
.news-card-meta { display: flex; gap: 12px; align-items: center; }

/* Filter bar */
.news-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--card-border);
}
.filter-tab {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s;
}
.filter-tab:hover, .filter-tab.active {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(0,201,167,0.06);
}

/* Empty state */
.news-empty { padding: 60px 0; text-align: center; }
.news-empty p { font-size: 16px; color: var(--muted); }

/* Pagination */
.news-pagination {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}
.news-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
/* All page items — base style */
.news-pagination .page-numbers li a,
.news-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(232,240,248,0.65);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    white-space: nowrap;
}
/* Hover */
.news-pagination .page-numbers li a:hover {
    border-color: rgba(0,201,167,0.4);
    color: var(--teal);
    background: rgba(0,201,167,0.06);
}
/* Current page */
.news-pagination .page-numbers li span.current {
    background: var(--teal);
    color: var(--navy);
    border-color: var(--teal);
    font-weight: 700;
}
/* Dots / ellipsis */
.news-pagination .page-numbers li span.dots {
    border: none;
    background: transparent;
    color: rgba(232,240,248,0.3);
    min-width: 24px;
    padding: 0 4px;
}
/* Prev / Next arrows — pill style */
.news-pagination .page-numbers li a.prev,
.news-pagination .page-numbers li a.next {
    font-family: var(--font-code, monospace);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-color: rgba(0,201,167,0.2);
    color: var(--teal);
    gap: 6px;
    padding: 0 18px;
}
.news-pagination .page-numbers li a.prev:hover,
.news-pagination .page-numbers li a.next:hover {
    background: rgba(0,201,167,0.08);
    border-color: var(--teal);
}

/* Latest posts on home page */
.latest-posts-section { padding: 80px 0; background: rgba(255,255,255,0.015); }

/* News layout (list + sidebar) */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 56px;
    align-items: start;
}
.news-main { min-width: 0; }

/* Archive */
.archive-desc { font-size: 16px; color: var(--muted); margin-bottom: 32px; }
/* Archive/tag page — description uses body font, not code font */
.archive-desc {
    font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.7;
}
.archive-desc em {
    color: rgba(232,240,248,0.5);
    font-style: italic;
}

/* Responsive blog */
@media (max-width: 1024px) {
    .single-layout { grid-template-columns: 1fr; }
    .single-sidebar { position: static; }
    .news-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .single-hero { padding: 120px 0 60px; }
    .single-title { font-size: 28px; }
    .single-nav { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr !important; }
}

/* ════════════════════════════════════════════════
   FIXES — Cards, Hero, Placeholder, Category badge
════════════════════════════════════════════════ */

/* Hero inner — user spec */
.hero-inner {
    min-height: 34vh !important;
    padding-top: 110px !important;
    padding-bottom: 44px !important;
    align-items: center !important;
}

/* News card body — air inside border */
.news-card {
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.025);
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
}
.news-card:hover { border-color: rgba(0,201,167,0.25); transform: translateY(-3px); }

.news-card-body {
    padding: 20px 22px 24px !important;   /* air between border and text */
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}
.news-card-title { font-size: 16px; font-weight: 600; line-height: 1.4; margin: 0; word-break: break-word; overflow-wrap: break-word; }
.news-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; flex: 1; }
.news-card-meta { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.05); }

/* Category label — readable, always dark text on teal */
.news-card-cat {
    
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #061220 !important;   /* always dark — readable on any teal shade */
    background: var(--teal) !important;
    padding: 4px 10px !important;
    border-radius: 2px !important;
}

/* Placeholder image — SVG inline, no text overlap */
.news-card-thumb {
    background: #071220;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-card-thumb img { display: block; }

/* When img is placeholder (og-image.png) make it centered and cover */
.news-card-thumb img[src*="og-image"] {
    width: 100% !important;
    height: 180px !important;
    object-fit: contain !important;
    padding: 20px;
    background: #0a1628;
}

/* ════════════════════════════════════════════════
   FINAL CONTRAST AUDIT — fixes
════════════════════════════════════════════════ */

/* Hero tag — more visible */
.hero-tag {
    font-family: inherit;
    font-size: 11px !important;
    color: rgba(0,201,167,0.85) !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 1 !important;
}

/* Contact page form heading */
.contact-form-wrapper h2 {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    opacity: 1 !important;
}

/* Flagship stat visual layout */
.flagship-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Section tag labels — see div.tag above */

/* Service cards — improve subtitle contrast */
.service-card h4 {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}
.service-card p {
    color: rgba(232,240,248,0.72) !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

/* Layer blocks on Stack page — category headers */
.layer-header h3 {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600;
}
.product-card h4 {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
.product-card p {
    color: rgba(232,240,248,0.7) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* Tech category titles */
.tech-category-title {
    color: rgba(232,240,248,0.9) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Industry card names */
.industry-name {
    color: rgba(232,240,248,0.85) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Security cards */
.security-card h4 {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.security-card p {
    color: rgba(232,240,248,0.72) !important;
    font-size: 13px !important;
}

/* About page values/features */
.feature-card h3, .value-card h3 {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
.feature-card p, .value-card p {
    color: rgba(232,240,248,0.72) !important;
    font-size: 14px !important;
}

/* Standards/certifications on Join */
.standard-item {
    color: rgba(232,240,248,0.85) !important;
}

/* How-section step numbers */
.step-number {
    color: var(--teal) !important;
    
    font-weight: 700;
    font-size: 28px;
    opacity: 1 !important;
}
.step-title {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
.step-desc {
    color: rgba(232,240,248,0.72) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* Partner/ecosystem cards */
.partner-card, .ecosystem-card {
    color: #fff !important;
}
.partner-name, .ecosystem-name {
    color: #fff !important;
    font-weight: 600 !important;
}
.partner-desc, .ecosystem-desc {
    color: rgba(232,240,248,0.65) !important;
    font-size: 13px !important;
}

/* Why-section cards (home page) */
.why-card h3, .reason-card h3 {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
.why-card p, .reason-card p {
    color: rgba(232,240,248,0.72) !important;
    font-size: 14px !important;
}

/* About page intro section — enhanced readability */
.about-intro-grid p {
    font-size: 16px !important;
    line-height: 1.85 !important;
    color: rgba(232,240,248,0.82) !important;
}

/* Methodology content text */
.methodology-text-cols p {
    color: rgba(232,240,248,0.8) !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

/* Client/geography section */
.geo-stat-value { color: #fff !important; font-weight: 800 !important; }
.geo-stat-label { color: rgba(232,240,248,0.65) !important; }

/* Footer info */
.footer-contacts li { color: rgba(232,240,248,0.75) !important; }
.footer-contacts a { color: rgba(232,240,248,0.85) !important; }
.footer-menu-list a { color: rgba(232,240,248,0.72) !important; }
.footer-menu-list a:hover { color: var(--teal) !important; }

/* Flagship section tag override */
.flagship-section .tag {
    color: rgba(0,201,167,0.8) !important;
    font-size: 10px !important;
}

/* ════════════════════════════════════════════════
   FINAL PATCH — Hero height, News grid, Placeholder
════════════════════════════════════════════════ */

/* Home hero: 2/3 of 15" laptop (900px) ≈ 66vh */
.hero-home {
    min-height: 66vh !important;
    padding-top: 90px !important;
    padding-bottom: 60px !important;
    align-items: center !important;
    display: flex !important;
}

/* News grid on front page — 3 col desktop, 1 col mobile */
.latest-posts-section .news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}
/* latest-posts mobile → see v15 block */

/* News placeholder image — clean, no overflow */
.news-card-thumb img[src*="placeholder"] {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    background: transparent !important;
}
.news-card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a1628;  /* navy — no green stripe below placeholder */
}
.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.news-card:hover .news-card-thumb img { transform: scale(1.04); }

/* Facebook icon always visible (even if no URL set, show placeholder) */
.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    color: rgba(232,240,248,0.6);
    text-decoration: none;
    transition: all 0.2s;
}
.footer-social a:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(0,201,167,0.06);
}
.footer-social a svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ════════════════════════════════════════════════
   PRIVACY POLICY PAGE — bilingual professional layout
════════════════════════════════════════════════ */
.privacy-bilingual {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}
.privacy-lang-block {
    padding: 48px 0;
}
.privacy-lang-label {
    
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,201,167,0.2);
}
.privacy-updated {
    font-size: 13px;
    color: rgba(232,240,248,0.45);
    margin-bottom: 32px;
    
}
.privacy-bilingual h1 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}
.privacy-bilingual h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 36px 0 14px;
    padding-top: 4px;
    border-left: 3px solid var(--teal);
    padding-left: 14px;
}
.privacy-bilingual h3 {
    font-size: 15px;
    font-weight: 600;
    color: rgba(232,240,248,0.9);
    margin: 22px 0 10px;
}
.privacy-bilingual p {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(232,240,248,0.78);
    margin-bottom: 16px;
}
.privacy-bilingual ul {
    margin: 8px 0 16px 0;
    padding-left: 0;
    list-style: none;
}
.privacy-bilingual ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(232,240,248,0.78);
}
.privacy-bilingual ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 12px;
    top: 3px;
}
.privacy-bilingual a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.privacy-bilingual strong { color: rgba(232,240,248,0.95); }

/* Table */
.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 14px;
}
.privacy-table th {
    background: rgba(0,201,167,0.08);
    color: var(--teal);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    text-align: left;
    border: 1px solid rgba(0,201,167,0.12);
}
.privacy-table td {
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(232,240,248,0.78);
    vertical-align: top;
    line-height: 1.6;
}
.privacy-table td:first-child {
    color: rgba(232,240,248,0.55);
    font-size: 13px;
    white-space: nowrap;
    font-weight: 500;
    width: 35%;
}
.privacy-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

/* Language divider */
.privacy-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}
.privacy-divider::before,
.privacy-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,201,167,0.3), transparent);
}
.privacy-divider span {
    
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--teal);
    opacity: 0.7;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .privacy-bilingual { padding: 32px 16px 60px; }
    .privacy-table td:first-child { white-space: normal; width: auto; }
}

/* ════════════════════════════════════════════════
   POPUP FORM — Acceptance/Privacy row UX fix
   CF7 renders: <p><span.wpcf7-acceptance><checkbox></span> TEXT LINK</p>
   Fix: make the <p> flex so checkbox + text stay on one line
════════════════════════════════════════════════ */

/* The paragraph wrapping the acceptance field */
.ig-popup-body .wpcf7-form p:has(.wpcf7-acceptance),
.ig-popup-body .wpcf7-form p:has([data-name="your-privacy"]) {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    margin-bottom: 16px !important;
    font-size: 13px !important;
    color: rgba(232,240,248,0.65) !important;
    line-height: 1.4 !important;
}

/* Inline the CF7 acceptance spans */
.ig-popup-body .wpcf7-acceptance,
.ig-popup-body .wpcf7-form-control-wrap:has(.wpcf7-acceptance) {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ig-popup-body .wpcf7-list-item {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

