/*
Theme Name: CCI Heritage
Theme URI: https://cciorg.net/
Author: Cincinnati Cultural Initiative
Description: Direction D "Heritage Compact" — the approved design system for the Cincinnati Cultural Initiative. Warm ivory paper, Fraunces display serif, Instrument Sans UI, sindoor/gold/peacock accents and Bengali (Noto Serif Bengali) accent type.
Template: kadence
Version: 1.0.1
Requires at least: 6.5
Tested up to: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cci-heritage
Tags: nonprofit, community, events
*/

/* =========================================================================
   1. DESIGN TOKENS — Direction D "Heritage Compact"
   These are the single source of truth. Kadence's --global-palette* vars are
   aliased to them below so the whole site (theme chrome + blocks + plugins)
   renders from one place and does not depend on customizer state.
   ========================================================================= */

:root {
	/* Core surfaces + ink */
	--cci-paper: #FBF6EE;
	--cci-ink: #1A1410;
	--cci-surface: #FFFCF6;
	--cci-muted: #6B5D4F;
	--cci-body: #4A4038;

	/* Accents */
	--cci-sindoor: #9E2B25;
	--cci-sindoor-hover: #B23A32;
	--cci-gold: #C8881D;
	--cci-gold-hover: #DA9A2E;
	--cci-peacock: #1F4D3A;

	/* Tints (pills, washes) */
	--cci-sindoor-tint: #F3E2DE;
	--cci-gold-tint: #F6E8CE;
	--cci-gold-deep: #8A6410;
	--cci-peacock-tint: #E3EBE4;
	--cci-sand: #F3EADC;

	/* On-dark text */
	--cci-on-dark: #F3EBDD;
	--cci-on-dark-soft: #B8AC9C;
	--cci-on-peacock: #CFDCCF;
	--cci-on-sindoor: #EBC5B8;
	--cci-gold-light: #E0A442;

	/* Lines + shape */
	--cci-hairline: rgba(26, 20, 16, .14);
	--cci-hairline-strong: rgba(26, 20, 16, .24);
	--cci-radius: 4px;
	--cci-radius-sm: 3px;
	--cci-radius-xs: 2px;
	--cci-shadow-lift: 0 14px 32px rgba(26, 20, 16, .12);

	/* Type */
	--cci-font-display: Fraunces, "Iowan Old Style", Georgia, "Times New Roman", serif;
	--cci-font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--cci-font-bengali: "Noto Serif Bengali", "Nirmala UI", "Vrinda", serif;

	/* Layout */
	--cci-content-width: 1180px;
	--cci-gutter: 32px;
}

/* Alias Kadence's palette to the Direction D tokens.
   palette1 accent · 2 accent-alt · 3 strongest text · 4 strong text
   5 medium text · 6 subtle text · 7 subtle bg · 8 lighter bg · 9 white/offwhite
   10 complement (gold) · 11 success (peacock) */
:root {
	--global-palette1: var(--cci-sindoor);
	--global-palette2: var(--cci-sindoor-hover);
	--global-palette3: var(--cci-ink);
	--global-palette4: var(--cci-ink);
	--global-palette5: var(--cci-body);
	--global-palette6: var(--cci-muted);
	--global-palette7: var(--cci-sand);
	--global-palette8: var(--cci-paper);
	--global-palette9: var(--cci-surface);
	--global-palette10: var(--cci-gold);
	--global-palette11: var(--cci-peacock);

	--global-palette-highlight: var(--cci-sindoor);
	--global-palette-highlight-alt: var(--cci-sindoor-hover);
	--global-palette-highlight-alt2: var(--cci-surface);

	--global-palette-btn: var(--cci-paper);
	--global-palette-btn-hover: var(--cci-paper);
	--global-palette-btn-bg: var(--cci-sindoor);
	--global-palette-btn-bg-hover: var(--cci-sindoor-hover);

	/* Outline buttons. Kadence's own outline rule reads these vars and outranks
	   any child-theme selector, so set them here rather than fight specificity:
	   ink at rest, sindoor on hover (the mockup's `.btn-line`). */
	--global-palette-btn-out: var(--cci-ink);
	--global-palette-btn-out-hover: var(--cci-sindoor);

	--global-body-font-family: var(--cci-font-body);
	--global-heading-font-family: var(--cci-font-display);
	--global-primary-nav-font-family: var(--cci-font-body);
	--global-fallback-font: var(--cci-font-body);
	--global-display-fallback-font: var(--cci-font-display);

	--global-content-width: var(--cci-content-width);
	--global-content-edge-padding: var(--cci-gutter);
}

