/*
 Theme Name:     Carlsbad Chamber of Commerce
 Theme URI:      https://carlsbad.org
 Description:    Child Theme for GeneratePress
 Author:         Ukiiki Web Design
 Author URI:     https://ukiiki.com
 Template:       generatepress
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
/*
 * Site Header
 */

body:not(.home) .gb-site-header:not(.gb-is-sticky) {
    background: var(--accent-50);
}

body .gb-site-header.gb-is-sticky {
    background: var(--white);
}

/* Over the sky (home) and over a dark hero the header's gold top rule reads as a stray line; keep the 4px so nothing shifts, hide the color until the header goes white on scroll. */
body.home .gb-site-header:not(.gb-is-sticky),
body:not(.home):has(.entry-content > :first-child:is(.hero__dark)) .gb-site-header:not(.gb-is-sticky) {
    border-top-color: transparent;
}

header .btn {
	padding-inline: 1em;
}

:where(.current-menu-parent, .current-menu-item) > a {
    font-weight: bold;
}

@media (min-width: 901px) {
	.gb-menu--base .menu-item:hover>.gb-sub-menu {
		display: block;
	}
}

.gb-menu > li > .gb-menu-link {
	border: 1px solid transparent;
}

.gb-menu > li > .gb-menu-link:is(:hover,:focus-visible),
.gb-menu > li:is(:hover,:focus-visible) > .gb-menu-link {
    background-color: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: 0.5em 0.5em 0 0;
    border-bottom-color: var(--primary-50);
	position: relative;
    z-index: 999;
}

.gb-menu > li > .gb-menu-link:is(:hover,:focus-visible):not(:has(+ .sub-menu)) {
    background-color: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: 0.5em 0.5em 0.5em 0.5em;
}

.gb-menu > li > .gb-menu-link + .sub-menu {
    border-radius: 0 0.5em 0.5em 0.5em;
	left: 0px;
	right: unset;
	margin-top: -1px;
}

.gb-menu-link:has([aria-expanded="true"]):not(:hover,:focus-visible) + .sub-menu {
    border-radius: 0.5em;
}

@media (max-width: 900px) {
	.gb-menu > li:not(.gb-sub-menu--open):not(:has(.current-page-ancestor)) > .gb-menu-link:has(+ .sub-menu) {
		background-color: unset;
		border: 1px solid transparent;
		border-radius: 0.5em 0.5em 0.5em 0.5em;
	}
	
	.gb-menu > li > .gb-menu-link + .sub-menu {
    	border-radius: 0 0 0.5em 0.5em;
	}
}

/*
 * Typography
 */

.headline-primary.headline-primary {
	color: var(--primary);
}

/* Footer */
.generate-back-to-top.generate-back-to-top {
    bottom: 3em;
    right: var(--space-inline);
}

footer#footer a:not(.btn):not(.gb-social-network):not(.gb-contact):not([aria-current="page"]):not(:hover):not(:focus-visible) {
    opacity: 0.6;
}

/*
 * Member Profile Pages
 */
.member-listings .member-listing:not(:last-child) {
    margin-bottom: 2em;    
}

.member-listings .member-listing__products-services {
    margin-block: 1em;
}

.member-listings .member-listing__products-services .member-inner {
    position: relative;
    padding-left: 1.5rem;
}

.member-listings .member-listing__products-services .member-inner:before {
    content: '';
    display: inline-block;
    height: 16px;
    width: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cg fill='%23000000' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16,22l-6-4-6,4v-14c0-1.105.895-2,2-2h8c1.105,0,2,.895,2,2v14Z' fill='none' stroke='%23000000' stroke-width='2'%3E%3C/path%3E%3Cpath d='m9,2h7c2.209,0,4,1.791,4,4v12' fill='none' stroke='%23000000' stroke-width='2'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    position: absolute;
    left: 0;
    top: 4px;
}

/* Member Socials */
.member-social-networks {
    display: flex;
    gap: var(--space-xs);
    margin: 0!important;
    list-style: none;
}

.member-social-networks a {
    text-decoration: none;
    line-height: 1;
	display: flex;
}

