/* Opedia Site Standardizer v1.4.3 */

body.oss-plugin-header-enabled .wp-site-blocks > header,
body.oss-plugin-header-enabled header.wp-block-template-part,
body.oss-plugin-header-enabled .site-header:not(.oss-header),
body.oss-plugin-header-enabled .elementor-location-header:not(.oss-header),
body.oss-plugin-header-enabled #masthead:not(.oss-header) {
    display: none !important;
}

body.oss-standard-home .entry-header,
body.oss-standard-home .page-header,
body.oss-standard-home .page-title,
body.oss-standard-home h1.entry-title,
body.oss-standard-home .wp-block-post-title {
    display: none !important;
}

body.oss-standard-home .site,
body.oss-standard-home #page,
body.oss-standard-home .site-content,
body.oss-standard-home #content,
body.oss-standard-home .content-area,
body.oss-standard-home #primary,
body.oss-standard-home main.site-main,
body.oss-standard-home article,
body.oss-standard-home .entry-content,
body.oss-standard-home .wp-block-post-content,
body.oss-standard-home .wp-site-blocks {
    max-width: none !important;
}

body.oss-standard-home .entry-content,
body.oss-standard-home .wp-block-post-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.oss-standard-home .entry-content > .oss-home,
body.oss-standard-home .wp-block-post-content > .oss-home,
.oss-home {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.oss-header,
.oss-header * { box-sizing: border-box; }

.oss-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: relative;
    z-index: 99999;
}

.oss-header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 4px 28px;
    min-height: 74px;
}

