/* ===========================================
   CruiseSafe Theme — Main Stylesheet
   Design: Navy & Ocean editorial aesthetic
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:       #0B1F3A;
  --ocean:      #1A4D7C;
  --sky:        #2E86C1;
  --foam:       #E8F4FD;
  --coral:      #E85D3A;
  --gold:       #C9922A;
  --sand:       #F5F0E8;
  --white:      #FFFFFF;
  --gray-50:    #F8F9FA;
  --gray-100:   #F1F3F5;
  --gray-200:   #E9ECEF;
  --gray-400:   #ADB5BD;
  --gray-600:   #6C757D;
  --gray-800:   #343A40;
  --text:       #1C2B3A;
  --text-muted: #5A6A7A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  --content-width: 720px;
  --wide-width:    1100px;
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     14px;
  --radius-xl:     22px;

  --shadow-sm:  0 1px 4px rgba(11,31,58,.07);
  --shadow-md:  0 4px 16px rgba(11,31,58,.10);
  --shadow-lg:  0 12px 40px rgba(11,31,58,.14);

  --transition: 220ms cubic-bezier(.4,0,.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral); }
ul, ol { padding-left: 1.5rem; }
p { margin-bottom: 1.4rem; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; top: -999px; left: 1rem; z-index: 9999;
  background: var(--navy); color: var(--white); padding: .5rem 1rem; border-radius: var(--radius-md);
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--sky);
  box-shadow: 0 2px 12px rgba(11,31,58,.3);
}
.header-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}
.site-branding { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.site-branding .anchor-icon {
  width: 36px; height: 36px;
  background: var(--sky);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.site-branding .anchor-icon svg { width: 20px; height: 20px; fill: var(--white); }
.site-title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--white) !important;
  letter-spacing: -.01em;
}
.site-title span { color: var(--gold); }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: .25rem; list-style: none; padding: 0; margin: 0; }
.primary-nav li { position: relative; }
.primary-nav a {
  color: rgba(255,255,255,.82);
  font-size: .875rem; font-weight: 500; letter-spacing: .01em;
  padding: .5rem .85rem; border-radius: var(--radius-md);
  display: block; transition: all var(--transition);
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
/* Dropdown */
.primary-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 180px; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all var(--transition); z-index: 200;
  padding: .5rem; list-style: none;
}
.primary-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .sub-menu a { color: var(--text); font-size: .8rem; padding: .45rem .9rem; border-radius: var(--radius-sm); }
.primary-nav .sub-menu a:hover { color: var(--sky); background: var(--foam); }

/* Header right */
.header-right { display: flex; align-items: center; gap: .75rem; }
.btn-subscribe {
  background: var(--coral);
  color: var(--white) !important; font-size: .8rem; font-weight: 600;
  padding: .45rem 1rem; border-radius: 50px;
  transition: all var(--transition); white-space: nowrap;
  border: none; cursor: pointer;
}
.btn-subscribe:hover { background: #d44d2a; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,93,58,.35); }
.search-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--white);
  transition: background var(--transition);
}
.search-toggle:hover { background: rgba(255,255,255,.2); }
.search-toggle svg { width: 16px; height: 16px; }

/* Search bar */
.header-search-bar {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 1.5rem; display: none;
}
.header-search-bar.active { display: flex; }
.header-search-bar input {
  flex: 1; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: .9rem;
}
.header-search-bar input::placeholder { color: rgba(255,255,255,.5); }
.header-search-bar button {
  background: var(--sky); color: var(--white); border: none;
  padding: .6rem 1.25rem; border-radius: var(--radius-md);
  margin-left: .5rem; cursor: pointer; font-weight: 500;
}

/* Mobile hamburger */
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: .25rem; color: var(--white);
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ============================================================
   HERO / FEATURED POST
   ============================================================ */
.hero-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--ocean) 100%);
  padding: 4rem 1.5rem 5rem;
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(46,134,193,.25) 0%, transparent 60%);
}
.hero-inner {
  max-width: var(--wide-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  position: relative;
}
.hero-meta { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.hero-category {
  background: var(--coral); color: var(--white);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 50px;
}
.hero-reading-time { color: rgba(255,255,255,.6); font-size: .8rem; }
.hero-title {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--white); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 1rem;
}
.hero-excerpt { color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1.7; margin-bottom: 1.75rem; }
.hero-author { display: flex; align-items: center; gap: .75rem; }
.hero-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3); overflow: hidden; flex-shrink: 0;
}
.hero-author-info { color: rgba(255,255,255,.7); font-size: .8rem; }
.hero-author-info strong { color: var(--white); display: block; font-size: .85rem; }
.hero-image-wrap {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 16/10; position: relative;
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-read-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); color: var(--navy);
  font-weight: 600; font-size: .875rem; padding: .7rem 1.5rem;
  border-radius: 50px; transition: all var(--transition); margin-bottom: 1.75rem;
}
.hero-read-btn:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.hero-read-btn svg { width: 14px; height: 14px; }

