/*
Theme Name: JW Burkhart
Author: heronco
Author URI: https://www.heronco.com
Tags: full-site-editing, editor-style, block-styles, block-patterns
Requires at least: 6.3
Requires PHP: 8.0
Version: 1.0.0
License: Proprietary - For authorized client sites only

Description: Actor portfolio block theme for J.W. Burkhart. Stage - Screen - Voice.
*/
/*
 * Copyright (c) 2025 Heron Design
 * All Rights Reserved.
 * 
 * This software is proprietary and confidential. Unauthorized copying,
 * distribution, or use of this software is strictly prohibited.
 * 
 * Licensed for use only on authorized Heron Design client websites.
 */


/*
 * This file contains ONLY static styles that don't change per client.
 * Dynamic styles (colors, spacing, border-radius) are generated via Theme_Config
 */

/* ==========================================================================
   BASE STYLES (Static)
   ========================================================================== */

   html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}



/* ==========================================================================
   CONTENT STRUCTURE (Static)
   ========================================================================== */

/* Ensure the footer sticks to the bottom */
.wp-site-blocks {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wp-site-blocks > main {
    margin-block-start: 0 !important;
}

.site-footer {
margin-top: auto;
}

.wp-site-blocks .wp-block-post-content {
	margin-block-start: 0;
}

.wp-block-post-content p,
.wp-block-post-content ul li {
	margin-block-start: 0;
	font-size: 1rem;
	padding: 0.5em;
}

h2.has-reg-font-weight, h3.has-reg-font-weight {
	font-weight: 400;
}

body:not(.home) h1.wp-block-post-title {margin-top:1em}


/* ==========================================================================
   MEDIA & IMAGES (Static structure)
   Note: Border radius styles moved to registered-block-styles.css
   ========================================================================== */

.wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media {
	margin: 0 1em;
}

.wp-block-media-text__content p {
	padding: 0;
	margin-top: 1em;
}

.wp-block-media-text.text-has-0-padding-mobile .wp-block-media-text__content {
	padding: 0;
}

/* ==========================================================================
   UTILITY CLASSES (Static)
   ========================================================================== */

h2.price {
	font-size: 4rem;
}

.wide-button {
	padding-left: 3.5em;
	padding-right: 3.5em;
}

.text-has-shadow, .has-text-shadow {
	text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.67);
}

.has-padding-0 {
	padding: 0 !important;
}

.align-items-end {
	align-items: end !important;
}

ul.list-style-none {
	list-style: none;
}

figure.hide-caption figcaption {
	display: none;
}

/*Kill padding in header */
.site-info.is-style-wide-width {padding:0}

.wp-block-site-title {font-size:2rem}

@media screen and (max-width: 520px) {
.wp-block-site-title {font-size:1.2rem}

    
}

/* ==========================================================================
   COVER BLOCKS (Static)
   ========================================================================== */

 .cover-hero {
	min-height: 700px;
}

.wp-block-cover .wp-block-cover__inner-container .wp-block-column.more {
	flex-basis: 116px;
	max-width: 116px;
}

.wp-block-cover .wp-block-cover__inner-container .wp-block-column.more h2 {
	max-width: 100%;
}

.wp-block-cover .wp-block-cover__inner-container .more-container {
	margin: 0;
	padding: 0;
}

.wp-block-cover.has-custom-content-position.is-position-top-left.inner-is-centered
	.wp-block-cover__inner-container {
	margin: 0 auto;
}

.wp-block-cover.inner-background-none .wp-block-cover__inner-container {
	background: none;
	padding: unset;
}

.wp-block-cover .wp-block-cover__inner-container h2.wp-block-heading {
	padding: 0;
}

/* ==========================================================================
   HOME PAGE
   ========================================================================== */
   
/* Hero tagline: the oversized year sits on the same baseline as the
   surrounding text. Do NOT reintroduce a negative margin here — that was
   the old hack this replaces. */
.hof-tagline-row {
	align-items: last baseline !important;
}

.hof-tagline-row .year {
	font-size: clamp(5rem, 10vw, 10rem);
	line-height: 1;
	margin: 0 0 0 6px;
	padding-inline: 0;
}

.hof-tagline-row h2 {
	margin: 0;
}

body.home .wp-block-button.green a {background-color:var(--wp--preset--color--green);border-color:var(--wp--preset--color--green)}

body.home .markers {margin-top:-44px;margin-bottom:-44px;position:relative}

body.home .wp-block-cover.home-hero {min-height:555px;width:100vw !important} 

body.home .home-hero .wp-block-cover__inner-container 
{margin:0 auto;padding-left:2em;height:100%}

body.home .home-hero .wp-block-cover__inner-container .wp-container-core-group-is-layout-5035dda8 {height:100%}

body.home .wp-block-cover.home-hero h2.wp-block-heading {font-size:2rem}

