/* ═══════════════════════════════════════════════
   AMERICAN CARPAS — BLOG ARTICLE STYLES
   Shared across all /blog/ articles
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    --ac-navy: #0B1D3A;
    --ac-blue: #1B4F8A;
    --ac-sky: #3B82C4;
    --ac-gold: #E8A023;
    --ac-gold-light: #F5C563;
    --ac-white: #FAFBFD;
    --ac-gray-50: #F3F5F8;
    --ac-gray-100: #E4E8EE;
    --ac-gray-200: #C8D0DB;
    --ac-gray-500: #6B7A8D;
    --ac-gray-700: #374151;
    --ac-gray-900: #111827;
    --ac-green: #059669;
    --ac-red: #DC2626;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-card: 0 1px 3px rgba(11,29,58,0.06), 0 8px 24px rgba(11,29,58,0.08);
    --shadow-hover: 0 4px 12px rgba(11,29,58,0.1), 0 16px 40px rgba(11,29,58,0.14);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ac-gray-900);
    background: var(--ac-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.art-header {
    background: var(--ac-navy);
    position: sticky;
    top: 0;
    z-index: 100;
}

.art-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.art-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ac-white);
    text-decoration: none;
}

.art-logo span { color: var(--ac-gold); }

.art-nav { display: flex; gap: 1.25rem; align-items: center; }

.art-nav a {
    color: var(--ac-gray-200);
    text-decoration: none;
    font-size: 0.87rem;
    font-weight: 500;
    transition: color 0.2s;
}

.art-nav a:hover { color: var(--ac-gold-light); }

.nav-cta {
    background: var(--ac-gold) !important;
    color: var(--ac-navy) !important;
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--ac-gold-light) !important; }

/* ── HERO BANNER ── */
.art-hero {
    position: relative;
    padding: 4rem 2rem 3rem;
    overflow: hidden;
}

.art-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.art-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.art-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.art-breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.art-breadcrumb a:hover { color: var(--ac-gold-light); }

.art-breadcrumb svg { width: 14px; height: 14px; color: rgba(255,255,255,0.3); }

.art-tag {
    display: inline-block;
    background: rgba(232,160,35,0.2);
    color: var(--ac-gold-light);
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.art-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    color: var(--ac-white);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 1.25rem;
}

.art-hero h1 em {
    font-style: normal;
    color: var(--ac-gold);
}

.art-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.art-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.art-meta svg { width: 15px; height: 15px; }

/* ── ARTICLE BODY ── */
.art-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}

.art-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ac-gray-900);
    margin: 2.5rem 0 1rem;
    line-height: 1.25;
    position: relative;
    padding-left: 1rem;
}

.art-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 4px;
    background: var(--ac-gold);
}

.art-content h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ac-gray-700);
    margin: 2rem 0 0.75rem;
}

.art-content p {
    color: var(--ac-gray-700);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.art-content p strong { color: var(--ac-gray-900); font-weight: 600; }

.art-content ul, .art-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.art-content li {
    color: var(--ac-gray-700);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0.5rem;
}

.art-content li::marker { color: var(--ac-gold); }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
    background: linear-gradient(135deg, rgba(27,79,138,0.06), rgba(59,130,196,0.06));
    border-left: 4px solid var(--ac-blue);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
}

.highlight-box p { margin-bottom: 0; color: var(--ac-gray-700); }

.highlight-box strong { color: var(--ac-blue); }

/* ── DATA BOX ── */
.data-box {
    background: var(--ac-gray-50);
    border: 1px solid var(--ac-gray-100);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
}

.data-box h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ac-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.data-item {
    text-align: center;
    padding: 1rem;
    background: var(--ac-white);
    border-radius: var(--radius-sm);
}

.data-item .number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ac-navy);
    display: block;
}

.data-item .label {
    font-size: 0.82rem;
    color: var(--ac-gray-500);
    margin-top: 0.25rem;
    display: block;
}

/* ── INLINE CTA ── */
.inline-cta {
    background: linear-gradient(135deg, var(--ac-navy), var(--ac-blue));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.inline-cta::before {
    content: '';
    position: absolute;
    top: -40%; right: -20%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(232,160,35,0.15), transparent 60%);
}

.inline-cta h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--ac-white);
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
}

.inline-cta p {
    color: var(--ac-gray-200) !important;
    font-size: 0.95rem !important;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.inline-cta .cta-btn {
    display: inline-block;
    background: var(--ac-gold);
    color: var(--ac-navy);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    position: relative;
    z-index: 1;
}

.inline-cta .cta-btn:hover { background: var(--ac-gold-light); transform: translateY(-1px); }

/* ── RELATED ARTICLES ── */
.related-section {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.related-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ac-gray-100);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.related-card {
    background: var(--ac-gray-50);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.related-card:hover { background: var(--ac-gray-100); transform: translateY(-2px); }

.related-card .r-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ac-blue);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.related-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ac-gray-900);
    line-height: 1.35;
}

/* ── FOOTER ── */
.art-footer {
    background: var(--ac-navy);
    margin-top: 3rem;
}

.art-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.art-footer p {
    color: var(--ac-gray-500);
    font-size: 0.82rem;
}

.art-footer a {
    color: var(--ac-gold);
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--ac-gray-200);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--ac-gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .art-nav { display: none; }
    .art-hero { padding: 2.5rem 1.25rem 2rem; }
    .art-content { padding: 2rem 1.25rem; }
    .art-content h2 { font-size: 1.35rem; }
    .related-section { padding: 0 1.25rem 2rem; }
    .related-grid { grid-template-columns: 1fr; }
    .data-grid { grid-template-columns: 1fr 1fr; }
    .art-footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}

/* ── ANIMATION ── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.art-hero-inner { animation: fadeIn 0.5s ease-out; }
.art-content { animation: fadeIn 0.6s ease-out 0.15s both; }