/* =========================================================================
   2. BASE
   ========================================================================= */

html {
	background-color: var(--cci-paper);
}

body {
	background-color: var(--cci-paper);
	color: var(--cci-ink);
	font-family: var(--cci-font-body);
	font-size: 16.5px;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Kadence paints its own ground on these wrappers; let the paper show through.
   `body` is deliberately NOT in this list — it is the canvas of last resort for
   short pages and overscroll. */
.content-bg,
.content-area,
.site-container,
.entry-content-wrap {
	background-color: transparent;
}

#wrapper {
	background-color: var(--cci-paper);
}

img {
	max-width: 100%;
	height: auto;
}

::selection {
	background: var(--cci-gold-tint);
	color: var(--cci-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--cci-gold);
	outline-offset: 3px;
	border-radius: var(--cci-radius-xs);
}

/* =========================================================================
   3. TYPOGRAPHY
   ========================================================================= */

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
.entry-title,
.site-title,
.widget-title,
.comment-reply-title,
.wp-block-heading {
	font-family: var(--cci-font-display);
	font-weight: 600;
	font-optical-sizing: auto;
	color: var(--cci-ink);
	letter-spacing: -.005em;
}

body h1,
.entry-title,
h1.wp-block-heading {
	font-size: clamp(36px, 5.2vw, 60px);
	line-height: 1.06;
	letter-spacing: -.01em;
}

body h2,
h2.wp-block-heading {
	font-size: clamp(28px, 3.6vw, 40px);
	line-height: 1.14;
}

body h3,
h3.wp-block-heading {
	font-size: clamp(21px, 2.2vw, 26px);
	line-height: 1.24;
}

body h4,
h4.wp-block-heading {
	font-size: clamp(18px, 1.7vw, 21px);
	line-height: 1.32;
}

body h5,
h5.wp-block-heading {
	font-size: 17px;
	line-height: 1.4;
}

body h6,
h6.wp-block-heading {
	font-size: 13px;
	line-height: 1.4;
	font-family: var(--cci-font-body);
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--cci-muted);
}

/* Italic display accents pick up sindoor, per the mockup's `pujo, gaan` treatment */
h1 em,
h1 i,
h2 em,
h2 i {
	font-style: italic;
	color: var(--cci-sindoor);
}

/* Bengali accent type */
.bn,
.cci-bn,
:lang(bn) {
	font-family: var(--cci-font-bengali);
	font-weight: 500;
}

/* Eyebrow / kicker */
.cci-kicker {
	display: inline-block;
	font-family: var(--cci-font-body);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--cci-gold);
	margin-bottom: 16px;
}

/* Prose links: sindoor with a soft underline. The exclusions live inside
   :where() so this rule stays at (0,1,1) and the Direction D components below
   (section heads, card "go" links, pills) can override it with plain classes
   instead of an !important arms race. */
.entry-content a:where(:not(.button):not(.wp-block-button__link):not(.wp-element-button):not(.cci-go):not(.cci-pill)) {
	color: var(--cci-sindoor);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: rgba(158, 43, 37, .38);
}

