/*
Theme Name: Sea Bass Fishing
Theme URI: https://example.com/sea-bass-fishing
Author: Ken
Description: A fully responsive block theme for the Sea Bass Fishing app. Everything — header, menus, footer, every home page section, text, buttons and images — is built from WordPress blocks and can be edited visually in Appearance → Editor. Sections are also available as patterns to drop onto any page. Fonts are bundled locally (no Google requests).
Version: 2.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seabass-fishing
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column
*/

/* ==========================================================================
   Notes
   - Colours, fonts, spacing and button styles live in theme.json
     (edit them in Appearance → Editor → Styles).
   - This file only handles layout that blocks can't express on their own,
     mostly the responsive behaviour. Classes start with "sbf-" and can be
     seen/changed under each block's Advanced → Additional CSS class(es).
   ========================================================================== */

:root {
	--sbf-navy: var(--wp--preset--color--navy, #0f2338);
	--sbf-bg: var(--wp--preset--color--page, #f6f8fb);
	--sbf-border: var(--wp--preset--color--line, #e1e8ef);
	--sbf-tint: var(--wp--preset--color--tint, #edf2f7);
	--sbf-green: var(--wp--preset--color--green, #13a052);
	--sbf-blue: var(--wp--preset--color--blue, #1f63d8);
	--sbf-muted: var(--wp--preset--color--muted, #5d6d7e);
	--sbf-radius: 14px;
	--sbf-shadow: 0 1px 2px rgba(15, 35, 56, .05), 0 8px 24px rgba(15, 35, 56, .07);
	--sbf-shadow-lg: 0 2px 4px rgba(15, 35, 56, .06), 0 18px 40px rgba(15, 35, 56, .12);
	--sbf-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--sbf-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
	--sbf-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l4.8 4.8L19.5 7'/%3E%3C/svg%3E");
	--sbf-phone-w: 300px;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks > footer { margin-block-start: 0; }
:focus-visible { outline: 3px solid var(--sbf-blue); outline-offset: 2px; }

.sbf-eyebrow, .sbf-eyebrow a {
	margin: 0 0 6px !important;
	color: var(--sbf-green);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.sbf-section-head h2, .sbf-section-head__text h2 { margin: 0 0 .3em; }
.sbf-lead { font-size: var(--wp--preset--font-size--medium); max-width: 640px; margin: 0; }
.sbf-section { padding-block: clamp(56px, 7vw, 96px); }
.sbf-only-mobile { display: none !important; }
.sbf-center { text-align: center; }
.sbf-plan__buttons .wp-block-button, .sbf-plan__buttons .wp-block-button__link,
.sbf-features__more .wp-block-button, .sbf-features__more .wp-block-button__link { width: 100%; }

/* Grids built from groups: cancel flow-layout margins on grid items */
.sbf-hero__grid > *, .sbf-features__grid > *, .sbf-flow > *, .sbf-irish > *,
.sbf-steps > *, .sbf-pricing__grid > *, .sbf-plans > * { margin: 0 !important; }

/* ==========================================================================
   Buttons (block styles + helper classes)
   ========================================================================== */
.wp-block-button__link { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); text-decoration: none; }
.wp-block-button:not(.is-style-sbf-outline):not(.is-style-sbf-video):not(.is-style-outline) > .wp-block-button__link:not(.has-background) { box-shadow: 0 6px 18px rgba(19, 160, 82, .3); }

.wp-block-button.is-style-sbf-outline > .wp-block-button__link {
	background: #fff;
	color: var(--sbf-blue);
	border: 2px solid currentColor;
	padding-top: calc(.8em - 2px); padding-bottom: calc(.8em - 2px);
}
.wp-block-button.is-style-sbf-outline > .wp-block-button__link:hover { background: #f0f5ff; color: var(--sbf-blue); }

.wp-block-button.is-style-sbf-video > .wp-block-button__link {
	position: relative;
	display: inline-flex; flex-direction: column; justify-content: center;
	min-height: 56px;
	padding: 0 0 0 72px;
	background: transparent;
	color: inherit;
	text-align: left;
	line-height: 1.25;
	box-shadow: none;
}
.wp-block-button.is-style-sbf-video > .wp-block-button__link::before {
	content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
	width: 56px; height: 56px; border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230f2338' d='M8.5 5.8v12.4a.8.8 0 0 0 1.2.7l9.9-6.2a.8.8 0 0 0 0-1.4L9.7 5.1a.8.8 0 0 0-1.2.7z'/%3E%3C/svg%3E") 58% 50% / 26px no-repeat;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
	transition: transform .15s ease;
}
.wp-block-button.is-style-sbf-video > .wp-block-button__link:hover::before { transform: translateY(-50%) scale(1.06); }
.sbf-video-sub { display: block; font-weight: 400; }

.sbf-btn-arrow > .wp-block-button__link::after {
	content: ""; display: inline-block; width: 1.15em; height: 1.15em; margin-left: .5em; vertical-align: -.22em;
	background: currentColor; -webkit-mask: var(--sbf-arrow) center / contain no-repeat; mask: var(--sbf-arrow) center / contain no-repeat;
}
.sbf-btn-sm > .wp-block-button__link { padding: .6em 1.35em; font-size: .9375rem; min-width: 104px; text-align: center; }
.wp-block-button.is-style-sbf-outline.sbf-btn-sm > .wp-block-button__link { padding-top: calc(.6em - 2px); padding-bottom: calc(.6em - 2px); }
.sbf-btn-lg > .wp-block-button__link { padding: 1.05em 2em; font-size: 1.125rem; }

.sbf-textlink a { font-weight: 600; white-space: nowrap; }
.sbf-textlink a::after {
	content: ""; display: inline-block; width: 1em; height: 1em; margin-left: .35em; vertical-align: -.15em;
	background: currentColor; -webkit-mask: var(--sbf-arrow) center / contain no-repeat; mask: var(--sbf-arrow) center / contain no-repeat;
	transition: transform .15s ease;
}
.sbf-textlink a:hover::after { transform: translateX(3px); }

/* Lists with ticks */
ul.is-style-sbf-checks, ul.is-style-sbf-ticks { list-style: none; padding-left: 0; }
ul.is-style-sbf-checks { display: grid; gap: 14px; }
ul.is-style-sbf-checks li { margin: 0 !important; display: flex; align-items: center; gap: 14px; font-size: 1.0625rem; line-height: 1.35; margin: 0; }
ul.is-style-sbf-checks li::before {
	content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
	background: var(--wp--preset--color--green-bright, #22c36b) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l4.8 4.8L19.5 7'/%3E%3C/svg%3E") center / 17px no-repeat;
}
ul.is-style-sbf-ticks { display: grid; gap: 8px; }
ul.is-style-sbf-ticks li { margin: 0 !important; display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: .975rem; line-height: 1.4; color: var(--sbf-navy); }
ul.is-style-sbf-ticks li::before {
	content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px;
	background: var(--sbf-green); -webkit-mask: var(--sbf-check) center / contain no-repeat; mask: var(--sbf-check) center / contain no-repeat;
}

/* ==========================================================================
   Header
   ========================================================================== */
.sbf-site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
@media (max-width: 600px) { .sbf-site-header { top: 0; } }
.sbf-header { border-bottom: 1px solid rgba(15, 35, 56, .06); }
.sbf-header__inner { gap: 24px; min-height: 52px; }
.sbf-brand { flex: none; }
.sbf-brand .wp-block-site-logo img { height: 42px; width: auto; }
.sbf-brand .wp-block-site-title { margin: 0; white-space: nowrap; }
.sbf-brand .wp-block-site-title a { text-decoration: none; }

.sbf-nav { flex: 1; justify-content: center; }
.sbf-nav .wp-block-navigation-item__content { padding: 8px 0; position: relative; color: var(--sbf-navy); }
.sbf-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
	background: var(--sbf-blue); transform: scaleX(0); transition: transform .2s ease;
}
.sbf-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover::after,
.sbf-nav .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.sbf-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--sbf-blue); }
.sbf-nav .wp-block-navigation-item__content:hover { text-decoration: none; }
.sbf-nav .wp-block-navigation__submenu-container {
	border: 0 !important; border-radius: 12px; padding: 8px !important; min-width: 220px !important;
	box-shadow: var(--sbf-shadow-lg); background: #fff !important;
}
.sbf-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 12px !important; border-radius: 8px; }
.sbf-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--sbf-tint); }
.wp-block-navigation__responsive-container:not(.is-menu-open) .sbf-nav-mobile-only { display: none !important; }

.sbf-header__actions { flex: none; gap: 12px; }

/* Mobile/tablet menu overlay */
.sbf-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 20px clamp(16px, 4vw, 32px) 32px; }
.sbf-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; }
.sbf-nav .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; }
.sbf-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; }
.sbf-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.sbf-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--sbf-border); }
.sbf-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding: 14px 0; font-size: 1.125rem; }
.sbf-nav .is-menu-open .wp-block-navigation-item__content::after { display: none; }
.sbf-nav .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; padding: 0 0 10px 12px !important; }
.sbf-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; }
.sbf-nav .wp-block-navigation__responsive-container-open svg, .sbf-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* ==========================================================================
   Hero (cover block)
   ========================================================================== */
