/* RYMYS Page Builder — scoped styles.
   Targets the real Gutenberg block classes our templates output
   (wp-block-group, wp-block-columns, wp-block-column, wp-block-image,
   wp-block-button, etc.) plus our own custom classNames. Nothing here
   touches the theme's header, footer, or navigation. */

:root {
	--rymys-teal: #0E7C86;
	--rymys-teal-light: #7FD1D9;
	--rymys-dark: #0B2027;
	--rymys-bg-soft: #F2F9FA;
}

/* Outer page wrapper — guarantees consistent breathing room below
   the theme's header banner and above the footer on every page,
   regardless of which section happens to lead or close it. */
.rymys-pb-page {
	padding-top: 40px;
	padding-bottom: 24px;
}

.rymys-pb-editor-note {
	background: #FFF4E5;
	border: 1px solid #F0B849;
	color: #7a5200;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
}

/* Hero image */
figure.rymys-pb-hero-image {
	margin: 0 0 0;
	border-radius: 10px 10px 0 0;
	overflow: hidden;
}
figure.rymys-pb-hero-image img {
	width: 100%;
	max-height: 360px;
	object-fit: cover;
}

/* Hero text panel, sits directly under the image */
.rymys-pb-hero-text {
	background: linear-gradient(135deg, var(--rymys-dark) 0%, var(--rymys-teal) 100%);
	padding: 40px 48px;
	border-radius: 0 0 10px 10px;
	margin-bottom: 40px !important;
}
.rymys-pb-eyebrow {
	color: var(--rymys-teal-light);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 8px !important;
}
h1.rymys-pb-hero-title {
	color: #fff;
	font-size: 36px;
	line-height: 1.2;
	margin: 0 0 12px !important;
}
.rymys-pb-subtitle {
	color: #E7F5F6;
	font-size: 18px;
	max-width: 700px;
	margin: 0 !important;
}

/* Intro — flush with the rest of the page's content width, not its
   own narrower centered island (that mismatch was causing the intro
   paragraph to visually float off-center from the checklist/cards). */
.rymys-pb-intro {
	margin: 0 0 40px !important;
}
.rymys-pb-intro p {
	font-size: 16px;
	line-height: 1.7;
	max-width: 820px;
}

/* Cards heading */
h2.rymys-pb-cards-heading {
	text-align: center;
	color: var(--rymys-dark);
	font-size: 28px;
	margin: 0 0 28px !important;
}

/* Card grid — a real Columns block */
.rymys-pb-card-grid {
	margin-bottom: 48px !important;
}
.rymys-pb-card {
	background: #fff;
	border: 1px solid #E4EEEF;
	border-radius: 10px;
	padding: 26px 22px !important;
	box-shadow: 0 2px 10px rgba(11,32,39,0.05);
}
figure.rymys-pb-card-icon {
	margin: 0 0 16px !important;
}
figure.rymys-pb-card-icon img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}
h3.rymys-pb-card-title {
	font-size: 18px;
	color: var(--rymys-dark);
	margin: 0 0 10px !important;
}
.rymys-pb-card-desc {
	font-size: 14.5px;
	line-height: 1.6;
	color: #4b5c61;
	margin: 0 0 14px !important;
}
.rymys-pb-card-link .wp-block-button__link {
	background: transparent;
	color: var(--rymys-teal);
	font-weight: 600;
	font-size: 14px;
	padding: 0;
}
.rymys-pb-card-link .wp-block-button__link:hover {
	text-decoration: underline;
}

/* Feature split — image + text Columns block */
.rymys-pb-feature-split {
	margin-bottom: 44px !important;
	align-items: center !important;
}
.rymys-pb-feature-image img {
	border-radius: 10px;
}
h2.rymys-pb-feature-heading {
	color: var(--rymys-dark);
	font-size: 24px;
	margin: 0 0 12px !important;
}
.rymys-pb-feature-desc {
	font-size: 15.5px;
	line-height: 1.7;
	color: #4b5c61;
}

/* Stats row */
.rymys-pb-stats-row {
	background: var(--rymys-bg-soft, #F2F9FA);
	border-radius: 10px;
	padding: 32px 24px !important;
	margin-bottom: 44px !important;
	text-align: center;
}
h2.rymys-pb-stat-number {
	color: var(--rymys-teal);
	font-size: 34px;
	margin: 0 0 6px !important;
}
.rymys-pb-stat-label {
	font-size: 14px;
	color: #4b5c61;
	margin: 0 !important;
}

/* Checklist */
h2.rymys-pb-checklist-heading {
	color: var(--rymys-dark);
	font-size: 24px;
	margin: 0 0 16px !important;
}
ul.rymys-pb-checklist {
	list-style: none;
	margin: 0 0 44px !important;
	padding: 0 !important;
}
ul.rymys-pb-checklist li {
	position: relative;
	padding: 4px 0 4px 30px;
	font-size: 15.5px;
	line-height: 1.6;
	color: #33454b;
}
ul.rymys-pb-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 4px;
	color: var(--rymys-teal);
	font-weight: 700;
}

/* Quote */
blockquote.rymys-pb-quote {
	border-left: 4px solid var(--rymys-teal);
	margin: 0 0 44px !important;
	padding: 4px 0 4px 24px !important;
	font-size: 20px;
	font-style: italic;
	color: var(--rymys-dark);
}

/* CTA band — a real Group block */
.rymys-pb-cta {
	background: linear-gradient(135deg, var(--rymys-dark) 0%, var(--rymys-teal) 100%);
	border-radius: 10px;
	padding: 48px !important;
	text-align: center;
	margin-bottom: 32px !important;
}
h2.rymys-pb-cta-title {
	color: #fff;
	font-size: 26px;
	margin: 0 0 12px !important;
}
.rymys-pb-cta-text {
	color: #E7F5F6;
	font-size: 16px;
	margin: 0 0 20px !important;
}
.rymys-pb-btn .wp-block-button__link {
	background: #fff;
	color: var(--rymys-dark);
	font-weight: 700;
	padding: 14px 32px;
	border-radius: 30px;
	font-size: 15px;
}
.rymys-pb-btn .wp-block-button__link:hover {
	background: var(--rymys-teal-light);
	color: var(--rymys-dark);
}

@media (max-width: 600px) {
	.rymys-pb-hero-text { padding: 28px 24px; }
	h1.rymys-pb-hero-title { font-size: 26px; }
	.rymys-pb-cta { padding: 32px 20px !important; }
}