.entry-content a:where(:not(.button):not(.wp-block-button__link):not(.wp-element-button):not(.cci-go):not(.cci-pill)):hover {
	color: var(--cci-sindoor-hover);
	text-decoration-color: currentColor;
}

/* Component links are typographic UI, never underlined prose. */
.cci-sec-head a,
.cci-card a,
.cci-poster a,
.cci-band a,
.cci-mosaic a,
a.cci-go,
a.cci-pill {
	text-decoration: none;
}

/* =========================================================================
   4. BUTTONS
   ========================================================================= */

.button,
button:not(.menu-toggle-open):not(.menu-toggle-close):not(.search-toggle-open):not(.toggle-close),
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link,
.wp-element-button,
.kb-button,
.header-button,
.entry-content .wp-block-button__link {
	font-family: var(--cci-font-body);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .02em;
	line-height: 1.2;
	border-radius: var(--cci-radius-sm);
	padding: 12px 24px;
	border: 1.5px solid transparent;
	background-color: var(--cci-sindoor);
	color: var(--cci-paper);
	text-decoration: none;
	transition: background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out;
}

.button:hover,
.button:focus,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
.kb-button:hover,
.header-button:hover,
.entry-content .wp-block-button__link:hover {
	background-color: var(--cci-sindoor-hover);
	border-color: transparent;
	color: var(--cci-paper);
}

/* Gold button — dark text on gold, per Direction D */
.wp-block-button.is-style-cci-gold > .wp-block-button__link,
.button.cci-btn-gold,
a.cci-btn-gold {
	background-color: var(--cci-gold);
	color: #241708;
	border-color: transparent;
}

.wp-block-button.is-style-cci-gold > .wp-block-button__link:hover,
.button.cci-btn-gold:hover,
a.cci-btn-gold:hover {
	background-color: var(--cci-gold-hover);
	color: #241708;
}

/* Outline button — ink hairline, sindoor on hover */
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-cci-outline > .wp-block-button__link,
.button.cci-btn-outline,
a.cci-btn-outline {
	background-color: transparent;
	color: var(--cci-ink);
	border: 1.5px solid var(--cci-ink);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-cci-outline > .wp-block-button__link:hover,
.button.cci-btn-outline:hover,
a.cci-btn-outline:hover {
	background-color: transparent;
	color: var(--cci-sindoor);
	border-color: var(--cci-sindoor);
}

/* On dark grounds (peacock band, sindoor poster) the outline flips to paper */
.cci-band .wp-block-button.is-style-outline > .wp-block-button__link,
.cci-poster .wp-block-button.is-style-outline > .wp-block-button__link,
.cci-on-dark .wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--cci-on-dark);
	border-color: rgba(243, 235, 221, .6);
}

/* =========================================================================
   5. FORMS
   ========================================================================= */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
	background-color: var(--cci-surface);
	border: 1px solid var(--cci-hairline);
	border-radius: var(--cci-radius-sm);
	color: var(--cci-ink);
	font-family: var(--cci-font-body);
	padding: 11px 14px;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--cci-gold);
}

::placeholder {
	color: var(--cci-muted);
	opacity: 1;
}

/* =========================================================================
   6. HEADER — top ribbon, main row, navigation, CTA
   ========================================================================= */

#masthead,
.site-header-wrap,
.site-header-row-container,
.site-main-header-wrap {
	background-color: var(--cci-paper);
}

/* -- Top ribbon (peacock announcement bar) -- */
.site-top-header-wrap,
.site-top-header-wrap .site-header-row-container-inner,
.site-header-top-section-left,
.site-header-top-section-center,
.site-header-top-section-right {
	background-color: var(--cci-peacock);
	color: var(--cci-on-dark);
}

.site-top-header-wrap .site-header-item,
.site-top-header-wrap .header-html,
.site-top-header-wrap p {
	font-family: var(--cci-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--cci-on-dark);
	margin: 0;
	text-align: center;
}

