/* ==========================================================================
   SKYLINE WORDPRESS THEME - Main Stylesheet v28
   Premium Minimalist Travel/Lifestyle Blog Theme
   ========================================================================== */

/* ==========================================================================
   1. ROOT VARIABLES & GLOBAL SETUP
   ========================================================================== */

:root {
  /* Color Palette */
  --skyline-accent: #E85D3A;
  --skyline-accent-dark: #D14628;
  --skyline-accent-light: #FF7F5C;
  --skyline-bg: #FFFFFF;
  --skyline-bg-alt: #F9FAFB;
  --skyline-bg-card: #FFFFFF;
  --skyline-text: #1A1A2E;
  --skyline-text-secondary: #6B7280;
  --skyline-text-muted: #9CA3AF;
  --skyline-heading: #1A1A2E;
  --skyline-border: #E5E7EB;
  --skyline-border-light: #F3F4F6;
  --skyline-shadow: rgba(0, 0, 0, 0.05);
  --skyline-shadow-hover: rgba(0, 0, 0, 0.1);
  --skyline-overlay: rgba(0, 0, 0, 0.5);

  /* Spacing & Border Radius */
  --skyline-radius: 12px;
  --skyline-radius-sm: 8px;
  --skyline-radius-lg: 16px;

  /* Animations */
  --skyline-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --skyline-font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --skyline-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --skyline-container: 1400px;
  --skyline-container-narrow: 900px;
  --skyline-header-height: 70px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--skyline-font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--skyline-text);
  background-color: var(--skyline-bg);
  transition: background-color var(--skyline-transition), color var(--skyline-transition);
  overflow-x: clip;
  padding-top: calc(var(--skyline-header-height) + 32px); /* Space for header overlay */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--skyline-font-heading);
  color: var(--skyline-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--skyline-accent);
  text-decoration: none;
  transition: color var(--skyline-transition);
}

a:hover {
  color: var(--skyline-accent-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
  margin-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Code */
code, pre {
  background-color: var(--skyline-bg-alt);
  border-radius: var(--skyline-radius-sm);
  font-family: 'Monaco', 'Courier New', monospace;
}

code {
  padding: 0.2rem 0.5rem;
  font-size: 0.9rem;
}

pre {
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

pre code {
  padding: 0;
  background-color: transparent;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--skyline-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--skyline-text-secondary);
  font-style: italic;
  font-size: 1.1rem;
}

/* Forms */
input, textarea, select {
  font-family: var(--skyline-font-primary);
  font-size: 1rem;
  color: var(--skyline-text);
  background-color: var(--skyline-bg);
  border: 1px solid var(--skyline-border);
  border-radius: var(--skyline-radius-sm);
  padding: 0.75rem;
  transition: border-color var(--skyline-transition), background-color var(--skyline-transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--skyline-accent);
  box-shadow: 0 0 0 3px rgba(232, 93, 58, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Buttons */
button, .btn {
  font-family: var(--skyline-font-primary);
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--skyline-radius-sm);
  cursor: pointer;
  transition: all var(--skyline-transition);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--skyline-text);
  color: var(--skyline-bg);
}

.btn-primary:hover {
  background-color: var(--skyline-heading);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--skyline-shadow-hover);
}

.btn-accent {
  background-color: var(--skyline-accent);
  color: #FFFFFF;
}

.btn-accent:hover {
  background-color: var(--skyline-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 93, 58, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--skyline-text);
  border: 1px solid var(--skyline-border);
}

.btn-secondary:hover {
  border-color: var(--skyline-accent);
  color: var(--skyline-accent);
}

/* Screen Reader Text */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  display: block;
  top: 5px;
  left: 5px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 15px 23px 14px;
  clip: auto;
  background-color: #000;
  color: #fff;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: 99999;
}

.skip-link:focus {
  top: 0;
  left: 0;
  display: block;
  padding: 1rem;
  background-color: var(--skyline-accent);
  color: #FFFFFF;
  text-decoration: none;
}

/* Container */
.container {
  max-width: var(--skyline-container);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: var(--skyline-container-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

.d-flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ==========================================================================
   3. HEADER & NAVIGATION — Floating bar with triangular/beveled corners
   ========================================================================== */

/*
 * v28: SVG shadow approach.
 *
 * The shadow is rendered by an inline SVG with an <feGaussianBlur> filter
 * that outputs ONLY the shadow pixels (no SourceGraphic in <feMerge>).
 * The SVG polygon matches the triangular clip-path, so the shadow follows
 * the beveled corners.
 *
 * Since the SVG renders only semi-transparent shadow pixels (no solid fill),
 * it does NOT block backdrop-filter on .header-inner.
 *
 * NO filter on any parent of .header-inner.
 * NO ::after pseudo-element for shadow.
 */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0 0;
  background: transparent;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

body.has-sticky-header .site-header {
  position: fixed;
}

/* Hidden SVG definitions — no visual output */
.header-svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* SVG shadow layer — renders ONLY shadow, no fill.
 * Positioned behind .header-inner but its output is only
 * semi-transparent shadow pixels, so backdrop-filter works through it. */
.header-shadow-svg {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: calc(var(--skyline-container) - 4rem);
  height: var(--skyline-header-height);
  pointer-events: none;
  z-index: 2; /* ABOVE header-inner so backdrop-filter doesn't blur the shadow pixels */
  overflow: visible; /* Let shadow extend beyond SVG bounds */
}

/* Glass header bar — triangular corners + blur + glass white */
.header-inner {
  background: hsla(0, 0%, 100%, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  display: flex;
  align-items: center;
  height: var(--skyline-header-height);
  pointer-events: all;
  transition: background var(--skyline-transition);
  position: relative;
  max-width: calc(var(--skyline-container) - 4rem);
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 0 6px;
  z-index: 1;
}

.site-header.scrolled .header-inner {
  background: hsla(0, 0%, 100%, 0.45);
}

/* Header Style: Solid — same shape, white opaque instead of glass */
body.header-style-solid .header-inner {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.header-style-solid .site-header.scrolled .header-inner {
  background: #fff;
}

body.header-style-solid .primary-menu .sub-menu,
body.header-style-solid > .sub-menu-wrap > .sub-menu {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-inner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 10px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo & Branding */
.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo a {
  display: flex;
  align-items: center;
}

.site-logo img {
  max-height: 45px;
  width: auto;
  display: block;
}

.site-icon-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--skyline-text);
  transition: color var(--skyline-transition);
}

.site-icon-title:hover {
  color: var(--skyline-accent);
}

.site-icon {
  display: flex;
  align-items: center;
}

.site-icon svg {
  width: 38px;
  height: 38px;
  color: var(--skyline-accent);
  display: block;
}

.site-title {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--skyline-font-primary);
  line-height: 1;
}

.site-title a {
  color: var(--skyline-heading);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--skyline-accent);
}

.site-description {
  display: none;
}

/* Main Navigation */
.main-navigation {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.primary-menu {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu li {
  margin: 0;
  position: relative;
}

.primary-menu a {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--skyline-heading);
  transition: all var(--skyline-transition);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  line-height: 1.4;
}

.primary-menu a:hover {
  color: var(--skyline-text);
  background-color: hsla(0, 0%, 0%, 0.04);
}

/* Active nav item — like Ontario with subtle highlight */
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  color: var(--skyline-text);
  background-color: hsla(0, 0%, 0%, 0.05);
  font-weight: 500;
}

/* Dropdown arrow for sub-menus */
.primary-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--skyline-transition);
}

/* Sub-menus */
/* Sub-menus — moved to body via JS to escape clip-path */
/* NO filter on the wrapper — it would kill backdrop-filter on children (same bug as nav) */
body > .sub-menu-wrap {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
}

/* SVG shadow for sub-menus — reuses #skyline-shadow filter from header.
   Positioned on top of the sub-menu, overflow visible so shadow extends.
   No filter on any parent = backdrop-filter works perfectly on .sub-menu */
body > .sub-menu-wrap > .sub-menu-shadow-svg {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 2; /* above sub-menu so backdrop-filter doesn't blur shadow pixels */
}

/* Sub-menu glass panel — identical to .header-inner:
   same background, same backdrop-filter, same clip-path shape (scaled down) */
.primary-menu .sub-menu,
body > .sub-menu-wrap > .sub-menu {
  display: none;
  position: relative;
  background: hsla(0, 0%, 100%, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  clip-path: polygon(
    10px 0%, calc(100% - 10px) 0%,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0% calc(100% - 10px), 0% 10px
  );
  min-width: 200px;
  padding: 0.75rem 0;
  margin: 0;
  list-style: none;
  pointer-events: all;
}

body > .sub-menu-wrap > .sub-menu li {
  margin: 0;
}

body > .sub-menu-wrap > .sub-menu a {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  display: block;
  color: #333;
  text-decoration: none;
  transition: all 0.15s ease;
}

body > .sub-menu-wrap > .sub-menu a:hover {
  background-color: hsla(0, 0%, 0%, 0.05);
  color: #1a1a1a;
}

/* Nested sub-menu arrow (right-pointing) */
body > .sub-menu-wrap > .sub-menu .has-nested-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 1rem;
}
body > .sub-menu-wrap > .sub-menu .has-nested-arrow::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid currentColor;
  margin-left: 10px;
  flex-shrink: 0;
}

/* Dark mode sub-menus */
body.dark-mode > .sub-menu-wrap > .sub-menu {
  background: hsla(0, 0%, 20%, 0.7);
}

body.dark-mode > .sub-menu-wrap > .sub-menu a {
  color: var(--skyline-text-secondary);
}

body.dark-mode > .sub-menu-wrap > .sub-menu a:hover {
  background-color: hsla(0, 0%, 100%, 0.06);
  color: var(--skyline-accent);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-actions button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--skyline-text);
  transition: all var(--skyline-transition);
  border-radius: 6px;
  width: 36px;
  height: 36px;
}

.header-actions button:hover {
  color: var(--skyline-accent);
  background-color: hsla(0, 0%, 0%, 0.04);
}

.header-actions svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Buy Now / CTA Button in header */
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background-color: var(--skyline-text);
  color: #FFFFFF !important;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--skyline-font-primary);
  text-decoration: none;
  border-radius: 0;
  clip-path: polygon(
    6px 0%, calc(100% - 6px) 0%,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0% calc(100% - 6px), 0% 6px
  );
  transition: all var(--skyline-transition);
  margin-left: 4px;
  white-space: nowrap;
  line-height: 1.4;
}

.header-cta:hover {
  background-color: var(--skyline-accent);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* ================================================================
   DARK MODE TOGGLE — Sliding Trap Door with beveled shape
   ================================================================ */
/* --- Dark Mode Corner Tab --- */
.dark-mode-tab {
  position: fixed;
  top: 50%;
  right: 16px;
  z-index: 9999;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transform: translateY(-50%);
  padding: 0;
}
.dark-mode-tab:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
}
.dark-mode-tab .tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.dark-mode-tab .tab-icon svg {
  fill: currentColor;
}
.dark-mode-tab .tab-icon-sun {
  color: var(--skyline-accent);
}
.dark-mode-tab .tab-icon-moon {
  display: none;
  color: #6B7280;
}

