/*
Theme Name: Ocean Culture Dark
Theme URI: https://theoceanculture.com/
Author: The Ocean Culture
Description: Dark ocean blog theme for cruise, yacht and ferry guides. Logo + header banner, sticky menu bar, built-in advertisement spaces (header 900x112, 720x90 and 300x250 widget areas), homepage hero, category tiles, featured post and sidebar.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oceanculture-dark
Tags: blog, dark, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, widgets
*/

/* ==========================================================
   The Ocean Culture — dark ocean blog theme
   Inspired by the Ocewyn "Dive & Ocean Explorations" kit
   ========================================================== */
:root {
  --abyss: #030d1a;
  --deep: #061a2e;
  --navy: #0a2540;
  --panel: #0d2a47;
  --line: rgba(120, 200, 255, 0.14);
  --cyan: #2ee6d6;
  --aqua: #4cc9f0;
  --text: #e6f1fb;
  --muted: #8fa9c2;
  --radius: 18px;
  --max: 1240px;
  --font-head: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--abyss);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--cyan); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--aqua));
  color: var(--abyss); font-weight: 700; font-size: 15px;
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(46, 230, 214, .3); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: none; }

/* ---------- Header (theoceanculture.com layout, dark ocean styling) ---------- */
/* Header scrolls with the page until the menu bar reaches the top, then the menu bar sticks. */
.site-header { position: sticky; top: -144px; z-index: 50; }
.header-top { background: radial-gradient(120% 140% at 0% 0%, #0b2a4a 0%, var(--abyss) 60%); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 144px; max-width: 1600px; }
.logo-img img { height: 96px; width: auto; filter: drop-shadow(0 0 14px rgba(77, 184, 240, .35)); }
.nav-bar { background: rgba(6, 26, 46, .92); backdrop-filter: blur(12px); border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, transparent, var(--cyan), var(--aqua), transparent) 1; }
.nav { position: relative; display: flex; align-items: center; justify-content: center; height: 72px; max-width: 1600px; }
.menu { display: flex; gap: 40px; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .12em; }
.menu a { position: relative; color: var(--muted); transition: color .2s; }
.menu a:hover, .menu a.active { color: var(--text); }
.menu a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--cyan); border-radius: 2px; }
.nav-actions { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; }
.search-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--text); transition: border-color .2s, color .2s;
}
.search-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.burger { display: none; }
/* header banner (compact) */
.header-ad.oc-ad-720 { width: auto; flex: 0 1 728px; min-width: 0; height: 84px; padding: 0 22px; }
.header-ad .oc-ad-title { font-size: 24px; }
.header-ad .oc-ad-sub { font-size: 13px; }
.header-ad .oc-ad-btn { font-size: 14px; padding: 9px 20px; }

/* shared basics still used by other parts of the page */
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.logo svg { width: 34px; height: 34px; }
.logo span { color: var(--cyan); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text); background: transparent; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - 219px); display: flex; align-items: center;
  background: url("assets/img/hero.jpg") 75% 70%/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3,13,26,.75) 0%, rgba(3,13,26,.2) 60%, transparent 100%),
    linear-gradient(180deg, rgba(3,13,26,.4) 0%, transparent 40%, var(--abyss) 100%);
}
.hero .container { position: relative; padding-top: 100px; padding-bottom: 120px; }
.hero h1 { font-size: clamp(42px, 7vw, 92px); max-width: 900px; margin: 22px 0; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--cyan), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 560px; color: #c5d8ea; font-size: 18px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 70px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 34px; color: var(--cyan); }
.hero-stats span { color: var(--muted); font-size: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

/* bubbles */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bubbles i {
  position: absolute; bottom: -40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06);
  animation: rise linear infinite;
}
@keyframes rise { to { transform: translateY(-110vh) translateX(30px); opacity: 0; } }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 50px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 14px; max-width: 640px; }
.section-head p { color: var(--muted); max-width: 420px; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4;
  display: flex; align-items: flex-end; padding: 24px;
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(3,13,26,.92)); }
.cat:hover img { transform: scale(1.08); }
.cat div { position: relative; z-index: 1; }
.cat h3 { font-size: 22px; }
.cat span { color: var(--cyan); font-size: 14px; }

/* Featured post */
.featured {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  background: var(--deep); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
}
.featured .media { min-height: 460px; background-size: cover; background-position: center; }
.featured .body { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.featured h2 { font-size: clamp(28px, 3vw, 40px); margin: 16px 0; }
.featured p { color: var(--muted); margin-bottom: 28px; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.author:not(body) { display: flex; align-items: center; gap: 10px; color: var(--text); }
.author:not(body) img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--cyan);
  background: rgba(46, 230, 214, .1); border: 1px solid rgba(46, 230, 214, .25);
}

/* Blog layout */
.blog-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; }
.blog-layout > * { min-width: 0; }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card {
  background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(46,230,214,.4); }
.card .thumb { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .thumb img { transform: scale(1.06); }
.card .thumb .tag { position: absolute; top: 16px; left: 16px; background: rgba(3,13,26,.75); backdrop-filter: blur(6px); }
.card .content { padding: 26px; }
.card h3 { font-size: 21px; margin: 12px 0 10px; }
.card h3 a:hover { color: var(--cyan); }
.card p { color: var(--muted); font-size: 15px; }
.read-more { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; color: var(--cyan); font-weight: 600; font-size: 14px; }

.pagination { display: flex; gap: 10px; margin-top: 50px; }
.pagination a {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); font-weight: 600;
}
.pagination a.current, .pagination a:hover { background: var(--cyan); color: var(--abyss); border-color: var(--cyan); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 30px; }
.widget { background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.widget h4 { font-size: 18px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.search-box { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search-box input { flex: 1; background: transparent; border: 0; padding: 12px 18px; color: var(--text); font: inherit; outline: none; min-width: 0; }
.search-box button { background: var(--cyan); border: 0; padding: 0 18px; cursor: pointer; color: var(--abyss); }
.about-widget { text-align: center; }
.about-widget img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; border: 3px solid var(--cyan); }
.about-widget p { color: var(--muted); font-size: 14px; }
.mini-post { display: flex; gap: 14px; align-items: center; }
.mini-post + .mini-post { margin-top: 18px; }
.mini-post img { width: 74px; height: 74px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.mini-post h5 { font-family: var(--font-head); font-size: 15px; line-height: 1.35; }
.mini-post h5:hover { color: var(--cyan); }
.mini-post span { color: var(--muted); font-size: 12px; }
.cat-list { list-style: none; }
.cat-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.cat-list li:last-child { border: 0; }
.cat-list a:hover { color: var(--cyan); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
.tags a:hover { border-color: var(--cyan); color: var(--cyan); }

/* Quote band */
.quote-band {
  position: relative; text-align: center;
  background: linear-gradient(rgba(3,13,26,.75), rgba(3,13,26,.85)), url("assets/img/quote.jpg") center/cover fixed;
}
.quote-band blockquote { font-family: var(--font-head); font-size: clamp(26px, 3.6vw, 44px); max-width: 900px; margin: 0 auto 20px; line-height: 1.3; }
.quote-band cite { color: var(--cyan); font-style: normal; letter-spacing: .15em; text-transform: uppercase; font-size: 13px; }

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--navy), #08304f); border: 1px solid var(--line);
  border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.newsletter::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(var(--cyan), transparent 70%); opacity: .18; }
.newsletter h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 12px; }
.newsletter p { color: var(--muted); margin-top: 12px; }
.newsletter form { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.newsletter input { flex: 1; min-width: 200px; padding: 16px 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(3,13,26,.6); color: var(--text); font: inherit; outline: none; }
.newsletter input:focus { border-color: var(--cyan); }
.newsletter button { border: 0; cursor: pointer; }

/* Instagram strip */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); }
.insta a { aspect-ratio: 1; overflow: hidden; position: relative; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .5s; filter: saturate(.8); }
.insta a:hover img { transform: scale(1.1); filter: saturate(1.2); }