.site-top-header-wrap a {
	color: var(--cci-on-dark);
	text-decoration: none;
	border-bottom: 1px solid rgba(243, 235, 221, .45);
}

.site-top-header-wrap a:hover {
	color: #FFFFFF;
	border-bottom-color: currentColor;
}

.site-top-header-wrap .bn {
	text-transform: none;
	letter-spacing: 0;
	color: var(--cci-gold-light);
	margin-left: 8px;
	border-bottom: 0;
}

/* -- Main header row -- */
.site-main-header-wrap .site-header-row-container-inner {
	background-color: var(--cci-paper);
	border-bottom: 1px solid var(--cci-hairline);
}

#masthead .site-header-row-container-inner > .site-container {
	max-width: var(--cci-content-width);
}

/* -- Brand mark: "CCI" in Fraunces sindoor + uppercase tagline -- */
.site-branding .site-title,
.site-branding a.brand .site-title {
	font-family: var(--cci-font-display);
	font-weight: 600;
	font-size: 21px;
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--cci-sindoor);
	margin: 0;
}

.site-branding a.brand:hover .site-title {
	color: var(--cci-sindoor-hover);
}

.site-branding .site-description {
	font-family: var(--cci-font-body);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--cci-muted);
	margin: 2px 0 0;
	line-height: 1.3;
}

.site-branding a.brand {
	gap: 10px;
	align-items: baseline;
}

/* -- Primary navigation -- */
.header-navigation .header-menu-container > ul > li > a,
.main-navigation .primary-menu-container > ul > li > a,
.header-navigation ul li a {
	font-family: var(--cci-font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--cci-ink);
}

.header-navigation ul li a:hover,
.header-navigation ul li.current-menu-item > a {
	color: var(--cci-sindoor);
}

.header-navigation .header-menu-container > ul > li.menu-item > a::after,
.header-navigation ul > li.menu-item > a .nav-drop-title-wrap::after {
	border-color: var(--cci-gold);
}

/* Dropdowns */
.header-navigation .header-menu-container ul ul.sub-menu,
.header-navigation .header-menu-container ul ul.submenu {
	background-color: var(--cci-surface);
	border: 1px solid var(--cci-hairline);
	border-radius: var(--cci-radius-sm);
	box-shadow: 0 12px 30px rgba(26, 20, 16, .12);
	overflow: hidden;
}

.header-navigation ul ul li a {
	font-size: 14px;
	font-weight: 500;
	color: var(--cci-ink);
}

.header-navigation ul ul li a:hover {
	background-color: var(--cci-sand);
	color: var(--cci-sindoor);
}

/* -- Header CTA button -- */
.header-button,
.site-header-item .header-button {
	background-color: var(--cci-sindoor);
	color: var(--cci-paper);
	border-radius: var(--cci-radius-sm);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .02em;
	padding: 12px 24px;
	border: 1.5px solid transparent;
	box-shadow: none;
}

.header-button:hover {
	background-color: var(--cci-sindoor-hover);
	color: var(--cci-paper);
	box-shadow: none;
}

/* -- Sticky header -- */
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start),
.site-header-row-container.kadence-sticky-header.item-is-fixed:not(.item-at-start) {
	background-color: rgba(251, 246, 238, .96);
	backdrop-filter: saturate(140%) blur(8px);
	-webkit-backdrop-filter: saturate(140%) blur(8px);
	box-shadow: 0 1px 0 var(--cci-hairline), 0 10px 24px rgba(26, 20, 16, .06);
}

/* =========================================================================
   7. MOBILE HEADER + DRAWER
   ========================================================================= */

.mobile-toggle-open-container .menu-toggle-open,
.mobile-toggle-open-container .menu-toggle-open:focus,
.search-toggle-open-container .search-toggle-open {
	background-color: transparent;
	color: var(--cci-ink);
	border: 1px solid var(--cci-hairline);
	border-radius: var(--cci-radius-sm);
	padding: 8px 12px;
}

