/* Norfolkline archive — editorial design v1.1.0
   A deliberate reset of v1.0's gradient, pills, shadows, floating cards and auto-navigation.
   Astra + standard Gutenberg; no scripts, no fonts fetched from external services. */
:root { --nf-ink:#18252e; --nf-muted:#606c73; --nf-blue:#123e58; --nf-link:#125672; --nf-rule:#d9dfe1; --nf-pale:#f4f6f5; }
html { scroll-behavior:auto; }
body.nf-editorial { background:#fff !important; color:var(--nf-ink) !important; font-family:Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; }
body.nf-editorial .site { background:#fff; }
/* Masthead: a quiet publication masthead, not a SaaS navigation bar. */
body.nf-editorial #masthead, body.nf-editorial .site-header { background:#fff !important; box-shadow:none !important; border-bottom:1px solid var(--nf-rule); }
body.nf-editorial #masthead .ast-primary-header-bar,body.nf-editorial #masthead .main-header-bar,body.nf-editorial #masthead .ast-builder-grid-row-container {background:#fff !important;}
body.nf-editorial #masthead .site-title,body.nf-editorial #masthead .site-title a,body.nf-editorial #masthead .main-header-menu > .menu-item > .menu-link,body.nf-editorial #masthead .ast-builder-menu .main-navigation > ul > li > a {color:#273740 !important;}
body.nf-editorial #masthead .main-header-menu .menu-link {font-size:13px;font-weight:600;letter-spacing:.015em;text-transform:none;}
body.nf-editorial #masthead .main-header-menu .current-menu-item > .menu-link,body.nf-editorial #masthead .main-header-menu .menu-link:hover {color:var(--nf-link) !important;}
body.nf-editorial #masthead .site-logo-img img,body.nf-editorial #masthead .custom-logo-link img {max-height:58px;width:auto;}
body.nf-editorial #masthead .ast-mobile-svg,body.nf-editorial #masthead .ast-mobile-menu-trigger-minimal {color:#172c3b !important;fill:#172c3b !important;}
body.nf-editorial.ast-header-break-point .main-header-menu,body.nf-editorial.ast-header-break-point .ast-mobile-popup-content {background:#fff !important;}
/* Entire page is a publication page, not a rounded white rectangle on gray. */
body.nf-editorial #content.site-content {padding-top:0;}
body.nf-editorial #content .ast-container {max-width:1150px;}
body.nf-editorial #primary {margin-top:34px;}
body.nf-editorial .site-main article.page,body.nf-editorial .site-main article.post {background:transparent !important;padding:0 14px 64px !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;}
body.nf-editorial .entry-header {border-bottom:1px solid var(--nf-rule);padding:0 0 20px;margin-bottom:24px;}
body.nf-editorial header.entry-header .entry-title,body.nf-editorial .entry-header .entry-title,body.nf-editorial .site-main h1 {font-family:Georgia,'Times New Roman',serif;font-weight:700;color:#172c3b;font-size:clamp(35px,4.2vw,55px);line-height:1.08;letter-spacing:-.035em;}
body.nf-editorial .entry-content {max-width:1100px;}
body.nf-editorial .entry-content > p,body.nf-editorial .entry-content > ul,body.nf-editorial .entry-content > ol {max-width:830px;}
body.nf-editorial .entry-content h2 {font-family:Georgia,'Times New Roman',serif;font-weight:700;color:#172c3b;font-size:clamp(25px,2.7vw,33px);line-height:1.18;letter-spacing:-.02em;margin:44px 0 14px;}
body.nf-editorial .entry-content h3 {font-family:Arial,Helvetica,sans-serif;font-weight:700;color:#253845;font-size:18px;letter-spacing:0;line-height:1.32;margin:20px 0 9px;}
body.nf-editorial .entry-content p,body.nf-editorial .entry-content li {font-family:Arial,Helvetica,sans-serif;color:#33434b;font-size:16px;line-height:1.65;}
body.nf-editorial .entry-content p {margin-bottom:16px;}
body.nf-editorial .entry-content strong {color:#24353e;font-weight:700;}
body.nf-editorial .entry-content a {color:var(--nf-link);text-decoration:underline;text-decoration-color:#a2b3bc;text-underline-offset:3px;}
body.nf-editorial .entry-content a:hover {color:#071e2b;text-decoration-color:#071e2b;}
/* Feature: an editorial lead with a single recognisable ship photograph, no gradient or overprint. */
body.nf-editorial .entry-content .nf-hero {position:relative !important;isolation:isolate;min-height:320px;border:0 !important;border-radius:0 !important;box-shadow:none !important;margin:0 0 32px !important;padding:44px 48% 45px 40px !important;background:#eef2f1 !important;color:#1b2b35 !important;overflow:hidden;}
body.nf-editorial .entry-content .nf-hero:before {content:'';position:absolute;inset:0 0 0 54%;z-index:0;opacity:1;background:url('https://norfolkline-ferries.co.uk/wp-content/uploads/2025/02/Maersk_Delft_1-1024x612.jpg') center center / cover no-repeat;}
body.nf-editorial .entry-content .nf-hero:after {content:'' !important;display:none !important;}
body.nf-editorial .entry-content .nf-hero > * {position:relative;z-index:1;max-width:100%;}
body.nf-editorial .entry-content .nf-hero h2 {font-family:Georgia,'Times New Roman',serif !important;font-size:clamp(30px,3.8vw,48px) !important;line-height:1.08 !important;letter-spacing:-.035em !important;color:#182d39 !important;margin:0 0 22px !important;}
body.nf-editorial .entry-content .nf-hero p,body.nf-editorial .entry-content .nf-hero strong {color:#34464d !important;font-size:16px;line-height:1.55;}
body.nf-editorial .entry-content .nf-hero a {color:#0b5577 !important;}
/* Flat data strips and content sections: no tiles, hover-lifts or pill colours. */
body.nf-editorial .entry-content .wp-block-columns {align-items:stretch;gap:26px;margin:26px 0 38px;}
body.nf-editorial .entry-content .wp-block-columns > .wp-block-column {min-width:0;}
body.nf-editorial .entry-content .nf-fact,body.nf-editorial .entry-content .nf-card,body.nf-editorial .entry-content .nf-timeline,body.nf-editorial .entry-content .nf-panel,body.nf-editorial .entry-content .nf-reference {background:transparent !important;color:#263b47 !important;border-radius:0 !important;border:0 !important;border-top:2px solid #c4d0d5 !important;padding:14px 0 10px !important;box-shadow:none !important;transform:none !important;transition:none !important;}
body.nf-editorial .entry-content .nf-fact {border-top:3px solid #1e465e !important;}
body.nf-editorial .entry-content .nf-fact h3 {font:700 33px/1.05 Georgia,'Times New Roman',serif !important;margin:4px 0 10px;color:#162f40 !important;}
body.nf-editorial .entry-content .nf-fact p {font-size:13px !important;line-height:1.45;margin:0;}
body.nf-editorial .entry-content .nf-card h3,body.nf-editorial .entry-content .nf-timeline h3 {font-size:18px;margin:0 0 9px;}
body.nf-editorial .entry-content .nf-card p:last-child,body.nf-editorial .entry-content .nf-timeline p:last-child {margin-bottom:0;}
body.nf-editorial .entry-content .nf-booking {background:#f2f4f1 !important;border:0 !important;border-left:3px solid #597b88 !important;border-radius:0 !important;padding:24px 30px !important;box-shadow:none !important;margin:30px 0;}
body.nf-editorial .entry-content .nf-booking h3 {margin:0 0 10px;color:#1c3c4b;}
body.nf-editorial .entry-content .nf-booking p:last-child {margin:0;}
body.nf-editorial .entry-content .nf-booking a[href^='/go/'] {display:inline !important;border:0 !important;border-radius:0 !important;background:transparent !important;color:#0c4f71 !important;font-size:inherit !important;font-weight:700;box-shadow:none !important;padding:0 !important;margin:0 !important;text-decoration:underline !important;}
body.nf-editorial .entry-content .nf-disclaimer {background:#f7f8f7 !important;color:#58646b !important;border:0 !important;border-radius:0 !important;padding:16px 20px !important;}
body.nf-editorial .entry-content .nf-disclaimer p {font-size:13px;color:#58646b;line-height:1.5;margin:0;}
/* Tables imitate an editorial transport reference book. */
body.nf-editorial .entry-content figure.wp-block-table {overflow-x:auto;border:0 !important;border-top:2px solid #273e4c !important;border-bottom:1px solid #9faeb4 !important;border-radius:0 !important;box-shadow:none !important;margin:24px 0 37px;background:transparent !important;}
body.nf-editorial .entry-content .wp-block-table table {background:#fff !important;width:100%;margin:0;border-collapse:collapse;min-width:580px;table-layout:auto;font-size:14px;}
body.nf-editorial .entry-content .wp-block-table th {background:#f1f3f3 !important;color:#253b46 !important;text-transform:none !important;letter-spacing:0 !important;font-weight:700 !important;font-size:13px !important;text-align:left;padding:13px 12px;border:0 !important;border-bottom:1px solid #c5ced2 !important;white-space:normal;}
body.nf-editorial .entry-content .wp-block-table td {font-size:14px !important;line-height:1.48 !important;color:#35444b !important;border:0 !important;border-bottom:1px solid #e1e5e6 !important;padding:11px 12px;vertical-align:top;}
body.nf-editorial .entry-content .wp-block-table tbody tr:nth-child(even) td,body.nf-editorial .entry-content .wp-block-table tbody tr:hover td {background:#fff !important;}
body.nf-editorial .entry-content .wp-block-table td:first-child {color:#223b49;font-weight:700;}
/* Photos and captions: no rounded Instagram cards. */
body.nf-editorial .entry-content .wp-block-image {margin:26px auto;}
body.nf-editorial .entry-content .wp-block-image img {display:block;border-radius:0 !important;max-width:100%;height:auto;object-fit:contain;}
body.nf-editorial .entry-content .wp-block-image figcaption {text-align:left;color:#66737a !important;font-size:12px !important;line-height:1.5;margin-top:9px;border-left:2px solid #c7d0d2;padding-left:10px;}
body.nf-editorial .entry-content .wp-block-column .wp-block-image {margin:12px 0 16px;}
body.nf-editorial .entry-content small {font-size:12px;color:#68757a;line-height:1.5;}
/* Footer remains informative, but no corporate dark 'dashboard' effect. */
body.nf-editorial .site-footer,body.nf-editorial .site-footer .site-above-footer-wrap,body.nf-editorial .site-footer .site-primary-footer-wrap,body.nf-editorial .site-footer .site-below-footer-wrap,body.nf-editorial .ast-footer-overlay {background:#eef1f1 !important;color:#4a585f !important;box-shadow:none !important;}
body.nf-editorial .site-footer {border-top:1px solid #cbd3d6;}
body.nf-editorial .site-footer p,body.nf-editorial .site-footer li,body.nf-editorial .site-footer .widget {font-size:13px;color:#46545b !important;line-height:1.6;}
body.nf-editorial .site-footer a,body.nf-editorial .site-footer strong,body.nf-editorial .site-footer .widget-title {color:#243d4d !important;}
body.nf-editorial .site-footer .site-primary-footer-wrap {padding-top:29px;padding-bottom:25px;}
/* Old automatic jump nav removed in 1.1.0; if legacy markup exists, do not show it. */
body.nf-editorial .nf-jump {display:none !important;}
@media(max-width:960px){
 body.nf-editorial #content .ast-container {padding:0 22px;}
 body.nf-editorial #primary {margin-top:24px;}
 body.nf-editorial .entry-content .nf-hero {padding:35px 43% 35px 30px !important;min-height:290px;}
 body.nf-editorial .entry-content .nf-hero:before {left:61%;}
 body.nf-editorial .entry-content .wp-block-columns {gap:16px;}
}
@media(max-width:650px){
 body.nf-editorial #content .ast-container {padding:0 16px;}
 body.nf-editorial #primary {margin-top:20px;}
 body.nf-editorial .site-main article.page,body.nf-editorial .site-main article.post {padding:0 0 38px !important;}
 body.nf-editorial .entry-content .nf-hero {padding:230px 22px 23px !important;min-height:0;}
 body.nf-editorial .entry-content .nf-hero:before {inset:0 0 auto 0;height:208px;background-position:center 49%;}
 body.nf-editorial .entry-content .nf-hero h2 {font-size:33px !important;}
 body.nf-editorial .entry-content .wp-block-columns {flex-wrap:wrap !important;gap:10px 20px;margin:19px 0 30px;}
 body.nf-editorial .entry-content .wp-block-columns > .wp-block-column {flex-basis:calc(50% - 10px) !important;flex-grow:1;min-width:0;}
 body.nf-editorial .entry-content .wp-block-columns > .wp-block-column .nf-fact p {font-size:12px !important;}
 body.nf-editorial .entry-content .wp-block-columns:has(.nf-card) > .wp-block-column,body.nf-editorial .entry-content .wp-block-columns:has(.nf-timeline) > .wp-block-column,body.nf-editorial .entry-content .wp-block-columns:has(.nf-panel) > .wp-block-column {flex-basis:100% !important;}
 body.nf-editorial .entry-content h2 {margin-top:31px;}
 body.nf-editorial .entry-content p,body.nf-editorial .entry-content li {font-size:15px;line-height:1.62;}
 body.nf-editorial .entry-content .wp-block-table table {min-width:545px;}
 body.nf-editorial .entry-content .wp-block-table td {padding:10px;}
 body.nf-editorial .entry-content .nf-booking {padding:20px !important;}
}
