/*
Theme Name: Hello Elementor Child - PharmaTech Careers
Theme URI: https://pharmatechcareers.com
Description: Bespoke luxury child theme for PharmaTech Careers - v1.4.1 Complete Edition with in-depth header/footer settings, pristine desktop navigation, and full prototype design system.
Author: PharmaTech Development Team
Author URI: https://pharmatechcareers.com
Template: hello-elementor
Version: 1.4.10
License: GNU General Public License v2 or later
Text Domain: pharmatech-careers
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* Import Complete Site Styles & Design System */
@import url('assets/css/site-styles.css');

:root {
  --ptc-cream: #F7F3EC;
  --ptc-stone: #E9E3D9;
  --ptc-stone-light: #F2EEE7;
  --ptc-soft-white: #FCFAF6;
  --ptc-charcoal: #222522;
  --ptc-charcoal-soft: #2D302D;
  --ptc-deep-olive: #36392F;
  --ptc-gold: #B69855;
  --ptc-gold-light: #DFCA95;
  --ptc-gold-dark: #8F7234;
  --ptc-border: rgba(34, 37, 34, 0.12);
}

body {
  background-color: var(--ptc-cream) !important;
  color: var(--ptc-charcoal) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  line-height: 1.65;
}

/* Suppress default Hello starter header/footer */
body > .site-header:not(.ptc-site-header),
body > #site-header:not(.ptc-site-header) { display: none !important; }
body > .site-footer:not(.ptc-site-footer),
body > #site-footer:not(.ptc-site-footer) { display: none !important; }

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.ptc-top-bar {
  background-color: #2B2E25;
  color: #FCFAF6;
  padding: 0.5rem clamp(1rem, 3vw, 2.5rem);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.top-bar-badge {
  background: var(--ptc-gold);
  color: #222522;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   PRISTINE DESKTOP NAVIGATION & HEADER (Matches HTML Prototype)
   ========================================================================== */
.ptc-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 243, 236, 0.96);
  border-bottom: 1px solid var(--ptc-border);
  box-shadow: 0 3px 16px rgba(34, 37, 34, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}

.ptc-header-inner {
  max-width: 1360px;
  min-height: 76px;
  margin: 0 auto;
  padding: 0.65rem clamp(1rem, 2.5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Left: Brand Logo */
.ptc-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.ptc-brand .brand-logo,
.ptc-brand img {
  display: block;
  height: 44px;
  width: auto;
  max-height: 48px;
}

/* Center: Primary Navigation Menu */
.ptc-primary-menu {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ptc-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 0.9vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ptc-nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.ptc-nav-list a {
  text-decoration: none;
  color: var(--ptc-deep-olive);
  font-size: clamp(0.76rem, 0.85vw, 0.88rem);
  font-weight: 600;
  white-space: nowrap;
  padding: 0.35rem clamp(0.3rem, 0.45vw, 0.6rem);
  border-radius: 4px;
  position: relative;
  letter-spacing: 0.2px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ptc-nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: var(--ptc-gold);
  transition: width 0.25s ease;
}

.ptc-nav-list a:hover {
  color: var(--ptc-charcoal);
  background-color: rgba(182, 152, 85, 0.08);
}
.ptc-nav-list a:hover::after {
  width: 75%;
}

/* Right: Nav Actions (CTA Button + Hamburger) */
.ptc-nav-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ptc-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.62rem 1.15rem;
  background: linear-gradient(135deg, var(--ptc-gold), var(--ptc-gold-dark));
  color: #FCFAF6 !important;
  text-decoration: none !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 4px 12px rgba(182, 152, 85, 0.25);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.ptc-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(182, 152, 85, 0.4);
}

.ptc-menu-toggle {
  display: none;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE DRAWER (< 1080px)
   ========================================================================== */
@media (max-width: 1080px) {
  .ptc-header-inner {
    min-height: 68px;
    padding: 0.5rem 1.25rem;
  }
  .ptc-menu-toggle {
    appearance: none;
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    padding: 9px 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1.5px solid rgba(54, 57, 47, 0.25);
    border-radius: 6px;
    background: #FFFFFF;
    color: var(--ptc-deep-olive);
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .ptc-menu-toggle span:not(.screen-reader-text) {
    width: 22px;
    height: 2px;
    margin: 3px 0;
    background: currentColor;
    display: block;
    transition: all 0.25s ease;
  }
  .ptc-primary-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1001;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--ptc-border);
    background: var(--ptc-cream);
    box-shadow: 0 14px 28px rgba(34, 37, 34, 0.12);
  }
  .ptc-site-header.ptc-menu-open .ptc-primary-menu {
    display: block !important;
  }
  .ptc-nav-list {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }
  .ptc-nav-list a {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    border-radius: 6px;
  }
  .ptc-nav-list a::after {
    display: none;
  }
  .ptc-top-bar {
    font-size: 0.78rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 600px) {
  .ptc-brand .brand-logo,
  .ptc-brand img {
    height: 38px;
    max-height: 40px;
  }
  .ptc-header-cta {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
  .top-bar-controls {
    display: none;
  }
}

/* ==========================================================================
   PRISTINE FOOTER WITH LIGHT LOGO & MOBILE PADDING
   ========================================================================== */
.ptc-site-footer {
  background: var(--ptc-footer-background, #222522);
  color: #CFCBC0;
  border-top: 2px solid var(--ptc-gold);
  padding: 4.5rem clamp(1rem, 3.5vw, 2.5rem) 2.5rem;
  font-size: 0.9rem;
}

.ptc-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1.1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.ptc-footer-brand .ptc-footer-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.25rem;
}

.ptc-footer-brand p {
  color: #A9A59A;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 340px;
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #FCFAF6;
  margin: 0 0 1.25rem 0;
  letter-spacing: 0.5px;
}

.ptc-footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ptc-footer-nav-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ptc-footer-nav-list a {
  color: #CFCBC0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.ptc-footer-nav-list a:hover {
  color: var(--ptc-gold-light);
}

.ptc-footer-contact p {
  margin: 0 0 0.65rem 0;
  color: #CFCBC0;
  font-size: 0.9rem;
}
.ptc-footer-contact a {
  color: #DFCA95;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ptc-footer-contact a:hover {
  color: #FCFAF6;
}

/* Legal Disclaimers */
.footer-disclaimers {
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.25rem 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #928E84;
}
.footer-disclaimers h5 {
  color: var(--ptc-gold-light);
  font-size: 0.85rem;
  margin: 0 0 0.35rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.footer-disclaimers p {
  margin: 0;
}

/* Footer Bottom */
.ptc-footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #838077;
}

/* Footer Mobile Responsiveness & Padding */
@media (max-width: 900px) {
  .ptc-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .ptc-site-footer {
    padding: 3rem 1.25rem 2rem !important; /* Perfect mobile padding */
  }
  .ptc-footer-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 2rem;
  }
  .footer-disclaimers {
    padding: 1.75rem 0;
  }
  .ptc-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }
}

/* ==========================================================================
   BUTTON SYSTEM & ELEMENTOR WIDGET FIXES
   Eliminates double outer border and fixes hover text contrast
   ========================================================================== */

/* 1. Strip borders and backgrounds from outer Elementor widget wrappers */
.elementor-widget-button.btn-audience-outline,
.elementor-widget-button.btn-audience-dark,
.elementor-widget-button.btn-primary-action,
.elementor-widget-button.ptc-btn-book-call,
.elementor-widget-button.ptc-btn-secondary,
.elementor-widget-button.btn {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
}

.elementor-widget-button.btn-audience-outline:hover,
.elementor-widget-button.btn-audience-dark:hover,
.elementor-widget-button.btn-primary-action:hover,
.elementor-widget-button.ptc-btn-book-call:hover,
.elementor-widget-button.ptc-btn-secondary:hover,
.elementor-widget-button.btn:hover {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* 2. Base Elementor button styling */
.elementor-widget-button .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 0.72rem 1.6rem !important;
  border-radius: 6px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  line-height: 1.25 !important;
}

/* 3. OUTLINE BUTTON: .btn-audience-outline (Transparent BG, Olive Border & Text) */
.elementor-widget-button.btn-audience-outline .elementor-button,
a.btn-audience-outline {
  background-color: transparent !important;
  color: #36392F !important;
  border: 1.5px solid #36392F !important;
  box-shadow: none !important;
}
.elementor-widget-button.btn-audience-outline .elementor-button .elementor-button-text,
.elementor-widget-button.btn-audience-outline .elementor-button span,
a.btn-audience-outline span {
  color: #36392F !important;
  transition: color 0.25s ease !important;
}

/* Outline Button Hover: Crisp Deep Olive BG + Soft White Text */
.elementor-widget-button.btn-audience-outline .elementor-button:hover,
.elementor-widget-button.btn-audience-outline:hover .elementor-button,
a.btn-audience-outline:hover {
  background-color: #36392F !important;
  color: #FCFAF6 !important;
  border-color: #36392F !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(54, 57, 47, 0.25) !important;
}
.elementor-widget-button.btn-audience-outline .elementor-button:hover .elementor-button-text,
.elementor-widget-button.btn-audience-outline:hover .elementor-button .elementor-button-text,
.elementor-widget-button.btn-audience-outline .elementor-button:hover span,
.elementor-widget-button.btn-audience-outline:hover .elementor-button span,
a.btn-audience-outline:hover span {
  color: #FCFAF6 !important;
}

/* 4. DARK BUTTON: .btn-audience-dark (Deep Olive BG, Soft White Text) */
.elementor-widget-button.btn-audience-dark .elementor-button,
.elementor-widget-button.ptc-btn-secondary .elementor-button,
a.btn-audience-dark,
a.ptc-btn-secondary {
  background-color: #36392F !important;
  color: #FCFAF6 !important;
  border: 1.5px solid #36392F !important;
  box-shadow: 0 2px 8px rgba(54, 57, 47, 0.15) !important;
}
.elementor-widget-button.btn-audience-dark .elementor-button .elementor-button-text,
.elementor-widget-button.btn-audience-dark .elementor-button span,
a.btn-audience-dark span {
  color: #FCFAF6 !important;
  transition: color 0.25s ease !important;
}

/* Dark Button Hover */
.elementor-widget-button.btn-audience-dark .elementor-button:hover,
.elementor-widget-button.btn-audience-dark:hover .elementor-button,
.elementor-widget-button.ptc-btn-secondary .elementor-button:hover,
a.btn-audience-dark:hover,
a.ptc-btn-secondary:hover {
  background-color: #222522 !important;
  border-color: #222522 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(34, 37, 34, 0.3) !important;
}
.elementor-widget-button.btn-audience-dark .elementor-button:hover .elementor-button-text,
.elementor-widget-button.btn-audience-dark:hover .elementor-button .elementor-button-text,
.elementor-widget-button.btn-audience-dark .elementor-button:hover span,
.elementor-widget-button.btn-audience-dark:hover .elementor-button span,
a.btn-audience-dark:hover span {
  color: #FFFFFF !important;
}

/* 5. PRIMARY GOLD BUTTON: .ptc-btn-book-call, .btn-primary-action */
.elementor-widget-button.ptc-btn-book-call .elementor-button,
.elementor-widget-button.btn-primary-action .elementor-button,
a.ptc-btn-book-call,
a.btn-primary-action {
  background: #B69855 !important;
  color: #FCFAF6 !important;
  border: 1.5px solid #B69855 !important;
  box-shadow: 0 4px 14px rgba(182, 152, 85, 0.28) !important;
}
.elementor-widget-button.ptc-btn-book-call .elementor-button .elementor-button-text,
.elementor-widget-button.btn-primary-action .elementor-button .elementor-button-text,
.elementor-widget-button.ptc-btn-book-call .elementor-button span,
.elementor-widget-button.btn-primary-action .elementor-button span,
a.ptc-btn-book-call span,
a.btn-primary-action span {
  color: #FCFAF6 !important;
  transition: color 0.25s ease !important;
}

/* Primary Gold Hover */
.elementor-widget-button.ptc-btn-book-call .elementor-button:hover,
.elementor-widget-button.ptc-btn-book-call:hover .elementor-button,
.elementor-widget-button.btn-primary-action .elementor-button:hover,
.elementor-widget-button.btn-primary-action:hover .elementor-button,
a.ptc-btn-book-call:hover,
a.btn-primary-action:hover {
  background: #8F7234 !important;
  border-color: #8F7234 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(182, 152, 85, 0.42) !important;
}
.elementor-widget-button.ptc-btn-book-call .elementor-button:hover .elementor-button-text,
.elementor-widget-button.ptc-btn-book-call:hover .elementor-button .elementor-button-text,
.elementor-widget-button.btn-primary-action .elementor-button:hover .elementor-button-text,
.elementor-widget-button.btn-primary-action:hover .elementor-button .elementor-button-text,
.elementor-widget-button.ptc-btn-book-call .elementor-button:hover span,
.elementor-widget-button.ptc-btn-book-call:hover .elementor-button span,
.elementor-widget-button.btn-primary-action .elementor-button:hover span,
.elementor-widget-button.btn-primary-action:hover .elementor-button span,
a.ptc-btn-book-call:hover span,
a.btn-primary-action:hover span {
  color: #FFFFFF !important;
}

/* 6. Utility Modifiers (Width & Sizes) */
.elementor-widget-button.w-full,
.elementor-widget-button.w-full .elementor-widget-container,
.elementor-widget-button.w-full .elementor-button-wrapper,
.elementor-widget-button.w-full .elementor-button {
  width: 100% !important;
}

.elementor-widget-button.btn-sm .elementor-button,
a.btn-sm {
  padding: 0.5rem 1.15rem !important;
  font-size: 0.84rem !important;
}

/* ==========================================================================
   MOBILE HEADER: LOGO PROMINENCE & MUTUALLY EXCLUSIVE CTA BUTTON
   - On Desktop (>1080px): Exactly ONE CTA in nav actions; drawer CTA is hidden
   - On Mobile (<=1080px): Exactly ONE CTA inside mobile drawer; top row CTA is hidden
   ========================================================================== */

/* Strict Desktop default (> 1080px): Hide drawer CTA, show top row CTA */
@media (min-width: 1081px) {
  .ptc-mobile-drawer-cta {
    display: none !important;
  }
  .ptc-header-cta-desktop,
  #navBookCallBtn {
    display: inline-flex !important;
  }
}

/* Strict Mobile & Tablet (<= 1080px): Hide top row CTA, show drawer CTA */
@media (max-width: 1080px) {
  /* 1. Hide top row CTA so logo has maximum breathing room */
  .ptc-header-cta-desktop,
  .ptc-header-cta,
  #navBookCallBtn {
    display: none !important;
  }

  /* 2. Brand logo gets generous breathing room and crisp sizing */
  .ptc-brand {
    flex: 0 1 auto !important;
    max-width: calc(100% - 60px) !important;
  }
  .ptc-brand .brand-logo,
  .ptc-brand img,
  .ptc-brand svg {
    height: 42px !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* 3. In-drawer Mobile CTA Button */
  .ptc-mobile-drawer-cta {
    display: block !important;
    margin-top: 1.25rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid rgba(34, 37, 34, 0.12) !important;
  }

  .ptc-mobile-cta-btn {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.6rem !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    background: #B69855 !important;
    color: #FCFAF6 !important;
    border: 1.5px solid #B69855 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 14px rgba(182, 152, 85, 0.28) !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
  }

  .ptc-mobile-cta-btn:hover {
    background: #8F7234 !important;
    border-color: #8F7234 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(182, 152, 85, 0.4) !important;
  }
}

@media (max-width: 480px) {
  .ptc-header-inner {
    min-height: 62px !important;
    padding: 0.45rem 1rem !important;
  }
  .ptc-brand .brand-logo,
  .ptc-brand img,
  .ptc-brand svg {
    height: 38px !important;
    max-height: 40px !important;
    max-width: 185px !important;
  }
}

/* Talent Directory Search Button */
.search-input-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
  min-width: 320px;
  background: #FCFAF6;
  border: 1.5px solid rgba(54, 57, 47, 0.22);
  border-radius: 9999px;
  padding: 3px 4px 3px 14px;
  box-shadow: inset 0 1px 2px rgba(34, 37, 34, 0.04);
  transition: all 0.25s ease;
}

.search-input-wrap:focus-within {
  border-color: #B69855;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(182, 152, 85, 0.22);
}

.search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.45rem 0.6rem 0.45rem 0;
  font-size: 0.88rem;
  font-family: inherit;
  color: #222522;
  outline: none;
}

