/* =====================================================
   EMAIL / NEWSLETTER CTA
   ===================================================== */

.theinkwell-email-form {
	display: flex;
	gap: 12px;
	max-width: 520px;
	margin: 28px auto 0;
	align-items: stretch;
}

.theinkwell-email-form input[type="email"] {
	flex: 1;
	padding: 14px 16px;
	font-size: 15px;
	line-height: 1.45;
	border: 1px solid rgba(0,0,0,0.18);
	border-radius: 4px;
	background-color: #ffffff;
	color: #111;
	font-family: inherit;
}

.theinkwell-email-form input::placeholder {
	color: #777;
}

.theinkwell-email-form input:focus {
	outline: none;
	border-color: #2e3a59;
	box-shadow: 0 0 0 1px #2e3a59;
}

.theinkwell-email-form button {
	padding: 14px 22px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	border: none;
	border-radius: 4px;
	background-color: #2e3a59;
	color: #ffffff;
	cursor: pointer;
	white-space: nowrap;
	font-family: inherit;
	transition: background-color 0.2s ease;
}

.theinkwell-email-form button:hover {
	background-color: #1f2940;
}

/* Mobile */
@media (max-width: 600px) {
	.theinkwell-email-form {
		flex-direction: column;
	}
	.theinkwell-email-form button {
		width: 100%;
	}
}


/* =====================================================
   PRESS LOGOS
   ===================================================== */

.theinkwell-press-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 72px;
}

.theinkwell-press-logo img {
	max-height: 44px;
	width: auto;
	max-width: 100%;
	opacity: 0.85;
}


/* =====================================================
   GLOBAL RHYTHM (SAFE)
   ===================================================== */

/* ONLY spacing, no visuals */
.wp-site-blocks {
	padding-top: var(--wp--preset--spacing--md);
	padding-bottom: var(--wp--preset--spacing--md);
}

/* Space between major sections */
.wp-block-group + .wp-block-group {
	margin-top: var(--wp--preset--spacing--lg);
}


/* =====================================================
   PULL QUOTES (SCOPED)
   ===================================================== */

/* Only when explicitly full-width + surface */
.alignfull.has-surface-background-color {
	border-top: 1px solid rgba(0,0,0,0.06);
	border-bottom: 1px solid rgba(0,0,0,0.06);
}


/* =====================================================
   TESTIMONIAL / EDITORIAL COLUMNS
   ===================================================== */

/* IMPORTANT: scope this so it does NOT affect grids */
.theinkwell-editorial-columns .wp-block-column {
	background: rgba(255,255,255,0.55);
	border: 1px solid rgba(0,0,0,0.07);
	padding: 22px;
}


/* =====================================================
   BOOK GRID (PREMIUM)
   ===================================================== */

.ink-book-grid {
	text-align: center;
}

.ink-book-grid h2 {
	font-size: clamp(2.1rem, 3vw, 2.6rem);
	margin-bottom: 3rem;
}

.ink-book-grid h3 {
	font-size: 1.05rem;
	margin-top: 1rem;
}

.ink-book-grid p {
	font-size: 0.95rem;
	color: #444;
}


/* =====================================================
   AUTHOR BIO
   ===================================================== */

.ink-author-bio {
	max-width: 960px;
	margin: 0 auto;
}

.ink-author-bio img {
	margin-bottom: 1.5rem;
}

.ink-author-bio h2 {
	margin-bottom: 0.6rem;
}


/* =====================================================
   FEATURED BOOK
   ===================================================== */

.ink-featured-book {
	max-width: 1100px;
	margin: 0 auto;
}

.ink-featured-book p strong {
	letter-spacing: 0.06em;
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #666;
}

.ink-featured-book h2 {
	margin-top: 0.4rem;
	margin-bottom: 1rem;
}

/* =========================
   Book Grid – Premium Editorial
   ========================= */

.ink-book-grid {
	margin-top: var(--wp--preset--spacing--xl);
}

.ink-book-grid h2 {
	font-size: clamp(2.2rem, 3vw, 2.8rem);
	letter-spacing: -0.02em;
	margin-bottom: var(--wp--preset--spacing--lg);
}

.ink-book-grid .wp-block-column {
	background: none;
	border: none;
	padding: 0;
	text-align: center;
}

.ink-book-grid figure {
	margin-bottom: 14px;
}

.ink-book-grid img {
	border-radius: 2px;
	box-shadow: 0 12px 28px rgba(0,0,0,0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ink-book-grid img:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.ink-book-grid h3 {
	font-size: 1.15rem;
	margin-top: 18px;
	margin-bottom: 6px;
	letter-spacing: -0.01em;
}

.ink-book-grid p {
	font-size: 0.95rem;
	color: rgba(0,0,0,0.7);
	max-width: 28ch;
	margin-left: auto;
	margin-right: auto;
}