/*
Theme Name: Cooltura
Theme URI: https://cooltura.do
Author: Cooltura Creative Studio
Author URI: https://cooltura.do
Description: A bold, electric WordPress theme for Cooltura — Dominican creative media, YouTube, TikTok & traditional media production. Elementor compatible with native video embeds and project portfolio post types.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cooltura
Tags: blog, custom-background, custom-header, custom-menu, featured-images, full-width-template, one-column, two-columns, wide-blocks, translation-ready, entertainment, portfolio, video
*/

/* =====================================================
   COOLTURA DESIGN SYSTEM
   Aesthetic: Dominican heat — saturated, editorial,
   kinetic. Magazine meets street culture.
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=Syne+Mono&display=swap');

:root {
  /* Brand Palette */
  --c-black:    #080808;
  --c-dark:     #0f0f0f;
  --c-surface:  #161616;
  --c-border:   #252525;
  --c-white:    #f5f2ee;
  --c-muted:    #7a7a7a;

  /* Cooltura Accent Colors — Vivid Caribbean */
  --c-red:      #e8001c;       /* Bandera roja */
  --c-yellow:   #f5c800;       /* Sol caribeño */
  --c-blue:     #0057ff;       /* Mar Caribe */
  --c-green:    #00d97e;       /* Palma */
  --c-pink:     #ff2d78;       /* Energía */

  /* Primary accent (switchable) */
  --c-accent:   var(--c-red);
  --c-accent2:  var(--c-yellow);

  /* Type */
  --f-display: 'Syne', sans-serif;
  --f-mono:    'Syne Mono', monospace;
  --f-body:    'DM Sans', sans-serif;

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4rem;
  --sp-xl:  8rem;

  /* Layout */
  --max-w:  1440px;
  --radius: 0px;   /* Sharp, no border radius */
  --gap:    1.5rem;

  /* Motion */
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --speed:  0.35s;
}

/* =====================================================
   RESET
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--speed) var(--ease); }
a:hover { color: var(--c-accent); }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--c-white);
}

h1 { font-size: clamp(3.5rem, 9vw, 10rem); }
h2 { font-size: clamp(2.5rem, 6vw, 6rem); }
h3 { font-size: clamp(1.75rem, 3.5vw, 3rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 700; }

.label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* =====================================================
   LAYOUT
   ===================================================== */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section { padding: var(--sp-lg) 0; }
.section--sm { padding: var(--sp-md) 0; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--gap); }

/* =====================================================
   GRAIN OVERLAY — Texture layer
   ===================================================== */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* =====================================================
   HEADER
   ===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: 68px;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--c-border);
}

.header-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

/* Logo */
.cooltura-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cooltura-logo__mark {
  width: 36px;
  height: 36px;
  background: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background var(--speed) var(--ease);
}

.cooltura-logo:hover .cooltura-logo__mark { background: var(--c-yellow); }

.cooltura-logo__text {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--c-white);
  line-height: 1;
}

.cooltura-logo__text span { color: var(--c-accent); }

/* Nav */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.main-navigation > ul > li > a {
  font-family: var(--f-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--speed) var(--ease);
}

.main-navigation > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width var(--speed) var(--ease);
}

.main-navigation > ul > li > a:hover,
.main-navigation > ul > li.current-menu-item > a {
  color: var(--c-white);
}

.main-navigation > ul > li > a:hover::after,
.main-navigation > ul > li.current-menu-item > a::after {
  width: 100%;
}

/* Sub-menus */
.main-navigation ul ul {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 200px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 2px solid var(--c-accent);
  flex-direction: column;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--speed) var(--ease);
  z-index: 100;
}

.main-navigation ul li { position: relative; }

.main-navigation ul li:hover > ul {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.main-navigation ul ul a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-muted) !important;
}

.main-navigation ul ul a:hover {
  color: var(--c-white) !important;
  background: var(--c-border);
}

/* Nav CTA */
.header-cta {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  cursor: pointer;
  border: none;
  transition: all var(--speed) var(--ease);
  white-space: nowrap;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-primary {
  background: var(--c-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--c-yellow);
  color: #000;
}

.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 1px solid var(--c-border);
  clip-path: none;
}

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

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  gap: 5px;
  flex-direction: column;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-white);
  transition: all var(--speed) var(--ease);
}

