@import "./normalize.css";
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&Shade&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* =========================================
   1. Variables & Global Settings
   ========================================= */
:root {
  /* Color Palette */
  --background: #fafafa;
  --foreground: #1c1c1c;
  --primary: #f58220;
  --secondary: #ddd;
  --accent: #ff7d56;

  /* Font Families */
  --font-header: "Barlow", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-bungee: "Bungee Shade", cursive;
  --font-bangers: "Bangers", system-ui;

  /* Layout Variables */
  --page-gutter: 1rem; /* px-4 */
  --container-width: 1440px;
  --content-max-width: 896px; /* max-w-4xl */

  /* Spacing */
  --spacing-lg: 8rem; /* py-32 */
  --spacing-md: 1.5rem;

  /* Specific Component Colors */
  --font-color-primary: #f58220;
  --font-color-secondary: #374151; /* text-gray-700 */

  /* Header Configuration */
  --header-z-index: 50;
  --header-bg-white: #ffffff;
  --header-text-dark: #1c1c1c; /* gray-900 */
  --header-text-white: #ffffff;
  --header-transition: all 0.3s ease-in-out;
  --header-height-mobile: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll */
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Resets */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Utilities */
.text-primary {
  color: var(--primary) !important;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.overflow-hidden {
  overflow: hidden;
}

/* =========================================
  Component: Page Layout (Default)
  ========================================= */
.default-page {
  position: relative;
  width: 100%;
}

.default-page__container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding: var(--spacing-lg) var(--page-gutter);
}

@media (max-width: 768px) {
  .default-page__container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.default-page__article {
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}

.default-page__title {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
  color: var(--font-color-primary);
}

@media (min-width: 768px) {
  .default-page__title {
    font-size: 3rem;
  }
}

.default-page__body {
  color: var(--font-color-secondary);
}

/* Component: Entry Content (Prose) */
.entry-content {
  line-height: 1.75;
  font-size: 1.125rem;
}

.entry-content p {
  margin-bottom: 1.5em;
}

.entry-content h2,
.entry-content h3 {
  color: var(--font-color-primary);
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 1em;
}

.entry-content a {
  color: #0066cc;
  text-decoration: underline;
}

/* =========================================
   3. Component: Site Header
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: transparent;
  z-index: var(--header-z-index);
  transition: var(--header-transition);
}

.site-header--solid {
  position: fixed; /* Or fixed, depending on preference */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: var(--header-z-index);
  transition: var(--header-transition);
}

/* State: Hidden on Scroll Down */
.site-header.is-hidden {
  transform: translateY(-100%);
}

/* Element: Nav Wrapper */
.site-header__nav {
  padding: 1rem;
  transition: var(--header-transition);
  background-color: transparent;
}

@media (min-width: 768px) {
  .site-header__nav {
    padding: 1.5rem 1rem;
  }
}

/* State: Solid Background (Inner Pages or Scrolled) */
.site-header--solid .site-header__nav,
.site-header.is-scrolled .site-header__nav {
  background-color: var(--header-bg-white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Element: Container */
.site-header__container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
}

/* Element: Brand */
.site-header__brand {
  width: 180px;
  height: auto;
}

@media (min-width: 768px) {
  .site-header__brand {
    width: 230px;
  }
}

.site-header__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--header-transition);
  display: block;
}

/* Element: Menu List (Desktop) */
.site-header__desktop-menu {
  display: none;
}

@media (min-width: 1024px) {
  .site-header__desktop-menu {
    display: block;
  }
}

.site-header__menu-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  /* Default Color (Solid Header) */
  color: var(--header-text-black);
}

/* =========================================
   4. Component: Navigation Items (BEM)
   ========================================= */
.site-header__item {
  position: relative;
  list-style: none;
}

/* Link Wrapper (For flex positioning with chevron) */
.site-header__item-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* --- Top Level Links --- */
.site-header__link--top {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  z-index: 10;
}

/* Context: Transparent Header (Home Top) */
.site-header--transparent:not(.is-scrolled) .site-header__menu-list {
  color: var(--header-text-white); /* White text on transparent bg */
}

.site-header__mobile-content {
  color: var(--foreground);
}

/* Hover State */
.site-header__item:hover .site-header__link--top {
  color: var(--primary);
}

