/* myIVFCompare shared site chrome: header, footer and cookie banner.
   Loaded last on every page so it looks identical everywhere. */

html{scrollbar-gutter:stable}

/* ===== Header ===== */
header.header{background:#fff;border-bottom:1px solid #dce8ee;font-family:Arial,Helvetica,sans-serif}
header.header .wrap.nav{width:min(1120px,calc(100% - 48px));max-width:none;margin:0 auto;padding:0;height:92px;min-height:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px}
header.header .brand{display:block;flex:0 0 auto;line-height:0}
header.header .brand img{display:block;width:245px;max-width:245px;height:auto}
header.header .top-nav{display:flex;align-items:center;gap:24px}
header.header .top-nav a{color:#123d79;text-decoration:none;font-size:15px;line-height:1.2;white-space:nowrap}
header.header .about-link{font-weight:600}
header.header .contact-link{font-weight:700}
header.header .top-nav a:hover{color:#19b6b5}
@media(max-width:820px){header.header .wrap.nav{width:calc(100% - 32px);height:76px}header.header .brand img{width:190px;max-width:190px}}
@media(max-width:420px){header.header .wrap.nav{gap:12px}header.header .top-nav{gap:14px}header.header .top-nav a{font-size:14px}header.header .brand img{width:160px;max-width:160px}}

/* ===== Footer ===== */
footer.site-footer{background:#f4f7fb;border-top:1px solid #dce4ed;margin:0;padding:52px 0 0;color:#526273;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.55;text-align:left}
footer.site-footer .wrap{width:min(1120px,calc(100% - 48px));max-width:none;margin:0 auto}
footer.site-footer .footer-grid{display:grid;grid-template-columns:1.45fr repeat(5,1fr);gap:30px;padding-bottom:36px}
footer.site-footer .footer-brand{color:inherit;font-size:inherit;font-weight:400}
footer.site-footer .footer-brand img{display:block;width:180px;max-width:100%;height:auto;margin:0 0 14px}
footer.site-footer .footer-brand p{margin:0 0 14px;max-width:390px;color:#526273;font-size:14px;line-height:1.55}
footer.site-footer .footer-brand p.footer-disclaimer{color:#718093;font-size:12px}
footer.site-footer .footer-column{display:flex;flex-direction:column;gap:9px}
footer.site-footer h3{margin:0 0 7px;color:#053279;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;letter-spacing:.2px;line-height:1.3}
footer.site-footer a{color:#526273;text-decoration:none;font-size:13px;font-weight:400;line-height:1.45}
footer.site-footer a:hover{color:#1764b1;text-decoration:underline}
footer.site-footer .footer-areas{border-top:1px solid #dce4ed;padding:18px 0;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px}
footer.site-footer .footer-areas h3{margin:0 6px 0 0;font-size:13px}
footer.site-footer .footer-bottom{border-top:1px solid #dce4ed;min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#7a8795;font-size:12px}
@media(max-width:1000px){footer.site-footer .footer-grid{grid-template-columns:1.5fr repeat(2,1fr)}}
@media(max-width:820px){footer.site-footer .wrap{width:calc(100% - 32px)}}
@media(max-width:650px){footer.site-footer{padding-top:38px}footer.site-footer .footer-grid{grid-template-columns:1fr 1fr;gap:28px 22px}footer.site-footer .footer-brand{grid-column:1/-1}footer.site-footer .footer-bottom{flex-direction:column;justify-content:center;align-items:flex-start;padding:16px 0}}
@media(max-width:420px){footer.site-footer .footer-grid{grid-template-columns:1fr}}

/* ===== Cookie banner (built by /consent.js) ===== */
.cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:10000;max-width:560px;margin:0 auto;padding:20px 22px;background:#fff;border:1px solid #dce4ed;border-radius:16px;box-shadow:0 18px 50px rgba(5,50,121,.18);color:#243447;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.55;text-align:left}
.cookie-banner h2{margin:0 0 6px;color:#053279;font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:700;letter-spacing:0;line-height:1.3}
.cookie-banner p{margin:0 0 14px}
.cookie-banner a{color:#053279;text-decoration:underline}
.cookie-banner .cookie-actions{display:flex;flex-wrap:wrap;gap:10px}
.cookie-banner button{flex:1 1 180px;min-height:44px;padding:10px 16px;border:1px solid #053279;border-radius:999px;background:#053279;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.cookie-banner button:hover{background:#03245a}
