/* =============================================================================
   Live World Webcams — Main Stylesheet
   ========================================================================== */

/* ── CSS Variables ──────────────────────────────────────────────────────────── */
:root {
  --navy: #162b51;
  --navy-dark: #0f1f3d;
  --blue: #1e73be;
  --blue-hover: #1560a0;
  --cyan: #8fd9fb;
  --bg: #f9f9f9;
  --bg-white: #ffffff;
  --text: #444444;
  --text-dark: #333333;
  --text-light: #666666;
  --text-muted: #5a7a96;
  --border: #dfdfdf;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.12);
  --radius: 5px;
  --radius-md: 8px;
  --font: 'Open Sans', sans-serif;
  --nav-height: 64px;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, select, textarea { font-family: var(--font); }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
#page-wrapper { min-height: calc(100vh - var(--nav-height)); }

/* ── Live Badge ─────────────────────────────────────────────────────────────── */
.popular-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e53e3e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}
.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: livepulse 1.2s infinite;
}
@keyframes livepulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Section Heading ────────────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--blue);
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}
.section-link {
  font-size: 14px;
  color: var(--blue);
  transition: color 0.2s;
  white-space: nowrap;
}
.section-link:hover { color: var(--blue-hover); }

/* ── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }


/* =============================================================================
   HEADER / NAVBAR
   ========================================================================== */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.inner {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 16px;
}

/* Logo */
.logo-link,
.custom-logo-link { flex-shrink: 0; display: flex; align-items: center; }
.custom-logo-link img { display: block; max-height: 36px; width: auto; object-fit: contain; }
.logo-text {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}
.logo-text span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #b8e8fc;
  letter-spacing: 1px;
  max-width: 220px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

/* Desktop Nav */
.nav { display: flex; align-items: center; flex: 1; }
.nav-item { position: static; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #e8eef4;
  font-size: 14px;
  font-weight: 600;
  padding: 0 14px;
  height: var(--nav-height);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-item.current-menu-item .nav-link,
.nav-item.current-menu-ancestor .nav-link,
.nav-item.current-menu-parent .nav-link {
  color: var(--cyan);
  border-bottom: 2px solid var(--cyan);
}
.nav-link:hover, .nav-link.active {
  color: var(--cyan);
  background: rgba(255,255,255,0.07);
}
.nav-link svg { flex-shrink: 0; opacity: 0.7; }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  z-index: 999;
  padding: 8px 0;
  animation: fadeDown 0.18s ease;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-item:hover .dropdown { display: block; }

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-size: 14px;
  padding: 8px 18px;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  position: relative;
}
.dropdown-item:hover { background: #f0f6ff; color: var(--blue); }
.dropdown-item.has-sub > a { flex: 1; display: flex; justify-content: space-between; align-items: center; }

/* Sub-dropdown */
.sub-dropdown {
  display: none;
  position: absolute;
  left: 100%;
  top: -8px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-md);
  min-width: 180px;
  padding: 8px 0;
  z-index: 1000;
}
.dropdown-item.has-sub:hover .sub-dropdown { display: block; }