/* --- Hover Border Effect (Desktop) --- */
.site-header__hover-border {
  display: none;
  position: absolute;
  inset: 0;
  border: 2px solid var(--primary);
  border-radius: 4px;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .site-header__hover-border {
    display: block;
  }
  .site-header__item:hover .site-header__hover-border {
    opacity: 1;
  }
}

/* --- Submenu (Dropdown) --- */
.site-header__submenu {
  background-color: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
  display: none; /* JS toggles this on mobile */
}

.site-header__link--sub {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
  /* CRITICAL FIX: Always dark text in dropdowns, even if header is transparent */
  color: var(--header-text-dark) !important;
}

.site-header__link--sub:hover {
  background-color: #f3f4f6; /* gray-100 */
  color: var(--primary) !important;
}

/* Desktop Submenu Logic */
@media (min-width: 1024px) {
  .site-header__submenu--main {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    margin-top: 0.75rem;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;

    /* Animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 50;
  }

  .site-header__item:hover > .site-header__submenu--main {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* =========================================
   5. Mobile Controls
   ========================================= */
.site-header__mobile-toggle {
  display: block;
}

@media (min-width: 1024px) {
  .site-header__mobile-toggle {
    display: none;
  }
}

.site-header__toggle-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--header-transition);
  color: var(--header-text-dark);
}

/* Mobile Toggle Color on Transparent Header */
.site-header--transparent:not(.is-scrolled) .site-header__toggle-btn {
  color: var(--header-text-white);
}

.site-header__mobile-drawer {
  position: fixed;
  top: var(--header-height-mobile);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height-mobile));
  background-color: white;
  z-index: 40;
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
  overflow-y: auto;
}

.site-header__mobile-drawer.is-open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .site-header__mobile-drawer {
    display: none;
  }
}

.site-header__mobile-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-header__mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Mobile Chevron */
.site-header__submenu-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: inherit;
}

.site-header--transparent:not(.is-scrolled) .site-header__submenu-toggle {
  color: var(--header-text-white);
}

.site-header__chevron {
  font-size: 0.75rem;
  transition: transform 0.3s;
}

.rotate-180 {
  transform: rotate(180deg);
}

/* =========================================
   Global Component: Buttons (Reusable)
   ========================================= */
.btn {
  display: inline-block;
  padding: 0.75rem 2.5rem; /* px-10 py-3 */
  border: none;
  border-radius: 0.5rem;
  font-weight: 500; /* font-medium */
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%; /* w-full on mobile default */
}

.btn--rounded {
  border-radius: 9999px; /* rounded-full */
}

@media (min-width: 768px) {
  .btn {
    width: auto; /* md:w-auto */
  }
}

.btn--white {
  background-color: #ffffff;
  color: var(--foreground);
}

.btn--white:hover {
  background-color: #f3f4f6;
}

.btn--primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: var(--accent); /* Optional darken/lighten on hover */
}

/* =========================================
   Block: CTA Section
   ========================================= */
.cta-section {
  position: relative;
  width: 100%;
  background-color: var(--foreground);
  color: #ffffff;
}

.cta-section__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 2rem var(--page-gutter); /* py-8 px-4 */
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-section__container {
    padding-top: 4rem; /* md:py-16 */
    padding-bottom: 4rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-section__header {
  max-width: 48rem; /* max-w-3xl */
  margin-bottom: 2.5rem; /* mb-10 */
  color: #ffffff;
}

.cta-section__title {
  font-size: 2.25rem; /* text-4xl */
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 400;
}

@media (min-width: 768px) {
  .cta-section__title {
    font-size: 4.5rem; /* text-7xl approx */
  }
}

.cta-section__description {
  font-size: 1rem; /* text-md */
  line-height: 1.6;
  opacity: 0.9;
}

.cta-section__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .cta-section__actions {
    width: auto;
    flex-direction: row;
  }
}

/* =========================================
   Block: Site Footer
   ========================================= */
.site-footer {
  position: relative;
  background-color: #ffffff;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid #e5e7eb; /* border-gray-200 */
}

/* Element: Background SVG */
.site-footer__bg-img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  object-fit: cover;
}

@media (min-width: 768px) {
  .site-footer__bg-img {
    width: 579px;
    height: 550px;
  }
}

.site-footer__container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 2rem var(--page-gutter); /* py-8 px-4 */
}

@media (min-width: 768px) {
  .site-footer__container {
    padding-top: 4rem; /* md:pt-16 */
  }
}