/* =====================================================
   HERO — Cooltura Main Stage
   ===================================================== */

.hero {
  min-height: 95vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,8,1) 0%, rgba(8,8,8,0.5) 40%, rgba(8,8,8,0.1) 100%),
    linear-gradient(to right, rgba(8,8,8,0.6) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-lg) var(--sp-md);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--sp-sm);
}

.hero__kicker-line {
  width: 48px;
  height: 2px;
  background: var(--c-accent);
}

.hero__title {
  font-size: clamp(4rem, 11vw, 12rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--c-white);
  max-width: 900px;
  margin-bottom: var(--sp-md);
}

.hero__title em {
  font-style: normal;
  color: var(--c-accent);
  -webkit-text-stroke: 0px;
}

.hero__title .outline {
  -webkit-text-stroke: 2px var(--c-white);
  color: transparent;
}

.hero__desc {
  max-width: 520px;
  font-size: 1.05rem;
  color: rgba(245,242,238,0.65);
  margin-bottom: var(--sp-md);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

/* Floating platform badges */
.hero__platforms {
  position: absolute;
  right: var(--sp-md);
  bottom: var(--sp-lg);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(22,22,22,0.9);
  border: 1px solid var(--c-border);
  padding: 0.5rem 0.75rem;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  animation: float-badge 3s ease-in-out infinite;
}

.platform-badge:nth-child(2) { animation-delay: 0.5s; }
.platform-badge:nth-child(3) { animation-delay: 1s; }
.platform-badge:nth-child(4) { animation-delay: 1.5s; }

.platform-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 6px var(--c-green);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

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

/* =====================================================
   MARQUEE / TICKER
   ===================================================== */

.marquee-strip {
  background: var(--c-accent);
  height: 44px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.marquee-strip--dark {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.marquee-track {
  display: flex;
  animation: marquee-scroll 25s linear infinite;
  white-space: nowrap;
  align-items: center;
  height: 100%;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 2.5rem;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.marquee-item::after {
  content: '✦';
  font-size: 0.5rem;
  opacity: 0.7;
}

.marquee-strip--dark .marquee-item {
  color: var(--c-muted);
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--c-border);
}

.section-head__title {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.section-head__link {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

.section-head__link:hover { color: var(--c-yellow); }

/* =====================================================
   PROJECT CARDS (Main CPT)
   ===================================================== */

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.project-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-6px);
}

.project-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.7s var(--ease), filter 0.5s;
}

.project-card:hover .project-card__thumb img {
  transform: scale(1.07);
  filter: saturate(1.2);
}

.project-card__platform {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.3rem;
}

.platform-tag {
  background: rgba(8,8,8,0.85);
  border: 1px solid var(--c-border);
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  backdrop-filter: blur(6px);
  color: var(--c-white);
}

.platform-tag.yt  { border-color: #ff0000; color: #ff0000; }
.platform-tag.tt  { border-color: #69c9d0; color: #69c9d0; }
.platform-tag.ig  { border-color: #e1306c; color: #e1306c; }
.platform-tag.tv  { border-color: var(--c-yellow); color: var(--c-yellow); }

.project-card__cat {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: var(--c-accent);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.project-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card__title {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: 0.5rem;
  flex: 1;
}

.project-card__desc {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--c-border);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.project-card__arrow {
  width: 28px;
  height: 28px;
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--speed) var(--ease);
  flex-shrink: 0;
}

.project-card:hover .project-card__arrow {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

/* =====================================================
   VIDEO EMBED BLOCKS
   ===================================================== */

/* Universal responsive embed container */
.cooltura-video {
  position: relative;
  width: 100%;
  background: var(--c-surface);
  overflow: hidden;
  border: 1px solid var(--c-border);
}

/* 16:9 default */
.cooltura-video--16x9 { aspect-ratio: 16/9; }
/* 9:16 vertical — TikTok/Reels */
.cooltura-video--9x16 {
  aspect-ratio: 9/16;
  max-width: 360px;
}
/* Square — Instagram */
.cooltura-video--1x1  { aspect-ratio: 1/1; }

.cooltura-video iframe,
.cooltura-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lazy-load thumbnail overlay */
.cooltura-video__overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.cooltura-video__overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter 0.4s;
}

.cooltura-video__overlay:hover img { filter: brightness(0.5); }

.cooltura-video__play {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  background: var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--speed) var(--ease), background var(--speed);
  box-shadow: 0 0 0 0 rgba(232, 0, 28, 0.4);
}

.cooltura-video__overlay:hover .cooltura-video__play {
  transform: scale(1.12);
  background: var(--c-yellow);
  animation: pulse-play 1.5s ease infinite;
}

.cooltura-video__play svg {
  fill: #fff;
  width: 26px;
  height: 26px;
  margin-left: 5px;
}

.cooltura-video__overlay:hover .cooltura-video__play svg { fill: #000; }

@keyframes pulse-play {
  0%   { box-shadow: 0 0 0 0 rgba(245,200,0,0.5); }
  70%  { box-shadow: 0 0 0 24px rgba(245,200,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,200,0,0); }
}

/* Source badge */
.cooltura-video__source {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 6;
  background: rgba(8,8,8,0.85);
  border: 1px solid var(--c-border);
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.source-icon { width: 12px; height: 12px; }

/* Duration badge */
.cooltura-video__duration {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 6;
  background: rgba(8,8,8,0.85);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  color: var(--c-white);
}

/* TikTok vertical grid */
.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--gap);
}

/* =====================================================
   PLATFORM SHOWCASE ROW
   ===================================================== */

.platform-row {
  display: flex;
  gap: var(--sp-md);
  overflow-x: auto;
  padding-bottom: var(--sp-sm);
  scrollbar-width: none;
}

.platform-row::-webkit-scrollbar { display: none; }

.platform-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: default;
  transition: all var(--speed) var(--ease);
}

.platform-pill:hover { border-color: var(--c-accent); }
.platform-pill svg  { width: 18px; height: 18px; flex-shrink: 0; }

/* =====================================================
   POST / BLOG CARDS
   ===================================================== */

.post-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.post-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
}

.post-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.post-card:hover .post-card__thumb img { transform: scale(1.06); }

.post-card__cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--c-accent);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}