.mobile-toggle-open-container .menu-toggle-open:hover {
	color: var(--cci-sindoor);
	border-color: var(--cci-sindoor);
	background-color: transparent;
}

.menu-toggle-open .menu-toggle-icon,
.menu-toggle-open .menu-toggle-icon .kadence-svg-iconset {
	color: inherit;
}

#mobile-drawer .drawer-inner,
#mobile-drawer .drawer-content,
.popup-drawer .drawer-inner {
	background-color: var(--cci-paper);
	color: var(--cci-ink);
}

#mobile-drawer .drawer-header .drawer-toggle,
.popup-drawer .drawer-header .drawer-toggle {
	color: var(--cci-ink);
}

.mobile-navigation ul li a {
	font-family: var(--cci-font-body);
	font-size: 17px;
	font-weight: 600;
	color: var(--cci-ink);
	border-bottom: 1px solid var(--cci-hairline);
	padding-top: 14px;
	padding-bottom: 14px;
}

.mobile-navigation ul li a:hover,
.mobile-navigation ul li.current-menu-item > a {
	color: var(--cci-sindoor);
}

.mobile-navigation ul ul li a {
	font-size: 15px;
	font-weight: 500;
	color: var(--cci-muted);
}

/* =========================================================================
   8. PAGE HERO / TITLE AREA
   ========================================================================= */

.entry-hero-container-inner,
.entry-hero .entry-header,
.hero-section-overlay {
	background-color: var(--cci-paper);
}

.entry-hero-container-inner {
	border-bottom: 1px solid var(--cci-hairline);
}

.entry-hero .entry-title {
	color: var(--cci-ink);
}

.entry-hero .kadence-breadcrumbs,
.entry-meta,
.entry-taxonomies,
.posted-on,
.byline {
	font-family: var(--cci-font-body);
	font-size: 13.5px;
	color: var(--cci-muted);
}

.entry-meta a,
.kadence-breadcrumbs a {
	color: var(--cci-muted);
}

.entry-meta a:hover,
.kadence-breadcrumbs a:hover {
	color: var(--cci-sindoor);
}

/* =========================================================================
   9. CONTENT: cards, archives, media
   ========================================================================= */

.content-bg,
.entry.loop-entry,
.entry-content-wrap,
.comment-body,
.wp-block-post {
	background-color: transparent;
}

/* Post/archive cards — surface, hairline, 4px, gold underline on the image */
.entry.loop-entry {
	background-color: var(--cci-surface);
	border: 1px solid var(--cci-hairline);
	border-radius: var(--cci-radius);
	overflow: hidden;
	box-shadow: none;
	transition: transform .22s ease-out, box-shadow .22s ease-out;
}

.entry.loop-entry:hover {
	transform: translateY(-4px);
	box-shadow: var(--cci-shadow-lift);
}

.entry.loop-entry .post-thumbnail,
.entry.loop-entry .post-thumbnail-inner {
	border-bottom: 2px solid var(--cci-gold);
	border-radius: 0;
}

.entry.loop-entry .entry-title {
	font-family: var(--cci-font-display);
	font-weight: 600;
	font-size: 21px;
	line-height: 1.25;
}

.entry.loop-entry .entry-title a {
	color: var(--cci-ink);
}

.entry.loop-entry .entry-title a:hover {
	color: var(--cci-sindoor);
}

.entry.loop-entry .entry-summary {
	color: var(--cci-muted);
	font-size: 15px;
}

.post-thumbnail img,
.wp-block-image img,
.entry-content img,
figure img {
	border-radius: var(--cci-radius);
}

.wp-block-image.is-style-rounded img {
	border-radius: 50%;
}

figcaption,
.wp-element-caption {
	font-family: var(--cci-font-body);
	font-size: 13px;
	color: var(--cci-muted);
	text-align: left;
}

