/* =========================================================
   ARIZONA THEATRE MATTERS — COMPLETE ADDITIONAL CSS
   Full replacement
   ========================================================= */

/* ============================= */
/* SITE COLORS + GLOBAL TEXT     */
/* ============================= */

body,
.site {
	background-color: #4c67a1;
}

.site-content,
.entry-content,
.site-main {
	background-color: transparent;
}

body,
.entry-content,
.entry-content p,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.main-navigation a,
.site-main,
.site-main p,
.site-main li,
.site-main span,
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4,
.site-main h5,
.site-main h6,
.site-main a,
.wp-block-image figcaption,
.wp-caption-text,
.entry-content .wp-caption-text {
	color: #ffffff !important;
}

a:hover,
a:focus {
	opacity: 0.85;
}

/* ============================= */
/* TYPOGRAPHY                    */
/* ============================= */

.site-main p {
	font-size: 18px;
	line-height: 1.7;
}

.site-main h2 {
	font-size: 28px;
	margin-top: 60px;
}

.site-main h3 {
	font-size: 22px;
	margin-top: 40px;
}

/* ============================= */
/* GENERAL IMAGE SAFETY          */
/* ============================= */

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

.entry-content figure,
.wp-block-image {
	margin: 24px auto;
	text-align: center;
}

.wp-block-columns {
	align-items: flex-start;
	margin-bottom: 40px;
	gap: 24px;
}

.wp-block-columns img {
	max-width: 100%;
	height: auto;
}

/* ============================= */
/* MOBILE IMPROVEMENTS           */
/* ============================= */

@media screen and (max-width: 768px) {
	.site-content {
		padding-left: 20px;
		padding-right: 20px;
	}

	.entry-content p,
	.site-main p {
		font-size: 17px;
		line-height: 1.6;
	}

	.button,
	button,
	input[type="submit"] {
		width: 100%;
		text-align: center;
		padding: 14px 18px;
		font-size: 16px;
	}

	.wp-block-columns {
		gap: 20px;
	}
}

/* ============================= */
/* SEASON LAYOUT                 */
/* ============================= */

.season-show {
	margin: 50px 0;
}

.season-show .wp-block-columns {
	align-items: center;
}

.season-show .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

@media screen and (max-width: 768px) {
	.season-show {
		margin: 30px 0;
	}

	.season-show .wp-block-columns {
		gap: 18px;
	}

	.season-show h2 {
		margin-top: 10px;
	}

	.season-show p {
		font-size: 16px;
		line-height: 1.6;
	}
}

/* ============================= */
/* TOOLKIT DARK TEXT FIX         */
/* ============================= */

section[aria-labelledby="toolkit-heading"],
section[aria-labelledby="toolkit-heading"] p,
section[aria-labelledby="toolkit-heading"] li,
section[aria-labelledby="toolkit-heading"] h2,
section[aria-labelledby="toolkit-heading"] h3 {
	color: #1a1a1a !important;
}

/* ============================= */
/* LEGACY MACKERS GUIDE          */
/* ============================= */

.mackers-guide {
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.65;
}

.mackers-guide img {
	max-width: 100%;
	display: block;
	border-radius: 14px;
}

.mackers-guide .container {
	max-width: 1100px;
	margin: 0 auto;
}

/* ============================= */
/* FOOTER                        */
/* ============================= */

.site-footer {
	background-color: #4c67a1 !important;
	padding-top: 20px;
	padding-bottom: 20px;
}

.site-footer .widget-area,
.site-footer .widget {
	background: transparent !important;
}

.site-footer,
.site-footer *,
.site-footer .widget,
.site-footer .widget p,
.site-footer .widget span,
.site-footer .widget div,
.site-footer .widget a {
	color: #ffffff !important;
}

.site-info {
	display: none !important;
}

/* =========================================================
   ATM HOMEPAGE CUSTOM SECTION
   ========================================================= */

.atm-home {
	max-width: 980px;
	margin: 0 auto;
	padding: 1rem 1.25rem 4rem;
	color: #ffffff;
	line-height: 1.6;
}

.atm-home *,
.atm-home *::before,
.atm-home *::after {
	box-sizing: border-box;
}

.atm-home img {
	max-width: 100%;
	height: auto;
	display: block;
}

.atm-home a {
	text-decoration: none;
}

.atm-center {
	text-align: center;
}

/* HERO */

.atm-hero {
	text-align: center;
	padding-top: 1.5rem;
}

.atm-hero h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(2.2rem, 5vw, 4rem);
	line-height: 1.08;
	font-weight: 800;
	color: #ffffff;
}

.atm-hero h2 {
	margin: 0 auto 1.25rem;
	max-width: 820px;
	font-size: clamp(1.35rem, 3vw, 2.2rem);
	line-height: 1.22;
	font-weight: 700;
	color: #ffffff;
}

.atm-hero p {
	max-width: 760px;
	margin: 0.8rem auto;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	color: #ffffff;
}

/* BUTTONS */

.atm-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.9rem;
	margin: 2rem 0 2.5rem;
}

