:root {
    --emerald-deep: #064e3b;
    --emerald-mid: #047857;
    --teal-accent: #0d9488;
    --ivory-bg: #fafaf9;
    --surface: #ffffff;
    --text-main: #1c1917;
    --text-muted: #57534e;
    --border-subtle: #e7e5e4;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow-soft: 0 10px 30px -10px rgba(6, 78, 59, 0.08);
    --shadow-hover: 0 20px 40px -12px rgba(6, 78, 59, 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(--ivory-bg);
    color: var(--text-main);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--teal-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(--emerald-deep);
    letter-spacing: -0.02em;
}

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

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

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

.nav-links a:hover {
    color: var(--teal-accent);
}

.hero {
    background: linear-gradient(135deg, #064e3b 0%, #0f766e 100%);
    color: #ffffff;
    padding: 5.5rem 0 4.5rem;
    text-align: center;
    border-bottom: 4px solid #34d399;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    color: #a7f3d0;
    border: 1px solid rgba(167, 243, 208, 0.35);
    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: #d1fae5;
    max-width: 740px;
    margin: 0 auto 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: #10b981;
    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: #059669;
    color: #ffffff;
    transform: translateY(-2px);
}

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

.section-title {
    font-size: 2rem;
    color: var(--emerald-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: #e7e5e4;
}

.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: #ecfdf5;
    color: var(--emerald-mid);
    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(--emerald-deep);
}

.card-title a:hover {
    color: var(--teal-accent);
}

.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(--emerald-mid);
}

.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(--emerald-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(--emerald-deep);
    margin: 2.2rem 0 1rem;
    line-height: 1.3;
    border-bottom: 2px solid #f5f5f4;
    padding-bottom: 0.4rem;
}

.article-body h3 {
    font-size: 1.2rem;
    color: var(--emerald-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, #ecfdf5, #fafaf9);
    border-left: 4px solid var(--teal-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(--emerald-deep);
    color: #d1fae5;
    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: #d1fae5;
}

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

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