:root {
    --navy-deep: #0f172a;
    --navy-mid: #1e293b;
    --royal-blue: #1d4ed8;
    --gold-accent: #b48a2c;
    --gold-light: #fef9c3;
    --pearl-bg: #f8fafc;
    --surface: #ffffff;
    --text-main: #1e293b;
    --text-muted: #475569;
    --border-subtle: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px -12px rgba(15, 23, 42, 0.14);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--pearl-bg);
    color: var(--text-main);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--royal-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold-accent);
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header.site-header {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy-deep);
    letter-spacing: -0.02em;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--navy-mid);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--royal-blue);
}

.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 5.5rem 0 4.5rem;
    text-align: center;
    border-bottom: 4px solid var(--gold-accent);
}

.hero-badge {
    display: inline-block;
    background: rgba(180, 138, 44, 0.22);
    color: #fde68a;
    border: 1px solid rgba(253, 230, 138, 0.4);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.2;
    max-width: 880px;
    margin: 0 auto 1.25rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 740px;
    margin: 0 auto 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--gold-accent);
    color: #ffffff;
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #9a7320;
    color: #ffffff;
    transform: translateY(-2px);
}

.pillars-section {
    padding: 3.5rem 0 1.5rem;
}

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

.pillar-box {
    background: var(--surface);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.pillar-box h3 {
    font-size: 1.1rem;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

.pillar-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.articles-section {
    padding: 4rem 0 5rem;
}

.section-title {
    font-size: 2rem;
    color: var(--navy-deep);
    text-align: center;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-tag {
    display: inline-block;
    align-self: flex-start;
    background: #eff6ff;
    color: var(--royal-blue);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.28rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.85rem;
}

.card-title {
    font-size: 1.22rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.card-title a {
    color: var(--navy-deep);
}

.card-title a:hover {
    color: var(--royal-blue);
}

.card-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.read-more {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--royal-blue);
}

/* Article Page */
.article-header {
    padding: 3.5rem 1.5rem 2rem;
    max-width: 860px;
    text-align: center;
}

.article-header h1 {
    font-size: clamp(1.85rem, 3.5vw, 2.65rem);
    color: var(--navy-deep);
    line-height: 1.25;
    margin: 0.75rem 0 1rem;
    font-weight: 800;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    flex-wrap: wrap;
}

.hero-image-container {
    max-width: 920px;
    margin: 0 auto 2.5rem;
}

.hero-image-container img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: block;
}

.article-body {
    max-width: 800px;
    margin: 0 auto 4.5rem;
    padding: 2.5rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.article-body h2 {
    font-size: 1.55rem;
    color: var(--navy-deep);
    margin: 2.2rem 0 1rem;
    line-height: 1.3;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.4rem;
}

.article-body h3 {
    font-size: 1.2rem;
    color: var(--navy-mid);
    margin: 1.5rem 0 0.6rem;
}

.article-body p {
    margin-bottom: 1.2rem;
    color: var(--text-main);
}

.article-body ul, .article-body ol {
    margin: 0 0 1.4rem 1.5rem;
}

.article-body li {
    margin-bottom: 0.6rem;
}

.clinic-highlight {
    background: linear-gradient(to right, #eff6ff, #f8fafc);
    border-left: 4px solid var(--gold-accent);
    padding: 1.35rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.8rem 0;
}

.clinic-highlight p {
    margin-bottom: 0;
}

footer.site-footer {
    background-color: var(--navy-deep);
    color: #cbd5e1;
    padding: 4rem 0 2rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #fde68a;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .article-body {
        padding: 1.5rem;
    }
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }
}
