/**
* Template Name: ZenBlog
* Template URL: https://bootstrapmade.com/zenblog-bootstrap-blog-template/
* Updated: Aug 08 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Brand: May 2026 — Butler (display) + Jost (body/UI)
--------------------------------------------------------------*/

/* Butler — self-hosted from /assets/fonts. Free Butler set has no italic,
 * so italic falls back to Playfair Display (loaded via Google Fonts). */
@font-face {
  font-family: "Butler";
  src: url("../fonts/Butler_Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Butler";
  src: url("../fonts/Butler_Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Fonts */
:root {
  --font-display: "Butler", "Playfair Display", Georgia, serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Legacy aliases kept so existing selectors don't break */
  --default-font: var(--font-body);
  --heading-font: var(--font-display);
  --nav-font: var(--font-body);
  --script-font: var(--font-display); /* italic via font-style */
}

/* Type scale — May 2026 brand guide, desktop sizes; clamp() scales down on tablet/mobile */
:root {
  --fs-hero: clamp(2.25rem, 4.5vw, 4rem);      /* 36 → 64px */
  --fs-h1: clamp(2rem, 3.5vw, 3rem);            /* 32 → 48px */
  --fs-h2: clamp(1.625rem, 2.6vw, 2.25rem);     /* 26 → 36px */
  --fs-h3: clamp(1.125rem, 1.6vw, 1.375rem);    /* 18 → 22px */
  --fs-h4: 1.0625rem;                           /* 17px */
  --fs-pullquote: clamp(1.25rem, 1.8vw, 1.625rem); /* 20 → 26px */
  --fs-body: 1rem;                              /* 16px */
  --fs-body-sm: 0.875rem;                       /* 14px */
  --fs-caption: 0.75rem;                        /* 12px */
  --fs-eyebrow: 0.6875rem;                      /* 11px */
  --fs-button: 0.6875rem;                       /* 11px */
  --fs-nav: 0.75rem;                            /* 12px */

  --ls-hero: -0.025em;
  --ls-h1: -0.020em;
  --ls-h2: -0.015em;
  --ls-pullquote: -0.010em;
  --ls-body: 0.010em;
  --ls-body-sm: 0.015em;
  --ls-caption: 0.040em;
  --ls-eyebrow: 0.200em;
  --ls-button: 0.160em;
  --ls-nav: 0.120em;

  --lh-display: 1.10;
  --lh-pullquote: 1.55;
  --lh-body: 1.80;
  --lh-tight: 1.00;
}

/* Brand Palette — semantic color tokens
 * Organized as Neutral Core / Warm Accents / Cool Accents.
 * WARNING: --color-wisis-pink is DECORATIVE ONLY. Never use for text or
 * meaningful borders — contrast is insufficient. */
:root {
  /* Neutral Core */
  --color-white: #ffffff;
  --color-cream: #f8f2ee;
  --color-stone: #eeebe6;
  --color-light-gray: #d6d2cc;
  --color-slate-gray: #7a7470;
  --color-near-black: #3d3a37;
  --color-tundora: #4e4e4e;   /* Figma "Tundora" — category chip labels */
  --color-ink: #121416;       /* Figma raw #121416 — long-form article copy */

  /* Warm Accents */
  --color-pearl-pink: #faf0f5;
  --color-dusty-pink: #e8b8cc;
  --color-wisis-pink: #ea539e; /* DECORATIVE ONLY */

  /* Cool Accents */
  --color-sky-blue: #daeaf5;
  --color-link-water: #e9f2f9; /* Figma "Link Water" — bg/cool newsletter card */
  --color-mist-blue: #a8c0d4;
  --color-ocean-blue: #4a7a9b;

  /* Semantic aliases */
  --border-color: var(--color-light-gray);
  --text-secondary: var(--color-slate-gray);
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: var(--color-cream); /* Background color for the entire website, including individual sections */
  --default-color: var(--color-near-black); /* Default color used for the majority of the text content across the entire website */
  --heading-color: var(--color-near-black); /* Color for headings, subheadings and title throughout the website */
  --accent-color: var(--color-mist-blue); /* Muted blue from brand palette — used for decorative accents */
  --accent-dark: var(--color-ocean-blue); /* Darker blue for interactive elements (links, hover states) */
  --surface-color: var(--color-white); /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: var(--color-white); /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */

  /* Legacy palette aliases — kept for backwards compatibility with existing selectors */
  --palette-cream: var(--color-stone);
  --palette-cream-soft: var(--color-cream);
  --palette-cream-tint: rgba(214, 210, 204, 0.5); /* Light Gray @ 50% — dividers/overlays */
  --palette-pink: var(--color-pearl-pink);
  --palette-blush: var(--color-dusty-pink);
  --palette-blue: var(--color-mist-blue);
  --palette-sky: var(--color-sky-blue);
  --palette-white: var(--color-white);
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: var(--color-slate-gray);  /* The default color of the main navmenu links */
  --nav-hover-color: var(--color-ocean-blue); /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: var(--color-white); /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: var(--color-white); /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: var(--color-slate-gray); /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: var(--color-ocean-blue); /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: var(--color-stone); /* alternative section fills */
  --surface-color: var(--color-white);
  --default-color: var(--color-near-black);
}

.cream-background {
  --background-color: var(--color-cream);
  --surface-color: var(--color-white);
  --default-color: var(--color-near-black);
}

.pink-background {
  --background-color: var(--color-pearl-pink);
  --surface-color: var(--color-white);
  --default-color: var(--color-near-black);
}

.blush-background {
  /* Reclassified: Dusty Pink is now a border/divider; section bg uses Pearl Pink */
  --background-color: var(--color-pearl-pink);
  --surface-color: var(--color-white);
  --default-color: var(--color-near-black);
  --border-color: var(--color-dusty-pink);
}

.blue-background {
  /* Reclassified: Mist Blue is now a border/divider; section bg uses Sky Blue */
  --background-color: var(--color-sky-blue);
  --surface-color: var(--color-white);
  --default-color: var(--color-near-black);
  --border-color: var(--color-mist-blue);
}

.sky-background {
  --background-color: var(--color-sky-blue);
  --surface-color: var(--color-white);
  --default-color: var(--color-near-black);
}

.dark-background {
  --background-color: #060606;
  --default-color: var(--color-white);
  --heading-color: var(--color-white);
  --surface-color: #252525;
  --contrast-color: var(--color-white);
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-dark, var(--accent-color));
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-dark, var(--accent-color)), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--font-display);
  font-weight: 300;
}

h1 { font-size: var(--fs-h1); letter-spacing: var(--ls-h1); line-height: var(--lh-display); }
h2 { font-size: var(--fs-h2); letter-spacing: var(--ls-h2); line-height: 1.15; }

h3, h4 {
  font-family: var(--font-body);
  font-weight: 500;
}
h3 { font-size: var(--fs-h3); letter-spacing: 0; line-height: 1.30; }
h4 { font-size: var(--fs-h4); letter-spacing: 0.005em; line-height: 1.40; }

.eyebrow,
.text-label,
.press-strip-eyebrow,
.press-marquee-eyebrow,
.post-share-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  line-height: 1.50;
}

.btn,
.button,
button.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-button);
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  line-height: var(--lh-tight);
}

.navmenu a,
.navmenu a:focus {
  font-family: var(--font-body) !important;
  font-weight: 500;
  font-size: var(--fs-nav);
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  line-height: var(--lh-tight);
}

.pull-quote,
blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-pullquote);
  letter-spacing: var(--ls-pullquote);
  line-height: var(--lh-pullquote);
}

small,
.text-small,
.body-small {
  font-size: var(--fs-body-sm);
  letter-spacing: var(--ls-body-sm);
  line-height: 1.70;
}

.caption,
figcaption {
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-caption);
  line-height: 1.60;
  color: var(--text-secondary, var(--color-slate-gray));
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: var(--color-white);
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: var(--color-white);
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
/*--------------------------------------------------------------
# Global Header
# Ported from ../elevate-etiquette-site (react-app Header.tsx + styles.css)
# so the blog matches the marketing site. Its semantic tokens
# (--color-text-primary, --space-md, …) resolve to the same base tokens this
# file already defines, so only the names changed.
#
# Nav targets are absolute URLs to elevateetiquette.com: the marketing site
# uses same-page anchors (#about), which resolve to nothing from the blog.
# Absolute keeps them working both on the standalone preview and once the blog
# is co-hosted at /blog/.
--------------------------------------------------------------*/
:root {
  --header-height: 85px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background-color: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  backdrop-filter: blur(14px) saturate(1.05);
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

/* main.js already toggles .scrolled on <body> past 100px, so the reference's
 * header-level .scrolled class is keyed off that instead of duplicating it. */
body.scrolled .site-header {
  background-color: rgba(255, 255, 255, 0.94);
  padding: 1rem 0;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--color-near-black) 8%, transparent);
}

/* Named .site-container, not .container — Bootstrap owns that one here. */
.site-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* The hero is designed to sit under the translucent header; every other page
 * needs the fixed header's height back as padding. */
body:not(.index-page) .main {
  padding-top: var(--header-height);
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
}

.site-header .logo-img {
  display: block;
  height: 53px;
  width: auto;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4rem;
  /* Groups the nav with the actions on the right, as on the marketing site.
   * (The visually-hidden <h1> is position:absolute, so it is not a flex item.) */
  margin-left: auto;
}

/* Blog-only: the translate control has no counterpart on the marketing site,
 * so it lives beside the hamburger rather than inside .nav-main — that way it
 * survives the 860px breakpoint where .nav-main is hidden. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}

.nav-main a:not(.nav-cta) {
  position: relative;
  padding: 0.5rem 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-near-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-main a:not(.nav-cta):hover,
.nav-main a:not(.nav-cta):focus-visible {
  color: var(--color-ocean-blue);
}

.nav-main a.active {
  color: var(--color-ocean-blue);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-near-black);
  text-decoration: none;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--color-near-black);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background-color: var(--color-near-black);
  color: var(--color-white);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-near-black);
  transition: all 0.3s ease;
}

@media (max-width: 1100px) {
  .site-header .logo-img {
    height: 51px;
  }

  .nav-main {
    gap: 2rem;
  }

  .nav-cta {
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 860px) {
  .nav-main {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation (drawer)
# Ported from ../elevate-etiquette-site MobileNav.tsx; driven by
# assets/js/public-site-nav.js instead of React state.
--------------------------------------------------------------*/
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-cream);
  z-index: 2000;
  padding: 6rem 2rem;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-logo {
  position: absolute;
  top: 2rem;
  left: 2rem;
  height: 40px;
  width: 40px;
  display: block;
}