/* Dark mode corner tab */
body.dark-mode .dark-mode-tab {
  background: #383838;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
body.dark-mode .dark-mode-tab .tab-icon-sun {
  display: none;
}
body.dark-mode .dark-mode-tab .tab-icon-moon {
  display: flex;
  color: var(--skyline-accent);
}

/* Hamburger — hidden on desktop */
.mobile-menu-toggle {
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--skyline-text);
  transition: all var(--skyline-transition);
  border-radius: 1px;
}

/* ---- Mobile Menu Panel (Ontario-style) ---- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 10px;
  left: 16px;
  right: 16px;
  background: var(--skyline-bg, #fff);
  z-index: 10001;
  -webkit-clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
  max-height: 85vh;
  overflow: hidden;
}

.mobile-menu.active {
  display: block;
  animation: skylineMobileMenuIn 0.2s ease-out;
}

@keyframes skylineMobileMenuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Menu header with X close */
.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 14px 14px 0;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
  padding: 0;
}

.mobile-menu-close:hover {
  background: var(--skyline-bg-card, #f0f0f0);
}

.mobile-menu-close svg {
  display: block;
}

.mobile-menu-inner {
  padding: 4px 0 12px;
  max-height: calc(85vh - 60px);
  overflow-y: auto;
}

/* Reset WP list styles */
.mobile-menu-list,
.mobile-menu-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list > li {
  border-bottom: 1px solid var(--skyline-border, rgba(0,0,0,0.06));
}

.mobile-menu-list > li:last-child {
  border-bottom: none;
}

.mobile-menu-list a {
  display: block;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--skyline-heading);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.mobile-menu-list a:hover {
  color: var(--skyline-accent);
}

/* Parent items with submenus — chevron on the right */
.mobile-menu-list .menu-item-has-children {
  position: relative;
}

.mobile-menu-list .menu-item-has-children > a {
  padding-right: 56px;
}

/* Chevron > toggle button */
.mobile-menu-list .submenu-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  color: var(--skyline-text-secondary, #999);
}

.mobile-menu-list .submenu-toggle:hover {
  background: var(--skyline-bg-card, #f5f5f5);
  color: var(--skyline-accent);
}

.mobile-menu-list .submenu-toggle.active svg {
  transform: rotate(90deg);
}

.mobile-menu-list .submenu-toggle svg {
  transition: transform 0.25s ease;
}

/* Submenus — hidden by default, shown on toggle */
.mobile-menu .mobile-menu-list .sub-menu {
  display: none !important;
  background: var(--skyline-bg-card, #f8f8fa);
}

.mobile-menu .mobile-menu-list .sub-menu.open {
  display: block !important;
}

.mobile-menu-list .sub-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 24px 12px 40px;
  color: var(--skyline-text-secondary);
}

.mobile-menu-list .sub-menu a:hover {
  color: var(--skyline-accent);
}

/* Nested sub-sub-menus */
.mobile-menu-list .sub-menu .sub-menu a {
  padding-left: 56px;
}

/* Hamburger X animation */
.mobile-menu-toggle.active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Overlay when menu open */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10000;
}

body.mobile-menu-open .mobile-menu-overlay {
  display: block;
}

/* Hide dark mode tab when mobile menu is open */
body.mobile-menu-open .dark-mode-tab {
  display: none;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */

.blog-hero {
  padding: 70px 0;
  text-align: center;
  border-bottom: 1px solid var(--skyline-border);
}

.blog-hero .hero-text {
  max-width: 900px;
  margin: 0 auto;
}

.hero-accent {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--skyline-accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--skyline-font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--skyline-heading);
}

.hero-title .hero-accent {
  color: var(--skyline-accent);
  font-family: inherit;
  display: inline;
  font-size: inherit;
  text-transform: none;
  letter-spacing: normal;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--skyline-text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* Hero Separator */
.blog-hero::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--skyline-accent);
  margin: 2rem auto 0;
}

/* Hero Style 2: Full-Screen Image + Overlay */
.blog-hero--fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a2e;
  padding: 0;
  border-bottom: none;
  overflow: hidden;
}

.blog-hero--fullscreen {
  margin-top: calc(-1 * (var(--skyline-header-height) + 32px));
  padding-top: calc(var(--skyline-header-height) + 32px);
}

.blog-hero--fullscreen::after {
  display: none;
}

.blog-hero--fullscreen .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
  /* opacity controlled via inline style from Theme Options */
}

.blog-hero--fullscreen .hero-fullscreen-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.blog-hero--fullscreen .hero-accent {
  display: block;
  color: var(--skyline-accent-light, #ff9a5c);
  font-size: var(--hero-accent-size, 16px);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.blog-hero--fullscreen .hero-title {
  color: #fff;
  font-size: var(--hero-title-size, 56px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.blog-hero--fullscreen .hero-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--skyline-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--skyline-transition);
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}

.hero-cta-btn:hover {
  background-color: #fff;
  color: var(--skyline-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 93, 58, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Style 3: Compact Image with Focal Point */
.blog-hero--compact {
  position: relative;
  padding: 70px 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #1a1a2e;
  border-bottom: none;
  overflow: hidden;
  /* background-position set via inline style from focal point picker */
}

.blog-hero--compact {
  margin-top: calc(-1 * (var(--skyline-header-height) + 32px));
  padding-top: calc(var(--skyline-header-height) + 32px + 70px);
}

.blog-hero--compact::after {
  display: none;
}

.blog-hero--compact .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
  /* opacity controlled via inline style from Theme Options */
}

.blog-hero--compact .hero-compact-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero--compact .hero-accent {
  display: block;
  color: var(--skyline-accent-light, #ff9a5c);
  font-size: var(--hero-accent-size, 16px);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.blog-hero--compact .hero-title {
  color: #fff;
  font-size: var(--hero-title-size, 56px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.blog-hero--compact .hero-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   5. CATEGORY FILTER
   ========================================================================== */

.category-filter {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--skyline-border);
}

/* Featured layout ONLY: section spacing */
.blog-posts--featured-hero {
  min-height: auto;
}

/* Featured grid: don't stretch to match sidebar height */
.blog-posts--featured-grid .posts-grid {
  align-self: start;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.category-pill {
  --pill-bg: #f3f4f6;
  --pill-text: #6b7280;
  --pill-border: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 0;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pill-text);
  background-color: var(--pill-bg);
  transition: all var(--skyline-transition);
  cursor: pointer;
}

.category-pill:hover,
.category-pill.active {
  filter: brightness(0.95) saturate(1.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pill-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--pill-text);
}

/* ==========================================================================
   6. BLOG POSTS LAYOUT
   ========================================================================== */

.blog-posts {
  padding: 4rem 0;
  min-height: 400px;
}

/* --- Layout: Classic (2 col + sidebar) --- */
.posts-layout {
  display: grid;
  gap: 2.5rem;
}

.posts-layout.with-sidebar {
  grid-template-columns: 1fr 440px;
}
.posts-layout.with-sidebar.blog-sidebar-left {
  grid-template-columns: 440px 1fr;
}
.posts-layout.with-sidebar.blog-sidebar-left .blog-sidebar {
  order: -1;
  padding-left: 0;
  padding-right: 2.5rem;
}

.posts-layout.no-sidebar {
  grid-template-columns: 1fr;
}

.posts-layout.with-sidebar .posts-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Classic without sidebar: keep 2 columns */
.posts-layout.posts-classic.no-sidebar .posts-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* --- Layout: Grid (3 col, no sidebar) --- */
.posts-layout.posts-grid.no-sidebar .posts-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* --- Layout: List (single col cards) --- */
.posts-layout.posts-list .posts-grid {
  grid-template-columns: 1fr;
}

/* --- Layout: Mixed (featured card + 3-col grid below, no sidebar) --- */
.posts-layout.posts-mixed {
  grid-template-columns: 1fr;
}

.posts-layout.posts-mixed .posts-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Mixed: Featured Card */
.post-card-featured {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.post-card-featured .featured-card-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: #fff;
}

.post-card-featured .featured-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 2;
  overflow: hidden;
}

.post-card-featured .featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.post-card-featured:hover .featured-card-image img {
  transform: scale(1.03);
}

.post-card-featured .featured-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  z-index: 1;
}

.post-card-featured .featured-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 2.5rem;
}

.post-card-featured .featured-card-content .post-categories {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  position: static;
}

.post-card-featured .featured-card-content .category-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.post-card-featured .featured-card-content .post-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: #fff;
}

.post-card-featured .featured-card-content .post-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  max-width: 600px;
}

.post-card-featured .featured-card-content .post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.post-card-featured .featured-card-content .post-meta svg {
  stroke: rgba(255, 255, 255, 0.7);
}

.post-card-featured .featured-card-content .post-meta-separator {
  color: rgba(255, 255, 255, 0.4);
}

/* --- Layout: Featured (hero block + 3-col grid below) --- */
.posts-layout.posts-featured .posts-grid {
  grid-template-columns: repeat(3, 1fr);
}

.posts-grid {
  display: grid;
  column-gap: 2.5rem;
  row-gap: 3rem;
  align-items: stretch;
  align-content: start;
}

/* ==========================================================================
   FEATURED LAYOUT — Hero Block (Revision-style)
   ========================================================================== */

/* Grid: main post ~55%, side posts ~45% */
.featured-hero-block {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 2.5rem;
  margin-bottom: 0;
  align-items: stretch; /* both columns same height */
}

/* --- Main featured post (left) --- */
.featured-main-post {
  display: flex;
  flex-direction: column;
}

.featured-main-image {
  position: relative;
  width: 100%;
  flex: 1;           /* image grows to fill available space */
  min-height: 0;
  overflow: hidden;
  background-color: var(--skyline-bg-alt);
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}

.featured-main-image .post-thumbnail-link {
  display: block;
  width: 100%;
  height: 100%;
}

.featured-main-image .post-thumbnail-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-main-post:hover .featured-main-image img {
  transform: scale(1.03);
}

.featured-main-image .post-categories {
  position: absolute;
  top: 16px;
  left: 16px;
  bottom: auto;
  z-index: 2;
}

.featured-main-content {
  flex-shrink: 0;
  padding: 1.1rem 0 0;
}

.featured-main-content .post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--skyline-text-muted, #999);
  margin-bottom: 0.4rem;
}

