/*!
 * BRCOffice website: the few things blocks cannot style on their own.
 * Colours follow the site's global colours (Customize > Colors), with brand fallbacks.
 */

/* Full-width pages built from sections: no theme box, title or gaps around them. */
.brc-site-page #page.grid-container { max-width: none; }
.brc-site-page .site-content { display: block; padding: 0; }
.brc-site-page .site-main { margin: 0 !important; }
.brc-site-page .inside-article { padding: 0 !important; background: none; }
.brc-site-page .entry-header, .brc-site-page .page-header-image { display: none; }
.brc-site-page .entry-content { margin-top: 0 !important; }
.brc-site-page .entry-content > *:last-child { margin-bottom: 0; }
.brc-site-page.separate-containers .site-main > article { margin-bottom: 0; }
.brc-section { scroll-margin-top: 90px; }

/* Check lists */
.brc-checks li { position: relative; margin: 0 0 12px; padding-left: 30px; line-height: 1.5; }
.brc-checks li:last-child { margin-bottom: 0; }
.brc-checks li::before {
	content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--brand-accent-wash, #FBF1E6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8621B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.brc-checks.is-light li { margin: 0; padding-left: 26px; }
.brc-checks.is-light li::before { width: 18px; height: 18px; background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2B27A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Status dots in the hero illustration */
.brc-dot { position: relative; padding-left: 18px; }
.brc-dot::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; border: 2px solid #C3C8D2; }
.brc-dot.is-done::before { border-color: #079455; background: #079455; }

/* FAQ */
.brc-faq .wp-block-details { margin: 0; padding: 0; border-bottom: 1px solid var(--brand-line, #E5E7EB); }
.brc-faq .wp-block-details:first-child { border-top: 1px solid var(--brand-line, #E5E7EB); }
.brc-faq summary {
	position: relative; list-style: none; cursor: pointer; padding: 20px 44px 20px 0;
	color: var(--brand-navy, #14213D); font-size: 18px; font-weight: 650; line-height: 1.4;
}
.brc-faq summary::-webkit-details-marker { display: none; }
.brc-faq summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
	background: var(--brand-surface, #F6F7F9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
	transition: transform .2s ease;
}
.brc-faq details[open] summary::after { transform: rotate(45deg); }
.brc-faq summary:hover { color: var(--brand-accent, #B8621B); }
.brc-faq summary:focus-visible { outline: 2px solid var(--brand-accent, #B8621B); outline-offset: 4px; border-radius: 4px; }
.brc-faq details p { margin: 0 0 20px; padding-right: 44px; color: var(--brand-muted, #5B6577); font-size: 16.5px; line-height: 1.65; }

/* Header menu: "Sign in" as a text link, "Get started" as a button. Add the CSS classes
   brc-menu-signin and brc-menu-cta to menu items (Appearance > Menus > Screen Options > CSS Classes). */
.main-navigation .main-nav ul li.brc-menu-signin > a { font-weight: 600; }
.main-navigation .main-nav ul li.brc-menu-cta > a {
	display: inline-flex; align-items: center; height: 42px; margin: 0 0 0 8px; padding: 0 18px; border-radius: 10px; line-height: 1;
	background: var(--brand-accent, #B8621B); color: #fff; font-weight: 600; transition: background-color .15s ease;
}
.main-navigation .main-nav ul li.brc-menu-cta > a:hover, .main-navigation .main-nav ul li.brc-menu-cta > a:focus { background: var(--brand-accent-dark, #9C5215); color: #fff; }
.main-navigation .main-nav ul li.brc-menu-cta { display: flex; align-items: center; }
@media (max-width: 768px) {
	.main-navigation .main-nav ul li.brc-menu-cta { display: block; padding: 10px 20px 16px; }
	.main-navigation .main-nav ul li.brc-menu-cta > a { margin: 0; justify-content: center; width: 100%; }
}

/* The live tools sit on light sections. */
.brc-section .brc[data-theme="light"] { box-shadow: 0 1px 2px rgba(20, 33, 61, .04), 0 12px 32px -18px rgba(20, 33, 61, .18); }
@media (prefers-reduced-motion: reduce) { .brc-faq summary::after { transition: none; } }

/* Pricing: tier cards */
.brc-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.brc-tier {
	--t: #2E5BD8; position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; overflow: hidden;
	background: #fff; border: 1px solid var(--brand-line, #E5E7EB); border-radius: 18px;
	box-shadow: 0 1px 2px rgba(20, 33, 61, .04), 0 12px 32px -22px rgba(20, 33, 61, .25);
}
.brc-tier::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--t); }
.brc-tier.is-t2 { --t: #6F5BD6; } .brc-tier.is-t3 { --t: #C8644A; } .brc-tier.is-t4 { --t: #D9921E; }
.brc-tier__label { margin: 0 0 12px; color: var(--t); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brc-tier__places { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; min-height: 98px; align-content: flex-start; }
@media (max-width: 767px) { .brc-tier__places { min-height: 0; } }
.brc-tier__places li { margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--brand-surface, #F6F7F9); color: var(--brand-navy, #14213D); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.brc-tier__places li.is-soon { color: var(--brand-muted, #5B6577); font-weight: 500; }
.brc-tier__places small { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-muted, #5B6577); }
.brc-tier__prices { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 14px; border-top: 1px solid var(--brand-line, #E5E7EB); }
.brc-tier__prices > div { padding: 14px 0 4px; min-width: 0; }
.brc-tier__prices > div + div { padding-left: 14px; border-left: 1px solid var(--brand-line, #E5E7EB); }
.brc-tier__prices dt { min-height: 2.6em; margin: 0 0 2px; color: var(--brand-muted, #5B6577); font-size: 13px; font-weight: 600; line-height: 1.3; }
.brc-tier__prices dd { margin: 0; color: var(--brand-navy, #14213D); font-size: 25px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.brc-tier__prices dd span { display: block; margin: 2px 0 0; color: var(--brand-muted, #5B6577); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.brc-tier__both { margin: 0 0 20px; padding: 10px 12px; border-radius: 10px; background: var(--brand-accent-wash, #FBF1E6); color: var(--brand-text, #1F2937); font-size: 14px; }
.brc-tier__both b { color: var(--brand-navy, #14213D); }
.brc-tier__btn {
	display: flex; align-items: center; justify-content: center; height: 46px; margin-top: auto; border-radius: 10px;
	background: var(--brand-navy, #14213D); color: #fff !important; font-size: 15.5px; font-weight: 600; line-height: 1; text-decoration: none !important; transition: background-color .15s ease;
}
.brc-tier__btn:hover { background: var(--brand-accent, #B8621B); }

/* Pricing: discounts */
.brc-disc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brc-disc__panel { padding: 24px; background: #fff; border: 1px solid var(--brand-line, #E5E7EB); border-radius: 16px; }
.brc-disc__title { margin: 0 0 4px; color: var(--brand-navy, #14213D); font-size: 19px; font-weight: 750; }
.brc-disc__note { margin: 0 0 14px; color: var(--brand-muted, #5B6577); font-size: 14.5px; }
.brc-disc ul { margin: 0; padding: 0; list-style: none; }
.brc-disc li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 11px 0; border-top: 1px solid var(--brand-line, #E5E7EB); color: var(--brand-text, #1F2937); font-size: 15.5px; }
.brc-disc li b { color: var(--brand-muted, #5B6577); font-weight: 600; white-space: nowrap; }
.brc-disc li.is-off b { color: #067647; }
.brc-disc__fine { margin: 18px 0 0; color: var(--brand-muted, #5B6577); font-size: 14px; text-align: center; }
@media (max-width: 767px) { .brc-disc { grid-template-columns: 1fr; } }

/* One background on the app pages (sign-in, order form, client account): no white theme box on grey. */
body.brc-portal-page, body.brc-login-page, body.brc-order-page, body.brc-checkout-page { background: var(--brand-surface, #F6F7F9); }
:is(.brc-portal-page, .brc-login-page, .brc-order-page, .brc-checkout-page) .inside-article,
:is(.brc-portal-page, .brc-login-page, .brc-order-page, .brc-checkout-page).one-container .site-content,
:is(.brc-portal-page, .brc-login-page, .brc-order-page, .brc-checkout-page) .site-main > article { background: transparent !important; box-shadow: none !important; }
.brc-order-page .brc-order[data-theme="light"] { background: transparent; box-shadow: none; padding-left: 0; padding-right: 0; }
.brc-order-page .entry-title { color: var(--brand-navy, #14213D); font-weight: 750; letter-spacing: -.02em; text-align: center; }

/* "Your order" menu item: shown only while the visitor has an unfinished order. */
.main-navigation .main-nav ul li.brc-menu-order, .brc-menu-order { display: none !important; }
.main-navigation .main-nav ul li.brc-menu-order.is-on { display: flex !important; align-items: center; }
.main-navigation .main-nav ul li.brc-menu-order > a {
	display: inline-flex; align-items: center; gap: 7px; height: 42px; margin: 0 0 0 6px; padding: 0 14px; line-height: 1;
	border: 1px solid var(--brand-accent, #B8621B); border-radius: 10px; color: var(--brand-accent, #B8621B); font-weight: 600; background: #fff;
}
.main-navigation .main-nav ul li.brc-menu-order > a:hover { background: var(--brand-accent-wash, #FBF1E6); color: var(--brand-accent-dark, #9C5215); }
.brc-order-count {
	display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
	background: var(--brand-accent, #B8621B); color: #fff; font-size: 12px; font-weight: 700; line-height: 1;
}
.brc-order-count:empty { display: none; }
@media (max-width: 768px) {
	.main-navigation .main-nav ul li.brc-menu-order.is-on { display: block !important; padding: 8px 20px 0; }
	.main-navigation .main-nav ul li.brc-menu-order > a { margin: 0; width: 100%; justify-content: center; }
}