.mobile-nav-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-near-black);
}

.mobile-nav-links {
  list-style: none;
  margin: 6rem 0 0;
  padding: 0;
}

.mobile-nav-links li {
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-near-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
  color: var(--color-ocean-blue);
}

.mobile-nav-cta {
  margin-top: 6rem;
  padding-bottom: 2rem;
}

/* Scoped so it cannot collide with Bootstrap's .btn-primary. */
.mobile-nav-cta .mobile-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  padding: 1.1rem 2.25rem;
  background-color: var(--color-near-black);
  color: var(--color-white);
  text-decoration: none;
  border: 1px solid var(--color-near-black);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav-cta .mobile-nav-btn:hover,
.mobile-nav-cta .mobile-nav-btn:focus-visible {
  background-color: transparent;
  color: var(--color-near-black);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .mobile-nav,
  .mobile-overlay {
    transition: none;
  }
}

/*--------------------------------------------------------------

/*--------------------------------------------------------------
# Google Translate widget (blog-only; the marketing site has none)
--------------------------------------------------------------*/
#ee-google-translate {
  position: relative;
  display: flex;
  align-items: center;
}

#ee-google-translate .ee-lang-dropdown {
  position: relative;
}

#ee-google-translate .ee-lang-trigger {
  background-color: var(--surface-color);
  border: 1px solid var(--accent-color);
  border-radius: 999px;
  color: var(--accent-color);
  font-family: var(--default-font);
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  height: 34px;
  padding: 0 10px 0 10px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  box-sizing: border-box;
}

#ee-google-translate .ee-lang-trigger:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

#ee-google-translate .ee-lang-flag {
  font-style: normal;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

#ee-google-translate .ee-lang-label {
  display: none;
}

#ee-google-translate .ee-menu-label {
  font-style: italic;
}

#ee-google-translate .ee-flag-img {
  width: 20px;
  height: 12px;
  display: block;
  flex-shrink: 0;
}

#ee-google-translate .ee-lang-trigger i {
  color: var(--accent-color);
  font-size: 11px;
  transition: transform 0.2s ease;
}

#ee-google-translate .ee-lang-dropdown.is-open .ee-lang-trigger i {
  transform: rotate(180deg);
}

#ee-google-translate .ee-lang-menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 6px 0;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 100%;
  overflow-y: visible;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 86%);
  border-radius: 10px;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--default-color), transparent 84%);
  z-index: 1002;
  display: none;
}

#ee-google-translate .ee-lang-dropdown.is-open .ee-lang-menu {
  display: block;
}

#ee-google-translate .ee-lang-menu li {
  padding: 6px 10px;
  font-family: var(--default-font);
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#ee-google-translate .ee-lang-menu li:hover,
#ee-google-translate .ee-lang-menu li.is-active {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-dark);
}

/*
 * Google Website Translator injects a top bar iframe / skiptranslate wrappers (“Translated to: …”).
 * Only #ee-google-translate is the in-app language control — hide all other GT chrome.
 */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
iframe[class*="goog-te-menu"],
.goog-te-menu-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
body > iframe[src*="translate.google"],
body > iframe[src*="translate.googleapis.com"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  border: 0 !important;
}

body {
  top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

html.translated-ltr body,
html.translated-rtl body {
  top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

html.translated-ltr,
html.translated-rtl {
  margin-top: 0 !important;
}


/*--------------------------------------------------------------
# Elevate Edit + Footer
--------------------------------------------------------------*/
.elevate-edit {
  min-height: 352px;
  color: var(--color-near-black);
  background-image: linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)), url("../img/footer/elevate-edit-background.jpg");
  background-size: 100% auto;
  background-position: center 35.6%;
  background-repeat: no-repeat;
}

.elevate-edit__content {
  width: min(1336px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 48px;
}

.elevate-edit__monogram {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border: 1px solid var(--color-near-black);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.elevate-edit__monogram::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid var(--color-near-black);
  border-radius: inherit;
}

.elevate-edit__monogram span:first-child {
  margin-right: -2px;
  transform: scaleX(-1);
}

.elevate-edit__monogram span:last-child {
  margin-left: -2px;
}

.elevate-edit h2 {
  margin: 0 0 30px;
  color: var(--color-near-black);
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.elevate-edit p {
  margin: 0;
  color: var(--color-slate-gray);
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.72;
}

/*--------------------------------------------------------------
# Global Footer
# Ported from ../elevate-etiquette-site (react-app Footer.tsx + styles.css).
# Background is stone with near-black text, per that repo's 2026-07-30 change.
--------------------------------------------------------------*/
.site-footer {
  background: var(--color-stone);
  color: var(--color-near-black);
  padding: 3rem 0 1rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-light-gray);
}

.footer-column:not(.footer-about) {
  align-self: center;
}

.footer-brand {
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo-img {
  display: block;
  height: 72px;
  width: auto;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-near-black);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.footer-contact-info p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-near-black);
  margin-bottom: 0.5rem;
}

.footer-contact-info a {
  color: var(--color-near-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-info a:hover,
.footer-contact-info a:focus-visible {
  color: var(--color-ocean-blue);
}

.footer-column-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-near-black);
  margin-bottom: 2rem;
}

.site-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .footer-links li {
  margin-bottom: 0.25rem;
}

.site-footer .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-near-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: var(--color-ocean-blue);
}

.footer-about-body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-near-black);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-about-body a {
  color: var(--color-near-black);
  transition: color 0.3s ease;
}

.footer-about-body a:hover,
.footer-about-body a:focus-visible {
  color: var(--color-ocean-blue);
}

.footer-newsletter-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-near-black);
  text-decoration: none;
  /* currentColor keeps the rule locked to the text colour in every state */
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.footer-newsletter-cta:hover,
.footer-newsletter-cta:focus-visible {
  color: var(--color-ocean-blue);
}

.footer-newsletter-cta:focus-visible {
  outline: 2px solid var(--color-ocean-blue);
  outline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-near-black);
  margin: 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.footer-social a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-near-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--color-ocean-blue);
}

.footer-credits {
  margin: 1.5rem 0 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-slate-gray);
}

.footer-credits a {
  color: var(--color-slate-gray);
  text-decoration: underline;
}

.footer-credits a:hover,
.footer-credits a:focus-visible {
  color: var(--color-ocean-blue);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    text-align: left;
  }

  .footer-social {
    order: -1;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--color-white);
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 40px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  margin-bottom: 60px;
  position: relative;
}

.section-title .section-title-container {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--default-color);
}

.section-title h2 {
  font-size: 40px;
  font-weight: 0;
}

.section-title p {
  margin-bottom: 0;
}

.section-title p a {
  color: var(--default-color);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  border-bottom: 1.5px solid var(--default-color);
  font-family: var(--nav-font);
  font-weight: 500;
  padding-bottom: 2px;
}

/*--------------------------------------------------------------
# Trending Category Section
--------------------------------------------------------------*/
.trending-category .post-entry {
  margin-bottom: 30px;
}

.trending-category .post-entry .post-img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
  background: var(--palette-cream-soft);
}

.trending-category .post-entry .post-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.3s ease;
}

.trending-category .post-entry .post-img-wrap:hover img {
  transform: scale(1.03);
}

.trending-category .post-entry.lg .post-img-wrap {
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
}

.trending-category .post-entry h2 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.trending-category .post-entry h2 a {
  color: var(--heading-color);
}

.trending-category .post-entry h2 a:hover {
  text-decoration: underline;
}

.trending-category .post-entry.lg h2 {
  font-size: 40px;
  line-height: 1;
}