/* --- Top Grid --- */
.site-footer__top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem; /* gap-10 */
  margin-bottom: 5rem; /* mb-20 */
  font-size: 0.875rem; /* text-sm */
  color: var(--font-color-secondary);
}

@media (min-width: 768px) {
  .site-footer__top-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr; /* md:grid-cols-5 (2 spans for brand, 3 for cols) */
  }
}

/* Column: Brand Specifics */
.site-footer__col--brand {
  /* No specific styles needed unless overriding grid */
}

.site-footer__brand-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .site-footer__brand-wrapper {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.site-footer__logo-link {
  display: block;
  width: 230px;
  flex-shrink: 0;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .site-footer__logo-link {
    margin-bottom: 0;
  }
}

.site-footer__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-footer__brand-desc {
  text-align: center;
  flex: 1;
  color: var(--font-color-secondary);
}

@media (min-width: 768px) {
  .site-footer__brand-desc {
    text-align: left;
  }
}

/* Social Icons */
.site-footer__socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .site-footer__socials {
    align-items: flex-start;
  }
}

.site-footer__social-label {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: rgba(28, 28, 28, 0.6); /* foreground/60 */
}

.site-footer__social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Social Icon Component */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem; /* fallback size definition if needed */
  transition: all 0.2s;
}

.social-icon i {
  color: var(--primary);
  font-size: 1.25rem;
  transition: color 0.2s;
}

.social-icon:hover i {
  color: var(
    --primary
  ); /* Keeps color or changes based on design preference. Original code hovered to white? */
}

/* Per your original code: hover:text-white */
/* Wait, in original code: .icon-container hover:text-white */
/* Since we don't have bg containers in your original code visible, assuming icons turn white? */
/* Actually, let's stick to simple primary hover if there is no background circle */
.social-icon:hover i {
  color: var(--accent);
}

/* Columns: Headings & Links */
.site-footer__heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__link {
  text-decoration: none;
  color: var(--font-color-secondary);
  transition: color 0.2s;
}

.site-footer__link:hover {
  color: var(--primary);
}

.site-footer__link--icon i {
  margin-right: 0.5rem;
  color: var(--font-color-secondary);
}

/* Divider */
.site-footer__divider {
  border: 0;
  height: 1px;
  background-color: var(--secondary);
  margin-bottom: 1.25rem;
}

/* --- Bottom Grid ("Let's Talk") --- */
.site-footer__bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__bottom-grid {
    grid-template-columns: 4fr 1fr;
  }
}

.site-footer__big-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer__big-text {
  font-size: 4.5rem; /* text-7xl */
  font-weight: 400;
  color: var(--foreground);
  margin: 0;
  line-height: 1;
}

.site-footer__big-arrow {
  font-size: 4.5rem;
  color: var(--foreground);
  transform: rotate(45deg);
}

@media (min-width: 768px) {
  .site-footer__big-text {
    font-size: 9.375rem; /* Large desktop size */
  }
  .site-footer__big-arrow {
    font-size: 9.375rem;
    transform: rotate(60deg);
  }
}

/* Legal / Copyright */
.site-footer__legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__copyright {
  white-space: nowrap;
}

/* =========================================
   Component: Blog Card
   ========================================= */

.blog-card {
  /* Layout */
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;

  /* Appearance (Glassmorphism look from original bg-white/30) */
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px); /* Optional: Adds the blur effect */
  border-radius: 0.5rem; /* rounded-lg */
  padding: 1rem; /* p-4 */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */

  /* Animation base */
  transition: transform 0.3s ease;
}

/* Element: Image Wrapper */
.blog-card__img-link {
  display: block;
  overflow: hidden; /* Necessary for hover zoom effect */
  border-radius: 1rem; /* rounded-2xl */
  margin-bottom: 1rem; /* mb-4 */
  cursor: pointer;
}

/* Element: Image */
.blog-card__img {
  width: 100%;
  height: 100%; /* Enforce height consistency */
  object-fit: cover;
  transition: transform 0.7s ease; /* duration-700 */
  border-radius: 1rem;
}

.blog-card-img__placeholder {
  width: 100%;
  height: 250px;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 1.5rem;
  object-fit: cover;
}

/* Hover Effect: Scale Image */
.blog-card__img-link:hover .blog-card__img {
  transform: scale(1.05);
}