.member-social-networks .bwd-external-link {
	display: none;
}

/* Reset Description HTML */
.member-listing__description :where(table, tbody, thead,tr, td, th) {
    border: none;
    padding: unset;
    margin: unset;
}

/*
 * Member Directory Listing
 */
.card-member__logo {
    --size: 120px;
}

.card-member__logo.card-member__logo img {
	max-width: 90%!important;
    max-height: 90%!important;
	object-fit: contain;
	aspect-ratio: inherit;
}

.card-member__logo.card-member__logo [src="/wp-content/uploads/2025/09/carlsbad-chamber-of-commerce-favicon.png"] {
    filter: grayscale();
    height: var(--size);
    width: var(--size);
}

.card-member__logo:not(:has(img)):not(:has(.member-logo--initials)):after {
    content: '';
    display: block;
    filter: grayscale();
    height: var(--size);
    width: var(--size);
    background: url("/wp-content/uploads/2025/09/carlsbad-chamber-of-commerce-favicon.png");
    background-size: contain;
}

/* Breadcrumbs */
.breadcrumb {
    margin-left: 0!important;
}
.breadcrumb .breadcrumb-item {
    font-size: var(--fs-text-xxs)
}

.breadcrumb .breadcrumb-item:last-child {
    font-weight: bold;
}

.breadcrumb li::after {
    color: var(--base-300);
}

/*** HERO DARK TEST ***/
body:not(.home):has(.entry-content > :first-child:is(.hero__dark)) .gb-site-header:not(.gb-is-sticky) {
    background-color: var(--primary-800);
    .gb-menu > li > .gb-menu-link:not(:hover, :focus-visible, :focus-within):not(:has(+ :hover)) {
        color: #fff;
    }

    .btn--primary-outline {
        color: #fff;
        border-color: #fff;
    }

    .btn--primary-outline:is(:hover, :focus-visible) {
        background: #fff;
        color: var(--primary-700);
    }

    .btn--primary {
        color: var(--primary-700);
        border-color: #fff;
        background: #fff;
    }

    .btn--primary:is(:hover, :focus-visible) {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--primary-700);
    }
}

.hero__dark.hero__dark {
    background-color: var(--primary-800);
}

.hero__half.hero__dark:after {
    filter: brightness(100);
}

.hero__dark.hero__dark h1 {
    color: #fff;
}

/* Brand Decorations */
[class*="has-deco-border--"],
[class*="has-deco-border-hover--"]{
	--b-size: 4px;
    position: relative;
    overflow: hidden;
}

[class*="has-deco-dots--"] {
	--d-size: 12px;
    position: relative;
    display: inline-block;
}

[class*="has-deco-border--"]::after,
[class*="has-deco-border-hover--"]:hover::after,
[class*="has-deco-dots--"]::after {
	--b-color: var(--accent);
    content: '';
    position: absolute;
    display:block;
    background: var(--b-color);
}

.has-deco-border--right::after,
.has-deco-border--left::after,
.has-deco-border-hover--right:hover::after,
.has-deco-border-hover--left:hover::after{
    top: 0;
    width: var(--b-size);
    height: 100%;
}

.has-deco-border--right::after,
.has-deco-border-hover--right:hover::after{
    right: 0;
}

.has-deco-border--left::after, 
.has-deco-border-hover--left:hover::after {
    left: 0;
}

.has-deco-border--top::after,
.has-deco-border--bottom::after,
.has-deco-border-hover--top:hover::after,
.has-deco-border-hover--bottom:hover::after{
    left: 0;
    width: 100%;
    height: var(--b-size);
}

.has-deco-border--top::after,
.has-deco-border-hover--top:hover::after {
    top: 0;
}

.has-deco-border--bottom::after,
.has-deco-border-hover--bottom:hover::after {
    bottom: 0;
}

