/*
 * styles.css - Lynne's Riding Center
 * Version: 1.11
 */
 /* CSS Variables for Design System */
:root {
    /* Colors */
    --lynne-primary: #996637;
    --lynne-primary-variant-1: #998675;
    --lynne-primary-variant-2-light: #CEC3B6;
    --lynne-on-primary-container: #72351E;
    --lynne-text-brown: #7B5339;
    --lynne-black: #2B0B00;
    --lynne-white: #FFFFFF;
    --lynne-accent-yellow: #FBB03B;
    
    /* Spacing */
    --lynne-gutter: 24px;
    /* --lynne-heading-body-gap: 34px; */
    --lynne-heading-body-gap: 19px;
    --lynne-heading-body-gap-small: 24px;
    --lynne-border-radius: 10px;
    --ibr-border-radius: 10px;
    
    /* Typography */
    --font-didot: 'Didot', 'Baskerville', 'Bodoni MT', 'Goudy Old Style', 'Bitstream Charter', serif;
    --font-roboto: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-roboto-condensed: 'Roboto Condensed', sans-serif;

    /* Figma Design System Variables */
    --img-border-radius: 16px;
    --schemes-primary-light: #8F4C33FF;
    --schemes-surface-tint-light: #8F4C33FF;
    --schemes-on-primary-light: #FFFFFFFF;
    --schemes-primary-container-light: #FFDBCFFF;
    --schemes-on-primary-container-light: #72351EFF;
    --schemes-secondary-light: #F15A24FF;
    --schemes-on-secondary-light: #FFFFFFFF;
    --schemes-secondary-container-light: #FFDBD0FF;
    --schemes-on-secondary-container-light: #723521FF;
    --schemes-tertiary-light: #C1272CFF;
    --schemes-on-tertiary-light: #FFFFFFFF;
    --schemes-tertiary-container-light: #FFDAD7FF;
    --schemes-on-tertiary-container-light: #733330FF;
    --schemes-error-light: #BA1A1AFF;
    --schemes-on-error-light: #FFFFFFFF;
    --schemes-error-container-light: #FFDAD6FF;
    --schemes-on-error-container-light: #93000AFF;
    --schemes-background-light: #FFF8F6FF;
    --schemes-on-background-light: #231A16FF;
    --schemes-surface-light: #FFF8F6FF;
    --schemes-on-surface-light: #231A16FF;
    --schemes-surface-variant-light: #F5DED6FF;
    --schemes-on-surface-variant-light: #53433EFF;
    --schemes-outline-light: #85736DFF;
    --schemes-outline-variant-light: #D8C2BBFF;
    --schemes-shadow-light: #000000FF;
    --schemes-scrim-light: #000000FF;
    --schemes-inverse-surface-light: #392E2BFF;
    --schemes-inverse-on-surface-light: #FFEDE8FF;
    --schemes-inverse-primary-light: #FFB59BFF;
    --schemes-primary-fixed-light: #FFDBCFFF;
    --schemes-on-primary-fixed-light: #380D00FF;
    --schemes-primary-fixed-dim-light: #FFB59BFF;
    --schemes-on-primary-fixed-variant-light: #72351EFF;
    --schemes-secondary-fixed-light: #FFDBD0FF;
    --schemes-on-secondary-fixed-light: #3A0B00FF;
    --schemes-secondary-fixed-dim-light: #FFB59EFF;
    --schemes-on-secondary-fixed-variant-light: #723521FF;
    --schemes-tertiary-fixed-light: #FFDAD7FF;
    --schemes-on-tertiary-fixed-light: #3B0909FF;
    --schemes-tertiary-fixed-dim-light: #FFB3AEFF;
    --schemes-on-tertiary-fixed-variant-light: #733330FF;
    --schemes-surface-dim-light: #E8D6D1FF;
    --schemes-surface-bright-light: #FFF8F6FF;
    --schemes-surface-container-lowest-light: #FFFFFFFF;
    --schemes-surface-container-low-light: #FFF1ECFF;
    --schemes-surface-container-light: #FCEAE4FF;
    --schemes-surface-container-high-light: #F7E4DFFF;
    --schemes-surface-container-highest-light: #F1DFD9FF;
    --state-layers-primary-opacity-08-light: #8F4C3314;
    --state-layers-surface-tint-opacity-08-light: #8F4C3314;
    --state-layers-on-primary-opacity-08-light: #FFFFFF14;
    --state-layers-primary-container-opacity-08-light: #FFDBCF14;
    --state-layers-on-primary-container-opacity-08-light: #72351E14;
    --state-layers-secondary-opacity-08-light: #8F4C3614;
    --state-layers-on-secondary-opacity-08-light: #FFFFFF14;
    --state-layers-secondary-container-opacity-08-light: #FFDBD014;
    --state-layers-on-secondary-container-opacity-08-light: #72352114;
    --state-layers-tertiary-opacity-08-light: #904A4614;
    --state-layers-on-tertiary-opacity-08-light: #FFFFFF14;
    --state-layers-tertiary-container-opacity-08-light: #FFDAD714;
    --state-layers-on-tertiary-container-opacity-08-light: #73333014;
    --state-layers-error-opacity-08-light: #BA1A1A14;
    --state-layers-on-error-opacity-08-light: #FFFFFF14;
    --state-layers-error-container-opacity-08-light: #FFDAD614;
    --state-layers-on-error-container-opacity-08-light: #93000A14;
    --state-layers-background-opacity-08-light: #FFF8F614;
    --state-layers-on-background-opacity-08-light: #231A1614;
    --state-layers-surface-opacity-08-light: #FFF8F614;
    --state-layers-on-surface-opacity-08-light: #231A1614;
    --state-layers-surface-variant-opacity-08-light: #F5DED614;
    --state-layers-on-surface-variant-opacity-08-light: #53433E14;
    --state-layers-outline-opacity-08-light: #85736D14;
    --state-layers-outline-variant-opacity-08-light: #D8C2BB14;
    --state-layers-shadow-opacity-08-light: #00000014;
    --state-layers-scrim-opacity-08-light: #00000014;
    --state-layers-inverse-surface-opacity-08-light: #392E2B14;
    --state-layers-inverse-on-surface-opacity-08-light: #FFEDE814;
    --state-layers-inverse-primary-opacity-08-light: #FFB59B14;
    --state-layers-primary-fixed-opacity-08-light: #FFDBCF14;
    --state-layers-on-primary-fixed-opacity-08-light: #380D0014;
    --state-layers-primary-fixed-dim-opacity-08-light: #FFB59B14;
    --state-layers-on-primary-fixed-variant-opacity-08-light: #72351E14;
    --state-layers-secondary-fixed-opacity-08-light: #FFDBD014;
    --state-layers-on-secondary-fixed-opacity-08-light: #3A0B0014;
    --state-layers-secondary-fixed-dim-opacity-08-light: #FFB59E14;
    --state-layers-on-secondary-fixed-variant-opacity-08-light: #72352114;
    --state-layers-tertiary-fixed-opacity-08-light: #FFDAD714;
    --state-layers-on-tertiary-fixed-opacity-08-light: #3B090914;
    --state-layers-tertiary-fixed-dim-opacity-08-light: #FFB3AE14;
    --state-layers-on-tertiary-fixed-variant-opacity-08-light: #73333014;
    --state-layers-surface-dim-opacity-08-light: #E8D6D114;
    --state-layers-surface-bright-opacity-08-light: #FFF8F614;
    --state-layers-surface-container-lowest-opacity-08-light: #FFFFFF14;
    --state-layers-surface-container-low-opacity-08-light: #FFF1EC14;
    --state-layers-surface-container-opacity-08-light: #FCEAE414;
    --state-layers-surface-container-high-opacity-08-light: #F7E4DF14;
    --state-layers-surface-container-highest-opacity-08-light: #F1DFD914;
    --state-layers-primary-opacity-10-light: #8F4C331A;
    --state-layers-surface-tint-opacity-10-light: #8F4C331A;
    --state-layers-on-primary-opacity-10-light: #FFFFFF1A;
    --state-layers-primary-container-opacity-10-light: #FFDBCF1A;
    --state-layers-on-primary-container-opacity-10-light: #72351E1A;
    --state-layers-secondary-opacity-10-light: #8F4C361A;
    --state-layers-on-secondary-opacity-10-light: #FFFFFF1A;
    --state-layers-secondary-container-opacity-10-light: #FFDBD01A;
    --state-layers-on-secondary-container-opacity-10-light: #7235211A;
    --state-layers-tertiary-opacity-10-light: #904A461A;
    --state-layers-on-tertiary-opacity-10-light: #FFFFFF1A;
    --state-layers-tertiary-container-opacity-10-light: #FFDAD71A;
    --state-layers-on-tertiary-container-opacity-10-light: #7333301A;
    --state-layers-error-opacity-10-light: #BA1A1A1A;
    --state-layers-on-error-opacity-10-light: #FFFFFF1A;
    --state-layers-error-container-opacity-10-light: #FFDAD61A;
    --state-layers-on-error-container-opacity-10-light: #93000A1A;
    --state-layers-background-opacity-10-light: #FFF8F61A;
    --state-layers-on-background-opacity-10-light: #231A161A;
    --state-layers-surface-opacity-10-light: #FFF8F61A;
    --state-layers-on-surface-opacity-10-light: #231A161A;
    --state-layers-surface-variant-opacity-10-light: #F5DED61A;
    --state-layers-on-surface-variant-opacity-10-light: #53433E1A;
    --state-layers-outline-opacity-10-light: #85736D1A;
    --state-layers-outline-variant-opacity-10-light: #D8C2BB1A;
    --state-layers-shadow-opacity-10-light: #0000001A;
    --state-layers-scrim-opacity-10-light: #0000001A;
    --state-layers-inverse-surface-opacity-10-light: #392E2B1A;
    --state-layers-inverse-on-surface-opacity-10-light: #FFEDE81A;
    --state-layers-inverse-primary-opacity-10-light: #FFB59B1A;
    --state-layers-primary-fixed-opacity-10-light: #FFDBCF1A;
    --state-layers-on-primary-fixed-opacity-10-light: #380D001A;
    --state-layers-primary-fixed-dim-opacity-10-light: #FFB59B1A;
    --state-layers-on-primary-fixed-variant-opacity-10-light: #72351E1A;
    --state-layers-secondary-fixed-opacity-10-light: #FFDBD01A;
    --state-layers-on-secondary-fixed-opacity-10-light: #3A0B001A;
    --state-layers-secondary-fixed-dim-opacity-10-light: #FFB59E1A;
    --state-layers-on-secondary-fixed-variant-opacity-10-light: #7235211A;
    --state-layers-tertiary-fixed-opacity-10-light: #FFDAD71A;
    --state-layers-on-tertiary-fixed-opacity-10-light: #3B09091A;
    --state-layers-tertiary-fixed-dim-opacity-10-light: #FFB3AE1A;
    --state-layers-on-tertiary-fixed-variant-opacity-10-light: #7333301A;
    --state-layers-surface-dim-opacity-10-light: #E8D6D11A;
    --state-layers-surface-bright-opacity-10-light: #FFF8F61A;
    --state-layers-surface-container-lowest-opacity-10-light: #FFFFFF1A;
    --state-layers-surface-container-low-opacity-10-light: #FFF1EC1A;
    --state-layers-surface-container-opacity-10-light: #FCEAE41A;
    --state-layers-surface-container-high-opacity-10-light: #F7E4DF1A;
    --state-layers-surface-container-highest-opacity-10-light: #F1DFD91A;
    --state-layers-primary-opacity-16-light: #8F4C3329;
    --state-layers-surface-tint-opacity-16-light: #8F4C3329;
    --state-layers-on-primary-opacity-16-light: #FFFFFF29;
    --state-layers-primary-container-opacity-16-light: #FFDBCF29;
    --state-layers-on-primary-container-opacity-16-light: #72351E29;
    --state-layers-secondary-opacity-16-light: #8F4C3629;
    --state-layers-on-secondary-opacity-16-light: #FFFFFF29;
    --state-layers-secondary-container-opacity-16-light: #FFDBD029;
    --state-layers-on-secondary-container-opacity-16-light: #72352129;
    --state-layers-tertiary-opacity-16-light: #904A4629;
    --state-layers-on-tertiary-opacity-16-light: #FFFFFF29;
    --state-layers-tertiary-container-opacity-16-light: #FFDAD729;
    --state-layers-on-tertiary-container-opacity-16-light: #73333029;
    --state-layers-error-opacity-16-light: #BA1A1A29;
    --state-layers-on-error-opacity-16-light: #FFFFFF29;
    --state-layers-error-container-opacity-16-light: #FFDAD629;
    --state-layers-on-error-container-opacity-16-light: #93000A29;
    --state-layers-background-opacity-16-light: #FFF8F629;
    --state-layers-on-background-opacity-16-light: #231A1629;
    --state-layers-surface-opacity-16-light: #FFF8F629;
    --state-layers-on-surface-opacity-16-light: #231A1629;
    --state-layers-surface-variant-opacity-16-light: #F5DED629;
    --state-layers-on-surface-variant-opacity-16-light: #53433E29;
    --state-layers-outline-opacity-16-light: #85736D29;
    --state-layers-outline-variant-opacity-16-light: #D8C2BB29;
    --state-layers-shadow-opacity-16-light: #00000029;
    --state-layers-scrim-opacity-16-light: #00000029;
    --state-layers-inverse-surface-opacity-16-light: #392E2B29;
    --state-layers-inverse-on-surface-opacity-16-light: #FFEDE829;
    --state-layers-inverse-primary-opacity-16-light: #FFB59B29;
    --state-layers-primary-fixed-opacity-16-light: #FFDBCF29;
    --state-layers-on-primary-fixed-opacity-16-light: #380D0029;
    --state-layers-primary-fixed-dim-opacity-16-light: #FFB59B29;
    --state-layers-on-primary-fixed-variant-opacity-16-light: #72351E29;
    --state-layers-secondary-fixed-opacity-16-light: #FFDBD029;
    --state-layers-on-secondary-fixed-opacity-16-light: #3A0B0029;
    --state-layers-secondary-fixed-dim-opacity-16-light: #FFB59E29;
    --state-layers-on-secondary-fixed-variant-opacity-16-light: #72352129;
    --state-layers-tertiary-fixed-opacity-16-light: #FFDAD729;
    --state-layers-on-tertiary-fixed-opacity-16-light: #3B090929;
    --state-layers-tertiary-fixed-dim-opacity-16-light: #FFB3AE29;
    --state-layers-on-tertiary-fixed-variant-opacity-16-light: #73333029;
    --state-layers-surface-dim-opacity-16-light: #E8D6D129;
    --state-layers-surface-bright-opacity-16-light: #FFF8F629;
    --state-layers-surface-container-lowest-opacity-16-light: #FFFFFF29;
    --state-layers-surface-container-low-opacity-16-light: #FFF1EC29;
    --state-layers-surface-container-opacity-16-light: #FCEAE429;
    --state-layers-surface-container-high-opacity-16-light: #F7E4DF29;
    --state-layers-surface-container-highest-opacity-16-light: #F1DFD929;
    --extended-colors-quaternary-light: #FBB13BFF;
    --extended-colors-on-quaternary-light: #FFFFFFFF;
    --extended-colors-quaternary-container-light: #FFDDB3FF;
    --extended-colors-on-primary-variant-1-container-light: #683C00FF;
    --extended-colors-on-quaternary-container-light: #634000FF;
    --extended-colors-primary-darker-light: #8E4D2EFF;
    --extended-colors-on-primary-darker-light: #FFFFFFFF;
    --extended-colors-primary-variant-1-container-light: #FFDCBDFF;
    --extended-colors-primary-darker-container-light: #FFDBCCFF;
    --extended-colors-on-primary-darker-container-light: #713619FF;
    --ibr-border-radius-light: 0.6250rem;
    --extended-colors-primary-variant-1-light: #998675FF;
    --extended-colors-on-primary-variant-1-light: #FFFFFFFF;
    --extended-colors-primary-variant-2-light-light: #CEC3B6FF;
    --extended-colors-on-primary-variant-2-light-light: #FFFFFFFF;
    --extended-colors-primary-variant-2-light-container-light: #FFDEABFF;
    --extended-colors-on-primary-variant-2-light-container-light: #5F4100FF;
    --lynne-heading-title-margin-light: -1.0000rem;
    --lynne-heading-body-gap-light: 2.1250rem;
    --lynne-card-gap-light: 0.3750rem;
    --lynne-min-h-card-light: 20.2500rem;
    --extended-colors-primary-light-variant-2-light: #5E621BFF;
    --extended-colors-on-primary-light-variant-2-light: #FFFFFFFF;
    --extended-colors-primary-light-variant-2-container-light: #E3E892FF;
    --extended-colors-on-primary-light-variant-2-container-light: #464A02FF;
    --extended-colors-primary-variant-3-light-light: #ECE9E0FF;
    --extended-colors-on-primary-variant-3-light-light: #FFFFFFFF;
    --extended-colors-primary-variant-3-light-container-light: #E3E892FF;
    --extended-colors-on-primary-variant-3-light-container-light: #464A02FF;
    --extended-colors-lynne-red-accent: #C2272D;
    --lynne-section-gap-light: 6.5625rem;
    --lynne-gutter-light: 1.5000rem;
}

