/* WordPress integration only. The accepted v1.5.5 UI remains in style.css/components.css. */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{top:10px;left:10px;z-index:99999;width:auto;height:auto;padding:12px 16px;clip:auto;background:#fff;color:#002d5e}
.admin-bar .site-header{top:32px}.admin-bar .drawer,.admin-bar .map-panel{top:32px}@media(max-width:782px){.admin-bar .site-header{top:46px}.admin-bar .drawer,.admin-bar .map-panel{top:46px}}
.desktop-nav ul,.desktop-nav li{display:contents;margin:0;padding:0;list-style:none}
.current-menu-item>a,.current_page_item>a{color:var(--blue);background:rgba(0,45,94,.06)}
.portal-page{padding-top:34px;padding-bottom:70px}.portal-page>.entry-content,.portal-page>.page-content{max-width:1320px;margin:0 auto;padding:0 28px}
.portal-page .simple-page-hero{margin-bottom:28px}.entry-content>:first-child{margin-top:0}.entry-content>:last-child{margin-bottom:0}
.ofn-message{margin:0 0 20px;padding:14px 16px;border:1px solid #cfd8e1;border-radius:14px;background:#fff;color:var(--blue)}
.ofn-message-success{border-color:#68ca6d;background:#ecfaeb}.ofn-message-error{border-color:#d46b68;background:#fff5f4}
.ofn-rating-stars{display:inline-flex;gap:2px;color:#fab900;line-height:1;vertical-align:middle}.ofn-rating-star{position:relative;display:inline-block;color:#d9e0e6}.ofn-rating-star>span{position:absolute;left:0;top:0;overflow:hidden;color:#fab900;white-space:nowrap}
.rating-row .ofn-rating-stars{font-size:16px}.full-review-card .ofn-rating-stars{font-size:18px}.reviews-score .ofn-rating-stars{font-size:24px}
.recommendation-reason{display:block;margin:6px 0;color:#5a6d80}
.pagination,.nav-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:32px 0}
.pagination ul.page-numbers,.nav-links ul.page-numbers{margin:0;padding:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;list-style:none}
.pagination ul.page-numbers>li,.nav-links ul.page-numbers>li{margin:0;padding:0;list-style:none}
.pagination .page-numbers:not(ul),.nav-links .page-numbers:not(ul){min-width:42px;min-height:42px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfd8e1;border-radius:12px;background:#fff;color:#002d5e;font-weight:800;text-decoration:none;line-height:1}
.pagination .page-numbers.current,.nav-links .page-numbers.current{border-color:#002d5e;background:#002d5e;color:#fff}
.pagination a.page-numbers:hover,.nav-links a.page-numbers:hover{border-color:#fab900;background:#fff9e8}
.portal-empty{padding:34px;border:1px solid #dce3e9;border-radius:18px;background:#fff;text-align:center}.portal-empty h2{margin-top:0}
.portal-grid{display:grid;gap:18px}.entity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.entity-card{position:relative;overflow:hidden;border:1px solid #dce3e9;border-radius:16px;background:#fff}.entity-card-image{display:block;aspect-ratio:16/10;overflow:hidden}.entity-card-image img{width:100%;height:100%;object-fit:cover}.entity-card-body{padding:16px}.entity-card h2,.entity-card h3{margin:8px 0;font-family:var(--font-ui)!important}.entity-card p{margin:0 0 12px}.entity-card .bookmark-button{position:absolute;right:12px;top:12px;background:#fff}
.archive-hero{padding:42px 0 18px}.archive-search-panel{margin-top:20px}.archive-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:20px 0}.archive-filter-row{display:flex;gap:10px;flex-wrap:wrap}.archive-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr);gap:26px;align-items:start}.archive-map{position:sticky;top:120px;min-height:560px;border:1px solid #dce3e9;border-radius:18px;overflow:hidden;background:#e8e5d9}.ofn-map{width:100%;height:100%;min-height:560px}.ofn-map-fallback{height:100%;display:grid;place-items:center;padding:30px;text-align:center}
.entity-hero{position:relative}.entity-hero-gallery{position:relative;min-height:460px;background:#dbe7eb}.entity-hero-gallery img{width:100%;height:460px;object-fit:cover}.entity-summary-card{position:relative;z-index:2;width:min(1180px,calc(100% - 36px));margin:-74px auto 22px;padding:28px;border:1px solid #dce3e9;border-radius:22px;background:#fbf6f2}.entity-summary-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.entity-summary-actions{display:flex;gap:10px}.entity-meta-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#5a6d80}.entity-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:22px;border:1px solid #dce3e9;border-radius:14px;background:#fff}.entity-fact{padding:16px;text-align:center;border-right:1px solid #e4e8ec}.entity-fact:last-child{border-right:0}.entity-fact strong,.entity-fact small{display:block}.entity-content-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(310px,.7fr);gap:24px;align-items:start}.entity-content-card,.planning-card,.reviews-section,.similar-section{padding:26px;border:1px solid #dce3e9;border-radius:18px;background:#fff}.entity-content-card+.entity-content-card{margin-top:18px}.planning-card{position:static}.entity-details-list{display:grid}.entity-details-row{display:grid;grid-template-columns:180px 1fr;gap:18px;padding:14px 0;border-bottom:1px solid #e5e9ed}.entity-details-row:last-child{border-bottom:0}.entity-details-row strong{color:#002d5e}
.comments-area{margin-top:36px}.comment-list{display:grid;gap:14px;padding:0;list-style:none}.comment-body{padding:20px;border:1px solid #dce3e9;border-radius:16px;background:#fff}.comment-meta{display:flex;align-items:center;gap:12px}.comment-meta img{border-radius:50%}.comment-content{margin-top:14px}.comment-reply-link{font-weight:800}.comment-form{display:grid;gap:14px}.comment-form>p{margin:0}.comment-form input:not([type=checkbox]),.comment-form textarea{width:100%;min-height:48px;padding:11px 13px;border:1px solid #ccd6df;border-radius:12px;font:inherit}.comment-form-cookies-consent{display:flex;gap:10px}.comment-form .submit{min-height:48px;padding:0 18px;border:0;border-radius:12px;background:#fab900;color:#002d5e;font-weight:850}
.half-star-input{position:relative;display:inline-flex;flex-direction:row-reverse;justify-content:flex-end}.half-star-input input{position:absolute;opacity:0}.half-star-input label{position:relative;width:20px;height:38px;cursor:pointer}.half-star-input label:before{content:'★';position:absolute;top:0;color:#dce2e7;font-size:34px;line-height:1}.half-star-input label:nth-of-type(odd){width:18px;overflow:hidden}.half-star-input label:nth-of-type(even){width:18px;overflow:visible}.half-star-input label:nth-of-type(odd):before{width:18px;overflow:hidden}.half-star-input input:checked~label:before,.half-star-input label:hover:before,.half-star-input label:hover~label:before{color:#fab900}.review-stars-half{margin:0 0 16px;padding:0;border:0}.review-stars-half legend{margin-bottom:8px;font-weight:800;color:#002d5e}
.dashboard-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.dashboard-stat-grid strong{display:block;font-size:40px;color:#002d5e}.dashboard-stat-grid span{color:#5a6d80}
.my-content-list{display:grid;gap:14px}.status-pill.status-pending{background:#fff3cc;color:#775700}.status-pill.status-publish{background:#e8f8e7;color:#216522}.status-pill.status-draft{background:#eef1f4;color:#536272}
.wp-caption,.gallery-caption{max-width:100%}.wp-caption-text{font-size:.9rem;color:#637387}.alignwide{max-width:1320px;margin-left:auto;margin-right:auto}.alignfull{width:100vw;margin-left:calc(50% - 50vw)}
@media(max-width:1000px){.entity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.archive-layout,.entity-content-layout{grid-template-columns:1fr}.archive-map{position:relative;top:auto;min-height:420px}.entity-facts{grid-template-columns:repeat(2,1fr)}.entity-fact:nth-child(2){border-right:0}.entity-fact:nth-child(-n+2){border-bottom:1px solid #e4e8ec}}
@media(max-width:700px){.portal-page{padding-top:18px;padding-bottom:42px}.portal-page>.entry-content,.portal-page>.page-content{padding:0 18px}.entity-grid{grid-template-columns:1fr}.archive-hero{padding-top:24px}.archive-layout{gap:18px}.archive-map{min-height:70dvh}.ofn-map{min-height:70dvh}.entity-hero-gallery,.entity-hero-gallery img{min-height:280px;height:280px}.entity-summary-card{margin-top:-34px;padding:20px;border-radius:18px}.entity-summary-top{display:block}.entity-summary-actions{margin-top:16px}.entity-facts{grid-template-columns:1fr}.entity-fact{border-right:0;border-bottom:1px solid #e4e8ec}.entity-fact:last-child{border-bottom:0}.entity-content-card,.planning-card,.reviews-section,.similar-section{padding:18px}.entity-details-row{grid-template-columns:1fr;gap:4px}.dashboard-stat-grid{grid-template-columns:1fr}.full-review-card .ofn-rating-stars{font-size:17px}}

.brand picture,.footer-brand picture{display:inline-flex;align-items:center}.brand picture img,.footer-brand picture img{display:block}
.ofn-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}

/* Published posts receive the WordPress class `status-publish`; only status pills may use a status background. */
.article-page article.status-publish,
.article-page .status-publish:not(.status-pill) { background: transparent; }
.article-content h2[id],
.article-content h3[id] { scroll-margin-top: 120px; }
.article-toc a.article-toc-level-3 { padding-left: 12px; font-size: 12px; }
.dashboard-empty-state { grid-column: 1 / -1; }
.favourites-view { display: grid; gap: 20px; }

/* v1.0.2: magazine category UI, provider entry access, maps and clean search focus. */
.desktop-nav .nav-submit-entry {
  color: var(--blue);
}
.desktop-nav .nav-submit-entry::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: 3px;
  display: inline-block;
  border-radius: 50%;
  background: var(--yellow);
  vertical-align: middle;
}

.magazine-category-page .magazine-feature-copy h1 {
  max-width: 14ch;
}

.submission-hub {
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.submission-hub h2 { margin: 0 0 8px; }
.submission-hub > div:first-child > p:last-child { margin: 0; color: var(--muted); }
.submission-type-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
.submission-type-card {
  min-height: 118px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  border: 1px solid #d5dee6;
  border-radius: 14px;
  background: #fff;
  color: var(--blue);
  text-decoration: none;
}
.submission-type-card:hover,
.submission-type-card.is-active {
  border-color: var(--yellow);
  background: #fff9e8;
}
.submission-type-card strong { font-size: 16px; }
.submission-type-card small { color: var(--muted); line-height: 1.4; }
.my-content-toolbar { margin-bottom: 18px; display: flex; justify-content: flex-end; }

.map-panel .layer-header {
  position: relative;
  z-index: 50;
}
.map-panel-body,
.map-layer-body {
  min-height: 0;
  padding: 0 !important;
  overflow: hidden;
}
.map-panel-body .ofn-map,
.map-layer-body .ofn-map,
.archive-map .ofn-map {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.map-panel .gm-style {
  z-index: 1;
}

/* Search uses one 1px container border only; the input and button never draw a second focus ring. */
.search-box,
.search-overlay .search-box {
  box-shadow: none !important;
}
.search-box:focus-within,
.search-overlay .search-box:focus-within {
  border-width: 1px;
  border-color: var(--yellow);
  outline: 0 !important;
  box-shadow: none !important;
}
.search-box input:focus,
.search-box input:focus-visible,
.search-box button:focus,
.search-box button:focus-visible,
.search-overlay .search-box input:focus,
.search-overlay .search-box input:focus-visible,
.search-overlay .search-box button:focus,
.search-overlay .search-box button:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

@media(max-width:1100px){
  .submission-type-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px){
  .submission-hub { margin-bottom: 20px; padding: 18px; }
  .submission-type-grid { grid-template-columns: 1fr; }
  .submission-type-card { min-height: 96px; }
  .my-content-toolbar { justify-content: stretch; }
  .my-content-toolbar .primary-button { width: 100%; }
}


/* Members and public profiles – mobile first. */
.profile-link,.mobile-avatar-button,.profile-drawer-avatar{overflow:hidden}
.profile-link .ofn-user-avatar,.mobile-avatar-button .ofn-user-avatar,.profile-drawer-avatar .ofn-user-avatar{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover}
.profile-drawer-avatar{display:block}

.members-directory{display:grid;gap:28px}
.members-toolbar{padding:16px;display:grid;gap:12px;border:1px solid #d5dee6;border-radius:16px;background:#fff}
.members-search{min-height:48px;padding:0 14px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;border:1px solid #cfd8e1;border-radius:12px;background:#fff}
.members-search:focus-within{border-color:#fab900}
.members-search .icon{font-size:20px;color:#002d5e}
.members-search input{min-width:0;width:100%;height:46px;padding:0;border:0;outline:0;box-shadow:none;background:transparent;font:inherit;color:#12283d}
.members-sort{display:grid;gap:5px;color:#607184;font-size:12px;font-weight:700}
.members-sort select{min-height:48px;padding:0 38px 0 13px;border:1px solid #cfd8e1;border-radius:12px;background:#fff;color:#002d5e;font:inherit;font-weight:700;box-shadow:none}
.members-result-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.members-result-head h2{margin:0}
.member-grid{display:grid;grid-template-columns:1fr;gap:18px}
.member-card{overflow:hidden;position:relative;border:1px solid #d5dee6;border-radius:18px;background:#fff}
.member-card-cover{height:130px;display:block;overflow:hidden;background:#dceef3}
.member-card-cover img,.member-cover-fallback{width:100%;height:100%;display:block;object-fit:cover}
.member-cover-fallback{background:linear-gradient(135deg,#d9eef2 0%,#f4e5d9 52%,#fab900 160%)}
.member-card-body{position:relative;padding:58px 18px 18px}
.member-card-avatar-link{position:absolute;left:18px;top:-54px;width:96px;height:96px;border:5px solid #fff;border-radius:50%;overflow:hidden;background:#fff}
.member-card-avatar{width:100%;height:100%;object-fit:cover}
.member-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.member-card-heading h2{margin:7px 0 0;font-family:var(--font-ui)!important;font-size:21px;line-height:1.15}
.member-card-heading h2 a{color:#002d5e;text-decoration:none}
.member-card-body>p{min-height:44px;margin:14px 0;color:#607184}
.member-follow-button,.follow-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
.member-follow-button{min-height:40px;padding:0 13px;border:1px solid #cfd8e1;border-radius:12px;background:#fff;color:#002d5e;font-weight:800;cursor:pointer}
.member-follow-button.is-active,.follow-button.is-active{border-color:#002d5e;background:#002d5e;color:#fff}
.member-card-stats{padding:12px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid #e6ebef;border-bottom:1px solid #e6ebef;color:#607184;font-size:11px;text-align:center}
.member-card-stats strong{display:block;color:#002d5e;font-size:18px}
.member-profile-link{margin-top:14px;display:inline-flex;align-items:center;gap:7px;color:#002d5e;font-weight:800;text-decoration:none}
.member-profile-link .icon{font-size:12px}
.members-empty{text-align:center}

.public-profile-page{padding-bottom:60px;background:var(--bg)}
.public-profile-hero{position:relative;padding-bottom:0}
.public-profile-cover{height:250px;overflow:hidden;background:#dceef3}
.public-profile-cover img{width:100%;height:100%;object-fit:cover}
.public-profile-summary{position:relative;margin-top:-42px;padding:0 18px 22px;display:grid;gap:16px}
.public-profile-avatar{width:112px;height:112px;border:6px solid var(--bg);border-radius:50%;overflow:hidden;background:#fff}
.public-profile-avatar img{width:100%;height:100%;object-fit:cover}
.public-profile-main h1{margin:0;font-size:clamp(32px,9vw,48px)}
.public-profile-meta{margin-top:8px;display:flex;flex-wrap:wrap;gap:8px 16px;color:#607184;font-size:13px}
.public-profile-meta span{display:inline-flex;align-items:center;gap:6px}
.public-profile-meta .icon{font-size:15px;color:#002d5e}
.public-profile-bio{max-width:760px;margin:13px 0 0;color:#43556a;font-size:16px;line-height:1.55}
.public-profile-actions{display:flex;flex-wrap:wrap;gap:10px}
.public-profile-stats{padding:0 18px 22px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.public-profile-stats a{min-width:0;padding:12px 6px;display:grid;gap:2px;border:1px solid #d5dee6;border-radius:12px;background:#fff;color:#607184;text-align:center;text-decoration:none}
.public-profile-stats a.is-active{border-color:#fab900;background:#fff9e8}
.public-profile-stats strong{color:#002d5e;font-size:20px}
.public-profile-stats span{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.public-profile-content{display:grid;gap:34px}
.profile-about-card{margin:0}
.public-profile-preferences{display:grid;gap:18px}
.public-profile-preferences>div{display:grid;gap:8px}
.profile-term-list{display:flex;flex-wrap:wrap;gap:8px}
.profile-term-list span{padding:7px 11px;border:1px solid #d5dee6;border-radius:999px;background:#fff;color:#002d5e;font-size:12px;font-weight:750}
.public-profile-section{display:grid;gap:18px}
.public-profile-entry-grid{display:grid;grid-template-columns:1fr;gap:18px}
.public-review-list{display:grid;gap:14px}
.public-review-card{padding:18px;border:1px solid #d5dee6;border-radius:16px;background:#fff}
.public-review-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.public-review-card h3{margin:7px 0 0;font-family:var(--font-ui)!important;font-size:19px}
.public-review-card h3 a{color:#002d5e;text-decoration:none}
.public-review-card p{margin:14px 0;color:#43556a}
.public-review-card footer{padding-top:12px;display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e6ebef;color:#607184;font-size:12px}

.profile-media-card{overflow:hidden;padding:0!important}
.profile-cover-editor{display:grid}
.profile-cover-preview{height:210px;overflow:hidden;background:#dceef3}
.profile-cover-preview img,.profile-cover-fallback{width:100%;height:100%;display:block;object-fit:cover}
.profile-cover-fallback{background:linear-gradient(135deg,#d9eef2 0%,#f4e5d9 55%,#fab900 170%)}
.profile-cover-actions{padding:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.profile-cover-actions h2{margin:0}
.profile-cover-actions p{margin:5px 0 0;color:#607184}
.profile-avatar-editor{padding:18px;display:grid;grid-template-columns:88px minmax(0,1fr);gap:16px;align-items:center;border-top:1px solid #e6ebef}
.profile-avatar-preview{width:88px;height:88px;border-radius:50%;overflow:hidden;background:#fff}
.profile-avatar-preview img{width:100%;height:100%;object-fit:cover}
.profile-avatar-editor p{margin:5px 0 12px;color:#607184}
.media-upload-button{position:relative;overflow:hidden;cursor:pointer}
.media-upload-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.profile-media-removal{padding:0 18px 18px;display:grid;gap:10px}
.profile-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.profile-public-toggle{margin-top:18px}

@media (min-width:700px){
  .members-toolbar{grid-template-columns:minmax(280px,1fr) 220px auto;align-items:end}
  .member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .public-profile-cover{height:360px}
  .public-profile-summary{margin-top:-68px;padding-bottom:28px;grid-template-columns:150px minmax(0,1fr) auto;align-items:end}
  .public-profile-avatar{width:150px;height:150px}
  .public-profile-actions{justify-content:flex-end}
  .public-profile-stats{max-width:820px;margin:0 auto;padding-bottom:28px}
  .public-profile-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .public-review-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1100px){
  .member-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .public-profile-cover{height:430px}
  .public-profile-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:699px){
  .members-result-head,.profile-cover-actions,.profile-section-head{align-items:stretch;flex-direction:column}
  .members-toolbar>.primary-button{width:100%}
  .member-card-heading{align-items:stretch;flex-direction:column}
  .member-follow-button{width:100%}
  .public-profile-actions>*{flex:1 1 150px}
  .public-profile-stats{gap:6px}
  .public-profile-stats a{padding:10px 3px}
  .profile-cover-actions .media-upload-button{width:100%}
}
.article-author-avatar-link{display:inline-flex;border-radius:50%;text-decoration:none}
.article-author-name{color:inherit;text-decoration:none}
.article-author-name:hover{text-decoration:underline;text-underline-offset:3px}