.featured-main-content .post-meta .post-author {
  color: var(--skyline-accent, #D4A574);
  font-weight: 600;
}

.featured-main-content .post-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.featured-main-content .post-title a {
  color: var(--skyline-heading, #1a1a1a);
  text-decoration: none;
}

.featured-main-content .post-title a:hover {
  color: var(--skyline-accent, #D4A574);
}

.featured-main-content .post-excerpt {
  font-size: 0.9rem;
  color: var(--skyline-text-secondary, #666);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-main-content .post-excerpt p {
  margin: 0;
}

/* --- Side posts (right column) --- */
.featured-side-posts {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* distribute 3 posts evenly */
}

.featured-side-post {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--skyline-border-light, #eee);
}

.featured-side-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.featured-side-content {
  flex: 1;
  min-width: 0;
}

.featured-side-content .post-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--skyline-text-muted, #999);
  margin-bottom: 0.3rem;
}

.featured-side-content .post-meta .post-author {
  color: var(--skyline-accent, #D4A574);
  font-weight: 600;
}

.featured-side-content .post-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.3rem;
}

.featured-side-content .post-title a {
  color: var(--skyline-heading, #1a1a1a);
  text-decoration: none;
}

.featured-side-content .post-title a:hover {
  color: var(--skyline-accent, #D4A574);
}

.featured-side-content .post-excerpt {
  font-size: 0.84rem;
  color: var(--skyline-text-secondary, #666);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.featured-side-content .post-excerpt p {
  margin: 0;
}

/* Category badges — outline style like Revision */
.featured-side-categories {
  position: static !important;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.featured-side-categories .category-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  background: transparent;
  color: var(--skyline-text, #333);
  border: 1.5px solid var(--skyline-border, #ddd);
  clip-path: none;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Side post thumbnail — larger, matching Revision proportions */
.featured-side-image {
  position: relative;
  flex: 0 0 200px;
  width: 200px;
  height: 130px;
  overflow: hidden;
  border-radius: 10px;
  background-color: var(--skyline-bg-alt);
}

.featured-side-image .post-thumbnail-link {
  display: block;
  width: 100%;
  height: 100%;
}

.featured-side-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-side-post:hover .featured-side-image img {
  transform: scale(1.05);
}

/* ==========================================================================
   LIST CARD (List Layout)
   ========================================================================== */

.post-card-list {
  flex-direction: row;
  background: transparent;
}

.post-list-wrapper {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  width: 100%;
  align-items: stretch;
}

.post-list-thumbnail {
  flex: 0 0 38%;
  max-width: 38%;
  position: relative;
  overflow: hidden;
  clip-path: polygon(
    12px 0%, calc(100% - 12px) 0%,
    100% 12px, 100% calc(100% - 12px),
    calc(100% - 12px) 100%, 12px 100%,
    0% calc(100% - 12px), 0% 12px
  );
  background-color: var(--skyline-bg-alt);
}

.post-list-thumbnail .post-thumbnail-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.post-list-thumbnail .post-thumbnail-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--skyline-transition);
}

.post-card-list:hover .post-list-thumbnail img {
  transform: scale(1.05);
}

.post-list-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.post-list-content .post-categories {
  position: static;
  margin-bottom: 0.75rem;
}

.post-list-content .post-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.6rem;
}

.post-list-content .post-title a {
  color: var(--skyline-heading, #1a1a1a);
  text-decoration: none;
}

.post-list-content .post-title a:hover {
  color: var(--skyline-accent, #D4A574);
}

.post-list-content .post-excerpt {
  font-size: 0.92rem;
  color: var(--skyline-text-secondary, #666);
  line-height: 1.65;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-list-content .post-excerpt p {
  margin: 0;
}

.post-list-content .post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--skyline-text-muted, #999);
  margin-top: auto;
}

.post-list-content .post-meta-separator {
  color: var(--skyline-text-muted, #bbb);
}

/* ==========================================================================
   7. POST CARDS
   ========================================================================== */

/* Post cards — Ontario-style: beveled image box, content flows below openly */
.post-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  transition: all var(--skyline-transition);
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-card:nth-child(1) { animation-delay: 0.1s; }
.post-card:nth-child(2) { animation-delay: 0.2s; }
.post-card:nth-child(3) { animation-delay: 0.3s; }
.post-card:nth-child(4) { animation-delay: 0.4s; }
.post-card:nth-child(5) { animation-delay: 0.5s; }
.post-card:nth-child(6) { animation-delay: 0.6s; }

.post-card:hover {
  transform: translateY(-2px);
}

/* Thumbnail Container — beveled corners like nav */
.post-thumbnail-container {
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio — shorter like Ontario */
  position: relative;
  overflow: hidden;
  background-color: var(--skyline-bg-alt);
  -webkit-clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}

.post-card:not(.post-card-list):not(.post-card-featured):not(:has(.post-thumbnail-container))::before {
  content: '';
  display: block;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, rgba(232, 93, 58, 0.15) 0%, rgba(255, 127, 92, 0.1) 100%);
  position: relative;
  -webkit-clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}

.post-thumbnail-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.post-thumbnail-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--skyline-transition);
}

.post-card:hover .post-thumbnail-link img {
  transform: scale(1.05);
}

/* Card Content — open layout, no box */
.post-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem 0.25rem 0;
}

/* Category badges — overlaid on image like Ontario */
.post-categories {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
}

.category-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  padding: 0.3rem 0.6rem;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 4px;
  transition: all var(--skyline-transition);
}

.category-badge:hover {
  background-color: var(--skyline-accent);
  color: #fff;
}

.post-title {
  font-family: var(--skyline-font-heading);
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 0.35rem 0;
}

.post-title a {
  color: var(--skyline-text);
  transition: color var(--skyline-transition);
}

.post-card:hover .post-title a {
  color: var(--skyline-accent);
}

.post-excerpt {
  color: var(--skyline-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-excerpt p {
  margin: 0;
  padding: 0;
}

.post-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--skyline-heading);
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
}

/* Read-time badge — top-left of thumbnail */
.post-read-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 4px;
  padding: 0.25rem 0.55rem;
  white-space: nowrap;
}

.post-read-badge svg {
  stroke: #fff;
  flex-shrink: 0;
}

/* Post meta inline — below title, compact */
.post-meta-inline {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--skyline-text-secondary);
  margin-bottom: 0.6rem;
  margin-top: 0;
}

.post-meta-inline .post-author {
  display: inline;
  font-weight: 500;
  color: var(--skyline-text-secondary);
}

.post-meta-inline .post-date {
  display: inline;
  color: var(--skyline-text-secondary);
}

.post-meta-inline .post-meta-dot {
  color: var(--skyline-text-secondary);
  opacity: 0.4;
  font-size: 0.7rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.post-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-date svg,
.post-author svg,
.post-reading-time svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
}

.post-reading-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   8. SIDEBAR
   ========================================================================== */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: 2.5rem;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
}

/* Beveled widget shape — matches nav bar's triangular/beveled corners */
.blog-sidebar .widget {
  background-color: var(--skyline-bg-card);
  padding: 1.5rem;
  border: none;
  border-radius: 0;
  transition: all var(--skyline-transition);
  -webkit-clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}

/* About widget — strong accent background */
.blog-sidebar .widget.skyline-about-widget {
  background-color: var(--skyline-accent);
}

.widget-title {
  font-family: var(--skyline-font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--skyline-heading);
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--skyline-border);
}

/* Search Widget */
.widget-search {
  display: flex;
  gap: 0.5rem;
}

.widget-search input {
  flex-grow: 1;
  padding: 0.75rem;
  border: 1px solid var(--skyline-border);
  border-radius: var(--skyline-radius-sm);
  font-size: 0.9rem;
}

.widget-search button {
  padding: 0.75rem 1rem;
  background-color: var(--skyline-accent);
  color: white;
  border: none;
  border-radius: var(--skyline-radius-sm);
  cursor: pointer;
  transition: all var(--skyline-transition);
}

.widget-search button:hover {
  background-color: var(--skyline-accent-dark);
}

/* About Author Widget */
.skyline-about-widget .widget-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.85);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1.25rem;
}

.skyline-about-card {
  display: flex;
  flex-direction: column;
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.about-card-avatar {
  flex-shrink: 0;
}

.about-card-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
}

.about-card-identity {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.about-card-name {
  font-family: var(--skyline-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.about-card-role {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85);
}

.about-card-bio {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin: 0 0 1.1rem 0;
}

.about-card-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.1rem;
}

.about-card-location svg {
  color: #fff;
  flex-shrink: 0;
}

.skyline-about-widget .skyline-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.skyline-about-widget .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #fff;
  transition: all var(--skyline-transition);
}

.skyline-about-widget .social-link:hover {
  color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}

.skyline-about-widget .social-link svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* --- Social Links Widget — Container --- */
.skyline-social-widget {
  background: linear-gradient(135deg, var(--skyline-accent), var(--skyline-accent-dark));
  border-radius: var(--skyline-radius-lg);
  padding: 24px;
}

.skyline-social-widget .widget-title,
.skyline-social-widget h2,
.skyline-social-widget h3 {
  color: #fff !important;
  margin-bottom: 16px;
}

/* --- Social Links Widget — Grid Layout (squared gradient cards) --- */
.skyline-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.skyline-social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px 12px;
  border-radius: var(--skyline-radius-sm);
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform var(--skyline-transition), box-shadow var(--skyline-transition), background var(--skyline-transition);
}

.skyline-social-card:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.skyline-social-card:hover .skyline-social-card__icon svg {
  fill: #fff !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.skyline-social-card:hover .skyline-social-card__label {
  color: #fff;
  opacity: 1;
}

.skyline-social-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.skyline-social-card__icon svg {
  width: 24px;
  height: 24px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.skyline-social-card__count {
  font-family: var(--skyline-font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
  position: relative;
  z-index: 1;
}

.skyline-social-card__label {
  font-family: var(--skyline-font-primary);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
  line-height: 1;
  position: relative;
  z-index: 1;
}

/* --- Social Links Widget — List Layout (detailed rows) --- */
.skyline-social-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skyline-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--skyline-radius-sm);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: #fff;
  transition: all var(--skyline-transition);
}

.skyline-social-row:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateX(4px);
}

.skyline-social-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--skyline-radius-sm);
  color: #fff;
  flex-shrink: 0;
}

.skyline-social-row__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.skyline-social-row__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.skyline-social-row__label {
  font-family: var(--skyline-font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.skyline-social-row__count {
  font-family: var(--skyline-font-primary);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

.skyline-social-row__arrow {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--skyline-transition);
  flex-shrink: 0;
}

.skyline-social-row:hover .skyline-social-row__arrow {
  color: #fff;
  transform: translateX(3px);
}

/* Recent Posts Widget */
.widget-recent-posts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-recent-posts li {
  margin: 0 0 1rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--skyline-border-light);
}

.widget-recent-posts li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.widget-recent-posts a {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--skyline-text);
  transition: color var(--skyline-transition);
  line-height: 1.4;
}

.widget-recent-posts a:hover {
  color: var(--skyline-accent);
}

/* Categories Widget */
.widget-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-categories li {
  margin: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--skyline-border-light);
}

.widget-categories li:last-child {
  border-bottom: none;
}

.widget-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--skyline-text);
  transition: color var(--skyline-transition);
}

.widget-categories a:hover {
  color: var(--skyline-accent);
}

.category-count {
  background-color: var(--skyline-bg-alt);
  color: var(--skyline-text-muted);
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Skyline Categories Widget */
.blog-sidebar .widget.skyline-categories-widget {
  background-color: var(--skyline-accent);
}

.skyline-categories-widget .widget-title {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.3);
}

.skyline-categories-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skyline-cat-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  background-color: var(--cat-bg);
  border: none;
  border-radius: 0;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.skyline-cat-card:hover {
  transform: translateX(4px);
  background-color: color-mix(in srgb, var(--cat-color) 18%, white);
}

.cat-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 0;
  clip-path: polygon(5px 0%, calc(100% - 5px) 0%, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0% calc(100% - 5px), 0% 5px);
  background-color: color-mix(in srgb, var(--cat-color) 12%, transparent);
  color: var(--cat-color);
  transition: all 0.25s ease;
}