@media (max-width:768px) {
    
body.home .wp-block-cover.home-hero 
{min-height:333px;padding:0}
.wp-block-cover.home-hero .wp-block-cover__inner-container 
{width:100vw !important;position:relative;height:333px;padding-left:.5em}

body.home .home-hero-inner 
{position:relative; top:175px}

body.home h1 
{font-size:1.5rem}
.wp-block-cover.home-hero h2.wp-block-heading {font-size:1rem}
}



h2.jwb-rule-heading {
	display: flex;
	align-items: center;
	gap: 0.6em;
}

h2.jwb-rule-heading::before,
h2.jwb-rule-heading::after {
	content: "";
	flex: 1 1 0;
	height: 1px;
	background: var(--wp--preset--color--primary);
	position: relative;
	top: 0.09em;   /* the crossbar-alignment knob */
}

/* ==========================================================================
   GALLERIES
   ========================================================================== */

.wp-block-gallery.has-nested-images figure.wp-block-image {
	border-radius: 8px;
	overflow: hidden;
	background: var(--wp--preset--color--primary);
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
	aspect-ratio: 5 / 4;
	object-fit: cover;
	width: 100%;
}

/* Core absolutely-positions gallery captions over the image with a gradient.
   Detach into a solid bar below — readable at zoom, no overlap. */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	/* position: static !important; */
	background: none !important;
	color: #fff;
	font-size: 1.75rem;
	font-weight:500;
	line-height: 1.35;
	text-align: left;
	padding: 0.75em;
	margin: 0;
	max-height: none;
	overflow: visible;
	text-shadow: 3px 3px 9px rgba(0,0,0,0.6);
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	max-width: calc(100% - 40px);
	background: none;   /* kills core's bottom-up gradient scrim */
	padding: 12px;
	margin: 0;
	text-align: left;
}

@media screen and (max-width: 520px) {
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    font-size:1.25rem;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.9);
}
}

/* ==========================================================================
   SEARCH & FILTER
   ========================================================================== */

.wp-block-details.search-box {
	text-transform: uppercase;
	border-radius: 8px;
	padding: 0.25em 1em;
	background: var(--wp--preset--color--primary);
}

.wp-block-details.search-box summary {
	font-size: 20px;
	padding: 0.5em;
	border-radius: 2px;
}

.wp-block-details.search-box summary:hover,
.wp-block-details.search-box summary:focus {
	list-style-type: disclosure-open;
}

.wp-block-details.search-box[open] {
	border: solid 2px var(--wp--preset--color--primary);
	background: #fff !important;
	border-radius: 8px;
}

.wp-block-details.search-box[open] summary {
	color: var(--wp--preset--color--primary);
	background: #fff;
}

.searchandfilter input[type="text"] {
	padding: 1em;
	border-radius: 10px;
	outline: none;
	border: none;
	width: 240px;
	background: #edf2fa;
}

.searchandfilter select {
	padding: 0.5em 1em;
	border-radius: 9px;
	font-size: 16px;
	background: #edf2fa;
}