/* ============================================================
   LAYOUT — MAIN + SIDEBAR
   ============================================================ */
.site-main { max-width: var(--wide-width); margin: 0 auto; padding: 3rem 1.5rem; }
.content-sidebar-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }

/* ============================================================
   POST CARDS — GRID
   ============================================================ */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }

.post-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); overflow: hidden;
  transition: all var(--transition); display: flex; flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-200); }
.post-card-thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-category {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--navy); color: var(--white);
  font-size: .65rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 50px;
}
.post-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-card-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.post-card-meta time, .post-card-meta .read-time { font-size: .75rem; color: var(--text-muted); }
.post-card-meta .read-time::before { content: '·'; margin-right: .75rem; }
.post-card h2 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  line-height: 1.35; color: var(--text); margin-bottom: .6rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card h2 a { color: inherit; }
.post-card h2 a:hover { color: var(--sky); }
.post-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px solid var(--gray-100); margin-top: auto; }
.post-card-author { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--text-muted); }
.post-card-author img { width: 24px; height: 24px; border-radius: 50%; }
.read-more-link { font-size: .75rem; font-weight: 600; color: var(--sky); display: flex; align-items: center; gap: .3rem; }
.read-more-link svg { width: 12px; height: 12px; transition: transform var(--transition); }
.post-card:hover .read-more-link svg { transform: translateX(3px); }

/* Has-video badge */
.has-video-badge {
  position: absolute; bottom: .75rem; right: .75rem;
  background: rgba(11,31,58,.75); color: var(--white); backdrop-filter: blur(4px);
  font-size: .65rem; font-weight: 600; padding: .25rem .6rem;
  border-radius: 50px; display: flex; align-items: center; gap: .3rem;
}
.has-video-badge::before {
  content: ''; width: 0; height: 0;
  border-style: solid; border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent var(--white);
}

/* ============================================================
   SINGLE POST — ARTICLE
   ============================================================ */
.single-article { max-width: var(--content-width); margin: 0 auto; }

/* Post header */
.post-header { margin-bottom: 2.5rem; }
.post-category-breadcrumb { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; font-size: .8rem; }
.post-category-breadcrumb a { color: var(--sky); font-weight: 500; }
.post-category-breadcrumb span { color: var(--gray-400); }
.post-header h1 {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  line-height: 1.2; letter-spacing: -.02em; color: var(--text); margin-bottom: 1rem;
}
.post-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.post-meta-row .meta-item { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--text-muted); }
.post-meta-row .meta-item svg { width: 14px; height: 14px; opacity: .6; }
.post-meta-row .meta-divider { color: var(--gray-400); }
.post-featured-image { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16/9; }
.post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.post-featured-caption { font-size: .78rem; color: var(--text-muted); text-align: center; margin-top: .5rem; font-style: italic; }

/* Watch Instead CTA */
.watch-instead-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.watch-instead-cta .cta-text { color: rgba(255,255,255,.85); font-size: .9rem; }
.watch-instead-cta .cta-text strong { color: var(--white); display: block; font-size: 1rem; margin-bottom: .2rem; }
.watch-instead-cta .btn-watch {
  background: var(--coral); color: var(--white);
  font-weight: 600; font-size: .85rem; padding: .6rem 1.25rem;
  border-radius: 50px; white-space: nowrap; display: flex; align-items: center; gap: .5rem;
  transition: all var(--transition); flex-shrink: 0;
}
.watch-instead-cta .btn-watch:hover { background: #d44d2a; color: var(--white); transform: translateY(-1px); }
.watch-instead-cta .btn-watch svg { width: 14px; height: 14px; }

/* Table of Contents */
.toc-box {
  background: var(--foam); border: 1px solid rgba(46,134,193,.2);
  border-left: 4px solid var(--sky); border-radius: var(--radius-lg);
  padding: 1.5rem; margin-bottom: 2.5rem;
}
.toc-box .toc-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--navy); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem;
}
.toc-box .toc-title svg { width: 16px; height: 16px; color: var(--sky); }
.toc-box ol { padding-left: 1.25rem; margin: 0; }
.toc-box ol li { margin-bottom: .4rem; }
.toc-box ol li a { color: var(--ocean); font-size: .875rem; font-weight: 500; }
.toc-box ol li a:hover { color: var(--coral); }
.toc-box ol li.toc-active > a { color: var(--coral); }

