/*
Theme Name: Southeast Asia Book of Records
Theme URI: https://southeastasiabookofrecords.com/
Author: Southeast Asia Book of Records
Description: Clean, premium regional showcase theme for Southeast Asia Book of Records, featuring a two-slide hero and published WordPress achievement news.
Version: 1.18.0
Text Domain: seabor
*/

:root{--navy:#0b2748;--red:#c51f2d;--gold:#c99739;--ink:#172033;--muted:#657080;--line:#e7ebf0;--soft:#f7f9fc;--white:#fff;--shadow:0 18px 45px rgba(18,35,61,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 40px));margin:auto}.section{padding:86px 0}.section-kicker{font-size:12px;font-weight:800;letter-spacing:.28em;color:var(--red);text-transform:uppercase}.section-title{font-size:clamp(30px,4vw,48px);line-height:1.08;margin:10px 0 14px;color:var(--navy)}.section-lead{font-size:18px;color:var(--muted);max-width:780px}.text-center{text-align:center}.text-center .section-lead{margin-left:auto;margin-right:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-inner{height:88px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand img{width:230px;max-height:72px;object-fit:contain}.main-nav{display:flex;gap:26px;align-items:center;font-size:14px;font-weight:700}.main-nav a{padding:33px 0 28px;position:relative}.main-nav a:after{content:"";position:absolute;left:0;bottom:20px;width:0;height:2px;background:var(--red);transition:.25s}.main-nav a:hover:after{width:100%}.nav-cta{border:1px solid var(--red);padding:10px 16px!important;border-radius:999px;color:var(--red)}.nav-cta:after{display:none!important}.menu-toggle{display:none;border:0;background:none;font-size:26px}
.hero{position:relative;overflow:hidden}.slides{position:relative;height:620px}.slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;background-size:cover;background-position:center}.slide.active{opacity:1}.slide:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,22,43,.82) 0%,rgba(4,22,43,.62) 34%,rgba(4,22,43,.14) 67%,rgba(4,22,43,.02) 100%)}.slide-content{position:relative;z-index:2;height:100%;display:flex;align-items:center}.hero-copy{max-width:690px;color:white}.hero-kicker{font-size:13px;font-weight:800;letter-spacing:.24em;text-transform:uppercase;color:#ffd792}.hero h1{font-size:clamp(44px,6vw,76px);line-height:.98;margin:16px 0 20px}.hero p{font-size:20px;max-width:670px;margin:0 0 28px;color:#f3f7fb}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:999px;font-weight:800;font-size:14px;transition:.25s}.btn-primary{background:var(--red);color:white}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(197,31,45,.32)}.btn-light{background:white;color:var(--navy)}.hero-dots{position:absolute;z-index:4;left:50%;bottom:22px;transform:translateX(-50%);display:flex;gap:10px}.hero-dot{width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,.5);cursor:pointer}.hero-dot.active{background:#fff;width:28px;border-radius:10px}
.about-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}.about-card{background:linear-gradient(145deg,#f6f8fb,#fff);border:1px solid var(--line);border-radius:28px;padding:38px;box-shadow:var(--shadow)}.about-card h3{font-size:28px;margin:0 0 8px;color:var(--navy)}.map-art{min-height:360px;border-radius:28px;background:radial-gradient(circle at 70% 30%,rgba(197,31,45,.11),transparent 32%),linear-gradient(145deg,#f8fbff,#eef3f9);position:relative;overflow:hidden}.map-art:before{content:"SOUTHEAST ASIA";position:absolute;inset:0;display:grid;place-items:center;font-weight:900;font-size:46px;letter-spacing:.16em;color:rgba(11,39,72,.09);transform:rotate(-9deg)}
.countries{padding:28px 0 0}.country-grid{display:grid;grid-template-columns:repeat(11,1fr);gap:14px}.country{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;font-size:12px;font-weight:700}.flag{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:white;border:1px solid var(--line);box-shadow:0 8px 18px rgba(23,32,51,.08);font-size:24px}
.recognise{background:#fbf8f2}.recognise-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}.recognise-card{background:white;border:1px solid #eee5d6;border-radius:20px;padding:26px;min-height:185px;transition:.25s}.recognise-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.recognise-icon{font-size:32px}.recognise-card h3{margin:11px 0 7px;color:var(--navy);font-size:19px}.recognise-card p{margin:0;color:var(--muted);font-size:14px}
.process-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:38px}.step{text-align:center;padding:20px 14px}.step-num{font-size:12px;color:var(--red);font-weight:900;letter-spacing:.15em}.step-icon{margin:13px auto 16px;width:72px;height:72px;border:1px solid #cdd9e6;border-radius:50%;display:grid;place-items:center;font-size:28px;background:white;color:var(--navy)}.step h3{font-size:15px;color:var(--navy);margin:0 0 8px}.step p{font-size:13px;color:var(--muted);margin:0}
.explore-band{background:var(--navy);color:white;padding:55px 0}.explore-band .section-title{color:white}.country-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.country-links a{border:1px solid rgba(255,255,255,.26);padding:9px 14px;border-radius:999px;font-size:13px}.country-links a:hover{background:white;color:var(--navy)}
.news-section{background:#f5f9ff}.news-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:30px}.news-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.news-card{background:white;border:1px solid #dfe7f0;border-radius:18px;overflow:hidden;box-shadow:0 10px 25px rgba(23,54,93,.06);display:flex;flex-direction:column}.news-thumb{height:150px;background:linear-gradient(135deg,#dde8f5,#b9cbe0);position:relative;overflow:hidden}.news-thumb img{width:100%;height:100%;object-fit:cover}.news-thumb .source-mark{position:absolute;left:12px;bottom:12px;background:rgba(255,255,255,.95);padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}.news-body{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1}.news-meta{font-size:11px;color:var(--red);font-weight:800;text-transform:uppercase;letter-spacing:.06em}.news-title{font-size:17px;line-height:1.28;color:var(--navy);font-weight:800;margin:0}.news-excerpt{font-size:13px;color:var(--muted);margin:0}.news-link{font-size:13px;font-weight:800;color:var(--red);margin-top:auto}.news-note{font-size:12px;color:#7d8794;margin-top:18px}
.closing{position:relative;background:linear-gradient(120deg,#fff8ec,#f1f7ff);overflow:hidden}.closing:after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-100px;top:-130px;background:rgba(197,31,45,.07)}.closing-inner{position:relative;z-index:2;text-align:center;max-width:880px;margin:auto}.closing h2{font-size:48px;color:var(--navy);margin:10px 0}.closing strong{color:var(--red)}
.site-footer{background:#071a31;color:#dce5ef;padding:52px 0 28px}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:50px}.footer-logo{display:inline-block;background:#fff;padding:10px 14px;border-radius:12px;margin-bottom:10px}.footer-logo img{width:240px;filter:none}.footer-title{font-size:13px;text-transform:uppercase;letter-spacing:.18em;color:#ffc870;font-weight:800}.footer-links{display:grid;gap:8px;font-size:14px}.footer-bottom{margin-top:36px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);font-size:12px;color:#94a6ba;text-align:center}
@media(max-width:1000px){.main-nav{display:none}.menu-toggle{display:block}.main-nav.open{display:flex;position:absolute;top:88px;left:0;right:0;background:white;flex-direction:column;align-items:stretch;padding:18px 30px;border-bottom:1px solid var(--line)}.main-nav.open a{padding:12px 0}.slides{height:560px}.about-grid{grid-template-columns:1fr}.country-grid{grid-template-columns:repeat(6,1fr)}.recognise-grid{grid-template-columns:repeat(2,1fr)}.process-grid{grid-template-columns:repeat(2,1fr)}.news-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.container{width:min(100% - 28px,1180px)}.section{padding:64px 0}.brand img{width:185px}.header-inner{height:78px}.main-nav.open{top:78px}.slides{height:640px}.hero h1{font-size:46px}.hero p{font-size:17px}.slide:before{background:linear-gradient(90deg,rgba(4,22,43,.82),rgba(4,22,43,.58))}.country-grid{grid-template-columns:repeat(3,1fr)}.recognise-grid,.process-grid,.news-grid,.footer-grid{grid-template-columns:1fr}.news-thumb{height:205px}.news-head{align-items:start;flex-direction:column}.closing h2{font-size:38px}}

.news-date{opacity:.72;font-weight:500;white-space:nowrap}

/* v1.2 refinements */
.about-visual{position:relative;border-radius:28px;overflow:hidden;box-shadow:var(--shadow);background:#071a31;min-height:360px}.about-visual img{width:100%;height:100%;min-height:360px;object-fit:cover}.about-visual:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(4,22,43,.72))}.about-visual-caption{position:absolute;z-index:2;left:26px;right:26px;bottom:22px;color:#fff;font-size:14px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.page-hero{padding:76px 0 64px;background:linear-gradient(120deg,#f7fbff,#eef4fa);border-bottom:1px solid var(--line)}.page-hero h1{font-size:clamp(40px,6vw,68px);line-height:1.02;color:var(--navy);margin:10px 0 16px;max-width:920px}.page-hero p{font-size:18px;color:var(--muted);max-width:850px;margin:0}.news-page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:28px}.news-page-toolbar>div:first-child{display:flex;gap:12px;align-items:baseline}.news-page-toolbar span{font-size:13px;color:var(--muted)}.news-source-pills{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.news-source-pills span{background:#fff;border:1px solid #dfe7f0;border-radius:999px;padding:7px 10px;color:var(--navy);font-weight:700}.news-grid-50 .news-title{font-size:16px}.news-status{margin-top:24px;padding:14px 18px;border:1px solid #d8e4f0;border-radius:12px;background:#fff;color:var(--muted);font-size:13px}.prose{max-width:900px}.prose h2,.prose h3{color:var(--navy)}
@media(max-width:1000px){.news-page-toolbar{align-items:flex-start;flex-direction:column}.news-source-pills{justify-content:flex-start}}
@media(max-width:640px){.page-hero{padding:54px 0 44px}.about-visual,.about-visual img{min-height:260px}.about-visual-caption{left:18px;right:18px;bottom:16px;font-size:11px}.news-page-toolbar>div:first-child{align-items:flex-start;flex-direction:column;gap:2px}}

/* v1.3 About Us page + photographic closing band */
.about-page-hero{position:relative;min-height:520px;background-size:cover;background-position:center;display:flex;align-items:flex-end;color:#fff;overflow:hidden}.about-page-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,21,39,.82) 0%,rgba(5,21,39,.52) 46%,rgba(5,21,39,.14) 100%)}.about-page-hero-inner{position:relative;z-index:2;padding-top:150px;padding-bottom:72px}.about-page-hero h1{max-width:850px;margin:8px 0 16px;font-size:clamp(42px,6vw,76px);line-height:1.02;letter-spacing:-.035em;color:#fff}.about-page-hero p{margin:0;font-size:clamp(18px,2vw,25px);font-weight:600}.about-hero-kicker{color:#ffd083}.about-page-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:58px;align-items:center}.about-copy h3{margin-top:28px;color:var(--navy);font-size:25px}.about-copy p{font-size:17px;line-height:1.8;color:#4f5c6d}.about-earth-card{position:relative;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);min-height:440px;background:#071d36}.about-earth-card img{width:100%;height:100%;min-height:440px;object-fit:cover;display:block}.about-earth-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(2,16,31,.74) 100%)}.about-earth-caption{position:absolute;z-index:2;left:28px;right:28px;bottom:26px;color:#fff;display:flex;flex-direction:column;gap:3px}.about-earth-caption strong{font-size:26px}.about-earth-caption span{font-size:13px;letter-spacing:.07em;text-transform:uppercase}.about-countries-section{background:#f7f9fc}.about-country-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-top:36px}.about-country{background:#fff;border:1px solid #e5eaf0;border-radius:16px;padding:18px 10px;text-align:center;box-shadow:0 8px 20px rgba(15,39,72,.05);font-weight:700;color:var(--navy)}.about-country-flag{font-size:34px;margin-bottom:8px}.about-recognise-section{background:#fff}.about-story-band{position:relative;background-size:cover;background-position:center;min-height:470px;display:flex;align-items:center;color:#fff}.about-story-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,22,42,.9),rgba(5,22,42,.65) 55%,rgba(5,22,42,.28))}.about-story-content{position:relative;z-index:2;text-align:left;padding-top:86px;padding-bottom:86px;max-width:860px;margin-left:auto;margin-right:auto}.about-story-content .section-kicker{color:#ffd083}.about-story-content h2{font-size:clamp(38px,5vw,64px);margin:8px 0 18px;color:#fff}.about-story-content p{font-size:19px;line-height:1.75;max-width:760px;margin:0 0 28px;color:rgba(255,255,255,.94)}
.closing-photo{position:relative;background-image:url('assets/images/about-hero-angkor.jpg');background-size:cover;background-position:center;color:#fff;overflow:hidden}.closing-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,22,42,.9),rgba(4,22,42,.63) 55%,rgba(4,22,42,.42))}.closing-photo .closing-inner{position:relative;z-index:2}.closing-photo .section-kicker{color:#ffd083}.closing-photo h2,.closing-photo h3{color:#fff}.closing-photo .section-lead{color:rgba(255,255,255,.94);text-shadow:0 2px 10px rgba(0,0,0,.25)}
@media(max-width:1000px){.about-page-grid{grid-template-columns:1fr;gap:34px}.about-country-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.about-page-hero{min-height:460px}.about-earth-card,.about-earth-card img{min-height:360px}}
@media(max-width:700px){.about-page-hero{min-height:400px;background-position:60% center}.about-page-hero-inner{padding-top:110px;padding-bottom:44px}.about-country-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about-country{padding:14px 8px;font-size:13px}.about-earth-card,.about-earth-card img{min-height:280px}.about-story-band{min-height:430px}.about-story-content{padding-top:64px;padding-bottom:64px}.closing-photo{background-position:60% center}}


/* v1.4 Contact page / Everest Forms integration */
.contact-page-hero{padding:78px 0 66px;background:linear-gradient(120deg,#f7fbff,#eef4fa);border-bottom:1px solid var(--line)}
.contact-page-hero h1{font-size:clamp(42px,6vw,70px);line-height:1.02;color:var(--navy);margin:10px 0 16px}
.contact-page-hero p{font-size:18px;color:var(--muted);max-width:760px;margin:0}
.contact-layout{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(0,1.25fr);gap:52px;align-items:start}
.contact-info-card{background:var(--navy);color:#fff;border-radius:24px;padding:34px;position:sticky;top:118px;box-shadow:var(--shadow)}
.contact-info-card .section-kicker{color:#ffd083}.contact-info-card h2{font-size:34px;line-height:1.08;margin:10px 0 16px}.contact-info-card p{color:#dbe6f2;margin:0 0 18px}.contact-info-list{display:grid;gap:12px;margin-top:24px}.contact-info-list a{display:block;padding:12px 14px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(255,255,255,.05)}
.contact-form-card{background:#fff;border:1px solid #dfe7f0;border-radius:24px;padding:34px;box-shadow:0 14px 40px rgba(23,54,93,.08)}
.contact-form-card h2{margin:0 0 8px;color:var(--navy);font-size:34px}.contact-form-card>p{margin:0 0 24px;color:var(--muted)}
.contact-form-card .everest-form label,.contact-form-card .evf-field-label{font-weight:700;color:var(--navy)}
.contact-form-card input[type=text],.contact-form-card input[type=email],.contact-form-card input[type=tel],.contact-form-card input[type=url],.contact-form-card select,.contact-form-card textarea{width:100%;border:1px solid #d7e0ea!important;border-radius:10px!important;padding:12px 14px!important;background:#fff!important;box-shadow:none!important}
.contact-form-card textarea{min-height:150px}.contact-form-card button,.contact-form-card input[type=submit],.contact-form-card .everest-forms-submit-button{background:var(--red)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:13px 24px!important;font-weight:800!important}
.everest-missing{padding:18px;border:1px dashed #c6d3e1;border-radius:12px;background:#f8fbfe;color:var(--muted)}
.news-grid-100 .news-title{font-size:16px}
@media(max-width:900px){.contact-layout{grid-template-columns:1fr}.contact-info-card{position:relative;top:auto}}
@media(max-width:640px){.contact-page-hero{padding:54px 0 44px}.contact-form-card,.contact-info-card{padding:24px;border-radius:18px}}

/* v1.5: subpages use the content created in WordPress directly. No theme-specific About, News or Contact templates are included. */
.site-subpage{width:100%;overflow:hidden}

/* v1.7: exact official logo is used in both header and footer logo widget; Explore includes Submit an Achievement. */

/* v1.8 HTML-based Latest News page: matches homepage news-card design */
.site-subpage .seabr-news-page{width:100%;overflow:hidden;background:#f5f9ff}
.site-subpage .seabr-news-page .page-hero{background:linear-gradient(120deg,#f7fbff,#eef4fa);padding:70px 0 58px;text-align:center}
.site-subpage .seabr-news-page .page-hero .container{max-width:980px}
.site-subpage .seabr-news-page .page-hero h1{margin:8px auto 14px;max-width:920px}
.site-subpage .seabr-news-page .page-hero p{margin:0 auto}
.site-subpage .seabr-news-page .news-section{padding-top:52px}
.site-subpage .seabr-news-page .news-head{align-items:center}
.site-subpage .seabr-news-page .news-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 26px}
.site-subpage .seabr-news-page .news-filters{display:flex;gap:8px;flex-wrap:wrap}
.site-subpage .seabr-news-page .news-filter{appearance:none;border:1px solid #dce5ef;background:#fff;color:var(--navy);border-radius:999px;padding:9px 14px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.site-subpage .seabr-news-page .news-filter.active,.site-subpage .seabr-news-page .news-filter:hover{background:var(--red);border-color:var(--red);color:#fff}
.site-subpage .seabr-news-page .news-live-status{font-size:12px;color:var(--muted);font-weight:700}
.site-subpage .seabr-news-page .news-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.site-subpage .seabr-news-page .news-card{border-radius:18px;min-width:0}
.site-subpage .seabr-news-page .news-thumb{height:155px;display:block}
.site-subpage .seabr-news-page .news-thumb>img{width:100%;height:100%;object-fit:cover;display:block}
.site-subpage .seabr-news-page .news-thumb .source-mark{left:9px;bottom:9px;padding:4px 7px;font-size:9px;line-height:1}
.site-subpage .seabr-news-page .news-body{padding:16px;gap:7px}
.site-subpage .seabr-news-page .news-title{font-size:15px;line-height:1.3}
.site-subpage .seabr-news-page .news-excerpt{font-size:12px;line-height:1.55}
.site-subpage .seabr-news-page .news-meta{font-size:10px}
.site-subpage .seabr-news-page .news-link{font-size:12px}
.site-subpage .seabr-news-page .news-load-wrap{text-align:center;margin-top:34px}
.site-subpage .seabr-news-page .news-empty{background:#fff;border:1px solid #dfe7f0;border-radius:14px;padding:18px;color:var(--muted)}
@media(max-width:1250px){.site-subpage .seabr-news-page .news-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){.site-subpage .seabr-news-page .news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.site-subpage .seabr-news-page .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-subpage .seabr-news-page .news-toolbar{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.site-subpage .seabr-news-page .news-grid{grid-template-columns:1fr}.site-subpage .seabr-news-page .news-thumb{height:205px}}

/* v1.9: readable hero; published WordPress posts in responsive news grids. */
#home .hero .slides{height:auto;min-height:540px;display:grid}
#home .hero .slide{position:relative;inset:auto;grid-area:1 / 1;visibility:hidden;pointer-events:none}
#home .hero .slide.active{visibility:visible;pointer-events:auto}
#home .hero .slide-content{padding-top:64px;padding-bottom:80px;min-height:540px}
#home .hero .hero-copy{width:100%;max-width:650px;min-width:0}
#home .hero h1{font-size:clamp(30px,4vw,54px);line-height:1.12;color:#fff;font-weight:800;letter-spacing:-.025em;overflow-wrap:anywhere;text-shadow:0 2px 12px rgba(0,0,0,.4)}
#home .hero p{font-size:clamp(16px,1.6vw,20px);color:#fff}
#home .hero .slide:before{background:linear-gradient(90deg,rgba(4,22,43,.9) 0%,rgba(4,22,43,.76) 48%,rgba(4,22,43,.18) 100%)}
#home .hero .hero-kicker{color:#ffd792;letter-spacing:.15em}
#home .news-grid,.seabor-news-page .news-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
#home .news-card,.seabor-news-page .news-card{min-width:0}
#home .news-thumb,.seabor-news-page .news-thumb{display:block;height:auto;aspect-ratio:4 / 3}
#home .news-thumb img,.seabor-news-page .news-thumb img{width:100%;height:100%;object-fit:cover}
#home .news-thumb .news-fallback,.seabor-news-page .news-thumb .news-fallback{object-fit:contain;padding:18px;background:#fff}
#home .news-title,.seabor-news-page .news-title{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
#home .news-meta,.seabor-news-page .news-meta{color:#9e1824;font-size:12px;letter-spacing:0;text-transform:none}
#home .news-excerpt,.seabor-news-page .news-excerpt{color:#4f5c6d}
.news-empty{grid-column:1 / -1}
.news-pagination{margin-top:32px}
.news-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;list-style:none;padding:0}
.news-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:6px 12px;border:1px solid #ccd7e4;border-radius:8px;background:white;color:var(--navy)}
.news-pagination .current,.news-pagination a:hover{background:var(--red);border-color:var(--red);color:#fff}
.news-pagination a:focus-visible,.news-card a:focus-visible,#home .hero a:focus-visible,#home .hero button:focus-visible{outline:3px solid #c99739;outline-offset:4px}
@media(max-width:1000px){
  #home .news-grid,.seabor-news-page .news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
  #home .hero .slide:before{background:rgba(4,22,43,.8)}
  #home .hero .slides,#home .hero .slide-content{min-height:500px}
  #home .hero .slide-content{padding-top:48px;padding-bottom:72px}
  #home .news-grid,.seabor-news-page .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){#home .news-grid,.seabor-news-page .news-grid{grid-template-columns:1fr}}

/* v1.10: full, readable articles; leave other page layouts unchanged. */
.story-container{max-width:960px}
.story-header{margin-bottom:30px}
.story-title{font-size:clamp(28px,4vw,46px);line-height:1.2;color:var(--navy);margin:18px 0;overflow-wrap:anywhere}
.story-meta{font-size:14px;color:#4f5c6d}
.story-featured{margin:0 0 32px}
.story-featured img{width:100%;height:auto;border-radius:16px}
.story-content{font-size:18px;line-height:1.8;color:var(--ink);overflow-wrap:anywhere}
.story-content h2,.story-content h3,.story-content h4{color:var(--navy);line-height:1.3;margin-top:1.6em}
.story-content h2{font-size:clamp(24px,3vw,32px)}
.story-content h3{font-size:clamp(21px,2.5vw,27px)}
.story-content img,.story-content video{max-width:100%;height:auto}
.story-content figure{max-width:100%;margin:28px 0}
.story-content figcaption{font-size:14px;color:#4f5c6d}
.story-content iframe{max-width:100%}
.story-content a,.story-taxonomy a,.story-pages a{color:#a21926;text-decoration:underline;text-underline-offset:3px}
.story-content blockquote{border-left:4px solid var(--red);padding-left:24px;margin:28px 0}
.story-content .wp-block-table{overflow-x:auto}
.story-content table{border-collapse:collapse;max-width:100%}
.story-content td,.story-content th{padding:10px;border:1px solid var(--line)}
.story-taxonomy{margin-top:32px;font-size:14px}
.single-story .post-navigation{margin-top:40px;border-top:1px solid var(--line);padding-top:24px}
.single-story .nav-links{display:flex;justify-content:space-between;gap:28px}
.single-story .nav-links>div{max-width:48%;overflow-wrap:anywhere}
.single-story .nav-next{text-align:right}
.single-story a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:640px){.story-content{font-size:17px}.single-story .nav-links{flex-direction:column}.single-story .nav-links>div{max-width:100%}.single-story .nav-next{text-align:left}}

/* v1.11: retain layout while making country links and anchor targets accessible. */
.country:focus-visible,.country-links a:focus-visible,.menu-toggle:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
#countries,#recognise,#process,#news{scroll-margin-top:100px}

/* v1.14: Brands directory, using the established site palette and typography. */
.brands-hero .container{max-width:1180px}
.brands-hero h1{max-width:900px}
.brands-hero p{max-width:860px}
.brands-directory{background:#f7f9fc}
.brands-directory-head{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-bottom:28px}
.brands-directory-head .section-title{font-size:clamp(28px,3vw,40px)}
.brands-intro{margin:0;color:#4f5c6d;max-width:720px}
.brands-search{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
.brands-search label{display:block;font-size:13px;color:var(--navy);font-weight:700;margin-bottom:6px}
.brands-search-field{flex:1;min-width:220px}
.brands-sector-field{flex:0 1 260px;min-width:180px}
.brands-search input,.brands-search select{width:100%;min-height:48px;border:1px solid #ccd7e4;border-radius:10px;padding:10px 13px;background:#fff;color:var(--ink);font:inherit;font-size:14px}
.brands-search button{border:0;cursor:pointer}
.brands-reset{align-self:center;margin-top:22px;font-size:13px;color:var(--red);text-decoration:underline}
.brands-count{font-size:13px;color:#4f5c6d;margin:24px 0 16px}
.brands-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.directory-brand-card{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;min-height:268px;padding:24px 14px 20px;background:#fff;border:1px solid #dfe7f0;border-radius:18px;box-shadow:0 8px 22px rgba(23,54,93,.04);transition:transform .2s,box-shadow .2s}
.directory-brand-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.directory-brand-mark{display:grid;place-items:center;width:66px;height:66px;flex-shrink:0;margin-bottom:16px;border-radius:18px;background:#edf3fa;color:var(--navy);font-size:24px;font-weight:800;letter-spacing:-.02em}
.directory-brand-mark.has-logo{width:100%;background:#fff;border-radius:0}
.directory-brand-mark.has-logo img{display:block;width:100%;height:66px;min-height:0;max-width:100%;object-fit:contain}
.directory-brand-card h3{font-size:16px;line-height:1.35;color:var(--navy);margin:0 0 10px;overflow-wrap:anywhere}
.directory-brand-sector,.directory-brand-country{font-size:12px;line-height:1.5;color:#4f5c6d;margin:0 0 6px;overflow-wrap:anywhere}
.directory-brand-count{font-size:11px;color:#4f5c6d;margin:8px 0 14px}
.directory-brand-card>.news-link{margin-top:auto;font-size:12px}
.brands-empty{padding:40px 24px;border:1px solid var(--line);border-radius:18px;background:#fff;text-align:center}
.brands-empty h3{color:var(--navy)}
.seabor-brands-page a:focus-visible,.brands-search input:focus-visible,.brands-search select:focus-visible,.brands-search button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.footer-latest a{font-size:13px;line-height:1.5;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.12);overflow-wrap:anywhere}
.footer-latest a:last-child{border-bottom:0}
@media(max-width:1100px){.brands-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.brands-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brands-directory-head{align-items:flex-start;flex-direction:column}.brands-sector-field{flex:1 1 200px}}
@media(max-width:380px){.brands-grid{grid-template-columns:1fr}.brands-search-field,.brands-sector-field{min-width:0;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.directory-brand-card{transition:none}.directory-brand-card:hover{transform:none}}

/* v1.15: photo banner matches Contact. */
.seabor-brands-page .brands-hero{min-height:390px;display:flex;align-items:center;justify-content:center;text-align:center;padding:70px 24px;position:relative;color:#fff;background:linear-gradient(rgba(5,31,55,.68),rgba(5,31,55,.68)),url('assets/images/slide-1.jpg') center/cover no-repeat}
.seabor-brands-page .brands-hero .container{width:100%;max-width:900px}
.seabor-brands-page .brands-hero .section-kicker{color:#ffd17a;font-size:14px;font-weight:800;letter-spacing:5px;margin-bottom:18px}
.seabor-brands-page .brands-hero h1{font-size:56px;line-height:1.08;margin:0 0 18px;font-weight:800;color:#fff;max-width:none}
.seabor-brands-page .brands-hero p{font-size:19px;line-height:1.7;margin:0 auto;max-width:760px;color:#f3f6f9}
@media(max-width:850px){.seabor-brands-page .brands-hero h1{font-size:42px}}
@media(max-width:520px){.seabor-brands-page .brands-hero{min-height:330px;padding:55px 20px}.seabor-brands-page .brands-hero h1{font-size:35px}.seabor-brands-page .brands-hero p{font-size:16px}.seabor-brands-page .brands-hero .section-kicker{font-size:12px;letter-spacing:3px}}

/* v1.16: publisher-provided brand coverage and a site-wide WhatsApp contact. */
.brand-record-links{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;margin-top:auto;padding-top:10px}
.brand-record-link{font-size:13px;font-weight:800;color:var(--red)}
.brand-coverage-link{font-size:12px;line-height:1.5;font-weight:700;color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.brand-record-links a:hover{color:var(--red)}
.seabor-whatsapp{position:fixed;right:24px;bottom:24px;bottom:max(24px,env(safe-area-inset-bottom));z-index:100;display:flex;align-items:center;justify-content:center;width:58px;height:58px;border:2px solid #fff;border-radius:50%;background:#128c7e;color:#fff;box-shadow:0 5px 20px rgba(0,0,0,.22);transition:background .2s,transform .2s}
.seabor-whatsapp:hover{background:#096b5e;transform:translateY(-2px)}
.seabor-whatsapp:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:640px){.seabor-whatsapp{right:16px;bottom:16px;bottom:max(16px,env(safe-area-inset-bottom));width:54px;height:54px}}
@media(prefers-reduced-motion:reduce){.seabor-whatsapp{transition:none}.seabor-whatsapp:hover{transform:none}}
@media print{.seabor-whatsapp{display:none}}

/* v1.17: regional WhatsApp contacts within the existing navy band. */
#country-records{scroll-margin-top:100px}
.whatsapp-region-links a{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:13px 18px;min-width:190px;min-height:74px}
.whatsapp-region-name{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:800}
.whatsapp-region-flag{display:block;width:24px;height:24px;object-fit:contain;flex-shrink:0}
.whatsapp-region-number{font-size:13px;white-space:nowrap}
.whatsapp-region-links a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:640px){.whatsapp-region-links a{flex:1 1 190px}}
