/*
Theme Name:   Twenty Twenty-Five Child
Theme URI:    https://example.com/twentytwentyfive-child
Description:  Child theme of Twenty Twenty-Five with a custom-width, no-title hero page template.
Author:       Your Name
Author URI:   https://example.com
Template:     twentytwentyfive
Version:      1.0.0
Text Domain:  twentytwentyfive-child
*/

/* ==========================================================================
   Styling background and text
   ========================================================================== */

body {
	background-color: #292929;
	color: #f4e5df;
	font-family: "Alfa Slab One", serif;
	font-weight: 300;
	font-style: normal;
	letter-spacing: 3px;
}

a {
	text-decoration: none;
}

h2 {
	letter-spacing: 6px;
}

/* ==========================================================================
   Hero header row: title (left) + address/phone (right)
   ========================================================================== */

.smittys-header-row {
	display: flex;
	flex-direction: column;
}

@media (min-width: 1120px) {
	.smittys-header-row {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: flex-start;
	}
	.smittys-header-contact {
		padding-top: 90px;
	}
}

.smittys-hero-title {
	letter-spacing: 3px;
	line-height: 1.2;
	padding-left: 30px;
	padding-top: 30px;
}
.smittys-title-main {
	font-size: 3rem;
}
.smittys-title-sub {
	font-size: 2rem;
}

@media (max-width: 767px) {
	.smittys-hero-title .smittys-title-main {
		font-size: 2.25rem;
	}
	.smittys-hero-title .smittys-title-sub {
		font-size: 1.15rem;
	}
}

.smittys-header-contact {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	gap: 20px;
	align-items: baseline;
	white-space: nowrap;
	padding-right: 40px;
	font-family: "Arvo", serif;
}
.smittys-header-contact p {
	margin: 0;
}

@media (max-width: 1119px) {
	.smittys-hero-title {
		padding-top: 30px;
		margin-bottom: 0;
	}
	.smittys-header-contact {
		width: 100%;
		justify-content: flex-end;
		text-align: right;
		padding-top: 30px;
		padding-right: 20px;
		margin-top: 0;
	}
}

@media (max-width: 767px) {
	.smittys-header-contact {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		white-space: normal;
		gap: 8px;
	}
}

/* ==========================================================================
   Custom content width & Hero Image Match (< 1120px)
   ========================================================================== */

.hero-page .custom-width-wrap {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* On desktop (>= 1025px), cap container width to 1000px */
@media (min-width: 1025px) {
	.hero-page .custom-width-wrap {
		max-width: 1000px;
		padding-left: 0;
		padding-right: 0;
	}
}

/* Force content wrapper to zero side padding under 1119px to match edge-to-edge hero image */
@media (max-width: 1119px) {
	.hero-page .custom-width-wrap {
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* ==========================================================================
   Hero image
   ========================================================================== */

.hero-page .hero-banner {
	width: 100%;
	background-position: top center !important;
	background-repeat: no-repeat;
	background-size: cover;
}

@media (max-width: 767px) {
	.hero-page .hero-banner {
		background-image: url("assets/images/hero-mobile.jpg");
		aspect-ratio: 715 / 649;
		background-size: contain;
	}
}

@media (min-width: 768px) {
	.hero-page .hero-banner {
		background-image: url("assets/images/hero-desk.jpg");
		aspect-ratio: 16 / 9;
	}
}

/* ==========================================================================
   Two-column text section below the hero
   ========================================================================== */

.hero-page .custom-width-wrap .wp-block-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

@media (min-width: 768px) {
	.hero-page .custom-width-wrap .wp-block-columns {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}

@media (max-width: 767px) {
	.hero-page .custom-width-wrap .wp-block-columns > .wp-block-column:nth-child(2) {
		margin-left: 20px;
	}
}

/* Remove default page title output for this template */
.hero-page .wp-block-post-title,
.hero-page .entry-title {
	display: none;
}

/* ==========================================================================
   Table & Block Reset for Content Inside custom-width-wrap
   ========================================================================== */

.custom-width-wrap .entry-content,
.custom-width-wrap .entry-content > *,
.custom-width-wrap .wp-block-table,
.custom-width-wrap figure.wp-block-table {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
}

.custom-width-wrap figure.wp-block-table table {
	width: 100% !important;
	max-width: 100% !important;
	table-layout: fixed !important;
}

@media (max-width: 767px) {
	.wp-block-table {
		font-size: .75em;
	}
	h2 {
		font-size: 1.15em;
	}
	}

/* ==========================================================================
   Paragraph text (body copy) — text area above the table
   ========================================================================== */

.wp-block-paragraph {
	font-weight: normal !important;
	letter-spacing: 1px;
	font-size: .75em;
	font-family: "Arvo", serif;
}

.entry-content > .wp-block-paragraph {
	font-size: 1em;
}

@media (max-width: 767px) {
	.entry-content .wp-block-paragraph {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* ==========================================================================
   Footer redesign
   ========================================================================== */

.smittys-footer {
	text-align: center;
	padding-top: 40px;
	padding-bottom: 40px;
}

.smittys-footer-title {
	margin: 0;
}

.smittys-footer-address {
	margin: 30px 0 0 0;
	font-family: "Arvo", serif;
}

.smittys-footer-copyright {
	margin: 90px 0 0 0;
	font-size: 0.5rem;
}