/*
Theme Name: KARAKK — The Great Indian Gig
Theme URI: https://celebratingqatar.com
Author: Alan / Celebrating Qatar
Author URI: https://celebratingqatar.com
Description: Custom WordPress theme for KARAKK concert landing page. Elementor-compatible with full-width page template support.
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: karakk
Tags: elementor, full-width, event, concert, custom
*/

/* ============================================================
   THEME BASE — imported from original style.css
   ============================================================ */

:root{
  --stage-floor:#0a0026;
  --stage-ramp:#4b0082;
  --beam-yellow:#fffa3c;
  --beam-cyan:#00ffff;
  --beam-magenta:#ff33cc;
}
*{margin:0;padding:0;box-sizing:border-box;}
html,body{height:100%;overflow-x:hidden;font-family:sans-serif;background:#000;color:#fff;}
body{position:relative;}

/* Hero Stage */
.hero {
  height:100vh;
  width:100%;
  position:relative;
  perspective:1200px;
  overflow:hidden;
}

/* Stage floor */
.stage-floor {
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%) rotateX(10deg);
  width:120%;
  height:50%;
  background: linear-gradient(to top, var(--stage-floor), var(--stage-ramp));
  border-top-left-radius:30% 10%;
  border-top-right-radius:30% 10%;
  box-shadow: 0 0 60px rgba(255,255,255,0.1) inset;
  z-index:1;
}

/* Haze layers */
.haze {
  position:absolute;
  bottom:0;
  width:100%;
  height:70%;
  background: radial-gradient(ellipse at bottom, rgba(163,102,255,0.15), transparent 80%);
  filter: blur(120px);
  z-index:2;
  animation:hazeMove 12s ease-in-out infinite alternate;
}
@keyframes hazeMove{
  0%{transform:translateX(-40px);}
  50%{transform:translateX(40px);}
  100%{transform:translateX(-40px);}
}
.haze.extra1 {background: radial-gradient(ellipse at bottom, rgba(255,255,0,0.1), transparent 80%); animation-delay:0s;}
.haze.extra2 {background: radial-gradient(ellipse at bottom, rgba(0,255,255,0.1), transparent 80%); animation-delay:2s;}
.haze.extra3 {background: radial-gradient(ellipse at bottom, rgba(255,0,255,0.1), transparent 80%); animation-delay:4s;}
.haze.extra-left {position:absolute; bottom:0; width:50%; height:70%; background: radial-gradient(ellipse at bottom left, rgba(255,255,255,0.1), transparent 80%); filter:blur(140px); animation:hazeMove 15s ease-in-out infinite alternate; z-index:2;}

