/*
Theme Name: DailyHotTakes
Theme URI: https://dailyhottakes.com
Author: MAKTech
Author URI: https://dailyhottakes.com
Description: A 1:1 implementation of the DailyHotTakes design - a 90-second video "hot takes" site with a heat-meter rating, in-browser recorder and moderated submissions. Requires the "DailyHotTakes Core" plugin. Fully compatible with Elementor and Elementor Pro (header/footer/page locations are exposed to the Theme Builder).
Version: 0.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dailyhottakes
Tags: elementor, custom-colors, custom-menu, featured-images, full-width-template, threaded-comments
*/

/* ------------------------------------------------------------------ *
 * The full design system (tokens, header, hero, cards, heat meter,
 * library, studio, footer, modal, responsive) ships in the plugin's
 * dht.css so components render identically everywhere. This stylesheet
 * only adds the template-specific layouts the plugin does not cover:
 * the single-take page, archives and the comments area.
 * ------------------------------------------------------------------ */

/* ---- Single take ---- */
.dht-single { margin-top: 34px; }
.dht-single__inner {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 40px;
	align-items: start;
}
.dht-single__meta { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.dht-single__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(28px, 3.6vw, 44px);
	line-height: 1.04;
	letter-spacing: -.015em;
	margin: 0 0 18px;
}
.dht-player-wrap {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background: #12100b;
	aspect-ratio: 16 / 9;
}
.dht-player-video { width: 100%; height: 100%; object-fit: cover; background: #12100b; }
.dht-single__aside { position: sticky; top: 24px; }
.dht-rate {
	background: var(--bg-panel);
	border: 1.5px dashed #b9b1a0;
	border-radius: var(--radius);
	padding: 22px 24px;
	margin-bottom: 24px;
}
.dht-rate__label {
	font-family: var(--font-mono);
	font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--ink); margin: 0 0 16px;
	display: flex; align-items: center; gap: 9px;
}
.dht-rate .dht-heat { width: 100%; }
.dht-rate .dht-heat--interactive .dht-heat__track { cursor: pointer; }
.dht-heat__status {
	display: block;
	font-family: var(--font-mono);
	font-size: 10.5px; letter-spacing: .08em;
	color: var(--muted); margin-top: 10px; width: 100%;
}
.dht-single__prose { font-size: 17px; color: var(--ink-soft); margin: 24px 0 0; max-width: 60ch; }
.dht-single__prose p { margin: 0 0 1em; }

/* ---- Archive ---- */
.dht-archive { margin-top: 34px; }
.dht-archive__head { padding-bottom: 24px; margin-bottom: 6px; }
.dht-archive__head .dht-section-title { margin-top: 6px; }

/* ---- Comments ---- */
.dht-comments-area { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.dht-comments-area__title {
	font-family: var(--font-display);
	font-weight: 600; font-size: 26px; margin: 0 0 28px;
}
.dht-comments-area .commentlist,
.dht-comments-area ol.comment-list { list-style: none; margin: 0; padding: 0; }
.dht-comments-area .comment { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.dht-comments-area .comment .children { list-style: none; margin: 22px 0 0 28px; padding-left: 22px; border-left: 2px solid var(--line); }
.dht-comments-area .comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dht-comments-area .comment-author .fn {
	font-family: var(--font-mono); font-weight: 700;
	font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-style: normal;
}
.dht-comments-area .comment-meta,
.dht-comments-area .comment-metadata {
	font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
	text-transform: uppercase; color: var(--muted);
}
.dht-comments-area .comment-content { font-size: 16px; color: var(--ink); margin-top: 6px; }
.dht-comments-area .comment-content p { margin: 0 0 .6em; }
.dht-comments-area .reply a {
	font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em;
	text-transform: uppercase; color: var(--accent);
}
.dht-comment-respond { margin-top: 30px; }
.dht-comment-respond .comment-reply-title {
	font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 0 0 16px;
}
.dht-comment-respond label {
	display: block; font-family: var(--font-mono);
	font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
	color: var(--muted); margin-bottom: 6px;
}
.dht-comment-respond input[type=text],
.dht-comment-respond input[type=email],
.dht-comment-respond input[type=url],
.dht-comment-respond textarea {
	width: 100%; font: inherit; font-size: 15px;
	padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
	background: #fff; color: var(--ink); margin-bottom: 14px;
}
.dht-comment-respond textarea:focus,
.dht-comment-respond input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.dht-comment-respond .form-submit input {
	background: var(--ink); color: var(--on-dark); border: 0; border-radius: 999px;
	padding: 13px 26px; font-weight: 600; cursor: pointer;
}

/* ---- Misc ---- */
.dht-empty {
	font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em;
	color: var(--muted); padding: 40px 0;
}
.dht-plugin-missing {
	max-width: 760px; margin: 60px auto; padding: 24px 28px;
	border: 1.5px dashed #b9b1a0; border-radius: 14px; background: #efeadf;
	font-family: sans-serif;
}

@media (max-width: 900px) {
	.dht-single__inner { grid-template-columns: 1fr; }
	.dht-single__aside { position: static; }
}

/* ---- Nav menus (wp_nav_menu output) ---- */
.dht-nav .dht-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
}
.dht-nav .dht-menu li { margin: 0; }
.dht-nav .current-menu-item > a,
.dht-nav .current_page_item > a { color: var(--accent); }

.dht-footer__nav .dht-menu {
	list-style: none;
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}
.dht-footer__nav .dht-menu li { margin: 0; }

@media (max-width: 680px) {
	.dht-nav .dht-menu { display: none; }
}
