/*
Theme Name: FloridaHillbilly
Theme URI: https://floridahillbilly.com/
Author: FloridaHillbilly
Description: Preservation-first presentation for the FloridaHillbilly archive.
Version: 0.6.0
Requires at least: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: floridahillbilly
Tags: blog, two-columns, right-sidebar, custom-menu, featured-images, accessibility-ready
*/

:root {
	--fhb-background: #b2b2b2;
	--fhb-surface: #fff;
	--fhb-text: #222;
	--fhb-muted: #666;
	--fhb-link: #1b5e75;
	--fhb-navigation: #1f1f1f;
	--fhb-border: #ddd;
	--fhb-content-width: 70rem;
	--fhb-site-width: 112rem;
}

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

html {
	font-size: 62.5%;
	overflow-y: scroll;
}

body {
	background: var(--fhb-background);
	color: var(--fhb-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.8rem;
	line-height: 1.6;
	margin: 0;
}

a {
	color: var(--fhb-link);
}

a:focus,
button:focus,
input:focus,
textarea:focus {
	outline: 3px solid currentColor;
	outline-offset: 2px;
}

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

figure {
	margin: 0 0 1.5em;
}

table {
	border-collapse: collapse;
	width: 100%;
}

th,
td {
	border: 1px solid var(--fhb-border);
	padding: 0.6rem;
	text-align: left;
}

.site {
	background: var(--fhb-surface);
	margin: 0 auto;
	max-width: var(--fhb-site-width);
	min-height: 100vh;
}

.site-header,
.site-footer,
.site-content {
	width: 100%;
}

.site-branding {
	background-position: center;
	background-size: cover;
	padding: 4rem 3rem;
	text-align: center;
}

.site-title,
.site-description {
	margin: 0;
}

.site-title {
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(3.2rem, 7vw, 6rem);
	line-height: 1.1;
}

.site-title a {
	color: var(--fhb-text);
	text-decoration: none;
}

.site-description {
	color: var(--fhb-muted);
	font-size: 1.8rem;
	font-weight: 400;
}

.main-navigation {
	background: var(--fhb-navigation);
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
}

.main-navigation ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0 2rem;
}

.main-navigation a {
	color: #fff;
	display: block;
	padding: 1.2rem 1.5rem;
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
	background: #3a3a3a;
}

.site-content {
	display: grid;
	gap: 4rem;
	grid-template-columns: minmax(0, 1fr) minmax(22rem, 30rem);
	padding: 4rem 3rem;
}

.content-area {
	min-width: 0;
}

.site-main,
.entry-content {
	max-width: var(--fhb-content-width);
}

.hentry,
.page-header,
.no-results,
.not-found {
	margin: 0 0 4rem;
}

.entry-title,
.page-title,
.widget-title {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.2;
}

.entry-title {
	font-size: clamp(3rem, 5vw, 4.8rem);
	margin: 0 0 1rem;
}

.entry-title a {
	color: var(--fhb-text);
	text-decoration: none;
}

.entry-meta,
.entry-footer,
.taxonomy-description {
	color: var(--fhb-muted);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.4rem;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content::after,
.clear::after {
	clear: both;
	content: "";
	display: table;
}

.post-thumbnail,
.single-post-thumbnail,
.front-index-thumbnail,
.small-index-thumbnail {
	margin: 0 0 2rem;
}

.widget-area {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.5rem;
}

.widget {
	margin: 0 0 3rem;
}

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

.site-footer {
	background: var(--fhb-navigation);
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.4rem;
	padding: 3rem;
	text-align: center;
}

.site-footer a {
	color: #fff;
}

.footer-widgets {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
	margin: 0 auto 2rem;
	max-width: var(--fhb-site-width);
	text-align: left;
}

.navigation.posts-navigation,
.navigation.post-navigation,
.navigation.pagination {
	font-family: Arial, Helvetica, sans-serif;
	margin: 3rem 0;
}

.nav-links {
	display: flex;
	gap: 2rem;
	justify-content: space-between;
}

.comments-area {
	margin: 4rem 0;
	max-width: var(--fhb-content-width);
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-content,
.comment-body {
	margin-bottom: 2rem;
}

.alignleft {
	float: left;
	margin: 0.5rem 2rem 1.5rem 0;
}

.alignright {
	float: right;
	margin: 0.5rem 0 1.5rem 2rem;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	color: var(--fhb-muted);
	font-size: 1.4rem;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.sticky,
.bypostauthor {
	display: block;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: #fff;
	clip: auto !important;
	clip-path: none;
	color: #000;
	display: block;
	font-size: 1.6rem;
	height: auto;
	left: 1rem;
	padding: 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.field-notes-list,
.field-note-thread ol {
	padding-left: 2.4rem;
}

.field-notes-list li,
.field-note-thread li {
	margin-bottom: 1.5rem;
}

.field-note-location {
	display: block;
}

.field-note-media img,
.field-note-media audio {
	display: block;
	max-width: 100%;
}

.field-note-measurements {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.5rem 1.5rem;
}

.field-note-measurements dd {
	margin: 0;
}

.field-note-weather,
.field-notes-related {
	border-left: 0.4rem solid var(--fhb-border);
	margin: 3rem 0;
	padding: 1rem 2rem;
}

.radio-player {
	background: var(--fhb-surface);
	border: 0.1rem solid var(--fhb-border);
	margin-bottom: 3rem;
	padding: 2rem;
}

.radio-player audio {
	display: block;
	margin: 1.5rem 0;
	max-width: 100%;
	width: 100%;
}

.radio-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.radio-controls button {
	font: inherit;
	min-height: 4.4rem;
	padding: 0.5rem 1.5rem;
}

.radio-search label {
	display: block;
	font-weight: 700;
}

.radio-search input {
	font: inherit;
	max-width: 100%;
	min-height: 4.4rem;
	width: 32rem;
}

.radio-catalog li {
	margin-bottom: 2.5rem;
}

.radio-track[hidden] {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.radio-player *,
	.radio-catalog * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

@media (max-width: 760px) {
	.site-content {
		grid-template-columns: 1fr;
		padding: 3rem 2rem;
	}

	.main-navigation ul {
		display: block;
		padding: 0;
	}

	.alignleft,
	.alignright {
		float: none;
		margin-left: auto;
		margin-right: auto;
	}
}

@media print {
	.main-navigation,
	.widget-area,
	.site-footer,
	.comments-area {
		display: none;
	}

	.site-content {
		display: block;
		padding: 0;
	}

	a::after {
		content: " (" attr(href) ")";
	}
}
