/* ==========================================================================
   Crabby – Tales from the Sea
   Colours: navy #0B3B5C · teal #0B6E78 · turquoise #14B8C4 · aqua #DDF6F8
            sand #FFD95A / #FFF4D1 · coral #D93A25 / #FF5A4E · cream #FFFDF6
   Fonts:   Baloo 2 (headings) · Nunito (body)
   ========================================================================== */

:root {
	--cr-navy: #0B3B5C;
	--cr-teal: #0B6E78;
	--cr-turquoise: #14B8C4;
	--cr-aqua: #DDF6F8;
	--cr-sand: #FFD95A;
	--cr-sand-soft: #FFF4D1;
	--cr-coral: #D93A25;
	--cr-coral-dark: #9E2414;
	--cr-cream: #FFFDF6;
	--cr-line: #E3F6F8;
	--cr-head: 'Baloo 2', cursive;
	--cr-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--cr-max: 1280px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	margin: 0;
	background: var(--cr-cream);
	color: var(--cr-navy);
	font-family: var(--cr-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--cr-teal); }
a:hover { color: #08515A; }
h1, h2, h3, h4, h5, h6 { font-family: var(--cr-head); font-weight: 800; line-height: 1.1; color: var(--cr-navy); }
:focus-visible { outline: 3px solid var(--cr-turquoise); outline-offset: 3px; }

/* "clip" (not "hidden") so the sticky header keeps working. */
.cr-site { width: 100%; overflow-x: clip; }
@supports not (overflow: clip) {
	.cr-site { overflow-x: visible; }
	body { overflow-x: hidden; }
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 8px; left: 8px; background: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 800;
}

/* ---- Layout helpers ---------------------------------------------------- */
.cr-wrap { max-width: var(--cr-max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.cr-section { padding-top: 60px; padding-bottom: 90px; }
.cr-eyebrow { display: inline-block; font-weight: 800; color: var(--cr-coral); font-size: 16px; letter-spacing: .1em; }
.cr-wave { display: block; width: 100%; }
.cr-wave--top { height: 60px; }
.cr-wave--bottom { position: absolute; left: 0; bottom: -1px; height: 80px; }
@media (max-width: 600px) {
	.cr-wrap { padding-left: 20px; padding-right: 20px; }
}

/* ---- Buttons & cards (from the design) ---------------------------------- */
.cr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--cr-body); font-weight: 800; font-size: 17px; line-height: 1;
	padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
.cr-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(11, 59, 92, .18); }
.cr-btn--coral { background: var(--cr-coral); color: #fff; }
.cr-btn--coral:hover { color: #fff; }
.cr-btn--navy { background: var(--cr-navy); color: #fff; }
.cr-btn--navy:hover { color: #fff; }
.cr-btn--sm { height: 46px; padding: 0 20px; font-size: 16px; }

.cr-card { transition: transform .2s ease; }
.cr-card:hover { transform: translateY(-6px) rotate(-1deg); }

@keyframes crfloat { 0% { transform: translateY(0); } 50% { transform: translateY(-14px); } 100% { transform: translateY(0); } }
.cr-bubble { animation: crfloat 5s ease-in-out infinite; }
.cr-wobble { animation: crfloat 4s ease-in-out infinite; }

/* ---- Announcement bar --------------------------------------------------- */
.cr-announce {
	background: var(--cr-sand); padding: 10px 24px; display: flex; justify-content: center; align-items: center;
	gap: 12px; flex-wrap: wrap; font-weight: 700; font-size: 15px; text-align: center;
}
.cr-announce a { color: var(--cr-navy); font-weight: 800; }

/* ---- Header ------------------------------------------------------------- */
/* Sticky: stays at the top while scrolling (below the WordPress admin bar when logged in). */
.cr-header {
	background: #fff; border-bottom: 3px solid var(--cr-line);
	position: -webkit-sticky; position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50;
	transition: box-shadow .2s ease;
}
.cr-header.is-scrolled { box-shadow: 0 8px 24px rgba(11, 59, 92, .12); }
.cr-header__inner {
	max-width: 1376px; margin: 0 auto; padding: 14px 32px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	transition: padding .2s ease;
}
.cr-header.is-scrolled .cr-header__inner { padding-top: 8px; padding-bottom: 8px; }
.cr-logo__mark,
.cr-logo__img { transition: width .2s ease, height .2s ease, max-height .2s ease; }
.cr-header.is-scrolled .cr-logo__mark { width: 46px; height: 46px; }
.cr-header.is-scrolled .cr-logo__img { max-height: 48px; }
@media (max-width: 600px) {
	/* The admin bar scrolls away on phones. */
	.admin-bar .cr-header { top: 0; }
}
.cr-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cr-navy); flex: none; }
.cr-logo__img { max-height: 64px; width: auto; display: block; }
.cr-logo__mark {
	width: 56px; height: 56px; border-radius: 50%; background: #FF5A4E;
	display: flex; align-items: center; justify-content: center; border: 3px solid var(--cr-sand);
}
.cr-logo__text { display: flex; flex-direction: column; line-height: 1; }
.cr-logo__name { font-family: var(--cr-head); font-weight: 800; font-size: 24px; color: var(--cr-coral); }
.cr-logo__tag { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cr-teal); }

.cr-nav .cr-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; font-weight: 800; font-size: 15px; }
.cr-nav a { color: var(--cr-navy); text-decoration: none; }
.cr-nav a:hover,
.cr-nav .current-menu-item > a { color: var(--cr-coral); }
.cr-nav .menu-item { position: relative; }
.cr-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: -16px; min-width: 200px; list-style: none; margin: 0; padding: 10px;
	background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(11, 59, 92, .15); z-index: 60;
}
.cr-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 10px; }
.cr-nav .menu-item:hover > .sub-menu,
.cr-nav .menu-item:focus-within > .sub-menu { display: block; }