.skyline-cat-card:hover .cat-card-icon {
  background-color: var(--cat-color);
  color: #fff;
}

.cat-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.cat-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.cat-card-name {
  font-family: var(--skyline-font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--skyline-heading);
  line-height: 1.3;
  transition: color 0.25s ease;
}

.skyline-cat-card:hover .cat-card-name {
  color: var(--cat-color);
}

.cat-card-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--skyline-text-muted);
  line-height: 1.3;
  margin-top: 0.1rem;
}

.cat-card-arrow {
  display: flex;
  align-items: center;
  color: var(--skyline-text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
}

.skyline-cat-card:hover .cat-card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--cat-color);
}

/* Skyline Popular Tags Widget */
.blog-sidebar .widget.skyline-popular-tags-widget {
  background-color: var(--skyline-accent);
}

.skyline-popular-tags-widget .widget-title {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.3);
}

.skyline-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skyline-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.3;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.skyline-tag-pill:hover {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--skyline-accent);
  border-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tag-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.3rem;
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 10px;
  line-height: 1;
  transition: all 0.25s ease;
}

.skyline-tag-pill:hover .tag-pill-count {
  background-color: var(--skyline-accent);
  color: #fff;
}

/* Skyline Related Articles Widget */
.blog-sidebar .widget.skyline-related-articles-widget {
  background-color: var(--skyline-accent);
}

.skyline-related-articles-widget .widget-title {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.3);
}

.skyline-related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.skyline-related-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s ease;
}

.skyline-related-item:first-child {
  padding-top: 0;
}

.skyline-related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.skyline-related-item:hover {
  padding-left: 4px;
}

.related-item-thumb {
  width: 68px;
  height: 68px;
  min-width: 68px;
  border-radius: 8px;
  overflow: hidden;
}

.related-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.skyline-related-item:hover .related-item-thumb img {
  transform: scale(1.08);
}

.related-item-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-family: var(--skyline-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}

.related-item-info {
  flex: 1;
  min-width: 0;
}

.related-item-title {
  font-family: var(--skyline-font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 0.3rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.skyline-related-item:hover .related-item-title {
  color: rgba(255,255,255,0.8);
}

.related-item-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.related-item-cat {
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.related-item-cat {
  color: #fff !important;
}

.related-item-sep {
  color: rgba(255,255,255,0.6);
}

.related-item-date {
  color: rgba(255,255,255,0.7);
}

/* Featured Posts Slider Widget */
.blog-sidebar .widget.skyline-featured-posts-widget {
  background: transparent;
  padding: 0;
  clip-path: none;
  -webkit-clip-path: none;
  position: relative;
}

.blog-sidebar .skyline-featured-posts-widget .widget-title {
  position: absolute;
  top: 24px;
  left: 0;
  z-index: 10;
  background-color: var(--skyline-accent);
  color: #fff;
  padding: 8px 22px 8px 14px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-bottom: none;
  clip-path: polygon(0% 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 0% 100%);
}

.featured-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  clip-path: polygon(14px 0%, calc(100% - 14px) 0%, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0% calc(100% - 14px), 0% 14px);
}

.featured-slider-track {
  position: relative;
  width: 100%;
}

.featured-slide {
  display: none;
  width: 100%;
}

.featured-slide.active {
  display: block;
  animation: featuredFadeIn 0.5s ease;
}

@keyframes featuredFadeIn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.featured-slide-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}

.featured-slide-image {
  width: 100%;
  padding-bottom: 80%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.featured-slide-link:hover .featured-slide-image {
  transform: scale(1.04);
}

.featured-slide-title {
  font-family: var(--skyline-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-slide-title a {
  color: #fff;
  text-decoration: none;
}

.featured-slide-title a:hover {
  opacity: 0.85;
}

.featured-slider-footer {
  background-color: var(--skyline-accent);
  padding: 1.25rem 1.5rem 1rem;
}

.featured-slider-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.featured-slide-meta {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.featured-slider-dots {
  display: flex;
  gap: 0.5rem;
}

.featured-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.featured-dot.active {
  background-color: #fff;
}

.featured-dot:hover {
  background-color: rgba(255,255,255,0.8);
}

/* ==========================================================================
   9. NEWSLETTER SECTION
   ========================================================================== */

.footer-newsletter {
  background-color: var(--skyline-accent);
  padding: 4.5rem 0;
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.footer-newsletter::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.06);
  pointer-events: none;
}

.footer-newsletter::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -50px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.04);
  pointer-events: none;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.newsletter-text h3 {
  font-family: var(--skyline-font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.newsletter-text p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-shrink: 0;
}

.newsletter-form form,
.newsletter-form .newsletter-signup {
  display: flex;
  gap: 0;
  width: auto;
  background-color: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}

.newsletter-form input {
  width: 260px;
  padding: 0.9rem 1.2rem;
  border: none;
  border-radius: 0;
  font-size: 0.95rem;
  background-color: transparent;
  color: #fff;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.6);
}

.newsletter-form button {
  padding: 0.9rem 2rem;
  background-color: #fff;
  color: var(--skyline-accent);
  border: none;
  border-radius: 0;
  clip-path: polygon(6px 0%, calc(100% - 6px) 0%, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0% calc(100% - 6px), 0% 6px);
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background-color: var(--skyline-heading);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.newsletter-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.newsletter-success {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  padding: 12px 0;
}
.newsletter-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin: 8px 0 0;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */

/* --- Footer Main (Ontario-inspired) --- */
.footer-main {
  background-color: #000000;
  color: #FFFFFF;
  padding: 0;
}

.footer-separator {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  margin-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 0.9fr;
  gap: 3rem;
  padding: 4.5rem 0 3rem;
}

/* Footer uses 4 columns — each is a widget area with a fallback */

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.9rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--skyline-transition);
  text-decoration: none;
  display: inline-block;
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* Footer widget column styling */
.footer-widget-col .widget {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
  box-shadow: none;
  border: none;
}

.footer-widget-col .widget:last-child {
  margin-bottom: 0;
}

.footer-widget-col .widget-title {
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  padding-bottom: 0;
  border-bottom: none;
}

.footer-widget-col .widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widget-col .widget li {
  margin: 0;
  padding: 0;
}

.footer-widget-col .widget li + li {
  margin-top: 0.9rem;
}

.footer-widget-col .widget a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--skyline-transition);
  text-decoration: none;
}

.footer-widget-col .widget a:hover {
  color: #FFFFFF;
}

.footer-widget-col .widget p,
.footer-widget-col .textwidget {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Footer menu (when assigned to footer location) */
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li + li {
  margin-top: 0.9rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--skyline-transition);
  text-decoration: none;
  display: inline-block;
}

.footer-menu a:hover {
  color: #FFFFFF;
}

/* --- Footer Logo --- */
.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo .site-icon-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-site-title {
  font-family: var(--skyline-heading-font);
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* --- Footer Columns --- */
.footer-title {
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 380px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.9rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--skyline-transition);
  text-decoration: none;
  display: inline-block;
}

.footer-col a:hover {
  color: #FFFFFF;
}

/* --- Footer Contact --- */
.footer-contact-info .contact-item {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.footer-contact-info .contact-item a {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.footer-contact-info .contact-item a:hover {
  color: #FFFFFF;
}

/* --- Footer Bottom / Copyright --- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem 0;
  margin-top: 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* --- Footer Social Icons (Ontario style — no background) --- */
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.5);
  background-color: transparent;
  border-radius: 0;
  transition: color var(--skyline-transition);
}

.footer-social a:first-child {
  margin-left: -8px;
}

.footer-social a:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   11. SINGLE POST PAGE — Ontario-inspired Layout 1
   Split hero (title left + image right), sticky social share, sidebar.
   ========================================================================== */

/* --- Hero --- */
.single-hero {
  padding: 2.5rem 0 3.5rem;
}

.single-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3.5rem;
  align-items: center;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--skyline-text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--skyline-text-secondary);
  transition: color var(--skyline-transition);
}
.breadcrumb a:hover { color: var(--skyline-accent); }
.breadcrumb-sep { margin: 0 0.5rem; }
.breadcrumb-current {
  color: var(--skyline-text-muted);
  max-width: 220px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* Title — large and bold like Ontario */
.single-title {
  font-family: var(--skyline-font-heading);
  font-size: 3.2rem;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: var(--skyline-heading);
  letter-spacing: -0.5px;
}

/* Meta */
.single-meta {
  font-size: 0.9rem;
  color: var(--skyline-text-secondary);
  margin-bottom: 1.5rem;
}
.single-author { font-weight: 600; color: var(--skyline-heading); }
.single-meta-sep { margin: 0 0.3rem; }

/* Categories under title — minimal border style like Ontario */
.single-categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.single-categories .category-badge {
  background-color: transparent;
  color: var(--skyline-text-secondary);
  border: 1px solid var(--skyline-border);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}
.single-categories .category-badge:hover {
  border-color: var(--skyline-accent);
  color: var(--skyline-accent);
  background-color: transparent;
}

/* Hero image — beveled corners, bigger */
.single-hero-image {
  -webkit-clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  overflow: hidden;
}
.single-hero-image .hero-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* --- Body: 3 columns (share | content | sidebar) --- */
.single-body {
  padding: 3rem 0;
}

.single-body-grid {
  display: grid;
  grid-template-columns: 60px 1fr 440px;
  gap: 2rem;
  align-items: start;
}

/* --- Sticky Social Share (left gutter) --- */
.single-share {
  align-self: stretch;
}
.single-share-sticky {
  position: sticky;
  top: calc(var(--skyline-header-height) + 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Reading time badge — glass fill on scroll */
.reading-time-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--skyline-bg-alt);
  border: 1.5px solid var(--skyline-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  gap: 1px;
  position: relative;
  overflow: hidden;
}
.rt-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--skyline-accent);
  transition: height 0.2s ease;
  pointer-events: none;
  z-index: 0;
}
.rt-number,
.rt-label {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.rt-number {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--skyline-heading);
  white-space: nowrap;
}
.reading-time-badge.rt-filled .rt-number {
  color: #fff;
}
.rt-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--skyline-text-muted);
  line-height: 1;
  text-align: center;
}
.reading-time-badge.rt-filled .rt-label {
  color: rgba(255, 255, 255, 0.85);
}

/* Share icons */
.share-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--skyline-heading);
  transition: all var(--skyline-transition);
}
.share-icon:hover {
  color: var(--skyline-accent);
}
.share-icon svg {
  width: 20px;
  height: 20px;
}

/* --- Main Content Column --- */
.single-content {
  min-width: 0;
}

.entry-content {
  margin-bottom: 3rem;
  font-size: 1.125rem;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--skyline-font-heading);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.6rem; }
.entry-content p {
  font-size: 1.125rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: var(--skyline-text);
}
.entry-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  -webkit-clip-path: polygon(
    10px 0%, calc(100% - 10px) 0%,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0% calc(100% - 10px), 0% 10px
  );
  clip-path: polygon(
    10px 0%, calc(100% - 10px) 0%,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0% calc(100% - 10px), 0% 10px
  );
}
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.entry-content li {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.85;
}
.entry-content li:last-child {
  margin-bottom: 0;
}

