/*
Theme Name: Shirinfard
Theme URI: https://shirinfard.com
Author: Alireza Shirinfard
Author URI: https://shirinfard.com
Description: قالب اختصاصی وبسایت رسمی علیرضا شیرین‌فرد - آهنگساز، نوازنده و مدرس موسیقی. شامل پلیر موسیقی اختصاصی با ویژوالایزر مه، مدیریت آلبوم، ویدیو، اخبار، گالری و سیستم نظردهی.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shirinfard
Tags: music, rtl-language-support, custom-background, custom-logo, featured-images, threaded-comments, translation-ready
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ==============================
   CSS Variables
   ============================== */
:root {
  --bg-deep: #08090A;
  --bg-surface: #101113;
  --bg-card: #161819;
  --bg-elevated: #1E2023;
  --accent: #C8956D;
  --accent-light: #E2B78E;
  --accent-dim: #9B7050;
  --accent-dark: #A07245;
  --text-primary: #E0DBD2;
  --text-secondary: #8A857D;
  --text-muted: #504D48;
  --border: rgba(255,255,255,0.04);
  --border-accent: rgba(200,149,109,0.15);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

ul, ol { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 10px; }
::selection { background: rgba(200,149,109,0.2); color: #fff; }

/* Focus */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ==============================
   Utilities
   ============================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 40px rgba(200,149,109,0.04);
}

.accent-gradient {
  background: linear-gradient(135deg, #C8956D, #E2B78E, #C8956D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-bg {
  background: linear-gradient(135deg, #C8956D, #A07245);
}

.glow-accent {
  box-shadow: 0 0 60px rgba(200,149,109,0.08), 0 0 120px rgba(200,149,109,0.04);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(200,149,109,0.1);
  background: rgba(200,149,109,0.04);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(200,149,109,0.7);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .section-header { margin-bottom: 80px; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #C8956D, #A07245);
  color: white;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(200,149,109,0.15);
  transition: all 0.2s;
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(200,149,109,0.2);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

/* ==============================
   Animations
   ============================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anim-up {
  animation: fadeInUp 0.7s ease-out forwards;
}

/* Wave bars */
@keyframes w1 { 0%,100%{height:20%} 25%{height:65%} 50%{height:90%} 75%{height:40%} }
@keyframes w2 { 0%,100%{height:40%} 25%{height:85%} 50%{height:30%} 75%{height:75%} }
@keyframes w3 { 0%,100%{height:55%} 30%{height:20%} 60%{height:80%} 85%{height:35%} }

.wb1 { animation: w1 1.2s ease-in-out infinite; }
.wb2 { animation: w2 1.0s ease-in-out infinite; }
.wb3 { animation: w3 1.4s ease-in-out infinite; }

.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  direction: ltr;
}

.equalizer span {
  width: 2.5px;
  border-radius: 2px;
  background: var(--accent);
}

/* Album accordion */
.album-tracks {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.album-tracks.open {
  max-height: 2000px;
}

/* Player slider */
.player-range {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  outline: none;
  cursor: pointer;
  direction: ltr;
}

.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200,149,109,0.15);
  cursor: pointer;
}

/* ==============================
   Navbar
   ============================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.5s;
}

.site-nav.scrolled {
  background: rgba(8,9,10,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: white;
}

.nav-logo-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
}

.nav-lang {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.nav-lang:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-mobile-btn {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .nav-mobile-btn { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8,9,10,0.98);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 0;
}

.mobile-menu a:hover { color: var(--accent); }

/* ==============================
   Hero
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,9,10,0.8), rgba(8,9,10,0.6), #08090A);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 16px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(200,149,109,0.2);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-badge span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200,149,109,0.8);
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 .line2 {
  color: var(--text-primary);
}

.hero-role {
  margin-top: 28px;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
}

.hero-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
}

.hero-cats .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(200,149,109,0.3);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
}

@media (max-width: 639px) {
  .hero-btns { flex-direction: column; }
  .hero-btns a { width: 100%; }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.15);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ==============================
   Section spacing
   ============================== */
.site-section {
  position: relative;
  padding: 64px 0;
}

@media (min-width: 640px) {
  .site-section { padding: 96px 0; }
}

@media (min-width: 1024px) {
  .site-section { padding: 144px 0; }
}

.section-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg-deep), #0B0C0E, var(--bg-deep));
  pointer-events: none;
}

/* ==============================
   Music Player
   ============================== */
.player-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

@media (min-width: 640px) {
  .player-card { padding: 40px; }
}

.player-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (min-width: 1024px) {
  .player-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

.player-visual {
  flex-shrink: 0;
  text-align: center;
}

.player-cover-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.player-cover {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.05);
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}

.player-cover.playing img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.player-now {
  margin-top: 20px;
}

.player-now small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.player-now h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 6px;
}