.cr-header__actions { display: flex; gap: 10px; align-items: center; flex: none; }
.cr-basket__count { background: var(--cr-sand); color: var(--cr-navy); border-radius: 999px; padding: 2px 8px; font-size: 14px; }

.cr-menu-toggle {
	display: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #CDEFF2;
	background: #fff; cursor: pointer; align-items: center; justify-content: center; margin-left: auto;
}
.cr-menu-toggle__bars,
.cr-menu-toggle__bars::before,
.cr-menu-toggle__bars::after { display: block; width: 20px; height: 2.5px; background: var(--cr-navy); border-radius: 2px; position: relative; content: ''; }
.cr-menu-toggle__bars::before { position: absolute; top: -6px; }
.cr-menu-toggle__bars::after { position: absolute; top: 6px; }

.cr-nav__cta { display: none; }

@media (max-width: 1180px) {
	.cr-header__inner { flex-wrap: wrap; }
	.cr-header__actions { order: 2; margin-left: auto; }
	.cr-menu-toggle { display: inline-flex; order: 3; margin-left: 0; flex: none; }
	.cr-nav { order: 4; flex-basis: 100%; display: none; }
	.cr-nav.is-open {
		display: block; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px);
		overflow-y: auto; overscroll-behavior: contain; padding-bottom: 12px;
	}
	.cr-nav .cr-menu { flex-direction: column; gap: 0; padding: 8px 0; }
	.cr-nav .cr-menu a { display: block; padding: 13px 4px; border-top: 1px solid var(--cr-line); font-size: 17px; }
	.cr-nav .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 16px; }
	.cr-menu-toggle[aria-expanded="true"] .cr-menu-toggle__bars { background: transparent; }
	.cr-menu-toggle[aria-expanded="true"] .cr-menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
	.cr-menu-toggle[aria-expanded="true"] .cr-menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }
}
@media (max-width: 560px) {
	html { scroll-padding-top: 90px; }
	.cr-header__inner { padding: 10px 16px; gap: 8px; }
	.cr-header.is-scrolled .cr-header__inner { padding-top: 6px; padding-bottom: 6px; }
	.cr-logo { gap: 8px; min-width: 0; }
	.cr-logo__mark,
	.cr-header.is-scrolled .cr-logo__mark { width: 42px; height: 42px; }
	.cr-logo__mark svg { width: 26px; height: 22px; }
	.cr-logo__img,
	.cr-header.is-scrolled .cr-logo__img { max-height: 44px; }
	.cr-logo__name { font-size: 20px; }
	.cr-logo__tag { font-size: 10px; }
	.cr-header__buy { display: none; }
	.cr-basket { padding: 0 14px; }
	.cr-basket__label {
		border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px;
		margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap;
	}
	.cr-menu-toggle { width: 46px; height: 46px; }
	.cr-nav.is-open .cr-nav__cta { display: flex; width: 100%; margin-top: 8px; }
}
@media (max-width: 360px) {
	.cr-logo__tag { display: none; }
}