.atm-button,
.atm-button:link,
.atm-button:visited {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	padding: 0.95rem 1.4rem;
	border-radius: 999px;
	background: #ffffff !important;
	color: #35508f !important;
	-webkit-text-fill-color: #35508f !important;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-align: center;
	border: 2px solid #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	text-decoration: none !important;
	opacity: 1 !important;
}

.atm-button:hover,
.atm-button:focus,
.atm-button:active {
	background: #f4f7ff !important;
	color: #28406f !important;
	-webkit-text-fill-color: #28406f !important;
	text-decoration: none !important;
	opacity: 1 !important;
	outline: 3px solid #ffd166;
	outline-offset: 2px;
}

/* SECTIONS */

.atm-section {
	margin: 3rem 0;
}

.atm-section h2 {
	text-align: center;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.2;
	margin: 0 0 1rem;
	color: #ffffff;
}

/* EXPERIENCE */

.atm-experience-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 0;
}

.atm-experience-list li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	border: 1px solid rgba(255, 255, 255, 0.22);
}

/* PROOF */

.atm-proof {
	display: grid;
	grid-template-columns: repeat(3, minmax(180px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.atm-proof-card {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 18px;
	padding: 1.4rem 1rem;
	text-align: center;
}

.atm-proof-number {
	display: block;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.05;
	color: #ffffff;
	margin-bottom: 0.4rem;
}

.atm-proof-label {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: #ffffff;
}

/* SUPPORTERS */

.atm-supporters {
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 1rem 1.25rem;
	align-items: center;
	justify-items: center;
	max-width: 700px;
	margin: 1.5rem auto 0;
}

.atm-supporters a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 90px;
	padding: 0.75rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.08);
	border: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.atm-supporters img {
	max-height: 60px;
	max-width: 160px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
}

/* DONATE */

.atm-donate {
	text-align: center;
	margin-top: 3rem;
}

.atm-donate .atm-button,
.atm-donate .atm-button:link,
.atm-donate .atm-button:visited {
	background: #ffffff !important;
	color: #1f5e3b !important;
	-webkit-text-fill-color: #1f5e3b !important;
	border-color: #ffffff;
}

.atm-donate .atm-button:hover,
.atm-donate .atm-button:focus,
.atm-donate .atm-button:active {
	background: #f3fff8 !important;
	color: #18492e !important;
	-webkit-text-fill-color: #18492e !important;
}

/* MOBILE ATM SECTION */

@media (max-width: 800px) {
	.atm-proof {
		grid-template-columns: 1fr;
	}

	.atm-supporters {
		grid-template-columns: 1fr;
		max-width: 340px;
	}

	.atm-actions {
		flex-direction: column;
		align-items: center;
	}

	.atm-button {
		width: min(100%, 320px);
	}

	.atm-supporters img {
		max-height: 52px;
		max-width: 140px;
	}
}

/* =========================================================
   STUDY GUIDE GLOBAL SYSTEM
   ========================================================= */

.study-guide,
.study-guide * {
	box-sizing: border-box;
}

/* Base container */

.study-guide {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.28rem;
	line-height: 1.9;
	color: #ffffff;
	background: #5a74ad;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 3rem;
	border-radius: 0;
}

/* Hide skip link until keyboard focus */

.study-guide .skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.study-guide .skip-link:focus {
	position: static;
	left: auto;
	width: auto;
	height: auto;
	overflow: visible;
	display: inline-block;
	background: #000000;
	color: #ffffff !important;
	padding: 0.85rem 1rem;
	border-radius: 8px;
	margin-bottom: 1rem;
}

/* Hide WordPress page title on pages that contain a study guide
   This works in current Chrome/Safari/Edge */

body:has(.study-guide) .entry-title,
body:has(.study-guide) .wp-block-post-title,
body:has(.study-guide) .page-title {
	display: none !important;
}

/* Base spacing */

.study-guide p,
.study-guide li,
.study-guide blockquote,
.study-guide figcaption {
	max-width: 65ch;
}

.study-guide p {
	margin: 0 0 1.35rem;
}

.study-guide ul,
.study-guide ol {
	margin: 0 0 1.35rem 1.35rem;
	padding: 0;
}

.study-guide li {
	margin-bottom: 0.75rem;
}

.study-guide strong {
	font-weight: 700;
}

.study-guide em {
	font-style: italic;
}

/* Headings */

.study-guide h1,
.study-guide h2,
.study-guide h3,
.study-guide h4 {
	color: #ffffff;
	line-height: 1.15;
	margin-top: 0;
}

.study-guide h1 {
	font-size: clamp(2.8rem, 5vw, 4.5rem);
	margin-bottom: 0.8rem;
}

.study-guide h2 {
	font-size: clamp(2rem, 3vw, 2.8rem);
	margin-top: 2.9rem;
	margin-bottom: 1rem;
}

.study-guide h3 {
	font-size: clamp(1.4rem, 2vw, 1.85rem);
	margin-top: 1.8rem;
	margin-bottom: 0.65rem;
}

.study-guide h4 {
	font-size: 1.15rem;
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
}

/* Links */

.study-guide a {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
}

.study-guide a:hover,
.study-guide a:focus {
	text-decoration-thickness: 3px;
	opacity: 1;
}

.study-guide a:focus,
.study-guide button:focus,
.study-guide summary:focus {
	outline: 3px solid #ffd166;
	outline-offset: 3px;
}

/* Header */

.study-guide__header {
	margin-bottom: 2rem;
}

.study-guide__eyebrow {
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.95rem;
	line-height: 1.4;
	opacity: 0.85;
	margin: 0 0 0.6rem;
}

.study-guide__subtitle {
	font-size: 1.3rem;
	line-height: 1.75;
	max-width: 52rem;
	margin: 0 0 1.25rem;
}

.study-guide__essential {
	background: rgba(255, 255, 255, 0.14);
	border-left: 6px solid #ffffff;
	padding: 1rem 1.1rem;
	margin: 1.6rem 0 1.75rem;
	border-radius: 12px;
	max-width: 70ch;
}

.study-guide__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1rem;
}

.study-guide__tag {
	background: rgba(255, 255, 255, 0.18);
	padding: 0.42rem 0.8rem;
	border-radius: 999px;
	font-size: 0.92rem;
	line-height: 1.2;
	font-family: Arial, Helvetica, sans-serif;
}

/* Layout */

.study-guide__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.study-guide__layout {
		grid-template-columns: 300px minmax(0, 1fr);
	}
}