/* Element: Date */
.blog-card__date {
  font-size: 0.875rem; /* text-sm */
  color: #6b7280; /* text-gray-500 */
  margin-bottom: 0.5rem;
  display: block;
}

/* Element: Title */
.blog-card__title {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .blog-card__title {
    font-size: 1.25rem; /* md:text-xl */
  }
}

.blog-card__title-link {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
}

.blog-card__title-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Element: Excerpt */
.blog-card__excerpt {
  font-size: 0.875rem; /* text-sm */
  color: #4b5563; /* text-gray-600 */
  margin-top: 0.5rem;
  flex: 1; /* Pushes footer to bottom */
  line-height: 1.6;
}

@media (min-width: 768px) {
  .blog-card__excerpt {
    font-size: 1rem; /* md:text-md */
  }
}

/* Element: Footer */
.blog-card__footer {
  margin-top: 1.5rem; /* mt-6 approx */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Element: Author Wrapper */
.blog-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  color: var(--font-color-secondary);
}

.blog-card__avatar {
  width: 2rem; /* w-8 */
  height: 2rem; /* h-8 */
  border-radius: 9999px; /* rounded-full */
  object-fit: cover;
}

.blog-card__author-name {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Element: Action Button (Extends .btn) */
.btn--sm {
  padding: 0.5rem 1rem; /* px-4 py-2 */
  font-size: 0.875rem; /* text-sm */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: auto; /* Override w-full from default .btn on mobile */
}

.blog-card__arrow-icon {
  transform: rotate(-45deg);
  transition: transform 0.3s;
}

.btn--sm:hover .blog-card__arrow-icon {
  transform: rotate(0deg); /* Optional: Animate arrow on hover */
}

/* =========================================
   Utility: Background Blobs
   ========================================= */
.blob {
  display: none;
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: rgba(245, 130, 32, 0.1);
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 0%,
    transparent 70%
  );
  z-index: 0;
}

@media (min-width: 768px) {
  .blob {
    display: block;
  }
}

.blob--top-center {
  top: 0;
  right: 50%;
  transform: translateX(50%);
}
.blob--left-center {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.blob--bottom-right {
  bottom: -10rem;
  right: 0;
}

.bg-light {
  background-color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   Block: Hero
   ========================================= */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 500px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    height: 500px;
  }
}

.hero__bg-img {
  object-fit: cover;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 10;
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 8rem var(--page-gutter) 4rem; /* Top padding clears fixed header */
}

.hero__content {
  margin-bottom: 2.5rem;
  max-width: 56rem; /* 4xl */
  text-align: center;
  color: #fff;
}

.hero__title {
  font-size: 3rem; /* text-5xl */
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3.75rem; /* text-6xl */
  }
}

.hero__desc {
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero__desc {
    font-size: 1.125rem;
  }
}

/* Hero Form */
.hero__form {
  position: relative;
  width: 100%;
  max-width: 32rem; /* max-w-lg */
  display: flex;
  background-color: white;
  padding: 0.5rem;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero__input {
  width: 100%;
  padding: 0.75rem;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: var(--font-color-primary);
}

.hero__submit {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.25rem;
  cursor: pointer;
}

/* =========================================
   Section: Featured Blogs
   ========================================= */

.featured-blogs {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Container: container mx-auto px-4 py-8 md:py-16 */
.featured-blogs__container {
  width: 100%;
  max-width: var(
    --container-width,
    1280px
  ); /* Fallback to standard Tailwind container */
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 768px) {
  .featured-blogs__container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Layout: grid grid-cols-1 lg:grid-cols-2 gap-6 */
.featured-blogs__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .featured-blogs__layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* Sub Grid (Right Side): w-full grid grid-cols-1 lg:grid-cols-2 gap-6 */
.featured-blogs__sub-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .featured-blogs__sub-grid {
    grid-template-columns: 1fr 1fr;
    align-content: start;
  }
}

/* =========================================
   Component: Featured Blog Card (fb-card)
   ========================================= */

/* Base Wrapper: rounded-lg overflow-hidden flex flex-col */
.fb-card {
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  background-color: transparent; /* Assuming white is default or inherited */
}

/* Hero Specific: md:w-[740px] logic handled by grid, 
   but we ensure it fills the column */
.fb-card--hero {
  width: 100%;
}

/* --- Media / Image --- */
.fb-card__media-wrapper {
  display: block;
  overflow: hidden;
  width: 100%;
}

/* Image: w-full h-auto object-cover hover:scale-105 transition duration-700 */
.fb-card__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 700ms ease;
  display: block;
}

.fb-card-image__placeholder {
  width: 100%;
  height: 250px;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 1.5rem;
  object-fit: cover;
}

.fb-card--hero .fb-card-image__placeholder {
  height: 506px;
}

.post-content-img__placeholder {
  width: 100%;
  height: 100%;
  max-height: 552px;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 1.5rem;
  object-fit: cover;
}

.fb-card__media-wrapper:hover .fb-card__image {
  transform: scale(1.05);
}

/* --- Body Content --- */
/* p-4 flex flex-col flex-1 space-y-4 */
.fb-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem; /* Replaces space-y-4 */
}