.trending-category .post-meta {
  font-size: 11px;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.trending-category .custom-border {
  border-color: color-mix(in srgb, var(--default-color), transparent 90%) !important;
}

@media (max-width: 768px) {
  .trending-category .custom-border {
    border: none !important;
  }
}

.trending-category .author .photo {
  margin-right: 10px;
}

.trending-category .author .photo img {
  width: 40px;
  border-radius: 50%;
  margin-bottom: 0;
}

.trending-category .author .name h3 {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: var(--default-font);
}

.trending-category .trending {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.trending-category .trending>h3 {
  color: var(--default-color);
  padding: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.trending-category .trending .trending-post {
  padding: 0;
  margin: 0;
}

.trending-category .trending .trending-post li {
  padding: 0;
  margin: 0;
  list-style: none;
  display: block;
}

.trending-category .trending .trending-post li a {
  display: block;
  padding: 20px 20px 20px 58px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.trending-category .trending .trending-post li a .number {
  position: absolute;
  z-index: 1;
  font-size: 5rem;
  left: 8px;
  top: -8px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  font-family: var(--heading-font);
  color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.trending-category .trending .trending-post li a h3 {
  font-size: 18px;
  position: relative;
  z-index: 2;
  color: var(--default-color);
  transition: 0.3s;
}

.trending-category .trending .trending-post li a .author {
  position: relative;
  z-index: 2;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 500;
}

.trending-category .trending .trending-post li a:hover h3 {
  color: var(--default-color);
  text-decoration: underline;
}

.trending-category .trending .trending-post li:last-child a {
  border-bottom: none;
}

/*--------------------------------------------------------------
# Homepage Featured Posts
--------------------------------------------------------------*/
.featured-posts-section {
  min-height: 864px;
  padding: 66px 0 72px;
  background-color: var(--color-cream);
}

.featured-posts-container {
  width: min(1296px, calc(100% - 72px));
  margin-inline: auto;
}

.featured-posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 55px;
}

.featured-posts-header h2 {
  margin: 0;
  color: #3d3a37;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.featured-posts-archive {
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
}

.featured-posts-archive span {
  margin-left: 7px;
}

.featured-posts-archive:hover,
.featured-posts-archive:focus-visible {
  color: var(--color-ocean-blue);
}

.featured-posts-grid {
  display: grid;
  grid-template-columns: 614px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.featured-posts-section .post-entry {
  position: relative;
  box-sizing: border-box;
  margin: 0;
  background-color: var(--color-white);
}

.featured-posts-section .post-img-wrap,
.featured-posts-section .post-entry.lg .post-img-wrap {
  display: block;
  overflow: hidden;
  margin: 0;
  background-color: var(--color-stone);
}

.featured-posts-section .post-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-posts-section .post-meta {
  color: var(--color-slate-gray);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.featured-posts-section .post-meta .mx-1 {
  color: var(--color-wisis-pink);
}

.featured-posts-lead .post-entry {
  width: 100%;
  height: 610px;
}

.featured-posts-lead .post-img-wrap {
  width: 100%;
  height: 335px;
}

.featured-posts-lead .post-meta {
  margin: 38px 32px 17px;
}

.featured-posts-lead .post-entry.lg h2 {
  max-width: 530px;
  margin: 0 32px;
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.featured-posts-lead .post-entry > p,
.featured-posts-lead .post-entry > .author {
  display: none !important;
}

.featured-posts-lead .post-entry::after,
.featured-posts-secondary .post-entry::after {
  content: "View full post  →";
  position: absolute;
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.featured-posts-lead .post-entry::after {
  left: 32px;
  bottom: 45px;
}

.featured-posts-secondary {
  display: grid;
  gap: 21px;
}

.featured-posts-secondary-wrap {
  display: grid;
  gap: 21px;
}

.featured-posts-latest {
  margin-top: 56px;
  padding-top: 8px;
}

.featured-posts-latest > h3 {
  margin: 0 0 22px;
  color: #3d3a37;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.featured-posts-latest .trending-post {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid rgba(214, 210, 204, 0.7);
}

.featured-posts-latest .trending-post li {
  display: flex;
  margin: 0;
  padding: 0 32px 0 0;
  list-style: none;
  border-right: 1px solid rgba(214, 210, 204, 0.55);
}

.featured-posts-latest .trending-post li:not(:first-child) {
  padding-left: 32px;
}

.featured-posts-latest .trending-post li:nth-child(4n) {
  padding-right: 0;
  border-right: 0;
}

.featured-posts-latest .trending-post li a {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 156px;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.featured-posts-latest .trending-post .number {
  display: block;
  margin: 0 0 14px;
  color: var(--color-ocean-blue);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}

.featured-posts-latest .trending-post h3 {
  margin: 0;
  color: #3d3a37;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.featured-posts-latest .trending-post .author {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--color-ocean-blue);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.featured-posts-latest .trending-post li a:hover h3,
.featured-posts-latest .trending-post li a:focus-visible h3 {
  color: var(--color-ocean-blue);
}

.featured-posts-secondary .post-entry {
  height: 189px;
  padding: 28px 26px 45px 270px;
}

.featured-posts-secondary .post-img-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: 238px;
  height: 189px;
}

.featured-posts-secondary .post-meta {
  margin: 0 0 12px;
}

.featured-posts-secondary .post-entry h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.featured-posts-secondary .post-entry::after {
  left: 270px;
  bottom: 31px;
}

@media (max-width: 1199px) {
  .featured-posts-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .featured-posts-secondary .post-entry {
    padding-left: calc(42% + 25px);
  }

  .featured-posts-secondary .post-img-wrap {
    width: 42%;
  }

  .featured-posts-secondary .post-entry::after {
    left: calc(42% + 25px);
  }
}

@media (max-width: 991px) {
  .featured-posts-grid {
    grid-template-columns: 1fr;
  }

  .featured-posts-latest .trending-post {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 0;
  }

  .featured-posts-latest .trending-post li {
    padding: 0 24px 28px 0;
  }

  .featured-posts-latest .trending-post li:not(:first-child) {
    padding-left: 0;
  }

  .featured-posts-latest .trending-post li:nth-child(odd) {
    padding-right: 24px;
    border-right: 1px solid rgba(214, 210, 204, 0.55);
  }

  .featured-posts-latest .trending-post li:nth-child(even) {
    padding-right: 0;
    padding-left: 24px;
    border-right: 0;
  }

  .featured-posts-latest .trending-post li:nth-child(4n) {
    padding-right: 0;
  }

  .featured-posts-lead .post-entry {
    height: auto;
    min-height: 610px;
  }

  .featured-posts-lead .post-img-wrap {
    height: auto;
    aspect-ratio: 614 / 335;
  }
}

@media (max-width: 575px) {
  .featured-posts-section {
    padding: 42px 0 56px;
  }

  .featured-posts-container {
    width: calc(100% - 40px);
  }

  .featured-posts-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
  }

  .featured-posts-header h2 {
    font-size: 40px;
  }

  .featured-posts-latest .trending-post {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 8px;
  }

  .featured-posts-latest .trending-post li,
  .featured-posts-latest .trending-post li:not(:first-child),
  .featured-posts-latest .trending-post li:nth-child(odd),
  .featured-posts-latest .trending-post li:nth-child(even),
  .featured-posts-latest .trending-post li:nth-child(4n) {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(214, 210, 204, 0.55);
  }

  .featured-posts-latest .trending-post li:last-child {
    border-bottom: 0;
  }

  .featured-posts-latest .trending-post li a {
    min-height: 0;
  }

  .featured-posts-lead .post-entry {
    min-height: 0;
    padding-bottom: 86px;
  }

  .featured-posts-lead .post-meta {
    margin-top: 28px;
  }

  .featured-posts-lead .post-entry.lg h2 {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .featured-posts-secondary .post-entry {
    height: auto;
    min-height: 420px;
    padding: 0 24px 72px;
  }

  .featured-posts-secondary .post-img-wrap {
    position: relative;
    width: calc(100% + 48px);
    height: auto;
    margin-left: -24px;
    aspect-ratio: 238 / 189;
  }

  .featured-posts-secondary .post-meta {
    margin-top: 24px;
  }

  .featured-posts-secondary .post-entry::after {
    left: 24px;
    bottom: 32px;
  }
}

@media (max-width: 400px) {
  .featured-posts-lead .post-meta,
  .featured-posts-lead .post-entry.lg h2 {
    margin-right: 24px;
    margin-left: 24px;
  }

  .featured-posts-lead .post-entry::after {
    left: 24px;
  }
}

/*--------------------------------------------------------------
# Homepage Newsletter
--------------------------------------------------------------*/
.home-newsletter {
  box-sizing: border-box;
  width: 100%;
  padding: 38px max(36px, calc((100% - 1336px) / 2)) 46px;
  background-color: #fff;
}

.home-newsletter__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  box-sizing: border-box;
  width: 100%;
  min-height: 121px;
  padding: 32px;
  border: 1px solid #a8c0d4;
  background: #e9f2f9;
}

.home-newsletter__inner p {
  min-width: 0;
  margin: 0;
  color: #3d3a37;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}

.home-newsletter__form {
  display: grid;
  grid-template-columns: 264px 180px;
  gap: 16px;
}

.home-newsletter__form input,
.home-newsletter__form button {
  box-sizing: border-box;
  height: 55px;
  border-radius: 0;
  font-family: var(--font-body);
}

.home-newsletter__form input {
  min-width: 0;
  padding: 0 18px;
  border: 1px solid #d5d0cc;
  background: #fff;
  color: #3d3a37;
  font-size: 15px;
}

.home-newsletter__form input::placeholder {
  color: #7a7470;
  opacity: 1;
}

.home-newsletter__form input:focus {
  border-color: var(--color-ocean-blue);
  outline: 2px solid color-mix(in srgb, var(--color-ocean-blue), transparent 75%);
  outline-offset: 1px;
}

.home-newsletter__form button {
  padding: 0 22px;
  border: 1px solid #3d3a37;
  background: #3d3a37;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.home-newsletter__form button:hover,
.home-newsletter__form button:focus-visible {
  border-color: var(--color-ocean-blue);
  background: var(--color-ocean-blue);
}

@media (max-width: 1099px) {
  .home-newsletter__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .home-newsletter__form {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 12px;
  }

  .home-newsletter__form input,
  .home-newsletter__form button {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .home-newsletter {
    padding: 28px 20px 36px;
  }

  .home-newsletter__inner {
    padding: 25px 20px;
  }

  .home-newsletter__inner p {
    font-size: 14px;
  }

  .home-newsletter__form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-newsletter__form input,
  .home-newsletter__form button {
    width: 100%;
  }
}

/* fizba's Bootstrap-grid category browser lived here. Its markup was
 * replaced by the Figma rails (see "Browse by Etiquette Topic" below);
 * #home-by-category-heading and #home-by-category-section were styled by
 * id, so they outranked the new classes and had to go with it. */


/*--------------------------------------------------------------
# Culture Category Section
--------------------------------------------------------------*/
.culture-category .post-entry {
  margin-bottom: 30px;
}

.culture-category .post-entry h3 a {
  color: var(--heading-color);
  font-weight: 600;
}

.culture-category .post-entry h3 a:hover {
  text-decoration: underline;
}

.culture-category .post-entry .thumbnail {
  flex: 0 0 65%;
}

@media (max-width: 960px) {
  .culture-category .post-entry .thumbnail {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

.culture-category .post-entry.half .thumbnail {
  flex: 0 0 50%;
}

@media (max-width: 768px) {
  .culture-category .post-entry.half .thumbnail {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

.culture-category .post-entry.small-img .thumbnail {
  flex: 0 0 30%;
}

@media (max-width: 768px) {
  .culture-category .post-entry.small-img .thumbnail {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

.culture-category .border-bottom {
  border-color: color-mix(in srgb, var(--default-color), transparent 90%) !important;
}

.culture-category .post-meta {
  font-size: 11px;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.culture-category .author .photo {
  margin-right: 10px;
}

.culture-category .author .photo img {
  width: 40px;
  border-radius: 50%;
  margin-bottom: 0;
}

.culture-category .author .name h3 {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: var(--default-font);
}

.culture-category .post-list {
  margin-bottom: 30px;
}

.culture-category .post-list img {
  margin-bottom: 30px;
}

.culture-category .post-list h2 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.culture-category .post-list h2 a {
  color: var(--heading-color);
}

.culture-category .post-list h2 a:hover {
  text-decoration: underline;
}

.culture-category .post-list.lg h2 {
  font-size: 40px;
  line-height: 1;
}

/*--------------------------------------------------------------
# Business Category Section
--------------------------------------------------------------*/
.business-category .post-entry {
  margin-bottom: 30px;
}

.business-category .post-entry h3 a {
  color: var(--heading-color);
  font-weight: 600;
}

.business-category .post-entry h3 a:hover {
  text-decoration: underline;
}

.business-category .post-entry .thumbnail {
  flex: 0 0 65%;
}

@media (max-width: 960px) {
  .business-category .post-entry .thumbnail {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

.business-category .post-entry.half .thumbnail {
  flex: 0 0 50%;
}

@media (max-width: 768px) {
  .business-category .post-entry.half .thumbnail {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

.business-category .post-entry.small-img .thumbnail {
  flex: 0 0 30%;
}

@media (max-width: 768px) {
  .business-category .post-entry.small-img .thumbnail {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }
}

.business-category .border-bottom {
  border-color: color-mix(in srgb, var(--default-color), transparent 90%) !important;
}

.business-category .post-meta {
  font-size: 11px;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.business-category .author .photo {
  margin-right: 10px;
}

.business-category .author .photo img {
  width: 40px;
  border-radius: 50%;
  margin-bottom: 0;
}

.business-category .author .name h3 {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: var(--default-font);
}

.business-category .post-list {
  margin-bottom: 30px;
}

.business-category .post-list img {
  margin-bottom: 30px;
}

.business-category .post-list h2 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.business-category .post-list h2 a {
  color: var(--heading-color);
}

.business-category .post-list h2 a:hover {
  text-decoration: underline;
}

.business-category .post-list.lg h2 {
  font-size: 40px;
  line-height: 1;
}

/*--------------------------------------------------------------
# Lifestyle Category Section
--------------------------------------------------------------*/
.lifestyle-category .post-meta {
  font-size: 11px;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.lifestyle-category .author .photo {
  margin-right: 10px;
}

.lifestyle-category .author .photo img {
  width: 40px;
  border-radius: 50%;
  margin-bottom: 0;
}

.lifestyle-category .author .name h3 {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: var(--default-font);
}

.lifestyle-category .custom-border,
.lifestyle-category .border-bottom {
  border-color: color-mix(in srgb, var(--default-color), transparent 90%) !important;
}

.lifestyle-category .post-list {
  margin-bottom: 30px;
}

.lifestyle-category .post-list img {
  margin-bottom: 30px;
}

.lifestyle-category .post-list h2 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.lifestyle-category .post-list h2 a {
  color: var(--heading-color);
}

.lifestyle-category .post-list h2 a:hover {
  text-decoration: underline;
}

.lifestyle-category .post-list.lg h2 {
  font-size: 40px;
  line-height: 1;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content .who-we-are {
  text-transform: uppercase;
  margin-bottom: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

.about .about-images img {
  border-radius: 10px;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .team .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.team .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.team .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.team .team-member:hover {
  transform: translateY(-10px);
}

.team .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .team .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.team .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.team .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.team .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

@media (max-width: 468px) {
  .team .team-member span::after {
    left: calc(50% - 25px);
  }
}

.team .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.team .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .team .team-member .social {
    justify-content: center;
  }
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.team .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.team .team-member .social a:hover {
  background: var(--accent-color);
}

.team .team-member .social a:hover i {
  color: var(--contrast-color);
}

.team .team-member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .detail-content-html img,
.blog-details .detail-content-html video,
.blog-details .detail-content-html iframe {
  max-width: 100%;
  height: auto;
}

/* Single post — magazine / editorial layout (Evie-style reading column + accent) */
.single-post-page {
  --editorial-accent: var(--color-ocean-blue);
  --editorial-accent-mix: color-mix(in srgb, var(--color-ocean-blue), var(--default-color) 35%);
}

.blog-details--editorial .article--editorial {
  box-shadow: none;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.blog-details--editorial .article-editorial-header .title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  color: var(--heading-color);
}

.blog-details--editorial .meta-top--editorial {
  margin-top: 0;
  font-family: var(--nav-font);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.blog-details--editorial .meta-top--editorial a {
  font-size: 0.875rem;
}

.blog-details--editorial .article-editorial-featured.post-img {
  margin: 0 !important;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.blog-details--editorial .article-editorial-featured.post-img img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

.blog-details--editorial .article-editorial-body {
  margin-top: clamp(1.5rem, 4vw, 2.75rem);
  padding-top: clamp(0.5rem, 2vw, 1.25rem);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.blog-details--editorial .article-editorial-body .detail-content-html {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  line-height: 1.82;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-details--editorial .ee-post-body-empty {
  color: color-mix(in srgb, var(--default-color), transparent 42%);
  margin: 0;
  font-size: 1rem;
}

/* CKEditor 5 body wrapper (matches admin ClassicEditor output) */
.blog-details--editorial .detail-content-html .ee-post-body {
  font-size: inherit;
  line-height: inherit;
}

.blog-details--editorial .detail-content-html .ee-post-body::after {
  content: "";
  display: table;
  clear: both;
}

.blog-details--editorial .detail-content-html .ee-post-body > p:first-of-type::first-letter {
  float: left;
  font-size: 3.35rem;
  line-height: 0.82;
  padding-right: 0.5rem;
  padding-top: 0.12rem;
  font-weight: 600;
  color: var(--editorial-accent);
  font-family: var(--heading-font);
}

.blog-details--editorial .ee-post-body p {
  margin-top: 0;
  margin-bottom: 1.15em;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-details--editorial .ee-post-body p:last-child {
  margin-bottom: 0;
}

.blog-details--editorial .ee-post-body ul,
.blog-details--editorial .ee-post-body ol {
  margin: 1em 0;
  padding-left: 1.5rem;
}

.blog-details--editorial .ee-post-body li {
  margin: 0.35em 0;
}

.blog-details--editorial .ee-post-body li > ul,
.blog-details--editorial .ee-post-body li > ol {
  margin: 0.35em 0;
}

.blog-details--editorial .ee-post-body h1 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.blog-details--editorial .ee-post-body sub,
.blog-details--editorial .ee-post-body sup {
  font-size: 0.75em;
}

.blog-details--editorial .ee-post-body mark {
  background: color-mix(in srgb, var(--editorial-accent), transparent 82%);
  padding: 0.05em 0.15em;
}

.blog-details--editorial .ee-post-body pre {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  padding: 1rem 1.15rem;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.92em;
  line-height: 1.5;
  margin: 1.5rem 0;
}

.blog-details--editorial .ee-post-body code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  padding: 0.12em 0.4em;
  border-radius: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-details--editorial .ee-post-body pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}

.blog-details--editorial .ee-post-body figure.table {
  margin: 1.5rem 0;
  overflow-x: auto;
}

.blog-details--editorial .ee-post-body table {
  border-collapse: collapse;
  width: 100%;
  margin: 0;
  font-size: 0.95em;
}

.blog-details--editorial .ee-post-body th,
.blog-details--editorial .ee-post-body td {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 78%);
  padding: 0.55rem 0.85rem;
  vertical-align: top;
}

.blog-details--editorial .ee-post-body th {
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  font-weight: 600;
  font-family: var(--nav-font);
  font-size: 0.88em;
}

.blog-details--editorial .ee-post-body figcaption {
  caption-side: bottom;
}

/* CKEditor 5 image figures */
.blog-details--editorial .ee-post-body figure.image {
  margin: 2rem auto;
  display: table;
  max-width: 100%;
}

.blog-details--editorial .ee-post-body figure.image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.blog-details--editorial .ee-post-body figure.image.image-style-align-left {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 0.75rem;
  margin-top: 0.35rem;
}

.blog-details--editorial .ee-post-body figure.image.image-style-align-right {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 0.75rem;
  margin-top: 0.35rem;
}

.blog-details--editorial .ee-post-body figure.image.image-style-block {
  display: block;
  width: 100%;
}

.blog-details--editorial .ee-post-body figure.image.image-style-block img {
  width: 100%;
}

/* WordPress-style alignment classes sometimes pasted into CKEditor */
.blog-details--editorial .ee-post-body .alignleft {
  float: left;
  margin: 0.5rem 1.25rem 1rem 0;
}

.blog-details--editorial .ee-post-body .alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.25rem;
}

.blog-details--editorial .ee-post-body .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.blog-details--editorial .detail-content-html a:not(.wp-block-button__link) {
  color: var(--editorial-accent-mix);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.blog-details--editorial .detail-content-html a:not(.wp-block-button__link):hover {
  color: var(--editorial-accent);
}

.blog-details--editorial .detail-content-html h2,
.blog-details--editorial .detail-content-html h3,
.blog-details--editorial .detail-content-html h4 {
  font-family: var(--heading-font);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--heading-color);
}

.blog-details--editorial .detail-content-html h2 {
  font-size: 1.65rem;
}

.blog-details--editorial .detail-content-html h3 {
  font-size: 1.4rem;
}

.blog-details--editorial .detail-content-html h4 {
  font-size: 1.2rem;
}

.blog-details--editorial .detail-content-html hr {
  border: 0;
  height: 1px;
  margin: 2.5rem auto;
  max-width: 6rem;
  background: color-mix(in srgb, var(--editorial-accent), transparent 45%);
}

.blog-details--editorial .detail-content-html figure {
  margin: 2rem auto;
  max-width: 100%;
}

.blog-details--editorial .detail-content-html figcaption {
  font-family: var(--nav-font);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
}

.blog-details--editorial .detail-content-html blockquote {
  overflow: visible;
  background: transparent;
  padding: 2rem 0.5rem;
  margin: 2.25rem 0;
  text-align: center;
  position: relative;
}

.blog-details--editorial .detail-content-html blockquote::before {
  display: none;
}

.blog-details--editorial .detail-content-html blockquote p {
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.35;
  color: var(--editorial-accent);
  margin-bottom: 0;
}

.blog-details--editorial .detail-content-html blockquote:after {
  display: none;
}

.blog-details--editorial .article-editorial-share {
  max-width: 42rem;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.blog-details--editorial .article-editorial-share .post-share-label {
  font-family: var(--heading-font, inherit);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details--editorial .article-editorial-share .shareon {
  gap: 0.5rem;
  font-size: 0.75em;
}

.blog-details--editorial .article-byline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.blog-details--editorial .article-byline-row .meta-top {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 575.98px) {
  .blog-details--editorial .article-byline-row {
    gap: 0.75rem;
  }
}

/* Author sign-off */
.author-signoff {
  max-width: 42rem;
  margin: 3rem auto 0;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: color-mix(in srgb, var(--accent-color, #c9a961), transparent 92%);
  border-radius: 14px;
}

.author-signoff-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.author-signoff-body {
  flex: 1;
  min-width: 0;
}

.author-signoff-greeting {
  font-family: var(--heading-font, "Cormorant Garamond", serif);
  font-style: italic;
  font-size: 1.25rem;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.author-signoff-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1;
  margin: 0.1rem 0 0.75rem;
  color: var(--heading-color, var(--default-color));
}

@media (max-width: 575.98px) {
  .author-signoff {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }
  .author-signoff-avatar {
    width: 80px;
    height: 80px;
  }
}

/* Smooth scroll for in-page anchor jumps, offset for the fixed header. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
  margin-right: 8px;
  vertical-align: -0.125em;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Single Post — Figma "EE Blog Article Draft Mockup" (266:2)
#
# The 1440 frame is: 52px margin · 898px article · 48px gutter ·
# 391px sidebar · 51px margin. Every length below is the Figma value;
# where the design used a raw hex the palette token with the same value
# is used instead (Masala = --color-near-black, Tapa = --color-slate-gray,
# Timberwolf = --color-light-gray, Pampas = --color-stone,
# Vista White = --color-cream, Brilliant Rose = --color-wisis-pink).
--------------------------------------------------------------*/
.single-post-page {
  background: var(--color-cream);
}

.single-post-page .single-post-layout,
.single-post-page .article-breadcrumb {
  width: min(1336px, calc(100% - 64px));
  max-width: none;
  margin-inline: auto;
}

/* --- breadcrumb (267:1205) — 36px under the header, 36px above the hero --- */
.single-post-page .article-breadcrumb {
  padding: 36px 0;
}

.single-post-page .article-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-post-page .article-breadcrumb__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* ic:outline-keyboard-arrow-right, 16px */
.single-post-page .article-breadcrumb__list li + li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: url("../img/icons/chevron-right.svg") center / 16px 16px no-repeat;
}

.single-post-page .article-breadcrumb__list a {
  color: var(--color-ocean-blue);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.8; /* 19.8px */
  letter-spacing: 0.16em; /* 1.76px */
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}

.single-post-page .article-breadcrumb__list a:hover {
  color: var(--color-near-black);
}

.single-post-page .article-breadcrumb__list .is-current {
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5; /* 16.5px */
  letter-spacing: 0.2em; /* 2.2px */
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- two-column shell --- */
.single-post-page .single-post-layout {
  padding: 0 0 52px;
}

.single-post-page .single-post-layout__grid {
  display: grid;
  grid-template-columns: minmax(0, 898px) minmax(0, 391px);
  gap: 48px;
  align-items: start;
}

.single-post-page .single-post-main {
  min-width: 0;
}

.single-post-page .blog-details--editorial {
  padding: 0;
  background: transparent;
}

/* --- hero (267:1170) — 898 × 494 with the topic chips over it --- */
.single-post-page .article-hero {
  position: relative;
  aspect-ratio: 898 / 494;
  overflow: hidden;
  background: var(--color-stone);
}

.single-post-page .article-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-page .article-hero__tags {
  position: absolute;
  top: 21px;
  left: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.single-post-page .article-hero__tag {
  padding: 4px 10px;
  background: rgba(61, 58, 55, 0.72);
  backdrop-filter: blur(2px);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.8; /* 18px */
  letter-spacing: 0.12em; /* 1.2px */
  text-transform: uppercase;
}

/* --- the white article card (267:1176) — 56px padding all round --- */
.single-post-page .blog-details--editorial .article--editorial {
  display: flex;
  flex-direction: column;
  padding: 56px;
  border: 0;
  border-radius: 0;
  background: var(--color-white);
  box-shadow: none;
}

/* Figma stacks the card children with uneven gaps: 36 · 56 · 60 · 60. */
.single-post-page .article-editorial-body,
.single-post-page .article-editorial-share--bottom,
.single-post-page .author-signoff,
.single-post-page .comment-panel {
  /* The template centres these with `margin: … auto`; auto cross-axis margins
   * stop a column flex item from stretching, so the card would shrink-wrap. */
  margin-inline: 0;
}

.single-post-page .article-editorial-body { margin-top: 36px; }
.single-post-page .article-editorial-share--bottom { margin-top: 56px; }
.single-post-page .author-signoff { margin-top: 60px; }
.single-post-page .comment-panel { margin-top: 60px; }

/* --- title + byline (267:1177) --- */
.single-post-page .article-editorial-header {
  display: block;
  margin: 0;
}

.single-post-page .blog-details--editorial .article-editorial-header .title {
  margin: 0 0 16px !important;
  color: var(--color-near-black);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.3vw, 3.8rem); /* → 60.8px */
  font-weight: 400;
  line-height: 1.184; /* 72px */
  letter-spacing: -0.02em; /* -1.216px */
}

/* Both rules, top and bottom — the design boxes the byline in. */
.single-post-page .article-byline-row {
  display: block;
  padding: 6px 0;
  border-top: 1px solid rgba(61, 58, 55, 0.14);
  border-bottom: 1px solid rgba(61, 58, 55, 0.14);
}

.single-post-page .blog-details--editorial .meta-top--editorial {
  margin: 0;
}

.single-post-page .meta-top--editorial ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-post-page .meta-top--editorial li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.single-post-page .meta-top--editorial li img {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.single-post-page .blog-details--editorial .meta-top--editorial,
.single-post-page .blog-details--editorial .meta-top--editorial a,
.single-post-page .blog-details--editorial .meta-top--editorial time {
  color: var(--color-slate-gray);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8; /* 28.8px */
  letter-spacing: 0.01em; /* 0.16px */
  text-decoration: none;
}

.single-post-page .blog-details--editorial .meta-top--editorial a:hover {
  color: var(--color-near-black);
}

/* --- body copy (267:1200) — 17px / 28.9px, full 786px measure --- */
.single-post-page .blog-details--editorial .article-editorial-body {
  padding-top: 0;
  border-top: 0;
}

.single-post-page .blog-details--editorial .article-editorial-body .detail-content-html {
  max-width: none;
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7; /* 28.9px */
  letter-spacing: 0.01em; /* 0.17px */
}

.single-post-page .blog-details--editorial .detail-content-html .ee-post-body p {
  margin-bottom: 12px;
}

/* The template's decorative drop cap is not in the design. */
.single-post-page .blog-details--editorial .detail-content-html .ee-post-body > p:first-of-type::first-letter {
  float: none;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.single-post-page .blog-details--editorial .detail-content-html h2,
.single-post-page .blog-details--editorial .detail-content-html h3,
.single-post-page .blog-details--editorial .detail-content-html h4 {
  color: var(--color-near-black);
  font-family: var(--font-display);
  font-weight: 400;
}

.single-post-page .blog-details--editorial .detail-content-html h2 { font-size: 28px; line-height: 1.2; }
.single-post-page .blog-details--editorial .detail-content-html h3 { font-size: 24px; line-height: 1.2; }
.single-post-page .blog-details--editorial .detail-content-html h4 { font-size: 20px; line-height: 1.25; }

.single-post-page .blog-details--editorial .detail-content-html a:not(.wp-block-button__link) {
  color: var(--color-ocean-blue);
}

/* --- pull quote (267:1201) — Butler Light 48/52.8 beside a 30×38 glyph --- */
.single-post-page .blog-details--editorial .detail-content-html blockquote {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 36px 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.single-post-page .blog-details--editorial .detail-content-html blockquote::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 30.28px;
  height: 38px;
  position: static;
  transform: rotate(180deg);
  background: url("../img/icons/quote-mark.svg") center / contain no-repeat;
}

.single-post-page .blog-details--editorial .detail-content-html blockquote p {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1; /* 52.8px */
  letter-spacing: -0.02em; /* -0.96px */
}

/* --- share bar (268:1317) — no rule above it in the design --- */
.single-post-page .blog-details--editorial .article-editorial-share--bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  max-width: none;
  padding: 0;
  border: 0;
}

.single-post-page .post-share-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.single-post-page .post-share-total-value {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
}

.single-post-page .post-share-total-label {
  margin-top: 6px;
  color: #757d85;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.11; /* 20px */
}

.single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
  font-size: inherit;
}

.single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  min-height: 0;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  border-radius: 4px;
  background-image: none !important;
  color: var(--color-white) !important;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.11;
  text-decoration: none;
}

.single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon > a::before {
  display: none;
}

.single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon > a i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-white);
  font-size: 13px;
  line-height: 1;
}

.single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon > .facebook { background-color: #3b5998; }
.single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon > .facebook i { color: #3b5998; }
.single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon > .pinterest { background-color: #ff0000; }
.single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon > .pinterest i { color: #ff0000; }
.single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon > .linkedin { background-color: #007bb6; }
.single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon > .linkedin i { color: #007bb6; }

/* --- author sign-off (268:1346) --- */
.single-post-page .author-signoff {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.single-post-page .author-signoff-avatar {
  width: 110px;
  height: 110px;
  box-shadow: none;
}

.single-post-page .author-signoff-body {
  flex: 0 0 auto;
  margin-left: 48px;
}

.single-post-page .author-signoff-greeting {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
}

/* The signature is artwork, not type — the text stays for screen readers. */
.single-post-page .author-signoff-name {
  width: 155px;
  height: 43px;
  margin: 8px 0 0;
  overflow: hidden;
  background-image: url("../img/brand/alison-signature-transparent.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 191px 76px;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.single-post-page .author-signoff-social {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-left: auto;
}

.single-post-page .author-signoff-social a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #111;
  color: var(--color-white);
  font-size: 11px;
}

/* --- comment panel (268:1985) --- */
.single-post-page .comment-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 26px 16px 36px;
  background: var(--color-white);
}

.single-post-page .comment-panel-tabs {
  display: flex;
  gap: 5.8px;
  padding: 5.8px;
  border: 1px solid var(--color-light-gray);
  background: var(--color-stone);
}

.single-post-page .comment-panel-tabs button {
  flex: 1 1 0;
  min-width: 0;
  padding: 10.4px 12px;
  border: 0;
  background: transparent;
  color: var(--color-slate-gray);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.13em; /* 1.5px */
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.single-post-page .comment-panel-tabs button.is-active {
  background: var(--color-near-black);
  color: var(--color-white);
}

.single-post-page .comment-panel-body {
  min-width: 0;
}

.single-post-page .comment-panel form {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.single-post-page .comment-form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.single-post-page .comment-field {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
}

.single-post-page .comment-field--body {
  margin-bottom: 20px;
}

.single-post-page .comment-field label {
  margin-bottom: 8px;
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 14.4px;
  font-weight: 500;
  line-height: 1.8; /* 25.92px */
  letter-spacing: 0.05em; /* 0.72px */
}

.single-post-page .comment-field-optional {
  margin-left: 8px;
  color: var(--color-slate-gray);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.08em; /* 0.96px */
}

.single-post-page .comment-panel form input,
.single-post-page .comment-panel form textarea {
  width: 100%;
  border: 1px solid var(--color-light-gray);
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 16px;
}

.single-post-page .comment-panel form input {
  height: 44px;
  padding: 0 14.6px;
}

.single-post-page .comment-panel form textarea {
  min-height: 88px;
  padding: 10.4px 14.6px;
  line-height: 1.3; /* 20.8px */
  resize: vertical;
}

.single-post-page .comment-panel form input::placeholder,
.single-post-page .comment-panel form textarea::placeholder {
  color: #757575;
}

.single-post-page .comment-field-counter {
  margin: 6.4px 0 0;
  color: var(--color-slate-gray);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.8; /* 21.6px */
  letter-spacing: 0.04em; /* 0.48px */
  text-align: right;
}

.single-post-page .comment-panel form .btn-primary {
  width: 100%;
  min-height: 0;
  padding: 14.4px 16px;
  border: 0;
  border-radius: 0;
  background: var(--color-near-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14.4px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.1em; /* 1.44px */
  text-transform: uppercase;
}

.single-post-page .comment-panel form .btn-primary:hover {
  background: color-mix(in srgb, var(--color-near-black), var(--color-white) 12%);
  color: var(--color-white);
}

.single-post-page .comment-panel form .form-control.is-invalid {
  border-color: #dc3545;
}

.single-post-page .comment-panel .ee-comment-field-error {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: #b91c1c;
}

.single-post-page .comment-panel .ee-comment-form-message {
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
}

.single-post-page .comment-panel .ee-comment-form-message.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.single-post-page .comment-panel .ee-comment-form-message.is-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* Comment rows now live inside the panel, not in a .blog-comments section. */
.single-post-page .comment-panel .comment {
  position: relative;
  margin-top: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(61, 58, 55, 0.14);
}

.single-post-page .comment-panel .comment + .comment {
  margin-top: 24px;
}

.single-post-page .comment-panel .comment:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.single-post-page .comment-panel .comment-img {
  margin-right: 16px;
}

.single-post-page .comment-panel .comment-img img {
  width: 48px;
  height: 48px;
}

.single-post-page .comment-panel .comment h5 {
  margin: 0 0 2px;
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
}

.single-post-page .comment-panel .comment time {
  display: block;
  margin-bottom: 8px;
  color: var(--color-slate-gray);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.single-post-page .comment-panel .comment p {
  margin: 0;
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.8;
}

/*--------------------------------------------------------------
# Single Post — sidebar (268:1684). 48px between blocks.
--------------------------------------------------------------*/
.single-post-page .single-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}

/* --- topics (268:1956) --- */
.single-post-page .sidebar-topics {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.single-post-page .sidebar-backlink {
  align-self: flex-start;
  border-bottom: 1px solid var(--color-near-black);
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.8; /* 19.8px */
  letter-spacing: 0.16em; /* 1.76px */
  text-transform: uppercase;
  text-decoration: none;
}

.single-post-page .sidebar-backlink:hover {
  color: var(--color-ocean-blue);
  border-color: var(--color-ocean-blue);
}

.single-post-page .sidebar-topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-post-page .sidebar-topics-list li {
  margin: 0;
}

.single-post-page .sidebar-topics-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--color-wisis-pink);
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-tundora);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35; /* 21.6px */
  letter-spacing: 0.03em; /* 0.48px */
  text-decoration: none;
}

/* Decorative dot — wisis-pink is never used for text. */
.single-post-page .sidebar-topics-list a::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 2.5px;
  background: var(--color-wisis-pink);
}

.single-post-page .sidebar-topics-list a:hover {
  background: var(--color-cream);
  color: var(--color-near-black);
}

/* --- most read (268:2298) --- */
.single-post-page .sidebar-most-read {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.single-post-page .sidebar-heading {
  margin: 0;
  color: var(--color-near-black);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem); /* → 48px */
  font-weight: 300;
  line-height: 1.283; /* 61.6px */
  letter-spacing: -0.0233em; /* -1.12px */
}

.single-post-page .sidebar-most-read-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.single-post-page .sidebar-post {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  min-height: 188px;
  background: var(--color-white);
}

.single-post-page .sidebar-post img {
  width: 144px;
  height: 100%;
  margin: 0;
  object-fit: cover;
  background: var(--color-stone);
}

.single-post-page .sidebar-post-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 16px;
}

.single-post-page .sidebar-post-cats {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-slate-gray);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.8; /* 21.6px */
  letter-spacing: 0.04em; /* 0.48px */
}

/* Decorative separator — wisis-pink is never used for text. */
.single-post-page .sidebar-post-cats span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 2.5px;
  background: var(--color-wisis-pink);
}

.single-post-page .sidebar-post h4 {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3; /* 23.4px */
  letter-spacing: 0.01em;
}

.single-post-page .sidebar-post h4 a {
  color: var(--color-near-black);
  text-decoration: none;
}

.single-post-page .sidebar-post h4 a:hover {
  color: var(--color-ocean-blue);
}

.single-post-page .sidebar-post-cta {
  align-self: flex-start;
  margin-top: auto;
  border-bottom: 1px solid var(--color-near-black);
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.single-post-page .sidebar-archive-link {
  align-self: flex-start;
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8; /* 28.8px */
  letter-spacing: 0.01em;
  text-decoration: none;
}

.single-post-page .sidebar-archive-link:hover {
  color: var(--color-ocean-blue);
}

/* --- editorial notes (268:2069 / 268:1717) --- */
.single-post-page .sidebar-note {
  padding: 36px;
  background: var(--color-white);
}

.single-post-page .sidebar-note h3 {
  margin: 0 0 16px;
  color: var(--color-near-black);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2; /* 33.6px */
  letter-spacing: 0;
}

.single-post-page .sidebar-note p {
  margin: 0 0 12px;
  color: var(--color-slate-gray);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8; /* 28.8px */
  letter-spacing: 0.01em;
}

.single-post-page .sidebar-note p:last-child {
  margin-bottom: 0;
}

.single-post-page .sidebar-note strong {
  font-weight: 700;
}

.single-post-page .sidebar-note a {
  color: var(--color-ocean-blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* --- newsletter (268:1685) --- */
.single-post-page .sidebar-subscribe {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 33px;
  border: 1px solid var(--color-mist-blue);
  background: var(--color-link-water);
}

.single-post-page .sidebar-subscribe h3 {
  margin: 0 0 8px;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.single-post-page .sidebar-subscribe p {
  margin: 0;
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8; /* 27px */
  letter-spacing: 0.011em;
}

.single-post-page .sidebar-subscribe form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 460px;
}

.single-post-page .sidebar-subscribe input {
  width: 100%;
  padding: 16.2px 18.6px;
  border: 1px solid var(--color-light-gray);
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.2;
}

.single-post-page .sidebar-subscribe input::placeholder {
  color: var(--color-slate-gray);
}

.single-post-page .sidebar-subscribe button {
  width: 100%;
  padding: 19.19px 29.8px;
  border: 1px solid var(--color-near-black);
  border-radius: 0;
  background: var(--color-near-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em; /* 1.76px */
  text-transform: uppercase;
  cursor: pointer;
}

.single-post-page .sidebar-subscribe button:hover {
  background: color-mix(in srgb, var(--color-near-black), var(--color-white) 12%);
}

/*--------------------------------------------------------------
# Single Post — "You May Also Like" rail (268:1539)
# Reuses the homepage .cat-row-* / .post-tile component; only the
# section chrome differs. The tiles are cream with a hairline border,
# so the band behind them is white as in the design.
--------------------------------------------------------------*/
.single-post-page .related-posts {
  padding: 36px 0;
  background: var(--color-white);
}

.single-post-page .related-posts__inner {
  width: min(1336px, calc(100% - 64px));
  margin-inline: auto;
}

/* Figma 268:1547: 32px above the track, 36px below (the shared rail uses 48). */
.single-post-page .related-posts .cat-row-body {
  padding-block: 2rem 2.25rem;
}

.single-post-page .related-posts .cat-row-body::after {
  top: 2rem;
  bottom: 2.25rem;
}

/*--------------------------------------------------------------
# Single Post — responsive
--------------------------------------------------------------*/
@media (max-width: 1199.98px) {
  .single-post-page .single-post-layout__grid {
    grid-template-columns: minmax(0, 2.2fr) minmax(300px, 1fr);
    gap: 32px;
  }

  .single-post-page .blog-details--editorial .article--editorial {
    padding: 40px;
  }

  .single-post-page .sidebar-post {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 160px;
  }

  .single-post-page .sidebar-post img {
    width: 120px;
  }
}

@media (max-width: 991.98px) {
  .single-post-page .single-post-layout__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .single-post-page .blog-details--editorial .detail-content-html blockquote p {
    font-size: 36px;
  }
}

@media (max-width: 575.98px) {
  .single-post-page .article-breadcrumb,
  .single-post-page .single-post-layout,
  .single-post-page .related-posts__inner {
    width: calc(100% - 32px);
  }

  .single-post-page .article-breadcrumb__list {
    flex-wrap: wrap;
  }

  .single-post-page .article-hero {
    aspect-ratio: 4 / 3;
  }

  .single-post-page .blog-details--editorial .article--editorial {
    padding: 24px;
  }

  .single-post-page .comment-panel {
    padding: 16px;
  }

  .single-post-page .comment-form-row {
    flex-direction: column;
    gap: 16px;
  }

  .single-post-page .blog-details--editorial .detail-content-html {
    overflow-wrap: anywhere;
  }

  .single-post-page .blog-details--editorial .detail-content-html img,
  .single-post-page .blog-details--editorial .detail-content-html video,
  .single-post-page .blog-details--editorial .detail-content-html iframe {
    max-width: 100%;
    height: auto;
  }

  .single-post-page .blog-details--editorial .detail-content-html table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .single-post-page .blog-details--editorial .detail-content-html blockquote {
    gap: 16px;
  }

  .single-post-page .blog-details--editorial .detail-content-html blockquote p {
    font-size: 28px;
  }

  .single-post-page .author-signoff {
    flex-wrap: wrap;
  }

  .single-post-page .author-signoff-avatar {
    width: 80px;
    height: 80px;
  }

  .single-post-page .author-signoff-body {
    margin-left: 20px;
  }

  .single-post-page .author-signoff-social {
    width: 100%;
    margin: 16px 0 0;
  }

  .single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 0;
  }

  .single-post-page .blog-details--editorial .article-editorial-share--bottom .shareon > a {
    width: 100%;
  }

  .single-post-page .sidebar-note,
  .single-post-page .sidebar-subscribe {
    padding: 24px;
  }
}

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/
.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.blog-posts .post-img img {
  transition: 0.5s;
}

.blog-posts .post-date {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  right: 0;
  bottom: 0;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.blog-posts .post-content {
  padding: 30px;
}

.blog-posts .post-title {
  font-size: 20px;
  color: var(--heading-color);
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.blog-posts .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.blog-posts .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-posts p {
  margin-top: 20px;
}

.blog-posts hr {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-bottom: 15px;
}

.blog-posts .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
}

.blog-posts .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.blog-posts article:hover .post-title,
.blog-posts article:hover .readmore {
  color: var(--accent-color);
}

.blog-posts article:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 40px 0 30px 0;
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 0 10px;
  margin: 0 0 20px 0;
  border-left: 4px solid var(--accent-color);
}

.widget-item {
  margin-bottom: 30px;
  background-color: color-mix(in srgb, var(--default-color), transparent 98%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 30px;
  border-radius: 5px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.blog-author-widget img {
  width: 79px;
  height: 79px;
  margin-right: 20px;
  object-fit: cover;
}

.blog-author-widget h4 {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author-widget .social-links {
  margin: 5px 0;
}

.blog-author-widget .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
  font-size: 18px;
}

.blog-author-widget .social-links a:hover {
  color: var(--accent-color);
}

.blog-author-widget p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 10px 0 0 0;
}

.search-widget form {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  border-radius: 999px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-widget form input[type="text"],
.search-widget form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 0.5rem 0.35rem;
  margin: 0;
  background: transparent;
  color: var(--default-color);
  font-family: var(--nav-font);
  font-size: 0.9375rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}

.search-widget form input[type="search"]::-webkit-search-decoration,
.search-widget form input[type="search"]::-webkit-search-cancel-button,
.search-widget form input[type="search"]::-webkit-search-results-button,
.search-widget form input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search-widget form input[type="text"]:focus,
.search-widget form input[type="search"]:focus {
  outline: none;
}

.search-widget form button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 2.5rem;
  margin: 0;
  padding: 0 0.35rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  color: var(--default-color);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

.blog-author-widget-2 img {
  max-width: 160px;
}

.blog-author-widget-2 h4 {
  font-weight: 600;
  font-size: 24px;
  margin: 15px 0 0 0;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author-widget-2 .social-links {
  margin: 5px 0;
}

.blog-author-widget-2 .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin: 0 3px;
  font-size: 18px;
}

.blog-author-widget-2 .social-links a:hover {
  color: var(--accent-color);
}

.blog-author-widget-2 p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 10px 0 0 0;
}

/*--------------------------------------------------------------
# Blog Hero Section
# Figma: "EE Blog Home Draft Mockup" / Section (252:3500)
--------------------------------------------------------------*/

/* Figma layers the photo at mix-blend-soft-light 80% over pearl-pink, then a
 * white scrim. Blend-mode stacks render inconsistently across browsers, so the
 * same result is composed here as two background layers: scrim over photo. */
.blog-hero {
  position: relative;
  /* The template's "Global Sections" rule adds `padding: 40px 0` to every
   * <section>; the hero's spacing is defined by .blog-hero-inner instead. */
  padding-block: 0;
  background-color: var(--color-pearl-pink);
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.93) 32%,
      rgba(255, 255, 255, 0.42) 56%,
      rgba(255, 255, 255, 0.2) 100%
    ),
    url("../img/blog/home-hero.jpg");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center, center 22%;
}

.blog-hero-inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 7.74rem 4rem 3.05rem 3.25rem; /* 123.84 / 64 / 48.84 / 52 */
}

.blog-hero-content {
  max-width: 680px;
  /* Figma 252:3502 py-[32px] */
  padding-block: 2rem;
}

.blog-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 4.6vw, 3.8rem); /* → 60.8px */
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-near-black);
  margin: 0 0 1rem;
}

.blog-hero-intro {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: var(--color-slate-gray);
  margin: 0 0 1rem;
}

.blog-hero-intro em {
  font-style: italic;
}

/* Category rail — hairline rules top and bottom, pink dots between items. */
.blog-hero-rail {
  display: flex;
  align-items: center;
  min-height: 50px;
  border-top: 1px solid rgba(61, 58, 55, 0.14);
  border-bottom: 1px solid rgba(61, 58, 55, 0.14);
  margin-bottom: 1.5rem;
}

.blog-hero-rail-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-hero-rail-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Decorative separator — wisis-pink is never used for text. */
.blog-hero-rail-list li:not(:last-child)::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 2.5px;
  background-color: var(--color-wisis-pink);
}

.blog-hero-rail-list a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem; /* 10.9px */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-near-black);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.blog-hero-rail-list a:hover,
.blog-hero-rail-list a:focus-visible {
  color: var(--color-ocean-blue);
}

/* Search */
.blog-hero-search {
  display: flex;
  align-items: stretch;
  max-width: 680px;
}

.blog-hero-search-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 1.0125rem 1.1625rem; /* 16.2 / 18.6 */
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem; /* 15px */
  color: var(--color-near-black);
  background-color: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-right: 0;
  border-radius: 0;
  appearance: none;
}

.blog-hero-search-input::placeholder {
  color: var(--color-slate-gray);
}

.blog-hero-search-input:focus {
  outline: 2px solid var(--color-ocean-blue);
  outline-offset: -2px;
}

.blog-hero-search-input::-webkit-search-decoration,
.blog-hero-search-input::-webkit-search-cancel-button {
  appearance: none;
}

.blog-hero-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 1.8625rem; /* 19.19 / 29.8 */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem; /* 11px */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-near-black);
  border: 1px solid var(--color-near-black);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.blog-hero-search-btn:hover,
.blog-hero-search-btn:focus-visible {
  background-color: #2b2926;
  border-color: #2b2926;
}

.blog-hero-search-btn img {
  display: block;
  width: 12px;
  height: 12px;
}

@media (max-width: 991.98px) {
  .blog-hero {
    /* Narrow viewports crop the photo out of the copy's way entirely. */
    background-image: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.9) 60%,
      rgba(255, 255, 255, 0.82) 100%
    ),
    url("../img/blog/home-hero.jpg");
    background-position: center, center 25%;
  }

  .blog-hero-inner {
    padding: 4.5rem 1.5rem 2.5rem;
  }

  .blog-hero-rail-list {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .blog-hero-inner {
    padding: 3.5rem 1.25rem 2rem;
  }

  .blog-hero-search {
    flex-direction: column;
  }

  .blog-hero-search-input {
    border-right: 1px solid var(--color-light-gray);
  }

  .blog-hero-search-btn {
    padding-block: 1rem;
  }
}

/*--------------------------------------------------------------

/*--------------------------------------------------------------
# Browse by Etiquette Topic — category rails
# Figma: "Container" 252:3614 / "Group 31" 252:3621
--------------------------------------------------------------*/
.cat-rows-section {
  background-color: var(--color-white);
  padding-block: 4rem 1rem;
}

.cat-rows-inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* Figma 252:3617 — Jost SemiBold 14px / 16.5px, letter-spacing 2.2px, centred. */
.cat-rows-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem; /* 14px */
  line-height: 1.18;   /* 16.5px */
  letter-spacing: 0.157em; /* 2.2px */
  text-transform: uppercase;
  text-align: center;
  color: var(--color-slate-gray);
  margin: 0 0 1rem; /* 16px gap to the heading */
}

/* Figma 252:3619 — Butler Light 64px / 70.4px, letter-spacing -1.28px, centred. */
.cat-rows-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 4rem); /* → 64px */
  line-height: 1.1;                    /* 70.4px */
  letter-spacing: -0.02em;             /* -1.28px */
  text-align: center;
  color: var(--color-near-black);
  margin: 0 0 3rem;
}

/* --- one rail --- */
/* The ZenBlog template paints every <section> with --background-color (cream,
 * main.css "Global Sections"). These rails are nested sections on a white
 * band, so the inherited fill has to be cleared or the cream cards vanish. */
.cat-row {
  background-color: transparent;
  /* Same "Global Sections" rule as the hero: every <section> gets
   * `padding: 40px 0`, which added 80px to each of the six rows. */
  padding-block: 0;
}

/* Flush: six 523px rows fill the design's 3136px frame exactly. */
.cat-row + .cat-row {
  margin-top: 0;
}

.cat-row-head {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem;
}

.cat-row-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem; /* 28px */
  line-height: 1.2;
  color: var(--color-near-black);
  margin: 0;
  white-space: nowrap;
}

.cat-row-rule {
  flex: 1 1 auto;
  min-width: 1rem;
  height: 1px;
  background-color: var(--color-light-gray);
}

.cat-row-archive {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem; /* 11px */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-near-black);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--color-near-black);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cat-row-archive:hover,
.cat-row-archive:focus-visible {
  color: var(--color-ocean-blue);
  border-color: var(--color-ocean-blue);
}

.cat-row-body {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  /* Figma 252:3629 — body top 82.59 against a 49.6 head, so 33px; pb 48px. */
  padding-block: 2.0625rem 3rem;
}

/* Right-edge fade, matching the design's 48px gradient. */
.cat-row-body::after {
  content: "";
  position: absolute;
  top: 2.0625rem;
  bottom: 3rem;
  right: 3.5rem;
  width: 48px;
  pointer-events: none;
  background-image: linear-gradient(to left, var(--color-white), rgba(255, 255, 255, 0));
  opacity: 1;
  transition: opacity 0.2s ease;
}

.cat-row-body.is-scrolled-end::after {
  opacity: 0;
}

.cat-row-track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cat-row-track::-webkit-scrollbar {
  display: none;
}

.cat-row-next {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 1.375rem; /* 22px */
  line-height: 1;
  color: var(--color-near-black);
  background-color: transparent;
  border: 1px solid var(--color-near-black);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cat-row-next:hover,
.cat-row-next:focus-visible {
  background-color: var(--color-near-black);
  color: var(--color-white);
}

.cat-row-empty {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-slate-gray);
  padding-block: 1.5rem 3rem;
  margin: 0;
}

/* --- post tile --- */
.post-tile {
  flex: 0 0 385px;
  max-width: 385px;
  scroll-snap-align: start;
  background-color: var(--color-cream);
  border: 1px solid var(--color-light-gray);
}

.post-tile-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.post-tile-media {
  position: relative;
  display: block;
  height: 225px;
  overflow: hidden;
  background-color: var(--color-stone);
}

.post-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-tile-link:hover .post-tile-media img,
.post-tile-link:focus-visible .post-tile-media img {
  transform: scale(1.03);
}

.post-tile-date {
  position: absolute;
  top: 16px;
  right: 17px;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.625rem; /* 10px */
  line-height: 1.8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: rgba(61, 58, 55, 0.72);
  backdrop-filter: blur(2px);
}

.post-tile-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.5rem 2rem;
}

.post-tile-cats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem; /* 12px */
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--color-slate-gray);
}

/* Decorative separator — wisis-pink is never used for text. */
.post-tile-cats span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 0.5rem;
  vertical-align: middle;
  border-radius: 2.5px;
  background-color: var(--color-wisis-pink);
}

.post-tile-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem; /* 18px */
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--color-near-black);
  margin: 0.25rem 0 1rem;
}

.post-tile-cta {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem; /* 11px */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-near-black);
  border-bottom: 1px solid var(--color-near-black);
}

@media (max-width: 991.98px) {
  .cat-rows-section {
    padding-block: 3rem 0.5rem;
  }

  .cat-rows-inner {
    padding-inline: 1.5rem;
  }

  .cat-row-head {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .cat-row-title {
    white-space: normal;
  }

  .cat-row-rule {
    display: none;
  }

  .post-tile {
    flex-basis: 300px;
    max-width: 300px;
  }

  /* Touch scrolling replaces the nudge button. */
  .cat-row-next {
    display: none;
  }

  .cat-row-body::after {
    right: 0;
  }
}

@media (max-width: 575.98px) {
  .cat-rows-inner {
    padding-inline: 1.25rem;
  }

  .post-tile {
    flex-basis: 262px;
    max-width: 262px;
  }

  .post-tile-body {
    padding: 1.25rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cat-row-track {
    scroll-behavior: auto;
  }

  .post-tile-media img {
    transition: none;
  }
}

/*--------------------------------------------------------------
# Press Marquee ("As Seen In")
--------------------------------------------------------------*/
/* Ported from ../elevate-etiquette-site (react-app PressMarquee.tsx + the
 * matching styles.css rules): white ground between two dusty-pink hairlines,
 * a 32px box above the logos with the eyebrow sitting on its baseline, and
 * 32px below. The blog copy had drifted to a cream ground with grey rules,
 * which is why the homepage needed a `.index-page` override to look right. */
.press-marquee {
  display: flex;
  flex-direction: column;
  padding: 0 0 2rem;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-dusty-pink);
  border-bottom: 1px solid var(--color-dusty-pink);
}

.press-marquee-pretext {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 2rem;
}

.press-marquee-eyebrow {
  width: 100%;
  margin: 0;
  color: var(--color-near-black);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.52px;
  line-height: 16.5px;
  text-align: center;
  text-transform: uppercase;
}

.press-marquee-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.press-marquee-track {
  display: flex;
  align-items: center;
  gap: 5rem;
  width: max-content;
  padding: 0 2.5rem;
  animation: press-marquee-scroll 60s linear infinite;
  will-change: transform;
}

.press-marquee-viewport:hover .press-marquee-track,
.press-marquee-viewport:focus-within .press-marquee-track {
  animation-play-state: paused;
}

.press-marquee-logo {
  flex: none;
  width: auto;
  max-height: 90px;
  object-fit: contain;
}

@keyframes press-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 1100px) {
  .press-marquee-viewport {
    box-sizing: border-box;
    padding-inline: 2rem;
    mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  }
  .press-marquee-track {
    gap: 2.5rem;
    padding: 0 1.5rem;
  }
  .press-marquee-logo {
    max-height: 58px;
  }
}

@media (max-width: 768px) {
  .press-marquee {
    padding-bottom: 1rem;
  }
  .press-marquee-pretext {
    height: 1rem;
  }
  .press-marquee-viewport {
    padding-inline: 1rem;
    mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
  }
  .press-marquee-track {
    gap: 2rem;
    padding: 0 1.25rem;
    animation-duration: 45s;
  }
  .press-marquee-logo {
    max-height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-marquee-track {
    animation: none;
  }
}

/*--------------------------------------------------------------
# Category Nav Bar
--------------------------------------------------------------*/
.category-nav-section {
  background-color: var(--palette-cream-soft);
  border-bottom: 1px solid var(--palette-cream-tint);
  padding: 0.9rem 0;
}

.category-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.category-nav-label {
  font-family: var(--default-font);
  font-style: italic;
  font-size: 15px;
  color: var(--accent-color);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  align-self: center;
}

.category-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
}

.category-nav-links .category-chip {
  font-family: var(--nav-font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--default-color);
  text-decoration: none;
  padding: 0.2rem 0.75rem;
  border: none;
  border-radius: 0;
  background: transparent;
  transition: color 0.2s;
  position: relative;
}

.category-nav-links .category-chip + .category-chip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 75%);
}

.category-nav-links .category-chip:hover {
  color: var(--accent-dark);
  background: transparent;
  border: none;
}

.category-nav-links .category-chip.category-chip-active {
  color: var(--accent-dark);
  font-weight: 700;
  background: transparent;
  border: none;
}

.category-search-wrap {
  display: flex;
  /*align-items: center;*/
  justify-content: center;
  margin-top: 0.75rem;
  gap: 0;
}



/* Second Point */
.trending-category .trending .trending-post li a .number {
position: absolute;
z-index: 1;
font-size: 5rem;
left: 8px;
top: 0px; /* -8px to 0px */
font-weight: 700;
line-height: 0.9;
pointer-events: none;
font-family: var(--heading-font);
color: color-mix(in srgb, var(--default-color), transparent 95%);
}
.trending-category .trending>h3 {
color: var(--default-color);
padding: 20px;
border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
margin: 0px; /* add margin 0px */
}

/* Third Point */
/* Forth Point */
/* max width 1200 to 767px */
@media (max-width: 767px) {
.header-right .header-social-links, .header-right .header-subscribe-btn, .header-right #ee-google-translate {
display: none;
}
}
/* Fifth Point */
@media(max-width:767px){
.header-right {
display: none;
}
}
/* Sixth Point */
.category-chip.category-chip-active {
border-color: var(--accent-color);
color: var(--color-white); /* change variable name accent-color to color-white */
background: var(--color-mist-blue);
font-weight: 600;
}

.category-search-input {
  width: 100%;
  max-width: 440px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 78%);
  border-right: none;
  border-radius: 999px 0 0 999px;
  padding: 0.5rem 1.1rem;
  font-family: var(--default-font);
  font-size: 0.9rem;
  color: var(--default-color);
  background: var(--color-white);
  outline: none;
  transition: border-color 0.2s;
}

.category-search-input:focus {
  border-color: var(--accent-color);
}

.category-search-btn {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 78%);
  border-radius: 0 999px 999px 0;
  background: var(--color-white);
  color: var(--default-color);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1;
}

.category-search-btn:hover {
  color: var(--accent-dark);
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Category Chips (archive / general use)
--------------------------------------------------------------*/
.category-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  font-size: 0.84rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  text-decoration: none;
  transition: 0.25s ease;
  background: var(--color-white);
}

.category-chip:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: var(--color-sky-blue);
}

.category-chip.category-chip-active {
  border-color: var(--accent-color);
  color: var(--color-white);
  background: var(--color-mist-blue);
  font-weight: 600;
}

.public-muted {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.home-blog-load-screen {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--background-color), transparent 12%);
  backdrop-filter: blur(6px);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.home-blog-load-screen.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-blog-load-screen-inner {
  padding: 1.5rem 2rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background: var(--surface-color);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  max-width: min(92vw, 360px);
}

.home-blog-load-title {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  margin: 0;
  color: var(--heading-color);
}

.home-blog-load-spinner {
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  border-top-color: var(--accent-color);
  animation: home-blog-spin 0.85s linear infinite;
}

@keyframes home-blog-spin {
  to {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# About Page — extras (Featured-in, Pillars, Journey, CTA)
--------------------------------------------------------------*/

/* Secondary ghost button used next to the primary read-more in the about hero */
.about .about-actions .about-ghost-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 5px;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--accent-color);
  background: transparent;
  border: 1px solid var(--accent-color);
  transition: 0.3s;
}

.about .about-actions .about-ghost-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .about-images img {
  box-shadow: 0 18px 45px rgba(70, 83, 103, 0.08);
}

/* Featured-in strip — editorial typographic row */
.featured-in {
  padding: 48px 0;
}

.featured-in-eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-family: var(--nav-font);
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  margin: 0 0 22px;
}

.featured-in-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 32px;
}

.featured-in-list li {
  font-family: var(--heading-font);
  font-size: clamp(1.1rem, 1.4vw + 0.6rem, 1.5rem);
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.2;
  position: relative;
}

.featured-in-list li+li::before {
  content: "·";
  display: inline-block;
  margin-right: 32px;
  margin-left: -28px;
  color: color-mix(in srgb, var(--default-color), transparent 65%);
}

@media (max-width: 575px) {
  .featured-in-list { gap: 10px 18px; }
  .featured-in-list li+li::before {
    margin-right: 18px;
    margin-left: -14px;
  }
}

/* Pillars — what I teach */
.pillars .pillar-card {
  height: 100%;
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 32px 26px;
  box-shadow: 0 12px 30px rgba(70, 83, 103, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid var(--palette-cream-tint);
}

.pillars .pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(70, 83, 103, 0.12);
}

.pillars .pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-pearl-pink);
  color: var(--accent-color);
  font-size: 26px;
  margin-bottom: 18px;
}

.pillars .pillar-title {
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 10px;
}

.pillars .pillar-desc {
  margin: 0;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

/* Journey — vertical timeline of highlights */
.journey-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 10px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--palette-cream-tint) 0 6px,
    transparent 6px 12px
  );
}

.journey-item {
  position: relative;
  padding-left: 44px;
  padding-bottom: 28px;
}

.journey-item:last-child {
  padding-bottom: 0;
}

.journey-marker {
  position: absolute;
  left: 0;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 0 4px var(--color-stone);
}

.journey-content {
  background: var(--surface-color);
  border-radius: 10px;
  padding: 18px 22px;
  border: 1px solid var(--palette-cream-tint);
  box-shadow: 0 6px 18px rgba(70, 83, 103, 0.05);
}

.journey-content h4 {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 6px;
}

.journey-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/* Team card — enlarge the photo on the about page for hierarchy */
.about-page .team .team-member .pic {
  width: 200px;
}

@media (max-width: 575px) {
  .about-page .team .team-member .pic {
    width: 160px;
  }
}

/* About CTA banner */
.about-cta {
  padding: 70px 0;
}

.about-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-cta-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-family: var(--nav-font);
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  margin: 0 0 12px;
}

.about-cta-title {
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem);
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 14px;
  line-height: 1.2;
}

.about-cta-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 15px;
  transition: 0.3s;
  border: 1px solid transparent;
}

.about-cta-btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about-cta-btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 18%);
  color: var(--contrast-color);
}

.about-cta-btn-ghost {
  background: var(--surface-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.about-cta-btn-ghost:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}
