/* =============================================
   KFRQ.TV — Theme Stylesheet
   Los Angeles · Now Broadcasting · Est. 2026
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background-color: #f5e8c8;
	font-family: 'Playfair Display', serif;
	color: #1a1a1a;
}

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

a { color: #a8281a; }
a:hover { color: #7a1a0e; }

/* --- Header --- */
.kfrq-header,
.wp-block-group.kfrq-header {
	background-color: #f5e8c8 !important;
	border-bottom: 3px solid #a8281a;
	padding: 0 20px;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	justify-content: space-between;
	max-width: 100%;
}

.kfrq-logo img,
.kfrq-header .wp-block-site-logo img {
	height: 64px;
	width: auto;
	padding: 8px 0;
}

/* Nav links */
.kfrq-nav,
.kfrq-header .wp-block-navigation {
	border-left: 1px solid #d4c9a8;
	margin-left: 20px;
}

.kfrq-header .wp-block-navigation__container {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
}

.kfrq-header .wp-block-navigation-item__content {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #3a2a1a;
	padding: 0 14px;
	line-height: 80px;
	border-right: 1px solid #d4c9a8;
	text-decoration: none;
	display: block;
}

.kfrq-header .wp-block-navigation-item__content:hover {
	color: #a8281a;
}

/* On Air badge */
.kfrq-on-air {
	background: #a8281a;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 13px;
	letter-spacing: 2px;
	color: #fff;
	padding: 6px 14px;
	display: flex;
	align-items: center;
	gap: 7px;
	flex-shrink: 0;
	margin-left: auto;
}

.kfrq-live-dot {
	width: 7px;
	height: 7px;
	background: #fff;
	border-radius: 50%;
	display: inline-block;
	animation: kfrq-blink 1s infinite;
}

@keyframes kfrq-blink {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.2; }
}

/* --- Feed --- */
.kfrq-feed,
.kfrq-archive {
	max-width: 780px;
	margin: 0 auto;
	padding: 0 24px;
}

/* --- Story Card --- */
.kfrq-story {
	border-bottom: 2px solid #d4c9a8;
	padding: 30px 0;
}

.kfrq-story:last-child {
	border-bottom: none;
}

/* Featured image — full bleed */
.kfrq-story .wp-block-post-featured-image,
.kfrq-story .wp-block-post-featured-image img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	display: block;
	margin-bottom: 18px;
}

/* Category tag */
.kfrq-story-tag,
.kfrq-story .wp-block-post-terms {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 11px !important;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #d94f2b !important;
	margin-bottom: 8px;
	display: block;
}

.kfrq-story-tag a,
.kfrq-story .wp-block-post-terms a {
	color: #d94f2b !important;
	text-decoration: none;
}

/* Post title */
.kfrq-story .wp-block-post-title,
.kfrq-story .wp-block-post-title a {
	font-family: 'Barlow Condensed', sans-serif !important;
	font-size: 36px !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1.0;
	color: #a8281a !important;
	text-decoration: none;
	margin-top: 8px;
	margin-bottom: 10px;
	display: block;
}

.kfrq-story .wp-block-post-title a:hover {
	color: #7a1a0e !important;
}

/* Date / meta */
.kfrq-story .wp-block-post-date,
.kfrq-story .wp-block-post-date time {
	font-family: 'Share Tech Mono', monospace !important;
	font-size: 10px !important;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #999 !important;
	margin-bottom: 16px;
	display: block;
}

/* Excerpt */
.kfrq-story .wp-block-post-excerpt__excerpt {
	font-family: 'Playfair Display', serif;
	font-size: 15px;
	line-height: 1.75;
	color: #2a2a2a;
	margin-bottom: 20px;
}

/* Read More button */
.kfrq-read-more,
.kfrq-story .wp-block-post-excerpt__more-link,
.wp-block-post-excerpt .wp-block-post-excerpt__more-link {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 13px !important;
	letter-spacing: 3px;
	color: #3a8f8a !important;
	text-decoration: none !important;
	display: inline-block;
	border: 2px solid #3a8f8a;
	padding: 7px 20px;
	box-shadow: 4px 4px 0px #3a8f8a;
	transition: box-shadow 0.1s ease, transform 0.1s ease;
	background: transparent;
}