/* ── Mega Menu ──────────────────────────────────────────────────────────────── */
.dropdown-mega {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 3px solid var(--cyan);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  z-index: 999;
  animation: fadeDown 0.18s ease;
}
.nav-item:hover .dropdown-mega { display: block; }
.mega-inner { padding-top: 20px; padding-bottom: 24px; max-width: 1080px; margin-left: auto; margin-right: auto; }
.mega-all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  transition: color 0.15s;
}
.mega-all-link:hover { color: #fff; }
.mega-cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, max-content));
  gap: 0 16px;
  position: relative;
}
.mega-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  white-space: nowrap;
  border-radius: 4px;
  color: #e8f0f8;
  font-size: 13px;
  transition: background 0.12s, color 0.12s;
}
.mega-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
.mega-item .theme-count-nav { color: #a8c4d8; font-size: 13px; margin-left: 6px; flex-shrink: 0; }
.mega-item--has-sub { background: none; border: none; width: 100%; text-align: left; cursor: pointer; font-family: inherit; }
.mega-item--has-sub svg { transition: transform 0.2s; flex-shrink: 0; margin-left: 4px; }
.mega-item-group.open .mega-item--has-sub { background: rgba(255,255,255,0.08); color: #fff; }
.mega-item-group.open .mega-item--has-sub svg { transform: rotate(180deg); }

/* Sub-panel — positioned by JS directly below the hovered group item */
.mega-sub {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  grid-template-columns: repeat(auto-fill, minmax(130px, max-content));
  gap: 0 16px;
  background: var(--navy-dark);
  border-radius: 0 0 8px 8px;
  padding: 12px 8px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.mega-sub.open { display: grid; }
.mega-sub-item {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: #dce8f4;
  transition: background 0.12s, color 0.12s;
}
.mega-sub-item:hover { background: rgba(255,255,255,0.07); color: #fff; }
.mega-sub-item--all { font-weight: 700; color: var(--cyan); margin-bottom: 4px; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; }
.mega-sub-item--all:hover { color: #fff; background: transparent; }
.mega-sub-item .theme-count-nav { color: #a8c4d8; font-size: 13px; margin-left: 4px; flex-shrink: 0; }

/* Themes wide dropdown */
.dropdown-wide { min-width: 480px; max-width: calc(100vw - 32px); padding: 16px; }
.theme-grid-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.theme-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.theme-nav-item:hover { background: #f0f6ff; color: var(--blue); }
.theme-count-nav { font-size: 13px; color: var(--text-muted); margin-left: auto; }

/* Desktop Language Switcher */
.gt-desktop {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
}
.gt-desktop .gtranslate_wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
/* Style the trigger button — works regardless of GTranslate's class name */
.gt-desktop .gtranslate_wrapper > a,
.gt-desktop .gtranslate_wrapper > button,
.gt-desktop .gtranslate_wrapper > span,
.gt-desktop .gt-current-lang {
  color: #e8f0f8;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Mobile GTranslate dropdown */
.gt-mobile .gt_option {
  max-height: 40vh !important;
  overflow-y: auto !important;
}

/* Mobile Language Switcher */
.gt-mobile {
  display: none;
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--navy-dark);
}
.gt-mobile .gtranslate_wrapper {
  display: flex;
  flex-direction: column-reverse;
}
.gt-mobile ul,
.gt-mobile [class*="dropdown"],
.gt-mobile [class*="popup"] {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: 40vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Desktop Search */
.search-wrap {
  display: flex;
  align-items: center;
  flex: 0 1 clamp(140px, 16vw, 260px);
  margin-left: auto;
  min-width: 0;
}
.gt-desktop { flex-shrink: 0; }

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  overflow: hidden;
  transition: background 0.2s;
}
.search-form:focus-within {
  background: rgba(255,255,255,0.2);
  border-color: var(--cyan);
}
.search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  padding: 7px 12px;
  flex: 1;
  min-width: 0;
  width: 100%;
}
.search-input::placeholder { color: rgba(255,255,255,0.55); }
/* Remove default search cancel button */
.search-input::-webkit-search-cancel-button { display: none; }
.search-btn {
  background: transparent;
  color: rgba(255,255,255,0.7);
  padding: 7px 12px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.search-btn:hover { color: var(--cyan); }

/* Mobile Toggle (hamburger) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
  cursor: pointer;
}
.bar {
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-toggle.open .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.open .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Search Icon button */
.mobile-search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
}

/* Mobile Sliding Search Bar */
.mobile-search-bar {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 16px;
}
.mobile-search-bar.open {
  max-height: 72px;
  padding: 12px 16px;
}
.mobile-search-form {
  display: flex;
  background: rgba(255,255,255,0.1);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.mobile-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 10px 16px;
}
.mobile-search-input::placeholder { color: rgba(255,255,255,0.45); }
.mobile-search-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 0 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.mobile-search-btn:hover { background: var(--blue-dark, #1a5fa8); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  max-height: calc(100vh - var(--nav-height));
  overflow-x: hidden;
  overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-nav-scroll {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  max-height: calc(100vh - var(--nav-height));
}

.mobile-nav-item {}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #e8eef4;
  font-size: 15px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  width: 100%;
  text-align: left;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
}
.mobile-nav-link:hover { color: var(--cyan); }
.mobile-children-wrap { display: none; }
.mobile-children-wrap.open { display: block; }
.mobile-children { display: none; background: rgba(0,0,0,0.15); }
.mobile-children.open { display: block; }
.mobile-child-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #c8daea;
  font-size: 14px;
  padding: 10px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  width: 100%;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.mobile-child-link:hover { color: var(--cyan); }
.mobile-child-link--all { color: var(--cyan); font-weight: 500; }
.mobile-child-toggle svg, .mobile-nav-toggle svg { transition: transform 0.2s; flex-shrink: 0; margin-left: auto; }
.mobile-child-toggle.open svg { transform: rotate(180deg); }
.mobile-grandchild-link {
  display: block;
  color: #b8cfe0;
  font-size: 13px;
  padding: 8px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.mobile-grandchild-link:hover { color: var(--cyan); }
.mobile-count { font-size: 13px; color: #a8c4d8; margin-left: 8px; font-weight: 400; }

/* Responsive */
@media (max-width: 1100px) {
  .nav, .search-wrap, .gt-desktop { display: none; }
  .gt-mobile { display: block; }
  .mobile-toggle { display: flex; }
  .mobile-search-toggle { display: flex; }
  .mobile-search-bar { display: block; }

  /* Center logo between hamburger and search icon */
  .inner { position: relative; }
  .custom-logo-link,
  .logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-shrink: 0;
  }
}


/* =============================================================================
   FOOTER
   ========================================================================== */
/* Block ad/widget injections from creating whitespace below the footer */
.lww-footer ~ div,
.lww-footer ~ iframe,
.lww-footer ~ section,
.lww-footer ~ aside,
.lww-footer ~ ins,
.lww-footer ~ * {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
/* Block ad injections between </header> and #page-wrapper */
#site-header ~ *:not(#page-wrapper):not(.lww-footer):not(script):not(style):not(link) {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
/* Block Ezoic auto-ads injected inside the header */
.navbar [id^="ezoic"],
.navbar [id*="-ad-"],
.navbar [class*="ezoic"],
.navbar ins.adsbygoogle {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

.lww-footer {
  background: var(--navy);
  color: #dde8f2;
  margin-top: 48px;
}
.footer-top {
  padding-top: 40px;
  padding-bottom: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  gap: 24px 80px;
  align-items: start;
}

/* Brand */
.footer-brand { max-width: 420px; }
.footer-brand-name { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.footer-brand-tagline {
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}
.footer-brand-desc { font-size: 13px; line-height: 1.7; color: #b8cfe0; max-width: 280px; }

/* Social Icons */
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
}
.social-icon:hover { opacity: 0.85; transform: translateY(-2px); }
.social-fb { background: #3b5998; }
.social-tw { background: #000; }
.social-ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-pt { background: #e60023; }
.social-tk { background: #010101; border: 1px solid rgba(255,255,255,0.2); }

/* Link Columns */
.footer-col-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col-links { display: flex; flex-direction: column; gap: 8px; }
.footer-col-link {
  font-size: 13px;
  color: #b8cfe0;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col-link:hover { color: var(--cyan); }
.footer-col-link::before { content: '›'; font-size: 16px; line-height: 1; }

/* Footer Info Links — 2-column grid (3 rows) */
.footer-info-links {
  display: grid;
  grid-template-columns: 130px auto;
  gap: 10px 28px;
  padding-top: 4px;
}
.footer-info-links .footer-col-link {
  white-space: nowrap;
}

/* Copyright row — line above it, no line below */
.footer-copyright-row {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
  padding-bottom: 4px;
  margin-top: 24px;
}
.footer-copyright { font-size: 13px; color: #b8cfe0; }

/* Footer Responsive */
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-info-links { gap: 8px 20px; }
}


/* =============================================================================
   HOME PAGE
   ========================================================================== */

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 60%, #1e73be 100%);
  padding: 48px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; }
.hero-title {
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}
.hero-title span { color: var(--cyan); }
.hero-sub { color: rgba(255,255,255,0.75); font-size: 17px; margin-bottom: 28px; }

.hero-search {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--text-dark);
}
.hero-search-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s;
  white-space: nowrap;
}
.hero-search-btn:hover { background: var(--blue-hover); }

.hero-stats { display: flex; gap: 32px; justify-content: center; margin-top: 24px; }
.hero-stat { color: rgba(255,255,255,0.8); font-size: 13px; }
.hero-stat strong { color: #fff; font-size: 18px; display: block; }


/* Home Sections */
.home-section { padding: 36px 0; }
.home-section--alt { background: #fff; padding: 36px 0; }

/* Featured Grid */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Webcam Grid (standard) */
.webcam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* Theme Cards */
.theme-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-carousel__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.theme-carousel__arrow:hover:not(:disabled) {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.theme-carousel__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.theme-cards-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.theme-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text);
}
.theme-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
  color: var(--blue);
}
.theme-card__icon { font-size: 24px; line-height: 1; }
.theme-card__label { font-size: 12px; font-weight: 600; }
.theme-card__count {
  font-size: 13px;
  color: var(--text-muted);
  background: #f0f4f8;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Home Responsive */
@media (max-width: 767px) {
  .featured-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 14px; }
  .theme-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-carousel__arrow { width: 28px; height: 28px; }
  .wc-card__weather { font-size: 11px; gap: 2px 4px; }
}


/* =============================================================================
   WEBCAM CARD
   ========================================================================== */
.wc-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.wc-card a {
  touch-action: manipulation;
}
@media (hover: hover) {
  .wc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.14);
  }
}

/* Thumbnail */
.wc-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #dde4ed;
  display: block;
}
.wc-card__thumb img:not(.popular-badge) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
@media (hover: hover) { .wc-card:hover .wc-card__thumb img:not(.popular-badge) { transform: scale(1.05); } }

.wc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (hover: hover) { .wc-card:hover .wc-card__overlay { opacity: 1; } }

.wc-card__play {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transform: scale(0.8);
  transition: transform 0.2s;
}
@media (hover: hover) { .wc-card:hover .wc-card__play { transform: scale(1); } }

.wc-card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 6px;
}

/* Body */
.wc-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wc-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wc-card__title a { color: inherit; transition: color 0.15s; }
.wc-card__title a:hover { color: var(--blue); }

.wc-card__location {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.wc-card__location svg { flex-shrink: 0; }
.wc-card__distance {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.wc-card__distance svg { flex-shrink: 0; }

.wc-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.wc-card__weather { display: flex; flex-wrap: nowrap; gap: 2px 6px; font-size: 13px; font-weight: 600; color: #555; flex-basis: 100%; }
.wc-card__temp, .wc-card__time { white-space: nowrap; }
.wc-card__cat {
  font-size: 13px;
  color: var(--blue);
  background: #eef5ff;
  padding: 2px 8px;
  border-radius: 20px;
  transition: background 0.15s, color 0.15s;
}
.wc-card__cat:hover { background: var(--blue); color: #fff; }

/* Featured variant */
.wc-card--featured .wc-card__thumb { aspect-ratio: 16/10; }
.wc-card--featured .wc-card__title { font-size: 16px; }
.wc-card--featured .wc-card__body { padding: 14px 16px 16px; }


/* =============================================================================
   ARCHIVE / CATEGORY PAGES
   ========================================================================== */
.archive-page { padding: 24px 0 48px; }

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.bc-link { color: var(--blue); transition: color 0.15s; }
.bc-link:hover { color: var(--blue-hover); }
.bc-current { color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%; }
.bc-sep { opacity: 0.6; }

/* Page Header */
.archive-header { margin-bottom: 20px; }
.archive-title { font-size: 26px; font-weight: 600; color: var(--text-dark); display: flex; align-items: center; gap: 10px; }
.archive-title-icon { font-size: 30px; }
.archive-count { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* Taxonomy description */
.taxonomy-description { font-size: 15px; color: var(--text-light); margin-bottom: 16px; line-height: 1.7; }

/* Toolbar */
.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 10px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.sort-row { display: flex; align-items: center; gap: 8px; }
.sort-label { font-size: 13px; color: var(--text-muted); }
.sort-select {
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 10px;
  color: var(--text);
  background: var(--bg-white);
  cursor: pointer;
}

/* Load More */
.load-more-wrap { text-align: center; margin-top: 32px; }
.load-more-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.load-more-btn:hover { background: var(--blue-hover); }
.load-more-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Empty state */
.archive-empty { text-align: center; padding: 60px 24px; color: var(--text-muted); }
.archive-empty p { font-size: 16px; margin-bottom: 16px; }
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14px;
  margin-top: 8px;
}

/* Archive Responsive */
@media (max-width: 767px) {
  .archive-title { font-size: 20px; }
  .webcam-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
}


/* =============================================================================
   SINGLE WEBCAM PAGE
   ========================================================================== */
.single-webcam-page { padding: 24px 0 48px; overflow-x: hidden; }

/* Breadcrumbs (shared with .breadcrumbs above) */
.breadcrumb { display: flex; align-items: center; }
.breadcrumb-link { color: var(--blue); transition: color 0.15s; }
.breadcrumb-link:hover { color: var(--blue-hover); }
.breadcrumb-current { color: var(--text); font-weight: 500; }
.sep { margin: 0 6px; opacity: 0.6; }

/* Layout */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: flex-start;
}
.single-main { min-width: 0; overflow: hidden; }

/* Title & Meta */
.single-title { font-size: 24px; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; word-break: break-word; overflow-wrap: break-word; }
.single-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
}
.single-meta__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; flex-shrink: 1; }
.single-meta__bottom { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.single-location { font-size: 14px; color: var(--text-muted); word-break: break-word; overflow-wrap: break-word; min-width: 0; }
.report-offline-btn {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  line-height: 1;
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.report-offline-btn:hover { background: #fff5f5; border-color: #e53935; color: #e53935; }
.single-cat-tag {
  font-size: 13px;
  color: var(--blue);
  background: #eef5ff;
  padding: 3px 10px;
  border-radius: 20px;
  transition: background 0.15s, color 0.15s;
}
.single-cat-tag:hover { background: var(--blue); color: #fff; }

/* Player */
.player-wrap {
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  width: 100%;
  max-width: 100%;
  /* Fully isolate the player — iframe content cannot affect page layout or size */
  contain: strict;
}
.player-iframe-wrap {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.player-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}
.player-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.2s;
}
.player-placeholder:hover .play-overlay { background: rgba(0,0,0,0.55); }
.big-play-btn {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform 0.2s;
}
.player-placeholder:hover .big-play-btn { transform: scale(1.08); }
.play-label { color: rgba(255,255,255,0.9); font-size: 15px; font-weight: 500; }

.player-iframe-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.player-external-link { display: block; width: 100%; cursor: pointer; }
.player-external-link img { width: 100%; height: 100%; object-fit: cover; display: block; }

.no-stream { position: relative; width: 100%; height: 100%; }
.no-stream-bg { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) brightness(0.4); }
.no-stream-msg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24px;
}
.no-stream-msg h3 { font-size: 20px; margin-bottom: 8px; }
.no-stream-msg p { font-size: 14px; opacity: 0.8; }

/* Actions */
.single-weather-wrap { margin-top: 16px; margin-bottom: 0; max-width: 100%; overflow: hidden; }
.single-weather-wrap .weather-widget { max-width: 100% !important; width: 100% !important; margin-top: 0 !important; margin-bottom: 0 !important; border-radius: 12px !important; box-sizing: border-box; display: flex !important; justify-content: space-evenly !important; align-items: center !important; gap: 6px 16px !important; padding: 12px 16px !important; flex-wrap: wrap !important; }
.single-weather-wrap .weather-widget > div { flex: 1 1 auto; justify-content: center; white-space: nowrap; min-width: 0; max-width: 100%; }
@media (max-width: 767px) {
  .single-weather-wrap .weather-widget { justify-content: flex-start !important; }
  .single-weather-wrap .weather-widget > div { justify-content: flex-start !important; }
}
.webcam-offline-notice {
  margin-top: 10px;
  padding: 10px 14px;
  background: #fff8e1;
  border-left: 3px solid #f0ad00;
  border-radius: var(--radius);
  font-size: 13px;
  color: #7a5c00;
}
.single-actions { display: flex; gap: 10px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
.single-weather-inline { margin-left: auto; display: flex; gap: 14px; font-size: 13px; color: var(--color-text-muted, #666); align-items: center; }
.action-btn {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  line-height: 1;
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.action-btn:hover { background: #f0f6ff; border-color: var(--blue); color: var(--blue); }

/* Description */
.single-description {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--border);
}
.single-desc-title { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
/* Hide "About this webcam" label when content already starts with its own heading */
.single-description:has(.single-desc-content > h1:first-child) .single-desc-title,
.single-description:has(.single-desc-content > h2:first-child) .single-desc-title,
.single-description:has(.single-desc-content > h3:first-child) .single-desc-title,
.single-description:has(.single-desc-content > h4:first-child) .single-desc-title { display: none; }
.single-desc-content p { font-size: 14px; line-height: 1.7; color: var(--text); }
.single-desc-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.single-desc-content a:hover { color: var(--blue-hover); }
.single-desc-content p.desc-source-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.single-desc-content p.desc-source-line::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231e73be' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.single-desc-content p.desc-source-line .desc-source-label { color: var(--text); }
.single-desc-content p.desc-source-line .desc-source-value { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* Weather widget */
.weather-widget {
  font-size: 13px;
  color: var(--text);
  background: var(--bg-card);
  padding: 10px 16px;
  border-radius: 50px;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.weather-widget > div { display: flex; align-items: center; gap: 6px; }
.weather-widget i { min-width: 14px; color: var(--cyan); }
.weather-error { color: #e74c3c; font-size: 13px; padding: 8px 0; }

/* Map section */
.webcam-map-section {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
  border: 1px solid var(--border);
}
#webcam-map {
  width: 100%;
  height: 320px;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
}

/* Sidebar */
.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
}
.sidebar-list { display: flex; flex-direction: column; gap: 14px; }

/* Camera Tabs */
.cam-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 0;
  background: #1e1f22;
  border-radius: 10px 10px 0 0;
  padding: 7px 8px;
}
.cam-tab {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.cam-tab:hover {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.07);
}
.cam-tab.active {
  background: #3e3f45;
  color: #fff;
}
/* Player connects flush under the tab strip */
.cam-tabs + .player-wrap {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* Webcam layout responsive */
@media (max-width: 1100px) {
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { display: block; }
}

@media (max-width: 767px) {
  .single-webcam-page { padding-top: 10px; }
  .single-webcam-page .breadcrumbs { margin-top: 4px; }
}


/* =============================================================================
   SEARCH PAGE
   ========================================================================== */
.search-form-inline {
  display: flex;
  max-width: 460px;
  margin: 16px auto 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.search-input-inline {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
}
.btn-search-inline {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-search-inline:hover { background: var(--blue-hover); }

/* WordPress pagination */
.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-white);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.page-numbers:hover { background: #f0f6ff; color: var(--blue); border-color: var(--blue); }
.page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }


/* =============================================================================
   AD ZONES
   ========================================================================== */

/* Base ad container */
.lww-ad {
  overflow: hidden;
  line-height: 0; /* removes inline-block gap under the ad iframe */
}

/* ── Leaderboard zones (between sections, above grid, etc.) ── */
.lww-ad--leaderboard {
  text-align: center;
  padding: 20px 0;
  /* Reserve minimum height to prevent layout shift (CLS).
     The actual ad fills this; if ad fails to load, space collapses. */
  min-height: 90px;
}
/* On mobile, leaderboards stack to a rectangle-sized slot */
@media (max-width: 767px) {
  .lww-ad--leaderboard { min-height: 250px; padding: 16px 0; }
}

/* ── Sidebar zone ── */
.lww-ad--sidebar {
  margin-bottom: 24px;
  /* Reserve 300×250 space so page doesn't jump when sidebar ad loads */
  min-height: 250px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* ── In-grid card ── */
/* Sits inside .webcam-grid as a native-looking card */
.lww-ad--in-grid-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Match the card thumbnail aspect-ratio so the grid stays aligned */
  aspect-ratio: 4/3;
  min-height: 200px;
  position: relative;
}
.lww-ad--in-grid-card::after {
  content: 'Ad';
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  pointer-events: none;
}
.lww-ad__inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── After-player zone (below video on single webcam — highest CTR) ── */
.lww-ad--ad_after_player {
  margin: 16px 0;
  text-align: center;
  min-height: 90px;
  background: transparent;
}
@media (max-width: 767px) {
  .lww-ad--ad_after_player { min-height: 250px; }
}

/* ── Responsive label ── */
/* Google AdSense responsive units need their container to have a width */
.lww-ad ins.adsbygoogle {
  display: block;
  width: 100%;
}


/* =============================================================================
   REPORT OFFLINE MODAL
   ========================================================================== */
.lww-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lww-modal {
  background: #fff;
  border-radius: 10px;
  padding: 28px 32px;
  max-width: 380px;
  width: calc(100% - 32px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  text-align: center;
}
.lww-modal__msg {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 0 22px;
  line-height: 1.5;
}
.lww-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.lww-modal__confirm,
.lww-modal__cancel {
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.18s;
}
.lww-modal__confirm {
  background: #e53935;
  color: #fff;
}
.lww-modal__confirm:hover { background: #c62828; }
.lww-modal__confirm:disabled { opacity: 0.6; cursor: default; }
.lww-modal__cancel {
  background: #f0f0f0;
  color: var(--text-dark);
}
.lww-modal__cancel:hover { background: #e0e0e0; }

/* =============================================================================
   GENERIC PAGE / 404
   ========================================================================== */
.single-page { padding: 36px 0 60px; }
.page-title { font-size: 28px; font-weight: 600; color: var(--text-dark); margin-bottom: 20px; }
.page-body { font-size: 15px; line-height: 1.8; color: var(--text); }
.page-body h2 { font-size: 22px; font-weight: 600; margin: 28px 0 12px; color: var(--text-dark); }
.page-body h3 { font-size: 18px; font-weight: 600; margin: 22px 0 10px; }
.page-body p { margin-bottom: 16px; }
.page-body a { color: var(--blue); }
.page-body a:hover { color: var(--blue-hover); text-decoration: underline; }
.page-body ul, .page-body ol { padding-left: 24px; margin-bottom: 16px; }
.page-body li { margin-bottom: 6px; }
.page-body blockquote {
  border-left: 4px solid var(--blue);
  padding: 12px 20px;
  margin: 20px 0;
  background: #f0f6ff;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-light);
  font-style: italic;
}

/* ── FAQ Page ────────────────────────────────────────────────────────────────── */
.faq-page { background: var(--bg); min-height: 60vh; padding: 40px 0 72px; }
.faq-hero {
  text-align: center;
  padding: 16px 16px 36px;
}
.faq-hero__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.faq-search-wrap {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}
.faq-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.faq-search-input {
  width: 100%;
  padding: 13px 18px 13px 44px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-white);
  outline: none;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-search-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,115,190,0.1);
}
.faq-body .container { max-width: 760px; }
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-white);
  border-radius: 12px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(30,115,190,0.09);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 16px;
}
.faq-question:hover { background: #f5f9ff; }
.faq-question__text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  flex: 1;
}
.faq-question[aria-expanded="true"] .faq-question__text { color: var(--blue); }
.faq-question__icon {
  flex-shrink: 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}
.faq-question[aria-expanded="true"] .faq-question__icon { color: var(--blue); }
.faq-answer__inner {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text);
}
.faq-answer__inner p { margin-bottom: 12px; }
.faq-answer__inner p:last-child { margin-bottom: 0; }
.faq-answer__inner a { color: var(--blue); text-decoration: underline; }
.faq-answer__inner ul, .faq-answer__inner ol { padding-left: 22px; margin-bottom: 12px; }
.faq-answer__inner li { margin-bottom: 6px; }
.faq-no-results {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  padding: 40px 0;
}
.faq-plain-content { font-size: 15px; line-height: 1.8; color: var(--text); }
@media (max-width: 600px) {
  .faq-hero__title { font-size: 24px; }
  .faq-question { padding: 16px 18px; }
  .faq-answer__inner { padding: 0 18px 18px; }
}

/* ── Contact Page ────────────────────────────────────────────────────────────── */
.contact-page { background: var(--bg); min-height: 60vh; padding-bottom: 72px; }
.contact-hero {
  background: var(--navy);
  padding: 52px 16px 48px;
  text-align: center;
}
.contact-hero__title {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.contact-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
}
.contact-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}
/* Info cards */
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eaf3fb;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-card__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-info-card__value {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.4;
}
.contact-social {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.contact-social__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.contact-social__icons { display: flex; gap: 10px; }
.contact-social__link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.contact-social__link:hover { background: var(--blue); transform: translateY(-2px); }
/* Form box */
.contact-form-box {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.contact-form-placeholder { color: var(--text-muted); font-size: 15px; }
/* Custom contact form */
.contact-form-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.contact-form__field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.contact-form__field .req { color: var(--blue); }
.contact-form__field input,
.contact-form__field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,115,190,0.1);
}
.contact-form__field.has-error input,
.contact-form__field.has-error textarea { border-color: #e53935; }
.contact-form__field textarea { resize: vertical; min-height: 130px; }
.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.contact-submit:hover { background: var(--blue-hover); transform: translateY(-1px); }
.contact-error-msg {
  background: #fff3f3;
  border: 1px solid #f5c6c6;
  color: #c62828;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}
.contact-success {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-dark);
}
.contact-success svg { color: #2e7d32; margin: 0 auto 16px; }
.contact-success h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.contact-success p { font-size: 15px; color: var(--text-muted); }
@media (max-width: 560px) {
  .contact-form__row { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { flex-direction: row; flex-wrap: wrap; }
  .contact-info-card { flex: 1 1 calc(50% - 7px); }
  .contact-social { width: 100%; }
}
@media (max-width: 560px) {
  .contact-hero__title { font-size: 26px; }
  .contact-info-card { flex: 1 1 100%; }
  .contact-form-box { padding: 20px; }
}

/* 404 */
.not-found-page { padding: 80px 0; text-align: center; }
.not-found-inner { max-width: 500px; margin: 0 auto; }
.not-found-code { font-size: 100px; font-weight: 700; color: var(--blue); opacity: 0.15; line-height: 1; }
.not-found-title { font-size: 28px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.not-found-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; }
.not-found-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-hover); color: #fff; }


/* =============================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */
@media (max-width: 767px) {
  /* Archive toolbar wraps on small screens */
  .archive-toolbar { flex-wrap: wrap; gap: 8px; }
  .archive-title { font-size: 20px; }

  /* Single page */
  .single-title { font-size: 20px; }
  .single-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .single-meta__bottom { width: 100%; }

  /* Hero */
  .hero { padding: 32px 0 36px; }
  .hero-sub { font-size: 15px; }
  .hero-search { margin: 0 4px; }

  /* Weather widget on single page — allow items to wrap to 2 per row */
  .single-weather-wrap .weather-widget > div { flex: 1 1 40%; }
}

@media (max-width: 480px) {
  /* Cards: 2 columns minimum */
  .webcam-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

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

  /* Weather widget items: full width stack on tiny screens */
  .single-weather-wrap .weather-widget > div { flex: 1 1 100%; }
}

/* =============================================================================
   ABOUT US PAGE
   ============================================================================= */
.about-page { background: var(--bg); min-height: 60vh; padding-bottom: 72px; }

/* ── Hero ── */
.about-hero {
  position: relative;
  width: 100%;
  height: 440px;
  background: var(--navy) center center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,26,51,0.7) 0%, rgba(10,26,51,0.3) 60%, rgba(10,26,51,0.1) 100%);
}
/* Bordered box — left-aligned, like the reference */
.about-hero__box {
  position: relative;
  z-index: 1;
  margin-left: clamp(24px, 6vw, 100px);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 28px 32px;
  max-width: 420px;
  background: rgba(5,15,35,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.about-hero__title {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
}
.about-hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin: 0;
}

/* ── About content section ── */
.about-section { padding: 64px 0 72px; }
.about-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.about-inner--has-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* Left image column */
.about-img-col { flex-shrink: 0; }
.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* Right text column */
.about-text-col { min-width: 0; }
.about-content { font-size: 16px; line-height: 1.8; color: var(--text); }

/* First h2 gets the accent underline treatment */
.about-content h2:first-child,
.about-content h2:first-of-type {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--blue);
  display: inline-block;
}
.about-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 10px;
}
/* Coloured subtitle line (first strong/em after first h2) */
.about-content h2 + p > strong,
.about-content h2 + p > em {
  color: var(--blue);
  font-style: normal;
  font-weight: 600;
}
.about-content h3 { font-size: 19px; font-weight: 600; color: var(--text-dark); margin: 24px 0 8px; }
.about-content p { margin-bottom: 16px; }
.about-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.about-content a:hover { color: var(--blue-hover); }
.about-content ul, .about-content ol { padding-left: 22px; margin-bottom: 16px; }
.about-content ul { list-style: disc; }
.about-content ol { list-style: decimal; }
.about-content li { margin-bottom: 6px; }
.about-content img { border-radius: var(--radius-md); max-width: 100%; margin: 20px 0; }

@media (max-width: 900px) {
  .about-inner--has-img { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .about-hero {
    height: auto;
    min-height: 220px;
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .about-hero__box {
    padding: 16px 18px;
    max-width: calc(100% - 32px);
    margin-left: 16px;
    margin-right: 16px;
  }
  .about-hero__title { font-size: 24px; }
  .about-hero__sub { font-size: 13px; }
  .about-section { padding: 24px 0 36px; }
}

/* =============================================================================
   Articles Page
   ============================================================================= */
.articles-page { padding: 40px 0 72px; background: #f5f7fb; }

/* Shared elements */
.article-cat-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.article-read-time {
  font-size: 12px;
  color: var(--text-muted);
  background: #e8f0fe;
  padding: 3px 10px;
  border-radius: 20px;
}
.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.article-read-more:hover { text-decoration: underline; }

/* Featured article */
.article-featured {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: stretch;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 52px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.article-featured__thumb { display: block; overflow: hidden; min-height: 300px; }
.article-featured__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.article-featured:hover .article-featured__thumb img { transform: scale(1.04); }
.article-featured__body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.article-featured__badges { display: flex; align-items: center; gap: 10px; }
.article-featured__title { font-size: 28px; font-weight: 800; line-height: 1.25; margin: 0; }
.article-featured__title a { color: #1a202c; text-decoration: none; }
.article-featured__title a:hover { color: var(--blue); }
.article-featured__excerpt { font-size: 14px; color: #666; line-height: 1.75; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Section header */
.articles-section { margin-top: 8px; }
.articles-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.articles-section__title { font-size: 22px; font-weight: 700; margin: 0 0 4px; color: #1a202c; }
.articles-section__sub { font-size: 13px; color: #888; margin: 0; }

/* Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-grid-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-grid-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.12); transform: translateY(-3px); }
.article-grid-card__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.article-grid-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; display: block; }
.article-grid-card:hover .article-grid-card__thumb img { transform: scale(1.05); }
.article-grid-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.article-grid-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.article-grid-card__cat {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  white-space: nowrap;
}
.article-grid-card__date { font-size: 12px; color: #888; margin: 0; white-space: nowrap; }
.article-grid-card__title { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 0; }
.article-grid-card__title a { color: #1a202c; text-decoration: none; }
.article-grid-card__title a:hover { color: var(--blue); }
.article-grid-card__excerpt { font-size: 13px; color: #666; line-height: 1.65; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-grid-card .article-read-more { margin-top: auto; padding-top: 2px; }

@media (max-width: 900px) {
  .article-featured { grid-template-columns: 1fr; }
  .article-featured__thumb { min-height: 220px; max-height: 280px; }
  .article-featured__body { padding: 24px; }
  .article-featured__title { font-size: 22px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .articles-grid { grid-template-columns: 1fr; }
  .article-featured__body { padding: 20px; gap: 12px; }
}

/* =============================================================================
   Article Single — BBC-style layout (art-single__*)
   ========================================================================== */

/* Full-bleed hero */
.art-single__hero {
  width: 100%;
  overflow: hidden;
  background: #111;
}
.art-single__hero img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.art-single {
  background: #f5f7fb;
  padding-bottom: 72px;
}

/* Breadcrumb row — full width above the two-column layout */
.art-single__breadrow {
  padding-top: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 32px;
}

/* Two-column layout */
.art-single__layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}

/* ── MAIN COLUMN ── */
.art-single__main {
  min-width: 0;
  background: #fff;
  border-radius: 14px;
  padding: 36px 40px 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.art-single__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.art-kicker-cat {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c0392b;
  text-decoration: none;
}
.art-kicker-cat:hover { text-decoration: underline; }
.art-kicker-sep { color: var(--text-muted); font-size: 13px; }
.art-kicker-time { font-size: 13px; color: var(--text-muted); }

.art-single__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a202c;
  margin: 0 0 14px;
}

.art-single__byline {
  font-size: 13px;
  color: #888;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e9edf2;
}

.art-single__content {
  font-size: 17px;
  line-height: 1.8;
  color: #2d3748;
}
.art-single__content h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; color: #1a202c; }
.art-single__content h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; color: #1a202c; }
.art-single__content p  { margin: 0 0 18px; }
.art-single__content img { max-width: 100%; border-radius: 10px; margin: 12px 0; }
.art-single__content a  { color: var(--blue); text-decoration: underline; }
.art-single__content ul,
.art-single__content ol { padding-left: 24px; margin: 0 0 18px; }
.art-single__content li { margin-bottom: 6px; }
.art-single__content blockquote {
  border-left: 4px solid var(--blue);
  margin: 24px 0;
  padding: 12px 20px;
  background: #f0f6ff;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-muted);
}

.art-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e9edf2;
}

/* ── SIDEBAR ── */
.art-single__sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

/* Share */
.art-sidebar__share {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}
.art-sidebar__share-label {
  font-size: 14px;
  font-weight: 700;
  color: #1a202c;
  white-space: nowrap;
}
.art-sidebar__share-btns { display: flex; gap: 8px; }
.art-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}
.art-share-btn:hover { opacity: 0.85; transform: scale(1.08); }
.art-share-btn--fb   { background: #1877f2; }
.art-share-btn--tw   { background: #111; }
.art-share-btn--copy { background: #94a3b8; }
.art-share-btn--copy.copied { background: #27ae60; }

/* Top Stories */
.art-sidebar__stories {
  background: #fff;
  border-radius: 12px;
  padding: 18px 18px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.art-sidebar__stories-title {
  font-size: 16px;
  font-weight: 800;
  color: #1a202c;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1a202c;
}
.art-sidebar__stories-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Story card — horizontal layout */
.art-story-card {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  transition: background 0.15s;
}
.art-story-card:last-child { border-bottom: none; padding-bottom: 4px; }
.art-story-card:hover .art-story-card__title { color: var(--blue); }

.art-story-card__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 7px;
  overflow: hidden;
  background: #dde4ed;
}
.art-story-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.art-story-card:hover .art-story-card__thumb img { transform: scale(1.06); }

.art-story-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.art-story-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.art-story-card__cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.art-story-card__sep { font-size: 11px; color: #aaa; }
.art-story-card__time { font-size: 11px; color: #aaa; }
.art-story-card__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #1a202c;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .art-single__layout { grid-template-columns: 1fr; gap: 28px; }
  .art-single__sidebar { position: static; }
}
@media (max-width: 680px) {
  .art-single__hero img { height: 260px; }
  .art-single__main { padding: 24px 20px 28px; }
  .art-single__title { font-size: 26px; }
  .art-single__content { font-size: 16px; }
}