.wp-block-cover.sbf-hero {
	min-height: 0;
	overflow: visible;
	padding-left: 0; padding-right: 0;
	align-items: flex-start;
}
.sbf-hero > .wp-block-cover__inner-container { z-index: 3; color: #fff; }
.sbf-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; pointer-events: none;
	height: clamp(46px, 7.5vw, 110px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%235a9bd8' fill-opacity='.85' d='M0 40 C 140 70, 260 95, 420 112 L 0 120 Z'/%3E%3Cpath fill='%23f6f8fb' d='M0 70 C 300 125, 620 125, 900 100 C 1120 80, 1300 62, 1440 52 L 1440 120 L 0 120 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.sbf-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 54fr) minmax(0, 26fr) minmax(0, 20fr);
	grid-template-areas: "content phone ." "actions phone .";
	column-gap: clamp(16px, 3vw, 48px);
	align-items: start;
}
.sbf-hero__content { grid-area: content; max-width: 600px; }
.sbf-hero__content > * { margin-block: 0; }
.sbf-hero__title { line-height: 1.04 !important; letter-spacing: -.025em; margin: 0 0 .12em !important; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.sbf-hero__subtitle { font-size: clamp(1.5rem, 2.9vw, 2.6rem); font-weight: 500; line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .6em !important; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.sbf-hero__text { font-size: clamp(1rem, 1.35vw, 1.2rem); max-width: 560px; margin: 0 0 1.6em !important; }
.sbf-hero__points { gap: 14px clamp(16px, 2vw, 32px); margin: 0 0 36px !important; }
.sbf-hero__point { align-items: center; max-width: 175px; }
.sbf-hero__point p { margin: 0; font-size: .9375rem; line-height: 1.3; }
.sbf-hero__icon { margin: 0; flex: none; }
.sbf-hero__phone { grid-area: phone; align-self: end; justify-self: center; width: 100%; max-width: 360px; margin: 0 0 calc(-1 * clamp(30px, 3.5vw, 56px)) !important; position: relative; z-index: 3; }
.sbf-hero__phone img { width: 100%; filter: drop-shadow(0 24px 40px rgba(5, 20, 35, .35)); }
.sbf-hero__actions { grid-area: actions; gap: 16px 28px; align-items: center; padding-bottom: clamp(90px, 9vw, 140px); }

/* ==========================================================================
   Featured in
   ========================================================================== */
.sbf-press { padding-top: clamp(56px, 5.5vw, 80px); position: relative; z-index: 2; }
.sbf-press__inner { gap: clamp(20px, 4vw, 56px) !important; }
.sbf-press__label { margin: 0; color: var(--sbf-muted); font-size: .9375rem; white-space: nowrap; }
.sbf-press__logo { margin: 0; }
.sbf-press__logo img { height: clamp(26px, 2.6vw, 36px); width: auto; opacity: .9; }

/* ==========================================================================
   Features
   ========================================================================== */
.sbf-features { padding-top: clamp(48px, 5vw, 72px); }
.sbf-section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.sbf-section-head--split { gap: 24px; }
.sbf-textlink { margin: 0; }
.sbf-features__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.sbf-feature { position: relative; display: flex; flex-direction: column; }
.sbf-feature > * { margin: 0; }
.sbf-feature__media { margin: 0; border-radius: var(--sbf-radius); overflow: hidden; background: var(--sbf-tint); aspect-ratio: 1 / 1.02; }
.sbf-feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.sbf-feature__body > * { margin: 0; }
.sbf-feature__icon { margin: -30px 0 12px 4px !important; position: relative; width: 56px; }
.sbf-feature__icon img { border-radius: 50%; box-shadow: 0 0 0 4px var(--sbf-bg), 0 6px 14px rgba(15, 35, 56, .18); }
.sbf-feature__title { font-size: 1.1875rem !important; margin: 0 0 6px !important; }
.sbf-feature__text { font-size: .9375rem; color: var(--sbf-muted); line-height: 1.55; }

/* ==========================================================================
   Middle band: Irish waters | testimonial, then steps and pricing
   ========================================================================== */
.sbf-flow {
	display: grid;
	grid-template-columns: minmax(0, 64fr) minmax(0, 36fr);
	grid-template-areas: "irish testi" "how how" "pricing pricing";
}
.sbf-flow > .sbf-irish { grid-area: irish; }
.sbf-flow > .sbf-testi { grid-area: testi; }
.sbf-flow > .sbf-how { grid-area: how; }
.sbf-flow > .sbf-pricing { grid-area: pricing; }

.sbf-irish {
	position: relative;
	display: grid;
	grid-template-columns: minmax(180px, 40%) minmax(0, 1fr);
	grid-template-areas: "media head" "media list";
	align-content: center;
	column-gap: clamp(8px, 2vw, 24px);
	padding: clamp(48px, 5vw, 72px) clamp(32px, 6vw, 96px) clamp(48px, 5vw, 72px) 0;
	min-height: 420px;
}
.sbf-irish__media { grid-area: media; position: relative; margin: calc(-1 * clamp(48px, 5vw, 72px)) 0 !important; }
.sbf-irish__media img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: left center;
	-webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%); mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
}
.sbf-irish__head { grid-area: head; }
.sbf-irish__head > * { margin-block: 0; }
.sbf-irish .sbf-eyebrow { color: #3fd987; }
.sbf-irish__title { font-size: clamp(1.75rem, 2.8vw, 2.5rem) !important; margin: 0 0 .3em !important; }
.sbf-irish__text { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; max-width: 560px; margin: 0 0 22px !important; }
.sbf-irish__list { grid-area: list; margin: 0; }

/* Testimonial */
.wp-block-cover.sbf-testi {
	margin-left: -48px;
	clip-path: polygon(48px 0, 100% 0, 100% 100%, 0 100%);
	padding: 48px 64px 48px 96px;
}
.sbf-testi > .wp-block-cover__inner-container > * { margin-block: 0 0; }
.sbf-testi__quote {
	color: #1d2c3b; font-style: italic; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.5;
	text-shadow: 0 0 14px rgba(255, 255, 255, .9), 0 0 2px rgba(255, 255, 255, .8);
	margin-bottom: 14px !important;
}
.sbf-stars { color: var(--wp--preset--color--amber, #f7a823); font-size: 1.375rem; letter-spacing: 4px; margin-bottom: 10px !important; }
.sbf-testi__name { color: #1d2c3b; font-size: .9375rem; line-height: 1.35; text-shadow: 0 0 10px rgba(255, 255, 255, .9); }
.sbf-testi__name strong { font-size: 1.0625rem; }

/* Steps */
.sbf-how { padding-bottom: clamp(24px, 3vw, 40px); }
.sbf-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 40px); }
.sbf-step { position: relative; align-items: flex-start; }
.sbf-step:not(:last-child)::before {
	content: ""; position: absolute; right: calc(-1 * clamp(8px, 1.25vw, 20px)); top: 22px;
	width: 3px; height: 3px; border-radius: 50%; background: #9aa9b8;
}
.sbf-step__num { margin: 0; flex: none; }
.sbf-step__body > * { margin: 0; }
.sbf-step__title { font-size: 1.125rem !important; margin: 6px 0 6px !important; }
.sbf-step__text { font-size: .975rem; color: var(--sbf-muted); }

/* Pricing */
.sbf-pricing { position: relative; z-index: 3; padding-bottom: 0; }
.sbf-pricing__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 2.15fr) minmax(0, 1fr);
	grid-template-areas: "head plans devices";
	gap: clamp(16px, 2vw, 28px);
	align-items: start;
}
.sbf-pricing__head { grid-area: head; padding-top: 24px; }
.sbf-pricing__head > * { margin-block: 0; }
.sbf-plans { grid-area: plans; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.sbf-plan {
	position: relative; display: flex; flex-direction: column;
	border: 1px solid var(--sbf-border); border-radius: var(--sbf-radius); box-shadow: var(--sbf-shadow);
	padding: clamp(20px, 2vw, 28px);
}
.sbf-plan > * { margin-block: 0; }
.sbf-plan--featured { border: 2px solid var(--sbf-green); }
.sbf-plan__badge {
	position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
	padding: 5px 14px; border-radius: 999px; background: var(--sbf-green); color: #fff;
	font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.sbf-plan__name { font-size: 1.125rem !important; margin: 0 0 4px !important; }
.sbf-plan__price { margin: 0 0 14px !important; color: var(--sbf-muted); }
.sbf-plan__price strong { color: var(--sbf-navy); font-size: clamp(1.875rem, 2.6vw, 2.375rem); font-weight: 800; letter-spacing: -.02em; }
.sbf-plan__list { margin: 0 0 22px !important; flex: 1; }
.sbf-plan__buttons { margin-top: auto !important; }

.sbf-devices { grid-area: devices; margin-top: 16px !important; border-radius: var(--sbf-radius); padding: 24px 20px; }
.sbf-devices > * { margin-block: 0; }
.sbf-devices__title { font-size: 1.0625rem !important; margin-bottom: 16px !important; }
.sbf-devices__icons { gap: clamp(20px, 3vw, 36px) !important; margin-bottom: 14px !important; }
.sbf-device { margin: 0; display: flex; flex-direction: column; align-items: center; }
.sbf-device figcaption { display: none; margin: 4px 0 0; font-size: .8125rem; color: var(--sbf-navy); }
.sbf-devices__text { font-size: .875rem; color: var(--sbf-muted); line-height: 1.55; }

/* ==========================================================================
   Call to action (cover block)
   ========================================================================== */
.wp-block-cover.sbf-cta {
	min-height: 0;
	margin-top: -120px;
	padding: 200px 0 clamp(44px, 5vw, 64px);
}
.sbf-cta__inner { gap: clamp(20px, 4vw, 48px) !important; }
.sbf-cta__copy { text-align: right; }
.sbf-cta__copy > * { margin-block: 0; }
.sbf-cta__title { font-size: clamp(1.5rem, 2.4vw, 2.125rem) !important; margin: 0 0 4px !important; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.sbf-cta__text { font-size: clamp(1rem, 1.3vw, 1.15rem); text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }

/* ==========================================================================
   Footer
   ========================================================================== */
.sbf-footer__inner { gap: 24px; }
.sbf-footer .wp-block-site-logo img { height: 36px; width: auto; }
.sbf-footer .wp-block-site-title { font-size: 1.125rem; }
.sbf-footer__nav .wp-block-navigation-item__content { color: var(--sbf-navy); font-weight: 500; }
.sbf-social { gap: 10px !important; }
.sbf-social .wp-social-link { font-size: 24px; }
.sbf-footer__legal > * { margin: 0; }

/* ==========================================================================
   Blog, pages, search
   ========================================================================== */
.sbf-page-hero { background: linear-gradient(180deg, var(--wp--preset--color--header, #e9eef4) 0%, var(--sbf-bg) 100%); margin-bottom: 8px; }
.sbf-page-hero > * { margin-block: 0 .35em; }
.sbf-cards { gap: 28px !important; }
.sbf-card { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--sbf-border); border-radius: var(--sbf-radius); overflow: hidden; box-shadow: var(--sbf-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.sbf-card:hover { transform: translateY(-3px); box-shadow: var(--sbf-shadow-lg); }
.sbf-card__media { margin: 0 !important; background: radial-gradient(circle at 30% 20%, #23527c 0%, #0c2a49 70%); }
.sbf-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sbf-card__title { margin: 0; }
.sbf-card__title a { color: var(--sbf-navy); }
.sbf-card .wp-block-post-excerpt__more-link { font-weight: 600; color: var(--sbf-blue); }
.sbf-pagination { margin-top: 40px; gap: 8px; }
.sbf-pagination .page-numbers, .sbf-pagination a { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--sbf-border); color: var(--sbf-navy); font-weight: 600; }
.sbf-pagination .page-numbers.current { background: var(--sbf-navy); color: #fff; border-color: var(--sbf-navy); }
.sbf-article__image img { border-radius: var(--sbf-radius); }
.sbf-prose { font-size: 1.0625rem; line-height: 1.75; }
.sbf-prose img { border-radius: 10px; }
.sbf-tags a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--sbf-tint); color: var(--sbf-navy); font-size: .875rem; margin: 0 6px 6px 0; }
.sbf-tags .wp-block-post-terms__separator { display: none; }
.sbf-postnav a { font-weight: 700; color: var(--sbf-navy); }
.sbf-comment { border: 1px solid var(--sbf-border); border-radius: 10px; margin-bottom: 16px; }
.wp-block-search__inside-wrapper { gap: 8px; }
.wp-block-search__input { border: 1px solid var(--sbf-border); border-radius: 999px; padding: 10px 16px; background: #fff; }
.wp-block-search__button { border: 0; border-radius: 999px; background: var(--sbf-green); color: #fff; font-weight: 700; padding: 10px 18px; margin-left: 0; }
.sbf-search { max-width: 520px; }

/* ==========================================================================
   Responsive — < 1200px
   ========================================================================== */
@media (max-width: 1199px) {
	.sbf-hero__grid { grid-template-columns: minmax(0, 58fr) minmax(0, 28fr) minmax(0, 14fr); }
	.sbf-pricing__grid { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); grid-template-areas: "head head" "plans devices"; }
	.sbf-pricing__head { padding-top: 0; }
}

/* ==========================================================================
   Responsive — < 1100px: hamburger menu (core switches at 600px; extend it)
   ========================================================================== */
@media (min-width: 600px) and (max-width: 1099px) {
	.sbf-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.sbf-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.sbf-nav .wp-block-navigation__responsive-container.is-menu-open { display: flex; position: fixed; inset: 0; z-index: 100000; }
}
@media (max-width: 1099px) {
	.sbf-header__inner { justify-content: flex-start !important; }
	.sbf-nav { order: 3; flex: none; margin-left: 8px; }
	.sbf-header__actions { margin-left: auto !important; }
}
@media (max-width: 599px) {
	.sbf-header__actions { display: none !important; }
	.sbf-nav { margin-left: auto; }
}

/* ==========================================================================
   Responsive — tablet < 1024px
   ========================================================================== */
@media (max-width: 1023px) {
	.sbf-hero__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-areas: "content phone" "actions phone"; }
	.sbf-hero > .wp-block-cover__image-background { object-position: 78% 35% !important; }
	.sbf-hero > .wp-block-cover__background { background: linear-gradient(90deg, rgba(10, 30, 50, .78) 0%, rgba(10, 30, 50, .5) 55%, rgba(10, 30, 50, .2) 100%) !important; }
	.sbf-hero__point { max-width: none; }
	.sbf-hero__phone { max-width: 300px; }

	.sbf-press__inner { flex-direction: column; gap: 14px !important; }
	.sbf-press__inner { justify-content: center !important; }

	.sbf-features__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 32px; }
	.sbf-feature { grid-column: span 2; }
	.sbf-feature:nth-child(4) { grid-column: 2 / span 2; }
	.sbf-feature:nth-child(5) { grid-column: 4 / span 2; }

	.sbf-flow { grid-template-columns: minmax(0, 1fr); grid-template-areas: "irish" "testi" "how" "pricing"; }
	.sbf-irish { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); padding-right: clamp(16px, 4vw, 32px); }
	.wp-block-cover.sbf-testi { margin-left: 0; clip-path: none; min-height: 360px !important; padding: 56px 32px; }

	.sbf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
	.sbf-step::before { display: none; }

	.sbf-cta__copy { text-align: center; }
	.sbf-cta__inner { flex-direction: column; }
}

/* ==========================================================================
   Responsive — mobile < 768px (matches the mobile mockup)
   ========================================================================== */
@media (max-width: 767px) {
	:root { --sbf-phone-w: min(76vw, 320px); }
	.sbf-only-mobile { display: flex !important; }
	.sbf-only-desktop { display: none !important; }

	.sbf-brand .wp-block-site-logo img { height: 36px; }
	.sbf-brand .wp-block-site-title { font-size: 1.125rem; }

	/* hero: text → phone → buttons, photo only behind the top */
	.wp-block-cover.sbf-hero { padding-top: 28px !important; }
	.sbf-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "content" "phone" "actions"; }
	.sbf-hero > .wp-block-cover__image-background,
	.sbf-hero > .wp-block-cover__background { height: calc(100% - 150px - var(--sbf-phone-w) * .8) !important; bottom: auto !important; }
	.sbf-hero > .wp-block-cover__image-background { object-position: 88% 30% !important; }
	.sbf-hero > .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(10, 30, 50, .55) 0%, rgba(10, 30, 50, .35) 45%, rgba(10, 30, 50, .15) 100%), linear-gradient(90deg, rgba(10, 30, 50, .55) 0%, rgba(10, 30, 50, 0) 85%) !important;
	}
	.sbf-hero::after {
		bottom: calc(150px + var(--sbf-phone-w) * .8 - 2px); height: 44px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23f6f8fb' d='M0 70 C 300 125, 620 125, 900 100 C 1120 80, 1300 62, 1440 52 L 1440 120 L 0 120 Z'/%3E%3C/svg%3E");
	}
	.sbf-hero__title { font-size: clamp(2.25rem, 10.5vw, 3rem) !important; }
	.sbf-hero__subtitle { font-size: clamp(1.375rem, 6.4vw, 1.875rem); margin-bottom: .5em !important; }
	.sbf-hero__text { font-size: 1.0625rem; margin-bottom: 1.1em !important; }
	.sbf-hero__points { flex-direction: column; align-items: flex-start !important; gap: 14px; margin-bottom: 28px !important; }
	.sbf-hero__point { max-width: 220px; }
	.sbf-hero__point p { font-size: 1rem; }
	.sbf-hero__phone { width: var(--sbf-phone-w); max-width: none; margin: 0 auto !important; }
	.sbf-hero__actions { flex-direction: column; align-items: stretch !important; gap: 14px; padding: 12px 0 8px; min-height: 150px; color: var(--sbf-navy); }
	.sbf-hero__actions .wp-block-button { width: 100%; }
	.sbf-hero__actions .wp-block-button__link { width: 100%; }
	.sbf-hero__actions .is-style-sbf-video { width: auto; align-self: center; }
	.sbf-hero__actions .is-style-sbf-video > .wp-block-button__link { color: var(--sbf-navy); font-size: 1.0625rem; width: auto; }
	.sbf-hero__actions .is-style-sbf-video > .wp-block-button__link::before { box-shadow: none; border: 2px solid var(--sbf-navy); width: 52px; height: 52px; }

	/* featured in */
	.sbf-press { padding-top: 16px; }
	.sbf-press__inner { background: #fff; border-radius: var(--sbf-radius); padding: 14px 12px 18px; box-shadow: var(--sbf-shadow); gap: 14px 22px !important; flex-direction: row; justify-content: space-around !important; }
	.sbf-press__label { flex-basis: 100%; text-align: center; }
	.sbf-press__logo img { height: 20px; }
	.sbf-press__inner { gap: 12px 16px !important; }

	/* features as list cards */
	.sbf-section-head--split { display: block; }
	.sbf-features__grid { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px !important; }
	.sbf-feature { flex-direction: row; align-items: center; gap: 14px; background: #fff; border-radius: var(--sbf-radius); box-shadow: var(--sbf-shadow); padding: 10px 40px 10px 10px; }
	.sbf-feature::after {
		content: ""; position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
		background: var(--sbf-navy); -webkit-mask: var(--sbf-chevron) center / contain no-repeat; mask: var(--sbf-chevron) center / contain no-repeat;
	}
	.sbf-feature__media { flex: none; width: 96px; height: 104px; aspect-ratio: auto; border-radius: 10px; }
	.sbf-feature__body { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: start; flex: 1; min-width: 0; }
	.sbf-feature__icon { grid-row: span 2; width: 44px !important; margin: 0 !important; }
	.sbf-feature__icon img { width: 44px !important; box-shadow: none; }
	.sbf-feature__title { font-size: 1.0625rem !important; margin: 2px 0 4px !important; }
	.sbf-feature__text { font-size: .875rem; }
	.sbf-features__more .wp-block-button { width: 100%; }

	/* order like the mobile mockup */
	.sbf-flow { grid-template-areas: "irish" "how" "pricing" "testi"; }

	/* Irish waters becomes a light section */
	.sbf-irish.has-background { background-color: var(--sbf-bg) !important; color: var(--wp--preset--color--body-text) !important; }
	.sbf-irish {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas: "head head" "media list";
		gap: 16px 18px; padding: 48px clamp(16px, 4vw, 32px) 16px; min-height: 0;
	}
	.sbf-irish .sbf-eyebrow { color: var(--sbf-green); }
	.sbf-irish__title.has-text-color { color: var(--sbf-navy) !important; font-size: clamp(1.75rem, 8vw, 2.25rem) !important; }
	.sbf-irish__text { margin-bottom: 0 !important; }
	.sbf-irish__media { margin: 0 !important; min-height: 200px; border-radius: var(--sbf-radius); overflow: hidden; }
	.sbf-irish__media img { -webkit-mask-image: none; mask-image: none; object-position: 30% center; }
	.sbf-irish__list { align-self: center; gap: 16px !important; }
	.sbf-features { padding-bottom: 24px; }
	.sbf-irish__list.is-style-sbf-checks li { font-size: .9375rem; color: var(--sbf-navy); gap: 10px; align-items: flex-start; }
	.sbf-irish__list li::before { width: 26px; height: 26px; background-size: 15px; }

	/* steps as a list */
	.sbf-how { padding-top: 40px; }
	.sbf-steps { display: flex; flex-direction: column; gap: 0; }
	.sbf-step { align-items: center !important; padding: 14px 28px 14px 0; border-bottom: 1px solid var(--sbf-border); }
	.sbf-step:last-child { border-bottom: 0; }
	.sbf-step::after {
		content: ""; position: absolute; right: 0; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
		background: var(--sbf-navy); -webkit-mask: var(--sbf-chevron) center / contain no-repeat; mask: var(--sbf-chevron) center / contain no-repeat;
	}
	.sbf-step__num img { width: 40px !important; }
	.sbf-step__body { flex: 1; min-width: 0; }
	.sbf-step__title { font-size: 1.0625rem !important; margin: 0 0 2px !important; }
	.sbf-step__text { font-size: .9375rem; }

	/* pricing */
	.sbf-pricing { padding-top: 24px; padding-bottom: 32px; }
	.sbf-pricing__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "plans" "devices"; gap: 20px; }
	.sbf-plans { gap: 12px; }
	.sbf-plan { padding: 18px 14px; }
	.sbf-plan__list.is-style-sbf-ticks li { font-size: .875rem; gap: 8px; }
	.sbf-plan__price strong { font-size: 1.75rem; }
	.sbf-plan .wp-block-button__link { padding-left: .8em; padding-right: .8em; font-size: .9375rem; }
	.sbf-devices { margin-top: 0 !important; padding: 18px 14px; }
	.sbf-device figcaption { display: block; }
	.sbf-devices__text { font-size: .8125rem; }

	/* testimonial: dark photo card */
	.wp-block-cover.sbf-testi { min-height: 0 !important; padding: 44px 32px; }
	.sbf-testi > .wp-block-cover__image-background { object-position: 70% center !important; }
	.sbf-testi > .wp-block-cover__background { background: linear-gradient(0deg, rgba(8, 25, 40, .82), rgba(8, 25, 40, .55)) !important; opacity: 1 !important; }
	.sbf-testi__quote, .sbf-testi__name { color: #fff !important; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }

	/* cta */
	.wp-block-cover.sbf-cta { margin-top: 0; padding: 56px 0; text-align: center; }
	.sbf-cta > .wp-block-cover__image-background { object-position: 12% center !important; }
	.sbf-cta > .wp-block-cover__background { background: linear-gradient(0deg, rgba(8, 25, 40, .7), rgba(8, 25, 40, .45)) !important; }
	.sbf-cta__title { font-size: clamp(1.625rem, 7vw, 2rem) !important; }
	.sbf-cta__inner .wp-block-buttons { width: min(100%, 320px); }
	.sbf-cta__inner .wp-block-button, .sbf-cta__inner .wp-block-button__link { width: 100%; }

	/* footer */
	.sbf-footer__inner { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand social" "nav nav"; row-gap: 20px; }
	.sbf-footer__inner > .sbf-brand { grid-area: brand; }
	.sbf-footer__inner > .sbf-social { grid-area: social; }
	.sbf-footer__inner > .sbf-footer__nav { grid-area: nav; justify-self: center; }
	.sbf-footer__legal { text-align: center; }
}

@media (max-width: 419px) {
	.sbf-feature__media { width: 80px; height: 96px; }
}
@media (max-width: 374px) {
	.sbf-plans { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
	.sbf-irish { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "list"; }
	.sbf-irish__media { min-height: 0; aspect-ratio: 16 / 10; }
	.sbf-footer .wp-block-site-title { white-space: normal; font-size: 1rem; }
	.sbf-footer__nav .wp-block-navigation__container { gap: 8px 18px !important; }
}
@media (max-width: 359px) {
	.sbf-feature { flex-wrap: wrap; }
	.sbf-feature__media { width: 100%; height: 160px; }
}