/* Blockquote — Skyline signature style with beveled corners + accent bar */
.entry-content blockquote {
  background-color: #FEF3EB;
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  margin: 2.5rem 0;
  border: none;
  border-radius: 0;
  position: relative;
  -webkit-clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}
.entry-content blockquote::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  width: 4px;
  height: calc(100% - 28px);
  background: var(--skyline-accent);
  border-radius: 0 2px 2px 0;
}
.entry-content blockquote::after {
  content: '\201C';
  position: absolute;
  top: 1.2rem;
  left: 1.8rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--skyline-accent);
  opacity: 0.6;
  font-family: Georgia, serif;
}
.entry-content blockquote p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--skyline-heading);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.entry-content blockquote cite {
  display: block !important;
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  font-size: 0.85rem;
  font-style: normal !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--skyline-heading);
}
.entry-content blockquote cite::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--skyline-accent);
}

/* --- Single Footer (author date + tags) --- */
.single-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--skyline-border);
  border-bottom: 1px solid var(--skyline-border);
  margin-bottom: 2rem;
}
.single-footer-meta {
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--skyline-text-secondary);
}
.single-footer-author { font-weight: 600; color: var(--skyline-heading); }
.single-footer-sep { margin: 0 0.3rem; }
.single-footer-tags {
  display: flex;
  gap: 0.5rem;
}
.tag-link {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.75rem;
  background-color: var(--skyline-bg-alt);
  color: var(--skyline-text-secondary);
  border-radius: 4px;
  transition: all var(--skyline-transition);
}
.tag-link:hover {
  background-color: var(--skyline-accent);
  color: #fff;
}

/* --- Previous Article Nav --- */
.single-prev-nav {
  margin-bottom: 2.5rem;
}
.single-prev-nav .nav-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--skyline-text-muted);
  margin-bottom: 0.4rem;
}
.single-prev-nav .nav-title {
  font-family: var(--skyline-font-heading);
  font-size: 1.15rem;
  color: var(--skyline-heading);
  transition: color var(--skyline-transition);
}
.single-prev-nav .nav-title:hover {
  color: var(--skyline-accent);
}

/* --- Author Box --- */
.author-box {
  background-color: var(--skyline-bg-alt);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  -webkit-clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}
.author-box-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.author-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.author-avatar img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0;
}
.author-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--skyline-accent);
  margin-bottom: 0.15rem;
}
.author-info .author-name {
  font-family: var(--skyline-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.author-info .author-name a {
  color: var(--skyline-heading);
}
.author-bio {
  color: var(--skyline-text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 0.6rem;
}
.author-social .skyline-social-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.author-social .skyline-social-links .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.06);
  color: var(--skyline-heading);
  transition: all var(--skyline-transition);
}
.author-social .skyline-social-links .social-link svg {
  width: 14px;
  height: 14px;
}
.author-social .skyline-social-links .social-link:hover {
  background-color: var(--skyline-accent);
  color: #fff;
}

/* --- Comments (inherit WP defaults, light restyle) --- */
.comments-area {
  padding-top: 2rem;
}
.comments-title {
  font-family: var(--skyline-font-heading);
  font-size: 1.4rem;
  margin-bottom: 2rem;
}
.comment-list {
  list-style: none;
  padding: 0;
}
.comment-body {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--skyline-border);
}
.comment-author img {
  border-radius: 50%;
  margin-right: 0.75rem;
  vertical-align: middle;
}
.comment-author .fn {
  font-weight: 600;
  color: var(--skyline-accent);
}
.comment-metadata {
  font-size: 0.8rem;
  color: var(--skyline-text-muted);
  margin-bottom: 0.75rem;
}
.comment-content p {
  line-height: 1.7;
  color: var(--skyline-text);
}
.reply a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--skyline-accent);
}

/* Comment form */
/* Comment form — accent box style */
.comment-respond {
  margin-top: 2.5rem;
  background-color: var(--skyline-accent);
  padding: 2rem 2.25rem;
  -webkit-clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}
.comment-respond .comment-reply-title {
  font-family: var(--skyline-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
  color: #fff;
}
.comment-respond .comment-notes {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}
.comment-form p {
  margin-bottom: 0.6rem;
}
.comment-form label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  margin-bottom: 0.3rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: none;
  background: #fff;
  border-radius: 0;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--skyline-text);
  transition: background var(--skyline-transition);
  -webkit-clip-path: polygon(
    6px 0%, calc(100% - 6px) 0%,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0% calc(100% - 6px), 0% 6px
  );
  clip-path: polygon(
    6px 0%, calc(100% - 6px) 0%,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0% calc(100% - 6px), 0% 6px
  );
}
.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: var(--skyline-text-muted);
}
.comment-form textarea {
  min-height: 100px;
  max-height: 180px;
  resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}
/* Place name, email, website fields in a row */
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
  float: left;
  width: calc(33.333% - 0.45rem);
  margin-right: 0.67rem;
}
.comment-form .comment-form-url {
  margin-right: 0;
}
.comment-form .comment-form-cookies-consent {
  clear: both;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  padding-top: 0.5rem;
}
.comment-form .comment-form-cookies-consent label {
  display: inline;
  text-transform: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
}
.comment-form .form-submit {
  margin-top: 0.75rem;
}
.comment-form .form-submit .submit {
  background-color: #fff;
  color: var(--skyline-accent);
  border: none;
  padding: 0.7rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--skyline-transition);
  -webkit-clip-path: polygon(
    8px 0%, calc(100% - 8px) 0%,
    100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%,
    0% calc(100% - 8px), 0% 8px
  );
  clip-path: polygon(
    8px 0%, calc(100% - 8px) 0%,
    100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%,
    0% calc(100% - 8px), 0% 8px
  );
}
.comment-form .form-submit .submit:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* --- Single Sidebar --- */
.single-sidebar {
  position: sticky;
  top: calc(var(--skyline-header-height) + 2rem);
}

/* ==========================================================================
   11b. SINGLE POST LAYOUT VARIANTS
   ========================================================================== */

/* --- Centered modifiers --- */
.breadcrumb--centered { text-align: center; }
.single-meta--centered { text-align: center; }
.single-categories--centered { justify-content: center; }

/* --- Light modifiers (for overlay) --- */
.breadcrumb--light,
.breadcrumb--light a,
.breadcrumb--light .breadcrumb-current { color: rgba(255, 255, 255, 0.8); }
.breadcrumb--light a:hover { color: #fff; }

.single-meta--light,
.single-meta--light .single-author,
.single-meta--light .single-meta-sep,
.single-meta--light .single-date,
.single-meta--light .single-comments-count { color: rgba(255, 255, 255, 0.85); }
.single-meta--light .single-author { color: #fff; }

.single-categories--light .category-badge {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.single-categories--light .category-badge:hover {
  background-color: var(--skyline-accent);
  border-color: var(--skyline-accent);
  color: #fff;
}

/* ─── LAYOUT 2: Centered ─── */
.single-hero--centered {
  padding: 2.5rem 0 2rem;
}
.single-hero-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.single-hero-center .single-title {
  font-size: 2.8rem;
  margin: 0.8rem 0 1.2rem;
}
.single-hero-center .single-categories {
  margin-bottom: 1rem;
}
.single-hero-image--full {
  margin-top: 2rem;
  -webkit-clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
  overflow: hidden;
}
.single-hero-image--full .hero-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 21/9;
  object-fit: cover;
}

/* No-sidebar body grid */
.single-body-grid--no-sidebar {
  grid-template-columns: 60px 1fr;
}

/* Left sidebar body grid — sidebar | content | share */
.single-body-grid--sidebar-left {
  grid-template-columns: 440px 1fr 60px;
}
.single-body-grid--sidebar-left .single-sidebar {
  order: -2;
}
.single-body-grid--sidebar-left .single-content {
  order: -1;
}
.single-body-grid--sidebar-left .single-share {
  order: 0;
}

/* When left sidebar: remove container left padding so sidebar aligns with page edge */
.sidebar-left .single-body > .container {
  padding-left: 0;
}

/* ─── LAYOUT 3: Hero Overlay ─── */
.single-layout-3 {
  padding-top: 0 !important;
}
.single-hero--overlay {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

.single-hero--overlay {
  margin-top: calc(-1 * (var(--skyline-header-height) + 32px));
  padding-top: calc(var(--skyline-header-height) + 32px);
}
.single-overlay-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.single-overlay-bg .overlay-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}
.single-overlay-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 6rem 0 4rem;
}
.single-overlay-content .single-title {
  color: #fff;
  font-size: 3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin: 0.8rem 0 1.2rem;
}

/* ─── LAYOUT 4: Boxed Overlap ─── */
.single-layout-4 {
  padding-top: 0 !important;
}
.single-hero--boxed {
  padding: 0;
  position: relative;
  margin-top: calc(-1 * (var(--skyline-header-height) + 32px));
}
.single-boxed-banner {
  width: 100%;
  height: 520px;
  overflow: hidden;
  position: relative;
}
.single-boxed-banner .boxed-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-boxed-card {
  background: var(--skyline-card-bg, #fff);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  margin-top: -100px;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
.single-boxed-card .single-title {
  font-size: 2.6rem;
  margin: 0.8rem 0 1rem;
  line-height: 1.25;
}
.single-boxed-card .single-categories {
  margin-bottom: 0.5rem;
}
.single-boxed-card .single-post-meta {
  justify-content: center;
}

/* ─── LAYOUT 5: Image First ─── */
.single-layout-5 {
  padding-top: 0 !important;
}
.single-hero--imgfirst {
  padding: 0;
  max-width: 100%;
  overflow: hidden;
}

.single-hero--imgfirst {
  margin-top: calc(-1 * (var(--skyline-header-height) + 32px));
}
.single-imgfirst-image {
  width: 100%;
  max-width: 100%;
  max-height: 65vh;
  overflow: hidden;
}
.single-imgfirst-image .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 65vh;
}
.single-imgfirst-content {
  max-width: 820px;
  padding: 2.5rem 0 1rem;
}
.single-imgfirst-content .single-title {
  font-size: 2.8rem;
  margin: 0.8rem 0 1.2rem;
}
.single-imgfirst-content .single-categories {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   12. RELATED POSTS
   ========================================================================== */

.related-posts {
  padding: 4rem 0;
  border-top: 1px solid var(--skyline-border);
}

.related-posts .section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-family: var(--skyline-font-heading);
  font-size: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ==========================================================================
   13. SEARCH OVERLAY
   ========================================================================== */

/* --- Search Overlay --- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.search-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.search-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 10;
}
.search-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.search-overlay-inner {
  width: 100%;
  max-width: 680px;
  padding: 0 2rem;
  text-align: center;
}

.search-overlay-label {
  font-family: var(--skyline-font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.search-overlay .search-form {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 680px;
}
.search-overlay .search-field {
  width: 100%;
  padding: 1.25rem 1.5rem;
  padding-right: 3.5rem;
  font-size: 1.5rem;
  font-family: var(--skyline-font-primary);
  font-weight: 400;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}
.search-overlay .search-field::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.search-overlay .search-field:focus {
  border-bottom-color: var(--skyline-accent);
}
.search-overlay .search-submit {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
}
.search-overlay .search-submit:hover {
  color: var(--skyline-accent);
}

.search-overlay-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 1.25rem;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   14. ARCHIVE & SEARCH PAGES
   ========================================================================== */

.page-title {
  text-align: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--skyline-border);
  margin-bottom: 3rem;
}

.page-title h1 {
  font-family: var(--skyline-font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-description {
  color: var(--skyline-text-secondary);
  text-align: center;
  font-size: 1.1rem;
}

/* --- Category Archive Header --- */
.category-archive-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--skyline-border);
  margin-bottom: 2.5rem;
}

.category-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--skyline-text-light);
  margin-bottom: 1.75rem;
}
.category-breadcrumb a {
  color: var(--skyline-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}
.category-breadcrumb a:hover {
  color: var(--skyline-accent);
}
.category-breadcrumb .breadcrumb-sep {
  display: flex;
  align-items: center;
  opacity: 0.5;
}
.category-breadcrumb .breadcrumb-current {
  color: var(--skyline-heading);
  font-weight: 500;
}

.category-header-content {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
}

.category-header-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 0;
  overflow: hidden;
  background: var(--skyline-bg-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  clip-path: polygon(
    10px 0%, calc(100% - 10px) 0%,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0% calc(100% - 10px), 0% 10px
  );
}
.category-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-header-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--cat-accent) 10%, transparent);
  clip-path: polygon(
    10px 0%, calc(100% - 10px) 0%,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0% calc(100% - 10px), 0% 10px
  );
}
.category-header-icon svg {
  width: 36px;
  height: 36px;
  color: var(--cat-accent);
}

