/**
 * Internal pages — banner flush under fixed nav + typography (design v3).
 * Supports live HTML (.site-section-title > h2) AND Gutenberg (h2.site-section-title).
 */

:root {
	--deens-nav-offset: 128px;
	--deens-header-slick-pad: 50px;
	--deens-locations-header-gradient: linear-gradient(0deg,
			rgba(171, 10, 6, 1) 0%,
			rgba(218, 16, 4, 1) 36%,
			rgba(241, 82, 14, 1) 61%,
			rgba(250, 178, 22, 1) 100%);
}

/* Body cream padding exposed a band above colored banners — offset lives on first section */
body.inner-pages {
	padding-top: 0 !important;
}



body.inner-pages [class*="page-"][class*="-main"] section.header-slick:first-of-type,
body.inner-pages [class*="page-"][class*="-main"] .wp-block-html > section.header-slick:first-child,
body.inner-pages [class*="page-"][class*="-main"] .wp-block-post-content > section.header-slick:first-child,
body.inner-pages [class*="page-"][class*="-main"] .wp-block-post-content > .wp-block-group.header-slick:first-child {
	padding-top: calc(var(--deens-nav-offset) + var(--deens-header-slick-pad));
	padding-bottom: var(--deens-header-slick-pad) !important;
	margin-top: 0 !important;
}

body.inner-pages:not(.page-catering) [class*="page-"][class*="-main"] section.about-wrapper:first-of-type,
body.inner-pages:not(.page-catering) [class*="page-"][class*="-main"] .wp-block-html > section.about-wrapper:first-child,
body.inner-pages:not(.page-catering) [class*="page-"][class*="-main"] .wp-block-post-content > section.about-wrapper:first-child {
	padding-top: 200px;
	margin-top: 0 !important;
	background: var(--cream, #fff7ed);
}

body.locations-page-nw.inner-pages.page-locations [class*="page-"][class*="-main"] section.header-slick:first-of-type,
body.locations-page-nw.inner-pages.page-locations [class*="page-"][class*="-main"] .wp-block-html > section.header-slick:first-child {
	background: var(--deens-locations-header-gradient) !important;
}

@media (max-width: 1269px) {
	body.inner-pages [class*="page-"][class*="-main"] section.header-slick:first-of-type,
	body.inner-pages [class*="page-"][class*="-main"] .wp-block-html > section.header-slick:first-child,
	body.inner-pages [class*="page-"][class*="-main"] .wp-block-post-content > section.header-slick:first-child,
	body.inner-pages:not(.page-catering) [class*="page-"][class*="-main"] section.about-wrapper:first-of-type,
	body.inner-pages:not(.page-catering) [class*="page-"][class*="-main"] .wp-block-html > section.about-wrapper:first-child,
	body.inner-pages:not(.page-catering) [class*="page-"][class*="-main"] .wp-block-post-content > section.about-wrapper:first-child {
		padding-top: var(--deens-header-slick-pad) !important;
	}
}

/* —— Typography (wrapper + heading-class variants) —— */

body.page-about.inner-pages .page-about-main .about-wrapper .site-section-title h2,
body.page-about.inner-pages .page-about-main .about-wrapper h2.site-section-title,
body.page-about.inner-pages .page-about-main .text-block-section .site-section-title h2,
body.page-about.inner-pages .page-about-main .text-block-section h2.site-section-title,
body.page-menu.inner-pages .page-menu-main .site-section-title h2,
body.page-menu.inner-pages .page-menu-main h2.site-section-title,
body.page-menu-cards.inner-pages .page-menu-main .site-section-title h2,
body.page-menu-cards.inner-pages .page-menu-main h2.site-section-title,
body.page-locations.inner-pages .page-locations-main .site-section-title h1,
body.page-locations.inner-pages .page-locations-main h1.site-section-title,
body.page-locations.inner-pages .page-locations-main .site-section-title h2,
body.page-locations.inner-pages .page-locations-main h2.site-section-title,
body.page-contact.inner-pages .page-contact-main .contact-form-panel .site-section-title h2,
body.page-contact.inner-pages .page-contact-main .contact-form-panel h2.site-section-title,
body.page-contact.inner-pages .page-contact-main .locations.locations-page .site-section-title h2,
body.page-contact.inner-pages .page-contact-main .locations.locations-page h2.site-section-title,
body.page-partner.inner-pages .page-partner-main .header-slick .site-section-title h2,
body.page-partner.inner-pages .page-partner-main .header-slick h2.site-section-title,
body.page-partner.inner-pages .page-partner-main .partner-franchise .site-section-title h2,
body.page-partner.inner-pages .page-partner-main .partner-franchise h2.site-section-title,
body.page-catering.inner-pages .page-catering-main .site-section-title h2,
body.page-catering.inner-pages .page-catering-main h2.site-section-title {
	font-family: "Poppins", sans-serif !important;
	font-weight: 800 !important;
	color: #15110d !important;
	line-height: 1.2 !important;
	letter-spacing: 0.005em;
	margin-bottom: 18px;
}


body.page-about.inner-pages .page-about-main .about-wrapper .site-section-title h2 span,
body.page-about.inner-pages .page-about-main .about-wrapper h2.site-section-title span,
body.page-about.inner-pages .page-about-main .text-block-section .site-section-title h2 span,
body.page-about.inner-pages .page-about-main .text-block-section h2.site-section-title span,
body.page-menu.inner-pages .page-menu-main .site-section-title h2 span,
body.page-menu.inner-pages .page-menu-main h2.site-section-title span,
body.page-menu-cards.inner-pages .page-menu-main .header-slick .site-section-title h2 span,
body.page-menu-cards.inner-pages .page-menu-main .header-slick h2.site-section-title span,
body.page-contact.inner-pages .page-contact-main h2.site-section-title span,
body.page-partner.inner-pages .page-partner-main .header-slick .site-section-title h2 span,
body.page-partner.inner-pages .page-partner-main .header-slick h2.site-section-title span,
body.page-partner.inner-pages .page-partner-main h2.site-section-title span,
body.page-catering.inner-pages .page-catering-main h2.site-section-title span {
	color: var(--red, #f32a22) !important;
}

/* Dark band — #about-founder */
body.page-about.inner-pages .page-about-main #about-founder .site-section-title h2,
body.page-about.inner-pages .page-about-main #about-founder h2.site-section-title,
body.page-about.inner-pages .page-about-main #about-founder .site-section-title h2 span,
body.page-about.inner-pages .page-about-main #about-founder h2.site-section-title span {
	color: #fff !important;
	font-size: 34px;
	text-transform: capitalize !important;
}

body.page-about.inner-pages .page-about-main #about-founder .text-col p,
body.page-about.inner-pages .page-about-main #about-founder .content-prose,
body.page-about.inner-pages .page-about-main #about-founder .content-prose p,
body.page-about.inner-pages .page-about-main #about-founder .site-list li {
	color: #fff !important;
}