.kfrq-read-more:hover,
.kfrq-story .wp-block-post-excerpt__more-link:hover {
	box-shadow: 2px 2px 0px #3a8f8a;
	transform: translate(2px, 2px);
	color: #3a8f8a !important;
}

/* --- Single Post --- */
.kfrq-single {
	max-width: 780px;
	margin: 0 auto;
	padding: 30px 24px 60px;
}

.kfrq-single .wp-block-post-featured-image img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	margin-bottom: 24px;
}

.kfrq-single .wp-block-post-title {
	font-family: 'Barlow Condensed', sans-serif !important;
	font-size: 48px !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1.0;
	color: #a8281a !important;
	margin-bottom: 12px;
}

.kfrq-single .wp-block-post-content p,
.kfrq-single .wp-block-post-content li {
	font-family: 'Playfair Display', serif;
	font-size: 16px;
	line-height: 1.8;
	color: #2a2a2a;
}

.kfrq-single .wp-block-post-content h2 {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 800;
	font-size: 28px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #a8281a;
	margin-top: 2rem;
}

/* Related stories */
.kfrq-related {
	border-bottom: 1px solid #d4c9a8;
	padding: 16px 0;
}

.kfrq-related .wp-block-post-title,
.kfrq-related .wp-block-post-title a {
	font-family: 'Barlow Condensed', sans-serif !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	color: #a8281a !important;
	text-decoration: none;
	line-height: 1.1;
}

/* --- Archive Header --- */
.kfrq-archive-header {
	border-bottom: 3px solid #a8281a;
	padding: 24px 0 16px;
	margin-bottom: 0;
}

.kfrq-archive-header .wp-block-query-title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 14px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #999;
}

/* --- Pagination --- */
.wp-block-query-pagination {
	padding: 30px 0;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.wp-block-query-pagination a,
.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers span {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 13px;
	letter-spacing: 2px;
	color: #3a8f8a;
	text-decoration: none;
	border: 2px solid #3a8f8a;
	padding: 5px 14px;
	display: inline-block;
}

.wp-block-query-pagination-numbers .current {
	background: #3a8f8a;
	color: #fff;
}

.wp-block-query-pagination a:hover {
	box-shadow: 2px 2px 0 #3a8f8a;
	transform: translate(-1px, -1px);
}

/* --- Footer --- */
.kfrq-footer,
.wp-block-group.kfrq-footer {
	background-color: #f5e8c8 !important;
	border-top: 3px solid #a8281a;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.kfrq-footer .wp-block-site-logo img {
	height: 44px;
	width: auto;
}

.kfrq-footer-tagline {
	font-family: 'Share Tech Mono', monospace !important;
	font-size: 9px !important;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #888 !important;
	margin: 4px 0 0 0;
}

.kfrq-footer .wp-block-navigation__container {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.kfrq-footer .wp-block-navigation-item__content {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #3a2a1a;
	text-decoration: none;
	padding: 0 12px;
}

.kfrq-footer .wp-block-navigation-item__content:hover {
	color: #a8281a;
}

/* --- 404 --- */
.kfrq-404-search .wp-block-search__input {
	font-family: 'Playfair Display', serif;
	border: 2px solid #a8281a;
	padding: 10px 14px;
	font-size: 15px;
	background: #f5e8c8;
}

.kfrq-404-search .wp-block-search__button {
	font-family: 'Bebas Neue', sans-serif;
	letter-spacing: 2px;
	background: #a8281a;
	color: #fff;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
}

/* --- Responsive --- */
@media (max-width: 640px) {
	.kfrq-header .wp-block-navigation__container { display: none; }
	.kfrq-header { flex-wrap: wrap; }

	.kfrq-story .wp-block-post-featured-image,
	.kfrq-story .wp-block-post-featured-image img { height: 220px; }

	.kfrq-story .wp-block-post-title,
	.kfrq-story .wp-block-post-title a { font-size: 28px !important; }

	.kfrq-single .wp-block-post-title { font-size: 32px !important; }
	.kfrq-single .wp-block-post-featured-image img { height: 240px; }

	.kfrq-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
	.kfrq-feed, .kfrq-archive, .kfrq-single { padding-left: 16px; padding-right: 16px; }
}