.category-header-text {
  flex: 1;
}

.category-archive-title {
  font-family: var(--skyline-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--skyline-heading);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.category-archive-description {
  color: var(--skyline-text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
  max-width: 600px;
}
.category-archive-description p {
  margin: 0;
}

.category-post-count {
  font-size: 0.82rem;
  color: var(--skyline-text-light);
  letter-spacing: 0.5px;
}
.category-post-count strong {
  color: var(--skyline-heading);
  font-weight: 600;
}

.category-archive-posts {
  padding-top: 0.5rem;
}

/* --- Tag Archive Header --- */
.tag-archive-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--skyline-border);
  margin-bottom: 2.5rem;
}

.tag-header-content {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
}

.tag-header-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--skyline-accent) 10%, transparent);
  clip-path: polygon(
    10px 0%, calc(100% - 10px) 0%,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0% calc(100% - 10px), 0% 10px
  );
}
.tag-header-icon svg {
  width: 32px;
  height: 32px;
  color: var(--skyline-accent);
}

.tag-header-text {
  flex: 1;
}

.tag-archive-title {
  font-family: var(--skyline-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--skyline-heading);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.tag-archive-description {
  color: var(--skyline-text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
  max-width: 600px;
}
.tag-archive-description p {
  margin: 0;
}

.tag-archive-posts {
  padding-top: 0.5rem;
}

/* --- Author Archive Header --- */
.author-archive-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--skyline-border);
  margin-bottom: 2.5rem;
}

.author-header-content {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
}

.author-header-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  clip-path: polygon(
    10px 0%, calc(100% - 10px) 0%,
    100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%,
    0% calc(100% - 10px), 0% 10px
  );
}
.author-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-header-text {
  flex: 1;
}

.author-archive-title {
  font-family: var(--skyline-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--skyline-heading);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.author-archive-bio {
  color: var(--skyline-text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
  max-width: 600px;
}

.author-social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.author-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--skyline-text-light);
  transition: color 0.2s ease, transform 0.2s ease;
}
.author-social-link:hover {
  color: var(--skyline-accent);
  transform: translateY(-2px);
}

.author-post-count {
  font-size: 0.82rem;
  color: var(--skyline-text-light);
  letter-spacing: 0.5px;
}
.author-post-count strong {
  color: var(--skyline-heading);
  font-weight: 600;
}

.author-archive-posts {
  padding-top: 0.5rem;
}

/* ==========================================================================
   ABOUT PAGE TEMPLATE
   ========================================================================== */

/* --- 1. Hero --- */
.about-hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.about-hero .category-breadcrumb {
  justify-content: center;
  margin-bottom: 1.5rem;
}
.about-hero-title {
  font-family: var(--skyline-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--skyline-heading);
  line-height: 1.2;
  max-width: 750px;
  margin: 0 auto;
}
.about-hero-accent {
  color: var(--skyline-accent);
}

/* --- 2. Bento Grid --- */
.about-bento {
  padding-bottom: 3rem;
}
.about-bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
  min-height: 480px;
}
.bento-main-image {
  grid-row: 1 / 3;
  overflow: hidden;
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}
.bento-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bento-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--skyline-bg-alt);
  color: var(--skyline-text-light);
}
.bento-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}
.bento-stat-1 {
  background-color: var(--skyline-bg-alt);
}
.bento-stat-1[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.bento-stat-1[style*="background-image"] .bento-stat-number,
.bento-stat-1[style*="background-image"] .bento-stat-label {
  color: #fff;
  position: relative;
  z-index: 1;
}
.bento-stat-2 {
  background-color: var(--skyline-accent);
}
.bento-stat-2 .bento-stat-number,
.bento-stat-2 .bento-stat-label {
  color: #fff;
}
.bento-stat-number {
  font-family: var(--skyline-font-heading);
  font-size: clamp(5.5rem, 14vw, 10rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--skyline-heading);
}
.bento-stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--skyline-text-secondary);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- 3. Story --- */
.about-story {
  padding: 3.5rem 0;
  border-top: 1px solid var(--skyline-border);
  border-bottom: 1px solid var(--skyline-border);
}
.about-story-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-story-heading {
  font-family: var(--skyline-font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--skyline-heading);
  line-height: 1.45;
}
.about-story-body {
  color: var(--skyline-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.about-story-btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.7rem 1.85rem;
  border: none;
  background: transparent;
  color: var(--skyline-heading);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}
.about-story-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--skyline-heading);
  clip-path: polygon(
    8px 0%, calc(100% - 8px) 0%,
    100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%,
    0% calc(100% - 8px), 0% 8px
  );
  z-index: -1;
  opacity: 0.12;
  transition: opacity 0.2s ease;
}
.about-story-btn:hover::before {
  opacity: 1;
}
.about-story-btn:hover {
  color: var(--skyline-bg);
}

/* --- 4. Services --- */
.about-services {
  padding: 3.5rem 0;
}
.about-services-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.about-services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.svc-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: var(--skyline-bg-alt);
}
.svc-image {
  overflow: hidden;
  min-height: 280px;
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}
.svc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-card {
  padding: 2rem;
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}
.svc-card-accent {
  background: var(--skyline-accent);
  color: #fff;
}
.svc-card-accent .svc-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}
.svc-card-accent .svc-title {
  color: #fff;
}
.svc-card-accent .svc-list li {
  color: rgba(255, 255, 255, 0.9);
}
.svc-card-light {
  background: var(--skyline-bg-alt);
}
.svc-card-light .svc-icon svg {
  width: 32px;
  height: 32px;
  color: var(--skyline-accent);
}
.svc-icon {
  margin-bottom: 1.25rem;
}
.svc-title {
  font-family: var(--skyline-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--skyline-heading);
  margin-bottom: 1rem;
}
.svc-list {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.svc-list li {
  font-size: 0.9rem;
  color: var(--skyline-text-secondary);
  line-height: 1.5;
}

/* --- 5. Team --- */
.about-team {
  padding: 3.5rem 0;
  border-top: 1px solid var(--skyline-border);
}
.about-section-title {
  font-family: var(--skyline-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--skyline-heading);
  margin-bottom: 0.5rem;
}
.about-section-desc {
  color: var(--skyline-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-member {
  text-decoration: none;
  color: inherit;
  display: block;
}
.team-member-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--skyline-bg-alt);
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}
.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.team-member:hover .team-member-image img {
  transform: scale(1.05);
}
.team-member-name {
  font-family: var(--skyline-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--skyline-heading);
  margin-bottom: 0.15rem;
}
.team-member-role {
  font-size: 0.82rem;
  color: var(--skyline-text-light);
}

/* --- 6. CTA Banner --- */
.about-cta {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--skyline-bg-alt);
  padding: 5rem 0;
  text-align: center;
  margin-top: 2rem;
}
.about-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.about-cta-inner {
  position: relative;
  z-index: 1;
}
.about-cta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}
.cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}
.about-cta-title {
  font-family: var(--skyline-font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}
.about-cta-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: var(--skyline-accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  clip-path: polygon(
    8px 0%, calc(100% - 8px) 0%,
    100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%,
    0% calc(100% - 8px), 0% 8px
  );
}
.about-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: #fff;
}

/* ==========================================================================
   14b. CONTACT PAGE
   ========================================================================== */

/* --- 1. Hero --- */
.contact-hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.contact-hero-title {
  font-family: var(--skyline-font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--skyline-heading);
  margin-bottom: 2rem;
}
.contact-hero-image {
  width: 100%;
  overflow: hidden;
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}
.contact-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* --- 2. Content grid --- */
.contact-content {
  padding: 3.5rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}

/* Contact info blocks */
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--skyline-text-muted);
}
.contact-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--skyline-heading);
  text-decoration: none;
  line-height: 1.5;
}
a.contact-info-value:hover {
  color: var(--skyline-accent);
}

/* Social icons */
.contact-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.contact-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--skyline-heading);
  transition: color 0.2s ease;
}
.contact-socials a:hover {
  color: var(--skyline-accent);
}

/* Form wrapper */
.contact-form-wrapper {
  background: var(--skyline-bg-alt);
  padding: 2.5rem;
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%,
    100% 14px, 100% calc(100% - 14px),
    calc(100% - 14px) 100%, 14px 100%,
    0% calc(100% - 14px), 0% 14px
  );
}
.contact-form-title {
  font-family: var(--skyline-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--skyline-heading);
  margin-bottom: 1.5rem;
}