body.page-locations.inner-pages .page-locations-main .header-slick .site-section-title h1,
body.page-locations.inner-pages .page-locations-main .header-slick h1.site-section-title {
	text-transform: capitalize !important;
	font-size: 50px;
	line-height: 1.2;
	margin-top: 0;
	color: #fff !important;
	margin-bottom: 10px;
}

body.page-about.inner-pages .page-about-main .prll-esction .row,
body.page-about.inner-pages .page-about-main .prll-esction .center-text-block,
body.page-about.inner-pages .page-about-main .prll-esction .center-bx {
	display: block;
	max-width: 550px;
	margin: 0;
	padding: 30px;
	background: #fff;
}

body.page-partner.inner-pages .page-partner-main .main-about .site-section-title h2,
body.page-partner.inner-pages .page-partner-main .main-about h2.site-section-title {
	color: #fff;
}

body.page-partner.inner-pages .page-partner-main .partner-franchise .site-section-title h2,
body.page-partner.inner-pages .page-partner-main .partner-franchise h2.site-section-title {
	text-align: center;
	margin: 0 0 5px;
}

body.page-contact.inner-pages .page-contact-main .contact-form-panel .site-section-title h2,
body.page-contact.inner-pages .page-contact-main .contact-form-panel h2.site-section-title {
	margin: 0 0 45px;
	font-size: 34px;
}

body.page-partner.inner-pages .page-partner-main .header-slick .site-section-title h2,
body.page-partner.inner-pages .page-partner-main .header-slick h2.site-section-title {
	font-size: 50px;
}

body.page-partner.inner-pages .page-partner-main .partner-franchise .site-section-title h2,
body.page-partner.inner-pages .page-partner-main .partner-franchise h2.site-section-title {
	font-size: 34px;
}

body.page-partner.inner-pages .page-partner-main .main-about .site-section-title h2,
body.page-partner.inner-pages .page-partner-main .main-about h2.site-section-title {
	font-size: clamp(28px, 2.5vw, 48px);
}

@media (max-width: 1269px) {
	body.page-about.inner-pages .page-about-main .about-wrapper .site-section-title h2,
	body.page-about.inner-pages .page-about-main .about-wrapper h2.site-section-title,
	body.page-about.inner-pages .page-about-main .text-block-section .site-section-title h2,
	body.page-about.inner-pages .page-about-main .text-block-section h2.site-section-title,
	body.page-menu.inner-pages .page-menu-main .site-section-title h2,
	body.page-menu.inner-pages .page-menu-main h2.site-section-title,
	body.page-menu-cards.inner-pages .page-menu-main .site-section-title h2,
	body.page-menu-cards.inner-pages .page-menu-main h2.site-section-title,
	body.page-contact.inner-pages .page-contact-main .contact-form-panel .site-section-title h2,
	body.page-contact.inner-pages .page-contact-main .contact-form-panel h2.site-section-title,
	body.page-partner.inner-pages .page-partner-main .header-slick .site-section-title h2,
	body.page-partner.inner-pages .page-partner-main .header-slick h2.site-section-title {
		font-size: 45px;
	}

	body.page-about.inner-pages .page-about-main #about-founder .site-section-title h2,
	body.page-about.inner-pages .page-about-main #about-founder h2.site-section-title {
		font-size: clamp(24px, 6vw, 40px);
	}
}

/* Menu page — cream hero: dark title + red “map”; sides board stays cream text */


body.page-menu.inner-pages .page-menu-main .header-slick .site-section-title h2 span,
body.page-menu-cards.inner-pages .page-menu-main .header-slick .site-section-title h2 span {
	color: var(--red, #f32a22) !important;
}

body.page-menu .menu-board-sides,
body.page-menu-cards .menu-board-sides {
	color: var(--cream, #fff6e8);
}

body.page-menu .menu-board-sides .menu-section-title,
body.page-menu-cards .menu-board-sides .menu-section-title,
body.page-menu .menu-board-sides h3,
body.page-menu-cards .menu-board-sides h3,
body.page-menu .menu-board-sides .menu-list__item h3,
body.page-menu-cards .menu-board-sides .menu-list__item h3,
body.page-menu .menu-board-sides .menu-list__item p,
body.page-menu-cards .menu-board-sides .menu-list__item p,
body.page-menu .menu-board-sides .menu-price,
body.page-menu-cards .menu-board-sides .menu-price {
	color: var(--cream, #fff6e8) !important;
}