.search-input::placeholder {
  color: #7A7870;
  opacity: 0.9;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 1.05rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 9999px;
  border: 1px solid #B69855;
  background: linear-gradient(135deg, #B69855 0%, #9C7E3D 100%);
  color: #FCFAF6;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(182, 152, 85, 0.28);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-btn:hover {
  background: linear-gradient(135deg, #C2A562 0%, #8A6E30 100%);
  border-color: #C2A562;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(182, 152, 85, 0.4);
  transform: translateY(-1px);
}

.search-btn:active {
  transform: translateY(0);
}

.search-btn svg {
  display: block;
  stroke: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   TALENT DIRECTORY CONTROLS & LOAD MORE PAGINATION
   ========================================================================== */
.directory-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
  background: #FFFFFF;
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(54, 57, 47, 0.14);
  box-shadow: 0 4px 18px rgba(34, 37, 34, 0.05);
}

.directory-search-bar {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  background: #FCFAF6;
  border: 1.5px solid rgba(54, 57, 47, 0.22);
  border-radius: 9999px;
  padding: 4px 5px 4px 18px;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 2px rgba(34, 37, 34, 0.04);
}

.directory-search-bar:focus-within {
  border-color: #B69855;
  background: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(182, 152, 85, 0.25);
}

.directory-search-bar .search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.65rem 0.85rem 0.65rem 0;
  font-size: 0.95rem;
  font-family: inherit;
  color: #222522;
  outline: none;
}

.directory-search-bar .search-input::placeholder {
  color: #7A7870;
  opacity: 0.85;
}

.directory-search-bar .search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 9999px;
  border: 1px solid #B69855;
  background: linear-gradient(135deg, #B69855 0%, #9C7E3D 100%);
  color: #FCFAF6;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(182, 152, 85, 0.28);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.directory-search-bar .search-btn:hover {
  background: linear-gradient(135deg, #C2A562 0%, #8A6E30 100%);
  border-color: #C2A562;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(182, 152, 85, 0.4);
  transform: translateY(-1px);
}

.directory-search-bar .search-btn:active {
  transform: translateY(0);
}

.directory-search-bar .search-btn svg {
  display: block;
  stroke: currentColor;
  flex-shrink: 0;
}

.directory-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.directory-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #36392F;
  background: rgba(182, 152, 85, 0.12);
  border: 1px solid rgba(182, 152, 85, 0.3);
  border-radius: 9999px;
  white-space: nowrap;
}

.directory-load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 3.5rem;
  padding-top: 1rem;
  text-align: center;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 2.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1.5px solid #36392F;
  background: #FCFAF6;
  color: #36392F;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(34, 37, 34, 0.06);
}

.btn-load-more:hover {
  background: #36392F;
  color: #FCFAF6;
  border-color: #36392F;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 37, 34, 0.15);
}

.btn-load-more .load-more-count {
  font-size: 0.85rem;
  color: inherit;
  opacity: 0.85;
}

.directory-all-loaded-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #7A7870;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .directory-controls {
    padding: 1.25rem 1rem;
  }
  .directory-search-bar {
    padding: 3px 4px 3px 14px;
  }
  .directory-search-bar .search-input {
    font-size: 0.88rem;
  }
  .directory-search-bar .search-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.82rem;
  }
  .directory-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .directory-count-badge {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .directory-search-bar .search-btn-label {
    display: none;
  }
  .directory-search-bar .search-btn {
    padding: 0.6rem 0.75rem;
    border-radius: 50%;
  }
}