/* Article body typography */
.entry-content { font-size: 1rem; line-height: 1.85; color: var(--text); }
.entry-content h2 {
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 700;
  color: var(--text); margin: 2.5rem 0 1rem; padding-top: .5rem;
  letter-spacing: -.015em;
}
.entry-content h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--text); margin: 2rem 0 .75rem;
}
.entry-content h4 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.entry-content p { margin-bottom: 1.5rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.5rem; }
.entry-content ul li, .entry-content ol li { margin-bottom: .4rem; }
.entry-content blockquote {
  border-left: 4px solid var(--gold); margin: 2rem 0;
  padding: 1.25rem 1.5rem; background: var(--sand); border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.entry-content blockquote p {
  font-family: var(--font-display); font-size: 1.15rem; font-style: italic;
  color: var(--navy); margin: 0; line-height: 1.6;
}
.entry-content blockquote cite { display: block; font-size: .8rem; color: var(--text-muted); margin-top: .75rem; font-style: normal; }
.entry-content strong { font-weight: 600; color: var(--navy); }
.entry-content code { font-family: var(--font-mono); font-size: .85em; background: var(--gray-100); padding: .15em .4em; border-radius: var(--radius-sm); color: var(--ocean); }
.entry-content pre { background: var(--navy); border-radius: var(--radius-md); padding: 1.5rem; overflow-x: auto; margin-bottom: 1.5rem; }
.entry-content pre code { background: none; color: #e8f4fd; font-size: .875rem; }
.entry-content hr { border: none; border-top: 1px solid var(--gray-200); margin: 2.5rem 0; }
.entry-content a { color: var(--sky); text-decoration: underline; text-decoration-color: rgba(46,134,193,.3); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--coral); }
.entry-content img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.entry-content .wp-caption-text { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: .4rem; font-style: italic; }

/* Callout Blocks */
.callout-box {
  border-radius: var(--radius-md); padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  margin: 2rem 0; border-left: 4px solid; display: flex; gap: .9rem; align-items: flex-start;
}
.callout-box .callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .05rem; }
.callout-box .callout-title { font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .35rem; }
.callout-box p { margin: 0; font-size: .9rem; line-height: 1.6; }
.callout-key-takeaway { background: #E8F4FD; border-color: var(--sky); }
.callout-key-takeaway .callout-title { color: var(--ocean); }
.callout-pro-tip { background: #F0F9F4; border-color: #28A745; }
.callout-pro-tip .callout-title { color: #1E7E34; }
.callout-warning { background: #FFF8E6; border-color: var(--gold); }
.callout-warning .callout-title { color: #9A6E00; }
.callout-danger { background: #FDEEEC; border-color: var(--coral); }
.callout-danger .callout-title { color: #C0392B; }
.callout-expert { background: #F4F0FF; border-color: #7C5CBF; }
.callout-expert .callout-title { color: #5B3FA0; }

/* Related Video Block */
.related-video-block {
  background: var(--navy); border-radius: var(--radius-xl);
  overflow: hidden; margin: 2.5rem 0;
}
.related-video-header {
  padding: 1rem 1.25rem .75rem; display: flex; align-items: center; gap: .6rem;
}
.related-video-header .yt-icon { width: 28px; height: 28px; }
.related-video-header span { color: rgba(255,255,255,.7); font-size: .8rem; }
.related-video-header strong { color: var(--white); display: block; font-size: .9rem; }
.video-embed-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-embed-wrap iframe, .video-embed-wrap .lite-youtube {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
/* Lite embed thumbnail */
.lite-youtube {
  cursor: pointer; background-color: #000;
  background-position: center; background-size: cover; contain: content;
}
.lite-youtube::before {
  content: attr(data-title);
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .5rem 1rem .25rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: var(--white); font-size: .8rem;
}
.lite-youtube .lty-playbtn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px; background: rgba(255,255,255,.95);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.lite-youtube:hover .lty-playbtn { background: var(--coral); transform: translate(-50%,-50%) scale(1.08); }
.lty-playbtn svg { width: 22px; height: 22px; fill: var(--navy); margin-left: 3px; }
.related-video-caption { padding: .75rem 1.25rem 1.25rem; color: rgba(255,255,255,.7); font-size: .82rem; line-height: 1.5; }

/* Post Tags */
.post-tags { margin: 2.5rem 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.post-tags .tags-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); }
.post-tags a {
  background: var(--gray-100); color: var(--text-muted);
  font-size: .78rem; padding: .3rem .8rem; border-radius: 50px;
  border: 1px solid var(--gray-200); transition: all var(--transition);
}
.post-tags a:hover { background: var(--foam); color: var(--sky); border-color: rgba(46,134,193,.3); }

/* Share Bar */
.share-bar {
  background: var(--gray-50); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem; margin: 2.5rem 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.share-bar .share-label { font-weight: 600; font-size: .875rem; color: var(--text); }
.share-buttons { display: flex; gap: .5rem; }
.share-btn {
  display: flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600;
  padding: .45rem .9rem; border-radius: 50px; border: 1px solid;
  cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.share-btn svg { width: 14px; height: 14px; }
.share-btn.fb { background: #E7F0FD; color: #1877F2; border-color: #B3CFFA; }
.share-btn.fb:hover { background: #1877F2; color: var(--white); }
.share-btn.tw { background: var(--gray-100); color: var(--text); border-color: var(--gray-200); }
.share-btn.tw:hover { background: var(--text); color: var(--white); }
.share-btn.wa { background: #E7F9EF; color: #25D366; border-color: #9EE2BA; }
.share-btn.wa:hover { background: #25D366; color: var(--white); }
.share-btn.copy { background: var(--gray-100); color: var(--text-muted); border-color: var(--gray-200); }
.share-btn.copy:hover { background: var(--navy); color: var(--white); }

/* Author Box */
.author-box {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
  padding: 2rem; margin: 3rem 0; display: flex; gap: 1.5rem; align-items: flex-start;
}
.author-avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--foam); }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info .author-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.author-info .author-role { font-size: .8rem; color: var(--sky); font-weight: 500; margin-bottom: .75rem; }
.author-info .author-bio { font-size: .875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.author-social { display: flex; gap: .5rem; }
.author-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gray-100); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.author-social a:hover { background: var(--navy); color: var(--white); }
.author-social a svg { width: 14px; height: 14px; }

/* Related Posts */
.related-posts-section { margin: 3rem 0; }
.related-posts-section .section-heading {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--text); margin-bottom: 1.25rem; padding-bottom: .75rem;
  border-bottom: 2px solid var(--gray-200); display: flex; align-items: center; gap: .6rem;
}
.related-posts-section .section-heading::before { content: ''; display: block; width: 4px; height: 1.4rem; background: var(--coral); border-radius: 2px; }
.related-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }

/* Post navigation */
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 3rem 0; }
.nav-post {
  padding: 1.25rem; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.nav-post:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.nav-post .nav-direction { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .4rem; display: flex; align-items: center; gap: .3rem; }
.nav-post .nav-direction svg { width: 12px; height: 12px; }
.nav-post .nav-title { font-family: var(--font-display); font-size: .95rem; font-weight: 600; color: var(--text); line-height: 1.35; }
.nav-post.nav-next { text-align: right; }
.nav-post.nav-next .nav-direction { justify-content: flex-end; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { position: sticky; top: 84px; }
.widget {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem;
}
.widget-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--text); margin-bottom: 1.25rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: .5rem;
}
.widget-title::before { content: ''; width: 3px; height: 1rem; background: var(--sky); border-radius: 2px; display: block; }

/* YouTube subscribe widget */
.yt-subscribe-widget { background: var(--navy); border-color: var(--navy); text-align: center; }
.yt-subscribe-widget .yt-channel-art {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto .75rem;
  border: 3px solid rgba(255,255,255,.2); overflow: hidden; background: var(--ocean);
  display: flex; align-items: center; justify-content: center;
}
.yt-subscribe-widget .yt-channel-art svg { width: 32px; height: 32px; fill: var(--white); }
.yt-subscribe-widget .yt-channel-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .25rem; }
.yt-subscribe-widget .yt-sub-count { font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.yt-subscribe-widget .btn-yt-sub {
  background: var(--coral); color: var(--white);
  font-weight: 700; font-size: .85rem; padding: .65rem 1.5rem;
  border-radius: 50px; width: 100%; display: block; text-align: center;
  transition: all var(--transition); border: none; cursor: pointer;
}
.yt-subscribe-widget .btn-yt-sub:hover { background: #d44d2a; color: var(--white); }

/* Search widget */
.widget-search { display: flex; gap: .5rem; }
.widget-search input {
  flex: 1; border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: .55rem .9rem; font-family: var(--font-body); font-size: .875rem; color: var(--text);
}
.widget-search input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(46,134,193,.15); }
.widget-search button {
  background: var(--sky); color: var(--white); border: none;
  padding: .55rem .9rem; border-radius: var(--radius-md); cursor: pointer; transition: background var(--transition);
}
.widget-search button:hover { background: var(--ocean); }

/* Categories widget */
.widget-categories ul { list-style: none; padding: 0; }
.widget-categories li { border-bottom: 1px solid var(--gray-100); }
.widget-categories li:last-child { border-bottom: none; }
.widget-categories a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem 0; font-size: .875rem; color: var(--text); font-weight: 500;
  transition: color var(--transition);
}
.widget-categories a:hover { color: var(--sky); }
.widget-categories .cat-count {
  background: var(--gray-100); color: var(--text-muted);
  font-size: .7rem; padding: .15rem .5rem; border-radius: 50px;
}

/* Recent posts widget */
.widget-recent-posts ul { list-style: none; padding: 0; }
.widget-recent-posts li { display: flex; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--gray-100); }
.widget-recent-posts li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-recent-posts .rp-thumb { width: 60px; height: 60px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.widget-recent-posts .rp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-posts .rp-info .rp-title { font-size: .82rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.widget-recent-posts .rp-info .rp-title:hover { color: var(--sky); }
.widget-recent-posts .rp-date { font-size: .72rem; color: var(--text-muted); }

/* Tags widget */
.widget-tags .tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.widget-tags .tag-cloud a {
  background: var(--gray-100); color: var(--text-muted);
  font-size: .75rem; padding: .3rem .7rem; border-radius: 50px;
  border: 1px solid var(--gray-200); transition: all var(--transition);
}
.widget-tags .tag-cloud a:hover { background: var(--foam); color: var(--sky); border-color: rgba(46,134,193,.3); }

/* ============================================================
   CATEGORY PAGE HEADER
   ============================================================ */
.archive-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  padding: 3rem 1.5rem; margin-bottom: 3rem; text-align: center;
}
.archive-header .archive-title {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--white); margin-bottom: .5rem;
}
.archive-header .archive-desc { color: rgba(255,255,255,.75); font-size: .95rem; max-width: 550px; margin: 0 auto; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; align-items: center; gap: .4rem; margin: 2rem 0; }
.pagination a, .pagination span {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); font-size: .875rem; font-weight: 500;
  border: 1px solid var(--gray-200); color: var(--text); transition: all var(--transition);
}
.pagination a:hover { border-color: var(--sky); color: var(--sky); background: var(--foam); }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pagination .dots { border: none; color: var(--gray-400); cursor: default; }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area { margin: 3rem 0; }
.comments-title {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--text); margin-bottom: 2rem; display: flex; align-items: center; gap: .6rem;
}
.comments-title::before { content: ''; display: block; width: 4px; height: 1.4rem; background: var(--gold); border-radius: 2px; }
.comment-list { list-style: none; padding: 0; }
.comment { margin-bottom: 1.5rem; }
.comment-body { background: var(--gray-50); border-radius: var(--radius-lg); padding: 1.25rem; border: 1px solid var(--gray-200); }
.comment-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.comment-author img { width: 36px; height: 36px; border-radius: 50%; }
.comment-author-name { font-weight: 600; font-size: .875rem; color: var(--text); }
.comment-date { font-size: .75rem; color: var(--text-muted); }
.comment-content p { font-size: .875rem; margin: 0; }
.comment-reply-link { font-size: .78rem; color: var(--sky); font-weight: 500; margin-top: .5rem; display: inline-block; }
.children { list-style: none; padding-left: 2rem; margin-top: 1rem; }

/* Comment form */
.comment-respond { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 2rem; margin-top: 2rem; }
.comment-reply-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 1.25rem; }
.comment-form-row { margin-bottom: 1rem; }
.comment-form-row label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .4rem; color: var(--text-muted); }
.comment-form-row input, .comment-form-row textarea {
  width: 100%; border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: .65rem 1rem; font-family: var(--font-body); font-size: .9rem; color: var(--text);
  transition: border-color var(--transition);
}
.comment-form-row input:focus, .comment-form-row textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(46,134,193,.1); }
.comment-form-row textarea { min-height: 120px; resize: vertical; }
.submit-btn {
  background: var(--navy); color: var(--white); border: none;
  font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  padding: .75rem 2rem; border-radius: 50px; cursor: pointer; transition: all var(--transition);
}
.submit-btn:hover { background: var(--sky); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,134,193,.3); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); }
.footer-top {
  max-width: var(--wide-width); margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand .site-title { font-size: 1.4rem; margin-bottom: .75rem; display: block; }
.footer-brand p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--coral); color: var(--white); }
.footer-social a svg { width: 15px; height: 15px; }
.footer-col h4 {
  font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.6); font-size: .875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: var(--wide-width); margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.4); flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* Floating share rail */