/* Prevent iOS Safari from styling phone numbers as blue links */
a[href^="tel"],
a[href^="tel"]:link,
a[href^="tel"]:visited,
a[href^="tel"]:hover,
a[href^="tel"]:active {
    color: inherit !important;
    text-decoration: none !important;
}

/* Override iOS automatic phone number detection styling */
.contact-info,
.contact-info p,
.footer-contact,
.footer-contact p {
    -webkit-text-size-adjust: none;
}

.contact-info a,
.footer-contact a {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: auto;
}

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

body {
    font-family: var(--font-roboto);
    color: var(--lynne-black);
    background-color: var(--lynne-white);
    line-height: 1.2;
}

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

.choose-cards-overlay .choose-card-wrapper {
    position: relative;
    overflow: hidden;
}

.choose-cards-overlay .choose-card-wrapper img {
    display: block;
    width: 100%;
    /* height: auto; */
}

.choose-cards-overlay .choose-card-overlay-black {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.choose-cards-overlay-5 .choose-card-overlay-black {
    background: rgba(0, 0, 0, 0.05);
}

.choose-cards-overlay-10 .choose-card-overlay-black {
    background: rgba(0, 0, 0, 0.10);
}

.choose-cards-overlay-15 .choose-card-overlay-black {
    background: rgba(0, 0, 0, 0.15);
}

.choose-cards-overlay-20 .choose-card-overlay-black {
    background: rgba(0, 0, 0, 0.20);
}

.choose-cards-overlay-25 .choose-card-overlay-black {
    background: rgba(0, 0, 0, 0.25);
}

.choose-cards-overlay-30 .choose-card-overlay-black {
    background: rgba(0, 0, 0, 0.30);
}

.choose-cards-overlay-35 .choose-card-overlay-black {
    background: rgba(0, 0, 0, 0.35);
}

.choose-cards-overlay-40 .choose-card-overlay-black {
    background: rgba(0, 0, 0, 0.40);
}



/* =============================================
   FIGMA TEXT STYLES
   ============================================= */

/* Text Styles  */
.title-heading-h1:-regular {
    font-family: Roboto;
  line-height: normal;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .title-heading-h1:-italic {
    font-family: Roboto;
  line-height: normal;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-roboto-heading-largest {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 300;
  }
  
  .lynne-text-2-roboto-heading-h1 {
    font-family: Roboto, sans-serif;
    font-size: 49px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-roboto-heading-h1-sub {
    font-family: Roboto, sans-serif;
    font-size: 43px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-roboto-heading-h2 {
    font-family: Roboto, sans-serif;
    font-size: 39px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-roboto-heading-h3 {
    font-family: Roboto, sans-serif;
    font-size: 31px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-roboto-heading-h4 {
    font-family: Roboto;
    /* filter: blur(1.5625rem); */
    line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 300;
  }
  
  .lynne-text-2-roboto-heading-h5 {
    font-family: Roboto, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-roboto-paragraph-body {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-roboto-paragraph-xs {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-roboto-condensed-heading-largest {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-roboto-condensed-heading-h1 {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-roboto-condensed-heading-h1-sub {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-roboto-condensed-heading-h2 {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-roboto-condensed-heading-h3 {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-roboto-condensed-heading-h4 {
    font-family: Roboto Condensed;
    /* filter: blur(1.5625rem); */
    line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-roboto-condensed-heading-h5 {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-roboto-condensed-paragraph-body {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-roboto-condensed-paragraph-xs {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-roboto-condensed-microtext {
    font-family: Roboto Condensed;
    /* filter: blur(0.5000rem); */
    line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-didot-heading-largest {
    font-family: Didot;
  line-height: 100%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-didot-heading-h1 {
    font-family: Didot, serif;
    font-size: 49px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-didot-heading-h1-sub {
    font-family: Didot, serif;
    font-size: 43px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-didot-heading-h2 {
    font-family: Didot, serif;
    font-size: 39px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-didot-heading-h3 {
    font-family: Didot, serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-didot-heading-h4 {
    font-family: Didot;
    /* (1.5625rem); */
    line-height: 100%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-didot-heading-h5 {
    font-family: Didot, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
  }
  
  .lynne-text-2-didot-paragraph-body {
    font-family: Didot;
  line-height: 100%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-didot-paragraph-xs {
    font-family: Didot;
  line-height: 100%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-2-didot-microtext {
    font-family: Didot;
    /* filter: blur(0.5000rem); */
    line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-regular-heading-h1 {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-regular-heading-h2 {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-regular-heading-h3 {
    font-family: Roboto;
    /* filter: blur(2.1875rem); */
    line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-regular-heading-h4 {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-regular-heading-h5 {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-regular-paragraph-body {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-regular-paragraph-xs {
    font-family: Roboto;
    line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-regular-microtext {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-italic-heading-h1 {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-italic-heading-h2 {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-italic-heading-h3 {
    font-family: Roboto;
    /* filter: blur(2.1875rem); */
    line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-italic-heading-h4 {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-italic-heading-h5 {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-italic-paragraph-body {
    font-family: Roboto;
  line-height: 1.6875rem;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-italic-paragraph-xs {
    font-family: Roboto;
    line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-italic-microtext {
    font-family: Roboto;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-condensed-regular-heading-h1 {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-condensed-regular-heading-h2 {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-condensed-regular-heading-h3 {
    font-family: Roboto Condensed;
    /* filter: blur(2.1875rem); */
    line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-condensed-regular-heading-h4 {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-condensed-regular-heading-h5 {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-condensed-regular-paragraph-body {
    font-family: Roboto Condensed;
    line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-condensed-regular-paragraph-xs {
    font-family: Roboto Condensed;
    line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-roboto-condensed-regular-microtext {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-didot-regular-heading-h1 {
    font-family: Didot;
  line-height: 100%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-didot-regular-heading-h1-adjusted {
    font-family: Didot;
  line-height: 100%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-didot-regular-heading-h2 {
    font-family: Didot;
    line-height: 100%;
    font-family: Didot;
  }
  
  .lynne-text-didot-regular-heading-h3 {
    font-family: Didot;
    /* filter: blur(2.1875rem); */
    line-height: 100%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-didot-regular-heading-h4 {
    font-family: Didot;
  line-height: 100%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-didot-regular-heading-h5 {
    font-family: Didot;
  line-height: 100%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-didot-regular-paragraph-body {
    font-family: Didot;
  line-height: 100%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-didot-regular-paragraph-xs {
    font-family: Didot;
    line-height: 100%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-text-didot-regular-microtext {
    font-family: Didot;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  
  .lynne-display-italic-large {
    font-family: Roboto;
  line-height: 4.0000rem;
    letter-spacing: -0.0156px;
    font-weight: 400;
  }
  
  .lynne-display-italic-medium {
    font-family: Roboto;
  line-height: 3.2500rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-display-italic-small {
    font-family: Roboto;
  line-height: 2.7500rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-display-regular-large {
    font-family: Roboto;
  line-height: 4.0000rem;
    letter-spacing: -0.0156px;
    font-weight: 400;
  }
  
  .lynne-display-regular-medium {
    font-family: Roboto;
  line-height: 3.2500rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-display-regular-small {
    font-family: Roboto;
  line-height: 2.7500rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-headline-italic-medium {
    font-family: Roboto;
  line-height: 2.2500rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-headline-italic-large {
    font-family: Roboto;
  line-height: 2.5000rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-headline-italic-small {
    font-family: Roboto;
  line-height: 2.0000rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-headline-regular-large {
    font-family: Roboto;
  line-height: 2.5000rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-headline-regular-medium {
    font-family: Roboto;
  line-height: 2.2500rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-headline-regular-small {
    font-family: Roboto;
  line-height: 2.0000rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-body-italic-large {
    font-family: Roboto;
  line-height: 1.5000rem;
    letter-spacing: 0.0312px;
    font-weight: 400;
  }
  
  .lynne-body-italic-medium {
    font-family: Roboto;
    line-height: 1.2500rem;
    letter-spacing: 0.0156px;
    font-weight: 400;
  }
  
  .lynne-body-italic-small {
    font-family: Roboto;
  line-height: 1.0000rem;
    letter-spacing: 0.0250px;
    font-weight: 400;
  }
  
  .lynne-body-regular-large {
    font-family: Roboto;
  line-height: 1.5000rem;
    letter-spacing: 0.0312px;
    font-weight: 400;
  }
  
  .lynne-body-regular-medium {
    font-family: Roboto;
    line-height: 1.2500rem;
    letter-spacing: 0.0156px;
    font-weight: 400;
  }
  
  .lynne-body-regular-small {
    font-family: Roboto;
  line-height: 1.0000rem;
    letter-spacing: 0.0250px;
    font-weight: 400;
  }
  
  .lynne-label-italic-large {
    font-family: Roboto;
    line-height: 1.2500rem;
    letter-spacing: 0.0063px;
    font-weight: 400;
  }
  
  .lynne-label-italic-medium {
    font-family: Roboto;
  line-height: 1.0000rem;
    letter-spacing: 0.0312px;
    font-weight: 400;
  }
  
  .lynne-label-italic-small {
    font-family: Roboto;
  line-height: 1.0000rem;
    letter-spacing: 0.0312px;
    font-weight: 400;
  }
  
  .lynne-label-regular-large {
    font-family: Roboto;
    line-height: 1.2500rem;
    letter-spacing: 0.0063px;
    font-weight: 400;
  }
  
  .lynne-label-regular-medium {
    font-family: Roboto;
  line-height: 1.0000rem;
    letter-spacing: 0.0312px;
    font-weight: 400;
  }
  
  .lynne-label-regular-small {
    font-family: Roboto;
  line-height: 1.0000rem;
    letter-spacing: 0.0312px;
    font-weight: 400;
  }
  
  .lynne-title-italic-large {
    font-family: Roboto;
  line-height: 1.7500rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-title-italic-medium {
    font-family: Roboto;
  line-height: 1.5000rem;
    letter-spacing: 0.0094px;
    font-weight: 400;
  }
  
  .lynne-title-italic-small {
    font-family: Roboto;
    line-height: 1.2500rem;
    letter-spacing: 0.0063px;
    font-weight: 400;
  }
  
  .lynne-title-regular-large {
    font-family: Roboto;
  line-height: 1.7500rem;
    letter-spacing: 0.0000px;
    font-weight: 400;
  }
  
  .lynne-title-regular-medium {
    font-family: Roboto;
  line-height: 1.5000rem;
    letter-spacing: 0.0094px;
    font-weight: 400;
  }
  
  .lynne-title-regular-small {
    font-family: Roboto;
    line-height: 1.2500rem;
    letter-spacing: 0.0063px;
    font-weight: 400;
  }
  
  .label-caption {
    font-family: Roboto Condensed;
  line-height: 120%;
    letter-spacing: 0.0000%;
    font-weight: 400;
  }
  

/* Wrapper */
.wrapper {
    width: 100%;
    background-color: var(--lynne-white);
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 144px;
}

/* Hero Section */
.hero-section {
    background-color: var(--lynne-white);
}

/* Header */
.header {
    /* padding-top: 20px; */
}

.top-header {
    background-color: #C2272D;
    width: 100%;
    padding: 10px 0px;
}

.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 42px;
}

.contact-info {
    display: flex;
    gap: 35.25px;
    font-family: var(--font-roboto-condensed);
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
}

.contact-info a {
    color: #2b0b00;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info p {
    font-weight: 400;
    white-space: nowrap;
}

.auth-button-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-button {
    background-color: var(--lynne-primary-variant-2-light);
    padding: 9px 16px;
    border-radius: var(--lynne-border-radius);
    border: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 22.4px;
    color: #000000;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    min-height: 42px;
}

.auth-button:hover {
    background-color: white;
}


/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.dropdown-inner {
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: var(--lynne-border-radius);
    margin-top: 4px;
    overflow: hidden;
    padding: 12px 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    color: #000000;
    text-decoration: none;
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 22.4px;
    transition: background-color 0.3s ease;
    padding: 8px 16px;
}


.dropdown-item:hover {
    background-color: var(--lynne-primary-variant-2-light);
}

/* Brand */
.brand {
    padding-top: 30px;
    margin-bottom: 23.25px;
}

.brand-name {
    font-family: var(--font-didot);
    /* font-size: 39px; */
    font-weight: 400;
    color: var(--extended-colors-lynne-red-accent);
    margin-bottom: 0;
    line-height: 1;
    display: inline-block;
}

.tagline {
    font-family: var(--font-roboto);
    /* font-size: 20px; */
    font-weight: 300;
    color: var(--lynne-black);
    line-height: 1.2;
}

/* Hero Slider */
.hero-slider-container {
    position: relative;
    /* margin-bottom: 23.25px; */
    width: 100%;
    height: 576px;
    z-index: 1;
    border-radius: var(--img-border-radius);
    overflow: hidden;
}

.hero-slider-container .hero-slider {
    min-height: 100%;
}

.hero-slider {
    width: 100%;
    height: 576px;
}

/* Slick Carousel Slide */
.hero-slider .slide {
    height: 576px;
    outline: none;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Slick Dots Customization */
.hero-slider .slick-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 20;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-slider .slick-dots li {
    margin: 0;
    padding: 0;
    width: 12px;
    height: 12px;
}

.hero-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0;
    line-height: 0;
}

.hero-slider .slick-dots li button:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.hero-slider .slick-dots li.slick-active button {
    background-color: var(--lynne-primary-variant-2-light);
}

.hero-slider .slick-dots li button:before {
    display: none;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: none;
    gap: 10px;
    z-index: 30;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-controls.show {
    display: flex;
    pointer-events: auto;
}

.hero-slider-container:hover .video-controls.show {
    opacity: 1;
}

.video-controls:hover {
    opacity: 1;
}

.video-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.video-control-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-color: var(--lynne-primary-variant-2-light);
    transform: scale(1.1);
}

.video-control-btn svg {
    pointer-events: none;
}

.video-control-btn:active {
    transform: scale(0.95);
}

/* Hero Video Fullscreen - fit instead of fill */
#heroVideo:fullscreen,
#heroVideo:-webkit-full-screen,
#heroVideo:-moz-full-screen,
#heroVideo:-ms-fullscreen {
    object-fit: contain !important;
    background-color: #000;
}

/* Menu Bar */
.menu-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 78px;
    height: 65px;
    /* margin-bottom: 20px; */
    position: relative;
    z-index: 100;
    background-color: var(--lynne-white);
}

.menu-bar a {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-bar a:hover {
    color: var(--lynne-primary);
}

/* Body Content */
.body-content {
    background-color: var(--lynne-white);
    padding: 0 0 100px;
}

.body-content .container {
    display: flex;
    flex-direction: column;
    gap: 43px;
}

/* Banner Section */
.banner-section {
    position: relative;
    width: 100%;
    height: 445.5px;
    max-height: 445.5px;
    min-height: 445.5px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
    z-index: 1;
    /* iOS Safari fix - force proper sizing with hardware acceleration */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Force exact dimensions */
    flex-shrink: 0;
}

.banner-section img {
    width: 100%;
    height: 445.5px;
    max-height: 445.5px;
    object-fit: cover;
    /* filter: brightness(0.7); */
    /* Prevent layout shift */
    display: block;
    /* iOS Safari fix - force image to respect container size */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    /* max-width: calc(100% - 180px); */
    max-width: 100%;
    padding: 0;
}

.banner-title {
    font-family: Didot, serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0%;
    color: var(--lynne-white);
    padding: 7px 12px;
    background-color: var(--extended-colors-lynne-red-accent);
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
    /* Font size scales with viewport to fit single line */
    font-size: min(4.5vw, 64px);
    box-sizing: border-box;
}

/* About Section */
.about-section {
    width: 100%;
}

.about-content {
    display: flex;
    gap: var(--lynne-gutter);
    align-items: flex-start;
    width: 100%;
}

.about-text-column {
    flex: 0 0 calc(66.666% - 16px);
    max-width: calc(66.666% - 16px);
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
}

.section-label {
    font-family: Roboto, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0%;
    /* color: var(--lynne-primary-variant-1); */
    color: #C1272C;
    margin-bottom: 10px;
}

.section-title {
    font-family: Didot, serif;
    font-size: 49px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
    color: var(--lynne-on-primary-container);
}

.section-subtitle {
    font-family: Didot, serif;
    font-size: 43px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
    color: var(--lynne-on-primary-container);
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 38.25px;
}

.about-images {
    display: flex;
    gap: 22.495px;
}

.about-image-left {
    flex: 1;
    min-width: 250px;
    height: 250.614px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
}

.about-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-right {
    flex: 1;
    min-width: 250px;
    height: 250.614px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
}

.about-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-description {
    display: flex;
    flex-direction: column;
    gap: 12.75px;
}

.about-description p {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0%;
    color: var(--lynne-on-primary-container);
}

.btn-primary {
    background-color: var(--lynne-primary-variant-1);
    color: var(--lynne-white);
    font-family: var(--font-roboto);
    font-size: 16px;
    font-weight: 300;
    padding: 9px 16px;
    border: none;
    border-radius: var(--lynne-border-radius);
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #877664;
}

.about-image-column {
    flex: 0 0 calc(33.333% - 8px);
    max-width: calc(33.333% - 8px);
    height: 689.07px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
}

.about-image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Utility Classes for White Background Contrast */
.img-overlay-dark {
    position: relative;
}

.img-overlay-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.12);
    pointer-events: none;
    border-radius: inherit;
}

.img-contrast-filter img {
    filter: brightness(0.92) contrast(1.08);
}

.img-border-subtle {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Success Section */
.success-section {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
}

.success-image {
    width: 100%;
    max-height: 540px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
    display: flex;
    position: relative;
}

.success-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.counters {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 330px;
    /* height: 180px; */
}

.counter-label {
    font-family: Didot, serif;
    font-size: 35px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
    color: var(--lynne-text-brown);
    text-align: center;
    white-space: nowrap;
}

.counter-value {
    font-family: var(--font-didot);
    font-size: 102px;
    font-weight: 700;
    color: var(--lynne-black);
    line-height: 129px;
    text-align: center;
}

.counter-plus {
    font-family: var(--font-roboto);
    font-size: 102px;
    font-weight: 400;
    font-style: italic;
}

/* Riders Section */
.riders-section {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
}

.riders-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--lynne-gutter);
}

.gallery-card {
    position: relative;
    display: block;
    height: 368.182px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* Video Section */
.video-section {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
}

.section-description {
    font-family: Roboto, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0%;
    color: #000000;
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: var(--img-border-radius);
    overflow: hidden;
    /* iOS Safari video fix */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.video-container img,
.video-container > video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 9.682px;
    /* iOS touch handling */
    -webkit-tap-highlight-color: transparent;
}

.video-container:has(.video-iframe-wrapper[style*="display: block"]),
.video-container:has(.video-iframe-wrapper:not([style*="display: none"])) {
    aspect-ratio: 16 / 9;
    height: auto;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 3;
    /* iOS touch handling */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.play-button img {
    width: 68px;
    height: 68px;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.video-iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.video-iframe-wrapper iframe,
.video-iframe-wrapper video {
    width: 100%;
    height: 100%;
    border-radius: var(--img-border-radius);
}

.video-iframe-wrapper video {
    /* Ensure video is tappable on iOS */
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    object-fit: cover;
}

/* Custom Hero Slider Styles */
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* About Text Styles */
.about-text-preview,
.about-text-full {
    margin-bottom: 15px;
}

.about-text-full {
    margin-top: 15px;
    animation: fadeIn 0.3s ease-in-out;
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

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

/* Responsive Styles */
@media screen and (max-width: 1440px) {
    .container {
        padding: 0 80px;
    }
    
    .top-header {
        padding: 10px 80px;
    }

    .top-header-inner {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

@media screen and (max-width: 1280px) {
    .container {
        padding: 0 60px;
    }
    
    .top-header {
        padding: 10px 60px;
    }
    
    .about-text-column {
        flex: 0 0 calc(65% - 16px);
        max-width: calc(65% - 16px);
    }
    
    .about-image-column {
        flex: 0 0 calc(35% - 8px);
        max-width: calc(35% - 8px);
    }
}

@media screen and (max-width: 1200px) {
    .container {
        padding: 0 60px;
    }
    
    .contact-info {
        gap: 40px;
        font-size: 16px;
    }
    
    .brand-name {
        font-size: 48px;
    }
    
    .tagline {
        font-size: 20px;
    }
    
    .menu-bar {
        gap: 50px;
    }
    
    .menu-bar a {
        font-size: 20px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-image-column {
        flex: 0 0 100%;
        max-width: 100%;
        height: 600px;
    }


    .top-header-inner {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .top-header {
        padding: 10px 40px;
    }
    
    .contact-info {
        gap: 30px;
        font-size: 14px;
    }
    
    .auth-button {
        font-size: 14px;
        padding: 8px 14px;
    }
    
    .brand-name {
        font-size: 42px;
    }
    
    .tagline {
        font-size: 26px;
    }
    
    .hero-slider-container {
        height: 450px;
    }

    .hero-slider {
        height: 270px;
        /* height: 450px; */
    }

    .hero-slider .slide {
        height: 450px;
    }


    /* Fix program-label text overflow for tablet */
    .program-label h3 {
        font-size: 20px;
        padding: 9px 13px;
        white-space: normal;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .program-small .program-label h3 {
        font-size: 18px;
        padding: 8px 12px;
    }

    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        font-size: 35px;
        top: -35px;
    }

    
    .menu-bar {
        gap: 35px;
    }
    
    .menu-bar a {
        font-size: 18px;
    }
    
    
    /* .banner-overlay {
        max-width: calc(100% - 180px);
    } */
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-image-column {
        flex: 0 0 100%;
        max-width: 100%;
        height: 400px;
    }
    
    .about-images {
        flex-wrap: wrap;
    }
    
    .about-image-left,
    .about-image-right {
        flex: 1 1 calc(50% - 11.25px);
        min-width: 250px;
        height: 220px;
    }
    
    .section-title {
        font-size: 43px;
    }
    
    .section-subtitle {
        font-size: 38px;
    }
    
    .counters {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: space-around;
    }
    
    .counter-item {
        width: 300px;
    }
    
    .riders-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 34px;
    }
    
    .top-header {
        padding: 10px 34px;
    }
    
    .top-header-inner {
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }
    
    .contact-info {
        flex-direction: column;
        /* gap: 8px; */
        flex: 1;
    }
    
    .contact-info p {
        font-size: 12px;
    }
    
    .auth-button-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: auto;
        max-width: 200px;
    }
    
    .auth-button-group .dropdown,
    .auth-button-group .auth-button {
        width: 100%;
    }
    
    .auth-button-group .dropdown .auth-button {
        width: 100%;
        text-align: center;
    }
    
    .auth-button {
        flex-shrink: 0;
        font-size: 14px;
        padding: 8px 14px;
        min-height: 36px;
    }
    
    .dropdown-toggle::after {
        font-size: 8px;
        margin-left: 6px;
    }
    
    .dropdown-menu {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        min-width: 100%;
    }
    
    .dropdown-item {
        font-size: 14px;
    }

    .hero-slider-container {
        height: 300px;
        margin-bottom: 20px;
    }

    .hero-slider .slick-dots {
        /* bottom: 15px; */
        /* bottom: -15px; */
    }

    .hero-slider .slide {
        height: 300px;
    }

    .menu-bar {
        margin-top: -5px;
        margin-bottom: 15px;
        gap: 12px;
    }

    .video-modal-close {
        font-size: 30px;
        top: -30px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0px;
    }
    
    .auth-button {
        text-align: center;
    }
    
    .brand-name {
        font-size: 36px;
    }
    
    .tagline {
        font-size: 22px;
    }
    
    .menu-bar {
        gap: 20px;
        flex-wrap: wrap;
        height: auto;
        padding: 20px 0;
    }
    
    .menu-bar a {
        font-size: 16px;
    }
    
    .banner-section {
        height: 350px;
        min-height: 350px;
        max-height: 350px;
    }
    
    .banner-section img {
        height: 350px;
        max-height: 350px;
    }
    
    /* .banner-overlay {
        max-width: calc(100% - 80px);
    } */
    
    .about-images {
        flex-direction: column;
    }
    
    .about-image-left,
    .about-image-right {
        width: 100%;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 32px;
    }
    
    .counter-label {
        font-size: 28px;
    }
    
    .counter-value {
        font-size: 72px;
        line-height: 90px;
    }
    
    .counter-plus {
        font-size: 72px;
    }
    
    .gallery-card {
        flex: 0 0 100%;
    }

    .gallery-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .section-label {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {

    .top-header {
        padding: 10px 26px;
    }

    .container {
        padding: 0 26px;
    }
    
    .contact-info {
        font-size: 12px;
    }
    
    .auth-button-group {
        gap: 6px;
    }
    
    .auth-button {
        font-size: 12px;
        padding: 6px 10px;
        min-height: 32px;
    }
    
    .dropdown-toggle::after {
        font-size: 7px;
        margin-left: 5px;
    }
    
    .dropdown-item {
        font-size: 12px;
        /* padding: 8px 10px; */
    }
    
    .brand-name {
        font-size: 28px;
    }
    
    .hero-slider {
        height: 250px;
    }
    
    .video-controls {
        bottom: 40px;
        right: 10px;
        gap: 8px;
    }
    
    .video-control-btn {
        width: 36px;
        height: 36px;
    }
    
    .video-control-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .menu-bar {
        gap: 15px;
    }
    
    .menu-bar a {
        font-size: 14px;
    }
    
    .banner-section {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
    
    .banner-section img {
        height: 250px;
        max-height: 250px;
    }
    
    .banner-overlay {
        max-width: calc(100% - 40px);
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 24px;
    }
    
    .about-images {
        flex-direction: column;
        gap: 16px;
    }
    
    .about-image-left,
    .about-image-right {
        width: 100%;
        min-width: unset;
        height: 200px;
    }
    
    .about-image-column {
        height: 300px;
    }
    
    .success-image {
        max-height: 350px;
    }
    
    .counter-item {
        width: 100%;
    }
    
    .counter-label {
        font-size: 24px;
    }
    
    .counter-value {
        font-size: 60px;
        line-height: 75px;
    }
    
    .counter-plus {
        font-size: 60px;
    }
    
    .gallery-card {
        height: 280px;
    }
    
    .play-button img {
        width: 50px;
        height: 50px;
    }
    
    /* Mobile Typography Scale */
    .lynne-text-2-roboto-heading-h1 {
        font-size: 32px;
    }
    
    .lynne-text-2-roboto-heading-h1-sub {
        font-size: 28px;
    }
    
    .lynne-text-2-roboto-heading-h2 {
        font-size: 26px;
    }
    
    .lynne-text-2-roboto-heading-h3 {
        font-size: 22px;
    }
    
    .lynne-text-2-roboto-heading-h5 {
        font-size: 16px;
    }
    
    .lynne-text-2-roboto-condensed-heading-h5 {
        font-size: 16px;
    }
    
    .lynne-text-2-didot-heading-h1 {
        font-size: 29px;
    }
    
    .lynne-text-2-didot-heading-h1-sub {
        font-size: 26px;
    }
    
    .lynne-text-2-didot-heading-h2 {
        /* font-size: 24px; */
        font-size: 17px;
    }
    
    .lynne-text-2-didot-heading-h3 {
        font-size: 20px;
    }
    
    .lynne-text-2-didot-heading-h5 {
        font-size: 16px;
    }
    
    .video-play-icon img {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-video-controls {
        bottom: 8px;
        right: 8px;
        gap: 6px;
    }
    
    .testimonial-video-btn {
        width: 32px;
        height: 32px;
    }
    
    .testimonial-video-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .testimonial-card.testimonial-video {
        min-height: 250px;
        /* On mobile, use aspect-ratio since grid rows are auto */
        aspect-ratio: 16 / 9;
        /* iOS Safari video height fix */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .testimonial-video .video-thumbnail {
        min-height: 250px;
        /* iOS Safari ensure thumbnail sets container height */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .testimonial-video .inline-video {
        min-height: 250px;
        /* iOS Safari force video to match container */
        max-height: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .tagline {
        font-size: 18px;
    }
}

/* =============================================
   PHASE 2 STYLES
   ============================================= */

/* Services Section */
.services-section {
    display: flex;
    flex-direction: column;
    /* gap: var(--lynne-heading-body-gap); */
    gap: var(--lynne-gutter);
}

.services-description {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0%;
    color: #000000;
    
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
    /* height: 598px; */
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 84px 46px;
    border-radius: var(--img-border-radius);
    text-align: center;
}

.service-card.card-light {
    background-color: var(--lynne-primary-variant-2-light);
}

.service-card.card-dark {
    background-color: var(--lynne-primary-variant-1);
}

.service-card h3 {
    font-family: Didot, serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
    color: #000000;
    margin: 0;
}

.service-card p {
    font-family: Roboto, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0%;
    color: #000000;
    margin: 0;
}

.btn-dark {
    background-color: #380D00;
    color: #F5F5F7;
    font-family: var(--font-roboto);
    font-size: 16px;
    font-weight: 400;
    padding: 9px 16px;
    border: none;
    border-radius: var(--lynne-border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 6px;
    text-decoration: none;
}

.btn-dark:hover {
    background-color: #55200A;
}

/* Programs Section */
.programs-section {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
}

.programs-section-page {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-gutter);
}

.programs-layout {
    display: flex;
    gap: var(--lynne-gutter);
}

.program-large {
    position: relative;
    width: 661.504px;
    height: 636px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
}

.program-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-label {
    position: absolute;
    bottom: 22px;
    left: 0;
    background-color: var(--lynne-primary-variant-1);

    padding: 15px 20px;
    border-radius: 0 10.232px 10.232px 0;
}

.program-label h3 {
    font-family: Didot, serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
    color: var(--lynne-white);
    margin: 0;
    white-space: nowrap;
}

.programs-column {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-gutter);
    flex: 1;
}

.program-small {
    position: relative;
    height: 196.194px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
}

.program-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Why Choose Us Section */
.why-choose-section {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
}

.choose-cards {
    display: flex;
    gap: var(--lynne-gutter);
    margin-top: var(--lynne-gutter);
}

.choose-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9.832px;
}

/* Original Card Style - Title Above Image */
.choose-card-above h3 {
    font-family: Didot, serif;
    font-size: 35px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
    color: #000000;
    margin: 0;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.choose-card-above img {
    width: 100%;
    height: 241.319px;
    object-fit: cover;
    border-radius: var(--img-border-radius);
}

/* New Card Style - Title Overlay on Image (Program-style) */
.choose-card-overlay-style {
    position: relative;
    height: 241.319px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
}

.choose-card-overlay-style img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.choose-label {
    position: absolute;
    bottom: 22px;
    left: 0;
    background-color: var(--lynne-primary-variant-1);
    padding: 15px 20px;
    border-radius: 0 10.232px 10.232px 0;
}

.choose-label h3 {
    font-family: Didot, serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
    color: var(--lynne-white);
    margin: 0;
    white-space: nowrap;
}

/* New Card Style - Title Overlay on Image */
.choose-card-wrapper {
    position: relative;
    width: 100%;
    height: 241.319px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
}

.choose-card-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.choose-card-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    z-index: 2;
}

.choose-card-overlay h3 {
    font-family: Didot, serif;
    font-size: 35px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin: 0;
    text-align: center;
    width: 100%;
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); */
}

/* Testimonials Section */
.testimonials-section {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 288px);
    gap: 27px;
    width: 100%;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 8.889px;
    padding: 28.444px 32px;
    border-radius: var(--img-border-radius);
}

.testimonial-card.bg-beige {
    background-color: #ECE9E0;
}

.testimonial-card.bg-brown {
    background-color: #55200A;
}

.testimonial-card.bg-brown h4,
.testimonial-card.bg-brown .member-role,
.testimonial-card.bg-brown .testimonial-text {
    color: var(--lynne-white);
}

.testimonial-card.bg-orange {
    background-color: #F15A24;
}

.testimonial-card.bg-orange h4,
.testimonial-card.bg-orange .member-role,
.testimonial-card.bg-orange .testimonial-text {
    color: var(--lynne-white);
}

.testimonial-card.bg-red {
    background-color: #C1272C;
}

.testimonial-card.bg-red h4,
.testimonial-card.bg-red .member-role,
.testimonial-card.bg-red .testimonial-text {
    color: var(--lynne-white);
}

.testimonial-card.bg-brown-variant {
    background-color: var(--lynne-primary-variant-1);
}

.testimonial-card.bg-brown-variant h4,
.testimonial-card.bg-brown-variant .member-role,
.testimonial-card.bg-brown-variant .testimonial-text {
    color: var(--lynne-white);
}

.testimonial-card.testimonial-video {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: var(--img-border-radius);
    cursor: pointer;
    /* Ensure video wrapper maintains proper height on iOS */
    display: block;
    /* Use grid height instead of aspect-ratio to match other cards */
    height: 100%;
}

.testimonial-video .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* iOS Safari height preservation */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.testimonial-video .inline-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    /* iOS Safari video height fix - force GPU acceleration and proper sizing */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Prevent iOS Safari from shrinking video */
    min-height: 100%;
}

/* Fullscreen mode - fit instead of fill */
.testimonial-video .inline-video:fullscreen,
.testimonial-video .inline-video:-webkit-full-screen,
.testimonial-video .inline-video:-moz-full-screen,
.testimonial-video .inline-video:-ms-fullscreen {
    object-fit: contain;
    background-color: #000;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.testimonial-video.playing .video-play-icon {
    opacity: 0;
    pointer-events: none;
}

.video-play-icon:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-icon img {
    width: 68px;
    height: 68px;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

/* Testimonial Video Controls */
.testimonial-video-controls {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: none;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-video.playing .testimonial-video-controls {
    display: flex;
}

.testimonial-video.playing:hover .testimonial-video-controls {
    opacity: 1;
}

.testimonial-video-controls:hover {
    opacity: 1;
}

.testimonial-video-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    padding: 0;
}

.testimonial-video-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    border-color: var(--lynne-primary-variant-2-light);
    transform: scale(1.1);
}

.testimonial-video-btn svg {
    pointer-events: none;
}

.testimonial-video-btn:active {
    transform: scale(0.95);
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    padding: 20px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.video-modal-close:hover {
    color: var(--lynne-primary-variant-2-light);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24.889px;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 0.889px;
    padding-top: 8.889px;
}

.testimonial-info h4 {
    font-family: Didot, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
    margin: 0;
    color: #000000;
}

.testimonial-info h4.text-red {
    color: #C1272D;
}

.member-role {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0%;
    margin: 0;
    color: #000000;
}

.member-role.text-black {
    color: #000000;
}

.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-divider {
    width: 100%;
    height: 1px;
    border: none;
    /* background-color: var(--lynne-white); */
    border-top: 1px solid var(--lynne-white);
    margin: 0;
}

.testimonial-divider-brown {
    /* background-color: var(--lynne-primary-variant-1); */
    border-top: 1px solid var(--lynne-primary-variant-1);
}

.testimonial-divider-white {
    /* background-color: var(--lynne-white); */
    border-top: 1px solid var(--lynne-white);
    border-bottom: 0;
}

.testimonial-text {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0%;
    margin: 0;
    color: #000000;
}

.testimonial-text.text-black {
    color: #000000;
}

/* FAQ Section */
.faq-section {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-gutter);
}

.faq-content {
    display: flex;
    gap: var(--lynne-gutter);
}

.faq-image {
    width: 368.065px;
    height: 546.84px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.faq-item {
    display: flex;
    flex-direction: column;
    /* gap: 14px; */
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--lynne-primary-variant-2-light);
    padding: 7px 24px;
    border-radius: var(--lynne-border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #bdb2a5;
}

.faq-question h3 {
    font-family: Didot, serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
    color: #000000;
    margin: 0;
}

.faq-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
}

.faq-toggle img {
    width: 62%;
    height: 62%;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle .icon-plus {
    display: none;
}

.faq-item.active .faq-toggle .icon-minus {
    display: block;
}

.faq-toggle .icon-minus {
    display: none;
}

.faq-item.active .faq-toggle .icon-plus {
    display: none;
}

.faq-answer {
    padding: 0 25px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding: 4px 23px 0;
}

.faq-answer p {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0%;
    color: #000000;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #000000;
    color: var(--lynne-white);
    padding: 38px 0;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 144px;
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: left;
}

.footer-auth .auth-button {
    background-color: var(--lynne-primary-variant-2-light);
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 22.4px;
    padding: 9px 16px;
    border: none;
    border-radius: var(--lynne-border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.footer-auth .auth-button:hover {
    background-color: #bdb2a5;
}

.footer-social {
    display: flex;
    gap: 22px;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.8;
}

.footer-social img {
    width: 42px;
    height: 42px;
    display: block;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    min-width: 500px;
}

.footer-brand {
    font-family: var(--font-didot);
    font-size: 35px;
    font-weight: 400;
    color: #C69C6D;
    line-height: 1;
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: var(--lynne-primary-variant-2-light);
    line-height: 1.2;
    margin: 0 0 8px 0;
}

.footer-contact p {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--lynne-white);
    line-height: 1.2;
    margin: 0;
}

.menu-wrapper {
    border-top: 1px solid var(--lynne-primary-variant-2-light);
    border-bottom: 1px solid var(--lynne-primary-variant-2-light);
}

.live-chat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-chat span {
    color: var(--lynne-white);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.newsletter-label {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--lynne-white);
    line-height: 1.2;
    margin: 0;
}

.newsletter-input {
    background-color: var(--lynne-white);
    border: none;
    border-radius: var(--lynne-border-radius);
    padding: 12px 13px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--lynne-primary-variant-1);
    line-height: 1.2;
    height: 45px;
}

.newsletter-input::placeholder {
    color: var(--lynne-primary-variant-1);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.footer-links h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: var(--lynne-primary-variant-2-light);
    line-height: 1.2;
    margin: 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--lynne-white);
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--lynne-primary-variant-2-light);
}

.footer-bottom {
    /* padding: 10px; */
}

.footer-bottom p {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--lynne-primary-variant-2-light);
    line-height: 1.2;
    margin: 0;
}

/* =============================================
   RESPONSIVE STYLES FOR PHASE 2
   ============================================= */

@media screen and (max-width: 1440px) {
    .footer-container {
        padding: 0 80px;
    }
}

@media screen and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        height: auto;
    }
    
    .programs-layout {
        flex-direction: column;
    }
    
    .program-large {
        width: 100%;
        height: 500px;
    }
    
    .programs-column {
        flex-direction: row;
    }
    
    .program-small {
        height: 250px;
        flex: 1;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 20px;
    }
    
    .testimonial-card.testimonial-video {
        /* Override height: 100% from desktop - use aspect-ratio for auto rows */
        height: auto;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        min-height: 250px;
    }
    
    .footer-container {
        /* padding: 0 60px; */
    }
}

@media screen and (max-width: 1024px) {
    .service-card {
        padding: 50px 30px;
    }
    
    .service-card h3 {
        font-size: 28px;
    }
    
    .service-card p {
        font-size: 18px;
    }
    
    .program-label h3 {
        font-size: 28px;
    }
    
    .choose-cards {
        flex-wrap: wrap;
    }
    
    .choose-card {
        flex: 0 0 100%;
    }
    
    .choose-card-above h3 {
        font-size: 28px;
        min-height: 70px;
    }
    
    .choose-card-above img {
        height: 200px;
    }
    
    .choose-card-overlay-style {
        height: 200px;
    }
    
    .choose-label h3 {
        font-size: 24px;
    }
    
    .choose-card-wrapper {
        height: 200px;
    }
    
    .choose-card-overlay h3 {
        font-size: 28px;
    }
    
    .faq-content {
        flex-direction: column;
    }
    
    .faq-image {
        width: 100%;
        height: 400px;
    }
    
    .faq-question h3 {
        font-size: 28px;
    }
    
    .footer-main {
        flex-direction: column;
    }
    
    .footer-links {
        align-items: flex-start;
    }
    
    .footer-links ul {
        align-items: flex-start;
    }
    
    .footer-container {
        /* padding: 0 40px; */
        gap: 60px;
    }
    
}

@media screen and (max-width: 768px) {
    .about-images {
        gap: 16px;
    }
    
    .about-image-left,
    .about-image-right {
        height: 180px;
    }
    
    .about-image-column {
        height: 350px;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }
    
    .service-card {
        padding: 40px 20px;
    }
    
    .service-card h3 {
        font-size: 24px;
    }
    
    .programs-column {
        flex-direction: column;
    }
    
    .program-small {
        height: 200px;
    }
    
    .program-label h3 {
        font-size: 22px;
        padding: 15px 20px;
    }
    
    .choose-card-above h3 {
        font-size: 24px;
        min-height: 60px;
    }
    
    .choose-card-above img {
        height: 180px;
    }
    
    .choose-card-overlay-style {
        height: 180px;
    }
    
    .choose-label h3 {
        font-size: 22px;
    }
    
    .choose-card-wrapper {
        height: 180px;
    }
    
    .choose-card-overlay h3 {
        font-size: 24px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        max-width: 100%;
    }
    
    .faq-question {
        padding: 8px 11px;;
    }

    .faq-question h3 {
        font-size: 24px;
    }
    
    .faq-answer p {
        font-size: 16px;
    }
    
    .footer-container {
        /* padding: 0 34px; */
        gap: 40px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-social {
        flex-wrap: wrap;
        justify-content: left;
    }
    
    .footer-brand {
        font-size: 28px;
    }
    
    .footer-contact h4,
    .footer-links h4 {
        font-size: 18px;
    }
    
    .footer-contact p,
    .footer-links a {
        font-size: 14px;
    }
    
    .newsletter-label {
        font-size: 14px;
    }
    
    .newsletter-input {
        font-size: 14px;
        height: 45px;
    }


    .services-section {
        gap: var(--lynne-heading-body-gap-small);
    }

    .body-content {
        padding: 0 0 50px;
    }

    .footer-info {
        gap: 20px;
        max-width: 100%;
        min-width: 100%;
    }
    
    .faq-toggle img {
        width: 50%;
        height: 50%;
    }

    .banner-title {
        font-size: min(4.5vw, 64px);
    }
    
}

@media screen and (max-width: 480px) {

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

    .service-card h3 {
        font-size: 20px;
    }
    
    .service-card p {
        font-size: 16px;
    }
    
    .program-large {
        height: 300px;
    }
    
    .program-small {
        height: 150px;
    }
    
    .program-label {
        padding: 5px 0px;
    }

    .program-label h3 {
        font-size: 18px;
        padding: 9px 13px;
    }
    
    .choose-card-above h3 {
        font-size: 20px;
        min-height: 50px;
    }
    
    .choose-card-above img {
        height: 150px;
    }
    
    .choose-card-overlay-style {
        height: 150px;
    }
    
    .choose-label {
        bottom: 15px;
        padding: 9px 13px;
    }
    
    .choose-label h3 {
        font-size: 18px;
    }
    
    .choose-card-wrapper {
        height: 150px;
    }
    
    .choose-card-overlay h3 {
        font-size: 18px;
    }
    
    .choose-card-overlay-text {
        padding: 15px;
    }
    
    .testimonial-info h4 {
        font-size: 18px;
    }
    
    .member-role {
        font-size: 14px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .faq-question h3 {
        font-size: 18px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    
    .footer-container {
        padding: 0 26px;
    }
    
    .footer-brand {
        font-size: 24px;
    }
    
    .footer-contact h4,
    .footer-links h4 {
        font-size: 16px;
    }
    
    .footer-contact p,
    .footer-links a {
        font-size: 14px;
    }
    
    .newsletter-label {
        font-size: 14px;
    }
    
    .newsletter-input {
        font-size: 14px;
        height: 44px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }

    .faq-item.active .faq-answer {
        padding: 9px 13px 12px;
    }

    .faq-answer {
        padding: 0 13px 0;
    }

    .footer-social img {
        width: 38px;
        height: 38px;
        display: block;
    }

    .banner-title {
        font-size: min(4.0vw, 64px);
    }
    

}



/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color, #8B4513);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color, #A0522D);
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* =============================================
   BLOG PAGE STYLES
   ============================================= */

/* Blog Section */
.blog-section {
    width: 100%;
}

.blog-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
    width: 100%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lynne-gutter);
    width: 100%;
}

/* Blog Card */
.blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 0 0 var(--ibr-border-radius) var(--ibr-border-radius);
    overflow: hidden;
    height: 100%;
}

.blog-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-thumbnail {
    width: 100%;
    height: 270px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--img-border-radius) var(--img-border-radius) 0 0;
}

.blog-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 32px;
    flex: 1;
    border-radius: 0 0 var(--ibr-border-radius) var(--ibr-border-radius);
}

/* Blog Card Variants - Light */
.blog-content-light {
    background-color: var(--lynne-primary-variant-2-light);
}

.blog-card-light .blog-source {
    color: #1A1917;
}

.blog-card-light .blog-date {
    color: #000000;
}

.blog-card-light .blog-title {
    color: #C1272D;
}

.blog-card-light .blog-excerpt {
    color: #000000;
}

/* Blog Card Variants - Dark */
.blog-content-dark {
    background-color: var(--lynne-on-primary-container);
}

.blog-card-dark .blog-source {
    color: var(--lynne-white);
}

.blog-card-dark .blog-date {
    color: var(--lynne-white);
}

.blog-card-dark .blog-title {
    color: var(--lynne-accent-yellow);
}

.blog-card-dark .blog-excerpt {
    color: var(--lynne-white);
}

/* Blog Card Variants - Gray */
.blog-content-gray {
    background-color: var(--lynne-primary-variant-1);
}

.blog-card-gray .blog-source {
    color: var(--lynne-white);
}

.blog-card-gray .blog-date {
    color: var(--lynne-white);
}

.blog-card-gray .blog-title {
    color: #2B0B00;
}

.blog-card-gray .blog-excerpt {
    color: var(--lynne-white);
}

/* Blog Meta */
.blog-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.blog-source {
    font-family: Roboto, sans-serif;
    font-size: 25px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
}

.blog-date {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
}

/* Blog Title */
.blog-title {
    font-family: var(--font-didot);
    font-size: 39px;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    padding-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1em * 3);
}

/* Blog Excerpt */
.blog-excerpt {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.2em * 3);
}

/* Blog Button */
.btn-blog {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    padding: 9px 16px;
    border: none;
    border-radius: var(--ibr-border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.btn-blog-light {
    background-color: var(--schemes-on-primary-fixed-light);
    color: #F5F5F7;
}

.btn-blog-light:hover {
    background-color: #2B0B00;
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-blog-dark {
    background-color: var(--lynne-primary-variant-1);
    color: var(--lynne-white);
}

.btn-blog-dark:hover {
    background-color: #B09880;
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-blog-gray {
    background-color: var(--lynne-on-primary-container);
    color: #F5F5F7;
}

.btn-blog-gray:hover {
    background-color: #8B4624;
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Blog Styles */
@media screen and (max-width: 1280px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-title {
        font-size: 32px;
    }
    
    .blog-source {
        font-size: 22px;
    }
}

@media screen and (max-width: 480px) {
    .blog-thumbnail {
        height: 220px;
    }
    
    .blog-content {
        padding: 20px 24px;
        min-height: 320px;
    }
    
    .blog-title {
        font-size: 28px;
    }
    
    .blog-source {
        font-size: 20px;
    }
    
    .blog-date {
        font-size: 12px;
    }
    
    .blog-excerpt {
        font-size: 14px;
    }
}

/* Pagination Styles */
.blog-pagination {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 48px;
}

.pagination-btn {
    font-family: var(--font-roboto);
    font-size: 16px;
    font-weight: 400;
    padding: 10px 18px;
    border: 1px solid var(--lynne-primary);
    background-color: var(--lynne-white);
    color: var(--lynne-primary);
    border-radius: var(--ibr-border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background-color: var(--lynne-primary);
    color: var(--lynne-white);
    /* transform: translateY(-2px); */
}

.pagination-active {
    background-color: var(--lynne-primary);
    color: var(--lynne-white);
}

.pagination-next {
    padding: 10px 24px;
}

/* =============================================
   HORSES SECTION STYLES
   ============================================= */

.horses-section {
    width: 100%;
    padding: 30px 0;
}

/* Horses Grid Layout */
.horses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

/* Horse Item */
.horse-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--img-border-radius);
    cursor: pointer;
}

/* Grid Sizes */
.horse-large {
    grid-column: span 2;
    grid-row: span 2;
}

.horse-medium {
    grid-column: span 2;
    grid-row: span 1;
}

.horse-small {
    grid-column: span 1;
    grid-row: span 1;
}

/* Image Wrapper */
.horse-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}

.horse-large .horse-image-wrapper {
    min-height: 616px;
}

.horse-medium .horse-image-wrapper {
    min-height: 300px;
    max-height: 500px;
}

.horse-small .horse-image-wrapper {
    min-height: 300px;
}

.horse-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.horse-item:hover .horse-image-wrapper img {
    transform: scale(1.08);
}

/* Horse Overlay */
.horse-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(43, 11, 0, 0.85) 0%, rgba(43, 11, 0, 0.6) 60%, transparent 100%);
    padding: 32px 24px;
    transition: all 0.4s ease;
}

.horse-item:hover .horse-overlay {
    background: linear-gradient(to top, rgba(43, 11, 0, 0.95) 0%, rgba(43, 11, 0, 0.75) 70%, transparent 100%);
    padding-bottom: 36px;
}

.horse-overlay .horse-name {
    color: var(--lynne-white);
    margin: 0 0 8px 0;
    line-height: 1.1;
    transition: transform 0.3s ease;
}

.horse-item:hover .horse-overlay .horse-name {
    /* transform: translateY(-4px); */
}

.horse-overlay .horse-breed {
    color: var(--lynne-white);
    margin: 0;
    opacity: 0.9;
    font-weight: 300;
}

/* Responsive Horses Grid */
@media screen and (max-width: 1200px) {
    .horses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .horse-large {
        grid-column: span 2;
    }
    
    .horse-medium {
        grid-column: span 1;
    }
}

@media screen and (max-width: 768px) {
    .horses-section {
        padding: 40px 0;
    }
    
    .horses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .horse-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .horse-medium {
        grid-column: span 1;
    }
    
    .horse-small {
        grid-column: span 1;
    }
    
    .horse-image-wrapper {
        min-height: 250px;
    }
    
    .horse-large .horse-image-wrapper {
        min-height: 280px;
    }
    
    .horse-medium .horse-image-wrapper,
    .horse-small .horse-image-wrapper {
        min-height: 250px;
    }
    
    .horse-overlay {
        padding: 20px 16px;
    }
}

@media screen and (max-width: 480px) {
    .horses-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .horse-large,
    .horse-medium,
    .horse-small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .horse-image-wrapper,
    .horse-large .horse-image-wrapper,
    .horse-medium .horse-image-wrapper,
    .horse-small .horse-image-wrapper {
        min-height: 280px;
    }
    
    .horse-overlay {
        padding: 24px 20px;
    }
    
    .horse-overlay .horse-name {
        font-size: 28px;
    }
}

/* =============================================
   ERROR PAGES STYLES (400, 404, 500, 503)
   ============================================= */

.error-section {
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    width: 100%;
}

.error-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.error-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.error-code {
    color: var(--lynne-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.error-title {
    color: var(--lynne-on-primary-container);
    margin: 0;
    line-height: 1.1;
}

.error-subtitle {
    color: var(--lynne-text-brown);
    margin: 0;
    line-height: 1.2;
}

.error-message {
    color: var(--lynne-text-brown);
    line-height: 1.8;
    margin: 16px 0;
}

.error-actions {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-error-primary,
.btn-error-secondary {
    padding: 14px 28px;
    border-radius: var(--ibr-border-radius);
    font-family: var(--font-roboto);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-error-primary {
    background-color: var(--lynne-primary);
    color: var(--lynne-white);
    border: 2px solid var(--lynne-primary);
}

.btn-error-primary:hover {
    background-color: var(--lynne-on-primary-container);
    border-color: var(--lynne-on-primary-container);
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-error-secondary {
    background-color: transparent;
    color: var(--lynne-primary);
    border: 2px solid var(--lynne-primary);
}

.btn-error-secondary:hover {
    background-color: var(--lynne-primary);
    color: var(--lynne-white);
    /* transform: translateY(-2px); */
}

.error-suggestions {
    /* background-color: var(--schemes-surface-container-low-light); */
    /* padding: 32px; */
    /* border-radius: var(--img-border-radius); */
    margin-top: 32px;
}

.suggestions-title {
    color: var(--lynne-on-primary-container);
    margin: 0 0 20px 0;
}

.suggestions-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.suggestion-link {
    padding: 8px 16px;
    background-color: var(--lynne-white);
    color: var(--lynne-primary);
    border-radius: var(--ibr-border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--lynne-primary-variant-2-light);
}

.suggestion-link:hover {
    background-color: var(--lynne-primary);
    color: var(--lynne-white);
    /* transform: translateY(-2px); */
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--lynne-text-brown);
}

.suggestion-item svg {
    color: var(--lynne-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.error-help {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--lynne-primary-variant-2-light);
}

.maintenance-note {
    margin-top: 24px;
    padding: 20px;
    background-color: var(--lynne-white);
    border-left: 4px solid var(--lynne-primary);
    border-radius: var(--ibr-border-radius);
}

.maintenance-note p {
    margin: 0;
    color: var(--lynne-text-brown);
}

.maintenance-note strong {
    color: var(--lynne-on-primary-container);
}

/* Responsive Error Pages */
@media screen and (max-width: 768px) {
    .error-section {
        padding: 60px 0;
        min-height: 50vh;
    }

    .error-content-centered {
        padding: 0 20px;
    }

    .error-title {
        font-size: 40px;
    }

    .error-subtitle {
        font-size: 28px;
    }

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

    .btn-error-primary,
    .btn-error-secondary {
        width: 100%;
    }

    .error-suggestions {
        padding: 24px 20px;
    }

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

    .suggestion-link {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .error-section {
        padding: 40px 0;
    }

    .error-content-centered {
        padding: 0 16px;
    }

    .error-title {
        font-size: 32px;
    }

    .error-subtitle {
        font-size: 22px;
    }

    .error-suggestions {
        padding: 20px 16px;
    }

    .btn-error-primary,
    .btn-error-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* =============================================
   CONTACT PAGE STYLES
   ============================================= */

.contact-header-section {
    text-align: center;
    margin-bottom: 48px;
}

.contact-intro {
    max-width: 800px;
    margin: 24px auto 0;
    padding: 0 20px;
}

.contact-intro p {
    line-height: 1.8;
    color: var(--lynne-text-brown);
}

/* Contact Info Cards */
.contact-info-section {
    margin-bottom: 64px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-info-card {
    /* background-color: var(--schemes-surface-container-low-light); */
    background-color: #ECE9E0;
    border-radius: var(--lynne-border-radius);
    padding: 30px;
    position: sticky;
    top: 20px;
}

/* .contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
} */

.info-icon {
    color: var(--lynne-primary);
    margin-bottom: 16px;
}

.info-title {
    color: var(--lynne-on-primary-container);
    margin: 0 0 16px 0;
}

.info-detail {
    color: var(--lynne-text-brown);
    margin: 8px 0;
    line-height: 1.6;
}

/* Contact Main Section */
.contact-main-section {
    margin-bottom: 64px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
}

/* Contact Form */
.contact-form-wrapper {
    /* background-color: var(--schemes-surface-container-low-light); */
    /* background-color: #ECE9E0; */
    /* padding: 40px; */
    border-radius: var(--img-border-radius);
}

.form-header {
    margin-bottom: 32px;
}

.form-header h2 {
    margin: 0 0 12px 0;
    color: var(--lynne-on-primary-container);
}

.form-header p {
    color: var(--lynne-text-brown);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr);
    gap: 20px; */
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: var(--lynne-black);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    padding: 12px 16px;
    border: 1px solid var(--lynne-primary-variant-2-light);
    border-radius: var(--ibr-border-radius);
    font-family: var(--font-roboto);
    font-size: 16px;
    background-color: var(--lynne-white);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--lynne-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-roboto);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: var(--lynne-text-brown);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.btn-submit {
    background-color: var(--lynne-primary);
    color: var(--lynne-white);
    padding: 14px 32px;
    border: none;
    border-radius: var(--ibr-border-radius);
    font-family: var(--font-roboto);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    background-color: var(--lynne-on-primary-container);
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.facility-image {
    width: 100%;
    height: 300px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-info,
.social-connect {
    /* background-color: var(--schemes-surface-container-low-light); */
    background-color: #ECE9E0;
    padding: 32px 28px;
    border-radius: var(--img-border-radius);
}

.visit-info h3,
.social-connect h3 {
    color: var(--lynne-on-primary-container);
    margin: 0 0 16px 0;
}

.visit-info p,
.social-connect p {
    color: var(--lynne-text-brown);
    line-height: 1.6;
    margin-bottom: 20px;
}

.visit-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.visit-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--lynne-text-brown);
}

.visit-feature svg {
    color: var(--lynne-primary);
    flex-shrink: 0;
}

.btn-visit {
    display: inline-block;
    background-color: var(--lynne-primary);
    color: var(--lynne-white);
    padding: 12px 24px;
    border-radius: var(--ibr-border-radius);
    text-decoration: none;
    font-family: var(--font-roboto);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-visit:hover {
    background-color: var(--lynne-on-primary-container);
    /* transform: translateY(-2px); */
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    /* transform: translateY(-4px); */
}

/* Map Section */
.map-section {
    margin-bottom: 64px;
}

.map-section .section-title {
    text-align: center;
    margin-bottom: 32px;
}

.map-container {
    border-radius: var(--img-border-radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.map-info {
    text-align: center;
    margin-top: 24px;
}

.map-info p {
    color: var(--lynne-text-brown);
    max-width: 700px;
    margin: 0 auto;
}

/* Contact FAQ Section */
.contact-faq-section {
    margin-bottom: 48px;
}

.contact-faq-section .section-title {
    text-align: center;
    margin-bottom: 32px;
}

.faq-quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.faq-link-card {
    /* background-color: var(--schemes-surface-container-low-light); */
    background-color: #ECE9E0;
    padding: 32px 28px;
    border-radius: var(--img-border-radius);
    transition: all 0.3s ease;
}

.faq-link-card:hover {
    /* transform: translateY(-4px); */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.faq-link-card h3 {
    color: var(--lynne-on-primary-container);
    margin: 0 0 12px 0;
}

.faq-link-card p {
    color: var(--lynne-text-brown);
    line-height: 1.6;
    margin-bottom: 16px;
}

.link-arrow {
    color: var(--lynne-primary);
    text-decoration: none;
    font-family: var(--font-roboto);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link-arrow:hover {
    color: var(--lynne-on-primary-container);
}

/* Responsive Contact Page */
@media screen and (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        order: -1;
    }

    .faq-quick-links {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .facility-image {
        height: 250px;
    }

    .visit-info,
    .social-connect {
        padding: 24px 20px;
    }
}

@media screen and (max-width: 480px) {
    .contact-info-card {
        padding: 24px 20px;
    }

    .contact-form-wrapper {
        padding: 24px 16px;
    }

    .btn-submit {
        width: 100%;
        text-align: center;
    }

    .btn-visit {
        display: block;
        text-align: center;
    }
}

/* =============================================
   GALLERY PAGE STYLES
   ============================================= */

/* Gallery Sections */
.gallery-photos-section,
.gallery-videos-section {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
    margin-bottom: 24px;
}

.gallery-videos-section {
    /* margin-top: 48px; */
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    /* margin-bottom: 32px; */
}

/* Gallery Item */
.gallery-item {
    position: relative;
    width: 100%;
    height: 324px;
    border-radius: var(--img-border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery Item Label (Horse-overlay style) */
.gallery-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(43, 11, 0, 0.85) 0%, rgba(43, 11, 0, 0.6) 60%, transparent 100%);
    padding: 32px 24px;
    transition: all 0.4s ease;
}

.gallery-item-label h3 {
    font-family: Didot, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0%;
    color: var(--lynne-white);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Gallery Video Item */
.gallery-video-item {
    cursor: pointer;
}

.gallery-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-video-item:hover .gallery-video-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.gallery-play-button {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.gallery-video-item:hover .gallery-play-button {
    transform: scale(1.1);
}

.gallery-play-button img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Load More Button */
.gallery-load-more {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.gallery-load-more .btn-primary {
    padding: 12px 32px;
    font-size: 16px;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
}

.video-modal-content video {
    width: 100%;
    height: 100%;
    border-radius: var(--img-border-radius);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.video-modal-close:hover {
    color: var(--lynne-primary);
}

/* Responsive Gallery Styles */
@media screen and (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-item {
        height: 280px;
    }

    .gallery-play-button {
        width: 70px;
        height: 70px;
    }

    .gallery-item-label {
        padding: 28px 20px;
    }

    .gallery-item-label h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .gallery-photos-section,
    .gallery-videos-section {
        margin-bottom: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery-item {
        height: 220px;
    }

    .gallery-play-button {
        width: 60px;
        height: 60px;
    }

    .gallery-item-label {
        padding: 24px 20px;
    }

    .gallery-item-label h3 {
        font-size: 16px;
    }

    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        font-size: 35px;
        top: -40px;
    }
}

@media screen and (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item {
        height: 250px;
    }

    .gallery-play-button {
        width: 50px;
        height: 50px;
    }

    .gallery-item-label {
        padding: 20px 16px;
    }

    .gallery-item-label h3 {
        font-size: 14px;
    }

    .video-modal-close {
        font-size: 30px;
        top: -35px;
    }

    .gallery-load-more .btn-primary {
        width: 100%;
        padding: 12px 24px;
    }
}

/* =============================================
   INSTRUCTOR & HORSE META STYLES
   ============================================= */

.instructor-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding: 24px;
    background-color: #FAFAFA;
    border-radius: var(--img-border-radius);
}

.instructor-meta-item {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--lynne-text-primary);
}

.instructor-meta-item strong {
    color: var(--lynne-primary);
    font-weight: 500;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .instructor-meta {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }
}

.extra-pt-23p {
    margin-top: 23px;
}

/* Instructors Grid */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.instructor-card {
    background-color: var(--lynne-white);
    border-radius: var(--img-border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.instructor-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.instructor-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(43, 11, 0, 0.9) 0%, rgba(43, 11, 0, 0.7) 60%, transparent 100%);
    padding: 32px 24px;
}

.instructor-name {
    color: var(--lynne-white);
    margin-bottom: 8px;
}

.instructor-role {
    color: var(--lynne-white);
    opacity: 0.95;
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .instructors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    .instructor-image {
        height: 350px;
    }
}

/* Programs Clickable */
.program-clickable a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* =============================================
   SERVICE DETAIL STYLES
   ============================================= */

/* Service Notice Box */
.service-notice {
    background-color: #FFF8F0;
    border-left: 4px solid var(--lynne-primary);
    padding: 20px 24px;
    margin-bottom: 32px;
    border-radius: 4px;
}

.service-notice p {
    margin: 8px 0;
    color: var(--lynne-text-primary);
}

.service-notice p:first-child {
    margin-top: 0;
}

.service-notice p:last-child {
    margin-bottom: 0;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

/* Pricing Card */
.pricing-card {
    background-color: var(--lynne-white);
    border: 2px solid var(--lynne-border-light);
    border-radius: var(--img-border-radius);
    padding: 32px 24px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--lynne-primary);
}

/* Featured Pricing Card */
.pricing-card-featured {
    border-color: var(--lynne-primary);
    background: linear-gradient(135deg, #FFFBF7 0%, #FFF8F0 100%);
}

.pricing-card-featured:hover {
    box-shadow: 0 12px 32px rgba(153, 102, 55, 0.2);
}

/* Pricing Badge */
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--lynne-accent);
    color: var(--lynne-white);
    padding: 4px 16px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Pricing Header */
.pricing-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--lynne-border-light);
    margin-bottom: 20px;
}

.pricing-header h4 {
    color: var(--lynne-primary);
    margin-bottom: 8px;
}

.pricing-subtitle {
    color: var(--lynne-text-secondary);
    margin: 0;
}

/* Pricing Body */
.pricing-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* Pricing Option */
.pricing-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    background-color: #FAFAFA;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.pricing-option:hover {
    background-color: #F5F5F5;
}

.pricing-option-best {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D0 100%);
    border: 2px solid var(--lynne-primary);
    font-weight: 500;
}

.pricing-option-best:hover {
    background: linear-gradient(135deg, #FFE8D0 0%, #FFD8B0 100%);
}

.pricing-duration {
    color: var(--lynne-text-primary);
}

.pricing-price {
    color: var(--lynne-primary);
    font-weight: 400;
    margin: 0;
}

.pricing-per {
    color: var(--lynne-text-secondary);
    margin-top: 8px;
    font-style: italic;
}

/* Single Pricing Card (Full Width) */
.pricing-single {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

/* Special Offer Card */
.special-offer-card {
    background: linear-gradient(135deg, #F0F8FF 0%, #E6F3FF 100%);
    border-color: #4A90E2;
}

.special-offer-card .pricing-header h4 {
    color: #4A90E2;
}

.special-offer-card .pricing-price {
    color: #4A90E2;
    font-size: 36px;
    margin-top: 16px;
}

/* Responsive Pricing Styles */
@media screen and (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-card {
        padding: 28px 20px;
    }
}

@media screen and (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card {
        padding: 24px 20px;
    }

    .pricing-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .service-notice {
        padding: 16px 20px;
    }
}

@media screen and (max-width: 480px) {
    .pricing-card {
        padding: 20px 16px;
    }

    .pricing-header {
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .service-notice {
        padding: 14px 16px;
        margin-bottom: 24px;
    }

    .pricing-badge {
        font-size: 11px;
        padding: 3px 12px;
    }
}

/* Service Detail CTA */
.blog-detail-cta {
    background: linear-gradient(135deg, var(--lynne-primary) 0%, var(--lynne-primary-variant-1) 100%);
    padding: 40px;
    border-radius: var(--img-border-radius);
    text-align: center;
    margin-top: 48px;
}

.blog-detail-cta h3 {
    color: var(--lynne-white);
    margin-bottom: 16px;
}

.blog-detail-cta p {
    color: var(--lynne-white);
    margin-bottom: 24px;
    opacity: 0.95;
}

.blog-detail-cta .btn-primary {
    background-color: var(--lynne-white);
    color: var(--lynne-primary);
    border: 2px solid var(--lynne-white);
}

.blog-detail-cta .btn-primary:hover {
    background-color: transparent;
    color: var(--lynne-white);
    border-color: var(--lynne-white);
}

/* Related Services Section */
.related-services-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--lynne-border-light);
}

.related-services-section .section-title {
    margin-bottom: 32px;
    text-align: center;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-service-card {
    /* background-color: var(--lynne-bg-light); */
    background-color: #ECE9E0;
    border-radius: var(--img-border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.related-service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.related-service-card:hover .related-service-image img {
    transform: scale(1.05);
}

.related-service-content {
    padding: 24px;
}

.related-service-content h4 {
    margin-bottom: 8px;
    color: var(--lynne-primary);
}

.related-service-content p {
    color: var(--lynne-text-secondary);
    line-height: 1.6;
}

/* Responsive Service Detail Styles */
@media screen and (max-width: 1024px) {
    .related-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-detail-cta {
        padding: 32px 24px;
    }
}

@media screen and (max-width: 768px) {
    .related-services-grid {
        grid-template-columns: 1fr;
    }

    .blog-detail-cta {
        padding: 24px 20px;
    }

    .blog-detail-cta .btn-primary {
        display: block;
        width: 100%;
        margin-left: 0 !important;
        margin-top: 12px;
    }

    .related-service-image {
        height: 180px;
    }

    .related-services-section {
        margin-top: 48px;
        padding-top: 32px;
    }
}

@media screen and (max-width: 480px) {
    .blog-detail-cta {
        padding: 20px 16px;
    }

    .related-service-content {
        padding: 20px;
    }

    .related-service-image {
        height: 160px;
    }
}

/* =============================================
   BLOG DETAIL STYLES
   ============================================= */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 16px 0;
}

.breadcrumb-link {
    color: var(--lynne-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--lynne-on-primary-container);
}

.breadcrumb-separator {
    color: var(--lynne-black);
}

.breadcrumb-current {
    color: var(--lynne-black);
}

/* Blog Detail Section */
.blog-detail-section {
    width: 100%;
}

.blog-detail-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
    max-width: 900px;
    margin: 0 auto;
}

.blog-detail-image {
    width: 100%;
    max-height: 600px;
    height: auto;
    border-radius: var(--img-border-radius);
    overflow: hidden;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    object-position: center;
}

.blog-detail-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.blog-detail-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.blog-detail-category {
    color: var(--lynne-primary);
    text-transform: uppercase;
}

.blog-detail-date,
.blog-detail-author {
    color: var(--lynne-text-brown);
}

.blog-detail-title {
    margin: 16px 0;
}

.blog-detail-subtitle {
    color: var(--lynne-text-brown);
    font-style: italic;
}

/* Blog Detail Content */
.blog-detail-content {
    display: flex;
    flex-direction: column;
    /* gap: 24px; */
    line-height: 1.8;
}

.blog-detail-content p {
    line-height: 1.8;
    margin-bottom: 16px;
}

.blog-detail-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.blog-detail-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.blog-detail-image-inline {
    margin: 32px 0;
    border-radius: var(--img-border-radius);
    overflow: hidden;
}

.blog-detail-image-inline img {
    width: 100%;
    height: auto;
    border-radius: var(--img-border-radius);
    margin-bottom: 8px;
}

.image-caption {
    text-align: center;
    color: var(--lynne-text-brown);
    font-style: italic;
    padding: 8px 0;
}

.blog-detail-list {
    margin-left: 32px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-detail-list li {
    line-height: 1.8;
}

.blog-detail-list li strong {
    font-weight: 500;
    color: var(--lynne-on-primary-container);
}

.blog-detail-quote {
    background-color: var(--lynne-primary-variant-2-light);
    padding: 32px 40px;
    border-left: 4px solid var(--lynne-primary);
    border-radius: var(--ibr-border-radius);
    margin: 40px 0;
}

.blog-detail-quote p {
    font-style: italic;
    margin-bottom: 16px;
}

.quote-author {
    display: block;
    text-align: right;
    color: var(--lynne-on-primary-container);
    font-weight: 500;
}

/* Blog Detail Footer */
.blog-detail-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--lynne-primary-variant-2-light);
}

.blog-tags {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.tag-label {
    color: var(--lynne-black);
    font-weight: 500;
}

.blog-tag {
    padding: 6px 16px;
    background-color: var(--lynne-primary-variant-2-light);
    color: var(--lynne-on-primary-container);
    border-radius: var(--ibr-border-radius);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background-color: var(--lynne-primary);
    color: var(--lynne-white);
    /* transform: translateY(-2px); */
}

/* Related Posts */
.related-posts {
    margin-top: 14px;
    padding-top: 48px;
    border-top: 1px solid var(--lynne-primary-variant-2-light);
}

.related-posts .section-title {
    margin-bottom: 32px;
    text-align: center;
}

/* Related Posts Slider */
.related-posts-slider {
    margin: 0 -12px;
}

.related-posts-slider .blog-card {
    margin: 0 12px;
    display: flex !important;
    flex-direction: column;
    height: auto;
}

.related-posts-slider .blog-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-posts-slider .blog-thumbnail {
    flex-shrink: 0;
}

.related-posts-slider .blog-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Truncate title to max 3 lines */
.related-posts-slider .blog-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-height: calc(1.3em * 3);
}

/* Truncate excerpt to max 3 lines */
.related-posts-slider .blog-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    max-height: calc(1.6em * 3);
    flex: 1;
}

.related-posts-slider .btn-blog {
    margin-top: auto;
}

/* Slick Slider Customization for Related Posts */
.related-posts .slick-dots {
    bottom: -40px;
}

.related-posts .slick-dots li button:before {
    font-size: 12px;
    color: var(--lynne-primary);
    opacity: 0.4;
}

.related-posts .slick-dots li.slick-active button:before {
    color: var(--lynne-primary);
    opacity: 1;
}

/* Ensure equal height slides */
.related-posts .slick-track {
    display: flex !important;
}

.related-posts .slick-slide {
    height: inherit !important;
    display: flex !important;
}

.related-posts .slick-slide > div {
    height: 100%;
    display: flex !important;
}

/* =============================================
   BLOG ARCHIVE STYLES
   ============================================= */

.blog-archive-section {
    width: 100%;
}

.blog-archive-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
}

.archive-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    margin-top: 32px;
}

/* Archive Sidebar */
.archive-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-widget {
    background-color: var(--schemes-surface-container-low-light);
    padding: 24px;
    border-radius: var(--img-border-radius);
}

.widget-title {
    margin-bottom: 20px;
    color: var(--lynne-on-primary-container);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--lynne-primary-variant-2-light);
    border-radius: var(--ibr-border-radius);
    font-family: var(--font-roboto);
    font-size: 14px;
}

.search-btn {
    padding: 12px 16px;
    background-color: var(--lynne-primary);
    color: var(--lynne-white);
    border: none;
    border-radius: var(--ibr-border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: var(--lynne-on-primary-container);
}

/* Category List */
.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-link {
    color: var(--lynne-black);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: var(--lynne-primary);
}

.category-link .count {
    color: var(--lynne-text-brown);
    font-size: 13px;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud-item {
    padding: 6px 14px;
    background-color: var(--lynne-primary-variant-2-light);
    color: var(--lynne-on-primary-container);
    border-radius: var(--ibr-border-radius);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag-cloud-item:hover {
    background-color: var(--lynne-primary);
    color: var(--lynne-white);
}

/* Recent Posts List */
.recent-posts-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-post-item {
    border-bottom: 1px solid var(--lynne-primary-variant-2-light);
    padding-bottom: 16px;
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.recent-post-link img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--ibr-border-radius);
    flex-shrink: 0;
}

.recent-post-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.recent-post-info h4 {
    color: var(--lynne-black);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-post-link:hover .recent-post-info h4 {
    color: var(--lynne-primary);
}

.recent-post-info p {
    color: var(--lynne-text-brown);
}

/* Archive Content */
.archive-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.archive-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: var(--schemes-surface-container-low-light);
    border-radius: var(--ibr-border-radius);
}

.filter-info {
    color: var(--lynne-black);
}

.filter-info strong {
    color: var(--lynne-primary);
    font-weight: 500;
}

.filter-select {
    padding: 8px 16px;
    border: 1px solid var(--lynne-primary-variant-2-light);
    border-radius: var(--ibr-border-radius);
    font-family: var(--font-roboto);
    background-color: var(--lynne-white);
    cursor: pointer;
}

/* =============================================
   BLOG SEARCH STYLES
   ============================================= */

.blog-search-section {
    width: 100%;
}

.blog-search-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--lynne-heading-body-gap);
}

/* Search Bar Large */
.search-bar-large {
    max-width: 700px;
    margin: 32px auto;
    width: 100%;
}

.search-form-large {
    display: flex;
    gap: 12px;
}

.search-input-large {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid var(--lynne-primary);
    border-radius: var(--ibr-border-radius);
    font-family: var(--font-roboto);
    font-size: 16px;
}

.search-btn-large {
    padding: 16px 32px;
    background-color: var(--lynne-primary);
    color: var(--lynne-white);
    border: none;
    border-radius: var(--ibr-border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-roboto);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-btn-large:hover {
    background-color: var(--lynne-on-primary-container);
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Search Highlight */
mark {
    background-color: var(--lynne-accent-yellow);
    color: var(--lynne-black);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Search End Message */
.search-end-message {
    text-align: center;
    padding: 48px 24px;
    background-color: var(--schemes-surface-container-low-light);
    border-radius: var(--img-border-radius);
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.search-end-message p {
    color: var(--lynne-text-brown);
}

.blog-detail-image-inline .image-caption {
    margin-bottom: 0;
}

/* =============================================
   RESPONSIVE STYLES FOR BLOG PAGES
   ============================================= */

@media screen and (max-width: 1024px) {
    .archive-layout {
        grid-template-columns: 1fr;
    }

    .archive-sidebar {
        order: 2;
    }

    .archive-content {
        order: 1;
    }
}

@media screen and (max-width: 768px) {
    .blog-detail-image-inline {
        margin: 12px 0;
    }
    
    .blog-detail-content h2 {
        margin-top: 20px;
    }

    .blog-detail-wrapper {
        /* padding: 0 16px; */
    }

    .blog-detail-quote {
        padding: 24px;
    }

    .blog-detail-list {
        margin-left: 20px;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }

    .search-form-large {
        flex-direction: column;
    }

    .search-btn-large {
        width: 100%;
        justify-content: center;
    }

    .archive-filter-bar {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .filter-select {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .blog-detail-content h2 {
        font-size: 2rem;
    }
    .blog-pagination {
        gap: 8px;
        flex-wrap: wrap;
    }

    .pagination-btn {
        padding: 8px 14px;
        font-size: 14px;
    }

    .blog-detail-title {
        font-size: 32px;
    }

    .blog-detail-subtitle {
        font-size: 20px;
    }

    .sidebar-widget {
        padding: 16px;
    }

    .recent-post-link img {
        width: 60px;
        height: 60px;
    }
}

/* =============================================
   REGISTRATION FORM PAGE STYLES
   ============================================= */
/* Registration-specific styles moved to registration.css */
