/*
Theme Name: DanialTV
Theme URI: https://danialtv.com/
Description: Lightweight English theme for DanialTV — same brand system as danialtaherifar.ir (dark + #ffcc00). No build step, no jQuery, AdSense-ready slots.
Version: 1.0.4
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: danialtv
License: GPLv2 or later
*/

:root {
	--primary: #ffcc00;
	--primary-2: #ffe680;
	--dark: #111111;
	--dark-2: #1a1a1a;
	--soft: #f5f5f5;
	--line: #e4e4e7;
	--muted: #52525b;
	--muted-2: #71717a;
	--white: #ffffff;
	--radius: 1.5rem;
	--radius-sm: 1rem;
	--shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 0 0 1px #f4f4f5;
	--shadow-gold: 0 20px 60px rgba(255, 204, 0, .16);
	--wrap: 72rem;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--dark);
	min-height: 100vh;
	background:
		radial-gradient(circle at 12% 8%, rgba(255, 204, 0, .18), transparent 28rem),
		radial-gradient(circle at 88% 18%, rgba(255, 204, 0, .10), transparent 22rem),
		linear-gradient(180deg, #fff 0%, var(--soft) 48%, #fff 100%);
}
body::before {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(rgba(17, 17, 17, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(17, 17, 17, .035) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .65), transparent 70%);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .65), transparent 70%);
}
::selection { background: var(--primary); color: var(--dark); }
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: #b38f00; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 900; letter-spacing: -.01em; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 999; width: auto; height: auto; clip: auto; background: var(--primary); color: var(--dark); padding: .75rem 1rem; border-radius: 999px; font-weight: 800; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; padding: .8rem 1.4rem; font-weight: 800; font-size: .95rem; line-height: 1; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--dark); box-shadow: 0 14px 38px rgba(255, 204, 0, .22); }
.btn-primary:hover { transform: translateY(-2px); color: var(--dark); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .12); color: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: transparent; color: #fff; cursor: pointer; transition: .2s; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn svg { width: 20px; height: 20px; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50; color: #fff;
	background:
		radial-gradient(circle at 10% 0%, rgba(255, 204, 0, .18), transparent 18rem),
		linear-gradient(135deg, rgba(17, 17, 17, .98), rgba(26, 26, 26, .96));
	-webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.topbar { background: rgba(0, 0, 0, .2); font-size: .78rem; color: #d4d4d8; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; align-items: center; padding-top: .45rem; padding-bottom: .45rem; }
.topbar a:hover { color: var(--primary); }
.topbar .tagline { color: #a1a1aa; }
@media (max-width: 640px) { .topbar .tagline { display: none; } }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0; font-size: 1.45rem; font-weight: 900; color: var(--primary); letter-spacing: -.02em; }
.brand:hover { color: var(--primary); }
.brand img { max-height: 44px; width: auto; }
.brand { gap: .6rem; }
.brand-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--primary); color: var(--dark); font-weight: 900; font-size: 1.1rem; letter-spacing: -.02em; flex: none; }
.brand-name { color: var(--primary); }
.brand .brand-tv { color: #e4e4e7; font-weight: 600; font-size: .62em; letter-spacing: .08em; margin-left: .2rem; vertical-align: .35em; }
.card-thumb .ph .brand-mark { width: 72px; height: 72px; border-radius: 18px; font-size: 1.9rem; }
.main-nav { display: none; flex: 1; justify-content: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.main-nav a { position: relative; display: inline-flex; padding: .75rem .2rem; font-weight: 800; font-size: .95rem; color: #f5f5f5; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: .4rem; width: 0; height: 2px; background: var(--primary); transition: width .25s; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--primary); }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { width: 100%; }
.main-nav .sub-menu { display: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .btn { display: none; }
.menu-toggle { display: grid; }
@media (min-width: 1024px) {
	.main-nav { display: flex; }
	.header-actions .btn { display: inline-flex; }
	.menu-toggle { display: none; }
}
.search-panel { position: absolute; left: 16px; right: 16px; top: 100%; max-width: 42rem; margin: 0 auto; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .2s; }
.search-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.search-panel form { background: rgba(17, 17, 17, .95); border: 1px solid rgba(255, 255, 255, .1); border-radius: 1.5rem; padding: .75rem; box-shadow: 0 25px 50px rgba(0, 0, 0, .3); }

/* Search form */
.search-form { display: flex; align-items: center; gap: .6rem; background: #fff; color: var(--dark); border-radius: 1rem; padding: .45rem .45rem .45rem 1rem; }
.search-form svg { width: 20px; height: 20px; color: var(--muted-2); flex: none; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .95rem; padding: .4rem 0; }
.search-form button { border: 0; border-radius: .75rem; background: var(--primary); color: var(--dark); font-weight: 800; padding: .6rem 1rem; cursor: pointer; font: inherit; font-weight: 800; font-size: .9rem; }

/* Mobile drawer */
.drawer-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .62); opacity: 0; pointer-events: none; transition: opacity .28s; }
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; z-index: 80; width: min(88vw, 380px); background: var(--dark); color: #fff; transform: translateX(105%); transition: transform .32s ease; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer nav { border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 1rem 0; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.drawer nav a { display: block; padding: .7rem .9rem; border-radius: .9rem; font-weight: 700; color: #e4e4e7; }
.drawer nav a:hover, .drawer nav .current-menu-item > a { background: rgba(255, 255, 255, .06); color: var(--primary); }
.drawer nav .sub-menu { padding-left: 1rem; }
.no-scroll { overflow: hidden; }

/* Page hero / breadcrumbs */
.page-hero { background: var(--dark); color: #fff; padding: 2.5rem 0; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: .8rem 0 0; }
.page-hero p { color: #d4d4d8; max-width: 42rem; margin: .9rem 0 0; }
.breadcrumbs { font-size: .85rem; color: #a1a1aa; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { margin: 0 .45rem; }

/* Home hero */
.hero { background: var(--dark); color: #fff; padding: 4rem 0 4.5rem; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255, 204, 0, .2), transparent 26rem), radial-gradient(circle at 10% 90%, rgba(255, 204, 0, .08), transparent 20rem); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip { display: inline-flex; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); padding: .35rem .9rem; font-size: .8rem; font-weight: 800; color: #e4e4e7; }
.chip:hover, .chip.is-hot { border-color: var(--primary); color: var(--primary); }
.chip.is-hot { background: rgba(255, 204, 0, .1); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; margin: 0 0 1rem; }
.hero h1 .hl { color: var(--primary); }
.hero .lead { font-size: 1.1rem; color: #d4d4d8; max-width: 38rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2rem; }
.stat { border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); border-radius: 1.25rem; padding: 1rem; }
.stat strong { display: block; font-size: 1.6rem; color: var(--primary); line-height: 1.1; }
.stat span { font-size: .78rem; color: #a1a1aa; line-height: 1.4; display: block; }
@media (max-width: 480px) { .stat { padding: .8rem; } .stat strong { font-size: 1.3rem; } .stat span { font-size: .7rem; } }
.hero-panel { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 2rem; padding: 1.25rem; display: grid; gap: .75rem; }
.hero-panel h2 { font-size: 1.15rem; margin: 0 0 .25rem; }
.hero-panel .eyebrow { color: var(--primary); }
.quick-link { display: block; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .25); border-radius: 1.1rem; padding: .9rem 1rem; transition: .2s; }
.quick-link:hover { border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.quick-link strong { display: block; font-size: .95rem; }
.quick-link span { font-size: .8rem; color: #a1a1aa; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.75rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.eyebrow { display: block; font-size: .8rem; font-weight: 900; color: #b38f00; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.link-more { font-weight: 800; font-size: .9rem; border-bottom: 2px solid var(--primary); }

/* Cards */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold), var(--shadow); }
.card-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--dark), var(--dark-2)); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-thumb img { transform: scale(1.05); }
.card-thumb .ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--primary); font-weight: 900; font-size: 1.3rem; }
.card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: .75rem; font-size: .78rem; color: var(--muted-2); }
.badge { display: inline-flex; border-radius: 999px; background: rgba(255, 204, 0, .2); color: var(--dark); font-weight: 900; padding: .2rem .7rem; font-size: .75rem; }
.card h2, .card h3 { font-size: 1.15rem; line-height: 1.45; margin: 0; }
.card h2 a:hover, .card h3 a:hover { color: #b38f00; }
.card p { font-size: .92rem; color: var(--muted); margin: 0; }
.topic-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); transition: .25s; display: block; }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold), var(--shadow); color: var(--dark); }
.topic-card .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 1rem; background: var(--primary); color: var(--dark); margin-bottom: 1rem; }
.topic-card .ico svg { width: 24px; height: 24px; }
.topic-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.topic-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.topic-card.is-dark { background: var(--dark); color: #fff; }
.topic-card.is-dark p { color: #a1a1aa; }

/* Layout with sidebar */
.layout { display: grid; gap: 2rem; align-items: start; padding: 3rem 0; }
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.layout.no-sidebar { grid-template-columns: minmax(0, 1fr); }

/* Single */
.entry-header { max-width: 800px; margin: 0 auto; }
.entry-title { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.2; margin: 0; }
.entry-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.1rem; font-size: .88rem; color: var(--muted-2); }
.entry-meta a { color: #b38f00; font-weight: 800; }
.entry-thumb { margin-top: 1.75rem; border-radius: var(--radius); overflow: hidden; }
.entry-thumb img { display: block; width: 100%; }
.entry-content { max-width: 800px; margin: 2rem auto 0; font-size: 1.06rem; line-height: 1.85; color: #27272a; overflow-wrap: break-word; }
.entry-content h2 { font-size: 1.65rem; margin: 2.2rem 0 .8rem; color: var(--dark); }
.entry-content h3 { font-size: 1.3rem; margin: 1.8rem 0 .6rem; color: var(--dark); }
.entry-content a { color: #8a6e00; font-weight: 700; text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--dark); }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
.entry-content li { margin: .35em 0; }
.entry-content li::marker { color: #b38f00; font-weight: 800; }
.entry-content img { border-radius: 1rem; }
.entry-content figure { margin: 1.75rem 0; }
.entry-content figcaption { font-size: .85rem; color: var(--muted-2); text-align: center; margin-top: .5rem; }
.entry-content blockquote { margin: 1.75rem 0; padding: 1.1rem 1.4rem; border-left: 4px solid var(--primary); background: #fffbea; border-radius: 0 1rem 1rem 0; }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content code { font-family: var(--mono); font-size: .9em; background: var(--soft); padding: .15em .4em; border-radius: .35rem; }
.entry-content pre { background: var(--dark); color: #f4f4f5; padding: 1.1rem 1.25rem; border-radius: 1rem; overflow-x: auto; font-size: .9rem; }
.entry-content pre code { background: none; padding: 0; color: inherit; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.entry-content th { background: var(--soft); font-weight: 800; }
.entry-content .wp-block-button__link { background: var(--primary); color: var(--dark); border-radius: 999px; font-weight: 800; text-decoration: none; }
.entry-content iframe { width: 100%; border-radius: 1rem; }
.entry-content .wp-block-embed__wrapper iframe, .entry-content iframe[src*="youtube"] { aspect-ratio: 16 / 9; height: auto; }
.alignwide, .alignfull { max-width: 100%; }
.page-links { margin-top: 2rem; font-weight: 800; }

/* TOC (LuckyWP / Easy TOC / Yoast) look */
.lwptoc_i, .ez-toc-container, #ez-toc-container, .yoast-table-of-contents { background: #fff !important; border: 1px solid var(--line) !important; border-radius: 1rem !important; padding: 1rem 1.25rem !important; }

/* Share / author / related */
.share { max-width: 800px; margin: 2.5rem auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.share strong { margin-right: .5rem; font-size: .9rem; }
.share a { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow); padding: .5rem .9rem; font-size: .85rem; font-weight: 800; }
.share a:hover { background: var(--primary); color: var(--dark); }
.author-box { max-width: 800px; margin: 2rem auto 0; display: flex; gap: 1.1rem; align-items: flex-start; background: var(--dark); color: #fff; border-radius: var(--radius); padding: 1.5rem; }
.author-box img { border-radius: 999px; flex: none; border: 2px solid var(--primary); }
.author-box h2 { font-size: 1.05rem; margin: 0 0 .35rem; }
.author-box h2 a { color: var(--primary); }
.author-box p { margin: 0; font-size: .92rem; color: #d4d4d8; }
.author-box .socials { display: flex; gap: .75rem; margin-top: .75rem; font-size: .85rem; font-weight: 800; }
.author-box .socials a:hover { color: var(--primary); }
.related { max-width: 800px; margin: 3rem auto 0; }
.related h2 { font-size: 1.4rem; }
@media (min-width: 720px) { .related .grid { grid-template-columns: repeat(3, 1fr); } }
.related .card h3 { font-size: 1rem; }

/* Sidebar */
.sidebar { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .sidebar.is-sticky { position: sticky; top: 110px; } }
.widget { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; font-size: .92rem; }
.widget-title, .widget h2 { font-size: 1rem; margin: 0 0 .9rem; display: flex; align-items: center; gap: .5rem; }
.widget-title::before, .widget h2::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--primary); }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.widget li a { font-weight: 700; }
.widget li a:hover { color: #b38f00; }
.widget.is-dark { background: var(--dark); color: #fff; }
.widget.is-dark p { color: #a1a1aa; }
.mini-post { display: flex; gap: .75rem; align-items: center; }
.mini-post img, .mini-post .ph { width: 64px; height: 48px; object-fit: cover; border-radius: .6rem; flex: none; background: var(--dark); }
.mini-post span { font-size: .88rem; font-weight: 800; line-height: 1.4; }

/* Ads (AdSense-ready) */
.ad-slot { margin: 2rem auto; text-align: center; min-height: 100px; max-width: 800px; }
.ad-slot::before { content: "Advertisement"; display: block; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: #a1a1aa; margin-bottom: .35rem; }
.ad-slot:empty { display: none; }

/* Pagination */
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-weight: 800; }
.page-numbers.current, .page-numbers:hover { background: var(--primary); color: var(--dark); }

/* Comments */
.comments { max-width: 800px; margin: 3rem auto 0; }
.comments h2 { font-size: 1.35rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.comment-list .children { list-style: none; padding-left: 1.5rem; margin-top: 1rem; display: grid; gap: 1rem; }
.comment-body { background: #fff; border-radius: 1.1rem; box-shadow: var(--shadow); padding: 1.1rem 1.25rem; }
.comment-author { display: flex; align-items: center; gap: .6rem; font-weight: 800; }
.comment-author img { border-radius: 99px; }
.comment-metadata { font-size: .78rem; color: var(--muted-2); margin: .2rem 0 .6rem; }
.reply a { font-size: .82rem; font-weight: 800; color: #b38f00; }
.comment-respond { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.comment-form label { display: block; font-weight: 800; font-size: .88rem; margin-bottom: .3rem; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: .9rem; padding: .75rem .9rem; font: inherit; font-size: .95rem; background: #fff; }
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 204, 0, .25); }
.comment-form p { margin-bottom: 1rem; }
.comment-form .submit { border: 0; border-radius: 999px; background: var(--primary); color: var(--dark); font: inherit; font-weight: 800; padding: .8rem 1.5rem; cursor: pointer; }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: start; font-size: .85rem; }
.comment-form-cookies-consent label { font-weight: 500; }

/* Empty / 404 */
.empty { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.5rem; text-align: center; }
.big-404 { font-size: clamp(5rem, 16vw, 9rem); line-height: 1; font-weight: 900; color: var(--primary); text-shadow: 0 20px 60px rgba(255, 204, 0, .35); margin: 0; }

/* Footer */
.site-footer { margin-top: 4rem; background: var(--dark); color: #d4d4d8; font-size: .92rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, rgba(255, 204, 0, .14), transparent 22rem); pointer-events: none; }
.footer-cta { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; }
.footer-cta h2 { color: #fff; font-size: 1.35rem; margin: 0; }
.footer-cta p { margin: .25rem 0 0; color: #a1a1aa; }
.footer-grid { position: relative; display: grid; gap: 2rem; padding: 3rem 0; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a:hover { color: var(--primary); }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-top: 1.25rem; padding-bottom: 1.25rem; font-size: .82rem; color: #a1a1aa; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1rem; }
.socials-row { display: flex; gap: .5rem; margin-top: 1rem; }
.socials-row a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.socials-row a:hover { border-color: var(--primary); color: var(--primary); }
.socials-row svg { width: 18px; height: 18px; }

/* Back to top */
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 46px; height: 46px; border-radius: 999px; border: 0; background: var(--primary); color: var(--dark); box-shadow: var(--shadow-gold); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .25s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