/* Date: text-sm text-gray-500 */
.fb-card__date {
  font-size: 0.875rem;
  color: #6b7280;
}

/* --- Titles --- */
.fb-card__title {
  margin: 0;
  line-height: 1.2;
}

.fb-card__title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

/* Hero Title: text-2xl md:text-3xl font-medium text-primary */
.fb-card__title--large {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary, #f58220);
}

@media (min-width: 768px) {
  .fb-card__title--large {
    font-size: 1.875rem;
  }
}

.fb-card__title--large a:hover {
  text-decoration: underline;
}

/* Small Title: text-md font-semibold hover:text-primary */
.fb-card__title--small {
  font-size: 1rem; /* 16px roughly matches text-md/base */
  font-weight: 600;
  color: inherit;
}

.fb-card__title--small a:hover {
  color: var(--primary, #f58220);
  text-decoration: underline;
}

/* --- Excerpt --- */
/* text-gray-600 flex-1 */
.fb-card__excerpt {
  color: #4b5563;
  flex: 1;
  margin: 0;
}

/* --- Footer (Hero Only) --- */
/* flex items-center justify-between */
.fb-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* Author: flex items-center gap-2 text-gray-700 */
.fb-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
}

/* Avatar: w-14 h-14 rounded-full hover:scale-110 transition duration-700 */
.fb-card__avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  transition: transform 700ms ease;
}

.fb-card__author:hover .fb-card__avatar {
  transform: scale(1.1);
}