.floating-share {
  position: fixed; left: 1rem; top: 50%; transform: translateY(-50%);
  z-index: 50; display: flex; flex-direction: column; gap: .4rem;
}
.floating-share .float-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-md); border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition); color: var(--text-muted);
}
.floating-share .float-btn svg { width: 15px; height: 15px; }
.floating-share .float-btn:hover { background: var(--navy); color: var(--white); transform: scale(1.1); }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--white); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition); opacity: 0; pointer-events: none;
  border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--sky); transform: translateY(-2px); }
.back-to-top svg { width: 16px; height: 16px; }

/* Reading progress bar */
.reading-progress-bar {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; background: linear-gradient(90deg, var(--coral), var(--gold));
  width: 0%; transition: width .1s linear;
}

/* ── HERO CONTENT CENTERED VARIANT ── */
.hero-content--centered {
  max-width: var(--content-width);
  margin: 0 auto;
  text-align: center;
}
.hero-content--centered .hero-read-btn { display: inline-flex; }
   ============================================================ */
.hero-widgets-wrap {
  max-width: var(--wide-width); margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-widgets-inner {
  display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start;
}
.hero-widget-col {
  flex: 1 1 280px; min-width: 0;
}

/* Hero widget: ad slot */
.hero-ad-slot {
  background: rgba(255,255,255,.07); border: 1px dashed rgba(255,255,255,.2);
  border-radius: var(--radius-lg); padding: 1rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 90px; color: rgba(255,255,255,.4); font-size: .8rem;
  text-align: center;
}

/* Hero custom content block */
.hero-custom-block {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  color: rgba(255,255,255,.85);
}
.hero-custom-block h2 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--white); margin-bottom: .5rem;
}
.hero-custom-block p { font-size: .875rem; line-height: 1.65; margin: 0; }