.post-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--c-white);
  margin-bottom: 0.5rem;
  flex: 1;
}

.post-card__meta {
  display: flex;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--c-border);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: auto;
}

/* =====================================================
   FEATURED / BIG POST
   ===================================================== */

.big-post {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.big-post__bg {
  position: absolute;
  inset: 0;
}

.big-post__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.big-post:hover .big-post__bg img { transform: scale(1.04); }

.big-post__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.97) 0%, rgba(8,8,8,0.4) 55%, transparent 100%);
}

.big-post__body {
  position: relative;
  z-index: 2;
  padding: var(--sp-md);
}

.big-post__title {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  color: var(--c-white);
  margin: 0.5rem 0;
}

/* =====================================================
   SIDEBAR & WIDGETS
   ===================================================== */

.sidebar { display: flex; flex-direction: column; gap: var(--sp-md); }

.widget {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: var(--sp-sm);
  border-top: 2px solid var(--c-accent);
}

.widget-title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: var(--sp-sm);
}

.widget ul { list-style: none; }
.widget ul li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.9rem;
}
.widget ul li:last-child { border-bottom: none; }

/* =====================================================
   SINGLE POST
   ===================================================== */

.single-header { padding: var(--sp-lg) 0 var(--sp-md); }

.post-title {
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-sm);
}

.post-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
  padding: var(--sp-sm) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--sp-md);
}

.post-meta-bar span {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.entry-content {
  font-size: 1.05rem;
  line-height: 1.78;
  color: rgba(245,242,238,0.8);
  max-width: 760px;
}

.entry-content h2, .entry-content h3 {
  color: var(--c-white);
  margin: var(--sp-md) 0 var(--sp-sm);
}

.entry-content blockquote {
  border-left: 3px solid var(--c-accent);
  padding-left: var(--sp-md);
  margin: var(--sp-md) 0;
  font-size: 1.25rem;
  color: var(--c-white);
  font-style: italic;
}

.entry-content figure { margin: var(--sp-md) 0; }

.entry-content figcaption {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 0.5rem;
}

/* =====================================================
   CONTENT + SIDEBAR LAYOUT
   ===================================================== */

.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-lg);
  align-items: start;
}

/* =====================================================
   STATS BAR
   ===================================================== */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  margin: var(--sp-lg) 0;
}

.stat-item {
  background: var(--c-surface);
  padding: var(--sp-md) var(--sp-sm);
  text-align: center;
}

.stat-item__num {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  display: block;
}

