/* ============================================================
   Cogent About Us — page styles
   Scope: .cogent-about
   ============================================================ */

/* ── Background image ───────────────────────────────────────── */
body {
}

body #page, body .site,
body #content, body .site-content,
body .col-full,
body #primary, body .content-area,
body #main, body .site-main,
body article, body .hentry,
body .entry-content, body .page-content {
    background: transparent !important;
}

/* ── Token aliases (keep in sync with style.css root vars) ──── */
:root {
    --cg-font:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --cg-text:     #1A1A1A;
    --cg-muted:    #666666;
    --cg-bg:       #FAFAF7;
    --cg-surface:  #FFFFFF;
    --cg-border:   #E5E5E0;
    --cg-cta-bg:   #1A1A1A;
    --cg-cta-text: #FAFAF7;
    --cg-soft-bg:  #F4F4F0;
    --cg-radius:   8px;
}

/* ══════════════════════════════════════════════════════════
   PAGE WRAPPER
   ══════════════════════════════════════════════════════════ */

.cogent-about {
    background: var(--cg-bg);
    padding-bottom: 80px;
    border-radius: 16px;
    margin-left: 16px;
    margin-right: 16px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cogent-about {
        margin-left: 32px;
        margin-right: 32px;
    }
}

/* ══════════════════════════════════════════════════════════
   CONTAINER  — single centred column, max 720px
   ══════════════════════════════════════════════════════════ */

.cogent-about__container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .cogent-about__container {
        padding: 0 32px;
    }
}

/* ══════════════════════════════════════════════════════════
   HEADING BLOCK
   ══════════════════════════════════════════════════════════ */

.cogent-about__header {
    padding-top: 64px;
    padding-bottom: 40px;
    text-align: center;
}

@media (min-width: 768px) {
    .cogent-about__header {
        padding-top: 80px;
        padding-bottom: 48px;
    }
}

.cogent-about__heading {
    font-family: var(--cg-font);
    font-size: clamp(2rem, 5vw, 3rem); /* 32px → 48px */
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--cg-text);
    margin: 0;
    padding: 0;
}

/* ══════════════════════════════════════════════════════════
   ARTICLE BODY  — the_content() output
   ══════════════════════════════════════════════════════════ */

.cogent-about__body {
    font-family: var(--cg-font);
}

/* Every paragraph from WP auto-p */
.cogent-about__body p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--cg-text);
    margin: 0 0 24px;
}

.cogent-about__body p:last-child {
    margin-bottom: 0;
}

/* Inline links inside the body */
.cogent-about__body a {
    color: var(--cg-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cogent-about__body a:hover {
    opacity: 0.7;
}

/* ══════════════════════════════════════════════════════════
   CTA BLOCK
   ══════════════════════════════════════════════════════════ */

.cogent-about__ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 48px;
}

@media (min-width: 768px) {
    .cogent-about__ctas {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }
}

/* ── Shared button base ──────────────────────────────────── */

.cogent-about__cta-primary,
.cogent-about__cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border-radius: var(--cg-radius);
    font-family: var(--cg-font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

/* Mobile: full-width stacked */
@media (max-width: 767px) {
    .cogent-about__cta-primary,
    .cogent-about__cta-secondary {
        width: 100%;
    }
}

/* ── Primary — black fill ────────────────────────────────── */

.cogent-about__cta-primary {
    background: var(--cg-cta-bg);
    color: var(--cg-cta-text);
    border: 1.5px solid transparent;
}

.cogent-about__cta-primary:hover {
    opacity: 0.88;
    color: var(--cg-cta-text);
    text-decoration: none;
}

/* ── Secondary — outline ─────────────────────────────────── */

.cogent-about__cta-secondary {
    background: transparent;
    color: var(--cg-text);
    border: 1.5px solid var(--cg-text);
}

.cogent-about__cta-secondary:hover {
    background-color: var(--cg-soft-bg);
    color: var(--cg-text);
    text-decoration: none;
}