.player-now p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.player-controls-wrap {
  flex: 1;
  width: 100%;
  min-width: 0;
}

/* Progress */
.player-progress {
  direction: ltr;
}

.player-progress-bar {
  position: relative;
  height: 5px;
  margin-bottom: 8px;
}

.player-progress-bg {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
}

.player-progress-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.1s linear;
}

.player-progress-times {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  font-family: monospace;
  direction: ltr;
}

/* Buttons */
.player-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  direction: ltr;
}

.player-btn {
  color: var(--text-secondary);
  transition: color 0.2s;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-btn:hover { color: var(--text-primary); }
.player-btn.active { color: var(--accent); }

.player-btn-main {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 30px rgba(200,149,109,0.2);
  transition: all 0.2s;
}

.player-btn-main:hover {
  box-shadow: 0 12px 40px rgba(200,149,109,0.3);
  transform: scale(1.05);
}

.player-btn-main:active {
  transform: scale(0.95);
}

/* Volume */
.player-volume {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  direction: ltr;
}

.player-volume button {
  color: var(--text-muted);
  padding: 4px;
}

.player-volume input {
  width: 80px;
  height: 3px;
  -webkit-appearance: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  outline: none;
}

.player-volume input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

/* Divider */
.player-divider {
  height: 1px;
  background: rgba(255,255,255,0.03);
  margin: 28px 0;
}

/* Album list */
.album-item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  margin-bottom: 10px;
}

.album-item.active {
  background: rgba(200,149,109,0.04);
  border: 1px solid rgba(200,149,109,0.1);
}

.album-item:not(.active) {
  background: rgba(255,255,255,0.01);
  border: 1px solid rgba(255,255,255,0.03);
}

.album-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  width: 100%;
  text-align: right;
  cursor: pointer;
}

.album-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-info {
  flex: 1;
  min-width: 0;
}

.album-info h4 {
  font-size: 14px;
  font-weight: 700;
}

.album-info small {
  font-size: 11px;
  color: var(--text-muted);
}

.album-info h4.active-title { color: var(--accent); }

.album-chevron {
  color: var(--text-muted);
  transition: transform 0.3s;
}

.album-chevron.open { transform: rotate(180deg); }

/* Track list */
.track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s;
}

.track-item:hover { background: rgba(255,255,255,0.02); }
.track-item.active { background: rgba(200,149,109,0.08); }

.track-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.track-num {
  width: 24px;
  text-align: center;
  font-size: 11px;
  font-family: monospace;
  color: var(--text-muted);
}

.track-num.active { color: var(--accent); font-weight: 700; }

.track-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(224,219,210,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-title.active {
  color: var(--accent);
  font-weight: 600;
}

.track-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.track-dur {
  font-size: 10px;
  color: var(--text-muted);
  font-family: monospace;
}

.track-dl {
  opacity: 0;
  color: var(--text-muted);
  transition: all 0.2s;
}

.track-item:hover .track-dl { opacity: 1; }
.track-dl:hover { color: var(--accent); }

/* ==============================
   News
   ============================== */
.news-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

.news-card { overflow: hidden; }
.news-card.featured { grid-column: 1 / -1; }

.news-card-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .news-card.featured .news-card-inner { flex-direction: row; }
}

.news-card:not(.featured) .news-card-inner {
  flex-direction: column;
}

@media (min-width: 640px) {
  .news-card:not(.featured) .news-card-inner { flex-direction: row; }
}

.news-img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  height: 200px;
}

@media (min-width: 640px) {
  .news-card:not(.featured) .news-img { width: 40%; height: auto; }
}

@media (min-width: 768px) {
  .news-card.featured .news-img { width: 40%; height: auto; }
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.news-card:hover .news-img img { transform: scale(1.05); }

.news-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.news-cat-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(22,24,25,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 10px;
  font-weight: 500;
  color: rgba(224,219,210,0.7);
}

.news-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

@media (min-width: 640px) {
  .news-body { padding: 24px; }
}

@media (min-width: 768px) {
  .news-card.featured .news-body { padding: 32px; }
}

.news-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-body h3 {
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.7;
  transition: color 0.2s;
}

.news-card:hover .news-body h3 { color: var(--accent); }

.news-card.featured .news-body h3 { font-size: 18px; }

@media (min-width: 768px) {
  .news-card.featured .news-body h3 { font-size: 20px; }
}

.news-body p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}

