/* ==========================================================================
   AUSTINOVO — Industry Insights / Article styles
   Shared by all pages under /news/
   ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black: #1e2630;
    --white: #faf8f5;
    --gray-50: #f0f0f2;
    --gray-100: #e2e4e9;
    --gray-200: #c9cdd4;
    --gray-300: #9da3ad;
    --gray-400: #757c87;
    --gray-500: #59606b;
    --gray-600: #454b56;
    --gray-700: #333842;
    --gray-800: #242a33;
    --gray-900: #1a2029;
    --accent: #d4650f;
    --max-width: 1200px;
    --nav-height: 68px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* ===== Top bar ===== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.topbar-inner {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar .logo-img { height: 34px; width: auto; }

.topbar-links { display: flex; align-items: center; gap: 28px; list-style: none; }

.topbar-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color .2s ease;
}

.topbar-links a:hover { color: var(--black); }

.topbar-cta {
    padding: 9px 20px;
    background: var(--black);
    color: var(--white) !important;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: opacity .2s ease;
}

.topbar-cta:hover { opacity: .85; }

/* ===== Breadcrumb ===== */
.crumb {
    font-size: 0.8125rem;
    color: var(--gray-400);
    padding: 28px 0 0;
}

.crumb a { color: var(--gray-500); }
.crumb a:hover { color: var(--accent); }
.crumb span { margin: 0 8px; color: var(--gray-300); }

/* ===== Article layout ===== */
.article-head {
    max-width: 760px;
    padding: 24px 0 40px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 48px;
}

.article-tags, .insight-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }

.insight-meta { margin-bottom: 0; }

.tag {
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
}

.tag-accent { background: rgba(212, 101, 15, 0.1); color: var(--accent); }

.article-date { font-size: 0.8125rem; color: var(--gray-400); }

.article-head h1 {
    font-size: clamp(1.75rem, 3.6vw, 2.625rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

.lede {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--gray-600);
}

.article-body { max-width: 760px; padding-bottom: 24px; }

.article-body h2 {
    font-size: 1.4375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 48px 0 18px;
}

.article-body h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 32px 0 12px;
}

.article-body p {
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.article-body ul, .article-body ol { margin: 0 0 22px 22px; }

.article-body li {
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.article-body strong { color: var(--black); font-weight: 600; }

.article-body a.inline { color: var(--accent); border-bottom: 1px solid rgba(212, 101, 15, 0.3); }
.article-body a.inline:hover { border-color: var(--accent); }

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 28px;
    font-size: 0.9375rem;
}

.article-body th {
    text-align: left;
    padding: 12px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    color: var(--gray-700);
}

.article-body td {
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    vertical-align: top;
}

/* ===== Callouts ===== */
.callout {
    padding: 24px 28px;
    background: var(--gray-50);
    border-left: 3px solid var(--black);
    border-radius: 0 6px 6px 0;
    margin: 28px 0;
}

.callout-accent { border-left-color: var(--accent); background: rgba(212, 101, 15, 0.05); }

.callout-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.callout-accent .callout-title { color: var(--accent); }

.callout p { font-size: 1rem !important; margin-bottom: 12px !important; }
.callout p:last-child, .callout ul:last-child, .callout li:last-child { margin-bottom: 0 !important; }
.callout ul { margin-bottom: 0 !important; }

/* ===== Inline CTA ===== */
.cta-box {
    padding: 36px;
    background: var(--black);
    color: var(--white);
    border-radius: 8px;
    margin: 44px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.cta-box h3 { font-size: 1.1875rem; font-weight: 600; margin-bottom: 8px; color: var(--white); }
.cta-box p { color: var(--gray-300); font-size: 0.9375rem; margin: 0; max-width: 420px; }

.btn-light {
    flex-shrink: 0;
    padding: 13px 26px;
    background: var(--white);
    color: var(--black);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .2s ease;
}

.btn-light:hover { transform: translateY(-2px); }

/* ===== Related ===== */
.related { border-top: 1px solid var(--gray-200); padding: 56px 0 72px; margin-top: 56px; }
.related h2 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gray-500); margin-bottom: 28px; }

.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.related-card {
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    transition: all .3s ease;
    background: var(--white);
}

.related-card:hover { border-color: var(--black); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.related-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.related-card:hover h3 { color: var(--accent); }
.related-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; margin: 0; }

/* ===== Article index ===== */
.index-head { padding: 48px 0 12px; max-width: 700px; }
.index-head h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 18px; }
.index-head p { font-size: 1.0625rem; color: var(--gray-500); line-height: 1.75; }

.index-list { padding: 32px 0 72px; display: grid; gap: 0; }

.index-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-200);
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 32px;
    align-items: start;
}

.index-item:first-child { border-top: 1px solid var(--gray-200); }
.index-item .insight-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
.index-item h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.35; margin-bottom: 10px; }
.index-item a:hover h3 { color: var(--accent); }
.index-item p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.7; margin: 0; }

/* ===== Footer ===== */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 48px 0 32px;
    margin-top: 24px;
}

.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer p { color: var(--gray-400); font-size: 0.8125rem; margin: 0; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer nav a { color: var(--gray-300); font-size: 0.8125rem; transition: color .2s ease; }
.site-footer nav a:hover { color: var(--white); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .related-grid { grid-template-columns: 1fr; }
    .index-item { grid-template-columns: 1fr; gap: 12px; }
    .cta-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .topbar-links { display: none; }
    .article-body table { font-size: 0.875rem; }
    .article-body th, .article-body td { padding: 10px 10px; }
}
