/* ============================================================
   GoVisually custom overrides — loaded after built/screen.css.
   Single source of truth for blog customizations (blockquote
   callout, streamlined signup, end-of-article CTA).
   ============================================================ */

/* --- Blockquote used as an inline CTA: proper callout, not a cramped detached bar --- */
.gh-content > blockquote:not([class]) {
    padding: 1.1em 1.6em;
    border-left: 4px solid var(--ghost-accent-color);
    border-radius: 0 6px 6px 0;
    background: rgba(0, 0, 0, 0.035);
    font-style: normal;
}
.gh-content > blockquote:not([class])::before { display: none; }
.gh-content > blockquote:not([class]) > *:first-child { margin-top: 0; }
.gh-content > blockquote:not([class]) > *:last-child { margin-bottom: 0; }
@media (max-width: 650px) {
    .gh-content > blockquote:not([class]) { padding: 1em 1.3em; }
}

/* --- Streamlined post newsletter signup (secondary action) --- */
.footer-cta {
    padding: min(48px, 9vw) 0;
    border-top: 1px solid var(--color-border);
}
.footer-cta-title {
    margin: 0 0 min(16px, 4vmin);
    font-size: clamp(1.8rem, 2.6vw, 2.2rem);
}
.footer-cta-button { max-width: 440px; }

/* --- End-of-article GoVisually CTA --- */
.gv-article-cta { margin: max(6vmin, 48px) 0; }

.gv-article-cta-inner {
    position: relative;
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 60px);
    text-align: center;
    color: #fff;
    border-radius: 20px;
    background:
        radial-gradient(120% 130% at 12% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(135deg, #1478D0 0%, #0D6ABE 46%, #0A5290 100%);
    box-shadow: 0 24px 48px -18px rgba(10, 82, 144, 0.55), 0 2px 6px rgba(10, 82, 144, 0.22);
}

/* Brand mark: coral 8-pointed asterisk, low-opacity, clipped to the corner */
.gv-article-cta-inner::after {
    content: "";
    position: absolute;
    top: -48px;
    right: -44px;
    width: 240px;
    height: 240px;
    z-index: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 4 L56.89 33.37 L82.53 17.47 L66.63 43.11 L96 50 L66.63 56.89 L82.53 82.53 L56.89 66.63 L50 96 L43.11 66.63 L17.47 82.53 L33.37 56.89 L4 50 L33.37 43.11 L17.47 17.47 L43.11 33.37 Z' fill='%23FC4E46'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0.18;
    transform: rotate(12deg);
    pointer-events: none;
}

/* Keep all content above the brand mark */
.gv-article-cta-inner > * { position: relative; z-index: 1; }

.gv-article-cta-title {
    margin: 0 0 14px;
    font-size: clamp(2.6rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
}

.gv-article-cta-text {
    margin: 0 auto 30px;
    max-width: 520px;
    font-size: 1.8rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.gv-article-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

.gv-article-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    background: #FC4E46;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 16px -6px rgba(252, 78, 70, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.gv-article-cta-button::after { content: "\2009\2192"; }
.gv-article-cta-button:hover {
    background: #ff5a52;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -8px rgba(252, 78, 70, 0.55);
    color: #fff;
}

.gv-article-cta-link {
    display: inline-flex;
    align-items: center;
    padding: 14px 26px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.gv-article-cta-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.9);
}

.gv-article-cta-trust {
    margin: 24px 0 0;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 650px) {
    .gv-article-cta-inner { padding: 34px 22px; border-radius: 16px; }
    .gv-article-cta-inner::after { width: 170px; height: 170px; top: -32px; right: -30px; }
    .gv-article-cta-actions { flex-direction: column; }
    .gv-article-cta-button, .gv-article-cta-link { width: 100%; justify-content: center; }
}

/* --- Site footer (mirrors govisually.com for internal linking + navigation) --- */
.gv-footer {
    padding: clamp(40px, 6vw, 72px) 0 28px;
    background: #fff;
    border-top: 1px solid var(--color-border);
}
.gv-footer a { text-decoration: none; }

.gv-footer-top {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
    gap: clamp(24px, 3vw, 48px);
}

.gv-footer-brand { max-width: 320px; }
.gv-footer-logo img { height: 30px; width: auto; display: block; }
.gv-footer-tagline {
    margin: 18px 0 20px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #6b7480;
}
.gv-footer-social { display: flex; gap: 12px; }
.gv-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #8a94a0;
    background: #f3f5f7;
    transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.gv-footer-social a:hover {
    color: #fff;
    background: var(--ghost-accent-color);
    transform: translateY(-2px);
}
.gv-footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.gv-footer-heading {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9aa2ab;
}
.gv-footer-col ul { margin: 0; padding: 0; list-style: none; }
.gv-footer-col li { margin: 0 0 11px; }
.gv-footer-col a {
    font-size: 1.5rem;
    line-height: 1.4;
    color: #414b56;
    transition: color 0.15s ease;
}
.gv-footer-col a:hover { color: var(--ghost-accent-color); }

.gv-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: clamp(32px, 4vw, 52px);
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}
.gv-footer-copy { font-size: 1.35rem; color: #8a94a0; }
.gv-footer-legal { display: flex; gap: 22px; }
.gv-footer-legal a { font-size: 1.35rem; color: #6b7480; }
.gv-footer-legal a:hover { color: var(--ghost-accent-color); }

@media (max-width: 900px) {
    .gv-footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .gv-footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 540px) {
    .gv-footer-bottom { flex-direction: column; align-items: flex-start; }
}
