/*
 * Global styles — legacy MTT parity (plain CSS, no Sass).
 * Typography, colors, layout utilities, shared patterns.
 */

/* Universal box-sizing */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Clearfix utility */
.clearfix::before,
.clearfix::after,
.site-inner::before,
.site-inner::after,
.wrap::before,
.wrap::after {
	content: " ";
	display: table;
}
.clearfix::after,
.site-inner::after,
.wrap::after {
	clear: both;
}

/* Base */
html {
	height: 100%;
	font-size: 18px;
}

body {
	color: #000000;
	font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	background: #FEFBF7;
	font-size: 18px;
	line-height: 28px;
	-webkit-font-smoothing: antialiased;
}

/* Links */
a {
	color: #000000;
	text-decoration: none;
}
a:hover {
	color: #333;
	text-decoration: none;
}

/* Selection */
::selection {
	background-color: #000000;
	color: #fff;
}
::-moz-selection {
	background-color: #000000;
	color: #fff;
}

/* Paragraphs */
p {
	margin: 0 0 28px;
	padding: 0;
	color: #000000;
	font-size: 18px;
	line-height: 28px;
	font-family: 'IBM Plex Sans', -apple-system, sans-serif;
}
p strong {
	color: #41502B;
	font-weight: 600;
}

/* Lists */
ol,
ul {
	margin: 0;
	padding: 0;
}
li {
	list-style-type: none;
}
.entry-content ol > li {
	list-style-type: decimal;
}
.entry-content ul > li {
	list-style-type: disc;
}

/* Blockquote */
blockquote {
	font-size: 17px;
	text-transform: uppercase;
	color: #000000;
	text-align: left;
	line-height: 28px;
	letter-spacing: 0;
	font-style: normal;
	margin: 0 auto;
	border-top: 2px solid #000000;
	border-bottom: 2px solid #000000;
	padding: 22px 0;
}
blockquote p {
	margin-bottom: 0;
}

/* Headings — Sofia Pro Bold / IBM Plex Sans per spec */
h1, h2 {
	font-family: 'Sofia Pro', 'sofia-pro', -apple-system, sans-serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 48px;
	margin: 0 0 0.5em;
}
h3 {
	font-family: 'Sofia Pro', 'sofia-pro', -apple-system, sans-serif;
	font-weight: 700;
	font-size: 30px;
	line-height: 36px;
	margin: 0 0 0.5em;
}
h4 {
	font-family: 'Sofia Pro', 'sofia-pro', -apple-system, sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 28px;
	margin: 0 0 0.5em;
}
h5 {
	font-family: 'IBM Plex Sans', -apple-system, sans-serif;
	font-size: 18px;
	line-height: 28px;
	margin: 0 0 0.5em;
}
h6 {
	font-family: 'Sofia Pro', 'sofia-pro', -apple-system, sans-serif;
	font-weight: 700;
	margin: 0 0 0.5em;
}

/* Special highlight — California Palms Script */
.special-highlight,
.highlight-script {
	font-family: 'California Palms Script', cursive;
	font-size: 60px;
	line-height: 96px;
}

/* Buttons — black bg, white text, uppercase Sofia Pro Semi Bold 13px */
button,
.wp-block-button__link,
input[type="submit"],
input[type="button"],
.btn {
	font-family: 'Sofia Pro', 'sofia-pro', -apple-system, sans-serif;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.12rem;
	background: #000000;
	color: #ffffff;
	border: none;
	cursor: pointer;
}
button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover {
	background-color: #402103;
	color: #ffffff;
}

/* Images */
embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width: 100%;
}
img {
	height: auto;
	margin: 0 auto;
}

/* Utility: image fit (object-fit) */
.image-fit {
	object-fit: cover;
	object-position: center;
}

/* Post category link (reusable) */
.post-category a {
	color: #4B5B33;
	font-size: 13px;
	font-family: 'IBM Plex Mono', monospace;
	text-transform: uppercase;
	letter-spacing: 0.04rem;
}

/* Layout wrappers */
.wrapper,
.wrap {
	margin: 0 auto;
	position: relative;
}
.site-inner {
	clear: both;
	width: 100%;
	margin: 0 auto;
	position: relative;
}

/* Flex layout pattern */
.flex {
	display: flex;
	justify-content: space-between;
}

/* AdThrive / JW Player */
.adthrive-ad.adthrive-content {
	min-height: 330px !important;
}

.jw-controls-backdrop,
.jw-controlbar,
.adthrive-ad * {
	transition: none !important;
}
@media (max-width:500px) {
	h1, h2 {
		font-size:30px;
		line-height:1.3;
	}
}