/* Light beams */
.light-beam {
  position:absolute;
  top:-30%;
  width:20vw;
  height:130%;
  transform-origin:top center;
  filter:blur(30px);
  mix-blend-mode:screen;
  opacity:0.6;
  animation:beamMove 6s ease-in-out infinite alternate, beamPulse 2s ease-in-out infinite alternate;
  z-index:3;
}
.light-beam:nth-child(1){left:10%; background:linear-gradient(to bottom, var(--beam-yellow), transparent); animation-delay:0s;}
.light-beam:nth-child(2){left:35%; background:linear-gradient(to bottom, var(--beam-cyan), transparent); animation-delay:1s;}
.light-beam:nth-child(3){left:60%; background:linear-gradient(to bottom, var(--beam-magenta), transparent); animation-delay:0.5s;}
.light-beam:nth-child(4){left:85%; background:linear-gradient(to bottom, #ff9900, transparent); animation-delay:1.5s;}
.light-beam:nth-child(5){left:5%; background:linear-gradient(to bottom, #ff33aa, transparent); animation-delay:0.3s;}
.light-beam:nth-child(6){left:20%; background:linear-gradient(to bottom, #33ffcc, transparent); animation-delay:0.7s;}
.light-beam:nth-child(7){left:30%; background:linear-gradient(to bottom, #ffcc00, transparent); animation-delay:1.1s;}
.light-beam:nth-child(8){left:50%; background:linear-gradient(to bottom, #00ffff, transparent); animation-delay:1.5s;}
.light-beam:nth-child(9){left:65%; background:linear-gradient(to bottom, #ff0066, transparent); animation-delay:0.9s;}
.light-beam:nth-child(10){left:80%; background:linear-gradient(to bottom, #ff9900, transparent); animation-delay:1.3s;}
.light-beam:nth-child(11){left:90%; background:linear-gradient(to bottom, #33ccff, transparent); animation-delay:0.5s;}
.light-beam.left1 {left:0%; width:15vw; background:linear-gradient(to bottom, #ff66ff, transparent); animation-delay:0.2s;}
.light-beam.left2 {left:12%; width:15vw; background:linear-gradient(to bottom, #66ffcc, transparent); animation-delay:0.5s;}
@keyframes beamMove{
  0%{transform:rotate(-25deg) scaleX(0.9);}
  25%{transform:rotate(10deg) scaleX(1.1);}
  50%{transform:rotate(-15deg) scaleX(0.95);}
  75%{transform:rotate(20deg) scaleX(1.05);}
  100%{transform:rotate(-10deg) scaleX(1);}
}
@keyframes beamPulse {
  0%{opacity:0.4; transform:scaleX(0.95);}
  50%{opacity:0.7; transform:scaleX(1.05);}
  100%{opacity:0.5; transform:scaleX(1);}
}

/* Spotlights */
.spotlight {
  position:absolute;
  bottom:0;
  width:200px;
  height:500px;
  background:radial-gradient(ellipse at top, rgba(255,255,255,0.2), transparent 70%);
  transform-origin:top center;
  filter:blur(60px);
  mix-blend-mode:screen;
  animation:spinLight 12s linear infinite;
  z-index:2;
}
@keyframes spinLight{
  0%{transform:rotate(0deg);}
  100%{transform:rotate(360deg);}
}

/* Stage text */
.stage-text-container {
  position: absolute;
  bottom: 55%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
.stage-text {
  position: absolute;
  bottom: 55%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15vw;
  font-weight: 900;
  font-family: 'Arial Black', Gadget, sans-serif;
  color: rgba(255,255,255,0.08);
  letter-spacing: 2vw;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  filter: blur(2px);
}
.stage-text-small {
  position: absolute;
  bottom: 78%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5vw;
  font-weight: 900;
  font-family: 'Arial Black', Gadget, sans-serif;
  color: rgba(255,255,255,0.05);
  letter-spacing: 0.5vw;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  filter: blur(1px);
}
@media (max-width:768px) {
  .stage-text-container { bottom: 70%; }
  .stage-text { font-size: 22vw; color: rgba(255,255,255,0.08); letter-spacing: 0.8vw; filter: blur(1px); }
  .stage-text-small { font-size: 4.5vw; color: rgba(255,255,255,0.05); letter-spacing: 0.2vw; filter: blur(0.5px); }
}

/* Newsletter */
.newsletter-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  color: var(--beam-yellow);
  font-family: 'Arial Black', Gadget, sans-serif;
  z-index: 2;
}
.newsletter-bg-spin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  z-index: 0;
  animation: rotateBG 120s linear infinite;
}
.newsletter-bg-spin img { width: 100%; height: 100%; object-fit: contain; }
.newsletter-title {
  font-size: 3rem;
  color: var(--beam-yellow);
  text-shadow: 2px 2px 6px var(--beam-magenta), -2px -2px 6px var(--beam-cyan);
  margin-bottom: 15px;
}
.newsletter-subtitle {
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 1px 1px 4px #00000066;
  margin-bottom: 40px;
}
.newsletter-form {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: rgba(0,0,0,0.5);
  padding: 30px;
  border-radius: 12px;
}
.newsletter-input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: none;
  outline: none;
  font-family: 'Arial Black', Gadget, sans-serif;
  font-size: 1rem;
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.newsletter-btn {
  font-size: 1rem;
  font-weight: 700;
  background: var(--beam-yellow);
  color: #000;
  padding: 12px 40px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Arial Black', Gadget, sans-serif;
  text-shadow: 1px 1px 2px #000;
  transition: transform 0.2s, box-shadow 0.2s;
}
.newsletter-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--beam-magenta), 0 0 10px var(--beam-cyan);
}
@keyframes spinBG {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Artist */
.artist-container {
  position:absolute;
  text-align:center;
  z-index:5;
  animation: artistWave 6s ease-in-out infinite;
}
.artist-container img { width:100%; height:auto; transition:width 0.3s; }
.artist-name {
  margin-top:10px;
  font-family: 'Arial Black', Gadget, sans-serif;
  font-size:1.5rem;
  color:#fffa3c;
  text-shadow: 2px 2px 6px #ff00ff, -2px -2px 6px #00ffff;
  letter-spacing:1px;
  z-index: 1;
}
@keyframes artistWave {
  0%   { transform: translateX(-50%) translateY(0px) rotate(0deg); }
  25%  { transform: translateX(-50%) translateY(-8px) rotate(-1deg); }
  50%  { transform: translateX(-50%) translateY(0px) rotate(0deg); }
  75%  { transform: translateX(-50%) translateY(8px) rotate(1deg); }
  100% { transform: translateX(-50%) translateY(0px) rotate(0deg); }
}

/* 3D ticker hero */
.card, .content { overflow: hidden; }
.hero-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card, .container { display: flex; align-items: center; }
.card { width: 1280px; height: 720px; margin: 0; justify-content: center; }
.container-full, .content { width: 1000px; height: 562px; }
.backgroundImage { position: absolute; width: 1000px; }
.boyImage { position: absolute; width: 1000px; z-index: 2; animation: 200s linear infinite blur; }
.content { border-radius: 40px; animation: 200s linear infinite brightness; }
.container { justify-content: center; }
.container-full, .face { display: flex; align-items: center; overflow: hidden; }
.container-full { margin: 0; justify-content: center; transform: scale(1); animation: 200s linear infinite zoom-in; }
.cube, .face { width: 870px; height: 190px; }
.cube {
  position: relative;
  transform-style: preserve-3d;
  perspective: 480px;
  perspective-origin: 51% 70%;
}
.face, .hue { position: absolute; }
.face { background: 0 0; border: 0 solid #000; opacity: 0.92; }
.bottom, .top { width: 870px; height: 870px; }
p { white-space: nowrap; overflow: hidden; font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: calc(6em + (190px / 10) * 0.7); padding-top: 20px; color: #fff; }
span { color: red; }
.front { transform: translateZ(435px); display: none; }
.back { transform: translateZ(-435px) rotateY(180deg) scaleX(-1); }
.left { transform: translateX(-435px) rotateY(-90deg) scaleX(-1); }
.right { transform: translateX(435px) rotateY(90deg) scaleX(-1); }
.top { transform: translateY(-435px) rotateX(90deg) scaleY(-1); }
.bottom { transform: translateY(-245px) rotateX(-90deg) scaleY(-1); }
.left p { margin-left: 480px; }
.back p { margin-left: -390px; }
.right p { margin-left: -1260px; }
.hue {
  top: 0; left: 0; z-index: 3; width: 100%; height: 100%;
  mix-blend-mode: overlay;
  background: radial-gradient(ellipse at center, #1e5799 0, #7db9e8 100%);
  opacity: 1;
}
.hue.animated { animation: 8s infinite filter-animation; }
.container-reflect { position: absolute; display: flex; align-items: center; justify-content: center; margin-top: 380px; filter: blur(10px); }
.container-reflect .cube { perspective-origin: 51% -30%; }
.container-reflect .back  { transform: translateZ(-435px) rotateY(180deg) scaleX(-1) scaleY(-1); }
.container-reflect .left  { transform: translateX(-435px) rotateY(-90deg) scaleX(-1) scaleY(-1); }
.container-reflect .right { transform: translateX(435px) rotateY(90deg) scaleX(-1) scaleY(-1); }
.container-reflect p { transform: scaleY(70%); }
@keyframes filter-animation { 0%,100%{filter:hue-rotate(0deg);}50%{filter:hue-rotate(100deg);} }
@keyframes zoom-in { 0%{transform:scale(1);}100%{transform:scale(2.5);} }
@keyframes blur { 0%{filter:blur(0px);}100%{filter:blur(3px);} }
@keyframes brightness { 0%{filter:brightness(1) contrast(1);}100%{filter:brightness(0.8) contrast(1.3);} }
.container-full { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.container-full.dragging { cursor: grabbing; }
.container-full img { -webkit-user-drag: none; pointer-events: none; }
.hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 4; color: rgba(255,255,255,0.55); font-family: system-ui, sans-serif;
  font-size: 13px; letter-spacing: 0.04em; pointer-events: none; transition: opacity 0.6s ease;
}
.hint.hidden { opacity: 0; }

/* Content strip */
.content-strip {
  position: relative; width: 100%; min-height: 150px; margin-top: -110px;
  background: #F5930B;
  box-shadow: 0 -24px 50px rgba(0,0,0,0.55), 0 24px 50px rgba(0,0,0,0.55);
  z-index: 3;
}
@media (max-width: 860px) {
  .content-strip { min-height: 90px; margin-top: -70px; }
}

/* Header / Nav */
header.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  background: rgba(0,0,0,0.55);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
}
a.site-logo,
.site-logo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 18px !important;
  text-decoration: none !important;
}
.site-logo img,
a.site-logo img {
  height: 110px !important;
  width: auto !important;
  display: inline-block !important;
  max-width: none !important;
  -webkit-user-drag: none;
  flex-shrink: 0;
}
.site-logo .karakk-logo,
a.site-logo .karakk-logo {
  height: 68px !important;
}
.logo-divider {
  display: block !important;
  width: 1px !important;
  height: 52px !important;
  background: rgba(255,255,255,0.25) !important;
  flex-shrink: 0 !important;
}
nav.site-nav { display: flex; align-items: center; gap: 24px; }
nav.site-nav a {
  color: #fff;
  font-family: "Ubuntu", -apple-system, "SF Pro Text", system-ui, sans-serif;
  font-size: 23px;
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0.86;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
nav.site-nav a:hover { opacity: 1; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .site-header-inner { padding: 12px 20px; }
  .nav-toggle { display: flex; }
  nav.site-nav {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(20,20,20,0.85);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 49;
  }
  nav.site-nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  nav.site-nav a {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 13px;
    opacity: 1;
  }
  nav.site-nav a:active,
  nav.site-nav a:hover { background: rgba(255,255,255,0.08); opacity: 1; }
}

/* Mobile nav */
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav ul li a {
  text-decoration: none; color: #fff; font-size: 1.2rem; font-weight: 500;
  font-family: sans-serif; display: block; width: 100%; padding: 15px 20px;
  text-align: left; transition: color 0.2s ease;
}
.mobile-nav ul li a:hover { color: red; }
.dropdown-toggle {
  background: none; border: none; color: #fff; font-family: sans-serif;
  font-size: 1.2rem; font-weight: 500; padding: 15px 20px;
  text-align: left; width: 100%; cursor: pointer; transition: color 0.2s;
}
.dropdown-toggle:hover { color: var(--beam-yellow); }
.dropdown-toggle i { margin-left: 10px; font-size: 0.8em; transition: transform 0.3s ease; }
.dropdown-toggle.active i { transform: rotate(180deg); }
.dropdown-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out; list-style: none; padding-left: 0; background: rgba(0,0,0,0.2); }
.dropdown-content.active { max-height: 300px; }
.mobile-nav .dropdown-content li a {
  font-size: 1rem; font-weight: 400; font-family: sans-serif;
  color: rgba(255,255,255,0.7); padding: 10px 40px;
  display: block; letter-spacing: 0.5px; transition: color 0.2s;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav .dropdown-content li a:hover { color: var(--beam-yellow); background: rgba(255,255,255,0.05); }

/* Festive footer border */
.festive-flag-border {
  padding-top: 10px;
  background-image: repeating-linear-gradient(
    -45deg,
    #f5ba0b 0, #fec710 10px, transparent 10px, transparent 20px,
    #ee1367 20px, #f30f71 30px, transparent 30px, transparent 40px,
    #c3ff00 40px, #c8ff00 50px, transparent 50px, transparent 60px
  );
  background-size: 100% 10px;
  background-position: top;
  background-repeat: repeat-x;
}

/* Music button */
#music-btn {
  position: fixed; top: 16px; right: 80px; z-index: 999;
  width: 38px; height: 38px; border: none; border-radius: 50%;
  background: #ffffff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px #ff2d6f, 0 0 20px #ff6fbf, 0 0 40px #ff2d6f;
  transition: all 0.3s ease;
}
#music-btn:hover { transform: scale(1.15); box-shadow: 0 0 20px #ff2d6f, 0 0 40px #ff6fbf, 0 0 60px #ff2d6f; }
#music-btn svg { width: 22px; height: 22px; fill: #ff9e3f; }
#pause-shape { display: none; }

/* Font Awesome fix */
.guideline-point-card .card-icon i { font-family: 'Font Awesome 6 Solid', 'Font Awesome 6 Free', sans-serif !important; font-weight: 900 !important; font-style: normal !important; text-shadow: none !important; }
.guideline-point-card .card-icon i.fa-regular { font-family: 'Font Awesome 6 Regular', 'Font Awesome 6 Free', sans-serif !important; font-weight: 400 !important; }

/* Footer */
.site-footer {
  background-color: #0b021d;
  color: #fff;
  padding: 60px 0;
  border-top: 5px solid var(--beam-yellow);
}
.footer-wrapper {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap;
}
.footer-column { width: 23%; padding: 0 10px; margin-bottom: 30px; }
.branding-and-social { width: 30%; }
.footer-logo { max-width: 150px; height: auto; margin-bottom: 15px; }
.site-footer h4 { color: var(--beam-yellow); font-size: 1.1rem; margin-bottom: 20px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s ease; }
.site-footer a:hover { color: var(--beam-yellow); }
.social-links { margin-top: 20px; display: flex; gap: 15px; }
.social-links a img { height: 32px; width: auto; vertical-align: middle; transition: opacity 0.3s ease; }
.social-links a:hover img { opacity: 0.8; }
.copyright-info { font-size: 0.85rem; line-height: 1.5; color: rgba(255,255,255,0.5); }
.small-text { font-size: 0.9rem; }

/* Simple footer (used in current HTML) */
.site-footer-top {
  max-width: 1280px; margin: 0 auto; padding: 40px 32px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.site-footer-top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer-top nav a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; font-family: system-ui, sans-serif; letter-spacing: 0.05em; transition: color 0.2s; }
.site-footer-top nav a:hover { color: #fff; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: rgba(255,255,255,0.7); display: flex; transition: color 0.2s; }
.footer-socials a:hover { color: #fff; }
.footer-socials svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 768px) {
  .site-footer { padding: 40px 0; }
  .footer-wrapper { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-column { width: 100%; padding: 0 20px; margin-bottom: 30px; }
  .branding-and-social { order: 4; margin-bottom: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
  .site-footer h4 { margin-bottom: 10px; }
  .social-links { justify-content: flex-start; }
}

/* ============================================================
   ELEMENTOR COMPATIBILITY
   ============================================================ */

/* Remove default padding/margin that fights Elementor layouts */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: 1280px; }

/* Full-width Elementor sections sit edge-to-edge */
.elementor-section.elementor-section-full_width > .elementor-container { max-width: 100%; }

/* Ensure Elementor widgets inside dark pages inherit colour */
.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title { color: inherit; }

/* ============================================================
   WORDPRESS CORE ALIGNMENT CLASSES
   ============================================================ */
.alignleft  { float: left;  margin-right: 1.5em; }
.alignright { float: right; margin-left:  1.5em; }
.aligncenter, .alignwide, .alignfull { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-align: center; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px); position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
}

/* ============================================================
   CRITICAL: Stop WordPress & themes from breaking hero images
   ============================================================ */

/* WP adds max-width:100% to all images globally — kills the ticker */
.hero-wrap img { max-width: none !important; }

/* WP wraps lone images in <p> tags — undo that inside hero */
.hero-wrap > p,
.hero-wrap .container > p,
.hero-wrap .container-full > p { display: none; }

/* WP entry-content adds margins to p/img */
.hero-wrap p { margin-block-start: 0; margin-block-end: 0; }

/* Elementor adds padding to sections — zero it for hero */
.karakk-page .elementor-section:first-child { padding: 0 !important; }

/* ============================================================
   ELEMENTOR FULL-WIDTH FIX
   Stop WordPress/theme from constraining Elementor's canvas
   ============================================================ */

/* Remove any inherited content-area width limits */
.site-main,
#main,
#content,
.entry-content,
article,
.hentry {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

/* Kill sidebar float that pushes content into a column */
#sidebar,
.sidebar,
.widget-area,
aside {
	display: none !important;
}

/* Elementor sections must be able to go edge-to-edge */
.elementor-section-wrap,
.elementor-inner,
.elementor-container {
	max-width: 100% !important;
}

/* Elementor boxed sections: use their own max-width setting, not theme's */
.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: var(--e-container-max-width, 1280px);
}

/* Prevent theme body padding from indenting Elementor content */
.karakk-page,
body.elementor-page {
	padding: 0 !important;
	margin: 0 !important;
}

/* Fix: WP adds .wp-site-blocks or .entry-content padding in newer themes */
.wp-site-blocks,
.wp-block-group,
.wp-block-post-content {
	padding: 0 !important;
	max-width: 100% !important;
}