.searchandfilter input[type="submit"] {
	font-size: 1rem;
	text-transform: uppercase;
	padding: 0.5em 1em;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-weight: 600;
	border-radius: 4px;
	border-color: var(--wp--preset--color--primary);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.wp-block-button__link:hover,
.wp-block-button__link:focus {
	background: #fff;
	color: var(--wp--preset--color--primary);
}

/* ==========================================================================
   RESPONSIVE - DESKTOP
   ========================================================================== */

.show-on-mobile,
.show-on-desktop,
.show-on-tablet {
	display: none !important;
}

@media screen and (min-width: 900px) {
	.show-on-desktop {
		display: flex !important;
	}
}

/* ==========================================================================
   RESPONSIVE - TABLET
   ========================================================================== */

@media screen and (min-width: 521px) and (max-width: 899px) {
	.show-on-tablet {
		display: flex !important;
	}

}

@media screen and (max-width: 899px) {

    .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
        grid-template-columns: 1fr;
    }
    
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */

@media screen and (max-width: 520px) {
	.show-on-mobile {
		display: flex !important;
	}
	.hide-on-mobile {display:none}

	body:not(.home) h1.wp-block-post-title {
		margin-top: 0;
		font-size: 2rem;
	}

    .wp-block-site-logo img {max-width:200px}
	ol,
	ul {
		font-size: 1.25em;
	}

	.wp-block-post-title {
		padding: 0.5em;
	}

	h3.wp-block-heading {
		font-size: 1.65em;
		line-height: 1.1;
		margin: 0;
	}
	
	footer h3.wp-block-heading {
	    font-size:1.3rem;
	    margin-top:.5em;
	}

	.wp-block-post-content p,
	.wp-block-post-content ul li, .wp-block-post-content ol li {
		line-height: 1.15;
		margin: 0.5em;
		padding:0;
	}

	.wp-block-post-content p.has-padding-1em {
		padding-left: 1em;
		padding-right: 1em;
	}

	.wp-block-button a.wp-block-button__link {
		font-size: 1em !important;
	}
	
	
	footer .wp-block-button a.wp-block-button__link {
		font-size: 1rem !important;
	}

	/* Cover overlay adjustments for mobile */
/*
	.wp-block-cover .wp-block-cover__inner-container {
		position: absolute;
		bottom: 0;
		background: rgba(255, 255, 255, 0.63); 
		padding-bottom: 20px;
		padding-top: 15px;
	}

	.wp-block-cover.inner-background-none .wp-block-cover__inner-container {
		background: none;
		padding: unset;
	}

	.wp-block-cover .wp-block-cover__inner-container .wp-block-column.more {
		flex-basis: 84px;
		max-width: 84px;
	}

	.wp-block-cover .wp-block-cover__inner-container .more-container {
		margin-left: -36px !important;
	}

	.wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media {
		margin: 0 1em;
	}

	.wp-block-group.is-vertical h2.wp-block-heading {
		padding: 0.5em 2.25em;
	}
*/
	.wp-block-media-text__content p {
		padding: 0;
		margin-top: 1em;
	}

	.wide-button {
		padding-left: 2.5em;
		padding-right: 2.5em;
	}
	
	footer figure {max-width:80px}
	
	footer .wp-block-column.is-vertically-aligned-top:not(:last-child) {border-bottom:solid .5px;padding-bottom:.5em}
}

/* ==========================================================================
   ADDITIONAL UTILITY CLASSES (Static)
   ========================================================================== */

.wp-block-details summary {
	font-size: 1rem;
	margin-bottom:6px;
	padding:.5em;
	background-color:var(--wp--preset--color--primary);
	border-radius:0 8px 8px 0;
	color:var(--wp--preset--color--base)
}

.wp-block-details[open] {
    border-left: solid 1px var(--wp--preset--color--primary);
    border-bottom: solid 1px var(--wp--preset--color--primary);
    border-radius:0 0 0 8px;
}

.wp-block-details {
    margin-bottom:1em
}
.wp-block-details > :not(summary) {
    padding:1em
}

.wp-block-details.is-style-details-plus summary {
    background-color:var(--wp--preset--color--base);
    color:var(--wp--preset--color--primary);
}
.wp-block-details.is-style-details-plus[open]{
    border-left:none;border-bottom:none;border-radius:0
}
.wp-block-details.is-style-details-plus{
    width:900px;margin-bottom:.5em;max-width:90vw;
}
.wp-block-details.is-style-details-plus p, .wp-block-details.is-style-details-plus li {
    padding: .5em 1em 0 2em
}

@media screen and (max-width: 780px) {
.wp-block-details.is-style-details-plus {width:90vw}
}

ol,
ul {
	font-size: 1rem
}

.wp-block-group.is-vertical h2.wp-block-heading {
	padding: 0;
}

/* ==========================================================================
   BLOCK-SPECIFIC OVERRIDES (Static)
   ========================================================================== */

/* TABLES */
.wp-block-table .has-fixed-layout {
    width:96%;
    margin:1em;
    font-size:1rem
}
.wp-block-table th {color: var(--wp--preset--color--white);
    background: var(--wp--preset--color--dark-purple);
}

/* Latest Comments */
.wp-block-latest-comments {
	padding-left: 0;
}

/* Page break before utility */
.page-break-before {
	page-break-before: always;
}
/* ==========================================================================
   J.W. Burkhart — actor site additions
   ========================================================================== */

.jwb-credits table {
	border-collapse: collapse;
	width: 100%;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.9375rem;
}

.jwb-credits td {
	border: none;
	border-bottom: 1px solid rgba(163, 154, 103, 0.25);
	padding: 0.65em 0.75em 0.65em 0;
	vertical-align: top;
}

.jwb-credits tr td:first-child {
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--frank-ruhl-libre);
	font-size: 1.0625rem;
	white-space: normal;
}

.jwb-credits tr td:nth-child(2) {
	color: var(--wp--preset--color--contrast);
}

.jwb-credits tr td:last-child {
	color: var(--wp--preset--color--primary);
}

@media (max-width: 640px) {
	.jwb-credits tr {
		display: block;
		padding: 0.65em 0;
		border-bottom: 1px solid rgba(163, 154, 103, 0.25);
	}
	.jwb-credits td {
		display: block;
		border: none;
		padding: 0.1em 0;
	}
}

/* Outline button variant on dark bg */
.is-style-outline .wp-block-button__link {
	border: 1px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
	background: transparent;
}

.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--true-black);
}

/* Gallery captions */
.wp-block-gallery .wp-element-caption,
.wp-block-image .wp-element-caption {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.8125rem;
	color: var(--wp--preset--color--primary);
}