/* Built-in form styles */
.skyline-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.skyline-contact-form .form-group {
  margin-bottom: 1rem;
}
.skyline-contact-form input,
.skyline-contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--skyline-border);
  background: var(--skyline-bg);
  color: var(--skyline-text);
  font-family: var(--skyline-font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
  clip-path: polygon(
    6px 0%, calc(100% - 6px) 0%,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0% calc(100% - 6px), 0% 6px
  );
}
.skyline-contact-form input:focus,
.skyline-contact-form textarea:focus {
  outline: none;
  border-color: var(--skyline-accent);
}
.skyline-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-submit-btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  background: var(--skyline-accent);
  color: #fff;
  border: none;
  font-family: var(--skyline-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  clip-path: polygon(
    8px 0%, calc(100% - 8px) 0%,
    100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%,
    0% calc(100% - 8px), 0% 8px
  );
}
.contact-submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-submit-btn .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-submit-btn .spinner-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Feedback messages */
.contact-form-feedback {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-form-feedback.feedback-success {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.contact-form-feedback.feedback-error {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* --- 3. Latest Posts --- */
.contact-latest-posts {
  padding: 3.5rem 0;
  border-top: 1px solid var(--skyline-border);
}
.contact-section-title {
  font-family: var(--skyline-font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--skyline-heading);
  margin-bottom: 2rem;
}
.contact-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ==========================================================================
   15. 404 PAGE
   ========================================================================== */

.error-404 {
  text-align: center;
  padding: 6rem 0;
}

.error-404 .page-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-404 h1 {
  font-family: var(--skyline-font-heading);
  font-size: 4rem;
  color: var(--skyline-accent);
  margin-bottom: 1rem;
}

.error-404 p {
  font-size: 1.2rem;
  color: var(--skyline-text-secondary);
  margin-bottom: 2rem;
}

/* ==========================================================================
   16. COMMENTS
   ========================================================================== */

.comments-area {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--skyline-border);
}

.comments-title {
  font-family: var(--skyline-font-heading);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.comment {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--skyline-bg-alt);
  border-radius: var(--skyline-radius);
  border-left: 4px solid var(--skyline-accent);
}

.comment-author {
  font-weight: 600;
  color: var(--skyline-text);
  margin-bottom: 0.5rem;
}

.comment-date {
  font-size: 0.85rem;
  color: var(--skyline-text-muted);
  margin-bottom: 1rem;
}

.comment-text {
  color: var(--skyline-text-secondary);
  line-height: 1.6;
}

.reply-link {
  font-size: 0.9rem;
  margin-top: 1rem;
  display: inline-block;
  color: var(--skyline-accent);
}

/* ==========================================================================
   17. PAGINATION
   ========================================================================== */

.posts-pagination {
  margin: 2.5rem auto 1rem;
  display: flex;
  justify-content: center;
}

/* With sidebar: constrain pagination to content column width */
.posts-layout.with-sidebar ~ .posts-pagination {
  max-width: calc(100% - 440px - 2.5rem);
  margin-left: 0;
  margin-right: auto;
}

/* With sidebar LEFT: push pagination to the right */
.posts-layout.with-sidebar.blog-sidebar-left ~ .posts-pagination {
  margin-left: auto;
  margin-right: 0;
}

/* No sidebar (grid, mixed): full-width centered pagination */
.posts-layout.no-sidebar ~ .posts-pagination {
  max-width: 100%;
}

.posts-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  width: 100%;
}

.posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  font-family: var(--skyline-font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--skyline-heading);
  background-color: var(--skyline-bg-alt);
  text-decoration: none;
  clip-path: polygon(5px 0%, calc(100% - 5px) 0%, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0% calc(100% - 5px), 0% 5px);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
  transition: all var(--skyline-transition);
}

.posts-pagination .page-numbers:hover {
  background-color: var(--skyline-accent);
  color: #fff;
}

.posts-pagination .page-numbers.current {
  background-color: var(--skyline-accent);
  color: #fff;
  pointer-events: none;
}

.posts-pagination .page-numbers.prev,
.posts-pagination .page-numbers.next {
  background-color: transparent;
  border: 1.5px solid var(--skyline-border);
  clip-path: none;
  clip-path: polygon(5px 0%, calc(100% - 5px) 0%, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0% calc(100% - 5px), 0% 5px);
}

.posts-pagination .page-numbers.prev:hover,
.posts-pagination .page-numbers.next:hover {
  background-color: var(--skyline-accent);
  color: #fff;
  border-color: var(--skyline-accent);
}

.posts-pagination .page-numbers.prev svg,
.posts-pagination .page-numbers.next svg {
  width: 16px;
  height: 16px;
}

.posts-pagination .page-numbers.dots {
  background: transparent;
  clip-path: none;
  min-width: 28px;
  pointer-events: none;
  color: var(--skyline-text-light);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* ==========================================================================
   18. BACK TO TOP BUTTON
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background-color: var(--skyline-accent);
  color: white;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--skyline-transition);
  z-index: 99;
  clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px), 0% 8px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--skyline-accent-dark);
  transform: translateY(-3px);
}

.back-to-top svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

/* ==========================================================================
   17b. READ NEXT SECTION
   ========================================================================== */

.read-next-section {
  width: 100%;
  background-color: transparent;
  padding: 60px 0;
  margin-top: 0;
}

.read-next-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.read-next-header::before,
.read-next-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--skyline-border, #ddd);
}

.read-next-title {
  color: var(--skyline-heading, #1a1a2e);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  white-space: nowrap;
}

.read-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.read-next-card {
  background: transparent;
  transition: transform var(--skyline-transition);
}

.read-next-card:hover {
  transform: translateY(-5px);
}

.read-next-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.read-next-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0% calc(100% - 10px), 0% 10px);
}

.read-next-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--skyline-transition);
}

.read-next-card:hover .read-next-image img {
  transform: scale(1.05);
}

.read-next-category {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: var(--skyline-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  clip-path: polygon(5px 0%, calc(100% - 5px) 0%, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 0% calc(100% - 5px), 0% 5px);
}

.read-next-content {
  padding: 16px 4px;
}

.read-next-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--skyline-heading, #1a1a2e);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-next-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--skyline-text-secondary, #888);
}

.read-next-author {
  font-weight: 600;
}

/* ==========================================================================
   18. RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet (768px and below) */