/* TOC */

.study-guide__toc {
	background: rgba(255, 255, 255, 0.09);
	padding: 1rem;
	border-radius: 14px;
	align-self: start;
}

@media (min-width: 1024px) {
	.study-guide__toc {
		position: sticky;
		top: 1rem;
	}
}

.study-guide__toc h2 {
	font-size: 1.2rem;
	margin: 0 0 0.8rem;
}

.study-guide__toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.study-guide__toc li {
	margin: 0;
}

.study-guide__toc a {
	display: block;
	padding: 0.5rem 0.55rem;
	border-radius: 8px;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	line-height: 1.35;
}

.study-guide__toc a:hover,
.study-guide__toc a:focus {
	background: rgba(255, 255, 255, 0.15);
}

/* Content sections */

.study-guide__content section {
	margin-bottom: 2.7rem;
}

.study-guide__content > section:first-child h2 {
	margin-top: 0;
}

/* Grids + cards */

.study-guide__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.study-guide__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.study-guide__card {
	background: rgba(255, 255, 255, 0.12);
	padding: 1rem 1rem 0.9rem;
	border-radius: 14px;
}

.study-guide__card h3,
.study-guide__card h4 {
	margin-top: 0;
}

.study-guide__card p:last-child {
	margin-bottom: 0;
}

/* Callouts */

.study-guide__callout,
.study-guide__quote {
	max-width: 70ch;
	padding: 1rem 1.1rem;
	margin: 1.25rem 0;
	border-radius: 12px;
}

.study-guide__callout {
	background: rgba(255, 255, 255, 0.12);
	border-left: 5px solid #ffffff;
}

.study-guide__quote {
	background: rgba(255, 255, 255, 0.12);
	border-left: 5px solid #dfe8ff;
	font-style: italic;
}

/* Expandable sections */

.study-guide details {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	margin-bottom: 1rem;
	overflow: hidden;
	max-width: 72ch;
}

.study-guide summary {
	padding: 0.85rem 1rem;
	cursor: pointer;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.4;
}

.study-guide details > div {
	padding: 0 1rem 1rem;
}

/* Media */

.study-guide figure {
	max-width: 72ch;
	margin: 1.5rem 0;
}

.study-guide img,
.study-guide iframe,
.study-guide video,
.study-guide audio {
	max-width: 100%;
	border-radius: 12px;
	margin: 1rem 0;
}

.study-guide figcaption {
	font-size: 0.98rem;
	line-height: 1.5;
	opacity: 0.9;
}

/* Footer */

.study-guide__footer {
	margin-top: 3rem;
	padding-top: 1rem;
}

.study-guide__home-link {
	display: inline-block;
	border: 2px solid #ffffff;
	padding: 0.8rem 1.15rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 0.02em;
}

.study-guide__home-link:hover,
.study-guide__home-link:focus {
	background: #ffffff;
	color: #4c67a1 !important;
	text-decoration: none;
	opacity: 1;
}

/* Mobile tuning */

@media (max-width: 640px) {
	.study-guide {
		font-size: 1.18rem;
		padding: 1.6rem 1rem 2.5rem;
		line-height: 1.85;
	}

	.study-guide h1 {
		font-size: 2.45rem;
	}

	.study-guide h2 {
		font-size: 1.9rem;
		margin-top: 2.3rem;
	}

	.study-guide h3 {
		font-size: 1.4rem;
	}

	.study-guide__subtitle {
		font-size: 1.15rem;
	}

	.study-guide__layout {
		gap: 1.5rem;
	}
}