/*
 * Ostfriesland Nordsee overrides for the supplied Tripin HTML template.
 * The original layout language is preserved; only branding, WordPress
 * integration and portal-specific components are added here.
 */
:root {
  --ofn-body-bg: #fbf6f2;
  --ofn-surface: #ffffff;
  --ofn-beige-light: #fffaf5;
  --ofn-beige-dark: #f4e5d9;
  --ofn-yellow: #fab900;
  --ofn-blue: #002d5e;
  --ofn-ink: #14283e;
  --ofn-muted: #718096;
  --ofn-danger: #b52249;
  --ofn-radius: 12px;
  --ofn-radius-lg: 22px;
  --ofn-container: 1440px;
  --ofn-content: 1180px;
  --ofn-heading-font: Georgia, "Times New Roman", serif;
  --ofn-ui-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ofn-shadow: 0 18px 55px rgba(0, 45, 94, .11);
  --ofn-shadow-soft: 0 10px 28px rgba(0, 45, 94, .08);
}

html { scroll-behavior: smooth; }
body.ofn-tripin-theme {
  background: var(--ofn-body-bg);
  color: var(--ofn-ink);
  font-family: var(--ofn-ui-font);
  line-height: 1.6;
}
body.ofn-tripin-theme .container { background: var(--ofn-body-bg); min-height: 100vh; }
body.ofn-tripin-theme :where(h1,h2,h3,h4,.title,.slide_title,.tour_title) {
  font-family: var(--ofn-heading-font);
  color: var(--ofn-blue);
  font-synthesis: none;
}
body.ofn-tripin-theme :where(button,input,select,textarea) { font-family: var(--ofn-ui-font); }
body.ofn-tripin-theme .wrap { max-width: var(--ofn-container); padding-inline: 34px; }
body.ofn-tripin-theme .wrap_float { min-width: 0; }
body.ofn-tripin-theme a:focus-visible,
body.ofn-tripin-theme button:focus-visible,
body.ofn-tripin-theme input:focus-visible,
body.ofn-tripin-theme select:focus-visible,
body.ofn-tripin-theme textarea:focus-visible {
  outline: 3px solid rgba(250,185,0,.55);
  outline-offset: 3px;
}

/* Shared buttons and links */
body.ofn-tripin-theme .button,
body.ofn-tripin-theme .btn,
body.ofn-tripin-theme button.submit,
body.ofn-tripin-theme input[type="submit"] {
  background: var(--ofn-yellow);
  color: var(--ofn-blue);
  border: 0;
  border-radius: 9px;
  min-height: 52px;
  padding: 0 30px;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  box-shadow: none;
}
body.ofn-tripin-theme .button:hover,
body.ofn-tripin-theme .btn:hover,
body.ofn-tripin-theme button.submit:hover,
body.ofn-tripin-theme input[type="submit"]:hover {
  background: var(--ofn-blue);
  color: #fff;
  transform: translateY(-1px);
}
body.ofn-tripin-theme .link { color: var(--ofn-blue); }
body.ofn-tripin-theme .link:hover { color: var(--ofn-yellow); }
body.ofn-tripin-theme .section-kicker {
  color: var(--ofn-yellow);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}
body.ofn-tripin-theme .title { font-size: clamp(36px,4vw,54px); line-height: 1.13; }
body.ofn-tripin-theme .subtitle { color: var(--ofn-muted); line-height: 1.65; }

/* Header – same composition as the HTML template, adjusted for the wider logo. */
body.ofn-tripin-theme .top_panel { left: 0; right: 0; width: 100%; z-index: 120; }
body.ofn-tripin-theme .top_panel .wrap { max-width: 1540px; }
body.ofn-tripin-theme .top_panel .currency { display: none; }
body.ofn-tripin-theme .top_panel .left { width: 290px; padding-right: 24px; }
body.ofn-tripin-theme .top_panel .left .logo { height: 54px; max-width: 205px; }
body.ofn-tripin-theme .top_panel .left .logo img { width: auto; height: 54px; max-width: 205px; object-fit: contain; }
body.ofn-tripin-theme .top_panel .left .search_btn,
body.ofn-tripin-theme .top_panel .user .userlink,
body.ofn-tripin-theme .top_panel .mobile_btn {
  background: rgba(255,255,255,.26);
  backdrop-filter: blur(8px);
}
body.ofn-tripin-theme .top_panel .menu_wrap {
  width: calc(100% - 290px);
  padding-right: 74px;
}
body.ofn-tripin-theme .top_panel .center .menu ul li { margin-right: clamp(22px,2.5vw,54px); }
body.ofn-tripin-theme .top_panel .center .menu ul li a { font-family: var(--ofn-ui-font); font-size: 16px; font-weight: 700; }
body.ofn-tripin-theme .top_panel .center .menu ul li.dropdown_li > a { pointer-events: auto; }
body.ofn-tripin-theme .top_panel .center .menu ul li .dropdown_ul {
  border-radius: 0 14px 14px 14px;
  width: 245px;
  padding: 22px;
  box-shadow: var(--ofn-shadow-soft);
}
body.ofn-tripin-theme .top_panel .center .menu ul li .dropdown_ul li a { color: var(--ofn-ink); font-size: 15px; }
body.ofn-tripin-theme .top_panel .right .tel { display: none; }
body.ofn-tripin-theme .top_panel .right .favorites-count ._counter { background: var(--ofn-yellow); color: var(--ofn-blue); font-weight: 900; }
body.ofn-tripin-theme .top_panel .right .favorites-count ._text { font-weight: 700; }
body.ofn-tripin-theme .top_panel .user { right: 0; }
body.ofn-tripin-theme .top_panel .user .usermenu { background: var(--ofn-blue); }
body.ofn-tripin-theme .top_panel .user .usermenu ul li a { color: rgba(255,255,255,.78); }
body.ofn-tripin-theme .top_panel.inversion {
  position: relative;
  top: 0;
  padding: 22px 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,45,94,.08);
  box-shadow: 0 8px 28px rgba(0,45,94,.04);
}
body.ofn-tripin-theme .top_panel.inversion .left .search_btn,
body.ofn-tripin-theme .top_panel.inversion .user,
body.ofn-tripin-theme .top_panel.inversion .user .userlink,
body.ofn-tripin-theme .top_panel.inversion .mobile_btn { background: var(--ofn-beige-dark); }
body.ofn-tripin-theme .top_panel.inversion .mobile_btn span { background: var(--ofn-blue); }
body.ofn-tripin-theme .top_panel.inversion .right .favorites-count ._text,
body.ofn-tripin-theme .top_panel.inversion .center .menu ul li a { color: var(--ofn-blue); }