[class*="has-deco-dots--"]::after {
	--d-distance: 1.5;
	--dots: calc(var(--d-size) * var(--d-distance)) 0 var(--b-color), calc(var(--d-size) * var(--d-distance) * 2) 0 var(--b-color), calc(var(--d-size) * var(--d-distance) * 3) 0 var(--b-color), calc(var(--d-size) * var(--d-distance) * 4) 0 var(--b-color);
    display: inline-block;
    width: var(--d-size);
    height: var(--d-size);
    border-radius: 50%;
	top: 50%;
    transform: translateY(-50%);
	box-shadow: var(--dots);
}

.has-deco-dots--right::after {
    left: calc(100% + var(--d-size));
    box-shadow: var(--dots);
}

.has-deco-dots--top::after {
    top: -12px;
    display: block;
}

/*
* Navigation justified right, against the header actions
*/
@media (min-width: 901px) {
.header__menu--first nav.header__menu {
margin-left: auto;
flex-grow: 0;
}
.header__menu--first nav.header__menu .gb-menu {
justify-content: flex-end;
}
}

/*
* Navigation never wraps: one line, tighter between 1025-1340px; below 1025 the hamburger takes over
*/
@media (min-width: 901px) {
nav.header__menu .gb-menu {
flex-wrap: nowrap;
}
}
@media (min-width: 901px) and (max-width: 1340px) {
nav.header__menu .gb-menu > li > .gb-menu-link {
font-size: 15px;
padding-inline: 10px;
}
}