/* Category / taxonomy pills */
.entry-taxonomies .category-style-pill a,
.entry-taxonomies a,
.cci-pill {
	display: inline-block;
	font-family: var(--cci-font-body);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 4px 11px;
	border-radius: var(--cci-radius-xs);
	background-color: var(--cci-sindoor-tint);
	color: var(--cci-sindoor);
	text-decoration: none;
	line-height: 1.5;
}

.cci-pill.is-gold {
	background-color: var(--cci-gold-tint);
	color: var(--cci-gold-deep);
}

.cci-pill.is-peacock {
	background-color: var(--cci-peacock-tint);
	color: var(--cci-peacock);
}

/* Quotes */
blockquote,
.wp-block-quote {
	border-left: 3px solid var(--cci-gold);
	background-color: transparent;
	padding: 4px 0 4px 22px;
	margin-left: 0;
	font-family: var(--cci-font-display);
	font-size: 20px;
	font-weight: 500;
	font-style: italic;
	color: var(--cci-ink);
}

blockquote cite,
.wp-block-quote cite {
	display: block;
	font-family: var(--cci-font-body);
	font-style: normal;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--cci-muted);
	margin-top: 10px;
}

.wp-block-pullquote {
	background-color: var(--cci-sand);
	border-top: 2px solid var(--cci-gold);
	border-bottom: 2px solid var(--cci-gold);
	border-left: 0;
	border-radius: 0;
	padding: 32px 24px;
}

/* Separators — plain rule + "alpona" ornamental variant */
hr,
.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--cci-hairline);
	background: none;
	opacity: 1;
}

.wp-block-separator.is-style-cci-alpona {
	border-top: 0;
	max-width: 220px;
	height: 22px;
	margin-left: auto;
	margin-right: auto;
	background-image: radial-gradient(circle at 50% 50%, var(--cci-gold) 0 3px, transparent 3.5px);
	background-size: 22px 22px;
	background-repeat: repeat-x;
	background-position: center;
	opacity: .85;
}

/* Tables */
table,
.wp-block-table table {
	border-collapse: collapse;
	font-size: 15px;
}

table th,
table td,
.wp-block-table th,
.wp-block-table td {
	border: 1px solid var(--cci-hairline);
	padding: 10px 14px;
}

table th {
	background-color: var(--cci-sand);
	font-family: var(--cci-font-body);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--cci-ink);
	text-align: left;
}

/* Code */
code, kbd, pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	background-color: var(--cci-sand);
	border-radius: var(--cci-radius-xs);
}

/* =========================================================================
   10. DIRECTION D COMPONENTS
   Utility classes the block patterns (Task 9) compose against so page
   content stays plain, editable blocks rather than bespoke templates.
   ========================================================================= */

/* -- Sindoor poster band (headline event strip) -- */
.cci-poster {
	background-color: var(--cci-sindoor);
	color: var(--cci-paper);
	border-radius: var(--cci-radius);
	padding: 30px 32px;
}

.cci-poster h1,
.cci-poster h2,
.cci-poster h3,
.cci-poster .cci-bigdate {
	color: var(--cci-paper);
	font-family: var(--cci-font-display);
	font-weight: 600;
}

.cci-poster p,
.cci-poster .cci-meta {
	color: var(--cci-on-sindoor);
	font-weight: 500;
	font-size: 15px;
	margin: 0;
}

.cci-bigdate {
	font-size: 50px;
	line-height: .95;
}

