/* ================================================================
   MBRE COMMUNITY PAGE — FRONT-END CSS
   ----------------------------------------------------------------
   Hero is 100% width and lives OUTSIDE #content / #mbre-community,
   so design tokens are declared on body.mbre-community-page (an
   ancestor of both the hero and #mbre-community) and the hero rules
   are scoped to that body class. Everything inside the content area
   stays scoped under #mbre-community. This stylesheet only loads on
   community pages, so the body-class scope is collision-proof.
   Avada owns site width and bare h1–h6 / p / a.
   ================================================================ */

/* Avada chrome tweaks on community pages (your edits, kept). */
.fusion-page-title-bar.fusion-tb-page-title-bar { display: none; }
#main .fusion-row { max-width: 100% !important; }

/* Design tokens — on the body class so the hero (outside #mbre-community)
   inherits them too. */
body.mbre-community-page {
	--c-navy:   #000000;
	--c-blue:   #00A3E0;
	--c-white:  #FFFFFF;
	--c-off:    #F7F7F7;
	--c-border: #E2E2E2;
	--c-text:   #1C1C1C;
	--c-muted:  #5A5A5A;
	--f-display: 'Playfair Display', Georgia, serif;
	--f-ui:      'DM Sans', system-ui, sans-serif;
	--sp-section: 56px;
	--sp-block:   32px;
	--radius: 0;
	--shadow: 0 2px 12px rgba(0,0,0,0.07);
}
#mbre-community { width: 100%; }

/* Content measure for the AIO card + body sections. */
#mbre-community .mbre-aio-wrap,
#mbre-community .mbre-community-wrap {
	margin: 0 auto;
	padding: 0 20px;
}

/* ================================================================
   HERO — 100% width, featured image set as a CSS background via an
   inline style on .mbre-hero (added by the template). The darkening
   comes from .mbre-hero-overlay (no <img>, no .mbre-hero-bg div).
   ================================================================ */
.mbre-community-page .mbre-hero {
	position: relative;
	width: 100%;
	min-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 20px 44px;
	overflow: hidden;
	background-color: var(--c-navy);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.mbre-community-page .mbre-hero-overlay {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.58) 100%);
}
.mbre-community-page .mbre-hero-content {
	position: relative;
	max-width: 980px;
	text-align: center;
	z-index: 2;
}

/* Eyebrow — shared shortcode output (.mbre-hero-eyebrow) + legacy class. */
.mbre-community-page .mbre-eyebrow,
.mbre-community-page .mbre-hero-eyebrow {
	display: inline-block;
	font-family: var(--f-ui);
	font-size: 16px; font-weight: 700;
	letter-spacing: 2.5px; text-transform: uppercase;
	color: var(--c-blue);
	padding: 6px 14px; margin-bottom: 14px;
}
.mbre-community-page .mbre-hero-h1 {
	color: var(--c-white) !important;
	text-shadow: 0 2px 14px rgba(0,0,0,0.5);
	margin-top: 2px !important;
	margin-bottom: 20px !important;
}

/* Stat bar */
.mbre-community-page .mbre-stat-bar {
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.mbre-community-page .mbre-stat-pill {
	background: rgba(255,255,255,0.13);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,0.28);
	padding: 10px 16px; text-align: center; min-width: 88px;
}
.mbre-community-page .mbre-stat-value {
	display: block; font-family: var(--f-display);
	font-size: 22px; font-weight: 700; color: var(--c-white); line-height: 1.1;
}
.mbre-community-page .mbre-stat-label {
	display: block; font-family: var(--f-ui);
	font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
	color: rgba(255,255,255,0.78); margin-top: 3px;
}

/* ================================================================
   AIO CARD + ATTRIBUTION  (output by the shared [mbre_aio_card])
   ================================================================ */
#mbre-community .mbre-aio-card {
	background: var(--c-white); border-top: 4px solid var(--c-blue);
	padding: 28px 20px; margin: var(--sp-block) 0; box-shadow: var(--shadow);
}
#mbre-community .mbre-aio-card > p { margin: 0; }
#mbre-community .mbre-aio-card a { color: var(--c-blue); }
#mbre-community .mbre-aio-card a:hover { text-decoration: underline; }

/* Meta row (breadcrumbs left, byline right) emitted by the shortcode */
#mbre-community .mbre-meta {
	display: flex; flex-wrap: wrap; justify-content: space-between;
	gap: 6px 18px; margin-bottom: 16px;
	font-family: var(--f-ui); font-size: 17px; font-weight: 400; color: var(--c-muted);
	line-height: 1.5;
}
#mbre-community .mbre-breadcrumbs a,
#mbre-community .mbre-byline a { color: var(--c-blue); }
#mbre-community .mbre-byline { color: var(--c-muted); }

#mbre-community .mbre-rule {
	border: none; border-top: 1px solid var(--c-border); margin: 20px 0;
}
#mbre-community .mbre-attr { display: flex; align-items: flex-start; gap: 14px; }
#mbre-community .mbre-attr img {
	width: 90px; height: 90px; object-fit: cover; flex-shrink: 0;
}
#mbre-community .mbre-attr-name,
#mbre-community .mbre-attr-stats,
#mbre-community .mbre-attr-creds,
#mbre-community .mbre-attr-specialty {
	font-size: 18px;
	margin-bottom: 3px; line-height: 1.5;
}
#mbre-community .mbre-attr-name {
	font-size: 18px !important; font-weight: 700 !important; color: var(--c-navy) !important;
}
#mbre-community .mbre-attr-specialty { font-style: italic; }

/* ================================================================
   DESKTOP — min-width: 680px
   ================================================================ */
@media (min-width: 680px) {
	.mbre-community-page .mbre-hero { padding: 64px 40px 56px; min-height: 600px; }
	.mbre-community-page .mbre-stat-value { font-size: 24px; }
	#mbre-community .mbre-aio-card { padding: 30px 36px; }
}

@media (max-width: 768px) {
	#mbre-community .mbre-attr-name,
	#mbre-community .mbre-attr-stats,
	#mbre-community .mbre-attr-creds,
	#mbre-community .mbre-attr-specialty { font-size: 13px; margin-bottom: 4px; }
}


/* ================================================================
   SECTIONS, TOC, TABLES, FAQ  (scoped, ported verbatim)
   ================================================================ */
#mbre-community .mbre-section { padding: var(--sp-section) 0;padding-bottom: 36px; }
#mbre-community .mbre-section + .mbre-section { border-top: 1px solid var(--c-border); }
#mbre-community .mbre-section a { color: var(--c-blue); }
#mbre-community .mbre-section a:hover { text-decoration: underline; }
#mbre-community .mbre-source-note { font-size: 13px; color: var(--c-muted); margin-top: 8px; }

/* Table of Contents */
#mbre-community .mbre-toc {
	background: var(--c-off); border-left: 4px solid var(--c-blue);
	padding: 22px 24px; margin: var(--sp-block) 0;
}
#mbre-community .mbre-toc-label {
	font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
	color: var(--c-navy); margin-bottom: 12px;
}
#mbre-community .mbre-toc-list { list-style: none; padding: 0; columns: 1; column-gap: 28px; margin: 0; }
#mbre-community .mbre-toc-list li { margin-bottom: 8px; break-inside: avoid; }
#mbre-community .mbre-toc-list a { color: var(--c-blue); }

/* Data table */
#mbre-community .mbre-table-scroll {
	overflow-x: auto; -webkit-overflow-scrolling: touch; margin: var(--sp-block) 0;
}
#mbre-community .mbre-data-table { width: 100%; border-collapse: collapse; min-width: 440px; }
#mbre-community .mbre-data-table th {
	background: var(--c-navy); color: var(--c-white);
	font-family: var(--f-ui); font-size: 18px; font-weight: 700;
	letter-spacing: 0.8px; text-transform: uppercase; padding: 12px 14px; text-align: left;
}
#mbre-community .mbre-data-table td {
	padding: 11px 14px; border-bottom: 1px solid var(--c-border); vertical-align: top; font-size: 16px;
}
#mbre-community .mbre-data-table tr:nth-child(even) td { background: var(--c-off); }

/* FAQ — native details/summary, no JS */
#mbre-community .mbre-faq-list { margin: var(--sp-block) 0; }
#mbre-community .mbre-faq-item { border-bottom: 1px solid var(--c-border); padding: 2px 0; }
#mbre-community .mbre-faq-q {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between;
	align-items: center; padding: 16px 0; font-weight: 700; color: var(--c-navy); min-height: 48px;
}
#mbre-community .mbre-faq-q::-webkit-details-marker { display: none; }
#mbre-community .mbre-faq-q::after {
	content: '+'; font-size: 24px; font-weight: 700; color: var(--c-blue);
	flex-shrink: 0; margin-left: 14px;
}
#mbre-community details[open] .mbre-faq-q::after { content: '\2212'; }
#mbre-community .mbre-faq-a { padding: 0 0 18px 0; }

/* Custom slot wrapper (no visual styling; raw author HTML) */
#mbre-community .mbre-custom-slot { margin: var(--sp-block) 0; }

@media (min-width: 680px) {
	#mbre-community .mbre-toc-list { columns: 2; }
}


/* ================================================================
   Hide Avada's global breadcrumb on community pages only.
   (Loaded conditionally, so other pages keep their breadcrumb.)
   Breadcrumbs are provided by the AIO card.
   ================================================================ */
.mbr-breadcrum-sec { display: none; }


/* ================================================================
   FULL-WIDTH, NO-SIDEBAR LAYOUT (community pages only)
   Backstop CSS. The authoritative control is Avada Page Options →
   Sidebars: None (set both sidebars to "None"). This reinforces it.
   ================================================================ */
body.mbre-community-page #sidebar,
body.mbre-community-page #sidebar-2,
body.mbre-community-page .fusion-sidebar { display: none !important; }
body.mbre-community-page #content {
	max-width: 1600px;
	width: 100% !important;
	float: none;
	margin: 0 auto !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	z-index: 99;
}
body.mbre-community-page #main {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* ================================================================
   BATCH 1 SECTIONS — boxes (standout grid) + CTA (mid / closing)
   Ported from the production reference, scoped to #mbre-community.
   ================================================================ */

/* Intro paragraph block inside table/boxes sections */
#mbre-community .mbre-body { margin: 0 0 var(--sp-block); }

/* Highlight boxes (boxes type) */
#mbre-community .mbre-standout-grid { display: flex; flex-wrap: wrap; gap: 20px; margin: var(--sp-block) 0; }
#mbre-community .mbre-standout-item { flex: 1 1 420px; border-left: 3px solid var(--c-blue); padding: 4px 0 4px 14px; }
#mbre-community .mbre-standout-item strong { display: block; font-weight: 700; color: var(--c-navy); margin-bottom: 4px; }

/* Buttons (uppercase, no radius — brand) */
#mbre-community .mbre-btn-blue {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--c-blue); color: var(--c-white) !important;
	font-family: var(--f-ui); font-size: 18px; font-weight: 700;
	letter-spacing: 0.8px; text-transform: uppercase;
	padding: 14px 28px; text-decoration: none !important; min-height: 48px;
	transition: background 0.2s;
}
#mbre-community .mbre-btn-blue:hover { background: #0090C8; text-decoration: none !important; }
#mbre-community .mbre-btn-outline {
	display: inline-flex; align-items: center; justify-content: center;
	background: transparent; color: var(--c-white) !important;
	font-family: var(--f-ui); font-size: 15px; font-weight: 700;
	letter-spacing: 0.8px; text-transform: uppercase;
	padding: 13px 28px; border: 1px solid rgba(255,255,255,0.5);
	text-decoration: none !important; min-height: 48px; transition: border-color 0.2s;
}
#mbre-community .mbre-btn-outline:hover { border-color: var(--c-white); text-decoration: none !important; }

/* Mid-page CTA */
#mbre-community .mbre-cta-mid {
	background: var(--c-navy); padding: 32px 24px; margin: var(--sp-block) 0;
	display: flex; flex-direction: column; gap: 20px;
}
#mbre-community .mbre-cta-h3 { color: var(--c-white); font-size: 22px; margin-bottom: 10px; }
#mbre-community .mbre-cta-mid-text p { color: rgba(255,255,255,0.82); margin-bottom: 0; }
#mbre-community .mbre-cta-mid-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
#mbre-community .mbre-cta-mid-img { overflow: hidden; }
#mbre-community .mbre-cta-mid-img img { width: 100%; height: 220px; object-fit: cover; object-position: top; }

/* Credentials strip + closing CTA */
#mbre-community .mbre-creds-strip { background: var(--c-blue); padding: 11px 24px; text-align: center; }
#mbre-community .mbre-creds-strip p {
	font-family: var(--f-ui); font-size: 14px; font-weight: 700;
	color: var(--c-white); letter-spacing: 0.4px; margin: 0; line-height: 1.5;
}
#mbre-community .mbre-closing-cta-outer { margin: var(--sp-section) 0; }
#mbre-community .mbre-closing-cta-outer .mbre-closing-cta { margin: 0; }
#mbre-community .mbre-closing-cta { background: var(--c-navy); overflow: hidden; margin: var(--sp-section) 0; }
#mbre-community .mbre-closing-cta-inner { display: flex; flex-direction: column; }
#mbre-community .mbre-closing-cta-text { padding: 36px 28px; }
#mbre-community .mbre-closing-h2 { color: var(--c-white) !important; margin-bottom: 14px; }
#mbre-community .mbre-closing-cta-text p { color: rgba(255,255,255,0.82); margin-bottom: 24px; }
#mbre-community .mbre-closing-cta-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
#mbre-community .mbre-closing-cta-img {
	min-height: 280px; background-size: cover; background-position: center top; background-repeat: no-repeat;
}

@media (min-width: 680px) {
	#mbre-community .mbre-cta-mid { flex-direction: row; align-items: stretch; padding: 0; overflow: hidden; }
	#mbre-community .mbre-cta-mid-text { flex: 1 1 0; padding: 36px 32px; }
	#mbre-community .mbre-cta-mid-btns { flex-direction: row; flex-wrap: wrap; }
	#mbre-community .mbre-cta-mid-img { flex: 0 0 380px; }
	#mbre-community .mbre-cta-mid-img img { width: 380px; height: 100%; }
	#mbre-community .mbre-closing-cta-inner { flex-direction: row; }
	#mbre-community .mbre-closing-cta-text { flex: 1 1 0; }
	#mbre-community .mbre-closing-cta-img { flex: 0 0 300px; min-height: unset; }
	#mbre-community .mbre-closing-cta-btns { flex-direction: row; }
}
@media (max-width: 660px) {
	#mbre-community .mbre-aio-wrap, #mbre-community .mbre-community-wrap{ padding:0 !important; }
	#mbre-community .mbre-airport-card { flex: 0 1 calc(50% - 8px) !important; }
	#mbre-community .mbre-btn-blue,
	#mbre-community .mbre-btn-outline { display: flex; width: 100%; }
}


/* ================================================================
   BATCH 2 SECTIONS — amenities, highlights, nearby, airports, checklist
   Ported from the production reference, scoped to #mbre-community.
   ================================================================ */

/* Amenities */
#mbre-community .mbre-amenities-grid { display: flex; flex-wrap: wrap; gap: 28px; margin: var(--sp-block) 0; }
#mbre-community .mbre-amenities-col { flex: 1 1 220px; }
#mbre-community .mbre-amenities-col-header {
	font-family: var(--f-ui); font-size: 18px; font-weight: 700;
	letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--c-blue); border-bottom: 2px solid var(--c-blue);
	padding-bottom: 8px; margin-bottom: 14px;
}
#mbre-community .mbre-amenities-list { list-style: none; padding: 0; margin: 0; }
#mbre-community .mbre-amenities-list li {
	padding: 8px 0 8px 22px; border-bottom: 1px solid var(--c-border);
	font-family: var(--f-ui); font-size: 18px; line-height: 1.4;
	position: relative; color: var(--c-text);
}
#mbre-community .mbre-amenities-list li::before {
	content: '\2713'; position: absolute; left: 0; top: 9px;
	color: var(--c-blue); font-weight: 700; font-size: 14px;
}

/* Key Highlights (Structure 5) — bg image set inline on .mbre-highlights-wrap */
#mbre-community .mbre-highlights-wrap {
	background-color: #000000db;
	background-size: cover; background-position: center;
	background-blend-mode: multiply;
	padding: 52px 20px 44px;
}
#mbre-community .mbre-highlights-h2 { color: var(--c-white) !important; text-align: center; margin-bottom: 20px; }
#mbre-community .mbre-highlights-body { margin-bottom: 28px; }
#mbre-community .mbre-highlights-body p { color: rgba(255,255,255,0.88) !important; line-height: 1.75; }
#mbre-community .mbre-highlights-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
#mbre-community .mbre-highlight-box {
	flex: 1 1 130px; background: rgba(0,0,0,0.48); padding: 16px 12px; text-align: center;
	border: 1px solid rgba(255,255,255,0.12);
}
#mbre-community .mbre-highlight-num { display: block; font-family: var(--f-display); font-size: 34px; color: var(--c-blue); line-height: 1.1; font-weight: 700; }
#mbre-community .mbre-highlight-lbl { display: block; font-family: var(--f-ui); color: rgba(255,255,255,0.82); margin-top: 5px; }

/* Market snapshot (inside highlights) */
#mbre-community .mbre-market-snapshot { margin-top: 32px; padding-top: 24px; }
#mbre-community .mbre-market-snapshot-label {
	font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--c-blue); text-align: center; margin-bottom: 16px;
}
#mbre-community .mbre-market-snapshot-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 18px; }
#mbre-community .mbre-snapshot-item { flex: 1 1 110px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.12); padding: 14px 10px; text-align: center; }
#mbre-community .mbre-snapshot-num { display: block; font-family: var(--f-display); font-size: 34px; color: var(--c-white); line-height: 1.1; font-weight: 700; }
#mbre-community .mbre-snapshot-lbl { display: block; font-family: var(--f-ui); font-size: 20px; color: rgba(255,255,255,0.75); margin-top: 4px; letter-spacing: 0.4px; }
#mbre-community .mbre-market-snapshot-note { font-size: 18px; color: rgba(255,255,255,0.82); line-height: 1.65; text-align: center; margin: 0 auto !important; }

/* Nearby places */
#mbre-community .mbre-nearby-grid { display: flex; flex-direction: column; gap: 45px; margin: var(--sp-block) 0; }
#mbre-community .mbre-nearby-grid ul { list-style: none; padding: 0; margin: 0; }
#mbre-community .mbre-nearby-grid li {
	display: flex; justify-content: space-between; align-items: center;
	padding: 9px 0 9px 30px; border-bottom: 1px solid var(--c-border); position: relative;
}
#mbre-community .mbre-nearby-grid li::before { content: '\2192'; position: absolute; left: 0; color: var(--c-blue);}
#mbre-community .mbre-nearby-grid li span { font-weight: 500; color: var(--c-navy); white-space: nowrap; margin-left: 10px; }

/* Airport cards */
#mbre-community .mbre-airport-row { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--sp-block) 0; }
#mbre-community .mbre-airport-card {
	flex: 1 1 110px; background: var(--c-off); border: 1px solid var(--c-border);
	border-top: 3px solid var(--c-blue); padding: 14px 10px; text-align: center;
}
#mbre-community .mbre-airport-name { display: block; font-family: var(--f-ui); font-size: 17px; font-weight: 700; color: var(--c-navy); line-height: 1.3; margin-bottom: 6px; }
#mbre-community .mbre-airport-time { display: block; font-family: var(--f-display); font-size: 28px; color: var(--c-blue); line-height: 1.1; }
#mbre-community .mbre-airport-mode { display: block; font-family: var(--f-ui); font-size: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--c-muted); margin-top: 3px; }

/* Explore checklist */
#mbre-community .mbre-checklist { list-style: none; padding: 0; margin: var(--sp-block) 0; }
#mbre-community .mbre-checklist li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--c-border); line-height: 1.5; position: relative; }
#mbre-community .mbre-checklist li a { font-weight: 400; }
#mbre-community .mbre-checklist li::before { content: '\2192'; position: absolute; left: 0; top: 12px; color: var(--c-blue); font-size: 15px; }

@media (min-width: 680px) {
	#mbre-community .mbre-nearby-grid { flex-direction: row; align-items: flex-start; }
	#mbre-community .mbre-nearby-grid ul { flex: 1; }
}