/* style.css — Miltonfells additions on top of the mirrored news chrome.
   Covers the article/legal templates (the mirror homepage has none) and the
   functional bits (search, sidebar, newsletter, contact). Mirror classes are left intact. */

:root { --bn-ink: #14161a; --bn-accent: #ac115d; --bn-line: #e3e3e6; }
html, body { margin: 0; }
body { font-family: 'Libre Franklin', Arial, Helvetica, sans-serif; color: var(--bn-ink); background: #fff; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: var(--bn-accent); }

/* ---- header: magenta bar + wordmark (lalibre identity) ---- */
body { padding-top: 0; }
.ap-Menu { position: static; width: auto; box-shadow: none; background: transparent; }
.ap-LayoutHeader { position: sticky; top: 0; z-index: 40; }
.ap-PrimaryMenu { display: flex; align-items: center; justify-content: space-between; background: #ac115d; border-bottom: 0; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; min-height: 59px; padding: 0 16px; position: relative; z-index: 999; }
.ap-PrimaryMenu-item--left, .ap-PrimaryMenu-item--right { display: flex; align-items: center; gap: 8px; }
.ap-LogoMenu-text { font-family: 'Manuale', georgia, serif; font-weight: 800; font-size: 26px; letter-spacing: .01em; color: #fff; text-decoration: none; white-space: nowrap; }
.ap-LogoMenu-text:hover { color: #f2c0d6; }
.ap-SidebarButton, .ap-SearchButton { background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.ap-SidebarButton-icon:before, .ap-SidebarButton-icon:after, .ap-SidebarButton-iconLine { background-color: currentColor; height: 2px; }
.ap-SearchButton-icon { display: inline-block; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.ap-SearchButton-iconCircle::after { content: ''; position: absolute; width: 9px; height: 2px; background: currentColor; transform: rotate(45deg); right: -5px; bottom: -2px; }

/* ---- search (hidden until toggled) ---- */
.ap-SearchMenu { display: none; }
.ap-SearchMenu.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--bn-line); box-shadow: 0 8px 18px rgba(0,0,0,.08); z-index: 50; }
.ap-SearchMenu--sidebar { display: block; position: static; box-shadow: none; border: 0; }
.ap-SearchMenu-container { padding: 10px 12px; }
.ap-Search-results { list-style: none; margin: 0; padding: 0 12px 10px; max-height: 55vh; overflow: auto; }
.ap-Search-results li { margin: 0; }
.ap-Search-results a { display: block; padding: 9px 10px; color: var(--bn-ink); text-decoration: none; border-bottom: 1px solid var(--bn-line); }
.ap-Search-results a:hover, .ap-Search-results a:focus { background: #f6f6f8; }

/* ---- sidebar nav (mirror is off-canvas; we toggle it with .is-open) ---- */
.ap-SidebarMenu-content { padding: 12px; }
.ap-SidebarMenu-group ul { list-style: none; margin: 0; padding: 0; }
.ap-SidebarMenuItem { border-bottom: 1px solid var(--bn-line); }
.ap-SidebarMenuItem-link { display: block; padding: 13px 6px; color: var(--bn-ink); text-decoration: none; font-weight: 600; }
.ap-SidebarMenuItem-link:hover, .ap-SidebarMenuItem-link:focus { color: var(--bn-accent); }

/* ---- secondary menu strip (serif news nav) ---- */
.ap-SecondaryMenu.is-header { background: #fff; border-bottom: 1px solid var(--bn-line); }
.ap-SecondaryMenu-container { display: flex; align-items: center; gap: 14px; padding: 0 16px; max-width: 1200px; margin: 0 auto; overflow-x: auto; }
.ap-SecondaryMenu-static { flex: 0 0 auto; }
.ap-SecondaryMenu-iconHome { font-family: 'Manuale', georgia, serif; font-weight: 800; font-size: 16px; text-decoration: none; color: #262729; line-height: 48px; }
.ap-SecondaryMenu-iconHome:hover, .ap-SecondaryMenu-iconHome.is-current { color: var(--bn-accent); }
.ap-SecondaryMenu-dynamic { flex: 1 1 auto; min-width: 0; }
.ap-SecondaryMenu-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.ap-SecondaryMenu-listLink, .ap-SecondaryMenu-listLink:visited { text-decoration: none; color: #262729; background: transparent; font-family: 'Manuale', georgia, serif; font-weight: 800; font-size: 17px; line-height: 48px; white-space: nowrap; }
.ap-SecondaryMenu-listLink:hover, .ap-SecondaryMenu-listLink.is-current { color: var(--bn-accent); background: transparent; }

/* ---- layout ---- */
.ap-LayoutBody { max-width: 1200px; margin: 0 auto; padding: 18px 12px 40px; }
.ap-PageHeader { border-bottom: 2px solid var(--bn-ink); padding-bottom: 14px; margin-bottom: 18px; }
.ap-PageTitle { font-family: 'Manuale', serif; font-size: 32px; line-height: 1.15; font-weight: 800; margin: 0 0 8px; }
.ap-PageTitle-dek { font-size: 16px; color: #494a4c; margin: 0; }
.ap-Body--intro { font-size: 17px; line-height: 1.7; color: #303236; margin: 0; }
.ap-Chain { margin: 0 0 22px; }
.ap-Body--intro a, .ap-Article-body a { color: var(--bn-accent); text-decoration: underline; }

/* ---- article + legal template ---- */
.ap-Article { max-width: 780px; margin: 0 auto; }
.ap-Article-header { margin-bottom: 18px; }
.ap-Breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #6c6d6f; margin-bottom: 12px; }
.ap-Breadcrumb a { color: var(--bn-accent); text-decoration: none; }
.ap-Breadcrumb a:hover { text-decoration: underline; }
.ap-Breadcrumb-sep { color: #b5b5b8; }
.ap-Article-title { font-family: 'Manuale', serif; font-size: 36px; line-height: 1.14; font-weight: 800; margin: 0 0 12px; }
.ap-Article-dek { font-size: 19px; line-height: 1.5; color: #494a4c; margin: 0 0 14px; }
.ap-Article-byline { font-size: 13px; color: #6c6d6f; display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid var(--bn-line); border-bottom: 1px solid var(--bn-line); padding: 10px 0; }
.ap-Article-author { font-weight: 700; color: var(--bn-ink); }
.ap-Article-hero, .ap-Article-figure { margin: 18px 0 22px; }
.ap-Article-hero img, .ap-Article-figure img { width: 100%; display: block; border-radius: 2px; background: #edeef0; }
.ap-Article figcaption { font-size: 12px; color: #6c6d6f; padding: 6px 0 0; }
.ap-Article-body { font-size: 18px; line-height: 1.72; color: #26272a; }
.ap-Article-body p { margin: 0 0 18px; }
.ap-Article-section { margin: 0 0 8px; }
.ap-Article-section h2 { font-family: 'Manuale', serif; font-size: 26px; line-height: 1.25; margin: 30px 0 12px; }
.ap-Article-body ul, .ap-Article-body ol { margin: 0 0 18px; padding-left: 22px; }
.ap-Article-body li { margin: 0 0 8px; }
.ap-Article-tagline { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--bn-line); font-style: italic; color: #494a4c; }

.keyfacts { background: #f6f6f8; border-left: 4px solid var(--bn-accent); padding: 16px 18px; margin: 22px 0; }
.keyfacts__h { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; }
.keyfacts ul { margin: 0; padding-left: 20px; font-size: 16px; }
.pullquote { margin: 26px 0; padding: 4px 0 4px 20px; border-left: 5px solid var(--bn-ink); }
.pullquote p { font-family: 'Manuale', serif; font-size: 23px; line-height: 1.4; font-style: italic; font-weight: 600; margin: 0; }

/* ---- footer forms ---- */
.footer-signup__row { display: flex; gap: 8px; padding: 4px 0 10px; }
.footer-signup__input { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #bdbdbd; font-size: 14px; }
.footer-signup__btn { padding: 9px 14px; border: 0; background: var(--bn-ink); color: #fff; font-size: 14px; cursor: pointer; }
.footer-signup__btn:hover { background: var(--bn-accent); }
.footer-signup__msg { font-size: 13px; margin: 0 0 8px; }
.contact-form { margin: 10px 0 20px; max-width: 560px; }
.contact-form__row { margin-bottom: 12px; }
.contact-form__row label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.contact-form__row input, .contact-form__row textarea { width: 100%; padding: 9px 10px; border: 1px solid #c3c4c6; font-size: 16px; }
.contact-form__btn { padding: 10px 18px; border: 0; background: var(--bn-accent); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.contact-form__msg { font-size: 14px; margin-top: 10px; }

@media (max-width: 767px) {
  .ap-Article-title { font-size: 28px; }
  .ap-Article-body { font-size: 17px; }
  .ap-PageTitle { font-size: 26px; }
  .ap-LogoMenu-text { font-size: 21px; }
  .ap-SecondaryMenu-container { overflow-x: auto; }
  .ap-SecondaryMenu-list { gap: 14px; }
}