/* Hero slider */
body.ofn-tripin-theme .main_slider { min-height: 720px; height: 100svh; }
body.ofn-tripin-theme .main_slider .slider_wrap .slide .bg-img:after,
body.ofn-tripin-theme .tour_page_head:after,
body.ofn-tripin-theme .ofn-archive-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,25,53,.63), rgba(0,25,53,.16) 58%, rgba(0,25,53,.02));
  pointer-events: none;
}
body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content { padding-bottom: clamp(95px,12vh,150px); max-width: 800px; }
body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .title_wrap { max-width: 100%; }
body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .title_wrap .slide_title {
  font-size: clamp(70px,8.6vw,138px);
  letter-spacing: -.04em;
  line-height: .96;
  color: #fff;
  text-wrap: balance;
}
body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .title_wrap .country {
  color: var(--ofn-yellow);
  position: static;
  width: auto;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .text { max-width: 600px; color: rgba(255,255,255,.84); font-size: 19px; line-height: 1.6; }
body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .buttons .link { color: #fff; font-weight: 800; }
body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .next_title { color: rgba(255,255,255,.55); }

/* Home sections */
body.ofn-tripin-theme .most_popular,
body.ofn-tripin-theme .destinations,
body.ofn-tripin-theme .stories,
body.ofn-tripin-theme .blog { background: var(--ofn-body-bg); }
body.ofn-tripin-theme .most_popular { padding-top: 110px; }
body.ofn-tripin-theme .most_popular .title_wrap,
body.ofn-tripin-theme .destinations .title_wrap,
body.ofn-tripin-theme .stories .title_wrap,
body.ofn-tripin-theme .blog .title_wrap { padding-inline: 0; }
body.ofn-tripin-theme .most_popular .controls .link,
body.ofn-tripin-theme .destinations .controls .link,
body.ofn-tripin-theme .stories .controls .link,
body.ofn-tripin-theme .blog .controls .link { color: var(--ofn-blue); font-weight: 800; }

/* Native Tripin tour card plus valid WordPress link/button structure. */
body.ofn-tripin-theme .tour_item {
  position: relative;
  overflow: hidden;
  border-radius: var(--ofn-radius-lg);
  background-color: var(--ofn-blue);
  background-position: center;
  background-size: cover;
  min-height: 455px;
  box-shadow: var(--ofn-shadow-soft);
  isolation: isolate;
}
body.ofn-tripin-theme .tour_item:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, rgba(0,22,47,.92), rgba(0,22,47,.04) 66%);
}
body.ofn-tripin-theme .tour_item > * { position: relative; z-index: 2; }
body.ofn-tripin-theme .tour_item .ofn-tour-card-link { position: absolute; inset: 0; z-index: 1; text-indent: -9999px; }
body.ofn-tripin-theme .tour_item_top,
body.ofn-tripin-theme .tour_item_bottom { pointer-events: none; }
body.ofn-tripin-theme .tour_item_top .country span { color: #fff; font-size: 14px; font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
body.ofn-tripin-theme .tour_item_bottom ._title { color: #fff; font-size: clamp(26px,2vw,34px); line-height: 1.18; }
body.ofn-tripin-theme .tour_item_bottom ._info { color: rgba(255,255,255,.85); }
body.ofn-tripin-theme .tour_item_bottom .days,
body.ofn-tripin-theme .tour_item_bottom .cost,
body.ofn-tripin-theme .tour_item_bottom .rating-text { color: rgba(255,255,255,.8); }
body.ofn-tripin-theme .tour_item .fav-button,
body.ofn-tripin-theme .tour_item .js-favorite-toggle { pointer-events: auto; z-index: 5; }
body.ofn-tripin-theme .fav-button.is-saved,
body.ofn-tripin-theme .fav-button.added { background-color: var(--ofn-yellow); }
body.ofn-tripin-theme .rating-stars { display: inline-flex; gap: 3px; align-items: center; width: auto; }
body.ofn-tripin-theme .rating-stars .star,
body.ofn-tripin-theme .rating-stars span.star {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background: url(../img/star.svg) center/contain no-repeat;
}
body.ofn-tripin-theme .rating-stars .star.filled,
body.ofn-tripin-theme .rating-stars span.star.filled { background-image: url(../img/star-active.svg); }

/* Destination mosaic */
body.ofn-tripin-theme .destinations_item { border-radius: var(--ofn-radius-lg); overflow: hidden; }
body.ofn-tripin-theme .destinations_item:after { background: linear-gradient(to top, rgba(0,31,65,.82), transparent 70%); }
body.ofn-tripin-theme .destinations_item .name { color: #fff; font-family: var(--ofn-heading-font); }
body.ofn-tripin-theme .destinations_item .count { color: var(--ofn-yellow); }

/* Tripin search block */
body.ofn-tripin-theme .search-tour { background: transparent; }
body.ofn-tripin-theme .search-form {
  background: var(--ofn-blue);
  border-radius: var(--ofn-radius-lg);
  box-shadow: var(--ofn-shadow);
}
body.ofn-tripin-theme .search-form input,
body.ofn-tripin-theme .search-form select { color: #fff; }
body.ofn-tripin-theme .search-form .select_wrap:after,
body.ofn-tripin-theme .search-form .select_wrap:before { background-color: var(--ofn-yellow); }
body.ofn-tripin-theme .search-form .btn { background: var(--ofn-yellow); color: var(--ofn-blue); }

/* Stories and blog cards */
body.ofn-tripin-theme .story_item,
body.ofn-tripin-theme .blog_item { border-radius: var(--ofn-radius-lg); overflow: hidden; box-shadow: var(--ofn-shadow-soft); background: #fff; }
body.ofn-tripin-theme .blog_item_bottom { background: #fff; }
body.ofn-tripin-theme .blog_item_bottom ._title { color: var(--ofn-blue); }
body.ofn-tripin-theme .story_item .story_item_content .title { color: #fff; }
body.ofn-tripin-theme .subscribe_section { background: var(--ofn-body-bg); }
body.ofn-tripin-theme .subscribe_block { border-radius: var(--ofn-radius-lg); overflow: hidden; }
body.ofn-tripin-theme .subscribe_block:before { background: rgba(0,45,94,.78); }
body.ofn-tripin-theme .subscribe_block ._title { color: #fff; }

/* Footer */
body.ofn-tripin-theme .footer { background: #061c34; }
body.ofn-tripin-theme .ofn-footer-logo { display: inline-block; width: auto; margin-bottom: 26px; }
body.ofn-tripin-theme .ofn-footer-logo img { width: 210px; max-height: 75px; filter: brightness(0) invert(1); opacity: .95; }
body.ofn-tripin-theme .footer_top ._title { font-family: var(--ofn-heading-font); font-size: 25px; }
body.ofn-tripin-theme .footer_top ul li a { font-size: 16px; }
body.ofn-tripin-theme .footer_bottom .left a { margin-right: 22px; }
body.ofn-tripin-theme .ofn-footer-legal { display: flex; gap: 22px; width: auto; }
body.ofn-tripin-theme .ofn-footer-legal li { width: auto; margin: 0; }

/* Archive */
body.ofn-tripin-theme .ofn-archive-hero {
  min-height: 530px;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 72px;
}
body.ofn-tripin-theme .ofn-archive-hero .wrap { position: relative; z-index: 2; }
body.ofn-tripin-theme .ofn-archive-hero h1 { color: #fff; font-size: clamp(58px,7vw,108px); line-height: 1; max-width: 950px; }
body.ofn-tripin-theme .ofn-archive-hero p { color: rgba(255,255,255,.84); font-size: 20px; max-width: 650px; margin-top: 20px; }
body.ofn-tripin-theme .ofn-archive-search {
  margin-top: -58px;
  position: relative;
  z-index: 5;
}
body.ofn-tripin-theme .ofn-filter-form {
  background: #fff;
  border-radius: var(--ofn-radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.7fr repeat(3,minmax(155px,.8fr)) auto;
  gap: 14px;
  align-items: end;
  box-shadow: var(--ofn-shadow);
}
body.ofn-tripin-theme .ofn-filter-field { min-width: 0; }
body.ofn-tripin-theme .ofn-filter-field label { display: block; float: none; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; color: var(--ofn-muted); margin-bottom: 8px; }
body.ofn-tripin-theme .ofn-filter-field input,
body.ofn-tripin-theme .ofn-filter-field select,
body.ofn-tripin-theme .ofn-form-field input,
body.ofn-tripin-theme .ofn-form-field select,
body.ofn-tripin-theme .ofn-form-field textarea,
body.ofn-tripin-theme .input,
body.ofn-tripin-theme .textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(0,45,94,.14);
  border-radius: 8px;
  background: #fff;
  color: var(--ofn-ink);
  padding: 0 16px;
  font-size: 16px;
  float: none;
}
body.ofn-tripin-theme .ofn-filter-field textarea,
body.ofn-tripin-theme .ofn-form-field textarea,
body.ofn-tripin-theme .textarea { min-height: 140px; padding-block: 14px; resize: vertical; }
body.ofn-tripin-theme .ofn-filter-field input:focus,
body.ofn-tripin-theme .ofn-filter-field select:focus,
body.ofn-tripin-theme .ofn-form-field input:focus,
body.ofn-tripin-theme .ofn-form-field select:focus,
body.ofn-tripin-theme .ofn-form-field textarea:focus,
body.ofn-tripin-theme .input:focus,
body.ofn-tripin-theme .textarea:focus { border-color: var(--ofn-yellow); outline: 0; box-shadow: 0 0 0 3px rgba(250,185,0,.16); }
body.ofn-tripin-theme .ofn-archive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 58px 0 30px; }
body.ofn-tripin-theme .ofn-archive-toolbar > * { width: auto; float: none; }
body.ofn-tripin-theme .ofn-result-count { font-weight: 800; color: var(--ofn-blue); }
body.ofn-tripin-theme .ofn-archive-toolbar-actions { display: flex; gap: 10px; }
body.ofn-tripin-theme .ofn-toolbar-button { min-height: 44px; padding: 0 18px; border-radius: 8px; background: var(--ofn-beige-dark); color: var(--ofn-blue); font-weight: 800; }
body.ofn-tripin-theme .travel-list .page_body { padding-top: 0; }
body.ofn-tripin-theme .travel-list .posts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
body.ofn-tripin-theme .travel-list .posts .tour_item { width: 100%; margin: 0; min-height: 420px; }
body.ofn-tripin-theme .pagination { display: flex; align-items: center; justify-content: center; margin: 55px 0 80px; }
body.ofn-tripin-theme .pagination .page-numbers { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
body.ofn-tripin-theme .pagination .page-numbers > * { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--ofn-blue); box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .pagination .page-numbers .current { background: var(--ofn-yellow); font-weight: 900; }

/* Single location/event */
body.ofn-tripin-theme .tour_page_head { min-height: 850px; position: relative; background-position: center; background-size: cover; }
body.ofn-tripin-theme .tour_page_head .breadcrumbs { position: relative; z-index: 2; padding-top: 135px; }
body.ofn-tripin-theme .tour_page_head .breadcrumbs a,
body.ofn-tripin-theme .tour_page_head .breadcrumbs span { color: rgba(255,255,255,.72); }
body.ofn-tripin-theme .tour_page_head .header_content { position: relative; z-index: 2; }
body.ofn-tripin-theme .tour_page_head .top-info .country { color: var(--ofn-yellow); text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
body.ofn-tripin-theme .tour_page_head .top-info .tour_title { color: #fff; font-size: clamp(54px,6vw,96px); line-height: 1.03; max-width: 1050px; }
body.ofn-tripin-theme .tour_page_head .slider_wrap { margin-top: 40px; }
body.ofn-tripin-theme .tour_page_head .slider .slide { border-radius: 14px; overflow: hidden; }
body.ofn-tripin-theme .tour_page_head .slider .slide img { object-fit: cover; }
body.ofn-tripin-theme .tour_page_head .bottom-info { background: #fff; border-radius: var(--ofn-radius-lg); padding: 24px 28px; box-shadow: var(--ofn-shadow); }
body.ofn-tripin-theme .tour_page_head .bottom-info .info,
body.ofn-tripin-theme .tour_page_head .bottom-info .rating-text { color: var(--ofn-ink); }
body.ofn-tripin-theme .ofn-fact-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; width: 100%; }
body.ofn-tripin-theme .ofn-fact { background: var(--ofn-beige-light); border-radius: 10px; padding: 18px; min-height: 96px; }
body.ofn-tripin-theme .ofn-fact svg { width: 22px; height: 22px; color: var(--ofn-yellow); margin-bottom: 8px; }
body.ofn-tripin-theme .ofn-fact strong { display: block; color: var(--ofn-blue); }
body.ofn-tripin-theme .ofn-fact span { display: block; color: var(--ofn-muted); font-size: 14px; }
body.ofn-tripin-theme .tour_page_body { background: var(--ofn-body-bg); padding-top: 85px; }
body.ofn-tripin-theme .tour_page_body .left_content { max-width: calc(100% - 360px); padding-right: 70px; }
body.ofn-tripin-theme .tour_page_body .right_content { width: 310px; max-width: 310px; }
body.ofn-tripin-theme .tour_page_body .content-block { margin-bottom: 68px; }
body.ofn-tripin-theme .tour_page_body .content-block > .title { font-size: clamp(34px,3vw,48px); }
body.ofn-tripin-theme .tour_page_body .description,
body.ofn-tripin-theme .ofn-rich-content { color: #50647a; font-size: 18px; line-height: 1.85; }
body.ofn-tripin-theme .ofn-rich-content p { float: none; margin-bottom: 1.25em; }
body.ofn-tripin-theme .ofn-highlights { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
body.ofn-tripin-theme .ofn-highlight { padding: 18px 20px; background: #fff; border-radius: 12px; display: flex; gap: 14px; align-items: center; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .ofn-highlight svg { width: 24px; height: 24px; color: var(--ofn-yellow); flex: 0 0 24px; }
body.ofn-tripin-theme .ofn-plan-list { background: #fff; border-radius: var(--ofn-radius-lg); overflow: hidden; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .ofn-plan-row { display: grid; grid-template-columns: 42px 180px 1fr; gap: 18px; padding: 22px; border-bottom: 1px solid rgba(0,45,94,.08); align-items: start; }
body.ofn-tripin-theme .ofn-plan-row:last-child { border-bottom: 0; }
body.ofn-tripin-theme .ofn-plan-row svg { width: 24px; height: 24px; color: var(--ofn-yellow); }
body.ofn-tripin-theme .ofn-plan-row strong { color: var(--ofn-blue); }
body.ofn-tripin-theme .ofn-map-card { background: #fff; border-radius: var(--ofn-radius-lg); overflow: hidden; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .ofn-map-card img { display: block; width: 100%; height: 360px; object-fit: cover; }
body.ofn-tripin-theme .ofn-map-card__body { padding: 22px; }
body.ofn-tripin-theme .sidebar .navigation { background: #fff; border-radius: 14px; padding: 22px; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .sidebar .navigation ul li a { color: var(--ofn-ink); }
body.ofn-tripin-theme .sidebar .navigation ul li a.active,
body.ofn-tripin-theme .sidebar .navigation ul li a:hover { color: var(--ofn-yellow); }
body.ofn-tripin-theme .sidebar .book-now { border-radius: 10px; }
body.ofn-tripin-theme .sidebar .add-to-favorites { background: #fff; border-radius: 10px; box-shadow: var(--ofn-shadow-soft); }

/* Reviews */
body.ofn-tripin-theme .ofn-review-summary { display: grid; grid-template-columns: 170px 1fr; gap: 34px; align-items: start; background: #fff; border-radius: var(--ofn-radius-lg); padding: 28px; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .ofn-review-score { font-family: var(--ofn-heading-font); color: var(--ofn-blue); font-size: 72px; line-height: 1; }
body.ofn-tripin-theme .comments .comment_item,
body.ofn-tripin-theme .ofn-review-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: var(--ofn-shadow-soft); margin-bottom: 18px; }
body.ofn-tripin-theme .write_comment { background: #fff; border-radius: var(--ofn-radius-lg); padding: 30px; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .ofn-rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; width: auto; }
body.ofn-tripin-theme .ofn-rating-input input { position: absolute; opacity: 0; }
body.ofn-tripin-theme .ofn-rating-input label { font-size: 31px; color: #cfd7df; cursor: pointer; }
body.ofn-tripin-theme .ofn-rating-input label:hover,
body.ofn-tripin-theme .ofn-rating-input label:hover ~ label,
body.ofn-tripin-theme .ofn-rating-input input:checked ~ label { color: var(--ofn-yellow); }

/* Events */
body.ofn-tripin-theme .ofn-event-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
body.ofn-tripin-theme .ofn-event-card { background: #fff; border-radius: var(--ofn-radius-lg); overflow: hidden; box-shadow: var(--ofn-shadow-soft); position: relative; }
body.ofn-tripin-theme .ofn-event-card__image { display: block; height: 270px; background-position: center; background-size: cover; position: relative; }
body.ofn-tripin-theme .ofn-event-card__date { position: absolute; left: 18px; top: 18px; background: #fff; border-radius: 10px; width: 65px; padding: 8px; text-align: center; box-shadow: 0 8px 22px rgba(0,0,0,.16); }
body.ofn-tripin-theme .ofn-event-card__date strong { font-family: var(--ofn-heading-font); font-size: 29px; color: var(--ofn-blue); display: block; line-height: 1; }
body.ofn-tripin-theme .ofn-event-card__date span { font-size: 11px; text-transform: uppercase; color: var(--ofn-muted); font-weight: 900; }
body.ofn-tripin-theme .ofn-event-card__body { padding: 24px; }
body.ofn-tripin-theme .ofn-event-card__body h3 { font-size: 29px; line-height: 1.2; margin-bottom: 13px; }
body.ofn-tripin-theme .ofn-event-meta { color: var(--ofn-muted); font-size: 14px; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* Generic WordPress pages and account templates. */
body.ofn-tripin-theme .ofn-page-shell { padding: 72px 0 100px; }
body.ofn-tripin-theme .ofn-page-hero { background: var(--ofn-blue); color: #fff; padding: 72px 0; }
body.ofn-tripin-theme .ofn-page-hero h1 { color: #fff; font-size: clamp(44px,5vw,72px); }
body.ofn-tripin-theme .ofn-page-hero p { color: rgba(255,255,255,.72); max-width: 720px; font-size: 18px; margin-top: 14px; }
body.ofn-tripin-theme .ofn-content-card,
body.ofn-tripin-theme .portal-card,
body.ofn-tripin-theme .dashboard-card,
body.ofn-tripin-theme .profile-card,
body.ofn-tripin-theme .auth-card,
body.ofn-tripin-theme .form-step,
body.ofn-tripin-theme .ofn-form-section { background: #fff; border-radius: var(--ofn-radius-lg); padding: 30px; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .ofn-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
body.ofn-tripin-theme .ofn-form-field { min-width: 0; }
body.ofn-tripin-theme .ofn-form-field--full { grid-column: 1 / -1; }
body.ofn-tripin-theme .ofn-form-field label { display: block; float: none; font-size: 14px; font-weight: 800; color: var(--ofn-blue); margin-bottom: 8px; }
body.ofn-tripin-theme .ofn-checkbox,
body.ofn-tripin-theme .ofn-choice { display: flex; gap: 10px; align-items: flex-start; width: auto; float: none; }
body.ofn-tripin-theme .ofn-checkbox input,
body.ofn-tripin-theme .ofn-choice input { width: 19px; height: 19px; flex: 0 0 19px; margin-top: 2px; }
body.ofn-tripin-theme .notice { display: flex; float: none; gap: 12px; align-items: flex-start; border-radius: 10px; padding: 15px 17px; margin: 0 0 22px; background: var(--ofn-beige-light); border-left: 4px solid var(--ofn-yellow); }
body.ofn-tripin-theme .notice-error { border-left-color: var(--ofn-danger); }
body.ofn-tripin-theme .notice-success { border-left-color: #2b9b61; }
body.ofn-tripin-theme .notice svg { width: 20px; height: 20px; flex: 0 0 20px; }
body.ofn-tripin-theme .honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
body.ofn-tripin-theme .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.ofn-tripin-theme .ofn-empty-state { display: grid; grid-template-columns: minmax(260px,.8fr) 1.2fr; background: #fff; border-radius: var(--ofn-radius-lg); overflow: hidden; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .ofn-empty-state img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
body.ofn-tripin-theme .ofn-empty-state__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
body.ofn-tripin-theme .ofn-empty-state__body h2 { font-size: 38px; }
body.ofn-tripin-theme .ofn-empty-state__body p { color: var(--ofn-muted); margin: 12px 0 24px; }
body.ofn-tripin-theme .ofn-icon { width: 1em; height: 1em; fill: currentColor; }
body.ofn-tripin-theme .ofn-toast { position: fixed; z-index: 99999; left: 50%; bottom: 30px; transform: translate(-50%,30px); opacity: 0; pointer-events: none; background: var(--ofn-blue); color: #fff; border-radius: 10px; padding: 13px 18px; box-shadow: var(--ofn-shadow); transition: .22s ease; width: auto; max-width: min(520px,calc(100vw - 32px)); }
body.ofn-tripin-theme .ofn-toast.is-visible { opacity: 1; transform: translate(-50%,0); }

/* Local map fallback and optional Google map container. */
body.ofn-tripin-theme .ofn-map { height: 430px; background: var(--ofn-beige-dark) url(../img/map-clean.svg) center/cover no-repeat; border-radius: var(--ofn-radius-lg); overflow: hidden; }
body.ofn-tripin-theme .ofn-map[data-ofn-map] { background-color: var(--ofn-beige-dark); }

/* Search modal and popups */
body.ofn-tripin-theme .modal_search { background: rgba(0,29,61,.97); }
body.ofn-tripin-theme .modal_search .search-form { box-shadow: none; }
body.ofn-tripin-theme .popup .popup-head .title { color: var(--ofn-blue); }
body.ofn-tripin-theme .popup .popup-head .link { color: var(--ofn-yellow); }
body.ofn-tripin-theme .popup .ofn-checkbox { margin: 12px 0; }

/* Responsive */
@media (max-width: 1300px) {
  body.ofn-tripin-theme .wrap { padding-inline: 26px; }
  body.ofn-tripin-theme .top_panel .left { width: 235px; }
  body.ofn-tripin-theme .top_panel .left .logo,
  body.ofn-tripin-theme .top_panel .left .logo img { max-width: 165px; }
  body.ofn-tripin-theme .top_panel .menu_wrap { width: calc(100% - 235px); }
  body.ofn-tripin-theme .top_panel .center .menu ul li { margin-right: 24px; }
  body.ofn-tripin-theme .top_panel .center .menu ul li a { font-size: 15px; }
  body.ofn-tripin-theme .top_panel .right .favorites-count ._text { display: none; }
  body.ofn-tripin-theme .travel-list .posts { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1040px) {
  body.ofn-tripin-theme .top_panel { top: 22px; }
  body.ofn-tripin-theme .top_panel.inversion { top: 0; }
  body.ofn-tripin-theme .top_panel .left { width: auto; padding: 0; }
  body.ofn-tripin-theme .top_panel .menu_wrap { width: 100%; padding: 0; }
  body.ofn-tripin-theme .top_panel .user { right: 64px; }
  body.ofn-tripin-theme .main_slider { min-height: 680px; }
  body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .title_wrap .slide_title { font-size: clamp(66px,12vw,104px); }
  body.ofn-tripin-theme .tour_page_body .left_content { max-width: 100%; padding-right: 0; }
  body.ofn-tripin-theme .tour_page_body .right_content { display: none; }
  body.ofn-tripin-theme .ofn-filter-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.ofn-tripin-theme .ofn-filter-form .button { width: 100%; }
  body.ofn-tripin-theme .ofn-event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  body.ofn-tripin-theme .wrap { padding-inline: 18px; }
  body.ofn-tripin-theme .top_panel { top: 14px; }
  body.ofn-tripin-theme .top_panel.inversion { padding: 13px 0; }
  body.ofn-tripin-theme .top_panel .left .search_btn,
  body.ofn-tripin-theme .top_panel .user .userlink,
  body.ofn-tripin-theme .top_panel .mobile_btn { width: 44px; height: 44px; }
  body.ofn-tripin-theme .top_panel .left .search_btn { margin-right: 12px; }
  body.ofn-tripin-theme .top_panel .left .logo,
  body.ofn-tripin-theme .top_panel .left .logo img { height: 44px; max-width: 164px; }
  body.ofn-tripin-theme .top_panel .user { display: none; }
  body.ofn-tripin-theme .top_panel .mobile_btn { display: block; }
  body.ofn-tripin-theme .top_panel .menu_wrap .scroll { background: var(--ofn-blue); }
  body.ofn-tripin-theme .top_panel .center .menu ul li a { color: #fff; font-size: 20px; }
  body.ofn-tripin-theme .top_panel .center .menu ul li .dropdown_ul { box-shadow: none; background: rgba(255,255,255,.08); width: 100%; }
  body.ofn-tripin-theme .top_panel .center .menu ul li .dropdown_ul li a { color: rgba(255,255,255,.78); }
  body.ofn-tripin-theme .top_panel.inversion .center .menu ul li a { color: #fff; }
  body.ofn-tripin-theme .main_slider { min-height: 650px; height: 100svh; }
  body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content { padding-bottom: 84px; right: 18px; }
  body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .title_wrap { margin-bottom: 18px; }
  body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .title_wrap .slide_title { font-size: clamp(48px,15vw,70px); line-height: 1; }
  body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .text { font-size: 16px; max-width: 92%; }
  body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .buttons { margin-top: 24px; }
  body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .buttons .button { min-height: 48px; }
  body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .next_title { display: none; }
  body.ofn-tripin-theme .most_popular { padding-top: 72px; }
  body.ofn-tripin-theme .title { font-size: 36px; }
  body.ofn-tripin-theme .subtitle { font-size: 16px; }
  body.ofn-tripin-theme .tour-slider { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(82vw,1fr); overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 0 18px 10px !important; margin-inline: -18px; }
  body.ofn-tripin-theme .tour-slider .tour_item { scroll-snap-align: start; min-height: 410px; margin: 0 !important; width: 100% !important; }
  body.ofn-tripin-theme .destinations .section_content { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  body.ofn-tripin-theme .destinations_item { width: 100% !important; margin: 0 !important; min-height: 200px; }
  body.ofn-tripin-theme .search-form { height: auto; padding: 26px 20px; display: grid; gap: 18px; }
  body.ofn-tripin-theme .search-form > div,
  body.ofn-tripin-theme .search-form .btn { width: 100% !important; margin: 0 !important; }
  body.ofn-tripin-theme .search-form .label { margin-bottom: 9px; font-size: 14px; }
  body.ofn-tripin-theme .search-form input,
  body.ofn-tripin-theme .search-form select { min-height: 50px; }
  body.ofn-tripin-theme .stories .stries_slider { display: grid; grid-auto-flow: column; grid-auto-columns: 84vw; gap: 16px; overflow-x: auto; padding-inline: 18px !important; margin-inline: -18px; }
  body.ofn-tripin-theme .stories .story_item { width: 100% !important; margin: 0 !important; }
  body.ofn-tripin-theme .blog .blog_slider { display: grid; grid-auto-flow: column; grid-auto-columns: 84vw; gap: 16px; overflow-x: auto; padding-inline: 18px !important; margin-inline: -18px; }
  body.ofn-tripin-theme .blog .blog_item { width: 100% !important; margin: 0 !important; }
  body.ofn-tripin-theme .footer { padding: 54px 0 30px; }
  body.ofn-tripin-theme .footer_top .left,
  body.ofn-tripin-theme .footer_top .right { width: 100%; }
  body.ofn-tripin-theme .footer_top .col { width: 50%; margin-bottom: 34px; }
  body.ofn-tripin-theme .footer_top .right { margin-top: 22px; }
  body.ofn-tripin-theme .footer_bottom { padding-top: 42px; }
  body.ofn-tripin-theme .footer_bottom .left,
  body.ofn-tripin-theme .footer_bottom .right { width: 100%; }
  body.ofn-tripin-theme .footer_bottom .right { margin-top: 16px; }
  body.ofn-tripin-theme .ofn-footer-legal { flex-wrap: wrap; }
  body.ofn-tripin-theme .ofn-archive-hero { min-height: 390px; padding: 130px 0 54px; }
  body.ofn-tripin-theme .ofn-archive-hero h1 { font-size: 51px; }
  body.ofn-tripin-theme .ofn-archive-hero p { font-size: 16px; }
  body.ofn-tripin-theme .ofn-archive-search { margin-top: -30px; }
  body.ofn-tripin-theme .ofn-filter-form { grid-template-columns: 1fr; padding: 20px; }
  body.ofn-tripin-theme .ofn-archive-toolbar { margin-top: 38px; align-items: flex-start; }
  body.ofn-tripin-theme .ofn-archive-toolbar-actions { flex-wrap: wrap; justify-content: flex-end; }
  body.ofn-tripin-theme .travel-list .posts { grid-template-columns: 1fr; gap: 18px; }
  body.ofn-tripin-theme .travel-list .posts .tour_item { min-height: 395px; }
  body.ofn-tripin-theme .tour_page_head { min-height: 720px; }
  body.ofn-tripin-theme .tour_page_head .breadcrumbs { padding-top: 100px; }
  body.ofn-tripin-theme .tour_page_head .top-info .tour_title { font-size: 48px; }
  body.ofn-tripin-theme .tour_page_head .bottom-info { padding: 20px; }
  body.ofn-tripin-theme .ofn-fact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.ofn-tripin-theme .tour_page_body { padding-top: 60px; }
  body.ofn-tripin-theme .tour_page_body .content-block { margin-bottom: 50px; }
  body.ofn-tripin-theme .ofn-highlights { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .ofn-plan-row { grid-template-columns: 32px 1fr; }
  body.ofn-tripin-theme .ofn-plan-row > :last-child { grid-column: 2; }
  body.ofn-tripin-theme .ofn-review-summary { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .ofn-event-grid { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .ofn-form-grid { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .ofn-form-field--full { grid-column: auto; }
  body.ofn-tripin-theme .ofn-empty-state { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .ofn-empty-state img { min-height: 230px; max-height: 260px; }
  body.ofn-tripin-theme .ofn-empty-state__body { padding: 28px; }
  body.ofn-tripin-theme .ofn-empty-state__body h2 { font-size: 32px; }
  body.ofn-tripin-theme .modal_search .search-tour { padding: 20px 0; }
}

@media (max-width: 480px) {
  body.ofn-tripin-theme .wrap { padding-inline: 16px; }
  body.ofn-tripin-theme .top_panel .left .logo,
  body.ofn-tripin-theme .top_panel .left .logo img { max-width: 146px; }
  body.ofn-tripin-theme .main_slider .slider_wrap .slide .slide_content .title_wrap .slide_title { font-size: 47px; }
  body.ofn-tripin-theme .destinations .section_content { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .destinations_item { min-height: 235px; }
  body.ofn-tripin-theme .footer_top .col { width: 100%; padding-right: 0; }
  body.ofn-tripin-theme .ofn-archive-hero h1 { font-size: 44px; }
  body.ofn-tripin-theme .ofn-archive-toolbar { display: block; }
  body.ofn-tripin-theme .ofn-archive-toolbar-actions { margin-top: 16px; justify-content: flex-start; }
  body.ofn-tripin-theme .tour_page_head .top-info .tour_title { font-size: 41px; }
  body.ofn-tripin-theme .ofn-fact-grid { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .tour_item_bottom ._title { font-size: 27px; }
  body.ofn-tripin-theme .ofn-page-shell { padding: 54px 0 80px; }
  body.ofn-tripin-theme .ofn-content-card,
  body.ofn-tripin-theme .portal-card,
  body.ofn-tripin-theme .dashboard-card,
  body.ofn-tripin-theme .profile-card,
  body.ofn-tripin-theme .auth-card,
  body.ofn-tripin-theme .form-step,
  body.ofn-tripin-theme .ofn-form-section { padding: 22px; }
}

/* --------------------------------------------------------------------------
   Portal, authentication and WordPress content components
   -------------------------------------------------------------------------- */
body.ofn-tripin-theme .button-yellow { background: var(--ofn-yellow); color: var(--ofn-blue); }
body.ofn-tripin-theme .button-outline,
body.ofn-tripin-theme .button-ghost {
  background: transparent;
  color: var(--ofn-blue);
  border: 1px solid rgba(0,45,94,.2);
  box-shadow: none;
}
body.ofn-tripin-theme .button-ghost { border-color: transparent; background: var(--ofn-beige-light); }
body.ofn-tripin-theme .button-outline:hover,
body.ofn-tripin-theme .button-ghost:hover { background: var(--ofn-blue); color: #fff; border-color: var(--ofn-blue); }
body.ofn-tripin-theme .button-full { width: 100%; }
body.ofn-tripin-theme .button svg,
body.ofn-tripin-theme .btn svg { width: 19px; height: 19px; margin-right: 9px; }
body.ofn-tripin-theme .text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ofn-blue); font-weight: 800; }
body.ofn-tripin-theme .text-link svg { width: 18px; height: 18px; }
body.ofn-tripin-theme .eyebrow { color: var(--ofn-yellow); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 900; margin: 0 0 9px; }
body.ofn-tripin-theme .eyebrow-light { color: var(--ofn-yellow); }
body.ofn-tripin-theme .progress { height: 8px; width: 100%; border-radius: 999px; background: rgba(0,45,94,.1); overflow: hidden; }
body.ofn-tripin-theme .progress > span { display: block; height: 100%; border-radius: inherit; background: var(--ofn-yellow); }

/* Forms */
body.ofn-tripin-theme .form-stack { display: grid; gap: 19px; }
body.ofn-tripin-theme .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
body.ofn-tripin-theme .form-field { display: grid; gap: 8px; min-width: 0; color: var(--ofn-blue); font-size: 14px; font-weight: 800; }
body.ofn-tripin-theme .form-field.full { grid-column: 1 / -1; }
body.ofn-tripin-theme .form-field small { color: var(--ofn-muted); font-weight: 500; line-height: 1.45; }
body.ofn-tripin-theme .form-field input,
body.ofn-tripin-theme .form-field select,
body.ofn-tripin-theme .form-field textarea,
body.ofn-tripin-theme .auth-form input,
body.ofn-tripin-theme .auth-form select,
body.ofn-tripin-theme .auth-form textarea,
body.ofn-tripin-theme .contact-form input,
body.ofn-tripin-theme .contact-form select,
body.ofn-tripin-theme .contact-form textarea {
  float: none;
  width: 100%;
  max-width: none;
  min-height: 52px;
  border: 1px solid rgba(0,45,94,.16);
  border-radius: 9px;
  background: #fff;
  color: var(--ofn-ink);
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
body.ofn-tripin-theme .form-field textarea,
body.ofn-tripin-theme .contact-form textarea { min-height: 130px; resize: vertical; }
body.ofn-tripin-theme .form-field input:focus,
body.ofn-tripin-theme .form-field select:focus,
body.ofn-tripin-theme .form-field textarea:focus,
body.ofn-tripin-theme .auth-form input:focus,
body.ofn-tripin-theme .contact-form input:focus,
body.ofn-tripin-theme .contact-form textarea:focus {
  border-color: var(--ofn-yellow);
  box-shadow: 0 0 0 4px rgba(250,185,0,.15);
  outline: 0;
}
body.ofn-tripin-theme .label-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
body.ofn-tripin-theme .label-row a { color: var(--ofn-blue); font-size: 13px; font-weight: 700; }
body.ofn-tripin-theme .password-field { position: relative; display: block; }
body.ofn-tripin-theme .password-field input { padding-right: 54px; }
body.ofn-tripin-theme .password-field button { position: absolute; right: 5px; top: 5px; width: 42px; height: 42px; min-height: 0; padding: 0; border-radius: 8px; background: transparent; color: var(--ofn-blue); }
body.ofn-tripin-theme .password-field button:hover { background: var(--ofn-beige-dark); transform: none; }
body.ofn-tripin-theme .password-field button svg { width: 20px; height: 20px; margin: 0; }
body.ofn-tripin-theme .check-row { display: flex; gap: 10px; align-items: flex-start; color: var(--ofn-muted); font-size: 14px; font-weight: 600; line-height: 1.5; }
body.ofn-tripin-theme .check-row input { width: 19px; height: 19px; flex: 0 0 19px; margin: 2px 0 0; accent-color: var(--ofn-yellow); }
body.ofn-tripin-theme .password-meter { display: grid; gap: 6px; margin-top: 2px; }
body.ofn-tripin-theme .password-meter:before { content: ""; height: 5px; border-radius: 99px; background: #e6ebef; }
body.ofn-tripin-theme .password-meter i { display: block; width: 0; height: 5px; margin-top: -11px; border-radius: 99px; background: var(--ofn-yellow); transition: width .2s ease; }
body.ofn-tripin-theme .password-meter[data-score="1"] i { width: 25%; background: var(--ofn-danger); }
body.ofn-tripin-theme .password-meter[data-score="2"] i { width: 50%; background: #dc7c20; }
body.ofn-tripin-theme .password-meter[data-score="3"] i { width: 75%; background: #8f9e24; }
body.ofn-tripin-theme .password-meter[data-score="4"] i { width: 100%; background: #2b9b61; }
body.ofn-tripin-theme .password-meter small { color: var(--ofn-muted); font-weight: 600; }
body.ofn-tripin-theme .choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
body.ofn-tripin-theme .choice-grid.compact { grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); }
body.ofn-tripin-theme .choice-card { position: relative; display: block; cursor: pointer; }
body.ofn-tripin-theme .choice-card input { position: absolute; opacity: 0; pointer-events: none; }
body.ofn-tripin-theme .choice-card span { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid rgba(0,45,94,.14); border-radius: 9px; background: #fff; color: var(--ofn-blue); font-size: 14px; font-weight: 800; text-align: center; transition: .18s ease; }
body.ofn-tripin-theme .choice-card input:checked + span { background: var(--ofn-yellow); border-color: var(--ofn-yellow); box-shadow: 0 8px 20px rgba(250,185,0,.17); }
body.ofn-tripin-theme .choice-card input:focus-visible + span { outline: 3px solid rgba(250,185,0,.45); outline-offset: 2px; }
body.ofn-tripin-theme .form-details { border: 1px solid rgba(0,45,94,.12); border-radius: 10px; padding: 0 18px; background: var(--ofn-beige-light); }
body.ofn-tripin-theme .form-details summary { cursor: pointer; padding: 16px 0; color: var(--ofn-blue); font-weight: 800; }
body.ofn-tripin-theme .form-details[open] { padding-bottom: 18px; }

/* Authentication pages */
body.ofn-tripin-theme.ofn-auth-page { overflow-x: hidden; background: #fff; }
body.ofn-tripin-theme .auth-header { position: fixed; z-index: 30; left: 0; right: 0; top: 0; height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(0,45,94,.08); backdrop-filter: blur(12px); }
body.ofn-tripin-theme .auth-brand img { display: block; width: auto; height: 52px; }
body.ofn-tripin-theme .auth-back { display: inline-flex; align-items: center; gap: 8px; color: var(--ofn-blue); font-weight: 800; }
body.ofn-tripin-theme .auth-back svg { width: 19px; height: 19px; }
body.ofn-tripin-theme .auth-main { min-height: 100svh; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(440px,.95fr); padding-top: 82px; }
body.ofn-tripin-theme .auth-visual { position: relative; min-height: calc(100svh - 82px); background-position: center; background-size: cover; display: flex; align-items: flex-end; padding: clamp(36px,6vw,88px); isolation: isolate; }
body.ofn-tripin-theme .auth-visual:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top,rgba(0,29,62,.86),rgba(0,29,62,.08) 65%); }
body.ofn-tripin-theme .auth-visual-copy { color: #fff; max-width: 610px; }
body.ofn-tripin-theme .auth-visual-copy h2 { color: #fff; font-size: clamp(42px,5.3vw,75px); line-height: 1.03; margin: 0 0 18px; }
body.ofn-tripin-theme .auth-visual-copy > p:last-child { color: rgba(255,255,255,.82); font-size: 18px; max-width: 540px; }
body.ofn-tripin-theme .auth-panel { display: flex; align-items: center; justify-content: center; padding: 64px clamp(28px,5vw,80px); background: var(--ofn-body-bg); }
body.ofn-tripin-theme .auth-card { width: min(100%,520px); padding: clamp(28px,4vw,48px); }
body.ofn-tripin-theme .auth-card h1 { font-size: clamp(40px,4.2vw,58px); line-height: 1.05; margin: 0 0 14px; }
body.ofn-tripin-theme .auth-subtitle { color: var(--ofn-muted); font-size: 16px; margin: 0 0 28px; }
body.ofn-tripin-theme .auth-switch { margin-top: 24px; text-align: center; color: var(--ofn-muted); }
body.ofn-tripin-theme .auth-switch a { color: var(--ofn-blue); font-weight: 900; }

/* Member portal */
body.ofn-tripin-theme .portal-page { padding: 150px 0 95px; background: var(--ofn-body-bg); }
body.ofn-tripin-theme .portal-page > .container { width: min(calc(100% - 48px),var(--ofn-content)); max-width: var(--ofn-content); margin: 0 auto; min-height: 0; background: transparent; }
body.ofn-tripin-theme .portal-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 38px; align-items: start; }
body.ofn-tripin-theme .portal-sidebar { position: sticky; top: 112px; background: var(--ofn-blue); border-radius: var(--ofn-radius-lg); padding: 20px 14px 14px; box-shadow: var(--ofn-shadow); }
body.ofn-tripin-theme .portal-user-card { display: flex; align-items: center; gap: 12px; padding: 8px 8px 20px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
body.ofn-tripin-theme .portal-user-avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
body.ofn-tripin-theme .portal-user-card strong,
body.ofn-tripin-theme .portal-user-card small { display: block; }
body.ofn-tripin-theme .portal-user-card small { color: rgba(255,255,255,.62); font-size: 12px; }
body.ofn-tripin-theme .portal-nav { display: grid; gap: 3px; margin-top: 14px; }
body.ofn-tripin-theme .portal-nav-link,
body.ofn-tripin-theme .portal-logout { display: flex; align-items: center; gap: 12px; min-height: 47px; padding: 10px 13px; border-radius: 9px; color: rgba(255,255,255,.76); font-size: 14px; font-weight: 800; }
body.ofn-tripin-theme .portal-nav-link svg,
body.ofn-tripin-theme .portal-logout svg { width: 20px; height: 20px; flex: 0 0 20px; }
body.ofn-tripin-theme .portal-nav-link:hover,
body.ofn-tripin-theme .portal-nav-link.is-active { background: var(--ofn-yellow); color: var(--ofn-blue); }
body.ofn-tripin-theme .portal-logout { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.12); border-radius: 0; padding-top: 18px; }
body.ofn-tripin-theme .portal-logout:hover { color: #fff; }
body.ofn-tripin-theme .portal-main { min-width: 0; }
body.ofn-tripin-theme .dashboard-welcome,
body.ofn-tripin-theme .portal-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
body.ofn-tripin-theme .dashboard-welcome h1,
body.ofn-tripin-theme .portal-page-header h1 { font-size: clamp(42px,5vw,64px); line-height: 1; margin: 0 0 12px; }
body.ofn-tripin-theme .dashboard-welcome p,
body.ofn-tripin-theme .portal-page-header p { color: var(--ofn-muted); max-width: 720px; }
body.ofn-tripin-theme .dashboard-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 24px; }
body.ofn-tripin-theme .dashboard-stats > * { background: #fff; border-radius: 12px; padding: 20px; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .dashboard-stats strong { display: block; color: var(--ofn-blue); font-family: var(--ofn-heading-font); font-size: 38px; line-height: 1; }
body.ofn-tripin-theme .dashboard-stats span { color: var(--ofn-muted); font-size: 13px; font-weight: 700; }
body.ofn-tripin-theme .dashboard-columns { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(260px,.75fr); gap: 24px; margin-bottom: 24px; }
body.ofn-tripin-theme .portal-card { padding: 26px; }
body.ofn-tripin-theme .portal-card h2 { font-size: 30px; line-height: 1.15; margin: 0 0 16px; }
body.ofn-tripin-theme .portal-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
body.ofn-tripin-theme .portal-card-head h2 { margin-bottom: 5px; }
body.ofn-tripin-theme .portal-card-head p { color: var(--ofn-muted); }
body.ofn-tripin-theme .dashboard-side-stack { display: grid; gap: 24px; }
body.ofn-tripin-theme .dashboard-quick-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
body.ofn-tripin-theme .dashboard-quick-links a { min-height: 105px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px; padding: 14px; border-radius: 10px; background: var(--ofn-beige-light); color: var(--ofn-blue); font-weight: 800; text-align: center; }
body.ofn-tripin-theme .dashboard-quick-links a:hover { background: var(--ofn-yellow); }
body.ofn-tripin-theme .dashboard-quick-links svg { width: 25px; height: 25px; }
body.ofn-tripin-theme .recommendation-list,
body.ofn-tripin-theme .submission-list { display: grid; gap: 12px; }
body.ofn-tripin-theme .recommendation-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 13px; align-items: center; color: var(--ofn-ink); padding: 9px; border-radius: 10px; }
body.ofn-tripin-theme .recommendation-item:hover { background: var(--ofn-beige-light); }
body.ofn-tripin-theme .recommendation-item img { width: 64px; height: 58px; object-fit: cover; border-radius: 8px; }
body.ofn-tripin-theme .recommendation-item strong,
body.ofn-tripin-theme .recommendation-item small { display: block; }
body.ofn-tripin-theme .recommendation-item small { color: var(--ofn-muted); }
body.ofn-tripin-theme .recommendation-item b { color: var(--ofn-blue); }
body.ofn-tripin-theme .profile-progress-copy { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
body.ofn-tripin-theme .profile-progress-copy strong { color: var(--ofn-blue); font-family: var(--ofn-heading-font); font-size: 40px; }
body.ofn-tripin-theme .profile-progress-card p { color: var(--ofn-muted); margin: 14px 0 20px; }
body.ofn-tripin-theme .submission-row { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 12px; border: 1px solid rgba(0,45,94,.08); border-radius: 10px; }
body.ofn-tripin-theme .submission-row img { width: 64px; height: 56px; object-fit: cover; border-radius: 8px; }
body.ofn-tripin-theme .submission-row strong { color: var(--ofn-blue); display: block; }
body.ofn-tripin-theme .submission-row span { display: flex; align-items: center; gap: 8px; color: var(--ofn-muted); font-size: 12px; }
body.ofn-tripin-theme .status-badge { display: inline-flex; padding: 3px 8px; border-radius: 999px; background: var(--ofn-beige-dark); color: var(--ofn-blue); font-style: normal; font-size: 11px; font-weight: 900; }
body.ofn-tripin-theme .status-publish { background: #dff3e7; color: #176c3f; }
body.ofn-tripin-theme .status-pending { background: #fff0c5; color: #805b00; }
body.ofn-tripin-theme .compact-empty { color: var(--ofn-muted); padding: 18px; border-radius: 10px; background: var(--ofn-beige-light); }
body.ofn-tripin-theme .compact-empty .button { margin-top: 12px; }

/* Portal cards reused in favorites, community and planner. */
body.ofn-tripin-theme .travel-card-grid,
body.ofn-tripin-theme .favorites-grid,
body.ofn-tripin-theme .community-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
body.ofn-tripin-theme .portal-travel-card { position: relative; display: grid; grid-template-columns: 150px minmax(0,1fr); min-height: 170px; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .portal-travel-card__image { position: relative; display: block; min-height: 170px; }
body.ofn-tripin-theme .portal-travel-card__image > img { width: 100%; height: 100%; object-fit: cover; }
body.ofn-tripin-theme .portal-travel-card__body { padding: 19px 48px 19px 20px; min-width: 0; }
body.ofn-tripin-theme .portal-card-kicker { color: var(--ofn-yellow); text-transform: uppercase; letter-spacing: .09em; font-size: 10px; font-weight: 900; margin-bottom: 5px; }
body.ofn-tripin-theme .portal-travel-card h3 { font-size: 24px; line-height: 1.16; margin: 0 0 7px; }
body.ofn-tripin-theme .portal-travel-card h3 a { color: var(--ofn-blue); }
body.ofn-tripin-theme .portal-travel-card__body > p:not(.portal-card-kicker) { color: var(--ofn-muted); font-size: 13px; line-height: 1.5; margin-bottom: 10px; }
body.ofn-tripin-theme .portal-travel-card__meta { display: flex; flex-wrap: wrap; gap: 7px 13px; color: var(--ofn-muted); font-size: 12px; }
body.ofn-tripin-theme .portal-travel-card__meta > span { display: inline-flex; align-items: center; gap: 5px; }
body.ofn-tripin-theme .portal-travel-card__meta svg { width: 14px; height: 14px; }
body.ofn-tripin-theme .portal-event-date { position: absolute; left: 10px; top: 10px; display: grid; place-items: center; width: 50px; padding: 6px; border-radius: 8px; background: #fff; color: var(--ofn-blue); box-shadow: 0 6px 18px rgba(0,0,0,.14); text-align: center; }
body.ofn-tripin-theme .portal-event-date strong { font-family: var(--ofn-heading-font); font-size: 25px; line-height: .9; }
body.ofn-tripin-theme .portal-event-date small,
body.ofn-tripin-theme .portal-event-date span { font-size: 9px; text-transform: uppercase; font-weight: 900; }
body.ofn-tripin-theme .card-save { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; min-height: 0; padding: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ofn-blue); box-shadow: 0 6px 18px rgba(0,45,94,.14); z-index: 5; }
body.ofn-tripin-theme .card-save:hover,
body.ofn-tripin-theme .card-save.is-saved { background: var(--ofn-yellow); color: var(--ofn-blue); transform: none; }
body.ofn-tripin-theme .card-save svg { width: 18px; height: 18px; margin: 0; }

/* Profile and planner */
body.ofn-tripin-theme .profile-completion { min-width: 170px; padding: 14px 16px; border-radius: 10px; background: #fff; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .profile-completion strong { color: var(--ofn-blue); font-size: 26px; }
body.ofn-tripin-theme .profile-completion span { color: var(--ofn-muted); font-size: 12px; margin-left: 4px; }
body.ofn-tripin-theme .profile-completion .progress { margin-top: 8px; }
body.ofn-tripin-theme .profile-form { display: grid; gap: 22px; }
body.ofn-tripin-theme .profile-section-head { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid rgba(0,45,94,.08); }
body.ofn-tripin-theme .profile-section-head > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ofn-yellow); color: var(--ofn-blue); font-weight: 900; }
body.ofn-tripin-theme .profile-section-head h2 { margin: 0 0 4px; }
body.ofn-tripin-theme .profile-section-head p { color: var(--ofn-muted); }
body.ofn-tripin-theme .profile-account-grid { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 28px; }
body.ofn-tripin-theme .profile-avatar-box { display: grid; justify-items: center; align-content: start; gap: 12px; }
body.ofn-tripin-theme .profile-avatar { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; }
body.ofn-tripin-theme .profile-avatar-box .button { position: relative; overflow: hidden; }
body.ofn-tripin-theme .profile-avatar-box .button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
body.ofn-tripin-theme .profile-subheading { font-family: var(--ofn-ui-font); font-size: 15px; margin: 18px 0 10px; }
body.ofn-tripin-theme .profile-save-bar { position: sticky; z-index: 8; bottom: 18px; display: flex; justify-content: flex-end; padding: 14px; background: rgba(255,255,255,.94); border-radius: 12px; box-shadow: var(--ofn-shadow); backdrop-filter: blur(10px); }
body.ofn-tripin-theme .planner-results-page { padding: 150px 0 95px; }
body.ofn-tripin-theme .planner-results-page > .container { width: min(calc(100% - 48px),var(--ofn-content)); max-width: var(--ofn-content); min-height: 0; margin: 0 auto; background: transparent; }
body.ofn-tripin-theme .planner-summary-card { display: grid; grid-template-columns: 58px 1fr; gap: 17px; padding: 22px; margin-bottom: 24px; border-radius: 14px; background: var(--ofn-blue); color: #fff; }
body.ofn-tripin-theme .planner-summary-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--ofn-yellow); color: var(--ofn-blue); }
body.ofn-tripin-theme .planner-summary-icon svg { width: 27px; height: 27px; }
body.ofn-tripin-theme .planner-summary-card h2 { color: #fff; margin-bottom: 6px; }
body.ofn-tripin-theme .planner-summary-card p { color: rgba(255,255,255,.72); }
body.ofn-tripin-theme .radius-options { display: flex; flex-wrap: wrap; gap: 10px; }
body.ofn-tripin-theme .radius-options label { position: relative; }
body.ofn-tripin-theme .radius-options input { position: absolute; opacity: 0; }
body.ofn-tripin-theme .radius-options span { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 8px 16px; border: 1px solid rgba(0,45,94,.14); border-radius: 999px; background: #fff; color: var(--ofn-blue); font-weight: 800; cursor: pointer; }
body.ofn-tripin-theme .radius-options input:checked + span { background: var(--ofn-yellow); border-color: var(--ofn-yellow); }

/* Front-end creator wizards */
body.ofn-tripin-theme .creator-page,
body.ofn-tripin-theme .wizard-page { padding: 145px 0 95px; background: var(--ofn-body-bg); }
body.ofn-tripin-theme .creator-page > .container,
body.ofn-tripin-theme .wizard-page > .container { width: min(calc(100% - 48px),1040px); max-width: 1040px; min-height: 0; margin: 0 auto; background: transparent; }
body.ofn-tripin-theme .creator-shell,
body.ofn-tripin-theme .wizard-shell { background: #fff; border-radius: var(--ofn-radius-lg); overflow: hidden; box-shadow: var(--ofn-shadow); }
body.ofn-tripin-theme .creator-header,
body.ofn-tripin-theme .wizard-brand { padding: 34px clamp(24px,4vw,48px); background: var(--ofn-blue); color: #fff; }
body.ofn-tripin-theme .creator-header h1,
body.ofn-tripin-theme .wizard-brand h1 { color: #fff; font-size: clamp(40px,5vw,62px); line-height: 1.04; }
body.ofn-tripin-theme .creator-header p,
body.ofn-tripin-theme .wizard-brand p { color: rgba(255,255,255,.72); max-width: 700px; }
body.ofn-tripin-theme .creator-progress,
body.ofn-tripin-theme .wizard-progress { display: flex; gap: 0; padding: 0 clamp(24px,4vw,48px); background: #fff; border-bottom: 1px solid rgba(0,45,94,.08); overflow-x: auto; }
body.ofn-tripin-theme .progress-item { flex: 1 0 auto; min-width: 120px; padding: 17px 10px; border-bottom: 3px solid transparent; color: var(--ofn-muted); font-size: 12px; font-weight: 800; text-align: center; }
body.ofn-tripin-theme .progress-item.is-active { border-color: var(--ofn-yellow); color: var(--ofn-blue); }
body.ofn-tripin-theme .creator-form,
body.ofn-tripin-theme .wizard-panel { padding: clamp(26px,5vw,52px); }
body.ofn-tripin-theme .creator-step,
body.ofn-tripin-theme .wizard-step { display: none; }
body.ofn-tripin-theme .creator-step.is-active,
body.ofn-tripin-theme .wizard-step.is-active { display: block; }
body.ofn-tripin-theme .creator-step h2,
body.ofn-tripin-theme .wizard-step h2 { font-size: clamp(34px,4vw,48px); margin: 0 0 24px; }
body.ofn-tripin-theme .step-kicker { color: var(--ofn-yellow); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 900; margin-bottom: 8px; }
body.ofn-tripin-theme .creator-actions,
body.ofn-tripin-theme .wizard-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(0,45,94,.08); }
body.ofn-tripin-theme .creator-final-actions > div { display: flex; flex-wrap: wrap; gap: 10px; }
body.ofn-tripin-theme .creator-choice-section { margin: 22px 0; }
body.ofn-tripin-theme .creator-choice-section h3 { font-family: var(--ofn-ui-font); font-size: 16px; margin-bottom: 11px; }
body.ofn-tripin-theme .creator-map { position: relative; min-height: 320px; margin-top: 20px; overflow: hidden; border-radius: 14px; background: var(--ofn-beige-dark); }
body.ofn-tripin-theme .creator-map > img { width: 100%; height: 320px; object-fit: cover; }
body.ofn-tripin-theme .creator-map .map-pin { position: absolute; left: 53%; top: 46%; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ofn-yellow); color: var(--ofn-blue); box-shadow: var(--ofn-shadow); }
body.ofn-tripin-theme .creator-map .map-pin svg { width: 21px; height: 21px; transform: rotate(45deg); }
body.ofn-tripin-theme .upload-field { position: relative; display: grid; justify-items: center; gap: 5px; padding: 34px; border: 2px dashed rgba(0,45,94,.2); border-radius: 14px; background: var(--ofn-beige-light); color: var(--ofn-blue); text-align: center; cursor: pointer; }
body.ofn-tripin-theme .upload-field > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ofn-yellow); }
body.ofn-tripin-theme .upload-field svg { width: 23px; height: 23px; }
body.ofn-tripin-theme .upload-field small { color: var(--ofn-muted); }
body.ofn-tripin-theme .upload-field input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
body.ofn-tripin-theme .creator-preview { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 22px; align-items: center; margin-top: 22px; padding: 18px; border-radius: 14px; background: var(--ofn-blue); color: #fff; }
body.ofn-tripin-theme .creator-preview img { width: 230px; height: 150px; object-fit: cover; border-radius: 10px; }
body.ofn-tripin-theme .creator-preview small { color: var(--ofn-yellow); text-transform: uppercase; letter-spacing: .09em; font-weight: 900; }
body.ofn-tripin-theme .creator-preview h3 { color: #fff; font-size: 30px; margin: 4px 0; }
body.ofn-tripin-theme .creator-preview p { color: rgba(255,255,255,.72); }
body.ofn-tripin-theme .editorial-check { display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; padding: 18px; border-radius: 12px; background: var(--ofn-beige-light); }
body.ofn-tripin-theme .editorial-check > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 50%; background: var(--ofn-yellow); color: var(--ofn-blue); }
body.ofn-tripin-theme .editorial-check svg { width: 21px; height: 21px; }
body.ofn-tripin-theme .editorial-check p { color: var(--ofn-muted); }

/* Community and contact pages */
body.ofn-tripin-theme .community-page,
body.ofn-tripin-theme .contact-page,
body.ofn-tripin-theme .simple-page { padding: 145px 0 95px; }
body.ofn-tripin-theme .community-page > .container,
body.ofn-tripin-theme .contact-page > .container,
body.ofn-tripin-theme .simple-page > .container { width: min(calc(100% - 48px),var(--ofn-content)); max-width: var(--ofn-content); min-height: 0; margin: 0 auto; background: transparent; }
body.ofn-tripin-theme .community-hero,
body.ofn-tripin-theme .simple-page-hero { position: relative; overflow: hidden; border-radius: var(--ofn-radius-lg); background: var(--ofn-blue); color: #fff; padding: clamp(34px,6vw,72px); margin-bottom: 30px; }
body.ofn-tripin-theme .community-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
body.ofn-tripin-theme .community-hero h1,
body.ofn-tripin-theme .simple-page-hero h1 { color: #fff; font-size: clamp(46px,6vw,76px); line-height: 1; }
body.ofn-tripin-theme .community-hero p,
body.ofn-tripin-theme .simple-page-hero p { color: rgba(255,255,255,.72); font-size: 17px; }
body.ofn-tripin-theme .community-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
body.ofn-tripin-theme .community-hero-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
body.ofn-tripin-theme .community-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
body.ofn-tripin-theme .community-stats > * { background: #fff; border-radius: 12px; padding: 24px; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .community-guidelines-grid,
body.ofn-tripin-theme .community-guideline-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
body.ofn-tripin-theme .community-guideline-cards > *,
body.ofn-tripin-theme .community-guidelines-grid > * { background: #fff; border-radius: 12px; padding: 22px; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 48px 0 22px; }
body.ofn-tripin-theme .section-heading h2 { font-size: clamp(34px,4vw,50px); }
body.ofn-tripin-theme .contact-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(290px,.7fr); gap: 28px; }
body.ofn-tripin-theme .contact-form,
body.ofn-tripin-theme .contact-info-card { background: #fff; border-radius: var(--ofn-radius-lg); padding: clamp(25px,4vw,40px); box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .contact-aside { display: grid; gap: 18px; align-content: start; }
body.ofn-tripin-theme .contact-info-card h2 { margin-bottom: 14px; }
body.ofn-tripin-theme .contact-info-card p { color: var(--ofn-muted); }
body.ofn-tripin-theme .contact-consent { margin-top: 14px; }

/* Archive controls, local map dialog and sorting */
body.ofn-tripin-theme .ofn-sort-form select { min-height: 44px; border: 1px solid rgba(0,45,94,.15); border-radius: 8px; background: #fff; color: var(--ofn-blue); padding: 0 38px 0 13px; font-size: 14px; font-weight: 800; }
body.ofn-tripin-theme .ofn-toolbar-button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid rgba(0,45,94,.15); border-radius: 8px; background: #fff; color: var(--ofn-blue); font-size: 14px; font-weight: 800; }
body.ofn-tripin-theme .ofn-toolbar-button:hover { background: var(--ofn-yellow); border-color: var(--ofn-yellow); color: var(--ofn-blue); transform: none; }
body.ofn-tripin-theme .ofn-toolbar-button svg { width: 18px; height: 18px; }
body.ofn-tripin-theme .ofn-map-dialog { position: fixed; z-index: 9990; inset: 0; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(0,29,62,.76); }
body.ofn-tripin-theme .ofn-map-dialog.is-open { display: flex; }
body.ofn-tripin-theme .ofn-map-dialog__panel { position: relative; width: min(100%,1040px); max-height: calc(100svh - 44px); overflow: auto; padding: 30px; border-radius: var(--ofn-radius-lg); background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
body.ofn-tripin-theme .ofn-map-dialog__panel h2 { font-size: 38px; margin: 0 50px 20px 0; }
body.ofn-tripin-theme .ofn-map-dialog__panel > p { color: var(--ofn-muted); margin-top: 14px; }
body.ofn-tripin-theme .ofn-map-dialog__close { position: absolute; right: 18px; top: 18px; width: 42px; height: 42px; min-height: 0; padding: 0; border-radius: 50%; background: var(--ofn-beige-dark); color: var(--ofn-blue); font-size: 27px; }
body.ofn-tripin-theme .ofn-map-dialog__close:hover { background: var(--ofn-yellow); color: var(--ofn-blue); transform: none; }
body.ofn-tripin-theme .ofn-rating-bar { display: grid; grid-template-columns: 55px 1fr 42px; gap: 10px; align-items: center; margin: 7px 0; color: var(--ofn-muted); font-size: 13px; }
body.ofn-tripin-theme .ofn-rating-bar i { height: 7px; border-radius: 99px; background: rgba(0,45,94,.1); overflow: hidden; }
body.ofn-tripin-theme .ofn-rating-bar i span { display: block; height: 100%; background: var(--ofn-yellow); border-radius: inherit; }
body.ofn-tripin-theme .ofn-share-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

/* Magazine, articles, comments and regular WordPress pages */
body.ofn-tripin-theme .blog-list-page { padding: 82px 0 105px; background: var(--ofn-body-bg); }
body.ofn-tripin-theme .blog-list-page .page_body { width: 100%; max-width: none; }
body.ofn-tripin-theme .blog-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
body.ofn-tripin-theme .blog-list .blog_item { width: 100%; margin: 0; background: #fff; border-radius: var(--ofn-radius-lg); overflow: hidden; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .blog-list .blog_item_top { border-radius: 0; }
body.ofn-tripin-theme .ofn-magazine-search { display: flex; gap: 10px; max-width: 620px; margin-top: 25px; }
body.ofn-tripin-theme .ofn-magazine-search input { flex: 1; min-height: 50px; border: 0; border-radius: 9px; padding: 0 16px; }
body.ofn-tripin-theme .blog-single-page { padding: 145px 0 95px; }
body.ofn-tripin-theme .blog-single-head { width: min(calc(100% - 48px),960px); margin: 0 auto 32px; text-align: center; }
body.ofn-tripin-theme .blog-single-head h1 { font-size: clamp(48px,7vw,88px); line-height: .99; margin: 12px 0 18px; }
body.ofn-tripin-theme .blog-single-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; color: var(--ofn-muted); }
body.ofn-tripin-theme .blog-single-image { width: min(calc(100% - 48px),1240px); margin: 0 auto 48px; }
body.ofn-tripin-theme .blog-single-image img { width: 100%; max-height: 700px; object-fit: cover; border-radius: var(--ofn-radius-lg); }
body.ofn-tripin-theme .blog-single-body { width: min(calc(100% - 48px),820px); margin: 0 auto; }
body.ofn-tripin-theme .ofn-rich-content h2 { font-size: clamp(34px,4vw,48px); margin: 1.35em 0 .5em; }
body.ofn-tripin-theme .ofn-rich-content h3 { font-size: clamp(27px,3vw,36px); margin: 1.2em 0 .45em; }
body.ofn-tripin-theme .ofn-rich-content ul,
body.ofn-tripin-theme .ofn-rich-content ol { margin: 0 0 1.4em 1.3em; }
body.ofn-tripin-theme .ofn-rich-content blockquote { margin: 2em 0; padding: 22px 28px; border-left: 5px solid var(--ofn-yellow); background: var(--ofn-beige-light); color: var(--ofn-blue); font-family: var(--ofn-heading-font); font-size: 27px; line-height: 1.35; }
body.ofn-tripin-theme .ofn-rich-content img { border-radius: 14px; }
body.ofn-tripin-theme .ofn-article-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0; margin-top: 38px; border-top: 1px solid rgba(0,45,94,.1); border-bottom: 1px solid rgba(0,45,94,.1); }
body.ofn-tripin-theme .comment-list { display: grid; gap: 15px; list-style: none; margin: 0; }
body.ofn-tripin-theme .comment-list .comment-body { padding: 22px; border-radius: 13px; background: #fff; box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .comment-form { display: grid; gap: 14px; margin-top: 24px; }
body.ofn-tripin-theme .comment-form input,
body.ofn-tripin-theme .comment-form textarea { width: 100%; border: 1px solid rgba(0,45,94,.16); border-radius: 9px; padding: 13px 15px; }
body.ofn-tripin-theme .page .ofn-page-shell .ofn-content-card { max-width: 900px; margin: 0 auto; }
body.ofn-tripin-theme .simple-page .surface-section { background: #fff; border-radius: var(--ofn-radius-lg); padding: clamp(25px,4vw,42px); box-shadow: var(--ofn-shadow-soft); }
body.ofn-tripin-theme .ofn-404 { min-height: 72svh; display: grid; place-items: center; padding: 145px 24px 80px; text-align: center; }
body.ofn-tripin-theme .ofn-404 > div { max-width: 720px; }
body.ofn-tripin-theme .ofn-404 .error-code { color: var(--ofn-yellow); font-family: var(--ofn-heading-font); font-size: clamp(90px,18vw,190px); line-height: .8; }
body.ofn-tripin-theme .ofn-404 h1 { font-size: clamp(42px,6vw,72px); margin: 20px 0 12px; }
body.ofn-tripin-theme .ofn-404 p { color: var(--ofn-muted); margin-bottom: 26px; }

/* Pagination */
body.ofn-tripin-theme .pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; margin: 38px 0 0; padding: 0; }
body.ofn-tripin-theme .pagination a,
body.ofn-tripin-theme .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 8px; background: #fff; color: var(--ofn-blue); font-weight: 800; box-shadow: 0 6px 16px rgba(0,45,94,.07); }
body.ofn-tripin-theme .pagination .current,
body.ofn-tripin-theme .pagination a:hover { background: var(--ofn-yellow); color: var(--ofn-blue); }

@media (max-width: 1024px) {
  body.ofn-tripin-theme .auth-main { grid-template-columns: 1fr 1fr; }
  body.ofn-tripin-theme .portal-layout { grid-template-columns: 210px minmax(0,1fr); gap: 24px; }
  body.ofn-tripin-theme .dashboard-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.ofn-tripin-theme .dashboard-columns { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .travel-card-grid,
  body.ofn-tripin-theme .favorites-grid,
  body.ofn-tripin-theme .community-grid { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .blog-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.ofn-tripin-theme .community-hero-grid { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .community-hero-image { display: none; }
}

@media (max-width: 800px) {
  body.ofn-tripin-theme .auth-header { height: 70px; padding: 0 18px; }
  body.ofn-tripin-theme .auth-brand img { height: 44px; max-width: 160px; }
  body.ofn-tripin-theme .auth-main { display: block; padding-top: 70px; }
  body.ofn-tripin-theme .auth-visual { min-height: 245px; padding: 26px 20px; }
  body.ofn-tripin-theme .auth-visual-copy h2 { font-size: 38px; }
  body.ofn-tripin-theme .auth-visual-copy > p:last-child { display: none; }
  body.ofn-tripin-theme .auth-panel { padding: 24px 16px 52px; }
  body.ofn-tripin-theme .auth-card { margin-top: -44px; position: relative; z-index: 2; padding: 25px 20px; }
  body.ofn-tripin-theme .auth-card h1 { font-size: 38px; }
  body.ofn-tripin-theme .portal-page { padding: 105px 0 70px; }
  body.ofn-tripin-theme .portal-page > .container { width: min(calc(100% - 32px),var(--ofn-content)); }
  body.ofn-tripin-theme .portal-layout { display: block; }
  body.ofn-tripin-theme .portal-sidebar { position: static; padding: 10px; margin-bottom: 22px; overflow-x: auto; }
  body.ofn-tripin-theme .portal-user-card { display: none; }
  body.ofn-tripin-theme .portal-nav { display: flex; min-width: max-content; margin: 0; }
  body.ofn-tripin-theme .portal-nav-link { min-height: 43px; padding: 8px 12px; }
  body.ofn-tripin-theme .portal-logout { display: none; }
  body.ofn-tripin-theme .dashboard-welcome,
  body.ofn-tripin-theme .portal-page-header { display: block; }
  body.ofn-tripin-theme .dashboard-welcome .button { margin-top: 18px; }
  body.ofn-tripin-theme .profile-completion { margin-top: 16px; }
  body.ofn-tripin-theme .profile-account-grid { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .profile-avatar-box { justify-items: start; grid-template-columns: auto 1fr; align-items: center; }
  body.ofn-tripin-theme .profile-avatar-box .check-row { grid-column: 1 / -1; }
  body.ofn-tripin-theme .creator-page,
  body.ofn-tripin-theme .wizard-page,
  body.ofn-tripin-theme .community-page,
  body.ofn-tripin-theme .contact-page,
  body.ofn-tripin-theme .simple-page,
  body.ofn-tripin-theme .planner-results-page { padding: 105px 0 70px; }
  body.ofn-tripin-theme .creator-page > .container,
  body.ofn-tripin-theme .wizard-page > .container,
  body.ofn-tripin-theme .community-page > .container,
  body.ofn-tripin-theme .contact-page > .container,
  body.ofn-tripin-theme .simple-page > .container,
  body.ofn-tripin-theme .planner-results-page > .container { width: min(calc(100% - 32px),1040px); }
  body.ofn-tripin-theme .creator-progress,
  body.ofn-tripin-theme .wizard-progress { padding-inline: 14px; }
  body.ofn-tripin-theme .creator-form,
  body.ofn-tripin-theme .wizard-panel { padding: 24px 18px; }
  body.ofn-tripin-theme .creator-preview { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .creator-preview img { width: 100%; height: 210px; }
  body.ofn-tripin-theme .contact-grid { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .community-stats,
  body.ofn-tripin-theme .community-guidelines-grid,
  body.ofn-tripin-theme .community-guideline-cards { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .blog-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body.ofn-tripin-theme .form-grid { grid-template-columns: 1fr; }
  body.ofn-tripin-theme .form-field.full { grid-column: auto; }
  body.ofn-tripin-theme .choice-grid,
  body.ofn-tripin-theme .choice-grid.compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.ofn-tripin-theme .dashboard-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  body.ofn-tripin-theme .dashboard-stats > * { padding: 16px; }
  body.ofn-tripin-theme .dashboard-stats strong { font-size: 32px; }
  body.ofn-tripin-theme .portal-card { padding: 20px; }
  body.ofn-tripin-theme .portal-card-head { display: block; }
  body.ofn-tripin-theme .portal-card-head .text-link { margin-top: 10px; }
  body.ofn-tripin-theme .submission-row { grid-template-columns: 50px minmax(0,1fr); }
  body.ofn-tripin-theme .submission-row img { width: 50px; height: 50px; }
  body.ofn-tripin-theme .submission-row .button { grid-column: 1 / -1; width: 100%; }
  body.ofn-tripin-theme .portal-travel-card { grid-template-columns: 112px minmax(0,1fr); min-height: 155px; }
  body.ofn-tripin-theme .portal-travel-card__image { min-height: 155px; }
  body.ofn-tripin-theme .portal-travel-card__body { padding: 16px 43px 16px 15px; }
  body.ofn-tripin-theme .portal-travel-card h3 { font-size: 21px; }
  body.ofn-tripin-theme .portal-travel-card__body > p:not(.portal-card-kicker) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  body.ofn-tripin-theme .creator-actions { align-items: stretch; }
  body.ofn-tripin-theme .creator-final-actions { display: grid; }
  body.ofn-tripin-theme .creator-final-actions > div { display: grid; }
  body.ofn-tripin-theme .creator-actions .button { min-height: 48px; padding-inline: 17px; }
  body.ofn-tripin-theme .ofn-map-dialog { padding: 0; align-items: flex-end; }
  body.ofn-tripin-theme .ofn-map-dialog__panel { width: 100%; max-height: 92svh; border-radius: 20px 20px 0 0; padding: 24px 16px 20px; }
  body.ofn-tripin-theme .ofn-map-dialog__panel h2 { font-size: 31px; }
  body.ofn-tripin-theme .ofn-map-dialog .ofn-map { height: 55svh; }
  body.ofn-tripin-theme .blog-single-page { padding-top: 105px; }
  body.ofn-tripin-theme .blog-single-head,
  body.ofn-tripin-theme .blog-single-image,
  body.ofn-tripin-theme .blog-single-body { width: calc(100% - 32px); }
  body.ofn-tripin-theme .blog-single-head h1 { font-size: 43px; }
  body.ofn-tripin-theme .blog-single-image { margin-bottom: 28px; }
  body.ofn-tripin-theme .ofn-rich-content { font-size: 17px; }
}

/* Planner wizard uses its own split-screen structure. */
body.ofn-tripin-theme .wizard-page { min-height: 100svh; display: grid; place-items: center; padding: 32px; }
body.ofn-tripin-theme .wizard-shell { width: min(100%,1180px); min-height: min(760px,calc(100svh - 64px)); display: grid; grid-template-columns: 380px minmax(0,1fr); padding: 0; margin: 0; }
body.ofn-tripin-theme .wizard-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding: 42px; background: var(--ofn-blue); color: #fff; }
body.ofn-tripin-theme .wizard-aside .wizard-brand { display: inline-block; width: fit-content; padding: 10px 13px; border-radius: 10px; background: #fff; }
body.ofn-tripin-theme .wizard-aside .wizard-brand img { display: block; width: auto; height: 48px; }
body.ofn-tripin-theme .wizard-aside h1 { color: #fff; font-size: 52px; line-height: 1.02; margin: 0 0 18px; }
body.ofn-tripin-theme .wizard-aside p:not(.eyebrow) { color: rgba(255,255,255,.72); }
body.ofn-tripin-theme .wizard-aside .wizard-progress { display: flex; gap: 8px; padding: 0; border: 0; background: transparent; overflow: visible; }
body.ofn-tripin-theme .wizard-aside .wizard-progress .progress-item { min-width: 0; height: 6px; flex: 1; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.22); }
body.ofn-tripin-theme .wizard-aside .wizard-progress .progress-item.is-active,
body.ofn-tripin-theme .wizard-aside .wizard-progress .progress-item.is-complete { background: var(--ofn-yellow); }
body.ofn-tripin-theme .wizard-panel { padding: clamp(30px,5vw,68px); background: #fff; }
body.ofn-tripin-theme .wizard-panel > header { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 22px; margin-bottom: 42px; border-bottom: 1px solid rgba(0,45,94,.08); color: var(--ofn-muted); font-size: 13px; font-weight: 800; }
body.ofn-tripin-theme .wizard-panel > header a { color: var(--ofn-blue); }
body.ofn-tripin-theme .wizard-step > p:not(.step-kicker) { color: var(--ofn-muted); margin: -12px 0 25px; }
body.ofn-tripin-theme .wizard-step .choice-card span { min-height: 64px; }
body.ofn-tripin-theme .wizard-step .choice-card small { display: block; padding: 8px 6px 0; color: var(--ofn-muted); font-size: 11px; font-weight: 600; line-height: 1.35; text-align: center; }
body.ofn-tripin-theme .wizard-step .choice-card input:checked ~ small { color: var(--ofn-blue); }

body.ofn-tripin-theme .portal-hero { margin-bottom: 34px; background: var(--ofn-blue); color: #fff; }
body.ofn-tripin-theme .portal-hero > .container { width: min(calc(100% - 48px),var(--ofn-content)); min-height: 0; margin: 0 auto; padding: 55px 0; background: transparent; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
body.ofn-tripin-theme .portal-hero h1 { color: #fff; font-size: clamp(46px,6vw,76px); line-height: 1; margin-bottom: 14px; }
body.ofn-tripin-theme .portal-hero p { color: rgba(255,255,255,.72); max-width: 720px; }
body.ofn-tripin-theme .portal-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
body.ofn-tripin-theme .portal-hero .button-outline { color: #fff; border-color: rgba(255,255,255,.32); }
body.ofn-tripin-theme .portal-hero .planner-summary-card { min-width: 310px; margin: 0; background: rgba(255,255,255,.1); }

body.ofn-tripin-theme .empty-state { display: grid; justify-items: center; gap: 12px; padding: clamp(30px,5vw,58px); border-radius: var(--ofn-radius-lg); background: #fff; box-shadow: var(--ofn-shadow-soft); text-align: center; }
body.ofn-tripin-theme .empty-state > span { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--ofn-yellow); color: var(--ofn-blue); }
body.ofn-tripin-theme .empty-state > span svg { width: 27px; height: 27px; }
body.ofn-tripin-theme .empty-state h2 { font-size: clamp(30px,4vw,44px); margin: 0; }
body.ofn-tripin-theme .empty-state p { max-width: 640px; color: var(--ofn-muted); }

body.ofn-tripin-theme .autosave { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.72); }
body.ofn-tripin-theme .autosave > span { width: 9px; height: 9px; border-radius: 50%; background: var(--ofn-yellow); box-shadow: 0 0 0 5px rgba(250,185,0,.14); }
body.ofn-tripin-theme .creator-progress .progress-item b,
body.ofn-tripin-theme .creator-progress .progress-item em { display: block; font-style: normal; }
body.ofn-tripin-theme .creator-progress .progress-item b { font-size: 15px; }
body.ofn-tripin-theme .creator-progress .progress-item em { font-size: 11px; }
body.ofn-tripin-theme .creator-progress .progress-item.is-complete { color: var(--ofn-blue); border-color: rgba(250,185,0,.45); }

@media (max-width: 900px) {
  body.ofn-tripin-theme .wizard-page { display: block; padding: 0; }
  body.ofn-tripin-theme .wizard-shell { width: 100%; min-height: 100svh; grid-template-columns: 1fr; border-radius: 0; }
  body.ofn-tripin-theme .wizard-aside { padding: 26px 20px; gap: 24px; }
  body.ofn-tripin-theme .wizard-aside > div:nth-child(2) { display: none; }
  body.ofn-tripin-theme .wizard-aside .wizard-brand img { height: 42px; }
  body.ofn-tripin-theme .wizard-panel { padding: 28px 18px 44px; }
  body.ofn-tripin-theme .wizard-panel > header { margin-bottom: 28px; }
  body.ofn-tripin-theme .portal-hero > .container { width: min(calc(100% - 32px),var(--ofn-content)); padding: 42px 0; display: block; }
  body.ofn-tripin-theme .portal-hero .planner-summary-card { min-width: 0; margin-top: 24px; }
}