/* Footer */
footer { background: #020912; border-top: 1px solid var(--line); padding: 80px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
footer h4 { font-size: 16px; margin-bottom: 20px; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; color: var(--muted); font-size: 15px; }
footer li a:hover { color: var(--cyan); }
footer .about p { color: var(--muted); margin: 18px 0; font-size: 15px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.socials a:hover { background: var(--cyan); color: var(--abyss); border-color: var(--cyan); }
.copyright { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; flex-wrap: wrap; gap: 10px; }

/* ---------- Single post ---------- */
.post-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.post-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,13,26,.4), var(--abyss)); }
.post-hero .container { position: relative; padding-top: 140px; padding-bottom: 70px; }
.breadcrumbs { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.breadcrumbs a:hover { color: var(--cyan); }
.post-hero h1 { font-size: clamp(34px, 5.5vw, 66px); max-width: 940px; margin: 18px 0 26px; }
.single { padding-top: 60px; }
.article { font-size: 18px; color: #cfe0f0; }
.article > * + * { margin-top: 24px; }
.article .lead { font-size: 21px; color: var(--text); }
.article h2 { font-size: 32px; color: var(--text); margin-top: 50px; }
.article h3 { font-size: 24px; color: var(--text); margin-top: 36px; }
.article a { color: var(--cyan); border-bottom: 1px solid rgba(46,230,214,.4); }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--cyan); }
.article figure img { border-radius: var(--radius); width: 100%; }
.article figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }
.article blockquote {
  border-left: 4px solid var(--cyan); background: var(--deep); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px; font-family: var(--font-head); font-size: 22px; color: var(--text);
}
.toc { background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.toc strong { font-family: var(--font-head); display: block; margin-bottom: 10px; }
.toc ol { padding-left: 20px; }
.toc a { border: 0; color: var(--muted); }
.toc a:hover { color: var(--cyan); }
.info-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-box div { background: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-align: center; }
.info-box strong { display: block; color: var(--cyan); font-family: var(--font-head); font-size: 22px; }
.info-box span { font-size: 13px; color: var(--muted); }
.post-footer { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.author-box { display: flex; gap: 24px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin-top: 40px; }
.author-box img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--cyan); }
.author-box h4 { font-size: 20px; margin-bottom: 8px; }
.author-box p { color: var(--muted); font-size: 15px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.post-nav a { background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.post-nav a:hover { border-color: var(--cyan); }
.post-nav span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.post-nav h5 { font-family: var(--font-head); font-size: 17px; margin-top: 6px; }
.post-nav a:last-child { text-align: right; }
.related { padding-top: 40px; }
.related .posts { grid-template-columns: repeat(3, 1fr); }

/* ---------- Ad banner spaces (theoceanculture.com sizes, theme styling) ---------- */
.oc-ad-720, .oc-ad-300 {
  box-sizing: border-box; color: var(--text); border-radius: 14px; max-width: 100%;
  border: 1px solid rgba(46, 230, 214, .35);
}
.oc-ad-720 {
  width: 720px; height: 90px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: radial-gradient(70% 180% at 100% 50%, rgba(46,230,214,.22), transparent 60%), linear-gradient(90deg, #0a2540, #0b3a5e);
}
.oc-ad-300 {
  width: 300px; height: 250px; margin: 0 auto; padding: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  background: radial-gradient(120% 80% at 50% 100%, rgba(46,230,214,.25), transparent 60%), linear-gradient(160deg, #0a2540, #0b3a5e);
}
.oc-ad-label { color: var(--cyan); }
.oc-ad-title { font-family: var(--font-head); font-weight: 800; line-height: 1.1; font-size: 26px; }
.oc-ad-300 .oc-ad-title { font-size: 28px; }
.oc-ad-sub { font-size: 13px; opacity: .92; margin-top: 4px; }
.oc-ad-label { font-size: 11px; letter-spacing: 2px; opacity: .85; text-transform: uppercase; }
.oc-ad-btn {
  background: linear-gradient(135deg, var(--cyan), var(--aqua)); color: var(--abyss); font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 30px; white-space: nowrap; transition: transform .2s;
}
.oc-ad-btn:hover { transform: translateY(-2px); }
.oc-ad-300 .oc-ad-btn { margin-top: 6px; }
.article .oc-ad-btn { color: var(--abyss); border: 0; }
.oc-banner-wrap { padding: 50px 0; }
.header-ad { margin: 0; }
.posts .in-feed { grid-column: 1 / -1; }
.ad-widget { display: flex; flex-direction: column; gap: 30px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-ad { display: none !important; }
  .top-row { justify-content: center; }
  .blog-layout { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .featured .media { min-height: 300px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .related .posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .site-header { top: -100px; }
  .top-row { height: 100px; }
  .logo-img img { height: 70px; }
  .nav { height: 56px; }
  .menu {
    position: absolute; top: calc(100% + 3px); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(3,13,26,.98); border-bottom: 2px solid var(--cyan); box-shadow: 0 10px 24px rgba(0,0,0,.4);
    max-height: 0; overflow: hidden; transition: max-height .35s;
  }
  .menu.open { max-height: 400px; }
  .menu li a { display: block; padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .menu a.active::after { display: none; }
  .burger { display: grid; }
  .nav-actions { right: 12px; }
  .newsletter { grid-template-columns: 1fr; padding: 40px 28px; }
  .insta { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  section { padding: 70px 0; }
  .posts, .related .posts { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .featured .body { padding: 30px 22px; }
  .hero-stats { gap: 28px; }
  .foot-grid { grid-template-columns: 1fr; }
  .info-box { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; text-align: center; align-items: center; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a:last-child { text-align: left; }
  .quote-band { background-attachment: scroll; }
  .oc-ad-720 { padding: 0 16px; gap: 12px; }
  .oc-ad-720 .oc-ad-title { font-size: 18px; }
  .oc-ad-720 .oc-ad-sub { font-size: 11px; }
  .oc-ad-720 .oc-ad-btn { padding: 8px 14px; font-size: 13px; }
}

/* =========================================================
   WordPress additions
   ========================================================= */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 100000; background: var(--cyan); color: var(--abyss); padding: 10px 16px; border-radius: 8px; }
body.admin-bar .site-header { top: calc(-144px + 32px); }

/* logo from Customizer */
.custom-logo-link img, .logo-img img { height: 96px; width: auto; max-width: 320px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(77, 184, 240, .35)); }
.foot-grid .custom-logo-link img, .foot-grid .logo-img img { height: 72px; }

/* menu states + dropdowns */
.menu .current-menu-item > a, .menu .current_page_item > a, .menu .current-menu-ancestor > a { color: var(--text); }
.menu .current-menu-item > a::after, .menu .current_page_item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--cyan); border-radius: 2px; }
.menu li { position: relative; }
.menu a { text-transform: uppercase; }
.menu .sub-menu { list-style: none; position: absolute; top: calc(100% + 22px); left: -18px; min-width: 220px; background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 60; }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu .sub-menu a { display: block; padding: 10px 18px; letter-spacing: .06em; font-size: 13px; }
.menu .sub-menu a::after { display: none; }

/* search panel */
.search-panel { max-height: 0; overflow: hidden; transition: max-height .3s; background: var(--deep); }
.search-panel.open { max-height: 120px; border-top: 1px solid var(--line); }
.search-panel .container { padding-top: 18px; padding-bottom: 18px; max-width: 760px; }

/* cards */
.card-cat { margin-bottom: 4px; }
.card-cat .tag { font-size: 11px; }

/* archive / page title band */
.archive-hero { padding: 34px 0 30px; background: radial-gradient(90% 140% at 10% 0%, #0b2a4a 0%, var(--abyss) 70%); border-bottom: 1px solid var(--line); }
.archive-hero h1 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 8px; }
.archive-hero + section { padding-top: 36px !important; }
.archive-hero p, .archive-desc { color: var(--muted); max-width: 640px; margin-top: 12px; }
.error-404 { text-align: center; padding: 120px 0; }
.error-404 .eyebrow { justify-content: center; }
.error-404 p { margin: 14px auto 26px; }
.error-search { max-width: 480px; margin: 0 auto; }
.empty-state { background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.empty-state p { color: var(--muted); margin: 8px 0 20px; }

/* post hero without image */
.post-hero.no-image { min-height: 0; background: radial-gradient(90% 140% at 10% 0%, #0b2a4a 0%, var(--abyss) 70%); }
.post-hero .tag { margin-top: 6px; }
.breadcrumbs a { color: var(--muted); }
.rank-math-breadcrumb p { margin: 0; }
.meta .author a:hover, .author-box h4 a:hover { color: var(--cyan); }

/* pagination */
.navigation.pagination { margin-top: 50px; }
.navigation.pagination .nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.page-numbers { min-width: 46px; height: 46px; padding: 0 12px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; }
.page-numbers.current, a.page-numbers:hover { background: var(--cyan); color: var(--abyss); border-color: var(--cyan); }
.page-numbers.dots { border: 0; }

/* filled ad widgets */
.ocd-ad { text-align: center; }
.ocd-ad img { max-width: 100%; height: auto; display: inline-block; border-radius: 10px; }
.ocd-ad-720 { max-width: 728px; margin: 0 auto; }
.ocd-ad-300 { max-width: 300px; margin: 0 auto; }
.ocd-ad.header-ad { flex: 0 1 900px; text-align: right; }

/* article content from the block editor */
.article > * + * { margin-top: 22px; }
.article img { max-width: 100%; height: auto; border-radius: 12px; }
.article .wp-block-image figcaption, .article .wp-caption-text { color: var(--muted); font-size: 14px; text-align: center; margin-top: 8px; }
.article .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.article .alignleft { float: left; margin: 6px 24px 12px 0; }
.article .alignright { float: right; margin: 6px 0 12px 24px; }
.article .alignwide, .article .alignfull { margin-left: 0; margin-right: 0; }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article .wp-block-table { overflow-x: auto; }
.article th, .article td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.article th, .article thead td { background: var(--navy); color: var(--text); font-family: var(--font-head); }
.article tr:nth-child(even) td { background: rgba(13, 42, 71, .45); }
.article ol { padding-left: 22px; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.article code { background: var(--deep); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.article iframe, .article video { max-width: 100%; border-radius: 12px; }
.article .wp-block-button__link { background: linear-gradient(135deg, var(--cyan), var(--aqua)); color: var(--abyss); border-radius: 999px; padding: 12px 26px; font-weight: 700; border: 0; }
.article .wp-block-quote, .article blockquote { margin-left: 0; margin-right: 0; }
.article .wp-block-quote p { margin: 0; }
.article .has-background { color: var(--abyss); border-radius: 12px; padding: 20px 24px; }
.page-links { margin-top: 30px; display: flex; gap: 8px; }
.full-width-content { min-height: 40vh; }

/* Easy Table of Contents */
.article #ez-toc-container { background: var(--deep) !important; border: 1px solid var(--line) !important; border-radius: var(--radius); padding: 22px 26px; box-shadow: none; width: 100% !important; }
.article #ez-toc-container .ez-toc-title { color: var(--text) !important; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.article #ez-toc-container a { color: var(--muted) !important; border: 0; }
.article #ez-toc-container a:hover { color: var(--cyan) !important; }
.article #ez-toc-container ul { margin-top: 10px; }

/* Rank Math FAQ */
.article .rank-math-list-item { background: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 14px; }
.article .rank-math-question { font-size: 19px; margin: 0 0 8px; }

/* share links */
.socials.share a { font-size: 12px; }

/* comments */
.comments-area { margin-top: 50px; }
.comments-title, .comment-reply-title { font-size: 24px; margin-bottom: 20px; }
.comment-list { list-style: none; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-body { background: var(--deep); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata, .comment-metadata a { color: var(--muted); font-size: 13px; }
.comment-content { margin-top: 10px; color: #cfe0f0; }
.reply a { color: var(--cyan); font-size: 14px; font-weight: 600; }
.comment-form label { display: block; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.comment-form p { margin-bottom: 16px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; background: var(--deep); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; color: var(--text); font: inherit;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--cyan); }
.comment-form .submit { background: linear-gradient(135deg, var(--cyan), var(--aqua)); color: var(--abyss); border: 0; border-radius: 999px; padding: 14px 28px; font-weight: 700; cursor: pointer; }

/* sidebar widgets (core widgets) */
.widget ul { list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.widget li:last-child { border: 0; }
.widget a:hover { color: var(--cyan); }
.widget select { width: 100%; background: var(--abyss); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.widget .wp-block-search__input { background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--text); padding: 10px 16px; }
.widget .wp-block-search__button { background: var(--cyan); color: var(--abyss); border: 0; border-radius: 999px; }
.widget .wp-block-heading, .widget h2 { font-size: 18px; margin-bottom: 16px; }
.newsletter-form input[type="email"], .newsletter-form input[type="text"] { padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(3,13,26,.6); color: var(--text); width: 100%; }
.newsletter-form button, .newsletter-form input[type="submit"] { background: linear-gradient(135deg, var(--cyan), var(--aqua)); color: var(--abyss); border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; cursor: pointer; }

/* footer */
.footer-menu { list-style: none; }
.foot-email a { color: var(--cyan); }

@media (max-width: 820px) {
  .menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: transparent; padding: 0 0 0 16px; }
  .menu .current-menu-item > a::after, .menu .current_page_item > a::after { display: none; }
  .custom-logo-link img, .logo-img img { height: 70px; }
  .article .alignleft, .article .alignright { float: none; margin: 0 auto; }
}
@media (max-width: 782px) {
  body.admin-bar .site-header { top: calc(-100px + 46px); }
}

/* ---------- v1.0.1 fixes ---------- */
/* keep grid columns from being stretched by the 720px banner */
.posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.related .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.posts > *, .in-feed { min-width: 0; }
@media (max-width: 1080px) { .related .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .posts, .related .posts { grid-template-columns: minmax(0, 1fr); } }

/* wide tables scroll instead of being cut off */
.article .wp-block-table, .article .toc-table-wrap { max-width: 100%; overflow-x: auto; }

/* comparison tables in posts (toc-table) in dark colours */
.article .toc-table-wrap { border-color: var(--line) !important; box-shadow: none !important; }
.article .toc-table thead th { background: var(--navy) !important; color: var(--cyan) !important; font-family: var(--font-head); }
.article .toc-table td { color: #cfe0f0 !important; border-color: var(--line) !important; }
.article .toc-table tbody tr:nth-child(odd) td { background: var(--deep) !important; }
.article .toc-table tbody tr:nth-child(even) td { background: #0a2238 !important; }
.article .toc-table tbody tr:hover td, .article .toc-table tbody tr:focus td { background: #0d3050 !important; }
.article .toc-table td:first-child { color: var(--text) !important; border-left-color: var(--cyan) !important; }

/* FAQ box in posts (toc-faq) in dark colours */
.article .toc-faq { background: var(--deep) !important; border-left-color: var(--cyan) !important; }
.article .toc-faq h2 { color: var(--text) !important; }
.article .toc-faq details { background: var(--abyss) !important; border-color: var(--line) !important; }
.article .toc-faq details[open] { border-color: rgba(46, 230, 214, .45) !important; box-shadow: none !important; }
.article .toc-faq summary { color: var(--text) !important; }
.article .toc-faq summary .q, .article .toc-faq .ans .a { color: var(--cyan) !important; }
.article .toc-faq summary .ic { border-color: var(--cyan) !important; }
.article .toc-faq summary .ic::before, .article .toc-faq summary .ic::after { background: var(--cyan) !important; }
.article .toc-faq details[open] summary .ic { background: var(--cyan) !important; }
.article .toc-faq details[open] summary .ic::before, .article .toc-faq details[open] summary .ic::after { background: var(--abyss) !important; }
.article .toc-faq .ans { color: #cfe0f0 !important; }

/* nav: no divider line, slimmer bar, menu items in thin boxes */
.header-top { border-bottom: 0; }
.nav-bar { border-bottom: 0; border-image: none; }
@media (min-width: 821px) {
  .nav { height: 56px; }
  .menu { gap: 10px; }
  .menu > li > a { display: inline-block; padding: 6px 16px; border: 1px solid transparent; border-radius: 999px; transition: color .2s, border-color .2s, background .2s; }
  .menu > li > a:hover { border-color: var(--line); background: rgba(76, 201, 240, .05); }
  .menu a.active, .menu .current-menu-item > a, .menu .current_page_item > a { border-color: rgba(46, 230, 214, .55); background: rgba(46, 230, 214, .08); color: var(--text); }
  .menu a.active::after, .menu .current-menu-item > a::after, .menu .current_page_item > a::after { display: none; }
  .menu .sub-menu { top: calc(100% + 12px); }
}

/* inner pages: no top header row, logo sits at the left of the menu bar */
.site-header.is-compact { top: 0; }
body.admin-bar .site-header.is-compact { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header.is-compact { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header.is-compact { top: 0; } }
.nav-logo { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; }
.nav-logo .logo-img { display: flex; }
.nav-logo .logo-img img { height: 40px !important; width: auto; }
@media (min-width: 821px) {
  .site-header .nav { padding-left: 180px; padding-right: 80px; }
}
@media (max-width: 820px) {
  .nav-logo { left: 16px; }
  .nav-logo .logo-img img { height: 36px !important; }
  .menu:not(.open) { border-bottom-color: transparent; box-shadow: none; }
}

/* homepage: logo fades into the sticky menu bar once the top row scrolls away */
.site-header:not(.is-compact) .nav-logo { opacity: 0; visibility: hidden; transform: translateY(-50%) scale(.92); transition: opacity .25s, visibility .25s, transform .25s; }
.site-header.is-stuck .nav-logo { opacity: 1; visibility: visible; transform: translateY(-50%); }

/* footer copyright line */
.copyright.oc-copy { justify-content: center; text-align: center; }
.copyright.oc-copy p { margin: 0; max-width: 1100px; line-height: 1.7; }
.copyright.oc-copy a { color: var(--cyan); font-weight: 600; }
.copyright.oc-copy a:hover { color: var(--aqua); text-decoration: underline; }

/* homepage topics: category card slider */
#categories .section-head { align-items: flex-end; }
.oc-cat-nav { display: flex; gap: 12px; }
.oc-cat-arrow { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); background: rgba(6, 26, 46, .6); border: 1px solid rgba(76, 201, 240, .35); transition: all .2s; }
.oc-cat-arrow:hover { background: linear-gradient(135deg, var(--cyan), var(--aqua)); color: var(--abyss); border-color: transparent; }
.oc-cat-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.oc-cat-track::-webkit-scrollbar { display: none; }
.oc-cat-track .cat { flex: 0 0 calc((100% - 24px) / 2); aspect-ratio: 16 / 10; scroll-snap-align: start; padding: 32px; }
.oc-cat-track .cat h3 { font-size: 30px; }
.oc-cat-track .cat span { font-size: 15px; }
.oc-cat-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.oc-cat-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(230, 241, 251, .3); transition: width .3s, background .3s; }
.oc-cat-dot.is-active { width: 34px; background: linear-gradient(90deg, var(--cyan), var(--aqua)); }
#categories.is-static .oc-cat-nav, #categories.is-static .oc-cat-dots { display: none; }
@media (max-width: 820px) {
  .oc-cat-track { gap: 14px; }
  .oc-cat-track .cat { flex-basis: 86%; aspect-ratio: 4 / 5; padding: 24px; }
  .oc-cat-track .cat h3 { font-size: 24px; }
  .oc-cat-arrow { width: 42px; height: 42px; }
}

/* homepage: trending sidebar + latest posts list */
.oc-hl { padding-top: 20px; }
.oc-hl-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; }
.oc-hl-block { margin-bottom: 34px; }
.oc-hl-label { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin: 0 0 20px; }
.oc-hl-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.oc-hl-label span { position: relative; padding-left: 14px; }
.oc-hl-label span::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; transform: translateY(-50%); background: var(--cyan); }
.oc-hl-trend { list-style: none; margin: 0; padding: 0; }
.oc-hl-trend li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.oc-hl-trend li:first-child { padding-top: 0; }
.oc-hl-thumb { position: relative; flex: 0 0 68px; width: 68px; height: 68px; }
.oc-hl-thumb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid rgba(76, 201, 240, .35); }
.oc-hl-thumb b { position: absolute; right: -4px; top: -4px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--abyss); background: linear-gradient(135deg, var(--cyan), var(--aqua)); }
.oc-hl-t { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--text); transition: color .2s; }
.oc-hl-t:hover { color: var(--cyan); }
.oc-hl time { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.oc-hl-ad .oc-ad-300 { width: 100%; }
.oc-hl-pick { display: block; color: var(--text); }
.oc-hl-pick-img { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 14px; }
.oc-hl-pick-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.oc-hl-pick:hover img { transform: scale(1.06); }
.oc-hl-pick strong { display: block; font-family: var(--font-head); font-size: 16px; line-height: 1.35; transition: color .2s; }
.oc-hl-pick:hover strong { color: var(--cyan); }
.oc-hl-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.oc-hl-head h2 { font-size: 26px; margin: 0; white-space: nowrap; }
.oc-hl-head span { font-size: 13px; color: var(--cyan); white-space: nowrap; }
.oc-hl-head::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--line), transparent); }
.oc-hl-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; transition: border-color .25s, transform .25s; }
.oc-hl-card:hover { border-color: rgba(46, 230, 214, .45); transform: translateY(-3px); }
.oc-hl-card-img { display: block; min-height: 210px; overflow: hidden; }
.oc-hl-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.oc-hl-card:hover .oc-hl-card-img img { transform: scale(1.06); }
.oc-hl-card-body { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.oc-hl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.oc-hl-tags a { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); padding: 4px 10px; border: 1px solid rgba(46, 230, 214, .35); border-radius: 999px; }
.oc-hl-card h3 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; }
.oc-hl-card h3 a { color: var(--text); transition: color .2s; }
.oc-hl-card h3 a:hover { color: var(--cyan); }
.oc-hl-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.oc-hl-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.oc-hl-meta strong { color: var(--text); font-weight: 600; }
.oc-hl-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }
.oc-hl-meta time { display: inline; margin: 0; }
@media (max-width: 1080px) {
  .oc-hl-grid { grid-template-columns: 1fr; }
  .oc-hl-main { order: -1; }
  .oc-hl-side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
}
@media (max-width: 680px) {
  .oc-hl-side { grid-template-columns: 1fr; }
  .oc-hl-card { grid-template-columns: 1fr; }
  .oc-hl-card-img { min-height: 0; aspect-ratio: 16 / 9; }
  .oc-hl-card-body { padding: 20px; }
  .oc-hl-head { flex-wrap: wrap; }
  .oc-hl-head::after { flex-basis: 100%; }
}

/* sidebar search: one pill bar with a round icon button */
.widget_search .wp-block-search__label { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 14px; }
.widget_search .wp-block-search__inside-wrapper { display: flex !important; align-items: center; gap: 6px; padding: 5px !important; border: 1px solid var(--line) !important; border-radius: 999px; background: rgba(3, 13, 26, .6); transition: border-color .2s, box-shadow .2s; }
.widget_search .wp-block-search__inside-wrapper:focus-within { border-color: rgba(46, 230, 214, .55) !important; box-shadow: 0 0 0 3px rgba(46, 230, 214, .12); }
.widget_search .wp-block-search__input { flex: 1; min-width: 0; height: 40px; border: 0 !important; background: transparent !important; color: var(--text); font-size: 14px; padding: 0 14px !important; outline: none; box-shadow: none !important; }
.widget_search .wp-block-search__input::placeholder { color: var(--muted); opacity: 1; }
.widget_search .wp-block-search__button { flex: 0 0 40px; width: 40px; height: 40px; min-width: 0; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--abyss) !important; background: linear-gradient(135deg, var(--cyan), var(--aqua)) !important; transition: transform .2s, box-shadow .2s; }
.widget_search .wp-block-search__button:hover { transform: scale(1.06); box-shadow: 0 6px 18px rgba(46, 230, 214, .3); }
.widget_search .wp-block-search__button svg { width: 20px; height: 20px; min-width: 0; fill: currentColor; }

/* sidebar: Ferry Guides thumbnail list */
.oc-guides { list-style: none; margin: 0; padding: 0; }
.oc-guides li { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line); }
.oc-guides li:first-child { padding-top: 4px; }
.oc-guides li:last-child { border-bottom: 0; }
.oc-guides .wp-block-latest-posts__featured-image { grid-row: span 2; float: none; margin: 0 !important; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(76, 201, 240, .3); }
.oc-guides .wp-block-latest-posts__featured-image img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; transition: transform .4s; }
.oc-guides li:hover .wp-block-latest-posts__featured-image img { transform: scale(1.08); }
.oc-guides .wp-block-latest-posts__post-title { align-self: end; font-family: var(--font-head); font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.oc-guides .wp-block-latest-posts__post-title:hover { color: var(--cyan); }
.oc-guides .wp-block-latest-posts__post-date { align-self: start; margin-top: 5px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.oc-guides-more { margin: 14px 0 0; }
.oc-guides-more a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--cyan); }
.oc-guides-more a:hover { color: var(--aqua); }

/* sidebar: Keep in Touch social pills */
.oc-touch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oc-touch a { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(13, 42, 71, .55); color: var(--text); font-family: var(--font-head); font-size: 13px; font-weight: 600; transition: border-color .2s, background .2s, transform .2s; }
.oc-touch a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-touch a i { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(3, 13, 26, .85); color: var(--aqua); transition: background .2s, color .2s; }
.oc-touch a:hover { border-color: rgba(46, 230, 214, .55); background: rgba(46, 230, 214, .08); transform: translateY(-2px); }
.oc-touch a:hover i { background: linear-gradient(135deg, var(--cyan), var(--aqua)); color: var(--abyss); }

/* footer: Contact Details column (4-column footer) */
#footer .foot-grid { grid-template-columns: 1.25fr 1fr .8fr 1.05fr !important; gap: 40px !important; }
.oc-foot-contact ul { list-style: none; margin: 0; padding: 0; }
.oc-foot-contact li { display: flex; align-items: flex-start; gap: 12px; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--muted); }
.oc-foot-contact li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.oc-foot-contact li i { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--aqua); background: rgba(13, 42, 71, .6); border: 1px solid rgba(76, 201, 240, .3); }
.oc-foot-contact li.is-address span { color: var(--text); font-weight: 600; }
.oc-foot-contact li > span, .oc-foot-contact li > a { padding-top: 5px; overflow-wrap: anywhere; }
.oc-foot-contact a { color: var(--muted); transition: color .2s; }
.oc-foot-contact a:hover { color: var(--cyan); }
@media (max-width: 1100px) { #footer .foot-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 680px) { #footer .foot-grid { grid-template-columns: 1fr !important; } }

/* contact page: WPForms form in theme colors */
.oc-contact-box { margin: 40px 0; padding: 34px; background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); }
.oc-contact-box > .wp-block-group__inner-container > h3, .oc-contact-box > h3 { margin: 0 0 22px !important; font-size: 22px; color: var(--text); }
.oc-contact-box .wpforms-container { margin: 0 !important; }
.oc-contact-box .wpforms-field { padding: 0 0 20px !important; }
.oc-contact-box .wpforms-field-label { font-family: var(--font-head) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .08em !important; text-transform: uppercase; color: var(--text) !important; margin: 0 0 8px !important; }
.oc-contact-box .wpforms-required-label { color: var(--cyan) !important; }
.oc-contact-box input[type="text"], .oc-contact-box input[type="email"], .oc-contact-box textarea { width: 100% !important; max-width: 100% !important; height: 48px !important; padding: 0 20px !important; font-size: 15px !important; color: var(--text) !important; background: rgba(3, 13, 26, .65) !important; border: 1px solid rgba(120, 200, 255, .2) !important; border-radius: 999px !important; box-shadow: none !important; transition: border-color .2s, box-shadow .2s !important; }
.oc-contact-box textarea { height: 160px !important; min-height: 120px; padding: 14px 20px !important; border-radius: 18px !important; resize: vertical; }
.oc-contact-box input::placeholder, .oc-contact-box textarea::placeholder { color: var(--muted) !important; opacity: .8 !important; }
.oc-contact-box input:focus, .oc-contact-box textarea:focus { outline: none !important; border-color: rgba(46, 230, 214, .65) !important; box-shadow: 0 0 0 3px rgba(46, 230, 214, .14) !important; }
.oc-contact-box input.wpforms-error, .oc-contact-box textarea.wpforms-error { border-color: #fc6e99 !important; box-shadow: 0 0 0 3px rgba(252, 110, 153, .12) !important; }
.oc-contact-box em.wpforms-error, .oc-contact-box label.wpforms-error { display: block; margin-top: 8px !important; padding: 0 0 0 4px !important; font-size: 13px !important; font-style: normal; color: #fc6e99 !important; }
.oc-contact-box .wpforms-submit-container { padding-top: 6px !important; }
.oc-contact-box .wpforms-submit { height: 48px !important; padding: 0 32px !important; border: 0 !important; border-radius: 999px !important; cursor: pointer; font-family: var(--font-head) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .1em !important; text-transform: uppercase; color: var(--abyss) !important; background: linear-gradient(135deg, var(--cyan), var(--aqua)) !important; box-shadow: none !important; transition: transform .2s, box-shadow .2s !important; }
.oc-contact-box .wpforms-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(46, 230, 214, .3) !important; }
.oc-contact-box .wpforms-confirmation-container-full { color: var(--text) !important; background: rgba(46, 230, 214, .1) !important; border: 1px solid rgba(46, 230, 214, .45) !important; border-radius: 14px !important; padding: 18px 22px !important; }
@media (max-width: 640px) { .oc-contact-box { padding: 22px; } }

/* trending + latest posts: align headings, equal cards, matching column bottoms */
.oc-hl-label, .oc-hl-head { height: 32px; margin: 0 0 22px !important; }
.oc-hl-card-body { overflow: hidden; }
.oc-hl-card h3, .oc-hl-card p { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.oc-hl-card h3 { -webkit-line-clamp: 2; }
.oc-hl-card p { -webkit-line-clamp: 2; }
.oc-hl-card:last-child { margin-bottom: 0; }
@media (min-width: 1081px) {
  .oc-hl-grid { align-items: stretch; }
  .oc-hl-card { height: 250px; }
  .oc-hl-card-img { min-height: 0; height: 100%; }
  .oc-hl-side { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
  .oc-hl-side .oc-hl-block { margin-bottom: 0; }
}

/* post cards: same height, read-more pinned to the bottom */
.posts .card { display: flex; flex-direction: column; }
.posts .card .content { flex: 1; display: flex; flex-direction: column; }
.posts .card .content h3, .posts .card .content p { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.posts .card .content h3 { -webkit-line-clamp: 2; }
.posts .card .content p { -webkit-line-clamp: 3; }
.posts .card .read-more { margin-top: auto; padding-top: 14px; }

/* homepage latest: sidebar spans the full height of the posts column */
@media (min-width: 1081px) {
  #latest .blog-layout { align-items: stretch; }
  #latest .blog-layout > aside.sidebar { display: flex; flex-direction: column; justify-content: space-between; }
}

/* homepage: 728x90 banner above Trending / Latest Posts */
.oc-banner-wrap.oc-banner-728 { padding: 0 0 50px; margin-top: -40px; }
.oc-ad-720.oc-ad-728 { width: 728px; height: 90px; }
.ocd-ad.oc-ad-728 { max-width: 728px; margin: 0 auto; text-align: center; overflow: hidden; }

/* homepage: Trending This Week mosaic */
.oc-tw { padding: 60px 0; background: linear-gradient(180deg, rgba(6, 26, 46, .85), rgba(3, 13, 26, .6)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.oc-tw-title { display: flex; align-items: center; gap: 18px; margin: 0 0 28px; font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.oc-tw-title::before, .oc-tw-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.oc-tw-title::after { background: linear-gradient(90deg, var(--line), transparent); }
.oc-tw-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 8px; }
.oc-tw-item { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); color: #fff; }
.oc-tw-item.is-big { grid-row: span 2; }
.oc-tw-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.oc-tw-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 13, 26, 0) 35%, rgba(3, 13, 26, .55) 62%, rgba(3, 13, 26, .95) 100%); transition: background .3s; }
.oc-tw-body { position: relative; z-index: 1; width: 100%; padding: 20px 22px; text-align: center; }
.oc-tw-h { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.35; color: #fff; transition: color .25s; }
.oc-tw-item.is-big .oc-tw-h { font-size: 26px; line-height: 1.25; -webkit-line-clamp: 3; }
.oc-tw-meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; font-size: 12px; color: rgba(230, 241, 251, .8); }
.oc-tw-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }
.oc-tw-item:hover img { transform: scale(1.07); }
.oc-tw-item:hover .oc-tw-h { color: var(--cyan); }
.oc-tw-item:hover { border-color: rgba(46, 230, 214, .45); }
@media (max-width: 900px) {
  .oc-tw-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 210px 210px; }
  .oc-tw-item.is-big { grid-row: auto; grid-column: span 2; }
  .oc-tw-item.is-big .oc-tw-h { font-size: 22px; }
}
@media (max-width: 560px) {
  .oc-tw { padding: 44px 0; }
  .oc-tw-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .oc-tw-item.is-big { grid-column: auto; }
}

/* homepage: Popular Stories (2 large + 4 small) */
.oc-pop { padding: 70px 0; }
.oc-pop-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 22px; text-align: center; margin-bottom: 36px; }
.oc-pop-head::before, .oc-pop-head::after { content: ""; height: 2px; background: linear-gradient(90deg, transparent, rgba(76, 201, 240, .45)); grid-row: 1; }
.oc-pop-head::before { grid-column: 1; }
.oc-pop-head::after { grid-column: 3; background: linear-gradient(90deg, rgba(76, 201, 240, .45), transparent); }
.oc-pop-head h2 { grid-column: 2; grid-row: 1; margin: 0; font-size: clamp(24px, 2.4vw, 32px); }
.oc-pop-head span { grid-column: 2; grid-row: 2; margin-top: 4px; font-size: 13px; letter-spacing: .06em; color: var(--cyan); }
.oc-pop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 26px; }
.oc-pop-item { min-width: 0; }
.oc-pop-item.is-big { grid-column: span 2; }
.oc-pop-img { display: block; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 16px; }
.oc-pop-item:not(.is-big) .oc-pop-img { aspect-ratio: 4 / 3; margin-bottom: 14px; }
.oc-pop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.oc-pop-item:hover .oc-pop-img img { transform: scale(1.06); }
.oc-pop-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.oc-pop-tags a { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.oc-pop-tags a:hover { color: var(--aqua); }
.oc-pop-item h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.oc-pop-item.is-big h3 { font-size: 24px; line-height: 1.3; }
.oc-pop-item h3 a { color: var(--text); transition: color .2s; }
.oc-pop-item h3 a:hover { color: var(--cyan); }
.oc-pop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.oc-pop-meta strong { color: var(--text); font-weight: 600; }
.oc-pop-cm { display: inline-flex; align-items: center; gap: 5px; }
.oc-pop-cm svg { color: var(--aqua); }
.oc-pop-more { text-align: center; margin-top: 44px; }
@media (max-width: 900px) {
  .oc-pop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .oc-pop-item.is-big { grid-column: span 2; }
}
@media (max-width: 560px) {
  .oc-pop { padding: 50px 0; }
  .oc-pop-grid { grid-template-columns: 1fr; }
  .oc-pop-item.is-big { grid-column: auto; }
  .oc-pop-item.is-big h3 { font-size: 20px; }
}

/* typography: one step smaller site-wide */
.post-hero h1 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; }
.article { font-size: 16px; line-height: 1.75; }
.article .lead { font-size: 18px; }
.article h2 { font-size: 26px; margin-top: 40px; }
.article h3 { font-size: 20px; }
.article h4 { font-size: 18px; }
.article blockquote { font-size: 19px; }
.article .rank-math-question { font-size: 17px; }
.featured h2 { font-size: clamp(24px, 2.4vw, 32px); }
.newsletter h2 { font-size: clamp(24px, 2.4vw, 32px); }
.card h3 { font-size: 18px; }
.card p { font-size: 14px; }
.oc-hl-card h3 { font-size: 19px; }
.oc-hl-card p { font-size: 14px; }
.oc-hl-head h2 { font-size: 24px; }
.oc-pop-item.is-big h3 { font-size: 21px; }
.oc-cat-track .cat h3 { font-size: 26px; }
@media (max-width: 640px) {
  .post-hero h1 { font-size: 24px; }
  .article { font-size: 15.5px; }
  .article .lead { font-size: 17px; }
  .article h2 { font-size: 22px; margin-top: 32px; }
  .article h3 { font-size: 18px; }
  .oc-cat-track .cat h3 { font-size: 22px; }
}

/* footer: aligned columns (logo matches heading boxes, contact fits on one line) */
#footer .foot-grid { grid-template-columns: 1.1fr 1.05fr .75fr 1.2fr !important; gap: 40px !important; align-items: start; }
#footer .oc-foot-about > div:first-child { height: 59px; margin: 0 0 30px !important; display: flex; align-items: center; }
#footer .oc-foot-about > div:first-child img { height: 59px !important; width: auto !important; max-width: 100%; }
#footer .oc-foot-contact li { font-family: Lora, Georgia, serif; font-size: 15px; align-items: center; }
#footer .oc-foot-contact li > span, #footer .oc-foot-contact li > a { padding-top: 0; overflow-wrap: break-word; }
@media (max-width: 1100px) { #footer .foot-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 680px) { #footer .foot-grid { grid-template-columns: 1fr !important; } }

/* footer: smaller text (selectors outrank the footer widget's inline styles) */
#footer.site-footer .footer-widget h4 { height: 48px; display: flex; align-items: center; padding: 0 18px !important; font-size: 15px !important; margin-bottom: 24px !important; }
#footer.site-footer .oc-foot-about > div:first-child { height: 48px; margin: 0 0 24px !important; }
#footer.site-footer .oc-foot-about > div:first-child img { height: 48px !important; }
#footer.site-footer .oc-foot-about p { font-size: 15.5px !important; line-height: 1.75 !important; }
#footer.site-footer .widget_recent_entries li { padding-bottom: 16px !important; margin-bottom: 18px !important; }
#footer.site-footer .widget_recent_entries li a { font-size: 16px !important; line-height: 1.6 !important; }
#footer.site-footer .oc-foot-links li { margin-bottom: 26px !important; }
#footer.site-footer .oc-foot-links a { font-size: 15px !important; }
#footer.site-footer .oc-foot-contact li { font-size: 14px; padding-bottom: 14px; margin-bottom: 14px; }
#footer.site-footer .oc-foot-contact li i { flex-basis: 30px; width: 30px; height: 30px; }
#footer.site-footer .copyright.oc-copy { font-size: 14px; }

/* footer: affiliate note under the social icons */
#footer.site-footer .oc-foot-social { margin-top: 22px !important; }
#footer.site-footer .oc-foot-about p.oc-foot-note { margin-top: 22px !important; padding: 12px 14px; font-family: var(--font-body); font-size: 13px !important; line-height: 1.6 !important; color: var(--muted) !important; background: rgba(13, 42, 71, .45); border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: 10px; }
#footer.site-footer .oc-foot-note strong { color: var(--text); font-weight: 600; }

/* header menu: 7 category items fit between logo and search on smaller desktops */
@media (min-width: 821px) and (max-width: 1180px) {
  .site-header .nav { padding-left: 160px; padding-right: 64px; }
  .menu { gap: 2px; }
  .menu > li > a { padding: 6px 10px; font-size: 12.5px; letter-spacing: .07em; }
}

/* ===== content pages: card layout (About, Contact, legal pages) ===== */
.article .oc-pg-hero { position: relative; overflow: hidden; margin: 0 0 44px; padding: 34px 36px; border-radius: 20px; border: 1px solid rgba(76, 201, 240, .28); background: radial-gradient(120% 140% at 100% 0%, rgba(46, 230, 214, .14), transparent 55%), linear-gradient(160deg, #0d2a47, #061a2e); }
.article .oc-pg-hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(76, 201, 240, .18); box-shadow: 0 0 0 30px rgba(76, 201, 240, .04); }
.article .oc-pg-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(46, 230, 214, .45); background: rgba(46, 230, 214, .08); color: var(--cyan); font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.article .oc-pg-hero h2 { position: relative; z-index: 1; margin: 16px 0 12px; font-size: 28px; line-height: 1.25; color: var(--text); }
.article .oc-pg-hero p { position: relative; z-index: 1; margin: 0 0 12px; max-width: 720px; color: #b9cde0; font-size: 15.5px; line-height: 1.75; }
.article .oc-pg-hero p:last-child { margin-bottom: 0; }
.article .oc-pg-hero a { color: var(--cyan); }
.article .oc-pg-h { display: flex; align-items: center; gap: 12px; margin: 46px 0 8px; font-size: 22px; line-height: 1.3; color: var(--text); }
.article .oc-pg-h::before { content: ""; flex: 0 0 4px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, var(--cyan), var(--aqua)); }
.article .oc-pg-sub { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.article .oc-pg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 18px; }
.article .oc-pg-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article .oc-pg-card { display: block; padding: 22px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(13, 42, 71, .45); color: inherit; text-decoration: none; transition: border-color .25s, transform .25s, background .25s; }
.article a.oc-pg-card:hover, .article .oc-pg-card:hover { border-color: rgba(46, 230, 214, .5); background: rgba(13, 42, 71, .7); transform: translateY(-3px); }
.article .oc-pg-ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; color: var(--cyan); background: rgba(46, 230, 214, .1); border: 1px solid rgba(46, 230, 214, .25); }
.article .oc-pg-ic svg { width: 20px; height: 20px; }
.article .oc-pg-card h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.35; color: var(--text); }
.article .oc-pg-card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.article .oc-pg-card .oc-pg-link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--cyan); }
.article .oc-pg-note { display: flex; gap: 16px; align-items: flex-start; margin: 26px 0; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(46, 230, 214, .3); border-left: 4px solid var(--cyan); background: rgba(46, 230, 214, .06); }
.article .oc-pg-note .oc-pg-ic { flex: 0 0 42px; margin: 0; }
.article .oc-pg-note strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 15px; color: var(--text); }
.article .oc-pg-note p { margin: 0; font-size: 14.5px; line-height: 1.7; color: #b9cde0; }
.article .oc-pg-cta { position: relative; overflow: hidden; margin: 44px 0 10px; padding: 32px 34px; border-radius: 20px; border: 1px solid rgba(46, 230, 214, .35); background: radial-gradient(90% 160% at 0% 100%, rgba(46, 230, 214, .18), transparent 60%), linear-gradient(135deg, #030d1a, #0a2540); }
.article .oc-pg-cta h3 { margin: 0 0 8px; font-size: 22px; color: var(--text); }
.article .oc-pg-cta p { margin: 0 0 20px; max-width: 620px; color: #b9cde0; font-size: 15px; line-height: 1.7; }
.article .oc-pg-cta .btn { display: inline-flex; align-items: center; gap: 8px; }
.article .oc-pg-toc { margin: 0 0 30px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(13, 42, 71, .45); }
.article .oc-pg-toc strong { display: block; margin-bottom: 12px; font-family: var(--font-head); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.article .oc-pg-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.article .oc-pg-toc li { counter-increment: toc; margin: 0; padding: 0; font-size: 14.5px; }
.article .oc-pg-toc li::before { content: counter(toc, decimal-leading-zero); margin-right: 10px; font-family: var(--font-head); font-size: 12px; color: var(--aqua); }
.article .oc-pg-toc a { color: var(--text); text-decoration: none; }
.article .oc-pg-toc a:hover { color: var(--cyan); }
.article .oc-pg-doc { padding: 10px 34px 30px; border-radius: 20px; border: 1px solid var(--line); background: rgba(6, 26, 46, .55); }
.article .oc-pg-doc h2 { display: flex; align-items: center; gap: 12px; margin: 34px 0 12px; font-size: 21px; scroll-margin-top: 90px; }
.article .oc-pg-doc h2::before { content: ""; flex: 0 0 4px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, var(--cyan), var(--aqua)); }
.article .oc-pg-doc p, .article .oc-pg-doc li { color: #b9cde0; font-size: 15.5px; line-height: 1.8; }
.article .oc-pg-doc ul { padding-left: 0; list-style: none; }
.article .oc-pg-doc ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.article .oc-pg-doc ul li::before { content: ""; position: absolute; left: 4px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.article .oc-pg-doc strong { color: var(--text); }
.article .oc-pg-doc a { color: var(--cyan); }
@media (max-width: 900px) { .article .oc-pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .article .oc-pg-hero, .article .oc-pg-cta { padding: 24px 20px; }
  .article .oc-pg-hero h2 { font-size: 23px; }
  .article .oc-pg-grid, .article .oc-pg-grid.is-2, .article .oc-pg-toc ol { grid-template-columns: 1fr; }
  .article .oc-pg-doc { padding: 4px 18px 22px; }
  .article .oc-pg-note { flex-direction: column; }
}

/* content pages: dark text on cyan buttons (article link colour was overriding it) */
.btn:not(.ghost), .btn:not(.ghost):hover, .btn:not(.ghost):visited, .article a.btn:not(.ghost), .oc-ad-btn, .oc-ad-btn:hover, .wp-block-button__link { color: var(--abyss) !important; }
.article a.btn svg { stroke: currentColor; }

/* homepage: Plan Your Trip image cards */
.oc-trips { padding: 60px 0 70px; }
.oc-trips .section-head { margin-bottom: 30px; }
.oc-trips-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.oc-trip { position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); color: #fff; text-decoration: none; }
.oc-trip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.oc-trip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 13, 26, 0) 40%, rgba(3, 13, 26, .55) 68%, rgba(3, 13, 26, .95) 100%); }
.oc-trip-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 16px 26px; text-align: center; }
.oc-trip-title { font-family: var(--font-head); font-size: 23px; font-weight: 800; font-style: italic; line-height: 1.2; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.oc-trip-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--abyss); background: linear-gradient(135deg, var(--cyan), var(--aqua)); box-shadow: 0 6px 18px rgba(46, 230, 214, .25); transition: transform .25s, box-shadow .25s; }
.oc-trip:hover img { transform: scale(1.07); }
.oc-trip:hover { border-color: rgba(46, 230, 214, .5); }
.oc-trip:hover .oc-trip-btn { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(46, 230, 214, .4); }
.oc-trip:hover .oc-trip-btn svg { transform: translateX(3px); }
.oc-trip-btn svg { transition: transform .25s; }
@media (max-width: 1000px) { .oc-trips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .oc-trips { padding: 44px 0 50px; } .oc-trips-grid { gap: 14px; } .oc-trip { aspect-ratio: 3 / 4; } .oc-trip-title { font-size: 19px; } .oc-trip-btn { padding: 8px 16px; font-size: 13px; } }

/* typography step 2: smaller H1 / H2 / H3 site-wide */
.post-hero h1 { font-size: clamp(24px, 2.6vw, 34px); }
.archive-hero h1 { font-size: clamp(22px, 2.2vw, 28px); }
.article h2 { font-size: 22px; }
.article h3 { font-size: 18px; }
.article h4 { font-size: 16.5px; }
.oc-slider .oc-slide-title { font-size: clamp(22px, 2.3vw, 31px); }
.section-head h2 { font-size: clamp(22px, 2.3vw, 30px); }
.featured h2, .newsletter h2 { font-size: clamp(22px, 2vw, 27px); }
.oc-pop-head h2 { font-size: clamp(22px, 2vw, 27px); }
.oc-hl-head h2 { font-size: 21px; }
.posts .card .content h3, .card h3 { font-size: 16.5px; }
.oc-hl-card h3 { font-size: 17px; }
.oc-pop-item.is-big h3 { font-size: 19px; }
.oc-pop-item h3 { font-size: 15px; }
.oc-tw-item.is-big .oc-tw-h { font-size: 22px; }
.oc-tw-h { font-size: 15px; }
.oc-cat-track .cat h3 { font-size: 22px; }
.oc-trip-title { font-size: 20px; }
.article .oc-pg-hero h2 { font-size: 24px; }
.article .oc-pg-h { font-size: 20px; }
.article .oc-pg-card h3 { font-size: 15px; }
.article .oc-pg-doc h2 { font-size: 19px; }
.article .oc-pg-cta h3 { font-size: 20px; }
@media (max-width: 640px) {
  .post-hero h1 { font-size: 22px; }
  .archive-hero h1 { font-size: 22px; }
  .article h2 { font-size: 20px; }
  .article h3 { font-size: 17px; }
  .oc-slider .oc-slide-title { font-size: 22px; }
  .oc-cat-track .cat h3 { font-size: 20px; }
  .article .oc-pg-hero h2 { font-size: 21px; }
  .oc-trip-title { font-size: 18px; }
}

/* footer: bigger logo, centred on the 48px heading boxes (extends 11px above/below), text still aligned */
#footer.site-footer .oc-foot-about > div:first-child { height: 70px; margin: -11px 0 13px !important; }
#footer.site-footer .oc-foot-about > div:first-child img { height: 70px !important; }
@media (max-width: 1100px) { #footer.site-footer .oc-foot-about > div:first-child { margin-top: 0 !important; } }

/* FAQs page: accordion in theme colors */
.article .oc-faq { display: grid; gap: 12px; margin: 0 0 18px; }
.article .oc-faq details { border-radius: 16px; border: 1px solid var(--line); background: rgba(13, 42, 71, .45); transition: border-color .25s, background .25s; }
.article .oc-faq details[open] { border-color: rgba(46, 230, 214, .45); background: rgba(13, 42, 71, .7); }
.article .oc-faq summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--text); }
.article .oc-faq summary::-webkit-details-marker { display: none; }
.article .oc-faq summary .oc-faq-n { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-size: 12px; font-weight: 700; color: var(--cyan); background: rgba(46, 230, 214, .1); border: 1px solid rgba(46, 230, 214, .25); }
.article .oc-faq summary .oc-faq-q { flex: 1; }
.article .oc-faq summary::after { content: ""; flex: 0 0 12px; width: 12px; height: 12px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; }
.article .oc-faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.article .oc-faq summary:hover { color: var(--cyan); }
.article .oc-faq .oc-faq-a { padding: 0 20px 20px 66px; }
.article .oc-faq .oc-faq-a p { margin: 0; font-size: 15px; line-height: 1.75; color: #b9cde0; }
.article .oc-faq .oc-faq-a a { color: var(--cyan); }
@media (max-width: 600px) { .article .oc-faq summary { padding: 16px; font-size: 15px; } .article .oc-faq .oc-faq-a { padding: 0 16px 18px; } }

/* author archive: profile card */
.oc-author-card { display: flex; gap: 26px; align-items: flex-start; margin-top: 16px; padding: 26px 28px; border-radius: 20px; border: 1px solid rgba(76, 201, 240, .28); background: radial-gradient(120% 140% at 100% 0%, rgba(46, 230, 214, .1), transparent 55%), linear-gradient(160deg, #0d2a47, #061a2e); max-width: 860px; }
.oc-author-av { flex: 0 0 104px; width: 104px; height: 104px; padding: 4px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--aqua)); }
.oc-author-av img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--abyss); }
.oc-author-kicker { display: block; font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.archive-hero .oc-author-card h1 { margin: 6px 0 4px; font-size: clamp(22px, 2.2vw, 28px); }
.oc-author-role { display: block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.oc-author-bio { margin: 14px 0 12px !important; max-width: 640px; font-size: 15px; line-height: 1.75; color: #b9cde0 !important; }
.oc-author-count { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--aqua); }
.oc-author-count::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
@media (max-width: 600px) { .oc-author-card { flex-direction: column; gap: 16px; padding: 22px 20px; } .oc-author-av { flex-basis: 88px; width: 88px; height: 88px; } }

/* author card: LinkedIn icon beside the name */
.oc-author-name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.archive-hero .oc-author-name h1 { margin: 6px 0 4px; }
.oc-author-li { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--aqua); background: rgba(13, 42, 71, .8); border: 1px solid rgba(76, 201, 240, .4); transition: background .2s, color .2s, transform .2s; }
.oc-author-li:hover { color: var(--abyss); background: linear-gradient(135deg, var(--cyan), var(--aqua)); border-color: transparent; transform: translateY(-2px); }

/* article tables (.oc-table, inline-styled in posts): balanced columns, centered numbers, mobile scroll */
.article .oc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article .oc-table { table-layout: fixed; min-width: 520px; }
.article .oc-table th, .article .oc-table td { vertical-align: middle; overflow-wrap: break-word; }
.article .oc-table th:first-child:not(.oc-num) { width: 32%; }
.article .oc-table th.oc-num, .article .oc-table td.oc-num { text-align: center !important; font-variant-numeric: tabular-nums; }
.article .oc-table td.oc-num { white-space: normal; }
.article .oc-table th:first-child:not(.oc-num):nth-last-child(n+5) { width: 21%; }
.article .oc-table:has(th:nth-child(5)) { min-width: 680px; }
.article .oc-table tbody tr:hover td { background: #0d3050 !important; }

/* post calculators */
.article .oc-calc { margin: 28px 0; padding: 26px 26px 22px; border-radius: 18px; border: 1px solid rgba(76, 201, 240, .3); background: radial-gradient(120% 140% at 100% 0%, rgba(46, 230, 214, .1), transparent 55%), linear-gradient(160deg, #0d2a47, #061a2e); }
.article .oc-calc h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px !important; font-size: 19px; color: var(--text); }
.article .oc-calc h3 svg { flex: 0 0 22px; color: var(--cyan); }
.article .oc-calc > p { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.article .oc-calc-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.article .oc-calc label { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.article .oc-calc input, .article .oc-calc select { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(120, 200, 255, .22); background: rgba(3, 13, 26, .7); color: var(--text); font-size: 15px; font-family: inherit; outline: none; }
.article .oc-calc input:focus, .article .oc-calc select:focus { border-color: rgba(46, 230, 214, .65); box-shadow: 0 0 0 3px rgba(46, 230, 214, .14); }
.article .oc-calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.article .oc-calc-out div { padding: 14px 12px; border-radius: 12px; text-align: center; background: rgba(3, 13, 26, .55); border: 1px solid var(--line); }
.article .oc-calc-out strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--cyan); font-variant-numeric: tabular-nums; }
.article .oc-calc-out span { font-size: 12px; color: var(--muted); }
.article .oc-calc-sub { margin: 16px 0 8px; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.article .oc-calc small { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); }
@media (max-width: 600px) { .article .oc-calc { padding: 20px 16px; } .article .oc-calc-row { grid-template-columns: 1fr 1fr; } .article .oc-calc-row > div:first-child { grid-column: 1 / -1; } .article .oc-calc-out strong { font-size: 17px; } }

/* images: boxes match photo shape (~16:10) so photos aren't cut; no dark overlays on photos */
.oc-trip { aspect-ratio: 16 / 10 !important; }
.insta a { aspect-ratio: 3 / 2; }
.oc-pop-item:not(.is-big) .oc-pop-img { aspect-ratio: 3 / 2; }
@media (min-width: 1081px) { .oc-hl-card { grid-template-columns: 49% minmax(0, 1fr); } }
.oc-tw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-template-rows: none !important; grid-auto-rows: auto !important; }
.oc-tw-item { aspect-ratio: 16 / 10; }
.oc-tw-item.is-big { grid-column: span 2 !important; grid-row: span 2 !important; aspect-ratio: auto; }
.cat::after, .oc-tw-item::after, .oc-trip::after { content: none !important; }
.post-hero::before { content: none !important; }
.cat div, .oc-tw-body, .oc-trip-title, .post-hero .container { text-shadow: 0 2px 12px rgba(0, 0, 0, .7), 0 1px 3px rgba(0, 0, 0, .55); }
.oc-trip-btn, .post-hero .tag, .post-hero .btn { text-shadow: none; }
@media (max-width: 900px) {
  .oc-tw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .oc-tw-item.is-big { grid-column: span 2 !important; grid-row: auto !important; aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .oc-tw-grid { grid-template-columns: 1fr !important; }
  .oc-tw-item.is-big { grid-column: auto !important; }
  .oc-trips-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 820px) { .oc-cat-track .cat { aspect-ratio: 4 / 3 !important; } }