@media (max-width: 991px) {
  .read-next-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .read-next-grid .read-next-card:last-child {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --skyline-header-height: 64px;
  }

  .site-header {
    padding: 10px 16px 0;
  }

  .header-shadow-svg {
    display: none;
  }

  .header-inner {
    width: 100%;
    max-width: 100%;
    clip-path: none;
    -webkit-clip-path: none;
    border-radius: 12px;
  }

  .site-header {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
  }

  .primary-menu {
    display: none;
  }

  .dark-mode-tab {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .search-toggle,
  .header-cta {
    display: none !important;
  }

  .header-inner .container {
    justify-content: space-between;
  }

  .main-navigation {
    flex-grow: 0;
  }

  body {
    padding-top: calc(var(--skyline-header-height) + 20px);
  }

  /* Push hero content below the fixed header on mobile */
  .blog-hero--compact {
    margin-top: calc(-1 * (var(--skyline-header-height) + 20px));
    padding-top: calc(var(--skyline-header-height) + 20px + 70px) !important;
  }

  .blog-hero--fullscreen {
    margin-top: calc(-1 * (var(--skyline-header-height) + 20px));
    padding-top: calc(var(--skyline-header-height) + 20px + 60px) !important;
  }

  .posts-layout,
  .posts-layout.with-sidebar {
    grid-template-columns: 1fr;
  }

  .posts-layout.with-sidebar .posts-grid,
  .posts-layout.posts-classic.with-sidebar .posts-grid {
    grid-template-columns: 1fr;
  }

  .posts-layout.no-sidebar .posts-grid,
  .posts-layout.posts-grid.no-sidebar .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-sidebar {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--skyline-border);
  }

  /* Category archive header */
  /* About page tablet */
  .about-bento-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 360px;
  }
  .about-story-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-services-images,
  .about-services-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact page tablet */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-hero-image img {
    height: 300px;
  }
  .contact-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-header-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
  }
  .category-header-icon {
    width: 64px;
    height: 64px;
  }
  .category-header-icon svg {
    width: 28px;
    height: 28px;
  }
  .category-archive-title {
    font-size: 1.6rem;
  }

  /* List cards: stack vertically on tablet */
  .post-list-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .post-list-thumbnail {
    flex: none;
    max-width: 100%;
    min-height: 200px;
  }

  .post-list-thumbnail .post-thumbnail-link {
    min-height: 200px;
  }

  /* Mixed layout: 2 col grid on tablet, smaller featured card */
  .posts-layout.posts-mixed .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-card-featured .featured-card-image {
    aspect-ratio: 16 / 9;
  }

  .post-card-featured .featured-card-content {
    padding: 1.25rem;
  }

  .post-card-featured .featured-card-content .post-title {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
  }

  .post-card-featured .featured-card-content .post-excerpt {
    display: none;
  }

  .post-card-featured .featured-card-content .post-meta {
    display: none;
  }

  .post-card-featured .featured-card-content .post-categories {
    margin-bottom: 0.5rem;
  }

  .post-card-featured .featured-card-content .category-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }

  /* Featured layout: 2 col grid on tablet */
  .posts-layout.posts-featured .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Featured hero block: stack on tablet */
  .featured-hero-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .featured-main-image {
    flex: none;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
  }

  .featured-main-content .post-title {
    font-size: 1.35rem;
  }

  .featured-main-content .post-excerpt {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .featured-side-posts {
    gap: 0;
  }

  .featured-side-post {
    padding: 1rem 0;
    gap: 1rem;
  }

  .featured-side-image {
    flex: 0 0 160px;
    width: 160px;
    height: 105px;
  }

  .featured-side-content .post-excerpt {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .blog-sidebar {
    padding-left: 0;
  }

  .posts-pagination,
  .posts-layout.with-sidebar ~ .posts-pagination {
    max-width: 100%;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .newsletter-form {
    width: 100%;
    flex-shrink: 1;
  }

  .newsletter-form form,
  .newsletter-form .newsletter-signup {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
    box-sizing: border-box;
  }

  .newsletter-form button {
    width: 100%;
  }

  .blog-hero {
    padding: 50px 0;
  }

  .category-filter {
    padding: 2rem 0;
  }

  .category-pills {
    gap: 0.6rem;
  }

  .category-pill {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .pill-icon {
    width: 16px;
    height: 16px;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .post-header .post-title {
    font-size: 2rem;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .author-box-image {
    margin: 0 auto;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }

  .footer-bottom-inner {
    justify-content: center;
  }

  /* ══════════════════════════════════════════════
     Single Post Layouts — Tablet (768px)
     ══════════════════════════════════════════════ */

  /* ── Layout 1: Split hero → stack vertically ── */
  .single-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .single-hero-content { order: 1; }
  .single-hero-image { order: 2; }
  .single-title { font-size: 2rem; }

  /* ── Body grid: all layouts → single column ── */
  .single-body-grid,
  .single-body-grid--no-sidebar,
  .single-body-grid--sidebar-left {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .single-body-grid--sidebar-left .single-sidebar,
  .single-body-grid--sidebar-left .single-share,
  .single-body-grid--sidebar-left .single-content {
    order: unset;
  }

  /* Remove left-sidebar container padding override on mobile */
  .sidebar-left .single-body > .container {
    padding-left: 2rem;
  }

  /* Share bar → horizontal row */
  .single-share {
    align-self: auto;
  }
  .single-share-sticky {
    position: static;
    flex-direction: row;
    justify-content: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--skyline-border);
    margin-bottom: 2rem;
  }
  .share-icons { flex-direction: row; }
  .reading-time-badge { margin-bottom: 0; margin-right: 1rem; }

  /* Sidebar → full width below content */
  .single-sidebar {
    position: static !important;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--skyline-border);
  }

  /* ── Layout 2: Centered ── */
  .single-hero--centered {
    padding: 2rem 0 1.5rem;
  }
  .single-hero-center {
    max-width: 100%;
  }
  .single-hero-center .single-title {
    font-size: 2rem;
  }
  .single-hero-image--full {
    margin-top: 1.5rem;
  }
  .single-hero-image--full .hero-img {
    aspect-ratio: 16/9;
  }

  /* ── Layout 3: Hero Overlay ── */
  .single-hero--overlay {
    min-height: 55vh;
  }
  .single-hero--overlay {
    margin-top: calc(-1 * (var(--skyline-header-height) + 20px));
    padding-top: calc(var(--skyline-header-height) + 20px);
  }
  .single-overlay-content {
    padding: 4rem 1rem 3rem;
    max-width: 100%;
  }
  .single-overlay-content .single-title {
    font-size: 2rem;
  }
  .single-categories--light .category-badge {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
  }

  /* ── Layout 4: Boxed Overlap ── */
  .single-hero--boxed {
    margin-top: calc(-1 * (var(--skyline-header-height) + 20px));
  }
  .single-boxed-banner {
    height: 400px;
  }
  .single-boxed-card {
    padding: 2rem 2.5rem;
    margin-top: -80px;
  }
  .single-boxed-card .single-title {
    font-size: 2.2rem;
  }

  /* ── Layout 5: Image First ── */
  .single-hero--imgfirst {
    margin-top: calc(-1 * (var(--skyline-header-height) + 20px));
  }
  .single-imgfirst-image {
    max-height: 45vh;
  }
  .single-imgfirst-image .hero-img {
    max-height: 45vh;
  }
  .single-imgfirst-content {
    max-width: 100%;
    padding: 2rem 0 1rem;
  }
  .single-imgfirst-content .single-title {
    font-size: 2rem;
  }

  /* ── Breadcrumb on all layouts ── */
  .breadcrumb {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  .breadcrumb-current {
    max-width: 160px;
  }

  /* ── Post meta on all layouts ── */
  .single-meta {
    font-size: 0.82rem;
  }

  /* ── Categories on all layouts ── */
  .single-categories .category-badge {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Mobile (480px and below) */
@media (max-width: 576px) {
  .read-next-grid {
    grid-template-columns: 1fr;
  }
  .read-next-grid .read-next-card:last-child {
    display: block;
  }
  .read-next-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow {
    padding: 0 1rem;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }

  .site-title {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5vw, 2rem) !important;
  }

  .blog-hero--compact .hero-description,
  .blog-hero--fullscreen .hero-description {
    font-size: 0.85rem;
  }

  .blog-hero--compact .hero-accent,
  .blog-hero--fullscreen .hero-accent {
    font-size: 0.7rem !important;
    letter-spacing: 2px;
  }

  .blog-hero {
    padding: 30px 0;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Category archive header mobile */
  .category-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .category-archive-description {
    max-width: 100%;
  }
  .category-archive-title {
    font-size: 1.4rem;
  }
  .category-archive-header {
    padding: 1.5rem 0 1.25rem;
    margin-bottom: 1.5rem;
  }
  .category-breadcrumb {
    justify-content: center;
    margin-bottom: 1.25rem;
  }

  /* Author archive header mobile */
  .author-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .author-archive-bio {
    max-width: 100%;
  }
  .author-archive-title {
    font-size: 1.4rem;
  }
  .author-archive-header {
    padding: 1.5rem 0 1.25rem;
    margin-bottom: 1.5rem;
  }
  .author-social-links {
    justify-content: center;
  }

  /* About page mobile */
  .about-bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 250px auto auto;
    min-height: auto;
  }
  .bento-main-image {
    grid-row: auto;
  }
  .about-services-images,
  .about-services-cards {
    grid-template-columns: 1fr;
  }
  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .about-cta {
    padding: 3rem 0;
  }

  /* Contact page mobile */
  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .contact-hero-image img {
    height: 200px;
  }
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  .skyline-contact-form .form-row {
    grid-template-columns: 1fr;
  }
  .contact-posts-grid {
    grid-template-columns: 1fr;
  }

  .category-filter {
    padding: 1.5rem 0;
  }

  .category-pills {
    gap: 0.5rem;
  }

  .category-pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.3px;
  }

  .pill-icon {
    width: 14px;
    height: 14px;
  }

  .post-card-content {
    padding: 1rem;
  }

  .posts-layout.no-sidebar .posts-grid,
  .posts-layout.with-sidebar .posts-grid,
  .posts-layout.posts-grid.no-sidebar .posts-grid,
  .posts-layout.posts-mixed .posts-grid,
  .posts-layout.posts-featured .posts-grid {
    grid-template-columns: 1fr;
  }

  /* Mixed: featured card mobile */
  .post-card-featured .featured-card-content .post-title {
    font-size: 1.2rem;
  }

  .post-card-featured .featured-card-content {
    padding: 1rem;
  }

  .post-card-featured {
    border-radius: 12px;
  }

  /* Featured hero block: smaller on mobile */
  .featured-main-image {
    aspect-ratio: 3 / 2;
  }

  .featured-main-content .post-title {
    font-size: 1.2rem;
  }

  .featured-main-content .post-excerpt {
    display: none;
  }

  .featured-side-image {
    flex: 0 0 120px;
    width: 120px;
    height: 78px;
  }

  .featured-side-content .post-title {
    font-size: 0.95rem;
  }

  .featured-side-content .post-excerpt {
    display: none;
  }

  .post-title {
    font-size: 1.15rem;
  }

  .post-meta {
    gap: 1rem;
    font-size: 0.8rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-bottom-inner {
    justify-content: center;
  }

  .post-header .post-title {
    font-size: 1.5rem;
  }

  .post-header-meta {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .author-box {
    padding: 1.5rem;
    gap: 1rem;
  }

  .author-box-image {
    width: 80px;
    height: 80px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }

  .search-form {
    margin: 0 1rem;
  }

  /* ══════════════════════════════════════════════
     Single Post Layouts — Mobile (480px)
     ══════════════════════════════════════════════ */

  /* All titles smaller */
  .single-title {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  /* ── Layout 1: Split hero ── */
  .single-hero {
    padding: 1.5rem 0 2rem;
  }
  .single-hero-grid {
    gap: 1.5rem;
  }
  .single-hero-image {
    clip-path: none;
    -webkit-clip-path: none;
  }

  /* ── Layout 2: Centered ── */
  .single-hero--centered {
    padding: 1.5rem 0 1rem;
  }
  .single-hero-center .single-title {
    font-size: 1.5rem;
  }
  .single-hero-image--full {
    margin-top: 1rem;
    clip-path: none;
    -webkit-clip-path: none;
  }
  .single-hero-image--full .hero-img {
    aspect-ratio: 4/3;
  }

  /* ── Layout 3: Hero Overlay ── */
  .single-hero--overlay {
    min-height: 50vh;
  }
  .single-overlay-content {
    padding: 3rem 0.5rem 2rem;
  }
  .single-overlay-content .single-title {
    font-size: 1.5rem;
  }
  .single-categories--light .category-badge {
    font-size: 0.55rem;
    padding: 0.25rem 0.5rem;
  }

  /* ── Layout 4: Boxed Overlap ── */
  .single-hero--boxed {
    margin-top: calc(-1 * (var(--skyline-header-height) + 16px));
  }
  .single-boxed-banner {
    height: 300px;
  }
  .single-boxed-card {
    padding: 1.5rem 1.25rem;
    margin-top: -60px;
    border-radius: 12px;
  }
  .single-boxed-card .single-title {
    font-size: 1.5rem;
  }

  /* ── Layout 5: Image First ── */
  .single-imgfirst-image,
  .single-imgfirst-image .hero-img {
    max-height: 35vh;
  }
  .single-imgfirst-content {
    padding: 1.5rem 0 0.5rem;
  }
  .single-imgfirst-content .single-title {
    font-size: 1.5rem;
  }

  /* ── Breadcrumb ── */
  .breadcrumb {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }
  .breadcrumb-current {
    max-width: 120px;
  }

  /* ── Meta ── */
  .single-meta {
    font-size: 0.78rem;
    margin-bottom: 1rem;
  }

  /* ── Categories ── */
  .single-categories .category-badge {
    font-size: 0.55rem;
    padding: 0.25rem 0.5rem;
  }

  /* ── Share bar: hidden on mobile ── */
  .single-share {
    display: none !important;
  }
  .share-icon {
    width: 32px;
    height: 32px;
  }
  .share-icon svg {
    width: 17px;
    height: 17px;
  }

  /* ── Sidebar ── */
  .single-sidebar {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  /* ── Content ── */
  .entry-content {
    font-size: 1rem;
  }
  .entry-content p {
    font-size: 1rem;
    line-height: 1.75;
  }
  .entry-content h2 { font-size: 1.4rem; }
  .entry-content h3 { font-size: 1.2rem; }
  .entry-content li {
    font-size: 1rem;
  }
  .entry-content blockquote {
    padding: 2.5rem 1.5rem 1.5rem;
    margin: 1.5rem 0;
  }
  .entry-content blockquote p {
    font-size: 1rem;
  }
  .entry-content img {
    margin: 1.5rem 0;
    clip-path: none;
    -webkit-clip-path: none;
  }

  /* ── Single footer ── */
  .single-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
  }
  .single-footer-meta {
    font-size: 0.72rem;
  }
  .single-footer-tags {
    flex-wrap: wrap;
  }

  /* ── Previous article nav ── */
  .single-prev-nav .nav-title {
    font-size: 1rem;
  }

  /* ── Author box ── */
  .author-box {
    padding: 1.25rem;
    clip-path: none;
    -webkit-clip-path: none;
  }
  .author-box-inner {
    flex-direction: column;
    text-align: center;
  }
  .author-avatar img {
    width: 70px;
    height: 70px;
  }
  .author-name { font-size: 1rem; }
  .author-bio { font-size: 0.85rem; }

  /* ── Read Next ── */
  .read-next-card-title {
    font-size: 1rem;
  }
  .read-next-meta {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   19. DARK MODE COMPATIBILITY
   ========================================================================== */

/* Dark mode variables are defined in dark-mode.css and will override these */
/* The theme uses CSS custom properties to work seamlessly with dark mode */

/* Ensure smooth transitions when dark mode toggles */
body,
.site-header,
.blog-posts,
.post-card,
.widget,
.footer-main,
.footer-newsletter {
  transition: background-color var(--skyline-transition), color var(--skyline-transition), border-color var(--skyline-transition);
}

/* ==========================================================================
   20. PRINT STYLES
   ========================================================================== */

@media print {
  .site-header,
  .header-actions,
  .footer-newsletter,
  .footer-main,
  .back-to-top,
  .search-overlay,
  .mobile-menu,
  nav.main-navigation {
    display: none !important;
  }

  .post-content {
    max-width: 100%;
  }

  .post-card,
  .post-featured-image {
    page-break-inside: avoid;
  }

  body {
    color: #000;
    background: white;
  }

  a {
    color: #000;
  }
}

/* ==========================================================================
   21. ACCESSIBILITY
   ========================================================================== */

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--skyline-accent);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--skyline-accent);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: more) {
  .post-card {
    border-width: 2px;
  }

  .category-badge {
    border: 1px solid var(--skyline-accent);
  }
}

/* ==========================================================================
   22. UTILITY & ANIMATION CLASSES
   ========================================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn var(--skyline-transition) ease-out;
}

.slide-in-left {
  animation: slideInLeft var(--skyline-transition) ease-out;
}

.slide-in-right {
  animation: slideInRight var(--skyline-transition) ease-out;
}

/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */
