/*
 Theme Name:   BainbridgeIsland.com
 Theme URI:    http://bainbridgeisland.com/
 Description:  BainbridgeIsland.com Theme
 Author:       Web X.0 Media
 Author URI:   https://webxmedia.com
 Template:     my-listing
 Version:      1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  my-listing-child
*/

/* =============================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Design system tokens — Phase 1. See docs/DOC_DESIGN-SYSTEM.md */
  --font-sans: GlacialIndifference, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-table: Inter, Arial, sans-serif;
  --font-display-num: GlacialIndifference, sans-serif;

  --color-pink: #FF447C;
  --color-pink-hover: #FF2E6A;
  --color-pink-pressed: #E63366;
  --color-ink: #242429;
  --color-heading: #1B1B1F;
  --color-white: #FFFFFF;
  --color-canvas: #F4F4F4;
  --color-canvas-subtle: #F5F5F5;
  --color-line: #E5E5E5;
  --color-line-strong: #D3D3D3;
  --color-muted: #6B7280;
  --color-on-pink: #FFFFFF;
  --color-overlay: rgba(25, 25, 38, 0.55);
  --color-overlay-photo: rgba(0, 0, 0, 0.35);
  --color-warning-bg: #FCF8E3;
  --color-warning-edge: #F9F0C3;
  --color-am: #189A47;
  --color-sath: #056DD1;
  --color-explore-accent: #0080D7;
  /* Live-status semantics (ferry; shared with the Explore Bainbridge app palette). v1.10.0 */
  --color-status-ok: #065F46;
  --color-status-ok-bg: #D1FAE5;
  --color-status-warn: #92400E;
  --color-status-warn-bg: #FEF3C7;
  --color-status-bad: #991B1B;
  --color-status-bad-bg: #FEE2E2;
  --color-status-info: #1E40AF;
  --color-status-info-bg: #DBEAFE;
  --color-status-muted-bg: #ECECEF;

  --text-display: 3.5rem;
  --text-display-sm: 2.5rem;
  --text-h1: 2.25rem;
  --text-h1-sm: 1.75rem;
  --text-h2: 1.875rem;
  --text-h3: 1.375rem;
  --text-h4: 1.125rem;
  --text-h5: 1rem;
  --text-h6: 0.875rem;
  --text-lead: 1.25rem;
  --text-body: 1.125rem;
  --text-body-story: 1.125rem;
  --text-body-tight: 1.125rem;
  --text-ui: 1rem;
  --text-small: 0.875rem;
  --text-caption: 1rem;
  --text-micro: 0.75rem;
  --leading-h1: 1.2;
  --leading-h2: 1.25;
  --leading-body: 1.6;
  --leading-body-story: 1.7;
  --leading-lead: 1.45;
  --space-p: 1.25em;
  --space-p-tight: 0.75em;
  --space-stack: 20px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --section-y: 64px;
  --section-y-sm: 40px;
  --card-pad: 24px;
  --card-pad-story: 40px;
  --measure-page: 1140px;
  --measure-prose: 42rem;
  --measure-wide: 52rem;
  --gutter: 24px;
  --gutter-sm: 16px;
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1200px;
  --bp-xxl: 1440px;
  --radius-button: 3px;
  --radius-card: 8px;
  --radius-card-story: 16px;
  --radius-chip: 5px;
  --radius-pill: 999px;
  --radius-tile: 30px;
  --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 16px 28px -8px rgba(0, 0, 0, 0.14), 0 6px 10px -4px rgba(0, 0, 0, 0.08);
  /* 80px header + ~56px banner overflow + 24px air. Admin bar overrides below. */
  --header-offset: 160px;

  /* Aliases — existing child-theme names */
  --primary-color: var(--color-pink);
  --primary-hover: var(--color-pink-hover);
  --white: var(--color-white);
  --black: #000000;
  --text-gray: #7A7A7A;
  --text-gray-dark: #6B6A76;
  --e-global-color-text: var(--color-ink);
  /* MyListing assets/dist/frontend.css still sets body and .case27-*-text
     from these, with font-weight !important. An empty var() invalidates the
     whole declaration, so body drops to generic sans-serif and headings stay
     at weight 400 (Regular) instead of 600 (Bold.otf). Elementor used to
     define them on every page. elementor-fallback.css only loads on leftover
     Elementor markup, so listings and coded pages never saw them. */
  --e-global-typography-primary-font-family: GlacialIndifference;
  --e-global-typography-primary-font-weight: 600;
  --e-global-typography-secondary-font-family: GlacialIndifference;
  --e-global-typography-secondary-font-weight: 400;
  --e-global-typography-text-font-family: GlacialIndifference;
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: GlacialIndifference;
  --e-global-typography-accent-font-weight: 500;
  --light-gray: #CCCCCC;
  --light-bg: var(--color-canvas-subtle);
  --border-gray: var(--color-line-strong);
  --table-border: #e0e0e0;
  --profile-cover: #B01F5A;
  --similar-listings: #FB2569;
  --blog-title: var(--color-pink);
  --heading-text: var(--color-heading);
  --table-bg: #f5f5f4;
  --table-header-bg: #ececec;
  --table-stripe-bg: #f9f9f8;
  --table-text: #222;
  --table-text-light: #444;
  --table-text-muted: #888;
  --placeholder-color: var(--color-muted);
}

/*
 * Glacial Indifference draws "~" at cap height, so "~11" reads as a superscript.
 * Drop it onto the midline of the text beside it. assets/js/bi-tilde.js wraps
 * the character only when this font is the one actually used.
 */
.bi-tilde {
	position: relative;
	top: 0.32em;
}

/* Global placeholder text – lighter than body text (#242429) */
::placeholder {
  color: var(--placeholder-color);
  opacity: 1;
}
::-webkit-input-placeholder {
  color: var(--placeholder-color);
}
::-moz-placeholder {
  color: var(--placeholder-color);
  opacity: 1;
}
:-ms-input-placeholder {
  color: var(--placeholder-color);
}

/* =============================================================================
   GALLERY STYLES
   ========================================================================== */

figure.gallery-item {
    width: 30%;
    float: left;
    margin-right: 20px;
}
figure.gallery-item img {
    width: 100%;
}

.bi-prose .gallery,
.bi-prose .wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-4);
	float: none;
	width: 100%;
	margin: var(--space-6) 0;
}

.bi-prose .gallery.gallery-columns-1,
.bi-prose .wp-block-gallery-1 {
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.bi-prose .gallery.gallery-columns-3,
	.bi-prose .gallery.gallery-columns-4,
	.bi-prose .gallery.gallery-columns-5,
	.bi-prose .gallery.gallery-columns-6,
	.bi-prose .gallery.gallery-columns-7,
	.bi-prose .gallery.gallery-columns-8,
	.bi-prose .gallery.gallery-columns-9,
	.bi-prose .wp-block-gallery-3,
	.bi-prose .wp-block-gallery-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.bi-prose .gallery .gallery-item,
.bi-prose figure.gallery-item {
	width: auto;
	max-width: none;
	float: none;
	margin: 0;
}

.bi-prose .gallery img,
.bi-prose figure.gallery-item img,
.bi-prose .wp-block-gallery img {
	display: block;
	width: 100%;
	height: auto;
}
.bi-prose .gallery a,
.bi-prose .wp-block-gallery a {
	border-bottom: none;
	cursor: zoom-in;
}

.bi-prose .gallery-caption,
.bi-prose figcaption,
.bi-prose .wp-element-caption {
	margin-top: var(--space-2);
	font-size: var(--text-caption);
	font-style: italic;
	line-height: 1.5;
	color: var(--color-muted);
}

/* =============================================================================
   FORM STYLES
   ========================================================================== */

.register-form-wrapper, .login-form-wrapper {
    width: 33%;
    margin: auto;
}
@media (max-width: 960px) {
    .register-form-wrapper, .login-form-wrapper {
        width: 50%;
        margin: auto;
    }
}
@media (max-width: 600px) {
    .register-form-wrapper, .login-form-wrapper {
        width: 90%;
        margin: auto;
    }
}
.woocommerce form.register, .woocommerce form.login {
    background: white;
}

/* =============================================================================
   HEADER & POST INFO
   ========================================================================== */

.items-counter {
    line-height: 1.4;
}

/* =============================================================================
   GRAVITY FORMS
   ========================================================================== */

/* Fix gravity form submit button styling - https://app.asana.com/0/13106852081564/1202690108928981 */
.gform_footer input[type=submit].gform_button,
.gform_button,
.woocommerce .woocommerce-form-register .woocommerce-form-register__submit,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
	font-size: 13px;
	padding: 14px 40px;
	display: inline-block;
	transition: all .2s ease;
	overflow: hidden;
	border-radius: 5px;
	line-height: 16px;
	color: var(--white);
	background: var(--primary-color);
	font-weight: 600;
}

/* =============================================================================
   MENU ITEMS & NAVIGATION
   ========================================================================== */

/* Menu Items My Account */
.job-dashboard-actions a {
	margin-right:15px;
	text-align:center;
}

/* My Listings dashboard: card wrapper for badge overlay */
#job-manager-job-dashboard .listing-card-wrapper {
	position: relative;
}

#job-manager-job-dashboard .listing-card-badge {
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: inline-block;
	padding: 6px 14px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	white-space: nowrap;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#job-manager-job-dashboard .listing-card-badge--pending {
	background: #911cff;
	color: #fff;
}

#job-manager-job-dashboard .listing-card-badge--draft {
	background: #6c1cff;
	color: #fff;
}

#job-manager-job-dashboard .listing-card-badge--expired {
	background: #0079e0;
	color: #fff;
}

/* Offset in-page anchors for fixed header + rotating banner. */
html {
	scroll-padding-top: var(--header-offset);
}

html:has(body.admin-bar) {
	--header-offset: 192px;
}

@media screen and (max-width: 782px) {
	html:has(body.admin-bar) {
		--header-offset: 206px;
	}
}

.i-section:not(.archive-posts):not(.archive-heading):not(#post-35414):not(.choose-type) {
	padding-top: 60px !important;
}

/* Remove padding-top for specific post */
#post-35414 {
	padding-top: 0 !important;
}

/* Fix main menu hover - https://app.asana.com/0/13106852081564/1200963493706523 */
#menu-main-menu > li {
	margin-bottom: 0px;
}

ul {margin-top:-10px;}

/* Move hamburger navigation to right */
@media only screen and (max-width : 1200px) {
header.header .header-left {
  display: block;
  width: 100%;
}
header.header .header-left .mobile-menu {
  float: right;
  margin-right: 0;
  position: absolute;
  right: 20px;
}
header.header .header-container .header-top div.logo {
  left: 0;
  transform: none;
}
header.header .header-container .header-right {
  position: absolute;
  right: 70px;
}
 div.i-nav {
    right: 0px !important;
    left: unset;
    transform: translateX(400px);
}
div.i-nav.mobile-menu-open {
    transform: translateX(0px);
}

.c27-main-header .mobile-nav-head .submenu-toggle {
	display: none;
}

.c27-main-header .i-nav .main-menu li.bbi-mobile-account > ul.i-dropdown {
	margin-left: 0;
}
}

@media screen and (min-width: 1201px) {
	.c27-main-header .main-nav > li.bbi-mobile-account {
		display: none;
	}
}

/* =============================================================================
   TYPOGRAPHY
   ========================================================================== */

body.add-listing-form .i-section > .container > .section-title > h1.case27-primary-text {
  margin: 20px 0 0 0 !important;
  text-align: center;
}

p {
	font-size: 18px;margin-bottom:20px;
}

ol > li, ul > li {
  font-size: 18px !important;
	line-height: inherit;
	margin-bottom:10px;
}

/* =============================================================================
   LISTINGS
   ========================================================================== */

#finderMap { margin-top: 70px; }

.listing-form-submit-btn {
	display: flex;
	gap: 10px;
	flex-wrap: nowrap;
}

.listing-form-submit-btn > .button {
	flex: 1 1 0;
	min-width: 0;
	height: 48px;
	min-height: 48px;
	padding: 0 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	box-sizing: border-box;
	background-color: transparent !important;
	color: var(--primary-color) !important;
	border: 1px solid var(--primary-color) !important;
}

.listing-form-submit-btn > .button:hover,
.listing-form-submit-btn > .button:focus {
	background-color: var(--primary-color) !important;
	color: var(--white) !important;
}

.daterangepicker .drp-buttons {
	display: flex !important;
	flex-wrap: wrap;
	gap: 10px;
}

.daterangepicker .drp-buttons .drp-selected {
	flex: 0 0 100%;
	margin-bottom: 0;
}

.daterangepicker .drp-buttons .cancelBtn,
.daterangepicker .drp-buttons .applyBtn {
	flex: 1 1 0;
	width: auto !important;
	margin: 0 !important;
}


.lf-item-info-2 .listing-preview-title {color: var(--primary-color) !important; font-weight:bold !important;}

.pf-body {padding-top:0px !important;}

.pf-body {
	font-size:16px !important;
}

.details-block-content > li {
	font-size:16px !important;
}

.details-block-content .bbi-detail-location {
	display: block;
}

.details-block-content .bbi-detail-location + .bbi-detail-location {
	margin-top: var(--space-2);
}

.lf-item-info-2 h6 {line-height: 30px !important;}

.listing-details {
	padding-top:10px;
}

.block-type-details a
{
	color:var(--primary-color) !important;
	border-bottom: 1px dotted;
	text-decoration: none !important;
}

#finderMap .listing-preview-title {
	color:var(--white) !important;
	margin-bottom:30px;
}

/*.listing-details > h6 {display:none !important;}*/

.checkboxes-filter > label {
	margin-bottom:15px;
}

.md-checkbox > label {
  display: block;
  padding-left: 15px;
  text-indent: 15px;
}

.md-checkbox > input {
  width: 15px;
  height: 15px;
  padding: 0;
  margin: 0;
  vertical-align: bottom;
  position: relative;
  top: -1px;
}

.pf-body > p:first-child ~ p {margin-bottom:15px !important;}

.lf-contact li {
	font-size:13px !important;
	color: var(--white) !important;
}

.select2-results__option {
	font-size:14px !important;
}

.profile-cover.profile-cover-no-img {background: var(--profile-cover);}

.lf-head-btn {background-color:var(--primary-color)}

.listing-preview-title {
	font-weight:bold !important;
	margin-bottom:10px !important;
}

/* Hide Lock Pin Location on Listings Submission Page */
.form-group .location-actions {
display: none;
}

#location-picker-map {
	margin-top:10px !important;
}

/* =============================================================================
   TABLES
   ========================================================================== */

.gfield_required {color: var(--primary-color) !important;}

/* Universal table styles */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--table-bg);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  color: var(--table-text);
  margin-bottom: 1.5em;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--table-header-bg);
  font-weight: 700;
  color: var(--table-text);
  border-bottom: 2px solid var(--border-gray);
  letter-spacing: 0.01em;
}

tbody tr {
  border-bottom: 1px solid var(--table-border);
}

tbody tr:nth-child(even) {
  background: var(--table-stripe-bg);
}

td {
  color: var(--table-text-light);
}

em {
  color: var(--table-text-muted);
  font-size: 0.97em;
  font-style: italic;
  display: inline;
}

caption {
  min-width: 700px;
}

.potw-caption a {color: var(--primary-color) !important; border-bottom: 1px dotted; text-decoration: none !important;}

/* Two-column facts on listings (trail length, difficulty, amenities). */
.bi-facts th,
.bi-facts td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--table-border);
}

.bi-facts th {
  width: 34%;
  font-weight: 700;
  color: var(--table-text);
}

.bi-facts tr:last-child th,
.bi-facts tr:last-child td {
  border-bottom: 0;
}

/* =============================================================================
   LINK COLORS
   ========================================================================== */

.woocommerce-info > a,
.pf-body > p > a,
.pf-body > p > span > a,
#label_1_13_1 > a,
.section-body > div > div > a,
.pf-body > a,
.pf-body > ul > li > span > p > a,
.pf-body > ol > li > a,
.item-property > p > a,
.bi-walk-toc a,
.bi-walk-toc a:link,
.bi-walk-toc a:visited,
.bi-walk-toc a:hover,
.bi-walk-toc a:focus,
.bi-walk-toc a:active {
	color:var(--primary-color) !important;
	border-bottom: 1px dotted;
	text-decoration: none !important;
}

/* Listing Description. MyListing sets `a, p` to ink and removes the underline,
   so an editor link looks like body text until we restyle it. The rules above
   only match a few direct-child paths, which misses <strong><a> and other wraps.
   Same paint as .bi-prose a. !important beats those older direct-child rules. */
.block-field-job_description .pf-body a {
	color: var(--color-pink) !important;
	border-bottom: 1px dotted var(--color-pink);
	text-decoration: none !important;
}

.block-field-job_description .pf-body a:hover,
.block-field-job_description .pf-body a:focus {
	color: var(--color-pink-hover) !important;
	border-bottom-color: var(--color-pink-hover);
}

#shortcode-link {color:var(--primary-color) !important; border-bottom: 1px dotted; text-decoration: none !important;}

.ad_index {
    color: var(--primary-color) !important;
    border-bottom: 1px dotted;
    text-decoration: none !important;
}

.current-category-display a {
    color: var(--color-pink);
    text-decoration: none;
}

/* =============================================================================
   FORMS & LOGIN
   ========================================================================== */

.md-checkbox {
    display: flex;
    align-items: center;
}

#customer_login > div.u-column1.col-1 > form > p:nth-child(4) > button {background-color:var(--primary-color); color:var(--white);}

#customer_login > div.u-column1.col-1 > form > div {margin-bottom:20px;}

#customer_login > div.u-column2.col-2 > form > p.woocommerce-FormRow.form-row > button {background-color:var(--primary-color); color:var(--white);}

/* My Login */
.page-id-16 #customer_login {padding: 30px;}

.page-id-16 .form-group {margin-top:15px;}

/* Change password fieldset on page 16 */
.page-id-16 fieldset {
    margin-top: 40px;
}

/* Remove margin-bottom from legend on page 16 */
.page-id-16 .woocommerce-EditAccountForm legend {
    margin-bottom: 0 !important;
}

/* Remove margin-bottom from form > h3 on page 16 */
.page-id-16 form > h3 {
    margin-bottom: 0;
}

.bi-account-page {
	color: #242429;
}

/* Login Form*/
#sign-in-modal > div > div > div > form > div > button {margin-top:10px;}

/*Add Listing*/
.fieldset-work_hours > .field > .c27-work-hours ~ .form-group {
display: none;}

/* Keep submission errors clear of sticky/header overlap (e.g. invalid package, WC notices). */
.add-listing-step:has(.job-manager-error),
.add-listing-step:has(.woocommerce-error),
.add-listing-step:has(.woocommerce-notice--error) {
	padding-top: 50px;
}

.job-manager-error,
.job-manager-message,
.job-manager-info,
ul.job-manager-error,
ul.job-manager-message,
ul.job-manager-info {
	margin: 16px 0;
	padding: 14px 16px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 500;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.job-manager-error,
ul.job-manager-error {
	background: #fff4f7;
	border-color: #ffb4c8;
	color: #9f1848;
}

.job-manager-message,
.job-manager-info,
ul.job-manager-message,
ul.job-manager-info {
	background: #f4f9ff;
	border-color: #b8d7ff;
	color: #114d92;
}

ul.job-manager-error li,
ul.job-manager-message li,
ul.job-manager-info li {
	margin: 0;
}

/* Magazine Reservation Form */
.ginput_price {
    display: none;
}

.scrollbar
{
	border:2px solid #EEE;
	padding:10px;
	height: 200px;
	width: 100%;
	background: var(--light-bg);
	overflow-y: scroll;
	margin: 40px 0 25px;
}

.force-overflow
{
	min-height: 250px;
}

#text_area_gf::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: var(--light-bg);
}

#text_area_gf::-webkit-scrollbar
{
	width: 12px;
	background-color: var(--light-bg);
}

#text_area_gf::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: var(--primary-color);
}

/* Forms */
.page-id-14354 #field_7_3 {margin-top:30px;}

.gfield_description {margin-top:-15px;}

.gf_spacing_above {margin-top:30px !important;}

#field_11_4 {margin-top:30px;}

#gform_wrapper_15, #gform_wrapper_16 {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

#gform_wrapper_15 form,
#gform_wrapper_16 form {
    width: 100%;
}

#gform_wrapper_15 .gform_fields, #gform_wrapper_16 .gform_fields {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: 100%;
}

#gform_wrapper_15 .gfield, #gform_wrapper_16 .gfield {
    margin: 0 !important;
    padding: 0 !important;
    flex: 1;
}

#gform_wrapper_15 .gfield--type-honeypot,
#gform_wrapper_16 .gfield--type-honeypot,
#gform_wrapper_15 .gfield--type-hidden,
#gform_wrapper_16 .gfield--type-hidden,
#gform_wrapper_15 .gform_validation_container,
#gform_wrapper_16 .gform_validation_container,
#gform_wrapper_15 .gform_hidden,
#gform_wrapper_16 .gform_hidden {
    display: none !important;
    flex: 0 0 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
}

#gform_wrapper_15 .ginput_container_text input[type="text"], #gform_wrapper_16 .ginput_container_text input[type="text"] {
    border-radius: 24px 0 0 24px !important;
    border: 1px solid #ccc !important;
    border-right: none !important;
    padding: 12px 20px !important;
    font-size: 18px !important;
    width: 100% !important;
    height: 50px !important;
    background-color: white !important;
    color: #333 !important;
    margin: 0 !important;
}

#gform_wrapper_15 .ginput_container_email input[type="email"], #gform_wrapper_16 .ginput_container_email input[type="email"] {
    border-radius: 0 !important;
    border: 1px solid #ccc !important;
    border-right: none !important;
    padding: 12px 20px !important;
    font-size: 18px !important;
    width: 100% !important;
    height: 50px !important;
    background-color: white !important;
    color: #333 !important;
    margin: 0 !important;
}

#gform_wrapper_15 .gfield.gfield--type-html, #gform_wrapper_16 .gfield.gfield--type-html {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

#gform_wrapper_15 .gfield--type-html button, #gform_wrapper_16 .gfield--type-html button {
    border-radius: 0 24px 24px 0 !important;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    font-weight: bold !important;
    height: 50px !important;
    padding: 0 32px !important;
    font-size: 18px !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

#gform_wrapper_15 .gfield--type-html button:hover, #gform_wrapper_16 .gfield--type-html button:hover {
    background: var(--primary-hover) !important;
}

#gform_wrapper_15 .gform_footer, #gform_wrapper_16 .gform_footer {
    display: none !important;
}

#gform_wrapper_15 .gfield_label, #gform_wrapper_16 .gfield_label {
    display: none !important;
}

#gform_wrapper_15 .gform_body, #gform_wrapper_16 .gform_body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    #gform_wrapper_15 .gform_fields, #gform_wrapper_16 .gform_fields {
        flex-direction: column !important;
        gap: 10px !important;
    }

    #gform_wrapper_15 .ginput_container_text input[type="text"], #gform_wrapper_16 .ginput_container_text input[type="text"],
    #gform_wrapper_15 .ginput_container_email input[type="email"], #gform_wrapper_16 .ginput_container_email input[type="email"] {
        border-radius: 24px !important;
        border-right: 1px solid #ccc !important;
    }

    #gform_wrapper_15 .gfield--type-html button, #gform_wrapper_16 .gfield--type-html button {
        border-radius: 24px !important;
        width: 100% !important;
    }
}

/* =============================================================================
   ADMIN STYLES
   ========================================================================== */

@media only screen and (max-width: 1200px){
#wpadminbar {
    display: block!important;
}
}

@media screen and (max-width: 782px) {
  #wpadminbar {
    display: none !important;
  }
}

/* =============================================================================
   ARCHIVE PAGES
   ========================================================================== */

.archive-page {
	margin-top: var(--space-10);
}

.archive-page .archive-heading h1 {
	margin: 0 0 var(--space-5);
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h1);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
	text-align: left;
	letter-spacing: normal;
	text-transform: none;
}

.archive-page .archive-heading.no-description h1 {
	margin-top: var(--space-10);
}

.archive-page .archive-heading .archive-description,
.archive-page .bi-archive__dek {
	margin: 0;
	width: 100%;
	max-width: none;
	text-align: left;
}

.archive-page .archive-heading .archive-description p,
.archive-page .bi-archive__dek p {
	margin: 0 0 var(--space-p);
	font-family: var(--font-sans);
	font-size: var(--text-body);
	font-weight: 400;
	line-height: var(--leading-body);
	color: var(--color-ink);
}

.archive-page .archive-heading .archive-description a,
.archive-page .bi-archive__dek a {
	color: var(--color-pink);
	border-bottom: 1px dotted var(--color-pink);
	text-decoration: none;
}

.archive-page .archive-heading .archive-description a:hover,
.archive-page .archive-heading .archive-description a:focus,
.archive-page .bi-archive__dek a:hover,
.archive-page .bi-archive__dek a:focus {
	color: var(--color-pink-hover);
	border-bottom-color: var(--color-pink-hover);
}

.bi-annual-index .event-date {
	display: none;
}

/* MyListing .i-section still has 45–60px padding-bottom; don’t stack it under the dek. */
.bi-annual-index .i-section.archive-heading {
	padding-bottom: 0;
}

.bi-annual-index .bi-archive__dek p:last-child {
	margin-bottom: 0;
}

.bi-annual-index__month {
	margin: var(--space-8) 0 var(--space-4);
	font-family: var(--font-sans);
	font-size: var(--text-h2);
	font-weight: 600;
	line-height: 1.25;
	color: var(--color-ink);
	text-wrap: balance;
}

.archive-page .sbf-title {
	padding-bottom: var(--space-6);
}

.archive-page .sbf-title a.case27-primary-text {
	display: block;
	font-family: var(--font-sans);
	font-size: var(--text-h4);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
	text-wrap: balance;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}

.archive-page .sbf-title p {
	margin: var(--space-2) 0 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--color-ink);
	text-wrap: pretty;
}

.archive-page .sbf-thumb {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.archive-page .sbf-background {
	height: 100%;
	min-height: 180px;
	background-size: cover;
	background-position: center;
}

.bi-card--photo .sbf-thumb {
	aspect-ratio: 4 / 3;
	min-height: 220px;
}

.bi-card--photo .sbf-title p,
.archive-page .bi-card--photo .bi-card__caption {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	overflow: hidden;
}

.archive-page .bi-card--photo .bi-card__caption {
	margin-top: var(--space-2);
	font-size: var(--text-caption);
	font-style: italic;
	line-height: 1.5;
	color: var(--color-muted);
}

.bi-lightbox-trigger {
	cursor: zoom-in;
	border-bottom: none;
	text-decoration: none;
}
.bi-lightbox-trigger img {
	cursor: zoom-in;
}
.bi-prose .bi-lightbox-trigger,
.bi-single-post__content .bi-lightbox-trigger {
	display: inline-block;
	max-width: 100%;
	color: inherit;
	border-bottom: none;
}
.bi-lightbox-trigger:focus-visible {
	outline: 2px solid var(--color-pink);
	outline-offset: 2px;
}

.archive .row.section-body.grid {
	display: flex;
	flex-wrap: wrap;
	height: auto !important;
}

.archive .row.section-body.grid > div {
	position: unset !important;
}

/* =============================================================================
   BLOG & CONTENT
   ========================================================================== */

.category-name, .host-name {font-size:16px !important;}

.title-style-1 {
  margin-bottom:20px;
  padding-top:40px !important;
}

.c27-content-wrapper > p {font-size:15px !important; margin-bottom:15px;}

.blog-title > div > h1 {margin:0px !important}

.c27-content-wrapper > p > a {
	color: var(--primary-color) !important;
	border-bottom: 1px dotted var(--primary-color);
	text-decoration: none !important;
}

.blog-title h1 {
  padding-top: 20px;
	padding-bottom: 10px;
	line-height: 1.1 !important;
}

.post-cover-buttons {display:none;}

.blogpost-section .c27-content-wrapper p {
  font-size: 18px !important;
  color: #242429 !important;
	line-height: 1.4 !important;
}

/* Static legal/contact pages — type is .bi-prose (Phase 2). */
.bi-static-page,
.bi-static-page *,
.bi-contact-page,
.bi-contact-page * {
	box-sizing: border-box;
}
.bi-static-page,
.bi-contact-page {
	margin: 60px 0;
	color: var(--color-ink);
	font-family: var(--font-sans);
}
.bi-static-inner {
	max-width: var(--measure-prose);
	margin: 0 auto;
	padding: 10px var(--gutter);
}
.bi-contact-page .gfield_label,
.bi-contact-page .gfield_description,
.bi-contact-page .gform_required_legend {
	color: var(--color-ink);
}
/* Form 1 "medium" controls are calc(50% - 8px). The contact dropdown
   clips "Update a business or event page". The URL field should match
   the message textarea, which is already 100% of the same column. */
.bi-contact-page #input_1_1 {
	width: 22rem;
	max-width: 100%;
}
.bi-contact-page #input_1_11 {
	width: 100%;
	max-width: 100%;
}
.bi-static-page .bi-static-logo {
	display: block;
	width: 100px;
	height: auto;
	margin: 20px 0 0;
}
@media (max-width: 1024px) {
	.bi-static-page,
	.bi-contact-page { margin: 40px 0; }
}
@media (max-width: 767px) {
	.bi-static-page,
	.bi-contact-page { margin: 30px 0; }
	.bi-static-inner { padding-inline: var(--gutter-sm); }
}

/* /thanks-for-voting/ — newsletter poll confirmation. Not .bi-prose. */
.bi-thanks,
.bi-thanks * {
	box-sizing: border-box;
}
.bi-thanks {
	margin: 0;
	padding: 0;
	color: var(--color-ink);
	font-family: var(--font-sans);
}
.bi-thanks__inner {
	max-width: var(--measure-page);
	margin: 0 auto;
	padding-inline: var(--gutter);
}
.bi-thanks__hero {
	background: var(--color-white);
	padding: var(--space-20) 0 var(--space-16);
}
.bi-thanks__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-stack);
	max-width: var(--measure-prose);
	margin: 0 auto var(--space-10);
	text-align: center;
}
.bi-thanks h1 {
	margin: 0;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h1);
	font-weight: 700;
	line-height: var(--leading-h1);
	color: var(--color-heading);
	letter-spacing: -0.02em;
	text-transform: none;
	text-align: center;
	text-wrap: balance;
}
.bi-thanks__lead {
	margin: 0;
	font-size: var(--text-lead);
	font-weight: 400;
	line-height: var(--leading-lead);
	color: var(--color-ink);
}
.bi-thanks__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 16px 32px;
	border-radius: var(--radius-button);
	background: var(--color-pink);
	color: var(--color-on-pink);
	font-size: var(--text-ui);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--color-pink);
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.bi-thanks a.bi-thanks__cta {
	color: var(--color-on-pink);
	text-decoration: none;
	border-bottom: 1px solid var(--color-pink);
}
.bi-thanks a.bi-thanks__cta:hover,
.bi-thanks a.bi-thanks__cta:focus {
	background: var(--color-pink-hover);
	border-color: var(--color-pink-hover);
	color: var(--color-on-pink);
	text-decoration: none;
}
.bi-thanks a.bi-thanks__cta:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 3px;
}
.bi-thanks__frog {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-card-story);
	box-shadow: var(--shadow-card);
	background: var(--color-canvas);
}
.bi-thanks__frog img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2048 / 906;
}
.bi-thanks__next {
	padding: var(--section-y) 0;
}
.bi-thanks h2 {
	margin: 0 0 var(--space-8);
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h2);
	font-weight: 600;
	line-height: var(--leading-h2);
	color: var(--color-heading);
	letter-spacing: normal;
	text-transform: none;
	text-align: center;
}
.bi-thanks__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-6);
}
.bi-thanks__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--color-white);
	border-radius: var(--radius-card-story);
	box-shadow: var(--shadow-card);
	padding: var(--card-pad-story);
	color: var(--color-ink);
	text-decoration: none;
	transition: transform 150ms ease, box-shadow 150ms ease;
}
.bi-thanks a.bi-thanks__card {
	color: var(--color-ink);
	text-decoration: none;
	border-bottom: none;
}
.bi-thanks a.bi-thanks__card:hover,
.bi-thanks a.bi-thanks__card:focus {
	color: var(--color-ink);
	text-decoration: none;
	border-bottom: none;
	transform: translateY(-2px);
	box-shadow: var(--shadow-card-hover);
}
.bi-thanks a.bi-thanks__card:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 3px;
}
.bi-thanks__card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 0 var(--space-5);
	border-radius: 50%;
	background: var(--color-pink);
	color: var(--color-on-pink);
	font-size: 18px;
}
.bi-thanks__card-icon i {
	line-height: 1;
}
.bi-thanks__card h3 {
	margin: 0 0 var(--space-3);
	padding: 0;
	font-size: var(--text-h3);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-heading);
}
.bi-thanks__card p {
	margin: 0;
	font-size: var(--text-ui);
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-ink);
}
@media (prefers-reduced-motion: reduce) {
	.bi-thanks__cta,
	.bi-thanks__card {
		transition: none;
	}
	.bi-thanks a.bi-thanks__card:hover,
	.bi-thanks a.bi-thanks__card:focus {
		transform: none;
	}
}
@media (max-width: 1024px) {
	.bi-thanks__hero {
		padding: var(--space-16) 0 var(--space-12);
	}
	.bi-thanks__cards {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 767px) {
	.bi-thanks__hero {
		padding: var(--space-10) 0 var(--space-8);
	}
	.bi-thanks__inner {
		padding-inline: var(--gutter-sm);
	}
	.bi-thanks h1 {
		font-size: var(--text-h1-sm);
		line-height: 1.3;
		letter-spacing: -0.01em;
	}
	.bi-thanks h2 {
		font-size: 1.5rem;
		margin-bottom: var(--space-6);
	}
	.bi-thanks__next {
		padding: var(--section-y-sm) 0;
	}
	.bi-thanks__card {
		padding: var(--space-8);
	}
	.bi-thanks__cta {
		width: 100%;
	}
}

/* Newsletter confirmation funnel (one-more-step, confirmed, already-subscribed). */
.bi-nl-funnel,
.bi-nl-funnel * {
	box-sizing: border-box;
}
.bi-nl-funnel {
	margin: 0 0 var(--space-12);
	color: var(--color-ink);
	font-family: var(--font-sans);
}
.bi-nl-funnel-inner {
	max-width: var(--measure-page);
	margin: 0 auto;
	padding: var(--space-20) 10px var(--space-12);
}
.bi-nl-badge-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: var(--space-6);
	white-space: nowrap;
}
.bi-nl-badge {
	display: inline-block;
	background-color: var(--color-pink);
	color: var(--color-on-pink);
	font-weight: 600;
	font-size: var(--text-small);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: var(--radius-button);
	white-space: nowrap;
}
.bi-nl-funnel h1 {
	margin: -10px 0 var(--space-6) !important;
	padding: 0;
	text-align: center;
	font-family: var(--font-sans);
	font-size: var(--text-display-sm) !important;
	font-weight: 700 !important;
	line-height: var(--leading-h1) !important;
	color: var(--color-heading) !important;
	text-wrap: balance;
	text-transform: none;
	letter-spacing: normal;
}
.bi-nl-subhead {
	margin-bottom: var(--space-4);
	text-align: center;
}
.bi-nl-funnel .bi-nl-subhead h2 {
	margin: 0 0 var(--space-4);
	font-size: var(--text-h2);
	font-weight: 600;
	line-height: var(--leading-h2);
	color: var(--color-ink) !important;
	text-align: center;
}
.bi-nl-hr {
	width: 100%;
	height: 0;
	margin: 15px 0;
	padding: 15px 0;
	border: 0;
	border-top: 1px solid var(--color-heading);
}
.bi-nl-card {
	background: var(--color-white);
	border-radius: var(--radius-card-story);
	padding: var(--card-pad-story);
	box-shadow: var(--shadow-card);
	margin-bottom: var(--space-8);
}
.bi-nl-card h2 {
	margin: 0 0 var(--space-4);
	font-size: var(--text-h2);
	font-weight: 700;
	line-height: var(--leading-h2);
	color: var(--color-heading) !important;
}
.bi-nl-card h2 + h2,
.bi-nl-card p + h2 {
	margin-top: var(--space-6);
}
.bi-nl-card h3 {
	margin: 0 0 var(--space-4);
	font-size: var(--text-lead);
	font-weight: 600;
	color: var(--color-ink) !important;
}
.bi-nl-card h4 {
	margin: 0 0 var(--space-2);
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-weight: 700;
	color: var(--color-heading);
}
.bi-nl-card p {
	margin: 0 0 14px;
	font-size: var(--text-body);
	line-height: var(--leading-body-story);
	color: var(--color-ink);
}
.bi-nl-card p:last-child {
	margin-bottom: 0;
}
.bi-nl-card a {
	color: var(--color-pink);
	border-bottom: 1px dotted var(--color-pink);
	text-decoration: none;
}
.bi-nl-card a:hover,
.bi-nl-card a:focus {
	color: var(--color-pink-hover);
	border-bottom-color: var(--color-pink-hover);
}
.bi-nl-card ul,
.bi-nl-card ol {
	margin: 15px 0 0 var(--space-8);
	padding: 0;
	color: var(--color-ink);
	line-height: var(--leading-body-story);
}
.bi-nl-card ol {
	list-style-type: decimal;
}
.bi-nl-card ul {
	list-style: disc;
}
.bi-nl-card li {
	margin: 0 0 var(--space-2);
	color: var(--color-ink);
}
.bi-nl-gmail li:first-child {
	margin-top: 18px;
}
.bi-nl-email {
	font-family: Times, "Times New Roman", serif;
	font-weight: 700;
}
.bi-nl-mail-btns {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	margin-bottom: var(--space-6);
}
.bi-nl-mail-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}
.bi-nl-btn {
	flex: 1 1 160px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-height: 44px;
	padding: 0 var(--space-4);
	border: 2px solid var(--color-pink);
	border-radius: var(--radius-card);
	background-color: var(--color-pink);
	color: var(--color-on-pink) !important;
	font-size: var(--text-small);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid var(--color-pink);
}
.bi-nl-btn:hover,
.bi-nl-btn:focus {
	color: var(--color-on-pink) !important;
	text-decoration: none;
}
.bi-nl-callout {
	margin: var(--space-6) 0 14px;
	padding: var(--space-4);
	border-radius: var(--radius-button);
	border-left: 4px solid var(--color-sath);
	background: #e8f4ff;
}
.bi-nl-callout--tip {
	margin-top: var(--space-6);
	margin-bottom: 0;
	border-left-color: var(--color-am);
	background: #ecfdf5;
}
.bi-nl-callout p {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	margin: 0;
	color: var(--color-ink);
}
.bi-nl-weekly {
	margin-bottom: var(--space-6);
}
.bi-nl-weekly-row {
	display: flex;
	gap: var(--space-4);
	margin-bottom: var(--space-6);
	align-items: flex-start;
}
.bi-nl-weekly-row:last-child {
	margin-bottom: 0;
}
.bi-nl-weekly-icon {
	font-size: 2rem;
	flex-shrink: 0;
	margin-top: 18px;
	line-height: 1;
}
.bi-nl-weekly-row h3 {
	margin: 0 0 var(--space-1);
	font-size: var(--text-body);
	font-weight: 700;
	color: var(--color-heading) !important;
}
.bi-nl-weekly-row p {
	margin: 0;
	font-size: var(--text-body);
	color: var(--color-ink);
}
.bi-nl-card--center {
	text-align: center;
}
.bi-nl-card--center h2 {
	margin-bottom: var(--space-4);
}
.bi-nl-card--center p {
	font-size: var(--text-body);
	margin-bottom: var(--space-6);
}
.bi-nl-social {
	display: flex;
	justify-content: center;
	gap: var(--space-6);
	flex-wrap: wrap;
}
.bi-nl-social a {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-3) var(--space-6);
	color: var(--color-white) !important;
	font-weight: 600;
	border-radius: var(--radius-card);
	text-decoration: none;
	border-bottom: 0;
	box-shadow: var(--shadow-card);
}
.bi-nl-social a svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}
.bi-nl-social-ig {
	background: linear-gradient(to right, #a855f7, #ec4899);
}
.bi-nl-social-fb {
	background-color: #1877f2;
}
.bi-nl-italic {
	margin: 0;
	color: var(--color-ink);
	font-style: italic;
}
.bi-nl-footer {
	margin-top: var(--space-12);
	text-align: center;
}
.bi-nl-footer p {
	margin: 0;
	color: var(--color-ink);
	font-size: var(--text-body);
}
.bi-nl-block {
	margin-bottom: var(--space-6);
}
@media (max-width: 767px) {
	.bi-nl-funnel-inner { padding-top: var(--space-10); }
	.bi-nl-card { padding: var(--space-6); }
}

/* /newsletter/ signup (page 14354). */
.bi-nl-signup,
.bi-nl-signup * {
	box-sizing: border-box;
}
.bi-nl-signup {
	color: var(--color-ink);
	font-family: var(--font-sans);
}
.bi-nl-signup-hero {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	max-width: var(--measure-page);
	margin: 0 auto;
	padding: 80px 10px 60px;
}
.bi-nl-signup-copy {
	flex: 0 0 47.513%;
	max-width: 47.513%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.bi-nl-signup-phone {
	flex: 0 0 50%;
	max-width: 50%;
	padding: 30px 0 0;
}
.bi-nl-signup-badge {
	display: inline-block;
	align-self: flex-start;
	background-color: var(--color-pink);
	color: var(--color-on-pink);
	font-weight: 600;
	font-size: var(--text-small);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 4px 8px;
}
.bi-nl-signup h1 {
	display: block;
	margin: 0 !important;
	padding: 0;
	font-family: var(--font-sans);
	font-size: 36px !important;
	font-weight: 600 !important;
	line-height: 36px !important;
	color: var(--color-ink) !important;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
}
.bi-nl-signup-intro {
	display: block;
	font-size: var(--text-lead);
	line-height: var(--leading-lead);
	color: var(--color-ink);
}
.bi-nl-signup #gform_fields_7 {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.bi-nl-signup #field_7_8,
.bi-nl-signup #field_7_9 {
	flex: 1 1 0;
	min-width: 0;
}
.bi-nl-signup #field_7_2 {
	width: 100%;
}
.bi-nl-signup--confirmed .gform_wrapper {
	display: none;
}

/* Legacy GF draws the error icon with h2::before; orbital also prints .gform-icon. */
.gform_legacy_markup_wrapper .gform_validation_errors > h2 .gform-icon {
	display: none;
}
.gform_wrapper .gform_validation_errors > h2 {
	text-wrap: pretty;
	text-wrap: balance;
}

/* /magazine/ — page 6270. Copy is `.bi-prose`; carousel keeps its own chrome. */
.bi-magazine-page,
.bi-magazine-page * {
	box-sizing: border-box;
}
.bi-magazine-page {
	margin: 60px 0 0;
	color: var(--color-ink);
	font-family: var(--font-sans);
}
.bi-magazine-inner,
.bi-magazine-carousel-wrap {
	max-width: var(--measure-page);
	margin: 0 auto;
	padding: 10px;
}
.bi-magazine-highlight {
	background: yellow;
}
.bi-magazine-carousel-wrap {
	padding-bottom: 48px;
}
.bi-magazine-carousel {
	position: relative;
	background: var(--color-pink);
	margin: 0 0 30px;
	padding: 28px 56px 20px;
}
.bi-magazine-viewport {
	overflow: hidden;
}
.bi-magazine-track {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: transform 0.5s ease;
	will-change: transform;
}
.bi-magazine-slide {
	flex: 0 0 calc((100% - 40px) / 3);
	margin: 0;
	padding: 0;
	list-style: none;
}
.bi-magazine-cover {
	display: block;
	border-bottom: 0 !important;
	text-decoration: none;
}
.bi-magazine-cover figure {
	margin: 0;
}
.bi-magazine-cover img {
	display: block;
	width: 100%;
	height: auto;
	background: var(--color-white);
}
.bi-magazine-cover figcaption {
	margin: 8px 0 0;
	color: var(--color-on-pink);
	text-align: center;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
}
.bi-magazine-prev,
.bi-magazine-next {
	position: absolute;
	top: 42%;
	z-index: 2;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-on-pink);
	cursor: pointer;
}
.bi-magazine-prev { left: 4px; }
.bi-magazine-next { right: 4px; }
.bi-magazine-prev svg,
.bi-magazine-next svg {
	width: 48px;
	height: 48px;
	display: block;
}
.bi-magazine-dots {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 16px 0 0;
}
.bi-magazine-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}
.bi-magazine-dot.is-active {
	background: var(--color-white);
}
.bi-magazine-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	padding: 2rem;
}
.bi-magazine-lightbox[hidden] {
	display: none;
}
.bi-magazine-lightbox figure {
	margin: 0;
	max-width: min(90vw, 720px);
	text-align: center;
}
.bi-magazine-lightbox img {
	max-width: 100%;
	max-height: 80vh;
	height: auto;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.bi-magazine-lightbox figcaption {
	margin-top: 12px;
	color: var(--color-white);
	font-size: 18px;
}
.bi-magazine-lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	border: 0;
	background: transparent;
	color: var(--color-white);
	font-size: 2.5rem;
	line-height: 1;
	cursor: pointer;
}
.bi-magazine-lightbox-prev,
.bi-magazine-lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-white);
	cursor: pointer;
}
.bi-magazine-lightbox-prev { left: 1rem; }
.bi-magazine-lightbox-next { right: 1rem; }
.bi-magazine-lightbox-prev svg,
.bi-magazine-lightbox-next svg {
	width: 48px;
	height: 48px;
}
@media (max-width: 1024px) {
	.bi-magazine-page { margin: 40px 0 0; }
	.bi-magazine-slide { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 767px) {
	.bi-magazine-page { margin: 30px 0 0; }
	.bi-magazine-carousel { padding: 20px 40px 16px; }
	.bi-magazine-slide { flex-basis: 100%; }
}

/* Story landings — /about/ (Phase 2b). Not .bi-prose. */
.bi-story,
.bi-story * {
	box-sizing: border-box;
}
.bi-story {
	margin: 0;
	padding: 0;
	color: var(--color-ink);
	font-family: var(--font-sans);
}
.bi-story__inner {
	max-width: var(--measure-page);
	margin: 0 auto;
	padding-inline: var(--gutter);
}
.bi-story__inner--prose {
	max-width: var(--measure-wide);
}
.bi-story__hero {
	background: var(--color-white);
	padding: var(--space-20) 0 var(--space-16);
}
.bi-story__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: var(--space-10);
	align-items: center;
}
.bi-story__copy {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-stack);
}
.bi-badge {
	display: inline-block;
	margin: 0;
	padding: 4px 8px;
	border-radius: var(--radius-chip);
	background: var(--color-pink);
	color: var(--color-on-pink);
	font-size: var(--text-h6);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
a.bi-badge,
.bi-story a.bi-badge,
.bi-prose a.bi-badge {
	color: var(--color-on-pink);
	border-bottom: none;
	text-decoration: none;
}
a.bi-badge:hover,
a.bi-badge:focus {
	background: var(--color-pink-hover);
	color: var(--color-on-pink);
	border-bottom: none;
}
a.bi-badge:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 3px;
}
.bi-story h1 {
	margin: 0;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h1);
	font-weight: 700;
	line-height: var(--leading-h1);
	color: var(--color-heading);
	letter-spacing: -0.02em;
	text-transform: none;
}
.bi-story__lead {
	margin: 0;
	font-size: var(--text-lead);
	font-weight: 400;
	line-height: var(--leading-lead);
	color: var(--color-ink);
}
.bi-story__copy p {
	margin: 0;
	font-size: var(--text-body-story);
	font-weight: 400;
	line-height: var(--leading-body-story);
	color: var(--color-ink);
}
.bi-story__copy .bi-story__lead {
	font-size: var(--text-lead);
	line-height: var(--leading-lead);
}
.bi-story__portrait {
	margin: 0;
	min-width: 0;
}
.bi-story__portrait-frame {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius-card-story);
	box-shadow: var(--shadow-card);
	background: var(--color-canvas);
}
.bi-story__portrait img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}
.bi-story__portrait figcaption {
	margin: var(--space-3) 0 0;
	font-size: var(--text-small);
	font-style: italic;
	line-height: 1.5;
	color: var(--color-muted);
}
.bi-story__stats {
	padding: var(--space-10) 0 0;
}
.bi-story__stats-plate {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: var(--color-white);
	border-radius: var(--radius-card-story);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}
.bi-story__stat {
	padding: var(--space-12) var(--space-6);
	text-align: center;
}
.bi-story__stat + .bi-story__stat {
	border-left: 1px solid var(--color-line);
}
.bi-story__stat-value {
	display: block;
	margin: 0 0 var(--space-2);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--color-heading);
}
.bi-story__stat-label {
	display: block;
	font-size: var(--text-small);
	font-weight: 400;
	line-height: 1.4;
	color: var(--color-muted);
}
.bi-story__band {
	padding: var(--section-y) 0;
}
.bi-story__band--white {
	background: var(--color-white);
}
.bi-story h2 {
	margin: 0 0 var(--space-4);
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h2);
	font-weight: 600;
	line-height: var(--leading-h2);
	color: var(--color-heading);
	letter-spacing: normal;
	text-transform: none;
}
.bi-story__dek {
	margin: 0 0 var(--space-10);
	max-width: 36rem;
	font-size: var(--text-body-story);
	line-height: var(--leading-body-story);
	color: var(--color-ink);
}
.bi-ads-dek-oneline {
	max-width: none;
}
.bi-story__cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-6);
}
.bi-card--story {
	background: var(--color-white);
	border-radius: var(--radius-card-story);
	box-shadow: var(--shadow-card);
	padding: var(--card-pad-story);
	transition: transform 150ms ease, box-shadow 150ms ease;
}
.bi-card--story:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-card-hover);
}
.bi-card--story__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 0 var(--space-5);
	border-radius: 50%;
	background: var(--color-pink);
	color: var(--color-on-pink);
	font-size: 18px;
}
.bi-card--story__icon i {
	line-height: 1;
}
.bi-card--story h3 {
	margin: 0 0 var(--space-3);
	padding: 0;
	font-size: var(--text-h3);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-heading);
}
.bi-card--story p {
	margin: 0;
	font-size: var(--text-ui);
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-ink);
}
.bi-story__split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--space-10);
	align-items: center;
}
.bi-story__magazine-cover {
	margin: 0;
	text-align: center;
}
.bi-story a.bi-story__cover-link {
	display: inline-block;
	border-bottom: none;
	line-height: 0;
	transition: transform 150ms ease;
}
.bi-story a.bi-story__cover-link:hover,
.bi-story a.bi-story__cover-link:focus {
	border-bottom: none;
	transform: translateY(-4px);
}
.bi-story__magazine-cover img {
	display: block;
	width: 100%;
	max-width: 340px;
	height: auto;
	margin: 0 auto;
	border-radius: 4px;
	box-shadow: var(--shadow-card-hover);
}
.bi-story__split-copy p {
	margin: 0 0 1.35em;
	font-size: var(--text-body-story);
	line-height: var(--leading-body-story);
}
.bi-story__split-copy p:last-child {
	margin-bottom: 0;
}
.bi-story a:not(.bi-story__cta):not(.bi-story__cover-link):not(.bi-badge) {
	color: var(--color-pink);
	border-bottom: 1px dotted var(--color-pink);
	text-decoration: none;
}
.bi-story a:not(.bi-story__cta):not(.bi-story__cover-link):not(.bi-badge):hover,
.bi-story a:not(.bi-story__cta):not(.bi-story__cover-link):not(.bi-badge):focus {
	color: var(--color-pink-hover);
	border-bottom-color: var(--color-pink-hover);
}
.bi-story__close {
	background: var(--color-white);
	padding: var(--space-20) 0;
	text-align: center;
}
.bi-story__close-inner {
	max-width: var(--measure-prose);
	margin: 0 auto;
	padding-inline: var(--gutter);
}
.bi-story__close p {
	margin: 0 0 var(--space-8);
	font-size: var(--text-body-story);
	line-height: var(--leading-body-story);
}
.bi-story__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-4);
}
.bi-story__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 16px 32px;
	border-radius: var(--radius-button);
	background: var(--color-pink);
	color: var(--color-on-pink);
	font-size: var(--text-ui);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--color-pink);
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.bi-story a.bi-story__cta {
	color: var(--color-on-pink) !important;
	border: 1px solid var(--color-pink);
	text-decoration: none;
}
.bi-story a.bi-story__cta:hover,
.bi-story a.bi-story__cta:focus {
	background: var(--color-pink-hover);
	border-color: var(--color-pink-hover);
	color: var(--color-on-pink) !important;
	text-decoration: none;
}
.bi-story a.bi-story__cta:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 3px;
}
.bi-story a.bi-story__cta--ghost {
	background: transparent;
	color: var(--color-pink) !important;
	border: 1px solid var(--color-pink);
}
.bi-story a.bi-story__cta--ghost:hover,
.bi-story a.bi-story__cta--ghost:focus {
	background: var(--color-pink);
	border-color: var(--color-pink);
	color: var(--color-on-pink) !important;
}
@media (prefers-reduced-motion: reduce) {
	.bi-card--story,
	.bi-story__cta,
	.bi-story a.bi-story__cover-link {
		transition: none;
	}
	.bi-card--story:hover,
	.bi-story a.bi-story__cover-link:hover,
	.bi-story a.bi-story__cover-link:focus {
		transform: none;
	}
}
@media (max-width: 1024px) {
	.bi-story__hero {
		padding: var(--space-16) 0 var(--space-12);
	}
	.bi-story__hero-grid,
	.bi-story__split {
		grid-template-columns: 1fr;
		gap: var(--space-8);
	}
	.bi-story__portrait {
		max-width: 560px;
	}
}
@media (max-width: 767px) {
	.bi-story__hero {
		padding: var(--space-10) 0 var(--space-8);
	}
	.bi-story__inner {
		padding-inline: var(--gutter-sm);
	}
	.bi-story h1 {
		font-size: var(--text-h1-sm);
		line-height: 1.3;
		letter-spacing: -0.01em;
	}
	.bi-story h2 {
		font-size: 1.5rem;
	}
	.bi-story__stats-plate {
		grid-template-columns: 1fr;
	}
	.bi-ads .bi-story__stats-plate {
		grid-template-columns: 1fr;
	}
	.bi-story__stat + .bi-story__stat {
		border-left: 0;
		border-top: 1px solid var(--color-line);
	}
	.bi-story__stat {
		padding: var(--space-6);
	}
	.bi-story__cards {
		grid-template-columns: 1fr;
	}
	.bi-card--story {
		padding: var(--space-8);
	}
	.bi-story__band,
	.bi-story__close {
		padding: var(--section-y-sm) 0;
	}
	.bi-story__actions {
		flex-direction: column;
		align-items: stretch;
	}
	.bi-story__cta {
		width: 100%;
	}
}

/* /advertising/ — page 15915. Story landing; no inline template CSS. */
.bi-ads [id] {
	scroll-margin-top: var(--header-offset);
}
.bi-ads .bi-story__stats-plate {
	grid-template-columns: repeat(2, 1fr);
}
.bi-ads__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
	margin-top: var(--space-2);
}
.bi-ads .bi-story__cta {
	width: auto;
}
.bi-ads button.bi-story__cta {
	font-family: inherit;
	cursor: pointer;
	appearance: none;
	color: var(--color-on-pink);
}
.bi-ads button.bi-story__cta--ghost {
	background: transparent;
	color: var(--color-pink);
	border: 1px solid var(--color-pink);
}
.bi-ads button.bi-story__cta--ghost:hover,
.bi-ads button.bi-story__cta--ghost:focus {
	background: var(--color-pink);
	border-color: var(--color-pink);
	color: var(--color-on-pink);
}
.bi-ads-products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-6);
	align-items: stretch;
}
.bi-ads-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--color-white);
	border-radius: var(--radius-card-story);
	box-shadow: var(--shadow-card);
	padding: var(--card-pad-story);
	border: 1px solid var(--color-line);
	transition: box-shadow 150ms ease;
}
.bi-ads-card--featured {
	border: 2px solid var(--color-pink);
	box-shadow: var(--shadow-card-hover);
}
/* #home-of-the-week: pink outline follows that card. :target covers first paint.
   After JS, the class owns it — pushState does not move :target. */
.bi-ads-products:not(.bi-ads-products--js):has(#home-of-the-week:target) > .bi-ads-card--featured {
	border: 1px solid var(--color-line);
	box-shadow: var(--shadow-card);
}
.bi-ads-products:not(.bi-ads-products--js) > #home-of-the-week:target {
	border: 2px solid var(--color-pink);
	box-shadow: var(--shadow-card-hover);
}
.bi-ads-products.bi-ads-products--hotw > .bi-ads-card--featured {
	border: 1px solid var(--color-line);
	box-shadow: var(--shadow-card);
}
.bi-ads-products.bi-ads-products--hotw > #home-of-the-week {
	border: 2px solid var(--color-pink);
	box-shadow: var(--shadow-card-hover);
}
.bi-ads-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--space-4);
	margin-bottom: var(--space-4);
}
.bi-ads-card h3 {
	margin: 0;
	padding: 0;
	font-size: var(--text-h3);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-heading);
}
.bi-ads-price {
	flex-shrink: 0;
	text-align: right;
}
.bi-ads-price__num {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--color-pink);
}
.bi-ads-price__period {
	display: block;
	margin-top: var(--space-1);
	font-size: var(--text-small);
	color: var(--color-muted);
}
.bi-ads-card p {
	margin: 0 0 var(--space-4);
	font-size: var(--text-body-story);
	line-height: var(--leading-body-story);
	color: var(--color-ink);
}
.bi-ads-card p:last-child {
	margin-bottom: 0;
}
.bi-ads-list {
	margin: 0 0 var(--space-5);
	padding: 0;
	list-style: none;
}
.bi-ads-list li {
	position: relative;
	margin: 0 0 var(--space-3);
	padding-left: 1.35rem;
	font-size: var(--text-body-story);
	line-height: var(--leading-body-story);
	color: var(--color-ink);
}
.bi-ads-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--color-pink);
	font-weight: 700;
}
.bi-ads-pack {
	margin: 0 0 var(--space-5);
	padding: var(--space-4);
	background: color-mix(in srgb, var(--color-pink) 6%, var(--color-white));
	border: 1px solid color-mix(in srgb, var(--color-pink) 22%, var(--color-white));
	border-radius: var(--radius-card);
	font-size: var(--text-ui);
	line-height: 1.6;
	color: var(--color-ink);
}
.bi-ads-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: auto;
	padding-top: var(--space-6);
}
.bi-ads-card__actions .bi-story__cta {
	flex: 1 1 140px;
	min-height: 44px;
	padding: 12px 20px;
}
.bi-ads-note {
	margin: var(--space-8) 0 0;
	padding-top: var(--space-5);
	border-top: 1px solid var(--color-line);
	max-width: none;
	font-size: var(--text-small);
	line-height: 1.5;
	color: var(--color-muted);
}
.bi-ads-note a {
	white-space: nowrap;
}
.bi-ads-print {
	max-width: var(--measure-prose);
}
.bi-ads-print p {
	margin: 0 0 var(--space-5);
	font-size: var(--text-body-story);
	line-height: var(--leading-body-story);
	color: var(--color-ink);
}
.bi-ads-print p:last-child {
	margin-bottom: 0;
}
.bi-ads p.bi-ads-takeaway {
	margin: var(--space-8) 0 0;
	padding: var(--space-5) var(--space-6);
	background: color-mix(in srgb, var(--color-pink) 6%, var(--color-white));
	border: 1px solid color-mix(in srgb, var(--color-pink) 22%, var(--color-white));
	border-radius: var(--radius-card);
	font-size: var(--text-body-story);
	line-height: var(--leading-body-story);
	color: var(--color-ink);
}
.bi-ads-table-wrap {
	overflow-x: auto;
	background: var(--color-white);
	border-radius: var(--radius-card-story);
	box-shadow: var(--shadow-card);
}
.bi-ads-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-family: var(--font-table);
	font-size: var(--text-small);
	line-height: 1.5;
	color: var(--color-ink);
}
.bi-ads-table th,
.bi-ads-table td {
	padding: var(--space-4) var(--space-5);
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--color-line);
}
.bi-ads-table th {
	font-weight: 600;
	color: var(--color-heading);
}
.bi-ads-table thead th {
	background: var(--color-canvas-subtle);
}
.bi-ads-table tbody th {
	background: transparent;
}
.bi-ads-table tr:last-child th,
.bi-ads-table tr:last-child td {
	border-bottom: 0;
}
.bi-ads-table strong {
	font-weight: 600;
	color: var(--color-heading);
}
.bi-ads-website {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: var(--space-10);
	align-items: center;
}
#website-advertising {
	border-top: 1px solid var(--color-line);
}
.bi-ads-website__copy .bi-story__dek {
	margin-bottom: 0;
}
.bi-ads .bi-story__close-inner {
	max-width: 40rem;
}
.bi-ads-steps {
	margin: 0 auto var(--space-8);
	padding: 0;
	list-style: none;
	counter-reset: ads-step;
	text-align: left;
}
.bi-ads-steps li {
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	gap: var(--space-4);
	align-items: start;
	margin: 0 0 var(--space-6);
	font-size: var(--text-body-story);
	line-height: var(--leading-body-story);
	color: var(--color-ink);
}
.bi-ads-steps li:last-child {
	margin-bottom: 0;
}
.bi-ads-steps li::before {
	counter-increment: ads-step;
	content: counter(ads-step);
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--color-pink);
	color: var(--color-on-pink);
	font-size: var(--text-ui);
	font-weight: 700;
	line-height: 2rem;
	text-align: center;
}
.bi-ads-steps__copy {
	min-width: 0;
	padding-top: 0.2rem;
	text-align: left;
}
.bi-ads-sig {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
	width: 100%;
	margin: var(--space-10) 0 0;
	padding-top: var(--space-8);
	border-top: 1px solid var(--color-line);
	text-align: left;
}
.bi-ads-sig img {
	display: block;
	width: 72px;
	height: 72px;
	border: 0;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 20%;
	background: var(--color-canvas);
	flex-shrink: 0;
}
.bi-ads-sig__text {
	text-align: left;
}
.bi-ads-sig p {
	margin: 0;
	font-size: var(--text-ui);
	line-height: 1.35;
	color: var(--color-ink);
}
.bi-ads-sig__name {
	font-weight: 600;
	color: var(--color-heading);
}
.bi-ads-sig__role {
	margin-top: 2px;
	color: var(--color-muted);
}
.bi-ads-modal {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: none;
	align-items: flex-end;
	justify-content: center;
	background: var(--color-overlay);
}
.bi-ads-modal.is-open {
	display: flex;
}
.bi-ads-modal__panel {
	width: 100%;
	max-width: 72rem;
	max-height: 90vh;
	overflow: hidden;
	background: var(--color-white);
	border-radius: 1.5rem 1.5rem 0 0;
	box-shadow: var(--shadow-card-hover);
}
.bi-ads-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-6);
	border-bottom: 1px solid var(--color-line);
	background: var(--color-canvas-subtle);
}
.bi-ads-modal__head h3 {
	margin: 0;
	font-size: var(--text-h3);
	font-weight: 600;
	color: var(--color-heading);
}
.bi-ads-modal__close {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--color-ink);
	cursor: pointer;
}
.bi-ads-modal__close:hover,
.bi-ads-modal__close:focus {
	background: var(--color-line);
}
.bi-ads-modal__close:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 2px;
}
.bi-ads-modal__body {
	max-height: calc(90vh - 80px);
	padding: var(--space-8);
	overflow-y: auto;
}
.bi-ads-modal__body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: var(--radius-card-story);
}
@media (min-width: 768px) {
	.bi-ads-modal {
		align-items: center;
		padding: var(--space-8);
	}
	.bi-ads-modal__panel {
		border-radius: var(--radius-card-story);
	}
}
@media (max-width: 767px) {
	.bi-ads-products {
		grid-template-columns: 1fr;
	}
	.bi-ads__hero-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.bi-ads__hero-actions .bi-story__cta,
	.bi-ads-card__actions .bi-story__cta {
		width: 100%;
	}
	.bi-ads-card__top {
		flex-direction: column;
	}
	.bi-ads-price {
		text-align: left;
	}
	.bi-ads-website {
		grid-template-columns: 1fr;
		gap: var(--space-6);
	}
}

/* /add-listing/ — page 17. Form chrome stays MyListing; copy uses tokens. */
.bi-add-listing-page,
.bi-add-listing-page * {
	box-sizing: border-box;
}
.bi-add-listing-page {
	padding: 60px 0;
	color: var(--color-ink);
	font-family: var(--font-sans);
}
.bi-add-listing-inner {
	max-width: var(--measure-page);
	margin: 0 auto;
	padding: 10px;
}
.bi-add-listing-page h1 {
	display: block;
	margin: 20px 0 40px;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h1);
	font-weight: 600;
	line-height: var(--leading-h1);
	color: var(--color-ink);
	text-align: left;
	letter-spacing: normal;
	text-transform: none;
}
.bi-add-listing-page h2 {
	margin: 2rem 0 0.75rem;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h2);
	font-weight: 600;
	line-height: var(--leading-h2);
	color: var(--color-ink);
	text-align: left;
	letter-spacing: normal;
	text-transform: none;
}
.bi-add-listing-page h2.bi-add-listing-subhead {
	margin: 24px 0 8px;
	font-size: var(--text-h4);
	font-weight: 600;
	line-height: 1.3;
}
.bi-add-listing-page p {
	margin: 0 0 var(--space-p);
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-body);
	font-weight: 400;
	line-height: var(--leading-body);
	color: var(--color-ink);
}
.bi-add-listing-page a {
	color: var(--color-pink);
	border-bottom: 1px dotted var(--color-pink);
	text-decoration: none;
}
.bi-add-listing-page a:hover,
.bi-add-listing-page a:focus {
	color: var(--color-pink-hover);
	border-bottom-color: var(--color-pink-hover);
}
.bbi2-listing-access {
	margin: 0 0 var(--space-6);
	padding: var(--space-4) var(--space-5);
	border: 1px solid var(--color-line);
	border-left: 4px solid var(--color-pink);
	border-radius: 8px;
	background: var(--color-white);
	color: var(--color-ink);
	font-family: var(--font-sans);
	font-size: var(--text-body);
	line-height: var(--leading-body);
}
.bbi2-listing-access p {
	margin: 0 0 var(--space-p-tight);
}
.bbi2-listing-access p:last-child {
	margin-bottom: 0;
}
.bbi2-listing-access a {
	color: var(--color-pink);
}
.bi-add-listing-page a.buttons,
.bbi2-listing-access-page .bbi2-listing-access a.buttons {
	font-family: var(--font-sans);
	font-size: var(--text-ui);
	font-weight: 600;
	line-height: 1.2;
	padding: 16px 32px;
	border-radius: 3px;
	border-bottom: 0;
	color: var(--color-on-pink);
	background: var(--color-pink);
}
.bi-add-listing-page a.buttons:hover,
.bi-add-listing-page a.buttons:focus,
.bbi2-listing-access-page .bbi2-listing-access a.buttons:hover,
.bbi2-listing-access-page .bbi2-listing-access a.buttons:focus {
	color: var(--color-on-pink);
	background: var(--color-pink-hover);
	border-bottom: 0;
}
.bbi2-listing-access-page {
	padding: var(--space-10) 15px var(--space-16);
}
.profile-body > .container > .bbi2-listing-access {
	margin-top: var(--space-4);
}
/* 7-class selector beats functions.php inline `.i-section:not(...)` (0,5,0). */
.bi-add-listing-page .i-section.choose-type:not(.archive-posts):not(.archive-heading):not(#post-35414) {
	margin: 0;
	padding: var(--space-4) 0 0 !important;
}
.bi-add-listing-page .choose-type .container-fluid {
	padding-left: 0;
	padding-right: 0;
}
.bi-add-listing-page .choose-type .ac-category,
.bi-add-listing-page .choose-type .col-md-6.ac-category,
.bi-add-listing-page .choose-type .col-sm-6.ac-category,
.bi-add-listing-page .choose-type .col-xs-12.ac-category {
	height: 110px;
	margin-bottom: 0;
}
.bi-add-listing-page .choose-type .cat-icon,
.bi-add-listing-page .choose-type .ac-back-side.face {
	background-color: var(--color-pink);
}
.bi-add-listing-page .choose-type .ac-back-side p {
	color: var(--color-on-pink) !important;
}
.bi-add-listing-page .cat-card .free-badge {
	background: var(--color-pink);
	color: var(--color-on-pink);
	font-size: 10px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 3px;
	position: absolute;
	top: 8px;
	right: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 10;
}
.bi-add-listing-page .cat-card:hover .free-badge {
	background: var(--color-white);
	color: var(--color-pink);
}
.bi-add-listing-inner > p:last-of-type {
	margin-bottom: 0;
}
.bi-add-listing-howto {
	padding: var(--space-6) 0 0;
}
.bi-add-listing-howto > h2:first-child {
	margin-top: 0;
}
.bi-add-listing-page ol,
.bi-add-listing-page ul {
	margin: 15px 0 var(--space-p) 20px;
	padding: 0;
}
.bi-add-listing-page ol {
	list-style: decimal outside;
}
.bi-add-listing-page ul {
	list-style: disc outside;
}
.bi-add-listing-page li {
	margin: 0 0 0.5em 20px;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-body);
	font-weight: 400;
	line-height: var(--leading-body);
	color: var(--color-ink);
}
.bi-add-listing-claim {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 16px auto;
}
@media (max-width: 1024px) {
	.bi-add-listing-page { padding: 40px 0; }
}
@media (max-width: 767px) {
	.bi-add-listing-page { padding: 30px 0; }
}
body.add-listing-form .case27-primary-text {
	margin-top: 20px !important;
}
body.add-listing-form .add-event-instructions,
body.add-listing-form .instructions-verifiction,
body.add-listing-form .bbi2-event-dup__intro,
body.add-listing-form .bbi2-event-dup__policy {
	font-size: 18px;
}

/* Explore family — tax term H1 (was Elementor heading classes). */
.bi-explore-tax-heading {
	padding: 0 10px;
}
.bi-explore-tax-title {
	margin: 20px 10px;
	padding: 0;
	font-family: GlacialIndifference, sans-serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.3;
	color: #242429;
}

/* Term explore: description + first-page list. Hidden after Vue results mount. */
.bi-term-intro {
	margin: 0 20px 20px;
	font-family: var(--font-sans);
	font-size: var(--text-body);
	font-weight: 400;
	line-height: var(--leading-body);
	color: var(--color-ink);
}
.bi-term-ssr > .bi-term-intro:first-child {
	margin-top: 20px;
}
.bi-explore-tax-heading + .bi-term-ssr > .bi-term-intro:first-child,
.bi-explore-tax-heading + .bi-term-ssr > .bi-term-ssr-list:first-child {
	margin-top: 0;
}
.bi-term-intro p {
	margin: 0 0 var(--space-p);
}
.bi-term-intro p:last-child {
	margin-bottom: 0;
}
.bi-term-intro a {
	color: var(--color-pink);
}
.bi-term-ssr-list {
	margin: 0 20px 24px;
}
.bi-term-ssr > .bi-term-ssr-list:first-child {
	margin-top: 20px;
}
.bi-term-ssr-items {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bi-term-ssr-item {
	margin: 0 0 12px;
	font-family: var(--font-sans);
	font-size: var(--text-body);
	line-height: var(--leading-body);
	color: var(--color-ink);
}
.bi-term-ssr-item a {
	color: var(--color-ink);
	font-weight: 600;
	text-decoration: underline;
}
.bi-term-ssr-address {
	display: block;
	margin-top: 2px;
	color: var(--color-muted);
	font-size: var(--text-small);
	font-weight: 400;
}
html.bi-explore-results-ready .bi-term-ssr-list {
	display: none;
}

/* /events/ — H1 + Add Event (hidden on mobile, same as Elementor). */
.bi-events-explore-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1140px;
	margin: 40px auto 0;
	padding: 0 15px;
}
.bi-events-explore-head h1 {
	margin: 0;
	padding: 0;
	font-family: GlacialIndifference, sans-serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.2;
	color: #242429;
}
.bi-events-add-btn {
	display: inline-block;
	background: #FF447C;
	color: #fff !important;
	border: 0;
	border-bottom: 0 !important;
	padding: 12px 24px;
	font-family: GlacialIndifference, sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}
.bi-events-add-btn:hover,
.bi-events-add-btn:focus {
	background: #FF447C;
	color: #fff !important;
}
.page-id-3051 .i-section.explore-type-2 {
	padding-top: 0 !important;
}
@media (max-width: 767px) {
	.bi-events-add-btn {
		display: none;
	}
	.bi-events-explore-head {
		margin-top: 20px;
	}
}

/* /categories/ */
.bi-categories-page {
	padding: 40px 0 60px;
	color: #242429;
	font-family: GlacialIndifference, sans-serif;
}
.bi-categories-inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 10px 15px 0;
}
.bi-categories-page h1 {
	margin: 20px 0 10px;
	padding: 0;
	font-family: GlacialIndifference, sans-serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.2;
	color: #242429;
}
.bi-categories-page .i-section {
	padding-top: 20px !important;
}
.bi-nl-signup-proof {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.bi-nl-signup-proof p {
	margin: 0;
	color: var(--color-ink);
	font-size: var(--text-small);
}
.bi-nl-signup-proof a {
	color: var(--color-pink);
	text-decoration: underline;
}
.bi-nl-signup-socialproof {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.bi-nl-signup-avatars {
	display: flex;
}
.bi-nl-signup-avatars span {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	overflow: hidden;
	border: 2px solid #0f172a;
	margin-left: -0.5rem;
}
.bi-nl-signup-avatars span:first-child {
	margin-left: 0;
}
.bi-nl-signup-avatars img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.bi-nl-signup-stars {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.bi-nl-signup-stars svg {
	width: 1rem;
	height: 1rem;
	fill: #fbbf24;
}
.bi-nl-signup-stars em {
	font-style: normal;
	color: var(--color-ink);
	font-size: var(--text-small);
	font-weight: 500;
}
.bi-nl-phone {
	position: relative;
	margin: 0 auto;
	width: 340px;
	height: 680px;
	background: #0f172a;
	border-radius: 3rem;
	padding: 0.75rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
	border: 1px solid #374151;
}
.bi-nl-phone-screen {
	width: 100%;
	height: 100%;
	background: #fff;
	border-radius: 2.5rem;
	overflow: hidden;
}
.bi-nl-phone-scroll {
	height: 100%;
	overflow-y: auto;
}
.bi-nl-phone iframe {
	width: 100%;
	height: 14000px;
	border: none;
	display: block;
	overflow: hidden;
	scrollbar-width: none;
}
.bi-nl-phone iframe::-webkit-scrollbar {
	display: none;
}
.bi-nl-signup-features {
	border-top: 1px solid rgba(51, 65, 85, 0.5);
	background-color: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(8px);
}
.bi-nl-signup-features-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 3rem 1rem;
}
.bi-nl-signup-features-grid {
	display: grid;
	gap: 2rem;
	max-width: 64rem;
	margin: 0 auto;
	/* Six tracks so five cards read as three, then two centered. */
	grid-template-columns: repeat(6, minmax(0, 1fr));
}
.bi-nl-signup-feature {
	grid-column: span 2;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.bi-nl-signup-feature:nth-child(4) {
	grid-column: 2 / span 2;
}
.bi-nl-signup-feature:nth-child(5) {
	grid-column: 4 / span 2;
}
.bi-nl-signup-feature svg {
	width: 48px;
	height: 48px;
	margin: 0 auto 0.5rem;
}
.bi-nl-signup-feature h3 {
	margin: 0;
	font-weight: 600;
	color: var(--color-white) !important;
}
.bi-nl-signup-feature p {
	margin: 0;
	font-size: var(--text-body);
	line-height: 1.25rem;
	color: var(--color-white);
}
@media (max-width: 767px) {
	.bi-nl-signup-hero {
		padding: 60px 20px 40px;
	}
	.bi-nl-signup-copy,
	.bi-nl-signup-phone {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.bi-nl-signup-phone {
		padding-top: 30px;
		padding-bottom: 20px;
	}
	.bi-nl-signup-features-grid {
		grid-template-columns: 1fr;
	}
	.bi-nl-signup-feature,
	.bi-nl-signup-feature:nth-child(4),
	.bi-nl-signup-feature:nth-child(5) {
		grid-column: auto;
	}
}

/* Word wrap fix */
.wp-editor-content > a {
	 /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;

}

/* =============================================================================
   HEADINGS
   ========================================================================== */

h1 {
	color: var(--color-ink);
}

/* =============================================================================
   FOOTER
   ========================================================================== */

.footer .col-sm-6 {
	width:100%;
	font-size: 14px;
}

/* Bainbridge Island Footer Styles */
/* Theme footer.css (printed after this file) adds padding-top above the widget:
   50px, 45px ≤992, 40px ≤768, 35px ≤480. Halve that band. */
footer.footer {
  padding-top: 25px;
}

.bi-footer-wrapper {
  background-color: var(--color-white);
  width: 100%;
  padding: 30px 20px 40px;
}

.bi-footer-container {
  max-width: 100%;
  margin: 0 auto;
}

/* Newsletter Section - Top */
.bi-footer-newsletter-section {
  margin-bottom: 60px;
  text-align: center;
}

.bi-footer-newsletter-section > .bi-footer-heading {
  margin-top: 10px;
}

.bi-footer-newsletter-form {
  display: flex;
  gap: 0;
  max-width: 900px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: hidden;
}

.bi-footer-form-input {
  flex: 1;
  padding: 20px 30px;
  border: none;
  background-color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--color-ink);
  outline: none;
}

.bi-footer-form-input::placeholder {
  color: var(--placeholder-color);
}

.bi-footer-form-input:first-child {
  border-right: 1px solid var(--color-line);
}

.bi-footer-subscribe-button {
  padding: 20px 50px;
  background-color: var(--color-pink);
  color: var(--color-on-pink);
  border: none;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.bi-footer-subscribe-button:hover {
  background-color: var(--color-pink-pressed);
}

.bi-footer-subscriber-text {
  font-size: 16px;
  color: var(--color-ink);
  opacity: 0.8;
}

/* Links Section */
.bi-footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-line);
}

.bi-footer-column {
  display: flex;
  flex-direction: column;
}

.bi-footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-pink);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bi-footer-nav {
  list-style: none;
}

.bi-footer-nav-item {
  margin-bottom: 12px;
}

.bi-footer-link {
  color: var(--color-ink);
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}

.bi-footer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-pink);
  transition: width 0.3s ease;
}

.bi-footer-link:hover {
  color: var(--color-pink);
}

.bi-footer-link:hover::after {
  width: 100%;
}

.bi-footer-bottom {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--color-line);
  text-align: center;
  font-size: 14px;
  color: var(--color-ink);
  opacity: 0.7;
}

.bi-footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.bi-footer-bottom a {
  color: inherit;
}

/* Tablet Styles */
@media (max-width: 992px) {
  .bi-footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .bi-footer-newsletter-form {
    max-width: 700px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  footer.footer {
    padding-top: 20px;
  }

  .bi-footer-wrapper {
    padding: 20px 20px 30px;
  }

  .bi-footer-newsletter-section {
    margin-bottom: 40px;
  }

  .bi-footer-newsletter-form {
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .bi-footer-form-input {
    padding: 18px 24px;
    font-size: 16px;
    border-right: none !important;
    border-bottom: 1px solid var(--color-line);
  }

  .bi-footer-form-input:last-of-type {
    border-bottom: none;
  }

  .bi-footer-subscribe-button {
    padding: 18px 24px;
    font-size: 16px;
    border-radius: 0 0 12px 12px;
  }

  .bi-footer-subscriber-text {
    font-size: 14px;
    padding: 0 10px;
  }

  .bi-footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 30px;
  }

  .bi-footer-column {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-line);
  }

  .bi-footer-column:last-child {
    border-bottom: none;
  }

  .bi-footer-heading {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .bi-footer-link {
    font-size: 15px;
  }

  .bi-footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    font-size: 13px;
  }
}

/* Explore Bainbridge app — compact footer promo (injected via BBI2_Footer_App_Promo) */
.eb-app-footer {
  --eb-pink: var(--color-pink);
  --eb-pink-dark: var(--color-pink-pressed);
  --eb-ink: #1A1A2E;
  --eb-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
  font-family: var(--eb-font);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 40px;
}

.eb-app-footer *,
.eb-app-footer *::before,
.eb-app-footer *::after {
  box-sizing: border-box;
}

.eb-app-footer__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 68, 124, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 68, 124, 0.07) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 24px rgba(26, 26, 46, 0.06);
  overflow: hidden;
  position: relative;
}

.eb-app-footer__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--eb-pink) 0%, var(--eb-pink-dark) 100%);
  border-radius: 14px 0 0 14px;
}

.eb-app-footer__main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
  padding-left: 6px;
}

.eb-app-footer__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(26, 26, 46, 0.14);
}

.eb-app-footer__icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px !important;
}

.eb-app-footer__copy {
  min-width: 0;
}

.eb-app-footer__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 2px;
}

.eb-app-footer__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--eb-ink);
  letter-spacing: -0.01em;
}

.eb-app-footer__title span {
  color: var(--eb-pink);
}

.eb-app-footer__pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 68, 124, 0.1);
  color: var(--eb-pink-dark);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.eb-app-footer__tagline {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(26, 26, 46, 0.72);
  line-height: 1.45;
}

.eb-app-footer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.eb-app-footer__store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--eb-ink);
  color: #fff !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 2px 10px rgba(26, 26, 46, 0.16);
}

.eb-app-footer__store-btn:hover {
  transform: translateY(-1px);
  background: #111827;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.22);
}

.eb-app-footer__store-btn svg {
  flex-shrink: 0;
}

.eb-app-footer__store-label {
  display: block;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.1;
}

.eb-app-footer__store-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.eb-app-footer__learn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.78) !important;
  text-decoration: none !important;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 68, 124, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.eb-app-footer__learn:hover {
  color: var(--eb-pink) !important;
  border-color: var(--eb-pink);
  text-decoration: none !important;
}

@media (max-width: 820px) {
  .eb-app-footer__card {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 16px 16px;
  }

  .eb-app-footer__actions {
    width: 100%;
    justify-content: stretch;
  }

  .eb-app-footer__store-btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    justify-content: center;
  }

  .eb-app-footer__learn {
    width: 100%;
    justify-content: center;
    margin-top: 2px;
  }
}

@media (max-width: 520px) {
  .eb-app-footer {
    margin-bottom: 32px;
  }

  .eb-app-footer__title-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 8px 10px;
  }

  .eb-app-footer__pill {
    position: relative;
    top: -2px;
  }

  .eb-app-footer__actions {
    flex-direction: column;
  }

  .eb-app-footer__store-btn {
    width: 100%;
    flex: none;
    justify-content: flex-start;
  }
}

/* =============================================================================
   MAPS PAGE — Explore Bainbridge featured promo + trail map list
   Used on /bainbridge-island-maps/ (coded: partials/canvas-maps.php)
   ========================================================================== */

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main),
.entry-content .eb-app-promo:has(.eb-app-promo__main) {
  --eb-pink: var(--color-pink);
  --eb-pink-dark: var(--color-pink-pressed);
  --eb-ink: #1A1A2E;
  --eb-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
  font-family: var(--eb-font);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 1140px;
  margin: 28px auto 36px;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) *,
.entry-content .eb-app-promo:has(.eb-app-promo__main) *,
.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) *::before,
.entry-content .eb-app-promo:has(.eb-app-promo__main) *::before,
.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) *::after,
.entry-content .eb-app-promo:has(.eb-app-promo__main) *::after {
  box-sizing: border-box;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__card,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding: 22px 24px 22px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 68, 124, 0.22);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 68, 124, 0.12) 0%, transparent 42%),
    linear-gradient(135deg, rgba(255, 68, 124, 0.08) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, #fcfcfd 0%, #f2f5f8 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 14px 36px rgba(26, 26, 46, 0.08);
  overflow: hidden;
  position: relative;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__card::before,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--eb-pink) 0%, var(--eb-pink-dark) 100%);
  border-radius: 18px 0 0 18px;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__card::after,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__card::after {
  display: none;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__main,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1 1 280px;
  padding-left: 4px;
  position: relative;
  z-index: 1;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__icon-wrap,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(26, 26, 46, 0.14);
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__icon,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 16px !important;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__copy,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__copy {
  min-width: 0;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__eyebrow,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__eyebrow {
  margin: 0 0 6px !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eb-pink-dark);
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__title-row,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__title,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__title {
  margin: 0 !important;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--eb-ink);
  letter-spacing: -0.02em;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__title span,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__title span {
  color: var(--eb-pink);
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__pill,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 68, 124, 0.12);
  color: var(--eb-pink-dark);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__tagline,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__tagline {
  margin: 0 0 12px !important;
  font-size: 0.9375rem;
  color: rgba(26, 26, 46, 0.82);
  max-width: 36rem;
  line-height: 1.45;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) ul.eb-app-promo__features,
.entry-content .eb-app-promo:has(.eb-app-promo__main) ul.eb-app-promo__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__features li,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__features li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 26, 46, 0.08);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.86);
  white-space: nowrap;
  margin: 0 !important;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__features li::before,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__features li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--eb-pink);
  flex-shrink: 0;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__actions,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__actions {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  width: 184px;
  position: relative;
  z-index: 1;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__stores,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__stores {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-btn,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--eb-ink);
  color: #fff !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 2px 10px rgba(26, 26, 46, 0.16);
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-btn:hover,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-btn:hover {
  transform: translateY(-1px);
  background: #111827;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(26, 26, 46, 0.22);
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-btn svg,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-btn > span,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-btn > span {
  min-width: 0;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-label,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-label {
  display: block;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.1;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-name,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__store-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__learn,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__learn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  padding: 4px 2px;
  border-radius: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.78) !important;
  text-decoration: none !important;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 68, 124, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__learn:hover,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__learn:hover {
  color: var(--eb-pink) !important;
  border-color: var(--eb-pink);
  background: transparent;
  text-decoration: none !important;
}

.bi-single-post__content ul.bi-maps-trail-list,
.entry-content ul.bi-maps-trail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px 16px;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.bi-single-post__content .bi-maps-trail-list li,
.entry-content .bi-maps-trail-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.bi-single-post__content .bi-maps-trail-list a,
.entry-content .bi-maps-trail-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f6f8fa;
  border: 1px solid rgba(26, 26, 46, 0.08);
  text-decoration: none !important;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bi-single-post__content .bi-maps-trail-list a:hover,
.entry-content .bi-maps-trail-list a:hover {
  background: #fff;
  border-color: rgba(255, 68, 124, 0.28);
}

@media (max-width: 860px) {
  .bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__card,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__card {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 20px 20px 16px;
  }

  .bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__main,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__main {
    flex: none;
    width: 100%;
  }

  .bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__actions,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__actions {
    width: 100%;
    max-width: 280px;
    align-self: center;
  }
}

@media (max-width: 560px) {
  .bi-single-post__content .eb-app-promo:has(.eb-app-promo__main),
.entry-content .eb-app-promo:has(.eb-app-promo__main) {
    margin: 22px auto 28px;
  }

  .bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__main,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__main {
    align-items: flex-start;
  }

  .bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__actions,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__actions {
    max-width: none;
    align-self: stretch;
  }

  .bi-single-post__content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__features li,
.entry-content .eb-app-promo:has(.eb-app-promo__main) .eb-app-promo__features li {
    white-space: normal;
  }

  .bi-single-post__content ul.bi-maps-trail-list,
.entry-content ul.bi-maps-trail-list {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   HOMEPAGE — Explore Bainbridge hero promo
   :has(.eb-app-promo__inner) so maps-page compact promo rules above do not apply.
   ========================================================================== */

.eb-app-promo:has(.eb-app-promo__inner) {
  --eb-pink: var(--color-pink);
  --eb-pink-dark: var(--color-pink-pressed);
  --eb-text: #1A1A2E;
  --eb-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
  font-family: var(--eb-font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  left: auto;
  right: auto;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
  background-color: #1c2430;
}

.eb-app-promo:has(.eb-app-promo__inner) *,
.eb-app-promo:has(.eb-app-promo__inner) *::before,
.eb-app-promo:has(.eb-app-promo__inner) *::after {
  box-sizing: border-box;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://explorebainbridge.com/BainbridgeFerryTerminal.jpg");
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.42) saturate(0.85);
  transform: scale(1.03);
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 18, 28, 0.88) 0%,
    rgba(15, 18, 28, 0.72) 45%,
    rgba(15, 18, 28, 0.55) 100%
  );
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px 48px;
  align-items: center;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 620px;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px !important;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff !important;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__title span {
  color: var(--eb-pink);
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__subtitle {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  max-width: 540px;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__badge svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  width: auto;
  flex-direction: row;
  align-items: stretch;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  width: auto;
  min-height: 0;
  padding: 11px 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--eb-text) !important;
  text-decoration: none !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.24);
  background: #fff;
  color: var(--eb-text) !important;
  text-decoration: none !important;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__store-btn svg {
  width: 28px;
  height: 28px;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__store-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7280;
  line-height: 1.2;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__store-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--eb-text);
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  width: auto;
  padding-bottom: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 68, 124, 0.55);
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__learn:hover {
  color: var(--eb-pink) !important;
  border-color: var(--eb-pink);
  text-decoration: none !important;
  background: transparent;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__visual .eb-app-promo__card {
  --eb-frame-radius: 34px;
  --eb-frame-bezel: 10px;
  --eb-screen-radius: calc(var(--eb-frame-radius) - var(--eb-frame-bezel));
  display: block;
  width: min(260px, 40vw);
  padding: 28px 22px 32px;
  border-radius: 14px;
  border: none;
  background: var(--eb-pink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  text-align: center;
  overflow: visible;
  position: relative;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__visual .eb-app-promo__card::before,
.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__visual .eb-app-promo__card::after {
  display: none;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__card-headline {
  margin: 0 0 20px;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__phone-frame {
  background: #fff;
  padding: var(--eb-frame-bezel);
  border-radius: var(--eb-frame-radius);
  line-height: 0;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__phone-screen-wrap {
  border-radius: var(--eb-screen-radius);
  overflow: hidden;
  line-height: 0;
}

.eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__phone-screen {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--eb-screen-radius) !important;
}

@media (max-width: 900px) {
  .eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px 52px;
    text-align: left;
  }

  .eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__visual {
    display: none;
  }
}

@media (max-width: 520px) {
  .eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__inner {
    padding: 40px 16px 48px;
  }

  .eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__actions {
    flex-direction: column;
    width: 100%;
  }

  .eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__store-btn {
    width: 100%;
    min-width: 0;
  }

  .eb-app-promo:has(.eb-app-promo__inner) .eb-app-promo__badge {
    white-space: normal;
  }
}

/* =============================================================================
   ADS
   ========================================================================== */

.ad-padding {
	margin-bottom:30px !important;
}

.code-block-label {color:var(--light-gray) !important;}

/* =============================================================================
   HOMEPAGE
   ========================================================================== */

.overlay.gradient1 {background-blend-mode: darken;}

.bi-home-page .c27-main-header:not(.header-scroll) .header-skin,
body.page-id-43769 .c27-main-header:not(.header-scroll) .header-skin {
	background-color: rgba(25, 28, 31, 0);
	border-color: rgba(255, 255, 255, 0.2);
}

.bi-home,
.bi-home * {
	box-sizing: border-box;
}

.bi-home-inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 10px;
}

.bi-home-block {
	padding: 60px 0;
}

.bi-home-block--white {
	background: var(--color-white);
}

.bi-home-eyebrow {
	margin: 0 0 8px;
	padding: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--black) !important;
	text-align: center;
}

.bi-home-block h2 {
	margin: 0 0 20px;
	color: var(--color-ink) !important;
	font-weight: 600;
	text-align: center;
	text-wrap: balance;
}

.bi-home-page .i-section {
	padding: 0;
}

.bi-home-page .listing-feed > .container-fluid,
.bi-home-page .i-section > .container-fluid {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
}

.bi-home-page {
	overflow-x: hidden;
}

.bi-home-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 0 20px;
	text-align: center;
	background-color: #191926;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.bi-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--color-overlay);
	pointer-events: none;
}

.bi-home-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1140px;
	text-align: center;
}

.bi-home-hero h1 {
	margin: 0 0 10px !important;
	font-size: 56px !important;
	font-weight: 700 !important;
	line-height: 1.15;
	color: var(--color-white) !important;
	text-align: center !important;
	text-wrap: balance;
	-webkit-font-smoothing: antialiased;
}

.bi-home-hero__sub {
	margin: 0 auto 20px;
	max-width: 800px;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--color-white) !important;
	text-wrap: pretty;
}

/* Wrapper must stay block. GF 3.1 theme.css loads after this file and
   `display:flex` on the wrapper shrink-wraps the pill (~570px). */
.bi-home-hero .gform_wrapper {
	display: block !important;
	width: 100% !important;
	max-width: 800px !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

.bi-home-hero #gform_15,
.bi-home-hero #gform_15 form,
.bi-home-hero .gform_body {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
}

.bi-home-hero .gform_fields {
	display: flex !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
	max-width: none !important;
}

.bi-home-hero .gfield.gfield--width-third {
	width: auto !important;
	max-width: none !important;
	flex: 1 1 0% !important;
}

.bi-home-hero .gfield.gfield--type-html {
	flex: 0 0 auto !important;
	width: auto !important;
}

.bi-home-hero .gfield--type-honeypot,
.bi-home-hero .gfield--type-hidden,
.bi-home-hero .gform_hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	flex: 0 0 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	pointer-events: none;
}

.bi-home-hero__join {
	margin: 20px auto 0;
	max-width: 800px;
	padding: 0 10px;
	font-size: 16px;
	line-height: 20px;
	color: var(--color-white) !important;
}

.bi-home-cta-wrap {
	padding: 30px 10px 0;
	text-align: center;
}

.bi-home-cta {
	display: inline-block;
	padding: 16px 32px;
	border-radius: 3px;
	background: var(--color-pink);
	color: var(--color-on-pink) !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.bi-home-cta:hover,
.bi-home-cta:focus {
	background: var(--color-pink-hover);
	color: var(--color-on-pink) !important;
	text-decoration: none;
}

.bi-home-cta--md {
	padding: 12px 24px;
	font-size: 15px;
}

.bi-home-tiles {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-top: 10px;
}

.bi-home-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	overflow: hidden;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	text-align: center;
}

.bi-home-tile--round {
	border-radius: 30px;
}

.bi-home-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.29);
	opacity: 0.5;
	pointer-events: none;
	z-index: 1;
}

.bi-home-tile:hover::before {
	background: rgba(0, 0, 0, 0.46);
}

.bi-home-tile__hit {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.bi-home-tile__content {
	position: relative;
	z-index: 2;
	padding: 30px;
	pointer-events: none;
}

.bi-home-tile h2 {
	margin: 0;
	color: var(--color-white) !important;
}

.bi-home-tile .buttons {
	pointer-events: auto;
	margin-top: 40px;
}

.bi-home-pickleball {
	margin: 20px 10px 0;
	padding: 0;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
}

.bi-home-pickleball a {
	color: var(--color-pink);
}

.bi-home-ad-carousel {
	display: none;
}

.bi-home-events {
	position: relative;
	padding: 180px 20px;
	background-color: #1d2329;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.bi-home-events::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(29, 35, 41, 0.98);
	opacity: 0.63;
	pointer-events: none;
}

.bi-home-events__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 20px;
	max-width: 1140px;
	margin: 0 auto;
}

.bi-home-events h2,
.bi-home-events p {
	color: var(--color-white) !important;
	text-align: left;
}

.bi-home-events h2 {
	text-wrap: balance;
}

.bi-home-events p {
	margin: 0;
	font-size: 18px;
}

.bi-home-events .bi-home-cta {
	margin-top: 30px;
}

.bi-home-map .contact-map,
.bi-home-map .featured-map {
	height: 500px !important;
}

@media (min-width: 768px) {
	.bi-home-tiles {
		grid-template-columns: 1fr 1fr;
	}

	.bi-home-events__inner {
		grid-template-columns: 55% 1fr;
		align-items: center;
	}
}

@media (max-width: 1024px) {
	.bi-home-block {
		padding: 40px 0;
	}

	.bi-home-events {
		padding: 40px 20px;
	}

	.bi-home-map {
		display: none !important;
	}
}

@media (max-width: 768px) {
	.bi-home-hero {
		min-height: 100vh;
		min-height: 100dvh;
		padding: 0 16px;
	}

	.bi-home-hero #gform_wrapper_15 .gfield--type-html button,
	.bi-home-hero #gform_wrapper_15 .ginput_container_text input[type="text"],
	.bi-home-hero #gform_wrapper_15 .ginput_container_email input[type="email"] {
		border-radius: 24px !important;
		width: 100% !important;
	}

	.bi-home-hero h1 {
		font-size: 26px !important;
		font-weight: 700 !important;
	}

	.bi-home-hero__sub {
		font-size: 18px;
		line-height: 20px;
	}

	.bi-home-hero__join {
		font-size: 14px;
	}

	.bi-home-block {
		padding: 30px 0;
	}

	.bi-home-tile {
		min-height: 220px;
	}

	.bi-home-events {
		padding: 0 16px 30px;
		text-align: center;
	}

	.bi-home-events h2,
	.bi-home-events p {
		text-align: center;
	}

	.bi-home-hide-mobile {
		display: none !important;
	}
}

/* =============================================================================
   EVENTS
   ========================================================================== */

/*Events*/

/*Annual Events*/
.service-item-info > div > ul > li {margin-top:20px;}

.service-item-info > div > ul > li > a {font-weight:600;}

.top_label > li > label {
margin-top: 30px !important;
	padding: 0;
}

/* =============================================================================
   SIMILAR LISTINGS
   ========================================================================== */

/* .lf-item .overlay{
    display: none;
}
.lf-background {
    background-color: var(--similar-listings);
} */

.single-post .fa.fa-calendar{
	display: none !important;
}

/* =============================================================================
   SINGLE POST
   ========================================================================== */

.bi-single-post-page .bi-single-post__hero,
.bi-single-post-page .bi-single-post__hero *,
.bi-single-post-page .bi-single-post__inner {
	box-sizing: border-box;
}

.bi-single-post__hero {
	position: relative;
	box-sizing: border-box;
	min-height: 390px;
	background-color: var(--color-ink);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.bi-single-post__hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--color-overlay-photo);
	pointer-events: none;
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
	.bi-single-post__hero--image {
		background-attachment: fixed;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bi-single-post__hero--image {
		background-attachment: scroll;
	}
}

/* iPadOS Safari is ≥1025px in landscape (and reports a fine pointer with a trackpad).
   background-attachment:fixed + cover sizes the image to the document, so a 390px
   hero shows a tiny crop. WebKit still supports this query; Mac Safari does not. */
@supports (-webkit-overflow-scrolling: touch) {
	.bi-single-post__hero--image {
		background-attachment: scroll;
	}
}

/* A positioned Top Image, or the eager cover photo. Default listings stay on the background crop above. */
.bi-single-post__hero--focus,
.bi-single-post__hero--lcp {
	overflow: hidden;
	background-image: none;
	background-attachment: scroll;
}

.bi-single-post__hero--focus .bi-single-post__hero-photo,
.bi-single-post__hero--lcp .bi-single-post__hero-photo {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--bbi2-focus-x, 50%) var(--bbi2-focus-y, 50%);
	pointer-events: none;
}

.bi-single-post__hero--focus::before,
.bi-single-post__hero--lcp::before {
	z-index: 1;
}

.bi-single-post__hero--focus .bi-single-post__hero-inner,
.bi-single-post__hero--lcp .bi-single-post__hero-inner {
	z-index: 2;
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
	.bi-single-post__hero--image.bi-single-post__hero--focus,
	.bi-single-post__hero--image.bi-single-post__hero--lcp {
		background-attachment: scroll;
		background-image: none;
	}
}

.bi-single-post__hero-inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	max-width: 1140px;
	min-height: 390px;
	margin: 0 auto;
	padding: 0 10px 10px;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}

/* Phone: 16:9 of a 390px screen. A 390px bar hid the title below the fold. */
@media (max-width: 768px) {
	.bi-single-post__hero,
	.bi-single-post__hero-inner {
		min-height: 220px;
	}
}

.bi-single-post__hero-bar {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 15px;
	padding-bottom: 10px;
}

/* Visit line on the left, chip on the right, tops aligned. */
.bi-single-post__hero-bar--split {
	width: 100%;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 24px;
}

.bi-single-post__hero-bar--split .bi-single-post__cats {
	flex: 0 0 auto;
}

@media (max-width: 1200px) {
	.bi-listing-uplink--photo {
		display: none;
	}

	.bi-single-post__hero-bar--split {
		justify-content: flex-end;
	}
}

.bi-single-post__cats {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	box-sizing: border-box;
	margin: 0;
	height: auto;
	min-height: 40px;
	padding: 10px;
	border-radius: 5px;
	background: var(--color-pink);
	color: #fff;
	font-size: 15px;
	line-height: 1;
	font-family: GlacialIndifference, sans-serif;
}

.bi-single-post__cats-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	color: #fff;
	font-size: 14px;
	line-height: 1;
}

.bi-single-post__cats-icon i {
	font-size: 14px;
	line-height: 1;
	width: 14px;
	text-align: center;
}

.bi-single-post__cats a,
.bi-single-post__cats a:hover,
.bi-single-post__cats a:focus {
	color: #fff !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
}

.bi-single-post__cats-list {
	display: inline;
	line-height: 1;
}

.bi-single-post__cats-sep {
	color: #fff;
}

.bi-single-post__body {
	margin: 0 0 50px;
}

.bi-daytrips-uplink {
	margin: 0 0 1.25em;
}

.bi-single-post__inner {
	max-width: var(--measure-prose);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.bi-single-post__inner--wide {
	max-width: var(--measure-wide);
}

.bi-single-post__inner > h1 {
	margin: 20px 0 40px;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h1);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
	text-align: left;
	letter-spacing: normal;
	text-transform: none;
}

.bi-single-post__inner:has(.bi-byline) > h1 {
	margin-bottom: var(--space-2);
}

.bi-byline {
	margin: 0 0 var(--space-6);
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-ui);
	font-weight: 400;
	line-height: 1.4;
	color: var(--color-ink);
}

.bi-byline__name {
	font-weight: 400;
}

/* Phase 2 — shared article / legal / canvas type. */
.bi-prose {
	font-family: var(--font-sans);
	font-size: var(--text-body);
	line-height: var(--leading-body);
	color: var(--color-ink);
}
.bi-prose--story {
	line-height: var(--leading-body-story);
}
.bi-canvas-landing.bi-prose--wide,
.bi-canvas-ferry.bi-prose--wide,
.bi-canvas-weather.bi-prose--wide,
.bi-canvas-tides.bi-prose--wide,
.bi-canvas-visitor.bi-prose--wide,
.bi-canvas-getting.bi-prose--wide {
	max-width: var(--measure-wide);
	margin-inline: auto;
}
.bi-prose > h1 {
	margin: 20px 0 40px;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h1);
	font-weight: 600;
	line-height: var(--leading-h1);
	color: var(--color-ink);
	text-align: left;
	letter-spacing: normal;
	text-transform: none;
}
.bi-prose p {
	margin: 0 0 var(--space-p);
	padding: 0;
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
	color: var(--color-ink);
}
.bi-prose h2 {
	margin: 2rem 0 0.75rem;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h2);
	font-weight: 600;
	line-height: var(--leading-h2);
	color: var(--color-ink);
	letter-spacing: normal;
	text-transform: none;
}
.bi-prose h3 {
	margin: 2rem 0 0.75rem;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h3);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
}
.bi-prose h4 {
	margin: 1.5rem 0 0.5rem;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h4);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
}
.bi-prose strong,
.bi-prose b {
	font-weight: 600;
	color: var(--color-ink);
}
.bi-prose a {
	color: var(--color-pink);
	border-bottom: 1px dotted var(--color-pink);
	text-decoration: none;
}
.bi-prose a:hover,
.bi-prose a:focus {
	color: var(--color-pink-hover);
	border-bottom-color: var(--color-pink-hover);
}
/* Listing cover Call buttons stay white. That color used to come from the
   parent theme frontend.css, which no longer loads. Everywhere else, phone
   numbers are Island Pink so they stay visible on light canvas/body copy. */
.lmb-calltoaction > a[href*="tel:"] {
	color: #fff;
}
a[href*="tel:"]:not(.lmb-calltoaction > a) {
	color: var(--color-pink);
	-webkit-text-fill-color: var(--color-pink);
}
a[href*="tel:"]:not(.lmb-calltoaction > a):hover,
a[href*="tel:"]:not(.lmb-calltoaction > a):focus {
	color: var(--color-pink-hover);
	-webkit-text-fill-color: var(--color-pink-hover);
}
.bi-prose .eb-app-promo a,
.bi-prose .bi-canvas-landing__gallery-grid a,
.bi-prose a.bi-lightbox-trigger,
.bi-prose a.bi-walk-map-link,
.bi-prose a.bi-walk-map-lightbox-close {
	border-bottom: none;
}
.bi-prose img {
	max-width: 100%;
	height: auto;
}
.bi-prose > figure,
.bi-prose .wp-block-image,
.bi-prose .wp-caption {
	margin: var(--space-6) 0;
}
/* Drive live-cam: square preview cropped to 1100×370, then scaled to the column. */
.bi-pickleball-cam {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 1100 / 370;
	overflow: hidden;
	margin: 0 0 var(--space-p);
	background: #111;
}
.bi-pickleball-cam__iframe {
	position: absolute;
	left: 0;
	width: 100%;
	height: calc(100% * 1100 / 370);
	top: calc(100% * -365 / 370);
	border: 0;
}
.bi-pickleball-cam__photo {
	display: block;
	width: 100%;
	height: auto;
}
.bi-pickleball-cam__logo {
	position: absolute;
	right: 10px;
	bottom: 16px;
	width: 36px;
	height: 36px;
	max-width: 36px;
	z-index: 1;
	pointer-events: none;
}
.bi-prose .bi-pickleball-cam__logo {
	width: 36px;
	height: 36px;
	max-width: 36px;
}
@media (max-width: 767px) {
	.bi-pickleball-cam__logo,
	.bi-prose .bi-pickleball-cam__logo {
		width: 28px;
		height: 28px;
		max-width: 28px;
		right: 8px;
		bottom: 10px;
	}
}
.bi-prose ul {
	margin: 0 0 var(--space-p) 1.25em;
	padding: 0;
	list-style: disc outside;
}
.bi-prose ol {
	margin: 0 0 var(--space-p) 1.5em;
	padding: 0;
	list-style: decimal outside;
}
.bi-prose li {
	margin: 0 0 0.5em;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
	color: var(--color-ink);
}
.bi-prose figcaption {
	margin-top: 8px;
	font-size: var(--text-caption);
	font-style: italic;
	line-height: 1.5;
	color: var(--color-ink);
}
.bi-prose > h2:first-child[style*="italic"] {
	font-style: normal;
	font-weight: 400;
	font-size: var(--text-body);
	line-height: inherit;
	margin: 0 0 var(--space-5);
}

.bi-single-post__pages {
	margin: 20px 0;
}

@media (max-width: 768px) {
	.bi-single-post__inner > h1,
	.bi-prose > h1 {
		font-size: var(--text-h1-sm);
		line-height: 1.3;
	}

	.bi-single-post__hero-bar {
		flex-wrap: wrap;
		gap: 10px;
	}

	.bi-single-post__inner {
		padding-inline: var(--gutter-sm);
	}
}

/* =============================================================================
   WORKSTREAM 8 CANVASES (ferry / weather / tides / landings)
   Layout + chrome only. Type is .bi-prose (Phase 2).
   ========================================================================== */

.bi-canvas-ferry__top {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: var(--space-5);
	margin: 0 0 var(--space-5);
	align-items: start;
}

/* Canvas H1 sits below the magazine photo hero (or the ad banner when a page has no hero). */
.bi-single-post__inner > .bi-canvas-visitor:first-child > h1:first-child {
	margin-top: var(--space-10);
}

.bi-canvas-toc {
	border: 1px solid var(--color-pink);
	border-radius: var(--radius-card);
	overflow: hidden;
}

.bi-prose .bi-canvas-toc__title,
.bi-canvas-toc__title {
	margin: 0;
	padding: var(--space-4);
	border-bottom: 1px solid var(--color-pink);
	font-size: var(--text-ui);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
}

.bi-prose .bi-canvas-toc ol {
	margin: 0 0 var(--space-2) var(--space-8);
	padding: var(--space-4) var(--space-4) var(--space-2) 0;
}

.bi-prose .bi-canvas-toc li {
	font-size: var(--text-ui);
	margin-bottom: var(--space-2);
}

/* Tall lists clip to the intro (desktop) or six links (narrow). JS adds the control. */
.bi-canvas-toc__more {
	display: none;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: var(--space-3) var(--space-4);
	border: 0;
	border-top: 1px solid var(--color-pink);
	border-radius: 0;
	background: transparent;
	color: var(--color-pink);
	font-family: inherit;
	font-size: var(--text-ui);
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.bi-canvas-toc.is-collapsed .bi-canvas-toc__more,
.bi-canvas-toc.is-measuring .bi-canvas-toc__more {
	display: flex;
	align-items: center;
	justify-content: center;
}

.bi-canvas-toc__more:hover,
.bi-canvas-toc__more:focus {
	color: var(--color-pink-hover);
}

.bi-canvas-toc__more:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: -4px;
}

.bi-canvas-toc.is-collapsed .bi-canvas-toc__clip {
	overflow: hidden;
	overflow: clip;
}

.bi-canvas-toc.is-collapsed.is-cut .bi-canvas-toc__clip {
	-webkit-mask-image: linear-gradient(#000 0, #000 calc(100% - 32px), transparent);
	mask-image: linear-gradient(#000 0, #000 calc(100% - 32px), transparent);
}

.bi-canvas-alert {
	margin: 0 0 30px;
	padding: 15px;
	background: var(--color-warning-bg);
	border-left: 5px solid var(--color-warning-edge);
}

.bi-prose .bi-canvas-alert__title,
.bi-canvas-alert__title {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--color-heading);
}

.bi-prose .bi-canvas-alert p {
	margin: 0 0 0.5em;
	font-size: 17px;
	line-height: 1.5;
	color: var(--color-heading);
}

.bi-canvas-ferry__tables {
	display: grid;
	gap: var(--space-5);
	margin: 0 0 var(--space-5);
}

.bi-canvas-cams {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-5);
	margin: 0 0 var(--space-5);
}

.bi-prose .bi-canvas-cams h3 {
	margin: 0 0 10px;
	font-size: var(--text-h3);
	line-height: 1.3;
}

.bi-canvas-ferry__am {
	color: var(--color-am);
}

.bi-canvas-ferry__sath {
	color: var(--color-sath);
}

.bi-canvas-tabs {
	margin: 0 0 20px;
}

.bi-canvas-tabs__list {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--color-line);
}

.bi-canvas-tabs [role="tab"] {
	margin: 0;
	padding: var(--space-4) var(--space-5);
	border: 0;
	border-bottom: 2px solid transparent;
	background: transparent;
	color: var(--color-muted);
	font-family: inherit;
	font-size: var(--text-ui);
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}

.bi-canvas-tabs [role="tab"]:hover,
.bi-canvas-tabs [role="tab"]:focus-visible {
	color: var(--color-ink);
}

.bi-canvas-tabs [role="tab"][aria-selected="true"] {
	color: var(--color-ink);
	border-bottom-color: var(--color-pink);
}

.bi-canvas-tabs__panel {
	padding: var(--space-5);
	border: 1px solid var(--color-line);
	border-top: 0;
}

.bi-canvas-tabs__panel[hidden] {
	display: none !important;
}

.bi-canvas-map iframe {
	display: block;
	width: 100%;
	max-width: 740px;
	height: 450px;
}

.bi-canvas-getting .bi-canvas-map iframe {
	max-width: 100%;
}

/* Live forecast card (.bi-wx) lives in assets/css/canvas-weather.css.
   Live tide card (.bi-td) lives in assets/css/canvas-tides.css. */

.bi-weather-history {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.bi-weather-history > h3 {
	margin-top: var(--space-12);
}

.bi-weather-history > h3:first-of-type {
	margin-top: var(--space-8);
}

.bi-canvas-weather h3 + table,
.bi-canvas-weather h4 + table {
	margin: 0;
}

.bi-canvas-weather table {
	width: 100%;
	margin: 0 0 var(--space-5);
	border-collapse: collapse;
	table-layout: auto;
	font-family: var(--font-table);
	font-size: 14px;
}

.bi-canvas-weather caption {
	caption-side: top;
	font-family: var(--font-sans);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	padding: 0 0 var(--space-2);
	color: var(--color-muted);
}

.bi-canvas-weather td {
	padding: 8px;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	color: var(--color-ink);
}

.bi-canvas-weather .datahead {
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.bi-canvas-weather .data {
	font-size: 14px;
	font-weight: 400;
	text-align: center;
}

.bi-canvas-weather table:has(.data) {
	min-width: 720px;
}

.bi-canvas-weather td[align="left"] {
	text-align: left;
}

.bi-canvas-weather td:empty,
.bi-canvas-weather td[rowspan]:empty {
	width: 0;
	padding: 0;
	border: 0;
}

@media (max-width: 1024px) {
	.bi-canvas-ferry__top {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.bi-canvas-cams {
		float: none;
		width: 100%;
		height: auto;
		margin: 0 0 20px;
	}

	.bi-canvas-cams {
		grid-template-columns: 1fr;
	}
}

/* =============================================================================
   WORKSTREAM 8 LANDINGS (itineraries / annual events / pickleball / history)
   ========================================================================== */

.bi-canvas-landing > .bi-canvas-landing__copy:first-child {
	margin-bottom: 36px;
}

.bi-canvas-step {
	margin: 0 0 10px;
}

.bi-canvas-step__row {
	display: grid;
	align-items: start;
	margin: 10px 0 20px;
}

.bi-canvas-landing .bi-canvas-step__num,
.bi-canvas-landing h2.bi-canvas-step__num {
	margin: 0;
	padding: 0;
	font-family: Verdana, sans-serif;
	font-weight: 600;
	line-height: 1;
	color: var(--color-heading);
	letter-spacing: normal;
	text-transform: none;
}

.bi-canvas-landing .bi-canvas-step__body h2 {
	margin: 0 0 10px;
	padding: 0 0 10px;
}

.bi-canvas-step--outdoor .bi-canvas-step__row {
	width: 66%;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	grid-template-columns: 20% minmax(0, 1fr);
	column-gap: 10px;
}

.bi-canvas-landing .bi-canvas-step--outdoor .bi-canvas-step__num {
	font-size: 95px !important;
}

.bi-canvas-landing__image {
	margin: 0 0 20px;
}

.bi-canvas-landing__video {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	margin: 0 0 20px;
	overflow: hidden;
}

.bi-canvas-landing__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.bi-canvas-landing__gallery h2 {
	margin: 2rem 0 0.75rem;
}

.bi-canvas-landing__gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin: 0 0 20px;
}

.bi-canvas-landing__gallery-grid a {
	border-bottom: 0 !important;
	cursor: zoom-in;
}

.bi-canvas-landing__gallery-grid a:focus-visible {
	outline: 2px solid var(--color-pink);
	outline-offset: 2px;
}

.bi-canvas-landing__gallery-grid img {
	display: block;
	width: 100%;
	height: auto;
}

.bi-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	padding: 2rem;
}
.bi-lightbox[hidden] {
	display: none;
}
.bi-lightbox figure {
	margin: 0;
	max-width: min(92vw, 1400px);
	text-align: center;
}
.bi-lightbox img {
	max-width: 100%;
	max-height: 85vh;
	width: auto;
	height: auto;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.bi-lightbox figcaption {
	margin-top: 12px;
	color: #fff;
	font-size: 18px;
}
.bi-lightbox figcaption[hidden] {
	display: none;
}
.bi-lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 2.5rem;
	line-height: 1;
	cursor: pointer;
}
.admin-bar .bi-lightbox-close {
	top: calc(32px + 1rem);
}
.bi-lightbox-prev,
.bi-lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.bi-lightbox-prev { left: 1rem; }
.bi-lightbox-next { right: 1rem; }
.bi-lightbox-prev[hidden],
.bi-lightbox-next[hidden] {
	display: none;
}
.bi-lightbox-close:focus-visible,
.bi-lightbox-prev:focus-visible,
.bi-lightbox-next:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}
.bi-lightbox-prev svg,
.bi-lightbox-next svg {
	width: 48px;
	height: 48px;
}
@media (max-width: 782px) {
	.admin-bar .bi-lightbox-close {
		top: calc(46px + 1rem);
	}
}

.bi-canvas-landing figure {
	margin: 0 0 20px;
}

@media (max-width: 767px) {
	.bi-canvas-step--outdoor .bi-canvas-step__row {
		width: 100%;
		max-width: none;
		grid-template-columns: 1fr;
	}

	.bi-canvas-landing .bi-canvas-step--outdoor .bi-canvas-step__num {
		font-size: 64px !important;
	}
}

@media (max-width: 768px) {
	.bi-canvas-landing__gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* =============================================================================
   VISITOR GUIDE HUB (/visitor-guide/)
   ========================================================================== */

.bi-canvas-visitor h2[id],
.bi-canvas-visitor h3[id],
.bi-canvas-getting h2[id],
.bi-canvas-getting h3[id] {
	scroll-margin-top: var(--header-offset);
}

.bi-vg-glance {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-4);
	margin: 0 0 var(--space-5);
}

.bi-vg-glance__item {
	background: var(--color-white);
	border-radius: var(--radius-card-story);
	padding: var(--space-5);
	box-shadow: var(--shadow-card);
}

.bi-prose .bi-vg-glance__label {
	margin: 0 0 8px;
	font-size: var(--text-h6);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-pink);
}

.bi-prose .bi-vg-glance__item p:last-child {
	margin-bottom: 0;
}

.bi-vg-table-wrap {
	overflow-x: auto;
	margin: 0 0 var(--space-5);
	-webkit-overflow-scrolling: touch;
}

.bi-vg-table-wrap table {
	margin-bottom: 0;
}

.bi-vg-table-wrap th,
.bi-vg-table-wrap td {
	padding: 12px 14px;
	font-size: var(--text-ui);
	line-height: 1.45;
}

.bi-prose ol.bi-vg-loop {
	margin-left: 0;
	padding: 0;
	list-style: none;
}

.bi-vg-loop > li {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: var(--space-4);
	align-items: start;
	margin: 0 0 var(--space-5);
}

.bi-prose .bi-vg-loop__n {
	margin: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-pink);
	color: var(--color-on-pink);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 48px;
	text-align: center;
}

.bi-prose .bi-vg-loop h3 {
	margin: 0 0 6px;
	font-size: var(--text-h4);
}

.bi-prose .bi-vg-loop p {
	margin-bottom: 0;
}

.bi-vg-who,
.bi-itineraries {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-4);
	margin: 0 0 var(--space-5);
}

.bi-itineraries .single-blog-feed {
	margin: 0;
	height: 100%;
}

.bi-itineraries .sbf-container {
	height: 100%;
}

.bi-itineraries .sbf-thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	height: auto;
	overflow: hidden;
}

.bi-prose .bi-itineraries .sbf-thumb img,
.bi-itineraries .sbf-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.bi-prose .bi-itineraries a {
	border-bottom: none;
	color: var(--color-ink);
}

.bi-prose .bi-itineraries a:hover,
.bi-prose .bi-itineraries a:focus {
	color: var(--color-pink-hover);
	border-bottom: none;
}

.bi-prose .bi-itineraries .sbf-title {
	padding: var(--space-4) var(--space-4) var(--space-5);
}

.bi-prose .bi-itineraries .sbf-title a.case27-primary-text {
	display: block;
	font-family: var(--font-sans);
	font-size: var(--text-h4);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
	text-wrap: balance;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}

.bi-prose .bi-itineraries .sbf-title p {
	margin: var(--space-2) 0 0;
	font-size: 15px;
	line-height: 1.45;
	text-wrap: pretty;
}

.bi-vg-who__item {
	background: var(--color-white);
	border-radius: var(--radius-card-story);
	padding: var(--space-5);
}

.bi-prose .bi-vg-who__item h3 {
	margin: 0 0 8px;
	font-size: var(--text-h4);
}

.bi-prose .bi-vg-who__item p {
	margin-bottom: 0;
	font-size: var(--text-ui);
}

.bi-vg-skip {
	margin: 0 0 var(--space-5);
	padding: var(--space-5);
	background: var(--color-white);
	border-left: 4px solid var(--color-pink);
	border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.bi-prose .bi-vg-skip ul {
	margin: 0 0 0 1.25em;
}

.bi-prose .bi-vg-skip li:last-child {
	margin-bottom: 0;
}

.bi-vg-faq {
	margin: 0 0 var(--space-5);
}

.bi-vg-faq details {
	border-bottom: 1px solid var(--color-line);
}

.bi-vg-faq summary {
	cursor: pointer;
	padding: 14px 0;
	font-weight: 600;
	line-height: 1.35;
	list-style: none;
}

.bi-vg-faq summary:focus-visible {
	outline: 2px solid var(--color-pink);
	outline-offset: 2px;
}

.bi-vg-faq summary::after {
	content: "+";
	float: right;
	color: var(--color-pink);
	font-weight: 600;
}

.bi-vg-faq details[open] summary::after {
	content: "–";
}

.bi-prose .bi-vg-faq p {
	margin: 0 0 14px;
	padding-right: 1.5em;
}

/* Directory title band. Not .listing-main-info — that class is absolutely positioned on the cover.
   Widths match .container / .single-listing .container so the H1 meets the description card.
   10px padding is the column padding on that grid. */
.bi-listing-head {
	background: var(--color-white);
}

.bi-listing-head__inner {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 20px 10px 16px;
}

@media (min-width: 768px) {
	.bi-listing-head__inner { width: 750px; }
}

@media (min-width: 992px) {
	.bi-listing-head__inner { width: 970px; }
}

@media (min-width: 1200px) {
	.bi-listing-head__inner { width: 1170px; }
}

@media (min-width: 1450px) {
	.single-listing .bi-listing-head__inner { width: 1300px; }
}

.bi-listing-head__chip {
	flex: 1 0 100%;
}

.bi-listing-head__chip .bi-single-post__hero-bar {
	justify-content: flex-start;
	padding-bottom: 0;
}

.bi-listing-head .col-md-6 {
	float: none;
	width: auto;
	max-width: 100%;
	padding: 0;
	position: static;
	flex: 1 1 16rem;
}

.bi-listing-head .col-md-6:has(.listing-main-buttons) {
	flex: 0 1 auto;
}

.bi-listing-head .col-md-6:has(.listing-main-buttons:not(:has(li))) {
	display: none;
}

.bi-listing-head .profile-name,
.bi-listing-head .listing-main-buttons {
	min-height: 0;
	justify-content: flex-start;
	text-align: left;
}

.bi-listing-head .profile-name {
	margin-left: 0;
	padding-left: 0;
	float: none;
	width: 100%;
	overflow: visible;
	white-space: normal;
}

.bi-listing-head .price-or-date,
.bi-listing-head .price-or-date .lmb-label,
.bi-listing-head .price-or-date .value {
	color: var(--color-ink);
}

.bi-listing-head .price-or-date .value {
	white-space: normal;
}

.bi-listing-head .profile-avatar {
	position: static;
	top: auto;
	display: block;
	width: 72px;
	height: 72px;
	margin: 0 0 12px;
}

.bi-listing-head .profile-name h1 {
	margin: 0;
	padding-top: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h1);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
	text-align: left;
	text-wrap: balance;
	white-space: normal;
}

.bi-listing-head .profile-name h2,
.bi-listing-head .profile-tagline {
	color: var(--color-ink);
	white-space: normal;
}

.bi-listing-head .profile-name .edit-listing i {
	color: var(--color-ink);
	border-color: var(--color-line);
}

@media (max-width: 768px) {
	.bi-listing-head .profile-name h1 {
		font-size: var(--text-h1-sm);
	}

	.bi-listing-head .listing-main-buttons > ul {
		justify-content: flex-start;
	}
}

/* Leftover MyListing covers (not event, business, or place). Cap so a wide monitor is not one tall photo. */
@media (min-width: 1601px) {
	body.single-listing .profile-cover.profile-cover-image {
		height: 560px;
		padding-bottom: 0 !important;
		background-size: cover;
		background-position: center center;
	}
}

.bi-listing-uplink {
	margin: 0.75rem 0 0;
	padding: 0.85rem 1rem;
	font-size: 16px;
	line-height: 1.45;
	color: var(--color-ink);
	background: var(--color-canvas);
	border-left: 4px solid var(--color-pink);
	border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

@media (min-width: 1201px) {
	.bi-listing-uplink--below {
		display: none;
	}
}

.bi-listing-uplink--photo {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 46rem;
	margin: 0;
	text-align: left;
}

.single-listing .bi-listing-uplink a,
.bi-listing-uplink a {
	color: var(--color-pink) !important;
	border-bottom: 1px dotted var(--color-pink);
	text-decoration: none !important;
	font-weight: 600;
}

.single-listing .bi-listing-uplink a:hover,
.single-listing .bi-listing-uplink a:focus,
.bi-listing-uplink a:hover,
.bi-listing-uplink a:focus {
	color: var(--color-pink-hover) !important;
	border-bottom-color: var(--color-pink-hover);
}

.bi-prose ul.bi-vg-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 24px;
	margin: 0 0 var(--space-5);
	padding: 0;
	list-style: none;
}

.bi-prose .bi-vg-links li {
	margin: 0;
}

.bi-prose .bi-vg-app-stores {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: center;
	margin: 0 0 var(--space-5);
}

.bi-prose .bi-vg-app-stores a {
	display: inline-flex;
	line-height: 0;
}

.bi-prose .bi-vg-app-stores img {
	height: 44px;
	width: auto;
}

@media (max-width: 768px) {
	.bi-vg-glance,
	.bi-vg-who,
	.bi-itineraries,
	.bi-prose ul.bi-vg-links {
		grid-template-columns: 1fr;
	}

	.bi-vg-loop > li {
		grid-template-columns: 40px 1fr;
	}

	.bi-prose .bi-vg-loop__n {
		width: 40px;
		height: 40px;
		font-size: 1.1rem;
		line-height: 40px;
	}
}

@media only screen and (max-width: 599px) {
	.bi-canvas-visitor a:link,
	.bi-canvas-getting a:link {
		word-break: normal !important;
		overflow-wrap: break-word;
	}
}

/* =============================================================================
   GOOGLE MAPS
   ========================================================================== */

.googlemap-container {
	height: 0;
	overflow: hidden;
	padding-bottom: 60%; /* desired aspect ratio */
	position: relative;
}

.googlemap {
	border: 0;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/* =============================================================================
   FIXES
   ========================================================================== */

/* Fix search bar overflowing menu bar: https://app.asana.com/0/13106852081564/1156428208361505 */
.header-search {
	width: auto;
}

/* Full-page MyListing splash (.main-loader) is position:fixed over the viewport.
   Don't put the BI mark on it or it flashes in the center, then "jumps" to explore. */
#c27-site-wrapper > .loader-bg.main-loader:not(.add-listing-loader) {
	display: none !important;
}

/* In-context AJAX loaders (explore, listing-feed, header search). */
.has-bbi-quick-search-icon .loader-bg:not(.main-loader) .paper-spinner {
	display: none !important;
}

.has-bbi-quick-search-icon .loader-bg:not(.main-loader)::before {
	content: '';
	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-image: var(--bbi-site-icon-url);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: none;
	animation: bbi-quick-search-icon-pulse 0.9s ease-in-out infinite;
}

.has-bbi-quick-search-icon .quick-search-instance .instant-results .loader-bg::before {
	width: 32px;
	height: 32px;
}

@media (prefers-reduced-motion: reduce) {
	.has-bbi-quick-search-icon .loader-bg:not(.main-loader)::before {
		animation: none;
	}
}

@keyframes bbi-quick-search-icon-pulse {
	0%,
	100% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		opacity: 0.45;
		transform: translate(-50%, -50%) scale(0.88);
	}
}

/* Increase search result width - https://app.asana.com/0/13106852081564/1201042149653612*/
.instant-results {
	width: 215px;
}
.instant-results ul li  span {
	font-size: 14px !important;
	line-height: 1.5;
}
.instant-results ul li a {
	display: flex;
	align-items: center;
}
.instant-results ul li .avatar,
.instant-results ul li .cat-icon{
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}
.instant-results ul li .avatar {
	border-radius: 50%;
	overflow: hidden;
}
.instant-results ul li .avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.instant-results ul li .cat-icon {
	padding-top: 0px;
}
.instant-results ul li .avatar img,
.instant-results ul li .cat-icon i{
	vertical-align: initial;
	font-size: 14px;
	line-height: 24px;
}
.instant-results ul {
	margin-top: 0px;
}

.instant-results ul li a span.category-name {
    line-height: 20px !important;
}

/* =============================================================================
   CALENDAR FIXES
   ========================================================================== */

/* Fix Events Date Calender */
.md-checkbox {
    overflow: visible;
}
.recurrence .repeat-unit {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}
.recurrence .repeat-unit > .md-checkbox {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.repeat-unit .md-checkbox label {
    padding: 10px;
}
.recurrence .is-recurring label {
    padding: 10px;
}
.recurrence.is-open {
    padding: 0 16px 20px !important;
}

/* Next 5 recurrences: one per row, left-aligned, gray only as wide as longest line */
.repeat-message {
    width: max-content;
    max-width: 100%;
}
.repeat-message ul {
    display: flex;
    flex-direction: column;
    width: max-content;
}
.repeat-message ul li {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.date-start label,
.date-end label {
    font-size: 16px;
}
.rc-title {
    font-size: 16px;
}

/* =============================================================================
   YOUTUBE VIDEO RESPONSIVE
   ========================================================================== */

.video-container {
  position: relative;
  padding-bottom: 56.25%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* =============================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

@media only screen and (max-width: 599px) {

a:link {
	word-break: normal !important;
	overflow-wrap: anywhere;
}

.archive-page .sbf-title a:link,
.archive-page .sbf-title a,
.bi-itineraries .sbf-title a:link,
.bi-itineraries .sbf-title a {
	word-break: normal !important;
	overflow-wrap: break-word;
}

}

/*Captcha on Mobile*/
@media all and (min-width:0px) and (max-width: 480px) {
.g-recaptcha {transform:scale(0.67);-webkit-transform:scale(0.67);transform-origin:0 0;-webkit-transform-origin:0 0;}
}

/* Mobile Header Fix */
@media all and (min-width:0px) and (max-width: 1330px) {
.header-top.container-fluid > .logo > a > img {height:40px;}
}

/* =============================================================================
   RELATED POSTS (YARPP)
   ========================================================================== */

.bi-related {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--measure-prose);
	margin: var(--space-16) auto 0;
	padding: 0;
	clear: both;
	text-align: left;
}

.bi-related__heading,
.bi-prose .bi-related__heading {
	margin: 0 0 var(--space-6);
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h3);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
	text-align: center;
	letter-spacing: normal;
	text-transform: none;
}

.bi-related__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-6);
}

.bi-related__card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--space-3);
	min-width: 0;
	color: inherit;
	text-decoration: none;
	word-break: normal;
	overflow-wrap: break-word;
}

.bi-prose .bi-related a,
.bi-prose .bi-related a:hover,
.bi-prose .bi-related a:focus {
	color: inherit;
	border-bottom: none;
	text-decoration: none;
}

.bi-related__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--radius-card);
	background: var(--color-line);
}

.bi-related__media img,
.bi-prose .bi-related__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border: 0;
	padding: 0;
	transition: transform 150ms ease;
}

.bi-related__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	font-family: var(--font-sans);
	font-size: var(--text-h4);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
	text-align: left;
	text-decoration: none;
	border-bottom: none;
	transition: color 150ms ease;
}

.bi-related__card:hover .bi-related__name,
.bi-related__card:focus-visible .bi-related__name {
	color: var(--color-pink);
}

.bi-related__card:hover .bi-related__media img,
.bi-related__card:focus-visible .bi-related__media img {
	transform: scale(1.03);
}

.bi-related__card:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 3px;
}

@media (min-width: 768px) {
	.bi-related__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 599px) {
	.bi-related a:link,
	.bi-related a {
		word-break: normal !important;
		overflow-wrap: break-word;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bi-related__name,
	.bi-related__media img,
	.bi-related__card:hover .bi-related__media img,
	.bi-related__card:focus-visible .bi-related__media img {
		transition: none;
		transform: none;
	}
}

/* =============================================================================
   FAQ hub + singles
   ========================================================================== */

.bi-faq,
.bi-faq * {
	box-sizing: border-box;
}
.bi-faq {
	margin: 0;
	padding: 0;
	color: var(--color-ink);
	font-family: var(--font-sans);
}
.bi-faq__inner {
	max-width: var(--measure-prose);
	margin: 0 auto;
	padding-inline: var(--gutter);
}
.bi-faq__article {
	background: var(--color-white);
	padding: var(--space-20) 0 var(--space-16);
}
.bi-faq:has(.bi-single-post__hero) .bi-faq__article {
	padding-top: var(--space-5);
}
.bi-faq__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-stack);
	margin: 0;
}
.bi-faq__article .bi-faq__intro {
	margin: 0 0 var(--space-6);
}
.bi-faq__intro:has(.bi-byline) h1 {
	margin-bottom: 0;
}
.bi-faq__intro .bi-byline {
	margin: 0;
	color: var(--color-muted);
}
.bi-faq h1 {
	margin: 0;
	padding: 0;
	font-family: var(--font-sans);
	font-size: var(--text-h1);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
	letter-spacing: normal;
	text-transform: none;
	text-wrap: balance;
}
.bi-story.bi-faq h1 {
	font-weight: 700;
	line-height: var(--leading-h1);
	color: var(--color-heading);
	letter-spacing: -0.02em;
}
.bi-faq__keep .bi-prose > h2:first-child,
.bi-faq__related .bi-prose > h2:first-child {
	margin-top: 0;
}
.bi-faq .bi-faq-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bi-faq .bi-faq-list li {
	margin: 0;
	border-bottom: 1px solid var(--color-line);
}
.bi-faq .bi-faq-list a {
	display: block;
	padding: var(--space-4) 0;
	color: var(--color-pink);
	border-bottom: none;
	text-decoration: none;
	overflow-wrap: anywhere;
}
.bi-story.bi-faq .bi-faq-list li a,
.bi-story.bi-faq .bi-faq-list li a:hover,
.bi-story.bi-faq .bi-faq-list li a:focus {
	border-bottom: none;
}
.bi-faq .bi-faq-list a:hover,
.bi-faq .bi-faq-list a:focus {
	color: var(--color-pink-hover);
}
.bi-faq .bi-faq-list a:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 3px;
}
.bi-faq__keep,
.bi-faq__related {
	padding: var(--section-y) 0;
}
.bi-faq__related {
	background: var(--color-white);
}
.bi-faq .bi-prose ul.bi-vg-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 24px;
	margin: 0 0 var(--space-5);
	padding: 0;
	list-style: none;
}
.bi-faq .bi-prose .bi-vg-links li {
	margin: 0;
}
@media (max-width: 1024px) {
	.bi-faq__article {
		padding: var(--space-16) 0 var(--space-12);
	}
	.bi-faq:has(.bi-single-post__hero) .bi-faq__article {
		padding-top: var(--space-5);
	}
}
@media (max-width: 767px) {
	.bi-faq__inner {
		padding-inline: var(--gutter-sm);
	}
	.bi-faq h1 {
		font-size: var(--text-h1-sm);
	}
	.bi-faq .bi-prose ul.bi-vg-links {
		grid-template-columns: 1fr;
	}
}
.bi-faq-map {
	margin: var(--space-6) 0;
	line-height: 0;
}
.bi-prose .bi-faq-map .bi-lightbox-trigger {
	display: block;
	max-width: 100%;
}
.bi-prose .bi-faq-map svg,
.bi-prose .bi-faq-map img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-card);
}
.bi-faq-map figcaption {
	margin-top: var(--space-2);
	line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
	.bi-faq .bi-faq-list a {
		transition: none;
	}
}

/* =============================================================================
   NUMBERED ELEMENTS
   ========================================================================== */

.numbered-list {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: var(--blog-title);
  font-weight: bold;
  font-size: 18px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

/* =============================================================================
   MY ACCOUNT FIXES
   ========================================================================== */

/* Fix My Listings Grid Layout */
.woocommerce-MyAccount-content .row.section-body.grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.woocommerce-MyAccount-content .row.section-body.grid > div {
    padding: 15px;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

@media (min-width: 1200px) {
    .woocommerce-MyAccount-content .col-lg-4 {
        width: 33.33333%;
    }
}

@media (min-width: 992px) {
    .woocommerce-MyAccount-content .col-md-3 {
        width: 25%;
    }
}

@media (min-width: 768px) {
    .woocommerce-MyAccount-content .col-sm-6 {
        width: 50%;
    }
}

.woocommerce-MyAccount-content .col-xs-12 {
    width: 100%;
}

/* =============================================================================
   IMAGE FLOATS
   ========================================================================== */

.img-float-right {float:right; margin: 0 0 20px 30px;}

figure {margin-bottom:20px !important}

/* =============================================================================
   SUBMISSION FORM FIXES
   ========================================================================== */

.c27-submit-listing-form .fieldset-login_required>p {
    text-align: center !important;
}

/* =============================================================================
   FINDER CONTAINER FIXES
   ========================================================================== */

.finder-container {
    box-shadow: none !important;
}

/* =============================================================================
   MARQUEE RESERVATIONS
   ========================================================================== */

.marquee-reservations-h1 {
    margin-top: 70px !important;
}

/* =============================================================================
   EVENTS EXPLORE (Codicts): one Promoted spotlight row; other occurrences look normal
   (JS sets data-bbi2-spotlight / data-bbi2-promo-sibling on .grid-item).
   ========================================================================== */

.results-view.fc-type-2-results .grid-item[data-bbi2-promo-sibling] .listing-preview.level-promoted .ad-badge {
    border-color: #abffec;
    color: #abffec;
}

.results-view.fc-type-2-results .grid-item[data-bbi2-promo-sibling] .level-promoted.lf-item-list-view .lf-item-info {
    border-left-color: transparent;
    border-left-width: 0;
}

/* /walking-around-bainbridge-island/ — page 47147. Copy is `.bi-prose`; TOC, portrait videos, map lightbox stay walk-specific. */
.bi-walk-page-wrap,
.bi-walk-page-wrap * {
	box-sizing: border-box;
}
.bi-walk-page-wrap {
	margin: 60px 0;
	color: var(--color-ink);
	font-family: var(--font-sans);
}
.bi-walk-page {
	max-width: var(--measure-prose);
	margin: 0 auto;
	padding: 10px var(--gutter);
}
@media (max-width: 1024px) {
	.bi-walk-page-wrap { margin: 40px 0; }
}
@media (max-width: 767px) {
	.bi-walk-page-wrap { margin: 30px 0; }
	.bi-walk-page { padding-inline: var(--gutter-sm); }
}

.bi-walk-intro {
	font-size: var(--text-lead);
	line-height: var(--leading-lead);
}

.bi-walk-toc {
	margin: 1.5rem 0 2rem;
	padding: 1.25rem 1.5rem;
	background: var(--color-canvas-subtle);
	border-left: 4px solid var(--color-pink);
	border-radius: var(--radius-button);
}

.bi-prose .bi-walk-toc h2,
.bi-walk-toc h2 {
	margin: 0 0 0.6rem;
	font-size: var(--text-h4);
	font-weight: 600;
}

.bi-prose .bi-walk-toc ul,
.bi-walk-toc ul {
	margin: 0;
	padding-left: 1.25rem;
}

.bi-walk-toc li {
	margin: 0.45rem 0;
}

.bi-prose p.bi-walk-quote {
	margin: 1.5rem 0 2.5rem;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--color-pink);
	background: var(--color-canvas-subtle);
	font-style: italic;
	line-height: var(--leading-body);
}

/* Portrait videos: height matches the visible viewport (below sticky header + banner). */
.bi-walk-youtube,
.bi-walk-video {
	--bi-walk-video-max-h: calc(100vh - var(--header-offset));
	--bi-walk-video-max-h: calc(100dvh - var(--header-offset));
	position: relative;
	width: min(100%, calc(var(--bi-walk-video-max-h) * 9 / 16));
	aspect-ratio: 9 / 16;
	height: auto;
	max-width: 100%;
	margin: 1.5rem auto;
}

.bi-walk-youtube iframe,
.bi-walk-video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	border-radius: var(--radius-card);
	object-fit: contain;
}

.bi-walk-map-link {
	cursor: zoom-in;
	display: block;
	max-width: 100%;
}

.bi-walk-map-link img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-button);
}

.bi-walk-map-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(0, 0, 0, 0.88);
	padding: 2rem;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
}

.bi-walk-map-lightbox:target {
	display: flex;
}

.bi-walk-map-lightbox img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
	border-radius: var(--radius-button);
}

.bi-prose a.bi-walk-map-lightbox-close,
.bi-walk-map-lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	color: var(--color-white);
	font-size: 2.5rem;
	text-decoration: none;
	line-height: 1;
	font-weight: 300;
}

.bi-prose a.bi-walk-map-lightbox-close:hover,
.bi-prose a.bi-walk-map-lightbox-close:focus,
.bi-walk-map-lightbox-close:hover,
.bi-walk-map-lightbox-close:focus {
	color: var(--color-canvas);
}

/* /vacation-rentals/ — Stay22 map. Not in the main menu. */
.bi-rentals [id] {
	scroll-margin-top: var(--header-offset);
}
.bi-rentals__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-stack);
	max-width: none;
}
.bi-rentals .bi-story__dek {
	max-width: none;
}
.bi-rentals .bi-story__cards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bi-rentals__map {
	max-width: 720px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: var(--radius-card-story);
	background: var(--color-canvas);
	box-shadow: var(--shadow-card);
}
/* Tall on purpose. A wide iframe makes Stay22 stretch the island box west into Bremerton. */
.bi-rentals__map iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 720 / 1330;
	min-height: 0;
	border: 0;
}
.bi-rentals__note {
	margin: var(--space-4) 0 0;
	max-width: none;
	font-size: var(--text-small);
	line-height: 1.5;
	color: var(--color-muted);
}
.bi-rentals__owners-inner {
	max-width: var(--measure-prose);
	text-align: center;
}
.bi-rentals__owners .bi-story__dek {
	margin-inline: auto;
}
.bi-rentals__owners .bi-story__cta {
	margin-top: var(--space-2);
}
@media (max-width: 1024px) {
	.bi-rentals .bi-story__cards {
		grid-template-columns: 1fr;
	}
}