/* Caidadecabellos.net — Medical Blog */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Georgia','Times New Roman',serif;color:#2c3e2d;background:#fafaf7;line-height:1.65;font-size:17px}

/* ---------- Header ---------- */
header.site-header{background:#2e7d4f;color:#fff;border-bottom:4px solid #1b5e3a;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.header-inner{max-width:1180px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px}
.brand{font-family:'Georgia',serif;font-size:24px;font-weight:700;letter-spacing:-.3px;color:#fff;text-decoration:none}
.brand span{color:#c8e6c9}
nav.main-nav ul{list-style:none;display:flex;gap:22px;flex-wrap:wrap}
nav.main-nav a{color:#fff;text-decoration:none;font-size:15px;font-family:'Helvetica Neue',Arial,sans-serif;font-weight:500;padding:6px 2px;border-bottom:2px solid transparent;transition:border .2s}
nav.main-nav a:hover{border-color:#c8e6c9}

/* ---------- Layout ---------- */
.page-wrap{max-width:1180px;margin:0 auto;padding:30px 20px;display:grid;grid-template-columns:1fr 300px;gap:38px}
@media (max-width:900px){.page-wrap{grid-template-columns:1fr}}
main.content{background:#fff;padding:36px 42px;border:1px solid #e0e6df;border-radius:4px}
@media (max-width:600px){main.content{padding:22px 18px}}

/* ---------- Typography ---------- */
h1{font-size:34px;color:#1b5e3a;margin-bottom:18px;line-height:1.25;font-weight:700}
h2{font-size:25px;color:#2e7d4f;margin:34px 0 14px;border-left:4px solid #4caf6f;padding-left:12px;font-weight:700}
h3{font-size:19px;color:#1b5e3a;margin:22px 0 10px;font-weight:700}
p{margin-bottom:16px;color:#3a3a3a}
a{color:#2e7d4f;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
a:hover{color:#1b5e3a}
ul.bullet,ol.bullet{margin:14px 0 18px 26px;color:#3a3a3a}
ul.bullet li,ol.bullet li{margin-bottom:8px}
strong{color:#1b5e3a}
blockquote{border-left:4px solid #4caf6f;background:#f1f8f3;padding:14px 20px;margin:20px 0;font-style:italic;color:#2c3e2d}

/* ---------- TOC ---------- */
.toc{background:#f1f8f3;border:1px solid #c8e6c9;padding:18px 24px;margin:24px 0 30px;border-radius:4px}
.toc h3{margin-top:0;color:#1b5e3a;font-size:17px}
.toc ol{margin:10px 0 0 22px}
.toc a{text-decoration:none;color:#2e7d4f}
.toc a:hover{text-decoration:underline}

/* ---------- Author box ---------- */
.author-box{display:flex;align-items:center;gap:16px;background:#f7faf5;border:1px solid #d6e4d1;padding:16px 20px;margin:26px 0;border-radius:4px}
.author-avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#4caf6f,#2e7d4f);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;flex-shrink:0}
.author-info strong{display:block;color:#1b5e3a;font-size:16px}
.author-info span{font-size:13px;color:#5a6b5e}

/* ---------- Images ---------- */
img.hero-img{width:100%;height:auto;display:block;margin:22px 0;border:1px solid #e0e6df}
figure{margin:20px 0}
figure img{width:100%;height:auto;display:block}
figcaption{font-size:13px;color:#6a7b6e;margin-top:8px;font-style:italic;text-align:center}

/* ---------- FAQ ---------- */
.faq-item{border-bottom:1px solid #e0e6df;padding:14px 0}
.faq-item h3{font-size:17px;margin:0 0 6px;color:#1b5e3a}
.faq-item p{margin:0;font-size:16px}

/* ---------- Cross-links box ---------- */
.related{background:#f7faf5;border:1px solid #d6e4d1;padding:20px 24px;margin:30px 0;border-radius:4px}
.related h3{margin-top:0;color:#1b5e3a}
.related ul{list-style:none;margin-top:10px}
.related ul li{padding:6px 0;padding-left:18px;position:relative}
.related ul li::before{content:"›";position:absolute;left:0;color:#4caf6f;font-weight:700}

/* ---------- Sidebar ---------- */
aside.sidebar{display:flex;flex-direction:column;gap:22px}
.widget{background:#fff;border:1px solid #e0e6df;padding:20px 22px;border-radius:4px}
.widget h3{font-size:16px;margin-bottom:12px;color:#1b5e3a;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #4caf6f;padding-bottom:8px}
.widget ul{list-style:none}
.widget ul li{padding:8px 0;border-bottom:1px dotted #d6e4d1;font-size:15px}
.widget ul li:last-child{border-bottom:0}
.widget a{text-decoration:none;color:#2c3e2d}
.widget a:hover{color:#2e7d4f}

/* ---------- CTA ---------- */
.cta-box{background:linear-gradient(135deg,#e8f5ec,#d6efdb);border-left:4px solid #2e7d4f;padding:22px 26px;margin:30px 0;border-radius:4px}
.cta-box h3{color:#1b5e3a;margin-top:0}

/* ---------- Footer ---------- */
footer.site-footer{background:#1b5e3a;color:#d6efdb;margin-top:50px;padding:42px 20px 22px}
.footer-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px}
@media (max-width:800px){.footer-inner{grid-template-columns:1fr 1fr}}
@media (max-width:500px){.footer-inner{grid-template-columns:1fr}}
.footer-col h4{color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.7px;margin-bottom:14px;border-bottom:1px solid #2e7d4f;padding-bottom:7px}
.footer-col p, .footer-col a{color:#c8e6c9;font-size:14px;text-decoration:none;line-height:1.7}
.footer-col a:hover{color:#fff;text-decoration:underline}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:6px}
.footer-social{display:flex;gap:12px;margin-top:10px}
.footer-social a{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;background:#2e7d4f;color:#fff;border-radius:50%;font-size:13px;text-decoration:none}
.footer-social a:hover{background:#4caf6f}
.footer-bottom{max-width:1180px;margin:26px auto 0;padding-top:20px;border-top:1px solid #2e7d4f;text-align:center;font-size:13px;color:#a5c9af}

/* ---------- Tables ---------- */
table{width:100%;border-collapse:collapse;margin:20px 0;font-size:15px}
th,td{padding:10px 14px;text-align:left;border-bottom:1px solid #d6e4d1}
th{background:#f1f8f3;color:#1b5e3a;font-weight:700}

/* ---------- Contact form ---------- */
.contact-form label{display:block;font-weight:700;color:#1b5e3a;margin:14px 0 6px;font-size:14px}
.contact-form input,.contact-form textarea{width:100%;padding:10px 12px;border:1px solid #c8d4c1;background:#fff;font-family:inherit;font-size:15px;border-radius:3px}
.contact-form button{margin-top:16px;background:#2e7d4f;color:#fff;border:0;padding:12px 28px;font-size:15px;font-weight:700;cursor:pointer;border-radius:3px}
.contact-form button:hover{background:#1b5e3a}
