/*
Theme Name: JKS Bella Theme
Theme URI: https://github.com/SiroDevs/jks-bella-theme
Author: Siro Devs
Author URI: https://siro.co.ke
Description: A clean, elegant theme generated from the JKS Bella Foundation website.
Version: 1.0.1
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 5.6
Version: 1.1.4
License: GNU General Public License v2 or later
Text Domain: jks-bella
 */

:root {
	--navy: #0B2C3D;
	--teal: #009B9E;
	--yellow: #FFD54F;
	--cream: #F5EDE4;
	--terracotta: #B24C3E;
	--charcoal: #333333;
	--white: #FFFFFF;
	--hairline: rgba(0, 0, 0, .08);
}

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

header {
	background: var(--navy);
	color: var(--white);
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

header a {
	color: #fff;
	text-decoration: none;
}

header a:hover {
	opacity: 0.85;
}

footer {
	background: var(--navy);
	color: var(--white);
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 18px;
}

@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

.footer-title {
	font-weight: 800;
	margin-bottom: 10px;
}

.newsletter {
	display: flex;
	gap: 8px;
}

.newsletter input {
	padding: 10px 12px;
	border-radius: 8px;
	border: none;
	min-width: 220px;
}

.logo-footer {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-footer img {
	height: 64px;
	width: 64px;
	border-radius: 10px;
	object-fit: cover;
}

.wp-block-button {
	display: inline-block;
	border-radius: 12px;
	padding: 12px 18px;
	font-weight: 700;
	box-shadow: none;
	border: 1px solid transparent;
}

.wp-block-button.primary {
	background: var(--yellow);
	color: #111;
}

.wp-block-button.secondary {
	background: var(--white);
	color: var(--navy);
	border-color: var(--hairline);
}

.wp-block-button:active {
	transform: translateY(1px);
}

.front-page .wp-block-post-title {
  display: none;
}
.wp-site-blocks > header + * {
	margin-top: 0 !important;
}

.hero-section {
	position: relative;
	background: var(--teal);
	color: var(--white);
	padding: clamp(36px, 7vw, 72px) 0;
	overflow: hidden;
	isolation: isolate;
}

.hero-section::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto auto;
	height: 120%;
	width: 120%;
	z-index: -1;
	background:
	radial-gradient(80px 80px at 78% 30%, rgba(255,213,79,.55), transparent 60%),
	radial-gradient(180px 160px at 92% 70%, rgba(178,76,62,.30), transparent 70%),
	radial-gradient(120px 110px at 10% 85%, rgba(255,213,79,.35), transparent 60%),
	radial-gradient(220px 200px at 8% 20%, rgba(245,237,228,.28), transparent 70%);
	box-shadow: inset 0 -120px 200px rgba(0,0,0,.06);
}
.hero-section h1 { font-size: clamp(28px, 4.8vw, 48px); margin: 0 0 8px; letter-spacing:.2px; }
.hero-section p { font-size: clamp(16px, 2.2vw, 20px); margin: 0 0 20px; max-width: 66ch; opacity:.97; }
.hero-cta { display:flex; gap: 10px; flex-wrap:wrap; }