/* Ismail Douglas: finishing touches layered on theme.json */

body { -webkit-font-smoothing: antialiased; }

/* Sticky header */
.wp-site-blocks > header { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header { top: 0; position: relative; } }
.id-header .wp-block-site-title a { color: var(--wp--preset--color--night); text-decoration: none; }
.id-header .wp-block-navigation a { text-decoration: none; }
.id-header .wp-block-navigation a:hover { color: var(--wp--preset--color--clay); }
.id-header .id-nav-cta > a { background: var(--wp--preset--color--clay); color: var(--wp--preset--color--paper) !important; padding: 0.5em 1.1em; border-radius: 4px; }
.id-header .id-nav-cta > a:hover { background: var(--wp--preset--color--night); }
.wp-block-navigation__responsive-container.is-menu-open .id-nav-cta > a { background: none; padding: 0; }

/* Woven stripe divider (kente-inspired) */
.wp-block-separator.id-kente,
.id-kente-bar {
	border: 0 !important;
	height: 8px !important;
	opacity: 1 !important;
	background: repeating-linear-gradient(90deg, #C9973B 0 28px, #1B2338 28px 34px, #B5532E 34px 62px, #1B2338 62px 68px, #3F6B4A 68px 96px, #1B2338 96px 102px) !important;
	border-radius: 2px;
}

/* Eyebrow text */
.id-eyebrow {
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-size: 0.78rem !important;
	font-weight: 600;
}

/* Gold underline accent for section headings */
.id-rule::after {
	content: "";
	display: block;
	width: 72px;
	height: 3px;
	margin: 0.9rem auto 0;
	background: linear-gradient(90deg, #C9973B, #B5532E, #3F6B4A);
	border-radius: 3px;
}
.has-text-align-left.id-rule::after { margin-left: 0; }

/* Hero */
.id-hero .id-hero-sub { max-width: 640px; margin-left: auto !important; margin-right: auto !important; font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem) !important; line-height: 1.45; }
.id-hero .is-style-outline .wp-block-button__link { color: var(--wp--preset--color--paper); border-color: var(--wp--preset--color--paper); background: transparent; }
.id-hero h1 { color: var(--wp--preset--color--paper); }

/* Cards */
.id-card {
	border: 1px solid var(--wp--preset--color--sand);
	border-top: 4px solid var(--wp--preset--color--clay);
	background: var(--wp--preset--color--paper);
	border-radius: 6px;
	height: 100%;
}
.id-card.is-gold { border-top-color: var(--wp--preset--color--gold); }
.id-card.is-kola { border-top-color: var(--wp--preset--color--kola); }
.id-card img { border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; }

.id-num {
	font-family: var(--wp--preset--font-family--display);
	color: var(--wp--preset--color--gold);
	font-size: 2.2rem !important;
	line-height: 1 !important;
	margin-bottom: 0.3rem !important;
}

.id-frame img { box-shadow: 0 22px 44px -26px rgba(27, 35, 56, 0.7); }
.id-portrait img { aspect-ratio: 4 / 5; object-fit: cover; }

/* Testimonials */
.id-testimonial { background: var(--wp--preset--color--paper); border-radius: 6px; padding: 1.6rem 1.8rem !important; border-left: 4px solid var(--wp--preset--color--gold) !important; }
.id-testimonial p { font-size: 1.15rem !important; }
.id-testimonial cite { font-family: var(--wp--preset--font-family--body); font-style: normal; font-size: 0.9rem; color: #5b534c; display: block; margin-top: 0.6rem; }

/* Lists */
.id-plain-list { list-style: none; padding-left: 0; }
.id-plain-list li { margin: 0.35rem 0; }
.id-footer a { text-decoration: none; }
.id-footer a:hover { color: var(--wp--preset--color--gold) !important; }
.id-checks { list-style: none; padding-left: 0; }
.id-checks li { padding-left: 1.6rem; position: relative; margin: 0.45rem 0; }
.id-checks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 0.7rem; background: var(--wp--preset--color--gold); transform: rotate(45deg); }

/* Media */
.id-video video { border-radius: 6px; width: 100%; max-height: 640px; background: #000; }
.wp-block-audio audio { width: 100%; }
.id-audio { background: var(--wp--preset--color--linen); border-radius: 6px; padding: 1rem 1.2rem; }

/* Timeline */
.id-timeline .wp-block-column { border-left: 2px solid var(--wp--preset--color--sand); padding-left: 1.2rem; }

/* Details / FAQ */
.wp-block-details summary { font-family: var(--wp--preset--font-family--display); font-weight: 600; cursor: pointer; font-size: 1.1rem; }

/* Forms */
.id-form { display: grid; gap: 1rem; }
.id-form *, .id-form *::before, .id-form *::after { box-sizing: border-box; }
.id-form label { display: block; font-weight: 500; margin-bottom: 0.3rem; }
.id-form input[type=text], .id-form input[type=email], .id-form input[type=tel], .id-form input[type=date], .id-form select, .id-form textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid #cdbca3;
	border-radius: 4px;
	background: #fff;
	font: inherit;
	color: var(--wp--preset--color--ink);
}
.id-form select { appearance: auto; height: 3.1rem; }
.id-form input:focus, .id-form select:focus, .id-form textarea:focus { outline: 2px solid var(--wp--preset--color--indigo); outline-offset: 1px; border-color: transparent; }
.id-form .id-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.id-form .id-row > div { min-width: 0; }
@media (max-width: 640px) { .id-form .id-row { grid-template-columns: 1fr; } }
.id-form button {
	justify-self: start;
	background: var(--wp--preset--color--clay);
	color: var(--wp--preset--color--paper);
	border: 0;
	border-radius: 4px;
	padding: 1rem 2rem;
	font: inherit;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}
.id-form button:hover { background: var(--wp--preset--color--night); }
.id-form .id-hp { position: absolute; left: -9999px; }
.id-notice { padding: 1rem 1.2rem; border-radius: 4px; border-left: 4px solid var(--wp--preset--color--kola); background: #eef4ef; }
.id-notice.is-error { border-left-color: var(--wp--preset--color--clay); background: #fbeeea; }