.oss-brand { flex: 0 0 auto; display: flex; align-items: center; }
.oss-brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.oss-brand img, .oss-brand .custom-logo { display: block; max-width: 104px; max-height: 68px; width: auto; height: auto; }
.oss-brand-text { display: inline-block; color: #3b286b; font-size: 28px; line-height: 1; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.oss-brand-text span { color: #c53d71; }

.oss-primary-nav { flex: 1 1 auto; display: flex !important; align-items: center; justify-content: flex-end; overflow: visible !important; }
.oss-menu, .oss-menu ul { list-style: none; margin: 0; padding: 0; }
.oss-menu { display: flex !important; align-items: center; justify-content: flex-end; gap: 28px; overflow: visible !important; }
.oss-menu li { position: relative; overflow: visible !important; }
.oss-menu a { display: block; color: #3b286b; font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; padding: 12px 0; white-space: nowrap; }
.oss-menu a:hover, .oss-menu li:hover > a, .oss-menu .current-menu-item > a { color: #1d123b; }
.oss-menu .menu-item-has-children > a::after { content: "▾"; display: inline-block; font-size: 11px; margin-left: 6px; transform: translateY(-1px); }
.oss-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 999999; min-width: 220px; background: #ffffff; padding: 8px 0; box-shadow: 0 8px 24px rgba(0,0,0,0.20); }
.oss-menu li:hover > .sub-menu, .oss-menu li:focus-within > .sub-menu { display: block; }
.oss-menu .sub-menu li { width: 100%; }
.oss-menu .sub-menu a { padding: 10px 18px; color: #3b286b; background: #ffffff; text-align: left; text-transform: none; font-size: 14px; }
.oss-menu .sub-menu a:hover { background: #f3f0fb; color: #2b195d; }
.oss-menu-toggle { display: none !important; border: 1px solid rgba(59,40,107,0.25); background: #ffffff; color: #3b286b; border-radius: 999px; padding: 8px 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.oss-home, .oss-home * { box-sizing: border-box; }
.oss-home { background: #ffffff; color: #1c1c1c; font-family: inherit; overflow-x: hidden; }
.oss-hero {
    width: 100vw !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-height: clamp(460px, 52vw, 760px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 24px;
    background: radial-gradient(circle at 30% 20%, rgba(211,167,74,.28), transparent 30%), linear-gradient(135deg, #111827 0%, #1f2a44 52%, #070b16 100%);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.oss-hero-has-video { background: #070b16; }
.oss-video-bg, .oss-video-bg iframe, .oss-hero-overlay { position: absolute; inset: 0; }
.oss-video-bg { overflow: hidden; z-index: 0; pointer-events: none; }
.oss-video-bg iframe { width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.oss-hero-overlay { z-index: 1; background: linear-gradient(90deg, rgba(7,11,22,.66), rgba(7,11,22,.28) 45%, rgba(7,11,22,.66)); }
.oss-hero-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; padding: 28px 22px; }
.oss-kicker { margin: 0 0 10px; color: #d8b466; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.oss-hero h1 { margin: 0 0 14px; color: #ffffff; font-size: clamp(42px, 7vw, 86px); line-height: 1; font-weight: 900; letter-spacing: .01em; text-shadow: 0 8px 28px rgba(0,0,0,.34); }
.oss-subtitle { max-width: 780px; margin: 0 auto 24px; color: rgba(255,255,255,.90); font-size: clamp(17px, 2vw, 24px); line-height: 1.5; text-shadow: 0 4px 18px rgba(0,0,0,.30); }
.oss-primary-cta, .oss-action-card a { display: inline-block; background: #d8b466; color: #151515 !important; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 12px 22px; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.oss-main-shell { width: calc(100% - 46px); max-width: none; margin: 30px auto 60px; display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(260px, 320px); gap: 24px; align-items: start; }
.oss-center-column { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.oss-dest-banner, .oss-dest-banner-mobile { width: 100%; max-width: none; margin: 0; padding: 0; }
.oss-dest-banner-mobile { display: none; }
.oss-content-column { min-width: 0; }
.oss-content-column h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.15; color: #1e1e1e; }
.oss-intro { font-size: 17px; line-height: 1.6; color: #555; margin: 0 0 20px; }
.oss-accordion { border: 1px solid rgba(0,0,0,.10); border-radius: 12px; margin: 0 0 14px; background: #ffffff; overflow: hidden; }
.oss-accordion summary { cursor: pointer; background: #111111; color: #ffffff; padding: 14px 18px; font-weight: 800; letter-spacing: .02em; }
.oss-accordion-body { padding: 16px 18px; color: #333; line-height: 1.6; }

.oss-accordion-ad { margin-top: 18px; }
.oss-accordion-ad .oss-ad-slot { margin: 0; }
.oss-accordion-ad .oss-house-ad { border-radius: 10px; }
.oss-sidebar { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.oss-action-card, .oss-ad-placeholder, .oss-house-ad { border: 1px solid rgba(0,0,0,.10); border-radius: 14px; background: #fafafa; padding: 18px; text-align: center; }
.oss-house-ad { padding: 0; overflow: hidden; background: transparent; }
.oss-house-ad img { display: block; max-width: 100%; width: 100%; height: auto; margin: 0 auto; }
.oss-ad-slot { width: 100%; }
.oss-dest-banner .oss-house-ad, .oss-dest-banner-mobile .oss-house-ad { border: 0; border-radius: 0; background: transparent; }
.oss-dest-banner .oss-house-ad img, .oss-dest-banner-mobile .oss-house-ad img { width: 100%; max-width: 100%; height: auto; }
.oss-action-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; }
.oss-action-card p { color: #555; margin: 0 0 16px; }
.oss-ad-placeholder { min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-style: dashed; color: #555; }
.oss-ad-placeholder strong { display: block; color: #3b286b; font-size: 18px; margin-bottom: 4px; }
.oss-dest-fallback { display: block; background: #111827; color: #ffffff !important; text-decoration: none; padding: 22px 28px; border-radius: 0; text-align: left; box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.oss-dest-fallback span { display: block; color: #d8b466; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.oss-dest-fallback strong { display: block; font-size: clamp(24px, 3vw, 42px); line-height: 1.1; }
.oss-dest-fallback em { display: inline-block; margin-top: 12px; font-style: normal; background: #1f4b8f; border: 1px solid #d8b466; padding: 9px 14px; border-radius: 6px; font-weight: 800; }
.oss-acc-fallback { display: block; background: #111827; color: #ffffff !important; text-decoration: none; padding: 18px 20px; border-radius: 12px; text-align: center; margin: 0 0 14px; }
.oss-acc-fallback strong { display: block; color: #d8b466; font-size: 20px; margin-bottom: 4px; }
.oss-acc-fallback span { color: rgba(255,255,255,.88); }

@media (min-width: 769px) {
    .oss-menu-toggle { display: none !important; visibility: hidden !important; }
    .oss-primary-nav { display: flex !important; visibility: visible !important; }
}


/* Opedia Standardizer v0.7: force the plugin-rendered desktop header/menu visible. */
@media (min-width: 769px) {
    .oss-header-inner { flex-direction: row !important; }
    .oss-brand { margin: 0 !important; padding: 0 !important; }
    .oss-primary-nav { display: flex !important; }
    .oss-primary-nav .oss-menu { display: flex !important; }
}

@media (max-width: 768px) {
    .oss-header-inner { flex-direction: column; align-items: center; gap: 8px; padding: 8px 18px; min-height: 0; }
    .oss-brand img, .oss-brand .custom-logo { max-width: 110px; max-height: 76px; }
    .oss-menu-toggle { display: inline-block !important; visibility: visible !important; }
    .oss-primary-nav { width: 100%; display: none !important; }
    .oss-header.oss-menu-open .oss-primary-nav { display: block !important; }
    .oss-menu { width: 100%; flex-direction: column; gap: 0; align-items: stretch; border-top: 1px solid rgba(0,0,0,.08); margin-top: 8px; }
    .oss-menu a { text-align: center; padding: 12px 8px; border-bottom: 1px solid rgba(0,0,0,.06); }
    .oss-menu .sub-menu { position: static; display: block; min-width: 0; box-shadow: none; background: #f7f5fb; padding: 0; }
    .oss-menu .sub-menu a { text-align: center; background: #f7f5fb; }
    .oss-main-shell { grid-template-columns: 1fr; width: calc(100% - 28px); margin-top: 18px; }
    .oss-center-column { order: 1; }
    .oss-left-sidebar { order: 2; }
    .oss-right-sidebar { order: 3; }
    .oss-dest-banner { display: none; }
    .oss-dest-banner-mobile { display: block; }
}

/* v0.7 menu reliability: keep the nav visible even when theme CSS tries to hide menus. */
.oss-header .oss-header-inner { position: relative !important; }
.oss-header .oss-brand-link { position: relative !important; z-index: 2 !important; }
.oss-header .oss-brand img, .oss-header .oss-brand .oss-custom-logo { display: block !important; max-width: 104px !important; max-height: 68px !important; width: auto !important; height: auto !important; }
.oss-header .oss-primary-nav,
.oss-header .oss-primary-nav .oss-menu,
.oss-header .oss-primary-nav .oss-menu > li,
.oss-header .oss-primary-nav .oss-menu > li > a {
    visibility: visible !important;
    opacity: 1 !important;
}
@media (min-width: 769px) {
    .oss-header .oss-header-inner { min-height: 74px !important; padding: 4px 28px !important; }
    .oss-header .oss-primary-nav {
        display: flex !important;
        position: absolute !important;
        right: 34px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: auto !important;
        max-width: calc(100vw - 180px) !important;
        align-items: center !important;
        justify-content: flex-end !important;
        z-index: 3 !important;
        overflow: visible !important;
    }
    .oss-header .oss-primary-nav .oss-menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: clamp(18px, 2vw, 32px) !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        white-space: nowrap !important;
    }
    .oss-header .oss-primary-nav .oss-menu > li { display: block !important; margin: 0 !important; padding: 0 !important; }
    .oss-header .oss-primary-nav .oss-menu > li > a {
        display: inline-block !important;
        color: #3b286b !important;
        font-weight: 800 !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
        letter-spacing: .02em !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        padding: 12px 0 !important;
    }
}


/* v1.1 Content Creator image support */
.oss-accordion-block { margin: 0 0 26px; }
.oss-accordion-image { margin: 0 auto 14px; max-width: 860px; }
.oss-accordion-image img { display: block; width: 100%; height: auto; border-radius: 0; object-fit: cover; }
.oss-content-column .oss-accordion-block + .oss-accordion-block { margin-top: 24px; }
@media (max-width: 900px) { .oss-accordion-image { max-width: 100%; } }


/* v1.2 default Opedia footer + hero CTA refinement */
.oss-primary-cta {
  font-size: clamp(17px, 1.45vw, 22px);
  padding: 17px 32px;
  margin-top: 12px;
  min-width: 180px;
  text-align: center;
}

.oss-footer {
  width: 100%;
  background: #111111;
  color: rgba(255,255,255,.88);
  margin: 54px 0 0;
  padding: 34px 22px 38px;
  font-size: 14px;
  line-height: 1.6;
}

.oss-footer-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.oss-footer-disclaimer {
  max-width: 940px;
  margin: 0 auto 22px;
}

.oss-footer-disclaimer p {
  margin: 0;
}

.oss-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 18px auto 20px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}

.oss-footer-links a {
  color: #d8b466;
  text-decoration: none;
  font-weight: 800;
}

.oss-footer-links a:hover {
  text-decoration: underline;
}

.oss-footer-powered {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: .03em;
  margin-bottom: 6px;
}

.oss-footer-copy {
  color: rgba(255,255,255,.72);
}

/* Suppress simple theme/footer remnants on Standardizer-built home pages so the Opedia footer becomes the visible footer. */
body.oss-standard-home footer.site-footer,
body.oss-standard-home .site-footer,
body.oss-standard-home .elementor-location-footer {
  display: none !important;
}

body.oss-standard-home .oss-footer {
  display: block !important;
}

@media (max-width: 700px) {
  .oss-primary-cta {
    font-size: 16px;
    padding: 15px 24px;
    margin-top: 10px;
  }

  .oss-footer {
    margin-top: 36px;
    padding: 28px 18px 32px;
    font-size: 13px;
  }

  .oss-footer-links {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* v1.3 central Opedias.com search CTA block, modeled after the LodgingO/Opedia Finder search shell */
.oss-search-shell {
  width: 100%;
  padding: 1.1rem 0 .9rem;
  background: #ffffff;
}

.oss-search-copy {
  width: min(1080px, calc(100vw - 56px));
  max-width: 100%;
  text-align: center;
  margin: 0 auto .55rem;
  padding-inline: 0;
}

.oss-search-heading {
  margin: 0 0 .45rem;
  font-size: clamp(1.3rem, 1.9vw, 1.9rem);
  line-height: 1.18;
  font-weight: 600;
  color: #111827;
}

.oss-search-subheading {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-style: italic;
  color: #6b7280;
}

.oss-search-form-native {
  width: min(1080px, calc(100vw - 56px));
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 0;
}

.oss-search-row-opedia {
  background: #efefef;
  padding: .9rem .95rem;
  display: flex;
  gap: .75rem;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}

.oss-search-cell {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.oss-search-cell label {
  font-weight: 500;
  color: #303030;
  margin: 0;
}

.oss-search-cell input,
.oss-search-cell select {
  min-height: 42px;
  padding: .62rem .8rem;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: #ffffff;
  font-size: 1rem;
}

.oss-search-cell-destination { flex: 1 1 320px; }
.oss-search-cell-radius,
.oss-search-cell-results { flex: 0 1 140px; }
.oss-search-cell-submit { flex: 0 1 auto; }

.oss-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .62rem 1.05rem;
  border-radius: 2px;
  background: #e6e6e6;
  color: #444444;
  text-decoration: none;
  border: 1px solid #cfcfcf;
  cursor: pointer;
  font-weight: 500;
}

.oss-search-btn:hover,
.oss-search-btn:focus {
  background: #dedede;
}

@media (max-width: 768px) {
  .oss-search-copy,
  .oss-search-form-native {
    width: min(100%, calc(100vw - 28px));
  }

  .oss-search-row-opedia {
    display: grid;
    grid-template-columns: 1fr;
  }

  .oss-search-cell-destination,
  .oss-search-cell-radius,
  .oss-search-cell-results,
  .oss-search-cell-submit {
    flex: none;
  }

  .oss-search-btn {
    width: 100%;
  }
}

/* v1.4 Opedia Lead CTA accordion / central Lead Manager client form */
.oss-lead-cta-block { display: block; }
.oss-lead-cta-copy { font-size: 1.05rem; line-height: 1.55; margin: 0 0 16px; }
.oss-lead-form { display: block; margin-top: 16px; }
.oss-lead-fieldset { border: 1px solid rgba(0,0,0,.14); border-radius: 12px; padding: 14px; margin: 0 0 16px; background: #fff; }
.oss-lead-fieldset legend { font-weight: 800; padding: 0 6px; }
.oss-lead-interest-fieldset label { display: block; margin: 8px 0; font-weight: 600; }
.oss-lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.oss-lead-grid label,
.oss-lead-message-label { display: flex; flex-direction: column; gap: 5px; font-weight: 700; color: #222; }
.oss-lead-grid input,
.oss-lead-grid select,
.oss-lead-grid textarea,
.oss-lead-message-label textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(0,0,0,.22); border-radius: 10px; padding: 10px; font: inherit; background: #fff; color: #111; }
.oss-lead-wide { grid-column: 1 / -1; }
.oss-lead-conditional { margin: 18px 0; padding: 16px; border-radius: 14px; background: rgba(0,0,0,.04); }
.oss-lead-conditional h4 { margin: 0 0 12px; font-size: 20px; }
.oss-lead-policy-note { font-size: .95rem; line-height: 1.45; font-style: italic; margin: 0 0 14px; color: #333; }
.oss-lead-message-label { margin-top: 10px; }
.oss-lead-submit { margin-top: 16px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 800; cursor: pointer; background: #111; color: #fff; }
.oss-lead-submit[disabled] { opacity: .65; cursor: not-allowed; }
.oss-lead-response { margin-top: 14px; font-weight: 800; }
.oss-lead-response.oss-lead-error { color: #b00020; }
.oss-lead-response.oss-lead-success { color: #186a3b; }
.oss-hp-wrap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 700px) {
    .oss-lead-grid { grid-template-columns: 1fr; }
}


/* v1.4.3: align desktop sidebar ad tops with the search heading while keeping search in center column. */
.oss-main-shell.oss-main-shell-search-inside {
    margin-top: 0;
}
.oss-main-shell.oss-main-shell-search-inside .oss-search-shell {
    padding-top: 1.1rem;
}
@media (min-width: 769px) {
    .oss-main-shell.oss-main-shell-search-inside .oss-sidebar {
        padding-top: 1.1rem;
    }
}
@media (max-width: 768px) {
    .oss-main-shell.oss-main-shell-search-inside {
        margin-top: 0;
    }
}