/* ---- Home: quiz --------------------------------------------------------- */
.cr-quiz-opt {
	text-align: left; font-family: inherit; font-size: 17px; font-weight: 700; padding: 15px 20px; border-radius: 20px;
	cursor: pointer; min-height: 52px; background: #14506F; color: #fff; border: 3px solid #1D6A8E;
}
.cr-quiz-opt:hover { border-color: #8EDDE5; }
.cr-quiz-opt.is-right { background: #DFF3E4; color: #1E6B35; border-color: #3FA35B; }
.cr-quiz-opt.is-wrong { background: #FFE7E4; color: #B32A17; border-color: #FF5A4E; }
.cr-quiz-opt.is-answer { border-color: #3FA35B; }
.cr-quiz-feedback { border-radius: 18px; padding: 14px 18px; font-weight: 800; font-size: 16px; }
.cr-quiz-feedback.is-right { background: var(--cr-sand); color: var(--cr-navy); }
.cr-quiz-feedback.is-wrong { background: #FFE7E4; color: #B32A17; }

/* ---- Home: book format pills -------------------------------------------- */
.cr-format {
	height: 50px; padding: 0 20px; border-radius: 999px; font-family: inherit; font-weight: 800; font-size: 16px;
	cursor: pointer; background: #fff; color: var(--cr-navy); border: 3px solid #F2D27A;
}
.cr-format .woocommerce-Price-amount { font-weight: 800; }
.cr-format del { opacity: .6; font-weight: 600; }
.cr-format ins { text-decoration: none; }
.cr-format.is-active { background: var(--cr-navy); color: #fff; border-color: var(--cr-navy); }
.cr-buy-btn.loading { opacity: .7; }
.cr-buy-btn.added::after { content: ' ✓'; }
#books .added_to_cart { font-weight: 800; font-size: 16px; }

/* ---- Inner page banner -------------------------------------------------- */
.cr-page-hero { background: var(--cr-aqua); position: relative; padding: 56px 0 110px; overflow: hidden; }
.cr-page-hero .cr-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.cr-page-hero__title { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1; }
.cr-page-hero__intro { margin: 0; font-size: 19px; max-width: 640px; }

/* ---- Content (pages / posts) -------------------------------------------- */
.cr-entry { max-width: 820px; margin: 0 auto; font-size: 18px; }
.cr-entry > * + * { margin-top: 1.1em; }
.cr-entry h2 { font-size: 36px; margin-top: 1.6em; }
.cr-entry h3 { font-size: 28px; margin-top: 1.4em; }
.cr-entry img { border-radius: 24px; }
.cr-entry__img { display: block; width: 100%; height: auto; margin-bottom: 30px; }
.cr-entry blockquote { margin-left: 0; padding: 20px 26px; background: var(--cr-sand-soft); border-radius: 24px; font-size: 20px; }
.cr-entry .alignwide { max-width: 1100px; margin-left: 50%; transform: translateX(-50%); width: 100vw; }
.cr-entry .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.cr-entry .wp-block-button__link { background: var(--cr-coral); color: #fff; border-radius: 999px; font-weight: 800; padding: 14px 26px; }
/* Cart / checkout / account pages use the wider container. */
.woocommerce-cart .cr-entry,
.woocommerce-checkout .cr-entry,
.woocommerce-account .cr-entry { max-width: none; }

.cr-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.cr-post-card {
	text-decoration: none; color: var(--cr-navy); background: #fff; border: 3px solid var(--cr-line);
	border-radius: 30px; overflow: hidden; display: flex; flex-direction: column;
}
.cr-post-card:hover { color: var(--cr-navy); }
.cr-post-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.cr-post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.cr-post-card__meta { font-weight: 800; font-size: 14px; color: var(--cr-teal); text-transform: uppercase; }
.cr-post-card__title { font-family: var(--cr-head); font-weight: 800; font-size: 24px; line-height: 1.15; }
.cr-post-card__excerpt { font-size: 16px; line-height: 1.5; }

.cr-pagination .nav-links,
.cr-post-nav .nav-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 40px; font-weight: 800; }
.cr-pagination .page-numbers { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; background: #fff; border: 3px solid var(--cr-line); text-decoration: none; color: var(--cr-navy); }
.cr-pagination .page-numbers.current { background: var(--cr-navy); border-color: var(--cr-navy); color: #fff; }
.cr-post-nav .nav-links { justify-content: space-between; }

.cr-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cr-empty__title { font-family: var(--cr-head); font-weight: 800; font-size: 30px; margin: 0; }
.cr-empty__img { max-width: 520px; width: 100%; border-radius: 32px; border: 6px solid #fff; box-shadow: 0 12px 0 #F2D27A; }

/* Search form */
.search-form { display: flex; gap: 8px; max-width: 520px; width: 100%; }
.search-form label { flex: 1; }
.search-field,
.cr-entry input[type="text"],
.cr-entry input[type="email"],
.cr-entry input[type="tel"],
.cr-entry input[type="password"],
.cr-entry input[type="number"],
.cr-entry select,
.cr-entry textarea {
	width: 100%; min-height: 52px; border-radius: 18px; border: 3px solid #CDEFF2; padding: 10px 18px;
	font-family: inherit; font-size: 17px; color: var(--cr-navy); background: #fff;
}
.search-field { border-radius: 999px; border-color: var(--cr-navy); }
.search-submit,
.cr-entry input[type="submit"],
.cr-entry button[type="submit"] {
	min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--cr-navy); color: #fff;
	font-family: inherit; font-weight: 800; font-size: 16px; cursor: pointer;
}

/* ---- Characters (archive + profile) ------------------------------------- */
.cr-char-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 24px; }
.cr-profile { padding: 60px 0 80px; }
.cr-profile__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.cr-profile__portrait {
	width: 300px; height: 300px; flex: none; border-radius: 50%; background: #fff; border: 8px dashed;
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cr-profile__portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cr-profile__initial { font-family: var(--cr-head); font-weight: 800; font-size: 120px; line-height: 1; }
.cr-profile__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cr-profile__back { font-weight: 800; text-decoration: none; }
.cr-profile__name { margin: 0; font-size: clamp(42px, 5vw, 66px); line-height: 1; }
.cr-profile__tag { align-self: flex-start; background: #fff; font-weight: 800; padding: 6px 16px; border-radius: 999px; }
.cr-profile__facts { margin: 10px 0 0; display: grid; gap: 14px; background: rgba(255, 255, 255, .7); border-radius: 26px; padding: 22px 26px; }
.cr-profile__facts dt { font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.cr-profile__facts dd { margin: 2px 0 0; font-size: 18px; }
@media (max-width: 600px) {
	.cr-profile__portrait { width: 200px; height: 200px; }
	.cr-profile__initial { font-size: 80px; }
}

/* ---- Footer ------------------------------------------------------------- */
.cr-foot { background: linear-gradient(#FFFDF6 0 4px, #0B3B5C 4px); color: #fff; position: relative; }
.cr-foot a { color: #CFF4F7; text-decoration: none; }
.cr-foot a:hover { color: #FFE08A; }
.cr-foot__grid {
	max-width: var(--cr-max); margin: 0 auto; padding: 40px 32px 30px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 36px;
}
.cr-foot__about,
.cr-foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 700; }
.cr-foot__about { gap: 14px; }
.cr-foot__brand { font-family: var(--cr-head); font-weight: 800; font-size: 28px; color: var(--cr-sand); line-height: 1; }
.cr-foot__blurb { font-size: 15px; line-height: 1.6; color: #CFF4F7; font-weight: 600; }
.cr-foot__title { font-family: var(--cr-head); font-weight: 800; font-size: 20px; color: #fff; }
.cr-foot__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cr-foot__email { font-size: 14px; overflow-wrap: anywhere; }
.cr-socials { display: flex; gap: 10px; }
.cr-socials a { width: 46px; height: 46px; border-radius: 50%; background: #14506F; display: flex; align-items: center; justify-content: center; color: #fff; }
.cr-socials a:hover { background: #1D6A8E; color: #fff; }
.cr-foot__legal {
	border-top: 1px solid #1D5A7E; max-width: var(--cr-max); margin: 0 auto; padding: 20px 32px 28px;
	display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: #BFE7EC;
}
.cr-foot__legal-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text,
figcaption { font-size: 14px; color: #4A6A80; }
.sticky,
.bypostauthor,
.gallery-caption { outline: 0; }

/* ==========================================================================
   Responsive: home sections (they use inline styles from the design, so
   these overrides need !important)
   ========================================================================== */
@media (max-width: 900px) {
	#top > div[style*="max-width: 1280px"] { padding-top: 48px !important; padding-bottom: 120px !important; gap: 48px !important; }
	#meet, #story { gap: 40px !important; }
	#books > div { padding: 36px !important; gap: 36px !important; }
}
@media (max-width: 600px) {
	.cr-main [style*="max-width: 1280px"] { padding-left: 20px !important; padding-right: 20px !important; }
	#top > div[style*="max-width: 1280px"] { padding-top: 36px !important; padding-bottom: 100px !important; gap: 44px !important; }
	#top h1 { font-size: clamp(38px, 11vw, 48px) !important; }
	#top p { font-size: 18px !important; }
	#top .cr-wobble { left: -6px !important; bottom: -28px !important; font-size: 17px !important; max-width: 180px !important; }
	#top [style*="width: 104px"] { width: 84px !important; height: 84px !important; font-size: 14px !important; right: -4px !important; }

	#books { padding: 0 16px 50px !important; }
	#books > div { padding: 28px 20px !important; gap: 30px !important; border-radius: 32px !important; }
	#books .cr-format { flex: 1 1 auto; }
	#books .cr-buy-btn { width: 100%; }

	#meet { padding-top: 40px !important; padding-bottom: 56px !important; gap: 32px !important; }
	#meet p { font-size: 17px !important; }
	#meet [style*="grid-template-columns: repeat(3"] { gap: 8px !important; }
	#meet [style*="grid-template-columns: repeat(3"] > div { padding: 12px 6px !important; }

	section > div[style*="padding: 50px 32px 90px"] { padding-top: 24px !important; padding-bottom: 56px !important; }
	#characters { padding-top: 48px !important; padding-bottom: 56px !important; }
	#corner > div[style*="max-width: 1280px"] { padding-top: 24px !important; padding-bottom: 64px !important; }
	.cr-quiz { padding: 24px 20px !important; border-radius: 28px !important; }
	.cr-quiz h3 { font-size: 23px !important; }

	#story { padding-top: 56px !important; padding-bottom: 56px !important; gap: 32px !important; }
	#story > div[style*="background: #FFF4D1"] { padding: 24px 18px !important; border-radius: 28px !important; }
	section[aria-label="Reviews"] > div { padding-top: 56px !important; padding-bottom: 56px !important; }
	#news { padding-top: 56px !important; padding-bottom: 56px !important; }

	#club { padding: 0 16px 56px !important; }
	#club > div { padding: 32px 22px !important; border-radius: 32px !important; }
	#club button[type="submit"] { width: 100%; }

	.cr-main h2[style*="clamp("] { font-size: clamp(30px, 8.5vw, 40px) !important; }
	.cr-section { padding-top: 40px; padding-bottom: 60px; }
	.cr-page-hero { padding: 40px 0 90px; }
	.cr-page-hero__intro { font-size: 17px; }
	.cr-entry { font-size: 17px; }
	.cr-entry h2 { font-size: 28px; }
	.cr-entry h3 { font-size: 23px; }
	.cr-foot__grid { padding: 32px 20px 24px; gap: 28px; }
	.cr-foot__legal { padding: 18px 20px 24px; flex-direction: column; }
	.cr-foot__legal-menu { flex-wrap: wrap; gap: 8px 16px; }
	.cr-announce { padding: 8px 16px; font-size: 14px; gap: 4px 10px; }
}
@media (max-width: 380px) {
	.cr-main [style*="grid-template-columns: repeat(auto-fit"] { grid-template-columns: 1fr !important; }
	#meet [style*="grid-template-columns: repeat(3"] > div > div:first-child { font-size: 18px !important; }
}

/* Inner pages built from home sections: keep the first section close to the banner. */
.cr-inner-sections > section:first-child,
.cr-inner-sections > section:first-child > div[style*="max-width: 1280px"] { padding-top: 20px !important; }
.cr-inner-sections > #books:first-child { padding-top: 10px !important; }

/* ==========================================================================
   Contact page & form
   ========================================================================== */
.cr-contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cr-contact__form { background: #fff; border: 3px solid var(--cr-line); border-radius: 36px; padding: 36px; box-shadow: 0 10px 0 var(--cr-aqua); }
.cr-contact__title { margin: 0 0 20px; font-size: 34px; }
.cr-contact__side { display: flex; flex-direction: column; gap: 18px; }
.cr-contact__card { background: #FFE7E4; border-radius: 28px; padding: 24px 26px; }
.cr-contact__card h3 { margin: 0 0 10px; font-size: 24px; }
.cr-contact__card p { margin: 6px 0 0; font-size: 15px; font-weight: 600; }
.cr-contact__card--sand { background: var(--cr-sand-soft); }
.cr-contact__card--aqua { background: var(--cr-aqua); }
.cr-contact__list,
.cr-contact__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.cr-contact__list strong { display: block; font-weight: 800; }
.cr-contact__links a { font-weight: 800; }
.cr-contact__email { font-weight: 800; font-size: 18px; word-break: break-all; }
.cr-socials--dark a { background: var(--cr-navy); }
.cr-socials--dark a:hover { background: var(--cr-teal); }

.cr-form { display: flex; flex-direction: column; gap: 18px; position: relative; }
.cr-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cr-field { display: flex; flex-direction: column; gap: 6px; }
.cr-field > label { font-weight: 800; font-size: 16px; }
.cr-field > label > span[aria-hidden="true"] { color: var(--cr-coral); }
.cr-field input[type="text"],
.cr-field input[type="email"],
.cr-field select,
.cr-field textarea {
	width: 100%; min-height: 54px; border-radius: 18px; border: 3px solid #CDEFF2; padding: 12px 18px;
	font-family: inherit; font-size: 17px; color: var(--cr-navy); background-color: #fff; transition: border-color .15s ease;
}
.cr-field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.cr-field select {
	appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2214%22 height=%229%22 viewBox=%220 0 14 9%22%3E%3Cpath d=%22M1 1l6 6 6-6%22 fill=%22none%22 stroke=%22%230B3B5C%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 18px center;
}
.cr-field input:focus,
.cr-field select:focus,
.cr-field textarea:focus { border-color: var(--cr-turquoise); outline: none; box-shadow: 0 0 0 3px rgba(20, 184, 196, .25); }
.cr-field.has-error input,
.cr-field.has-error textarea { border-color: var(--cr-coral); }
.cr-field__err { color: #B32A17; font-weight: 700; font-size: 15px; }
.cr-field--check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 15px; line-height: 1.5; cursor: pointer; }
.cr-field--check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--cr-navy); }
.cr-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cr-form__submit { align-self: flex-start; min-height: 56px; padding: 0 34px; font-size: 18px; box-shadow: 0 5px 0 var(--cr-coral-dark); }
.cr-form__note { margin: 0; font-size: 14px; font-weight: 600; color: var(--cr-teal); }
.cr-form-alert { margin: 0 0 18px; background: #FFE7E4; color: #B32A17; border-radius: 18px; padding: 14px 18px; font-weight: 800; }
.cr-form-done { display: flex; flex-direction: column; gap: 6px; background: #DFF3E4; color: #1E6B35; border-radius: 24px; padding: 24px 26px; font-size: 17px; }
.cr-form-done strong { font-family: var(--cr-head); font-size: 26px; line-height: 1.1; }
.cr-form-done a { font-weight: 800; color: #1E6B35; }

@media (max-width: 900px) {
	.cr-contact { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
	.cr-contact__form { padding: 24px 18px; border-radius: 28px; }
	.cr-contact__title { font-size: 28px; }
	.cr-form__row { grid-template-columns: 1fr; }
	.cr-form__submit { width: 100%; align-self: stretch; }
}

/* FAQ (Details blocks in the editor) */
.cr-entry details { background: #fff; border: 3px solid var(--cr-line); border-radius: 22px; padding: 0 22px; }
.cr-entry details + details { margin-top: 12px; }
.cr-entry summary { cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 18px; }
.cr-entry details[open] summary { border-bottom: 2px dashed var(--cr-line); margin-bottom: 12px; }
.cr-entry details > *:last-child { padding-bottom: 18px; }
