/* Scarsdale Secrets - recreation of the original OceanWP + Beaver Builder design */
:root {
  --maroon: #910000;
  --maroon-2: #660300;
  --ink: #333;
  --blue: #13aff0;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--maroon);
  font-family: Georgia, serif; font-size: 16px; font-weight: 600; line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
p { margin: 0 0 20px; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 600; line-height: 1.4; margin: 0 0 20px; }
h1 { font-size: 23px; } h2 { font-size: 20px; } h3 { font-size: 18px; } h4 { font-size: 17px; }
ul, ol { margin: 15px 0 15px 20px; padding: 0; }
table { border-collapse: collapse; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 1200px; max-width: 90%; margin: 0 auto; }

/* Header */
#site-header { background: #fff; border-bottom: 1px solid #f1f1f1; position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.site-logo-text { font-family: "Raleway", sans-serif; font-weight: 700; font-size: 36px; letter-spacing: 2.8px;
  color: #333; text-decoration: none; line-height: 1.4; }
.site-logo-text:hover { color: var(--blue); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #333; margin: 4px 0; }
#mobile-dropdown { background: #fff; border-top: 1px solid rgba(0,0,0,.035); box-shadow: 0 2px 6px rgba(0,0,0,.1); }
#mobile-dropdown ul { list-style: none; margin: 0 auto; padding: 0; width: 90%; }
#mobile-dropdown li { border-bottom: 1px solid rgba(0,0,0,.035); }
#mobile-dropdown a { display: block; padding: 6px 0; font-size: 13px; color: #555; text-decoration: none; }
#mobile-dropdown a:hover { color: var(--blue); }

/* Page title banner */
.page-header { position: relative; background-color: #f5f5f5; padding: 34px 0; text-align: center; }
.background-image-page-header { min-height: 259px; display: flex; align-items: center; justify-content: center; background-color: #000; }
.page-header .container { position: relative; z-index: 2; }
.page-header .page-header-title { font-family: Georgia, serif; font-size: 44px; font-weight: 700; line-height: 1.4; margin: 0; color: #333; }
.fl-rich-text .page-header-title { font-size: 24px; font-weight: 400; line-height: 1.4; color: #333; }
.background-image-page-header .page-header-title { color: #fff; }
.page-header-overlay { position: absolute; inset: 0; background: #000; opacity: .5; z-index: 1; }

/* Beaver Builder layout */
#content-wrap { padding: 50px 0; }
.fl-row-content-wrap { position: relative; }
.fl-row-content { margin: 0 auto; }
.fl-col-group { display: flex; flex-wrap: wrap; }
.fl-col { min-height: 1px; }
.fl-col-content { position: relative; height: 100%; }
.fl-col-overlay { position: absolute; inset: 0; pointer-events: none; }
.fl-col-content > .fl-module { position: relative; }
.fl-rich-text p:last-child { margin-bottom: 0; }
.fl-rich-text a { color: var(--ink); }
.fl-rich-text ol, .fl-rich-text ul { margin-left: 20px; }
.fl-photo { line-height: 0; position: relative; }
.fl-photo-align-left { text-align: left; } .fl-photo-align-center { text-align: center; } .fl-photo-align-right { text-align: right; }
.fl-photo-content { display: inline-block; line-height: 0; position: relative; max-width: 100%; }
.fl-photo-img { height: auto !important; }
.fl-photo-crop-square .fl-photo-img { aspect-ratio: 1; object-fit: cover; }
.fl-photo-caption { font-size: 13px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; padding: 10px 0; }
.fl-photo a.zoom { cursor: zoom-in; }
.fl-video { width: 100%; background: #000; display: block; }

/* In-article galleries (Smart Slider look) */
.ss-gallery-stage { position: relative; background: #000; aspect-ratio: 4 / 3; overflow: hidden; }
.ss-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.ss-slide.is-active { opacity: 1; z-index: 1; }
.ss-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; background: rgba(0,0,0,.6);
  color: #fff; font-family: "Montserrat", sans-serif; font-weight: 400; font-size: 14px; line-height: 1.4; text-align: center; }
.ss-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border: 0;
  border-radius: 3px; background: rgba(0,0,0,.5); cursor: pointer; padding: 8px; }
.ss-arrow:hover { background: rgba(0,0,0,.75); }
.ss-arrow svg { width: 100%; height: 100%; display: block; }
.ss-prev { left: 15px; } .ss-next { right: 15px; }

/* Forms (Contact Form 7 look) */
.ss-form p { margin: 0 0 20px; }
.ss-form label { color: var(--maroon); }
.ss-form input[type=text], .ss-form input[type=email], .ss-form textarea {
  display: block; width: 100%; min-height: 40px; margin-top: 4px; padding: 6px 12px; font: 700 14px Georgia, serif; color: #333;
  background: transparent; border: 1px solid #ddd; border-radius: 3px; }
.ss-form textarea { min-height: 150px; line-height: 1.8; resize: vertical; }
.ss-form input:focus, .ss-form textarea:focus { border-color: #bbb; outline: 0; }
.ss-form button { font: 600 12px Georgia, serif; text-transform: uppercase; letter-spacing: 1.2px; color: #fff;
  background: var(--blue); border: 0; border-radius: 0; padding: 14px 20px; line-height: 1; cursor: pointer; }
.ss-form button:hover { background: #0b7cac; }
.ss-form button:disabled { opacity: .6; cursor: wait; }
.form-status:empty { display: none; }

/* Footer */
#footer-widgets { background: #222; padding: 30px 0; }
.footer-cols { display: flex; flex-wrap: wrap; }
.footer-box { width: 25%; padding: 0 15px; }
.footer-box:first-child { padding-left: 0; }
#footer-widgets, #footer-widgets a { color: #fff; }
#footer-widgets a { text-decoration: none; }
#footer-widgets a:hover { color: var(--blue); }
.producer { display: block; padding-bottom: 12px; border-bottom: 1px solid #fff; }
.producer-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; font-size: 14px; font-weight: 400; line-height: 1.6; }
.share-kit { display: flex; gap: 4px; }
.share-kit a, .share-kit button { width: 40px; height: 40px; display: inline-block; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 6px; }
.share-kit svg { width: 40px; height: 40px; display: block; }
.share-kit a:hover, .share-kit button:hover { opacity: .75; }
#footer-bottom { background: #e8e8e8; padding: 15px 0; font-size: 12px; line-height: 1.8; text-align: center; color: var(--maroon); }
#scroll-top { position: fixed; right: 20px; bottom: 20px; width: 40px; height: 40px; background: rgba(0,0,0,.4); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 30; }
#scroll-top.show { opacity: 1; visibility: visible; }
#scroll-top:hover { background: rgba(0,0,0,.5); }
#scroll-top svg { width: 22px; height: 22px; }
#google_translate_element select { font: 12px Georgia, serif; padding: 4px; border: 1px solid #ccc; border-radius: 3px; }

/* Homepage slider */
body.landing { overflow: hidden; }
.home-slider { position: relative; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; background: #000; }
.hs-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.hs-slide.is-active { opacity: 1; z-index: 1; }
.hs-brand { position: absolute; z-index: 5; left: 0; right: 0; top: 7%; background: rgba(255,255,255,.8); text-align: center;
  font-family: "Playfair Display", serif; font-weight: 800; font-size: 50px; line-height: 1.3; color: #800000; text-decoration: none; padding: 2px 0; }
.hs-center { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 0 60px; }
.hs-title { font-family: "Playfair Display", serif; font-weight: 400; font-size: 41px; line-height: 1.5; color: #fff;
  background: rgba(0,0,0,.8); padding: 6px 20px; text-align: center; }
.hs-button { font-family: "Roboto", sans-serif; font-size: 21px; color: #000; background: #fff; padding: 4px 10px; text-decoration: none; line-height: 1.4; }
.hs-button:hover { color: #000; background: #eee; }
.hs-welcome .hs-center { gap: 18px; padding-top: 140px; }
.hs-text { display: block; max-width: 900px; background: rgba(0,0,0,.8); color: #fff; text-decoration: none;
  font-family: "Playfair Display", serif; font-weight: 400; font-size: 20px; line-height: 1.5; padding: 14px 24px; text-align: center; }
.hs-text p { margin: 0 0 10px; } .hs-text p:last-child { margin: 0; }
.hs-text:hover { color: #fff; }
.hs-nav { position: absolute; z-index: 6; top: 50%; transform: translateY(-50%); font-family: "Montserrat", sans-serif; font-size: 12px;
  color: #fff; background: rgba(0,0,0,.67); border: 0; border-radius: 3px; padding: 8px 10px; cursor: pointer; letter-spacing: .5px; }
.hs-nav:hover { background: rgba(0,0,0,.9); }
.hs-prev { left: 15px; } .hs-next { right: 15px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(11,11,11,.85); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 92vw; max-height: 85vh; object-fit: contain; display: block; margin: 0 auto; box-shadow: 0 0 8px rgba(0,0,0,.6); }
.lightbox figcaption { color: #f3f3f3; font-size: 12px; line-height: 18px; padding-top: 6px; text-align: left; }
.lb-close { position: absolute; top: 10px; right: 16px; font-size: 32px; color: #fff; background: none; border: 0; cursor: pointer; opacity: .65; }
.lb-close:hover { opacity: 1; }

/* Responsive (Beaver Builder stacks columns under 768px; OceanWP switches to the mobile menu) */
@media (max-width: 959px) {
  .menu-toggle { display: block; }
  .footer-box { width: 50%; padding: 0 15px 20px 0; }
}
@media (max-width: 768px) {
  .fl-col { width: 100% !important; }
  .fl-row-content-wrap { padding-left: 10px !important; padding-right: 10px !important; }
  .fl-module { margin-left: 10px !important; margin-right: 10px !important; }
  .site-logo-text { font-size: 26px; letter-spacing: 2px; }
  .page-header .page-header-title { font-size: 32px; }
  .fl-rich-text .page-header-title { font-size: 20px; }
  .background-image-page-header { min-height: 200px; }
  #content-wrap { padding: 30px 0; }
  .footer-box { width: 100%; }
  .hs-brand { font-size: 32px; }
  .hs-title { font-size: 26px; }
  .hs-button { font-size: 17px; }
  .hs-center { padding: 0 20px; }
  .hs-welcome .hs-center { padding-top: 90px; gap: 12px; }
  .hs-text { font-size: 13px; padding: 10px 14px; }
  .hs-welcome .hs-title { font-size: 22px; }
  .hs-nav { padding: 6px 8px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .hs-slide, .ss-slide { transition: none; } }