/* Link: text-primary font-medium hover:underline */
.fb-card__link {
  color: var(--primary, #f58220);
  font-weight: 500;
  text-decoration: none;
}

.fb-card__link i {
  margin-left: 0.25rem; /* ml-1 */
}

.fb-card__link:hover {
  text-decoration: underline;
}

/* =========================================
   Background Blobs (Decor)
   ========================================= */

.featured-blogs__decor {
  display: none; /* hidden */
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: rgba(245, 130, 32, 0.1);
  pointer-events: none;

  /* Masking */
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 0%,
    transparent 70%
  );
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

/* md:block */
@media (min-width: 768px) {
  .featured-blogs__decor {
    display: block;
  }
}

.featured-blogs__decor--top {
  top: 0;
  right: 50%;
  transform: translateX(50%);
}

.featured-blogs__decor--left {
  top: 50%;
  left: 0;
}

.featured-blogs__decor--bottom {
  bottom: -10rem; /* -bottom-40 (40 * 0.25rem = 10rem) */
  right: 0;
}

.cutout-article {
  clip-path: url(#cutout-hex);
  -webkit-clip-path: url(#cutout-hex);
}

/* =========================================
   Section: Blog List
   ========================================= */

.blog-list {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.blog-list__container {
  width: 100%;
  max-width: var(--container-width, 1280px);
  margin: 0 auto;
  padding: 0 1rem 4rem 1rem; /* Top padding is 0 because decoration handles spacing */
}

/* --- The Grid --- */
.blog-list__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .blog-list__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-list__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-list__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #6b7280;
  font-size: 1.125rem;
  padding: 2rem;
}

/* --- Load More & Actions --- */
.blog-list__actions {
  text-align: center;
  margin-top: 2.5rem;
}

/* Pagination (Fallback) */
.blog-list__pagination {
  margin-top: 2.5rem;
}

.blog-list__pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  text-decoration: none;
  color: #374151;
}

.blog-list__pagination .current {
  background-color: var(--primary, #f58220);
  color: white;
  border-color: var(--primary, #f58220);
}

/* --- Decor (Reusing logic from Featured, or defined separately) --- */
.blog-list__decor {
  display: none;
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: rgba(245, 130, 32, 0.1);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 0%,
    transparent 70%
  );
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

@media (min-width: 768px) {
  .blog-list__decor {
    display: block;
  }
}

.blog-list__decor--top {
  top: 0;
  right: 50%;
  transform: translateX(50%);
}

.blog-list__decor--left {
  top: 50%;
  left: 0;
}

.blog-list__decor--bottom {
  bottom: -10rem;
  right: 0;
}

/* =========================================
   Template: Single Post
   ========================================= */
.single-post {
  width: 100%;
}

.single-post__container {
  width: 100%;
  max-width: 1536px; /* max-w-screen-2xl */
  margin: 0 auto;
  padding-top: 7rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .single-post__container {
    padding-top: 10rem;
  }
}

/* Layout: Sidebar on Right */
.single-post__layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
}

@media (min-width: 1024px) {
  .single-post__layout {
    display: grid;
    grid-template-columns: 1fr 380px; /* lg:grid-cols-[1fr_380px] */
    align-items: start;
  }
}

@media (min-width: 1280px) {
  .single-post__layout {
    grid-template-columns: 1fr 460px; /* xl:grid-cols-[1fr_460px] */
    gap: 3rem;
  }
}

/* --- Main Content Area --- */
.single-post__main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .single-post__main {
    flex-direction: row; /* For sticky socials on left */
    gap: 2rem;
  }
}

/* Sticky Socials (Left Side) */
.sticky-share {
  display: none; /* hidden on mobile */
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.25rem;
  position: sticky;
  top: 8rem;
  height: fit-content;
  flex-shrink: 0;
  z-index: 10;
}

@media (min-width: 1024px) {
  .sticky-share {
    display: flex;
  }
}

.sticky-share__link {
  color: #374151;
  transition: color 0.2s ease;
}

.sticky-share__link:hover {
  color: var(--primary, #f58220);
}

/* Post Content Wrapper */
.post-content {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0; /* prevent overflow */
}

/* Hero Image */
.post-content__hero {
  width: 100%;
  height:100%;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
  /* Aspect Ratio hacks if not supported */
  /*aspect-ratio: 16/9;*/
}

/*@media (min-width: 1024px) {*/
/*  .post-content__hero {*/
    /* FIX: Prevents image from being too tall on ultra-wide screens */
/*    max-height: 550px;*/
/*  }*/
/*}*/

.post-content__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-content-img__placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 1.5rem;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Header */
.post-content__header {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.post-content__title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 600;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .post-content__title {
    font-size: 2.25rem;
  }
}
@media (min-width: 768px) {
  .post-content__title {
    font-size: 3rem;
  }
}

.post-content__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.meta-item--author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
}

.meta-avatar {
  border-radius: 9999px;
  width: 2rem;
  height: 2rem;
}

.post-content__cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

/* Generic Chip Style */
.chip {
  padding: 0.375rem 1rem;
  background-color: #f3f4f6;
  color: #374151;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.chip:hover {
  background-color: rgba(245, 130, 32, 0.1);
  color: var(--primary, #f58220);
}

.chip--sidebar {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
}

/* Rich Text Body */
.rich-text {
  font-size: 1.3125rem;
  line-height: 1.8;
  color: var(--header-text-dark) !important;
}

/* Add basic typography styles if you don't have a prose plugin */
.rich-text h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
}
.rich-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
}
.rich-text p {
  margin-bottom: 1.5rem;
}
.rich-text ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.rich-text img {
  border-radius: 0.5rem;
  max-width: 100%;
  height: auto;
}
.rich-text a {
  color: #1b75d0;
  text-decoration: underline;
  transition: color 0.2s ease;
}

/* Bottom Share Bar */
.share-bar {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  color: #fff;
}

.share-btn:hover {
  opacity: 0.9;
}

/* Share Brand Colors */
.share-btn--fb {
  background-color: #1877f2;
}
.share-btn--insta {
  background: linear-gradient(to right, #f58529, #dd2a7b, #8134af);
}
.share-btn--in {
  background-color: #0077b5;
}
.share-btn--tiktok {
  background-color: #000;
}
.share-btn--snap {
  background-color: #fffc00;
  color: #000;
}
.share-btn--pin {
  background-color: #e60023;
}

/* --- Sidebar --- */
.single-post__sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-self: start;
}

@media (min-width: 1024px) {
  .single-post__sidebar {
    position: sticky;

    top: 10rem;

    align-self: start;
    height: fit-content;
    z-index: 10;

    transition: top 0.3s ease-in-out;
  }

  body.header-is-hidden .single-post__sidebar {
    top: 1rem;
  }
}

.sidebar-widget {
  background-color: transparent;
}

.sidebar-widget--pinterest {
  background-color: #fff;
  padding: 1rem; /* p-4 */
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .sidebar-widget--pinterest {
    padding: 1.5rem;
  }
}

.sidebar-widget__title {
  background-color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 1rem;
}

.widget-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 640px) {
  .widget-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .widget-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pinterest-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
}