.cci-bigdate small {
	display: block;
	font-family: var(--cci-font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	margin-top: 8px;
	color: var(--cci-on-sindoor);
}

/* -- Peacock journey band -- */
.cci-band {
	background-color: var(--cci-peacock);
	color: var(--cci-on-dark);
	border-radius: 6px;
	overflow: hidden;
}

.cci-band h1,
.cci-band h2,
.cci-band h3 {
	color: var(--cci-on-dark);
}

.cci-band h2 i,
.cci-band h2 em {
	color: var(--cci-gold-light);
	font-style: italic;
}

.cci-band p {
	color: var(--cci-on-peacock);
	font-size: 15.5px;
}

.cci-band .bn,
.cci-band .cci-bn {
	color: var(--cci-gold-light);
	font-size: 19px;
}

.cci-band img {
	border-radius: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
	min-height: 300px;
}

/* -- Surface card (events, people, generic) -- */
.cci-card {
	background-color: var(--cci-surface);
	border: 1px solid var(--cci-hairline);
	border-radius: var(--cci-radius);
	overflow: hidden;
	transition: transform .22s ease-out, box-shadow .22s ease-out;
}

.cci-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--cci-shadow-lift);
}

.cci-card figure,
.cci-card .wp-block-image {
	margin: 0;
	border-bottom: 2px solid var(--cci-gold);
}

.cci-card figure img,
.cci-card .wp-block-image img {
	border-radius: 0;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.cci-card .cci-card-body {
	padding: 18px 20px 20px;
}

.cci-card h3 {
	font-size: 21px;
	margin-bottom: 6px;
}

.cci-card .cci-bn-title {
	font-family: var(--cci-font-bengali);
	font-size: 14px;
	color: var(--cci-peacock);
	display: block;
}

.cci-card .cci-meta {
	font-size: 14px;
	color: var(--cci-muted);
}

.cci-card .cci-go {
	display: inline-block;
	margin-top: 10px;
	font-weight: 700;
	font-size: 14px;
	color: var(--cci-sindoor);
	text-decoration: none;
}

/* -- Framed hero photo (inset paper rule + caption bar) -- */
.cci-framed {
	position: relative;
	border-radius: var(--cci-radius);
	overflow: hidden;
}

.cci-framed img {
	border-radius: var(--cci-radius);
	display: block;
	width: 100%;
	object-fit: cover;
}

.cci-framed::after {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(251, 246, 238, .6);
	border-radius: var(--cci-radius-xs);
	pointer-events: none;
}

.cci-framed figcaption,
.cci-framed .cci-cap {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	background: rgba(26, 20, 16, .82);
	color: var(--cci-on-dark);
	padding: 10px 16px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	border-radius: 0 0 var(--cci-radius-xs) var(--cci-radius-xs);
	margin: 0;
	text-align: left;
}

/* -- Section head: title left, "see all" link right -- */
.cci-sec-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
	border: 0;
}

.cci-sec-head .bn,
.cci-sec-head .cci-bn {
	font-size: .55em;
	color: var(--cci-gold);
	font-weight: 500;
	margin-left: 10px;
}

.cci-sec-head a {
	font-size: 14px;
	font-weight: 700;
	color: var(--cci-sindoor);
	white-space: nowrap;
	text-decoration: none;
}

/* -- Photo mosaic -- */
.cci-mosaic {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 180px;
	gap: 13px;
}

.cci-mosaic > * {
	position: relative;
	border-radius: var(--cci-radius);
	overflow: hidden;
	margin: 0;
}

.cci-mosaic > *:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.cci-mosaic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform .5s ease-out;
}

.cci-mosaic > *:hover img {
	transform: scale(1.04);
}

/* -- Dark ground helper -- */
.cci-on-dark,
.cci-on-dark p,
.cci-on-dark li {
	color: var(--cci-on-dark);
}

.cci-on-dark h1,
.cci-on-dark h2,
.cci-on-dark h3,
.cci-on-dark h4 {
	color: var(--cci-on-dark);
}

/* =========================================================================
   11. FOOTER
   ========================================================================= */

#colophon,
.site-footer,
.site-middle-footer-wrap,
.site-top-footer-wrap,
.site-bottom-footer-wrap,
.site-footer-row-container-inner {
	background-color: var(--cci-ink);
	color: var(--cci-on-dark-soft);
}