.stat-item__label {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 0.25rem;
  display: block;
}

/* =====================================================
   CTA BANNER
   ===================================================== */

.cta-banner {
  background: var(--c-accent);
  padding: var(--sp-lg) var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: 'COOLTURA';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 12rem;
  color: rgba(0,0,0,0.08);
  letter-spacing: -0.05em;
  pointer-events: none;
  line-height: 1;
}

.cta-banner__title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  color: #fff;
  line-height: 0.95;
  max-width: 600px;
}

.cta-banner .btn-primary {
  background: #000;
  color: #fff;
}

.cta-banner .btn-primary:hover {
  background: var(--c-yellow);
  color: #000;
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
  background: var(--c-dark);
  border-top: 1px solid var(--c-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
  padding: var(--sp-lg) var(--sp-md);
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--c-muted);
  max-width: 280px;
  margin-top: var(--sp-sm);
}

.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-sm);
}

.footer-col ul { list-style: none; }
.footer-col ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.footer-col a { color: var(--c-muted); }
.footer-col a:hover { color: var(--c-white); }

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  margin-top: var(--sp-sm);
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem;
  border: 1px solid var(--c-border);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: all var(--speed) var(--ease);
}

.social-btn:hover {
  border-color: var(--c-accent);
  color: var(--c-white);
  background: rgba(232, 0, 28, 0.08);
}

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: var(--sp-sm) var(--sp-md);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0;
}

/* =====================================================
   PAGINATION
   ===================================================== */

.pagination {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  padding: var(--sp-lg) 0;
}

.pagination .page-numbers {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  font-family: var(--f-mono);
  font-size: 0.8rem;
  transition: all var(--speed) var(--ease);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

/* =====================================================
   ELEMENTOR OVERRIDES & HELPERS
   ===================================================== */

/* Make Elementor sections respect our color scheme */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--max-w);
}

/* Ensure our custom CSS variables work inside Elementor */
.elementor-widget-wrap {
  --c-accent: #e8001c;
  --c-yellow: #f5c800;
  --c-white:  #f5f2ee;
}

/* Elementor video widget compatibility */
.elementor-widget-video .elementor-video,
.elementor-widget-video .elementor-video-iframe {
  aspect-ratio: 16/9;
}

/* =====================================================
   SEARCH
   ===================================================== */

.search-box {
  display: flex;
  border: 1px solid var(--c-border);
  transition: border-color var(--speed) var(--ease);
}

.search-box:focus-within { border-color: var(--c-accent); }

.search-box input {
  flex: 1;
  background: var(--c-surface);
  border: none;
  padding: 0.75rem 1rem;
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 0.9rem;
  outline: none;
}

.search-box button {
  background: var(--c-accent);
  border: none;
  padding: 0.75rem 1.25rem;
  color: #fff;
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--speed);
}

.search-box button:hover { background: var(--c-yellow); color: #000; }

/* =====================================================
   UTILITIES
   ===================================================== */

.text-accent   { color: var(--c-accent) !important; }
.text-yellow   { color: var(--c-yellow) !important; }
.text-muted    { color: var(--c-muted) !important; }
.text-white    { color: var(--c-white) !important; }
.bg-dark       { background: var(--c-black) !important; }
.bg-surface    { background: var(--c-surface) !important; }
.mt-sm  { margin-top: var(--sp-sm); }
.mt-md  { margin-top: var(--sp-md); }
.mb-sm  { margin-bottom: var(--sp-sm); }
.mb-md  { margin-bottom: var(--sp-md); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-bar  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero__platforms { display: none; }
}

@media (max-width: 768px) {
  :root { --sp-md: 1rem; --sp-lg: 2.5rem; }
  .main-navigation { display: none; }
  .main-navigation.is-open {
    display: block;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--c-black);
    padding: var(--sp-md);
    overflow-y: auto;
    z-index: 400;
  }
  .main-navigation.is-open ul {
    flex-direction: column;
    gap: 0;
  }
  .main-navigation.is-open > ul > li {
    border-bottom: 1px solid var(--c-border);
  }
  .main-navigation.is-open > ul > li > a {
    display: block;
    padding: 1rem 0;
    font-size: 1.2rem;
    color: var(--c-white);
  }
  .menu-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .tiktok-grid { grid-template-columns: repeat(2, 1fr); }
}