/* ---- Mobile nav overlay (Nov 2 2026 rework: light sheet, collapsible groups, one close button) ---- */
.cc-join-mob{display:none}
@media(max-width:900px){
.gb-navigation .gb-menu-container{display:none}
/* a transformed/animated sticky header would turn the fixed overlay's containing block into the 99px header band (iOS Safari): neutralise it while the menu is open */
.gb-site-header:has(.gb-navigation--open){transform:none!important;animation:none!important;will-change:auto!important;filter:none!important}
.gb-navigation--open .gb-menu-container{display:flex;flex-direction:column;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100vh;height:100dvh;z-index:100000;background:#FAF9F1!important;padding:max(16px,env(safe-area-inset-top)) 0 max(24px,env(safe-area-inset-bottom));overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
/* GB clones the toggle into the overlay; the original stays in the header and showed through as a second X */
.gb-navigation--open > .gb-menu-toggle{display:none!important}
.gb-navigation--open .gb-menu-toggle--clone{position:absolute;top:max(14px,env(safe-area-inset-top));right:16px;z-index:100001;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:#0E2238!important;background:#fff!important;border:1px solid #D8DEE5;border-radius:50%;box-shadow:0 2px 10px rgba(14,34,56,.08)}
.gb-navigation--open .gb-menu-toggle--clone svg{color:#0E2238}
.gb-navigation--open .header__mobile-top{padding:12px 24px 8px}
.gb-navigation--open .header__mobile-top .gb-logo{width:150px;height:auto}
.gb-navigation--open .gb-menu{display:flex;flex-direction:column;align-items:stretch;gap:0;white-space:normal;flex-wrap:nowrap;padding:8px 24px 0;margin:0}
.gb-navigation--open .gb-menu > li{width:100%;border-bottom:1px solid #E3E7EC}
.gb-navigation--open .gb-menu > li > .gb-menu-link{display:flex;align-items:center;justify-content:space-between;color:#0E2238!important;font-family:var(--headline-font);font-size:21px;font-weight:700;padding:15px 0;min-height:44px;background:transparent!important;border:0!important;border-radius:0!important}
/* Home page at sunset and night: the header turns its links white over the dark sky (rule in the home page's own styles).
   Inside the open phone menu the panel is cream, so the links go back to navy. The extra [data-sky] makes this rule the stronger one. */
html.cc-top[data-sky] body.home .gb-site-header .gb-navigation--open .gb-menu--base > li > .gb-menu-link{color:#0E2238!important}
html.cc-top[data-sky] body.home .gb-site-header .gb-navigation--open .gb-menu--base > li > .gb-menu-link svg{color:#0E2238}
.gb-navigation--open .gb-submenu-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-10px -10px -10px 8px;border-radius:50%;color:#0E2238;transition:transform .25s ease}
.gb-navigation--open .gb-submenu-toggle svg{width:16px;height:16px}
.gb-navigation--open .gb-sub-menu--open > .gb-menu-link > .gb-submenu-toggle,.gb-navigation--open .gb-submenu-toggle[aria-expanded="true"]{transform:rotate(180deg)}
.gb-navigation--open .gb-menu ul{display:none!important;position:static!important;visibility:visible!important;opacity:1!important;background:transparent!important;box-shadow:none!important;border:0!important;transform:none!important;min-width:0;margin:0 0 10px;padding:0 0 0 14px;border-left:2px solid #FFCC23!important}
.gb-navigation--open .gb-menu li.gb-sub-menu--open > ul,.gb-navigation--open .gb-menu li:has(> .gb-menu-link > .gb-submenu-toggle[aria-expanded="true"]) > ul{display:block!important}
.gb-navigation--open .gb-menu ul li{border:0}
.gb-navigation--open .gb-menu ul .gb-menu-link{display:block;color:#1C2B3A!important;font-size:16px;font-weight:500;padding:10px 0;min-height:44px;background:transparent!important;border:0!important}
.gb-navigation--open .gb-menu ul .gb-menu-link[aria-current="page"]{font-weight:700;color:#0E2238!important}
.gb-navigation--open .gb-menu li,.gb-navigation--open .gb-menu .gb-menu-item{background:transparent!important}
.gb-navigation--open .header__mobile-bottom{order:2;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px 24px 0;margin-top:auto}
.gb-navigation--open .header__mobile-bottom .btn{width:100%;margin:0;justify-content:center;min-height:48px}
.gb-navigation--open .header__mobile-socials{order:3;padding:16px 24px 0}
.gb-navigation--open .header__mobile-socials .gb-social-networks{display:flex;gap:6px;justify-content:flex-start}
.gb-navigation--open .header__mobile-socials a{color:#0E2238}
body:has(.gb-navigation--open){overflow:hidden}
.gb-navigation--open .cc-join-mob{display:none}
}

/* Mobile: the fixed quick bar must not cover the open nav overlay (the header makes its own stacking context) */
@media(max-width:900px){body:has(.gb-navigation--open) .cc-mbar{display:none!important}}

/* ---- Footer on phones: smaller logo, two link columns, tighter rhythm (Chris, Oct 31 mobile review) ---- */
@media(max-width:767px){
.site-footer .footer figure img{max-width:190px;height:auto}
.site-footer .footer>section:first-of-type{row-gap:var(--space-xs)!important;padding-top:var(--space-m)!important;padding-bottom:var(--space-xs)!important}
.site-footer .footer>section:first-of-type p{font-size:15px;line-height:1.5;margin-top:10px}
.site-footer .gb-social-networks{gap:14px!important;margin-top:4px}
.site-footer .gb-social-network svg{width:22px;height:22px}
.site-footer .footer>section.grid{grid-template-columns:1fr 1fr!important;column-gap:var(--space-s)!important;row-gap:var(--space-m)!important;padding-top:var(--space-s)!important;padding-bottom:var(--space-s)!important}
.site-footer .footer>section.grid>div:first-child{grid-column:1/-1}
.site-footer .footer>section.grid h3{font-size:14px;margin-bottom:6px}
.site-footer .footer>section.grid p{font-size:15px;margin:0 0 4px}
.site-footer .bwd-menu__vertical li{margin:0}
.site-footer .bwd-menu__vertical a{font-size:14.5px;line-height:1.35;display:block;padding:5px 0}
.site-footer .footer>section:last-of-type{padding-top:var(--space-xs)!important;padding-bottom:calc(var(--space-s) + env(safe-area-inset-bottom))!important;row-gap:6px!important}
.site-footer .footer>section:last-of-type p{font-size:12px}
.site-footer .bwd-menu__horizontal{flex-wrap:wrap;gap:4px 14px}
.site-footer .bwd-menu__horizontal a{font-size:12px}
.generate-back-to-top{display:none!important}
}

/* ---- Hero - Photo: the standard inner-page hero with a real photograph (Oct 31) ---- */
.hero__half.hero__photo:after{display:none}
.hero__photo-grid{display:grid;grid-template-columns:1fr;gap:var(--space-m);align-items:center}
.hero__photo-copy{min-width:0}
.hero__photo .headline-pre{margin-bottom:.6rem}
.hero__photo h1{margin-bottom:.75rem}
.hero__photo .btn-wrap{margin-top:var(--space-xs)}
.hero__photo-media{margin:0;position:relative;min-width:0}
.hero__photo-media img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius-l)}
@media(min-width:900px){
.hero__photo-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:var(--space-l)}

}
@media(max-width:899px){
.hero__photo-media{order:-1}
.hero__photo-media img{aspect-ratio:16/10}
}

/* Gravity Forms submit matches the site button */
.gform_wrapper .gform_button{background:var(--primary-600,#0077B6)!important;color:#fff!important;border:2px solid var(--primary-600,#0077B6)!important;border-radius:var(--radius-s,.25rem)!important;font-family:var(--button-font)!important;font-weight:700!important;letter-spacing:.35px;text-transform:uppercase;padding:.7rem 2em!important;cursor:pointer}
.gform_wrapper .gform_button:is(:hover,:focus-visible){background:var(--accent-400,#FFCC23)!important;border-color:var(--accent-400,#FFCC23)!important;color:var(--primary-900,#033E5E)!important}
.gform_wrapper .gform_button:focus-visible{outline:3px solid var(--accent-400,#FFCC23);outline-offset:3px}


/* ---- People hero: flat deep blue, faint monochrome Chamber photo, header the same colour so it reads as one piece ---- */
.hero__half.hero__people{background:#033E5E;color:#fff;position:relative;overflow:hidden;isolation:isolate;padding-top:var(--space-d);padding-bottom:var(--space-d)}
.hero__half.hero__people:after{display:none}
.hero__people .width-d{position:relative;z-index:1}
.hero__people-photo{position:absolute;inset:0;z-index:0;margin:0}
.hero__people-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%;filter:grayscale(1) contrast(1.1) brightness(.9);opacity:.3}
.hero__people-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#033E5E 0%,rgba(3,62,94,.72) 45%,rgba(3,62,94,.55) 100%)}
.hero__people .headline-pre{color:var(--accent,#FFCC23);letter-spacing:.18em;text-transform:uppercase;font-size:.86rem;font-weight:800;margin-bottom:.6rem}
.hero__people h1{color:#fff;margin-bottom:.75rem}
.hero__people p{color:rgba(255,255,255,.9)}
.hero__people-copy{max-width:62ch;position:relative;z-index:1}
body:not(.home):has(.entry-content > :first-child.hero__people) .gb-site-header:not(.gb-is-sticky){background-color:#033E5E;box-shadow:none;border:0}
body:not(.home):has(.entry-content > :first-child.hero__people) .gb-site-header:not(.gb-is-sticky) .header__logo img{content:var(--biz-logo-alt)}
body:not(.home):has(.entry-content > :first-child.hero__people) .gb-site-header:not(.gb-is-sticky) .gb-menu-toggle{color:#fff}

/* WCAG 2.5.8 tap targets: every button at least 44px tall (buttons measured 39px at phone width) */
.btn,.gb-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}

/* Nov 2 2026 pre-show audit: contrast and tap targets (WCAG AA) */
.gb-social-networks a{min-width:44px;min-height:44px;align-items:center;justify-content:center}
.committee__cta-join a:not(.gb-button):not(.btn){color:#fff}
.news-chip__count{opacity:1}
html #cc-home{--ocean:#006aa3} /* brand blue on the cream homepage measured 4.24:1; this shade passes 4.5:1 */
.uki-reels .uki-reels__tagline{color:#006aa3}
.uki-people-simple-item a{display:inline-block;min-height:44px;line-height:1.4;padding:10px 0}

/* Nov 2 2026: event type pills, one colour per Atlas event type (agenda rows + single event eyebrow); every pair is AA on its background */
.uki-type{display:inline-block;padding:.2em .7em;border-radius:100vw;background:#E9ECEF;color:#1C2B3A;font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;line-height:1.5}
.uki-type--chamber,.uki-type--chamber-event{background:#D6E9F7;color:#0B3B5C}
.uki-type--community,.uki-type--community-event{background:#F2E5C9;color:#5A4300}
.uki-type--committee-meetings{background:#E4E1F6;color:#2E2766}
.uki-type--networking{background:#D4F0E2;color:#0F4D33}
.uki-type--ribbon-cutting{background:#FFE0DD;color:#7A1E18}
.uki-type--workshop{background:#FDE6C4;color:#6B3A00}
.uki-type--carlsbad-young-professionals{background:#DCF2F0;color:#0C4F4A}
.uki-type--annual{background:#0E2238;color:#FFCC23}
.uki-event__eyebrow .uki-type{font-size:.78rem}

/* Nov 2 2026: Register button shine. A light band sweeps on its own every 6s; once the page scrolls (or the phone tilts, where the browser allows it without a prompt) assets/js/shine.js drives --shine (-1 left, 1 right) and adds .is-live */
.uki-shine{position:relative;overflow:hidden;isolation:isolate}
.uki-shine::after{content:"";position:absolute;top:-60%;bottom:-60%;left:-40%;width:60%;background:linear-gradient(105deg,rgba(255,255,255,0) 20%,rgba(255,255,255,.55) 50%,rgba(255,255,255,0) 80%);transform:translateX(calc(100% + var(--shine,0) * 150%)) skewX(-18deg);pointer-events:none;z-index:1;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.uki-shine:not(.is-live)::after{animation:uki-shine-sweep 6s cubic-bezier(.4,0,.2,1) infinite;transition:none}
@keyframes uki-shine-sweep{0%{transform:translateX(-50%) skewX(-18deg)}30%,100%{transform:translateX(250%) skewX(-18deg)}}
@media(prefers-reduced-motion:reduce){.uki-shine::after{display:none}}
/* Half-screen windows (Chris, Nov 4 2026): the phone layout starts at 900px, not 1024, so a window around 1000px wide stays desktop; the one-line nav tightens further here. */
@media (min-width: 901px) and (max-width: 1024px) {
nav.header__menu .gb-menu > li > .gb-menu-link { font-size: 14px; padding-inline: 7px; }
header .nav__actions .btn { padding-inline: .8em; font-size: 13px; }
}

/* Listing hero on phones (Chris, Nov 6 2026, iPhone screenshot of Scripps Coastal): the logo and the name sat in two columns at every width, so the name wrapped one word per line beside an empty column. Under 900px the hero stacks: logo first, then name, descriptor, member since and category, full width. */
@media (max-width: 900px) {
  .single-ccc_business .hero__half .flex.flex__row { flex-direction: column; align-items: flex-start; gap: var(--space-s, 1rem); }
  .single-ccc_business .hero__half .flex.flex__row > div { width: 100%; min-width: 0; }
  .single-ccc_business .hero__half .gb-element-939fc495 { max-width: 150px; max-height: 150px; margin-bottom: .25rem; }
  .single-ccc_business .hero__half .gb-element-939fc495 img { display: block; width: 100%; height: auto; }
  .single-ccc_business .hero__half .member-heading .biz-name { font-size: clamp(1.7rem, 7.5vw, 2.25rem); line-height: 1.12; overflow-wrap: anywhere; }
  .single-ccc_business .hero__half .member-heading .biz-kicker { font-size: 1rem; }
  .single-ccc_business .hero__half .gb-text-7413ab2a { margin-top: .25rem; }
}

/* Logo shapes (Chris, Nov 7 2026, Uki and Scripps files): a square mark keeps the circle crop; a wide wordmark (marked is-wide by the img onload) gets soft corners and is never clipped, in the listing hero and on the directory card. */
.gb-element-939fc495:has(img.is-wide) { border-radius: 12px; max-height: none; max-width: 280px; }
.gb-element-939fc495 img.is-wide { height: auto; max-width: 280px !important; }
.card-member__logo:has(img.is-wide) { border-radius: 12px; }
@media (max-width: 900px) {
  .single-ccc_business .hero__half .gb-element-939fc495:has(img.is-wide) { max-width: 220px; }
  .single-ccc_business .hero__half .gb-element-939fc495 img.is-wide { max-width: 220px !important; }
}

/* One Join per page (Chris, Nov 7 2026): on the Join page itself the header's Join button is noise. */
body.page-id-4841 .nav__action--primary { display: none; }

/* Night sky on the homepage stays dark after the hero (Chris, Nov 9 2026): the scrolled header goes night-navy instead of white, and the reel strip fades from the night hero into the sand, dark water to beach. */
html[data-sky="night"] body.home .gb-site-header.gb-is-sticky{background:rgba(12,14,34,var(--cc-h,1))!important;border-top-color:#FFCC23;box-shadow:0 10px 30px rgba(0,0,0,.35)}
html[data-sky="night"] body.home .gb-site-header.gb-is-sticky .gb-menu--base>li>.gb-menu-link{color:#fff!important}
html[data-sky="night"] body.home .gb-site-header.gb-is-sticky .gb-menu--base>li>.gb-menu-link svg{color:#fff;fill:currentColor}
html[data-sky="night"] body.home .gb-site-header.gb-is-sticky .gb-menu--base>li>.gb-menu-link:is(:hover,:focus-visible){background:rgba(255,255,255,.1)}
html[data-sky="night"] body.home .gb-site-header.gb-is-sticky .gb-menu--base>li.current-menu-item>.gb-menu-link{box-shadow:inset 0 -3px 0 #FFCC23}
html[data-sky="night"] body.home .gb-site-header.gb-is-sticky .header__logo img{content:var(--biz-logo-alt)}
html[data-sky="night"] body.home .gb-site-header.gb-is-sticky .gb-menu-toggle{color:#fff}
html[data-sky="night"] body.home #cc-home .cc-reels{background:linear-gradient(180deg,#0C0E22 0%,#1B2140 28%,#4A5878 58%,#B5B3AE 84%,#F3EFE7 100%)}
html[data-sky="night"] body.home .cc-reels .uki-reels__tagline{color:#fff;text-shadow:0 1px 14px rgba(0,0,0,.4)}
html[data-sky="night"] body.home .cc-reels .uki-reels__more{color:#fff}

/* About page: a letter from Bret as its own navy band, breaking up the sand (Chris, Nov 9 2026). Portrait, name and title as on the homepage. */
.cc-letter{background:#033E5E;color:#fff}
.cc-letter__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.2fr);gap:var(--space-l,3rem);align-items:start}
.cc-letter__eyebrow{margin:0 0 .75rem;font-size:var(--fs-text-xxs,.75rem);letter-spacing:.14em;text-transform:uppercase;color:#FFCC23}
.cc-letter h2{color:#fff;margin:0 0 1.25rem;text-wrap:balance}
.cc-letter__body p{margin:0 0 1.1em;max-width:62ch;font-size:var(--fs-text-m,1.125rem);line-height:1.65;color:rgba(255,255,255,.92)}
.cc-letter__body p:last-child{margin-bottom:0}
.cc-letter__body a{color:#fff;text-decoration-color:#FFCC23}
.cc-letter__close{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.18);font-weight:600}
.cc-letter__person{display:flex;flex-direction:column;gap:1rem;position:sticky;top:calc(var(--header-total,99px) + 1.5rem)}
.cc-letter__person img{width:168px;height:168px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 4px #033E5E,0 0 0 8px #FFCC23}
.cc-letter__name{display:block;margin-top:.25rem;font-weight:700;font-size:1.25rem;line-height:1.2}
.cc-letter__title{display:block;color:rgba(255,255,255,.75);font-size:.95rem;line-height:1.35}
@media (max-width:900px){.cc-letter__grid{grid-template-columns:1fr;gap:1.5rem}.cc-letter__person{position:static;flex-direction:row;align-items:center}.cc-letter__person img{width:112px;height:112px}}