.pinterest-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  border: 0;
}

/* =========================================
   Section: Locations Footer
   ========================================= */

.locations-section {
  background: linear-gradient(to bottom right, #f9fafb, #ffffff, #f3f4f6);
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.locations-section__container {
  max-width: 1440px;
  margin: 0 auto;
}

.locations-section__header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.locations-section__title {
  font-size: 3rem; /* text-5xl */
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.locations-section__desc {
  color: #4b5563;
  font-size: 1.125rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .locations-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Map Card */
.map-card {
  background-color: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.map-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.map-card__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.map-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary); /* Default or specific color */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.map-card__icon--alt {
  background-color: #4b5563; /* Gray variant */
}

.map-card__city {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.map-card__sub {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.map-card__link {
  color: var(--primary, #f58220);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.map-card__link:hover {
  text-decoration: underline;
}

.map-card__frame {
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 0.75rem;
}

.map-card__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================================
   Page: 404 Error
   ========================================= */

.error-page {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh; /* Ensure it takes up vertical space */
  text-align: center;
  padding: 8rem 1rem; /* py-32 equivalent */
}

.error-page__container {
  width: 100%;
  max-width: var(--container-width, 1280px);
  margin: 0 auto;
}

.error-page__title {
  font-size: 4rem; /* Fallback */
  font-weight: 700;
  color: var(--primary, #f58220);
  margin-bottom: 1rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .error-page__title {
    font-size: 6rem; /* text-6xl */
  }
}

.error-page__desc {
  font-size: 1.125rem; /* text-lg */
  color: #4b5563; /* gray-600 */
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   Page: Archive (Category/Tag)
   ========================================= */

.archive-section {
  width: 100%;
  position: relative;
}

.archive-section__container {
  width: 100%;
  max-width: var(--container-width, 1280px);
  margin: 0 auto;
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .archive-section__container {
    padding-top: 8rem; /* matches py-32 (8rem) roughly */
    padding-bottom: 8rem;
  }
}

/* --- Header --- */
.archive-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.archive-header__title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .archive-header__title {
    font-size: 3rem; /* text-5xl */
  }
}

/* Hide the "Category: " prefix automatically added by WP if desired */
/* .archive-header__title span { display: none; } */

.archive-header__desc {
  font-size: 1.125rem; /* text-lg */
  color: #4b5563; /* gray-600 */
  margin-top: 1rem;
}

/* --- Grid --- */
.archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.archive-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #6b7280;
  font-size: 1.125rem;
  padding: 2rem;
  font-weight: 500;
}

/* --- Pagination (WP Generated Classes) --- */
.archive-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

/* Individual Page Numbers */
.nav-links a,
.nav-links span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background-color: #fff;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Hover State */
.nav-links a:hover {
  background-color: rgba(245, 130, 32, 0.1);
  color: var(--primary, #f58220);
  border-color: var(--primary, #f58220);
}

/* Current Page */
.nav-links span.current {
  background-color: var(--primary, #f58220);
  color: #fff;
  border-color: var(--primary, #f58220);
}

/* Previous/Next styling refinement */
.nav-links .prev,
.nav-links .next {
  border: none; /* Optional: remove border for arrows */
  background: transparent;
  font-size: 1.125rem;
}

.nav-links .prev:hover,
.nav-links .next:hover {
  background: transparent;
}

/* =========================================
   Page: Search Results
   ========================================= */

.search-results {
  width: 100%;
  position: relative;
}

.search-results__container {
  width: 100%;
  max-width: var(--container-width, 1280px);
  margin: 0 auto;
  padding: 4rem 1rem; /* py-16 equivalent */
}

/* --- Header --- */
.search-results__header {
  text-align: center;
  margin-bottom: 3rem;
}

.search-results__title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 600;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .search-results__title {
    font-size: 2.25rem; /* text-4xl */
  }
}

.search-results__title span {
  color: var(--primary, #f58220);
  font-style: italic;
}

/* --- Grid (Reusing 3-column logic) --- */
.search-results__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .search-results__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .search-results__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Empty State --- */
.search-results__empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  gap: 1.5rem;
}

.search-results__empty-text {
  color: #4b5563; /* gray-600 */
  font-size: 1.125rem;
  font-weight: 500;
}

.search-results__search-box {
  width: 100%;
  max-width: 500px;
}

/* --- Pagination --- */
.search-results__pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.search-form {
  width: 100%;
}

.search-form__group {
  display: flex;
  position: relative;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.search-form__group:focus-within {
  border-color: var(--primary, #f58220);
}

.search-form__input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  outline: none;
  font-size: 1rem;
}

.search-form__submit {
  background-color: transparent;
  border: none;
  padding: 0 1.25rem;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s;
}

.search-form__submit:hover {
  color: var(--primary, #f58220);
}

/* =========================================
   Section: Related Articles
   ========================================= */
.related-section {
  position: relative;
  width: 100%;
}

.related-section__container {
  width: 100%;
  max-width: var(--container-width, 1280px);
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

@media (min-width: 768px) {
  .related-section__container {
    padding-top: 4rem;
  }
}

/* --- Header --- */
.related-section__header {
  position: relative;
  width: 100%;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.related-section__title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 600;
  margin: 0;
}

@media (min-width: 768px) {
  .related-section__title {
    font-size: 3rem; /* text-5xl */
  }
}

.related-section__view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary, #f58220);
  color: #fff;
  padding: 0.75rem 2.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.related-section__view-all:hover {
  background-color: #d97018;
}

.related-section__view-all i {
  transform: rotate(-45deg); /* Match original design */
  transition: transform 0.3s;
}

.related-section__view-all:hover i {
  transform: rotate(0deg);
}

/* --- Grid --- */
.related-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 640px) {
  .related-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .related-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-section__actions {
  text-align: center;
  margin-top: 2.5rem;
}

/* --- Decor (Reused from previous sections) --- */
.related-section__decor {
  display: none;
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: rgba(245, 130, 32, 0.1);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 0%,
    transparent 70%
  );
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

@media (min-width: 768px) {
  .related-section__decor {
    display: block;
  }
}

.related-section__decor--top {
  top: 0;
  right: 50%;
  transform: translateX(50%);
}
.related-section__decor--left {
  top: 50%;
  left: 0;
}
.related-section__decor--bottom {
  bottom: -10rem;
  right: 0;
}

/* =========================================
   Component: Related Card
   ========================================= */
.related-card {
  background-color: rgba(255, 255, 255, 0.5); /* bg-white/30 roughly */
  backdrop-filter: blur(5px); /* Optional modern touch */
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */
  transition: transform 0.3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
}

/* Image */
.related-card__media {
  display: block;
  overflow: hidden;
  border-radius: 1rem; /* rounded-2xl */
  margin-bottom: 1rem;
  aspect-ratio: 16/9;
}

.related-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.related-card__media:hover .related-card__img {
  transform: scale(1.05);
}

.related-card__placeholder {
  width: 100%;
  height: 100%;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 1.5rem;
}

/* Body */
.related-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-card__date {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.related-card__title {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600;
  margin: 0.5rem 0;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .related-card__title {
    font-size: 1.25rem;
  }
}

.related-card__title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.related-card__title a:hover {
  color: var(--primary, #f58220);
  text-decoration: underline;
}

.related-card__excerpt {
  font-size: 0.95rem; /* text-sm/md mix */
  color: #4b5563;
  flex: 1;
  margin-bottom: 1rem;
}

/* Footer */
.related-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.related-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
  font-size: 0.875rem;
}

.related-card__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}

.related-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary, #f58220);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.related-card__btn:hover {
  background-color: #d97018;
}

.related-card__btn i {
  transform: rotate(-45deg);
  transition: transform 0.3s;
}

.related-card__btn:hover i {
  transform: rotate(0deg);
}
