/*
Theme Name: Cir Joma
Description: A custom block theme scaffolded by Studio Code.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cirjoma
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* WordPress inserts margin-block-start: var(--wp--style--block-gap) between the
   template's top-level sections (header part, main, footer part) — a gap that
   exists even when no markup asks for it. Zero it so sections butt edge-to-edge
   and own their vertical rhythm via padding; this does not affect block gaps
   inside nested layouts. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* ---- Cir Joma custom styling ---- */

html {
	background: var(--wp--preset--color--ink, #0b1826);
}

body {
	background: var(--wp--preset--gradient--night-to-sky);
	background-repeat: no-repeat;
}

.cj-acrostic {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	color: #ffffff;
	line-height: 1.4;
}

.cj-acrostic .cj-letter {
	color: var(--wp--preset--color--accent);
	font-weight: 700;
}

.cj-tagline p {
	font-style: italic;
	color: #cfe9f7;
}

.cj-pill .wp-block-button__link {
	background-color: var(--wp--preset--color--accent);
	color: #ffffff;
	border-radius: 999px;
	padding: 0.7em 2em;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.cj-pill .wp-block-button__link:hover {
	background-color: #3fb3d6;
}

.cj-gallery figure {
	margin: 0;
}

.cj-gallery img {
	border: 2px solid rgba(255,255,255,0.25);
}

.cj-signature {
	max-width: 90px;
	margin: 0 auto;
	opacity: 0.9;
}

.cj-triptych h3 {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	letter-spacing: 0.03em;
}

header.wp-block-template-part {
	background: #ffffff;
}

header .wp-block-navigation-item > .wp-block-navigation-item__content {
	color: #123a56 !important;
	font-weight: 600;
}

header .wp-block-navigation-item > .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--accent) !important;
}

.cj-footer .wp-block-social-link {
	background-color: var(--wp--preset--color--accent) !important;
}

.cj-footer .wp-block-social-link svg {
	fill: #ffffff !important;
}

.cj-nav-pill .wp-block-button__link {
	background-color: var(--wp--preset--color--accent);
	color: #ffffff !important;
	border-radius: 999px;
	padding: 0.5em 1.4em;
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
}

.cj-footer {
	background: #f2f2f2;
	color: #55616f;
}

.cj-footer a {
	color: #55616f;
}

.cj-footer .wp-block-separator {
	border-color: rgba(85,97,111,0.2);
}