.news-more:hover { color: var(--accent-light); }

/* ==============================
   About
   ============================== */
.about-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 2fr 3fr;
    gap: 56px;
  }
}

.about-photo-wrap {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}

.about-photo-card {
  padding: 10px;
  border-radius: var(--radius-lg);
}

.about-photo-card img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.about-stats {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.about-stat {
  text-align: center;
}

.about-stat-num {
  font-size: 14px;
  font-weight: 900;
}

.about-stat-label {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 2px;
}

.about-stat-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

.about-bio p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-bio strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-bio em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

.highlights-grid {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}

.highlight-card {
  padding: 20px;
  border-radius: var(--radius);
}

.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(200,149,109,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 16px;
}

.highlight-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(224,219,210,0.9);
}

.highlight-card p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 4px;
}

/* ==============================
   Gallery
   ============================== */
.gallery-grid {
  columns: 2;
  gap: 12px;
}

@media (min-width: 768px) {
  .gallery-grid { columns: 3; }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  padding: 6px;
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
}

.gallery-item-inner {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-height: 85vh;
  max-width: 90vw;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s;
  z-index: 10;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.1);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { top: 50%; right: 16px; transform: translateY(-50%); }
.lightbox-next { top: 50%; left: 16px; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-family: monospace;
  direction: ltr;
}

/* ==============================
   Comments
   ============================== */
.comment-form {
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.comment-form h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.comment-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .comment-fields { grid-template-columns: 1fr 1fr; }
}

.comment-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.comment-input:focus { border-color: rgba(200,149,109,0.3); }

.comment-input::placeholder { color: var(--text-muted); }

textarea.comment-input {
  resize: none;
  min-height: 120px;
  margin-bottom: 12px;
}

.comment-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.comment-item {
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(200,149,109,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.comment-date {
  font-size: 10px;
  color: var(--text-muted);
}

.comment-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.comment-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.comment-reply-btn:hover { color: var(--accent); }

.comment-replies {
  margin-right: 24px;
  padding-right: 24px;
  border-right: 2px solid rgba(200,149,109,0.1);
}

@media (min-width: 640px) {
  .comment-replies { margin-right: 40px; padding-right: 40px; }
}

/* ==============================
   Footer
   ============================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: #060708;
  padding: 64px 0;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 900;
}

.footer-brand h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-brand small {
  font-size: 10px;
  color: var(--text-muted);
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s;
}

.footer-social:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: rgba(224,219,210,0.8);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(200,149,109,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 14px;
}

.footer-contact-item span {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 32px;
  font-size: 10px;
  color: rgba(80,77,72,0.6);
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
}

/* ==============================
   WordPress Required
   ============================== */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--text-muted); }
.alignleft { float: right; margin-left: 16px; }
.alignright { float: left; margin-right: 16px; }
.aligncenter { display: block; margin: 0 auto; }
.sticky { /* sticky post */ }
.gallery-caption { /* gallery caption */ }
.bypostauthor { /* comment by post author */ }

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

/* Print */
@media print {
  body { background: white; color: black; }
  .site-nav, .site-footer, audio, .player-btns { display: none !important; }
}

/* ==============================
   Video Player Section
   ============================== */
.video-stage-card {
  overflow: hidden;
  margin-bottom: 32px;
}

.video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-deep);
}

.video-stage iframe,
.video-stage video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: var(--bg-deep);
}

.video-stage-info {
  padding: 20px 24px 28px;
}

.video-stage-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 10px 0 6px;
}

.video-stage-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.video-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(200,149,109,0.15);
  background: rgba(200,149,109,0.06);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
}

/* Category tabs */
.video-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.video-cat-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}

.video-cat-tab:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

.video-cat-tab.active {
  background: linear-gradient(135deg, #C8956D, #A07245);
  border-color: transparent;
  color: #fff;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .video-grid { grid-template-columns: repeat(4, 1fr); }
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.2s;
}

.video-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.video-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(200,149,109,0.3);
}

.video-card.is-hidden {
  display: none;
}

.video-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
  overflow: hidden;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  background: rgba(8,9,10,0.25);
  opacity: 0;
  transition: opacity 0.2s;
}

.video-card:hover .video-card-play,
.video-card.active .video-card-play {
  opacity: 1;
}

.video-card-dur {
  position: absolute;
  bottom: 6px;
  left: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(8,9,10,0.7);
  color: var(--text-primary);
  font-size: 10px;
  font-family: monospace;
}

.video-card-body {
  padding: 12px 14px 14px;
}

.video-card-body .video-card-badge {
  margin-bottom: 8px;
}

.video-card-body h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