#colophon {
	font-family: var(--cci-font-body);
	font-size: 14px;
}

#colophon h1,
#colophon h2,
#colophon h3,
#colophon h4,
#colophon h5,
#colophon .widget-title,
#colophon .footer-html b,
#colophon strong {
	font-family: var(--cci-font-display);
	font-weight: 600;
	font-size: 16px;
	color: var(--cci-on-dark);
	margin-bottom: 8px;
	letter-spacing: 0;
	text-transform: none;
}

#colophon p,
#colophon li,
#colophon .footer-html {
	color: var(--cci-on-dark-soft);
}

#colophon a {
	color: var(--cci-on-dark-soft);
	text-decoration: none;
}

#colophon a:hover {
	color: var(--cci-gold-light);
}

#colophon .bn,
#colophon .cci-bn {
	color: var(--cci-gold-light);
}

#colophon .site-bottom-footer-wrap .site-footer-row-container-inner {
	border-top: 1px solid rgba(243, 235, 221, .12);
}

/* Scroll-to-top */
#kt-scroll-up {
	background-color: var(--cci-sindoor);
	color: var(--cci-paper);
	border-radius: var(--cci-radius-sm);
}

#kt-scroll-up:hover {
	background-color: var(--cci-sindoor-hover);
}

/* =========================================================================
   12. THIRD-PARTY: The Events Calendar, WPForms
   ========================================================================= */

.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn,
.tribe-events .tribe-events-c-view-selector__button,
.tribe-events-c-ical__link {
	background-color: var(--cci-sindoor) !important;
	border-color: var(--cci-sindoor) !important;
	color: var(--cci-paper) !important;
	border-radius: var(--cci-radius-sm) !important;
	font-family: var(--cci-font-body) !important;
	font-weight: 700 !important;
}

.tribe-common h1, .tribe-common h2, .tribe-common h3,
.tribe-events h1, .tribe-events h2, .tribe-events h3,
.tribe-common .tribe-common-h4,
.tribe-common .tribe-common-h6 {
	font-family: var(--cci-font-display) !important;
	font-weight: 600 !important;
	color: var(--cci-ink);
}

.tribe-common,
.tribe-events {
	font-family: var(--cci-font-body) !important;
	color: var(--cci-ink);
}

.tribe-events-calendar-list__event-datetime,
.tribe-common .tribe-common-b3 {
	color: var(--cci-muted);
}

.wpforms-container .wpforms-submit {
	background-color: var(--cci-sindoor) !important;
	color: var(--cci-paper) !important;
	border-radius: var(--cci-radius-sm) !important;
	font-weight: 700 !important;
}

/* =========================================================================
   13. RESPONSIVE — mobile-first fallbacks for the composed components
   ========================================================================= */

@media (max-width: 1024px) {
	.cci-mosaic {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 170px;
	}
}

@media (max-width: 940px) {
	:root {
		--cci-gutter: 20px;
	}

	.cci-poster {
		padding: 24px 20px;
	}

	.cci-bigdate {
		font-size: 40px;
	}

	.cci-sec-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 24px;
	}

	.cci-band img {
		min-height: 220px;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 16px;
	}

	.cci-mosaic {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 140px;
		gap: 10px;
	}

	.cci-mosaic > *:first-child {
		grid-column: span 2;
		grid-row: span 1;
	}

	.site-branding .site-description {
		font-size: 9.5px;
		letter-spacing: .16em;
	}

	.site-top-header-wrap .site-header-item,
	.site-top-header-wrap .header-html,
	.site-top-header-wrap p {
		font-size: 11.5px;
		letter-spacing: .08em;
		line-height: 1.45;
	}

	.button,
	input[type="submit"],
	.wp-block-button__link,
	.wp-element-button,
	.header-button {
		padding: 12px 20px;
	}

	.cci-framed figcaption,
	.cci-framed .cci-cap {
		font-size: 11px;
		padding: 8px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}
