.opf-page, .opf-page * { box-sizing: border-box; }
.opf-frontdoor-shell { position: relative; left: 50%; right: 50%; width: 100vw; margin-left: -50vw; margin-right: -50vw; }
.opf-frontdoor-shell .opf-plugin-header,
.opf-frontdoor-shell .opf-search-shell,
.opf-frontdoor-shell .opf-layout-3col-wrap,
.opf-frontdoor-shell .opf-plugin-footer { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.opf-frontdoor-shell .opf-page { width: 100%; }
html, body { overflow-x: hidden; }
.opf-plugin-header, .opf-plugin-footer, .opf-page { width: 100%; }
.opf-plugin-header, .opf-plugin-footer, .opf-page { width: 100%; }
.opf-plugin-header { background: #fff; border-bottom: 1px solid #ececec; }
.opf-plugin-header-inner {
  width: 100%; max-width: none; margin: 0; min-height: 96px;
  display: grid; grid-template-columns: minmax(160px, 240px) minmax(240px, 1fr) minmax(240px, 430px);
  align-items: center; gap: 1rem; padding: .9rem clamp(18px, 2.5vw, 36px);
}
.opf-plugin-header-brand { display: flex; align-items: center; justify-content: flex-start; min-width: 0; }
.opf-plugin-header-brand a { display: inline-flex; align-items: center; }
.opf-plugin-header-brand img { max-height: 72px; width: auto; }
.opf-header-site-name { font-size: 1.35rem; font-weight: 700; color: #111; text-decoration: none; }
.opf-plugin-header-nav-wrap { min-width: 0; }
.opf-header-nav { display: flex; align-items: center; justify-content: center; }
.opf-header-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2vw, 2rem); flex-wrap: wrap; }
.opf-header-menu li { margin: 0; }
.opf-header-menu a,
.opf-header-nav a { color: #201454; text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; }
.opf-header-menu a:hover,
.opf-header-nav a:hover { text-decoration: underline; }
.opf-plugin-header-search { display: flex; align-items: center; justify-content: flex-end; }
.opf-site-search-form { display: grid; grid-template-columns: minmax(180px, 1fr) 52px; width: min(100%, 500px); }
.opf-site-search-input {
  min-height: 48px; border: 1px solid #d7d7d7; border-right: 0; background: #f1f1f1; color: #111;
  padding: .8rem 1rem; border-radius: 4px 0 0 4px; font-size: 1rem;
}
.opf-site-search-input::placeholder { color: #767676; }
.opf-site-search-button {
  min-height: 48px; border: 1px solid #111; background: #111; color: #fff; border-radius: 0 4px 4px 0;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.25rem;
}
.opf-site-search-button:hover { background: #202020; }
.screen-reader-text {
  position: absolute !important; height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.opf-page { margin: 0; color: #111; }
.opf-hero-zone,
.opf-block,
.opf-search-shell,
.opf-ai-bar,
.opf-type-group,
.opf-results-center,
.opf-ad { background: #fff; }
.opf-hero-empty,
.opf-missing,
.opf-empty { padding: 1rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.opf-video-wrap { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; background: #111; }
.opf-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.opf-hero-native { position: relative; min-height: var(--opf-hero-height, 48vh); overflow: hidden; margin: 0 0 0; width: 100vw; margin-left: calc(50% - 50vw); background: #111; }
.opf-hero-native .opf-video-wrap { padding-top: 0; min-height: var(--opf-hero-height, 48vh); }
.opf-video-wrap-cover iframe { top: 50%; left: 50%; width: 177.78vh; min-width: 100%; min-height: 56.25vw; height: 100%; transform: translate(-50%, -50%); }
.opf-hero-overlay { position: absolute; inset: 0; background: transparent; z-index: 2; pointer-events: none; transition: opacity .28s ease, visibility .28s ease; }
.opf-hero-logo { position: absolute; right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); display: flex; align-items: flex-end; justify-content: flex-end; padding: 0; z-index: 3; pointer-events: none; transition: opacity .28s ease, visibility .28s ease; }
.opf-hero-logo img { max-width: min(15vw, 170px); height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.28)); }
.opf-hero-site-title { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; text-align: center; }

.opf-hero-native.opf-hero-mode-playable .opf-video-wrap iframe,
.opf-hero-native.opf-hero-mode-autoplay_controls .opf-video-wrap iframe { width: 100%; height: 100%; min-width: 100%; min-height: 100%; transform: none; left: 0; top: 0; }
.opf-hero-native.opf-hero-mode-playable .opf-hero-logo,
.opf-hero-native.opf-hero-mode-autoplay_controls .opf-hero-logo { bottom: max(64px, clamp(12px, 2vw, 28px)); }
.opf-hero-native.opf-hero-playing .opf-hero-overlay,
.opf-hero-native.opf-hero-playing .opf-hero-logo { opacity: 0; visibility: hidden; }

body.opf-frontdoor-active header.site-header,
body.opf-frontdoor-active footer.site-footer,
body.opf-frontdoor-active .site-header,
body.opf-frontdoor-active .site-footer,
body.opf-frontdoor-active .entry-header,
body.opf-frontdoor-active .page-header,
body.opf-frontdoor-active .entry-title,
body.opf-frontdoor-active h1.entry-title,
body.opf-frontdoor-active .elementor-location-header,
body.opf-frontdoor-active .elementor-location-footer,
body.opf-frontdoor-active .post-thumbnail,
body.opf-frontdoor-active .featured-media,
body.opf-frontdoor-active .wp-post-image,
body.opf-frontdoor-active .attachment-post-thumbnail,
body.opf-frontdoor-active .entry-content > h1:first-child { display: none !important; }

body.opf-frontdoor-active .site-main,
body.opf-frontdoor-active main.site-main,
body.opf-frontdoor-active .page-content,
body.opf-frontdoor-active article.page { margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important; }
.opf-hero-fallback { display: flex; align-items: center; justify-content: center; }
.opf-hero-fallback-copy { position: relative; z-index: 4; color: #fff; text-align: center; font-size: 1rem; padding: 1rem; }

.opf-search-shell { padding: 1.1rem 0 .9rem; background: #fff; }
.opf-search-copy { width: min(1080px, calc(100vw - 56px)); max-width: 100%; text-align: center; margin: 0 auto .55rem; padding-inline: 0; }
.opf-search-heading { margin: 0 0 .45rem; font-size: clamp(1.3rem, 1.9vw, 1.9rem); line-height: 1.18; font-weight: 600; }
.opf-search-subheading { margin: 0; font-size: clamp(1rem, 1.3vw, 1.18rem); font-style: italic; color: #6b7280; }
.opf-search-form-native { width: min(1080px, calc(100vw - 56px)); max-width: 100%; margin: 0 auto; padding-inline: 0; }
.opf-search-row-lodgingo { background: #efefef; padding: .9rem .95rem; display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; justify-content: flex-start; width: 100%; }
.opf-search-cell { display: flex; flex-direction: column; gap: .35rem; }
.opf-search-cell label, .opf-ai-bar label { font-weight: 500; color: #303030; margin: 0; }
.opf-search-cell input,
.opf-search-cell select,
.opf-ai-question { min-height: 42px; padding: .62rem .8rem; border: 1px solid #cfcfcf; border-radius: 2px; background: #fff; font-size: 1rem; }
.opf-search-cell-destination { flex: 1 1 320px; }
.opf-search-cell-radius,
.opf-search-cell-results { flex: 0 1 140px; }
.opf-search-cell-submit { flex: 0 1 auto; }
.opf-btn,
.opf-search-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: .62rem 1.05rem; border-radius: 2px; background: #e6e6e6; color: #444; text-decoration: none; border: 1px solid #cfcfcf; cursor: pointer; }
.opf-btn:hover,
.opf-search-btn:hover { background: #dedede; }

.opf-ai-bar { margin: 0 0 1rem; }
.opf-ai-row { display: flex; gap: .75rem; }
.opf-ai-answer { margin-top: .75rem; min-height: 1rem; }
.opf-type-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.opf-type-card { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: inherit; padding: .9rem; border-radius: 14px; border: 1px solid #e5e7eb; background: #fafafa; }
.opf-type-card img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; }
.opf-type-title { font-weight: 700; }
.opf-type-description { font-size: .95rem; color: #4b5563; }
.opf-overlay-text { margin-top: .75rem; font-size: .95rem; font-weight: 600; }
.opf-ad img, .opf-ad video { width: 100%; display: block; }
.opf-ad-link { display: block; text-decoration: none; }
.opf-placeholder-results { padding: 1rem; background: #f9fafb; border-radius: 12px; }

.opf-center-banner,
.opf-rail-heading { background: #c71f0d; color: #fff; text-align: center; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: .8rem 1rem; margin-bottom: 1rem; }
.opf-center-banner { font-size: clamp(1rem, 1.25vw, 1.45rem); }
.opf-rail-heading { font-size: .98rem; }
.opf-center-meta { margin: 0 0 .55rem; font-size: 1rem; }
.opf-center-author { font-size: 1.1rem; }
.opf-center-intro { font-size: 1.1rem; }
.opf-image-caption { margin-top: .75rem; color: #374151; }

.opf-placeholder-image { margin: 0 0 .95rem; }
.opf-placeholder-image img { width: 100%; display: block; border-radius: 0; }
.opf-default-ad-inline { margin-top: 1rem; }

.opf-block { margin-bottom: 1rem; }
.opf-block-type-image img { width: 100%; display: block; }
.opf-col .opf-block h3 { margin-top: 0; }

.opf-default-ad { display: block; background: linear-gradient(180deg, #ffffff, #f6f6f6); border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; color: #1f2937; text-decoration: none; box-shadow: 0 10px 20px rgba(0,0,0,.04); }
.opf-default-ad-badge { display: inline-block; background: #c71f0d; color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .45rem; border-radius: 999px; margin-bottom: .75rem; }
.opf-default-ad-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.opf-default-ad-copy { color: #4b5563; line-height: 1.55; margin-bottom: .9rem; }
.opf-default-ad-cta { color: #c71f0d; font-weight: 700; }

.opf-plugin-footer { background: #ba1f24; color: #fff; margin-top: 2rem; }
.opf-plugin-footer-inner { width: 100%; max-width: none; margin: 0; padding: 2rem clamp(12px, 2vw, 28px); text-align: center; }
.opf-plugin-footer-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.opf-plugin-footer-links a { color: #00ce1b; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; }
.opf-plugin-footer-disclaimer { max-width: 1100px; margin: 0 auto 1rem; line-height: 1.6; font-size: .92rem; }
.opf-plugin-footer-copy { color: #d7c6d9; }

@media (max-width: 980px) {
  .opf-search-row-lodgingo { display: grid; grid-template-columns: 1fr; }
  .opf-plugin-header-inner {
    grid-template-columns: 1fr; grid-template-areas: "brand" "nav" "search"; justify-items: center;
    min-height: auto; gap: .75rem; padding-top: 1rem; padding-bottom: 1rem;
  }
  .opf-plugin-header-brand { grid-area: brand; justify-content: center; }
  .opf-plugin-header-nav-wrap { grid-area: nav; width: 100%; }
  .opf-header-nav, .opf-header-menu { justify-content: center; }
  .opf-plugin-header-search { grid-area: search; width: 100%; justify-content: center; }
  .opf-site-search-form { width: min(100%, 560px); }
}
@media (max-width: 880px) {
  .opf-plugin-header-brand img { max-height: 84px; }
  .opf-header-menu { gap: .85rem 1.25rem; }
  .opf-hero-logo img { max-width: min(34vw, 150px); }
  .opf-hero-native.opf-hero-mode-playable .opf-hero-logo,
  .opf-hero-native.opf-hero-mode-autoplay_controls .opf-hero-logo { bottom: 72px; right: 14px; }
  .opf-ai-row { flex-direction: column; }
}
@media (max-width: 640px) {
  .opf-plugin-header-inner { padding-inline: 14px; }
  .opf-site-search-form { grid-template-columns: 1fr 50px; }
}

/* v5.2.9: keep plugin header hidden; plugin footer available when explicitly used */
.opf-plugin-header { display: none !important; }

/* Hide common theme title / featured image chrome on front-door pages */
.opf-front-door-page .entry-title,
.opf-front-door-page h1.entry-title,
.opf-front-door-page .page-title,
.opf-front-door-page .page-header,
.opf-front-door-page .post-thumbnail,
.opf-front-door-page .single-featured-image-header,
.opf-front-door-page .wp-block-post-featured-image,
.opf-front-door-page .attachment-post-thumbnail,
.opf-front-door-page .featured-image,
.opf-front-door-page .page-featured-image { display: none !important; }

/* Stronger layout help for Elementor-seeded 3-column scaffolds */
.opf-front-door-page .opf-seeded-3col {
  display: grid !important;
  grid-template-columns: clamp(220px, 21vw, 320px) minmax(0, 1fr) clamp(220px, 21vw, 320px) !important;
  gap: 1.4rem !important;
  align-items: start !important;
  width: 100% !important;
  max-width: none !important;
}
.opf-front-door-page .opf-seeded-3col > .elementor-element,
.opf-front-door-page .opf-seeded-3col > .e-con,
.opf-front-door-page .opf-seeded-3col > .elementor-column {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: initial !important;
}
.opf-front-door-page .opf-seeded-col-center { min-width: 0 !important; }
@media (max-width: 980px) {
  .opf-front-door-page .opf-seeded-3col { grid-template-columns: 1fr !important; }
}