/* Latest posts strip inside hero */
.hero-latest-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem;
}
.hero-latest-item {
  background: rgba(255,255,255,.06); border-radius: var(--radius-md);
  padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.1);
  transition: background var(--transition);
}
.hero-latest-item:hover { background: rgba(255,255,255,.11); }
.hero-latest-item .item-cat {
  font-size: .65rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--coral); margin-bottom: .35rem;
}
.hero-latest-item .item-title {
  font-family: var(--font-display); font-size: .9rem; font-weight: 600;
  color: var(--white); line-height: 1.35; margin-bottom: .4rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-latest-item a { color: inherit; }
.hero-latest-item .item-meta { font-size: .72rem; color: rgba(255,255,255,.5); }
   xs < 480  sm < 640  md < 768  lg < 1024  xl 1024+
   ============================================================ */

/* ── Large tablets / small desktops (≤1100px) ──────────────── */
@media (max-width: 1100px) {
  .site-main            { padding: 2.5rem 1.25rem; }
  .hero-section         { padding: 3rem 1.25rem 4rem; }
  .footer-top           { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
}

/* ── Tablets (≤1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Layout */
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .sidebar              { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
  .sidebar .widget      { margin-bottom: 0; }

  /* Hero */
  .hero-inner           { grid-template-columns: 1fr; }
  .hero-image-wrap      { display: none; }
  .hero-section         { padding: 2.5rem 1.25rem 3.5rem; }
  .hero-title           { font-size: 2rem; }

  /* Footer */
  .footer-top           { grid-template-columns: 1fr 1fr; }

  /* Floating share — hide on tablet, show bottom bar instead */
  .floating-share       { display: none; }

  /* Posts grid — 2 col */
  .posts-grid           { grid-template-columns: repeat(2, 1fr); }
  .related-posts-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile landscape / large phones (≤768px) ──────────────── */
@media (max-width: 768px) {
  html { font-size: 16px; }

  /* Header */
  .header-inner         { padding: 0 1rem; gap: 0.5rem; }
  .primary-nav          {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem;
    z-index: 99;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.12);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .primary-nav.open     { display: flex; }
  .primary-nav > li     { width: 100%; }
  .primary-nav > li > a {
    font-size: 1rem; padding: .75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    border-radius: 0;
  }
  .primary-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(255,255,255,.06);
    margin: .25rem 0 .5rem; border-radius: var(--radius-md);
    padding: .25rem .5rem;
  }
  .primary-nav .sub-menu a { font-size: .9rem; color: rgba(255,255,255,.75); }
  .menu-toggle          { display: flex; }
  .header-right .btn-subscribe { display: none; }

  /* Hero */
  .hero-section         { padding: 2rem 1rem 2.75rem; }
  .hero-title           { font-size: 1.65rem; }
  .hero-excerpt         { font-size: .9rem; }
  .hero-read-btn        { padding: .65rem 1.25rem; font-size: .85rem; }

  /* Hero widget area stacking */
  .hero-widget-row      { flex-direction: column; }
  .hero-widget-col      { width: 100%; }

  /* Posts grid → 1 col */
  .posts-grid           { grid-template-columns: 1fr; }
  .related-posts-grid   { grid-template-columns: 1fr; }

  /* Sidebar — full width stack */
  .sidebar              { display: block; }
  .sidebar .widget      { margin-bottom: 1rem; }

  /* Single post */
  .post-header h1,
  .entry-content h2.post-title { font-size: 1.65rem; }
  .post-header .post-title      { font-size: 1.65rem; }
  .post-meta-row        { flex-wrap: wrap; gap: .5rem; }
  .post-navigation      { grid-template-columns: 1fr; }
  .author-box           { flex-direction: column; }
  .author-avatar        { width: 56px; height: 56px; }

  /* Share bar */
  .share-bar            { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .share-buttons        { flex-wrap: wrap; }

  /* Watch instead */
  .watch-instead-cta    { flex-direction: column; gap: .75rem; }
  .watch-instead-cta .btn-watch { width: 100%; justify-content: center; }

  /* Footer */
  .footer-top           { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem 1rem 1.5rem; }
  .footer-bottom        { flex-direction: column; text-align: center; padding: 1rem; }

  /* Post nav */
  .nav-post.nav-next    { text-align: left; }
  .nav-post.nav-next .nav-direction { justify-content: flex-start; }

  /* TOC */
  .toc-box              { padding: 1rem; }

  /* Comments */
  .comment-respond      { padding: 1.25rem; }
  .children             { padding-left: 1rem; }

  /* Section headings */
  .section-heading-bar  { font-size: 1.25rem; }
}

/* ── Small phones (≤480px) ─────────────────────────────────── */
@media (max-width: 480px) {
  html { font-size: 15px; }

  /* Header compact */
  .header-inner         { height: 56px; }
  .site-title           { font-size: 1.05rem; }
  .anchor-icon          { width: 28px; height: 28px; }

  /* Hero */
  .hero-section         { padding: 1.5rem 1rem 2.25rem; }
  .hero-title           { font-size: 1.45rem; }
  .hero-meta            { flex-wrap: wrap; }

  /* Cards */
  .post-card h2         { font-size: 1rem; }
  .post-card-body       { padding: .9rem; }

  /* Single post */
  .post-header h1       { font-size: 1.45rem; }
  .callout-box          { flex-direction: column; gap: .5rem; }

  /* Video embed */
  .related-video-block  { border-radius: var(--radius-lg); }
  .related-video-header { padding: .75rem 1rem .5rem; }

  /* Author box */
  .author-box           { padding: 1rem; }

  /* Navigation pills */
  .post-navigation      { gap: .75rem; }
  .nav-post             { padding: 1rem; }

  /* Pagination */
  .pagination a,
  .pagination span      { width: 34px; height: 34px; font-size: .8rem; }

  /* Footer */
  .footer-col h4        { font-size: .75rem; }
  .footer-col ul li a   { font-size: .8rem; }
  .footer-top           { gap: 1.25rem; }
}

/* ── Very small phones (≤360px) ────────────────────────────── */
@media (max-width: 360px) {
  .hero-title           { font-size: 1.3rem; }
  .share-buttons        { gap: .3rem; }
  .share-btn            { padding: .4rem .65rem; font-size: .7rem; }
  .post-card-footer     { flex-direction: column; align-items: flex-start; gap: .35rem; }
}

/* ── Touch / hover improvements ────────────────────────────── */
@media (hover: none) {
  .post-card:hover      { transform: none; box-shadow: none; }
  .hero-read-btn:hover  { transform: none; }
  .btn-subscribe:hover  { transform: none; box-shadow: none; }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
  .site-header, .sidebar, .floating-share, .back-to-top,
  .reading-progress-bar, .share-bar, .post-navigation,
  .related-posts-section, .yt-subscribe-widget { display: none !important; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .entry-content        { font-size: 12pt; }
  a                     { color: inherit; text-decoration: underline; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.section-heading-bar {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: var(--text); margin-bottom: 1.5rem; display: flex; align-items: center; gap: .75rem;
}
.section-heading-bar::before { content: ''; display: block; width: 4px; height: 1.6rem; background: var(--coral); border-radius: 2px; flex-shrink: 0; }

/* ============================================================
   CUSTOM WIDGETS CSS
   ============================================================ */

/* About Widget */
.about-widget { text-align: center; }
.about-widget-img { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem; border: 3px solid var(--foam); }
.about-widget-img img { width: 100%; height: 100%; object-fit: cover; }
.about-widget-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.about-widget-text { font-size: .82rem; color: var(--text-muted); line-height: 1.65; margin-bottom: .9rem; }
.about-widget-link { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--sky); border-bottom: 1px solid rgba(46,134,193,.3); padding-bottom: 1px; transition: color var(--transition); }
.about-widget-link:hover { color: var(--coral); }

/* Ad / Banner Widget */
.ad-label { font-size: .65rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gray-400); text-align: center; margin-bottom: .5rem; }
.ad-slot-wrap { text-align: center; overflow: hidden; }
.ad-slot-wrap img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }

/* Social Links Widget */
.social-widget-icons { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--gray-100); color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: all var(--transition); border: 1px solid var(--gray-200); }
.social-icon:hover { transform: translateY(-2px); }
.social-icon--youtube:hover   { background: #FF0000; color: var(--white); border-color: #FF0000; }
.social-icon--facebook:hover  { background: #1877F2; color: var(--white); border-color: #1877F2; }
.social-icon--instagram:hover { background: #E4405F; color: var(--white); border-color: #E4405F; }
.social-icon--twitter:hover   { background: var(--text); color: var(--white); border-color: var(--text); }
.social-icon--tiktok:hover    { background: #000; color: var(--white); border-color: #000; }
.social-icon--whatsapp:hover  { background: #25D366; color: var(--white); border-color: #25D366; }

/* Newsletter / CTA Widget */
.newsletter-widget { text-align: center; }
.newsletter-heading { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.newsletter-text { font-size: .82rem; color: var(--text-muted); line-height: 1.65; margin-bottom: .9rem; }
.newsletter-btn { display: block; background: var(--coral); color: var(--white); font-weight: 700; font-size: .85rem; padding: .65rem 1.25rem; border-radius: 50px; transition: all var(--transition); text-align: center; }
.newsletter-btn:hover { background: var(--navy); color: var(--white); }
.newsletter-form input[type="email"], .newsletter-form input[type="text"] { width: 100%; border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: .55rem .9rem; font-family: var(--font-body); font-size: .875rem; margin-bottom: .5rem; }
.newsletter-form input[type="submit"], .newsletter-form button[type="submit"] { width: 100%; background: var(--coral); color: var(--white); border: none; font-weight: 700; font-size: .85rem; padding: .65rem 1.25rem; border-radius: 50px; cursor: pointer; transition: background var(--transition); }
.newsletter-form input[type="submit"]:hover, .newsletter-form button[type="submit"]:hover { background: var(--navy); }

/* ============================================================
   FOOTER WIDGET TITLES
   ============================================================ */
.footer-widget-title {
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: .9rem;
}
.footer-col .widget { background: none; border: none; padding: 0; margin-bottom: 0; }
.footer-col .widget-title,
.footer-col .footer-widget-title {
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--white); margin-bottom: .9rem;
  padding-bottom: 0; border: none;
}
.footer-col .widget-title::before { display: none; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul li a { color: rgba(255,255,255,.6); font-size: .875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col p { color: rgba(255,255,255,.6); font-size: .875rem; line-height: 1.7; margin-bottom: .9rem; }
.footer-col a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }

/* ── Footer Brand column — full white for title, name & widget text ── */
.footer-brand,
.footer-brand .widget,
.footer-brand p,
.footer-brand .textwidget,
.footer-brand .textwidget p { color: rgba(255,255,255,.75); }
.footer-brand a,
.footer-brand .footer-site-title,
.footer-brand .widget-title,
.footer-brand .footer-widget-title { color: var(--white) !important; }
.footer-brand a:hover { color: var(--white); opacity: .85; }
.footer-brand .textwidget a { color: rgba(255,255,255,.75); }
.footer-brand .textwidget a:hover { color: var(--white); }

.footer-site-title {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--white); display: block; margin-bottom: .6rem;
}
.footer-tagline { color: rgba(255,255,255,.65); font-size: .875rem; line-height: 1.7; margin-bottom: 1.25rem; }

/* Dynamic column counts */
.footer-cols-1 { grid-template-columns: 1fr; }
.footer-cols-2 { grid-template-columns: 1.5fr 1fr; }
.footer-cols-3 { grid-template-columns: 1.5fr 1fr 1fr; }
.footer-cols-4 { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
@media (max-width: 768px) {
  .footer-cols-2,.footer-cols-3,.footer-cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-cols-2,.footer-cols-3,.footer-cols-4 { grid-template-columns: 1fr; }
}

/* ── Footer social icons (in footer brand fallback) ── */
.footer-social { display: flex; gap: .5rem; margin-top: .5rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--coral); color: var(--white); }
.footer-social a svg { width: 14px; height: 14px; }

/* ============================================================
   AFTER-POST WIDGET AREA
   ============================================================ */
.after-post-widgets { margin: 2.5rem 0; }
.after-post-widgets .widget {
  margin-bottom: 1.25rem;
}
/* Full-width ad slot style inside after-post */
.after-post-widgets .ad-slot-wrap { text-align: center; }
.after-post-widgets .newsletter-widget {
  background: var(--foam); border: 1px solid rgba(46,134,193,.2);
  border-radius: var(--radius-xl); padding: 2rem;
}
.after-post-widgets .newsletter-heading { font-size: 1.25rem; }
