/**
 * Campaign Manager – Frontend Styles
 * Poppins font, beautiful responsive design
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ────────────────────────────────────────────────────────────── */
:root {
  --cm-primary:        #0a3981;
  --cm-primary-hover:  #082f69;
  --cm-accent:         #2563eb;
  --cm-gold:           #f59e0b;
  --cm-gold-light:     #fef9ec;
  --cm-secondary:      #64748b;
  --cm-success:        #16a34a;
  --cm-error:          #dc2626;
  --cm-border:         #d7deea;
  --cm-bg:             #f5f7fb;
  --cm-white:          #ffffff;
  --cm-text:           #1f2937;
  --cm-text-muted:     #6b7280;
  --cm-radius:         10px;
  --cm-radius-lg:      18px;
  --cm-shadow:         0 4px 20px rgba(10,57,129,0.10);
  --cm-shadow-lg:      0 12px 40px rgba(10,57,129,0.16);
  --cm-font:           'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Base reset ───────────────────────────────────────────────────────────── */
.cm-form-wrap *,
.cm-campaign-section * {
  box-sizing: border-box;
}

/* ════════════════════════════════════════════════════════════════════════════
   FORM WRAP
   ════════════════════════════════════════════════════════════════════════════ */
.cm-form-wrap {
  max-width: 720px;
  margin: 28px auto;
  padding: 36px 36px 32px;
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e0e8f5;
  border-radius: var(--cm-radius-lg);
  box-shadow: var(--cm-shadow-lg);
  position: relative;
  overflow: hidden;
  font-family: var(--cm-font);
  font-size: 15px;
  color: var(--cm-text);
}

.cm-form-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--cm-primary) 0%, var(--cm-accent) 60%, #60a5fa 100%);
}

.cm-form-wrap::after {
  content: "";
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Form header ──────────────────────────────────────────────────────────── */
.cm-form-header {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid #eaeffa;
}

/* ── Field groups ─────────────────────────────────────────────────────────── */
.cm-field-group {
  margin-bottom: 15px;
}

.cm-field-group label {
  display: block;
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 7px;
  color: var(--cm-text);
  letter-spacing: 0.01em;
}

.cm-required { color: var(--cm-error); }

.cm-field-group input[type="text"],
.cm-field-group input[type="email"],
.cm-field-group input[type="number"],
.cm-field-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--cm-border);
  border-radius: var(--cm-radius);
  font-family: var(--cm-font);
  font-size: 14px;
  color: var(--cm-text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}

.cm-field-group input::placeholder,
.cm-field-group textarea::placeholder { color: #b0b8c9; }

.cm-field-group input:focus,
.cm-field-group textarea:focus {
  border-color: var(--cm-primary);
  box-shadow: 0 0 0 3px rgba(10,57,129,0.10);
  background: #fff;
}

.cm-input-error { border-color: var(--cm-error) !important; }

.cm-field-error {
  display: block;
  font-family: var(--cm-font);
  font-size: 12px;
  color: var(--cm-error);
  margin-top: 5px;
  font-weight: 500;
}

.cm-field-success {
  display: block;
  font-family: var(--cm-font);
  font-size: 12px;
  color: var(--cm-success);
  font-weight: 600;
  margin-top: 5px;
}

/* ── Phone row ────────────────────────────────────────────────────────────── */
.cm-phone-row {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--cm-border);
  border-radius: var(--cm-radius);
  overflow: hidden;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.cm-phone-row:focus-within {
  border-color: var(--cm-primary);
  box-shadow: 0 0 0 3px rgba(10,57,129,0.10);
}
.cm-phone-prefix {
  background: #f0f4fc;
  padding: 0 14px;
  font-family: var(--cm-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--cm-primary);
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1.5px solid var(--cm-border);
  white-space: nowrap;
  min-height: 44px;
  letter-spacing: .5px;
}
.cm-phone-row input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  background: transparent;
}

/* ── Email + OTP row ──────────────────────────────────────────────────────── */
.cm-email-row,
.cm-otp-row {
  display: flex;
  gap: 0;
  align-items: stretch;
}

#cm-email {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#cm-send-otp-btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
}

.cm-email-row input,
.cm-otp-row input { flex: 1; min-width: 0; }

#cm-otp {
  letter-spacing: 7px;
  font-size: 19px;
  font-weight: 700;
  padding-inline: 18px;
  max-width: 190px;
  font-family: 'Courier New', monospace;
}

.cm-otp-actions { margin-top: 8px; }

/* ── Word count ───────────────────────────────────────────────────────────── */
.cm-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.cm-label-row label { margin-bottom: 0 !important; }

.cm-word-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8f0fb;
  border: 1px solid #b6ccf0;
  border-radius: 20px;
  padding: 2px 11px;
  font-family: var(--cm-font);
  font-size: 11.5px;
  font-weight: 500;
  color: #1a5199;
}
#cm-word-count-num {
  font-size: 13px;
  font-weight: 700;
  color: #0c447c;
}

/* ── Note box ─────────────────────────────────────────────────────────────── */
.note-box {
  position: relative;
  border: 1.5px solid #fbbf24;
  background: #fffbeb;
  padding: 18px 14px 12px;
  border-radius: var(--cm-radius);
  margin: 18px 0;
  font-family: var(--cm-font);
}
.note-label {
  position: absolute;
  top: -12px; left: 14px;
  background: #f59e0b;
  color: #fff;
  padding: 2px 12px;
  font-family: var(--cm-font);
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: .5px;
}
.note-box div {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: #78350f;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.cm-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border: none;
  border-radius: var(--cm-radius);
  font-family: var(--cm-font);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .12s, box-shadow .2s;
  white-space: nowrap;
  letter-spacing: .01em;
}
.cm-btn:active { transform: scale(.97); }
.cm-btn:disabled { opacity: .5; cursor: not-allowed; }

.cm-btn-primary {
  background: linear-gradient(135deg, var(--cm-primary) 0%, var(--cm-accent) 100%);
  color: #fff;
  width: 100%;
  justify-content: center;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(10,57,129,0.22);
  letter-spacing: .02em;
}
.cm-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #082f69 0%, #1d4ed8 100%);
  box-shadow: 0 12px 30px rgba(10,57,129,0.30);
}

.cm-btn-secondary {
  background: #f0f5ff;
  color: var(--cm-primary);
  border: 1.5px solid #c4d3f0;
}
.cm-btn-secondary:hover:not(:disabled) { background: #ddeaff; }

.cm-btn-link {
  background: none;
  border: none;
  color: var(--cm-primary);
  font-family: var(--cm-font);
  font-size: 12.5px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-weight: 600;
}
.cm-btn-link:hover { color: var(--cm-primary-hover); }

/* ── Loader ───────────────────────────────────────────────────────────────── */
.cm-btn-loader { animation: cm-spin .8s linear infinite; }
@keyframes cm-spin { to { transform: rotate(360deg); } }

/* ── Submit group ─────────────────────────────────────────────────────────── */
.cm-submit-group { margin-top: 18px; }

/* ── Messages ─────────────────────────────────────────────────────────────── */
.cm-messages {
  margin-bottom: 16px;
  padding: 13px 16px;
  border-radius: var(--cm-radius);
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 13.5px;
  border-left: 4px solid transparent;
}
.cm-messages.cm-success { background: #f0fdf4; border-color: var(--cm-success); color: #166534; }
.cm-messages.cm-error   { background: #fef2f2; border-color: var(--cm-error);   color: #991b1b; }
.cm-messages.cm-info    { background: #eff6ff; border-color: var(--cm-accent);  color: #1e40af; }

/* ── Disabled ─────────────────────────────────────────────────────────────── */
.cm-disabled {
  background: var(--cm-bg);
  border: 1.5px dashed var(--cm-border);
  padding: 24px;
  border-radius: var(--cm-radius);
  text-align: center;
  color: var(--cm-text-muted);
  font-family: var(--cm-font);
}

/* ── reCAPTCHA error ──────────────────────────────────────────────────────── */
#cm-recaptcha-error {
  display: block;
  font-family: var(--cm-font);
  font-size: 12px;
  color: var(--cm-error);
  margin-top: 5px;
}


/* ════════════════════════════════════════════════════════════════════════════
   CAMPAIGN SECTION  (public post-campaign display)
   Layout: [Winner Photos + Campaign Highlights] as one section, then Contact Info
   ════════════════════════════════════════════════════════════════════════════ */

.cm-campaign-section {
  font-family: var(--cm-font);
  color: var(--cm-text);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ── Section heading style ────────────────────────────────────────────────── */
.cm-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.cm-section-heading-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.cm-section-heading-icon.gold  { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.cm-section-heading-icon.blue  { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.cm-section-heading-icon.green { background: linear-gradient(135deg, #34d399, #059669); }

.cm-section-heading h2 {
  margin: 0 0 2px;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--cm-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cm-section-heading p {
  margin: 0;
  font-size: 13px;
  color: var(--cm-text-muted);
  font-weight: 400;
}

/* ── Main two-col block: photos + highlights ──────────────────────────────── */
.cm-main-block {
  background: #fff;
  border: 1px solid #e6edf8;
  border-radius: 22px;
  box-shadow: var(--cm-shadow);
  overflow: hidden;
  margin-bottom: 32px;
}

.cm-main-block-header {
  background: linear-gradient(135deg, var(--cm-primary) 0%, #1d4ed8 100%);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cm-main-block-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.cm-main-block-header p {
  margin: 2px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
}
.cm-main-block-header-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.18);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cm-main-block-body {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  gap: 0;
}

/* ── Photos column ────────────────────────────────────────────────────────── */
.cm-photos-col {
  padding: 28px 28px 28px 32px;
  border-right: 1px solid #eaf0fb;
}

.cm-photos-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cm-text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cm-photos-col-title::before {
  content: '';
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--cm-gold);
  border-radius: 2px;
}

/* ── Gallery grid ─────────────────────────────────────────────────────────── */
.cm-winner-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.cm-winner-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(10,57,129,0.10);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
}
.cm-winner-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 28px rgba(10,57,129,0.18);
  border-color: var(--cm-gold);
}

.cm-winner-card-img-wrap {
  position: relative;
  overflow: hidden;
}
.cm-winner-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .4s;
}
.cm-winner-card:hover img { transform: scale(1.06); }

/* Gold shimmer overlay */
.cm-winner-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.5) 100%);
  display: flex;
  align-items: flex-end;
  padding: 0 8px 8px;
  opacity: 0;
  transition: opacity .25s;
}
.cm-winner-card:hover .cm-winner-card-overlay { opacity: 1; }

.cm-winner-zoom-icon {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
}
.cm-winner-zoom-icon svg { width: 14px; height: 14px; }

/* Top badge */
.cm-winner-rank-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #7c2d00;
    font-size: 8px;
    font-weight: 800;
    line-height: 18px;
    padding: 0px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .8px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.cm-winner-card-caption {
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cm-text);
  text-align: center;
  background: #fff;
  border-top: 1px solid #f0f4fb;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Highlights column ────────────────────────────────────────────────────── */
.cm-highlights-col {
  padding: 28px 32px 28px 28px;
  background: linear-gradient(160deg, #fafcff 0%, #f0f6ff 100%);
}

.cm-highlights-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cm-text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cm-highlights-col-title::before {
  content: '';
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--cm-accent);
  border-radius: 2px;
}

/* The actual highlights content from wp_editor */
.cm-highlights-content {
  font-family: var(--cm-font);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--cm-text);
}
.cm-highlights-content h1,
.cm-highlights-content h2,
.cm-highlights-content h3,
.cm-highlights-content h4 {
  font-family: var(--cm-font);
  color: var(--cm-primary);
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.3;
}
.cm-highlights-content h2 { font-size: 17px; }
.cm-highlights-content h3 { font-size: 15px; }
.cm-highlights-content p  { margin: 0 0 10px; }
.cm-highlights-content ul,
.cm-highlights-content ol {
  padding-left: 18px;
  margin: 0 0 12px;
}
.cm-highlights-content li { margin-bottom: 5px; }
.cm-highlights-content a  { color: var(--cm-accent); text-decoration: underline; }
.cm-highlights-content strong { font-weight: 700; }
.cm-highlights-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 8px 0;
}

/* Empty highlights placeholder */
.cm-highlights-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 180px;
  text-align: center;
  color: var(--cm-text-muted);
  gap: 10px;
}
.cm-highlights-empty-icon {
  width: 56px; height: 56px;
  background: #e8f0fb;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.cm-highlights-empty p { font-size: 13px; margin: 0; }


/* ════════════════════════════════════════════════════════════════════════════
   CONTACT INFO BLOCK
   ════════════════════════════════════════════════════════════════════════════ */

.cm-contact-block {
  background: #fff;
  border: 1px solid #e6edf8;
  border-radius: 22px;
  box-shadow: var(--cm-shadow);
  overflow: hidden;
  margin-bottom: 32px;
}

.cm-contact-block-header {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cm-contact-block-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.cm-contact-block-header p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
}
.cm-contact-block-header-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.18);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.cm-contact-block-body {
  padding: 28px 32px;
}

.cm-contact-content {
  font-family: var(--cm-font);
  font-size: 14px;
  line-height: 1.75;
  color: var(--cm-text);
}
.cm-contact-content h1,
.cm-contact-content h2,
.cm-contact-content h3,
.cm-contact-content h4 {
  font-family: var(--cm-font);
  color: #0f766e;
  margin: 0 0 10px;
  font-weight: 700;
}
.cm-contact-content h3 { font-size: 15px; }
.cm-contact-content p { margin: 0 0 10px; }
.cm-contact-content a {
  color: #0d9488;
  text-decoration: underline;
  font-weight: 500;
}
.cm-contact-content a:hover { color: #0f766e; }
.cm-contact-content ul,
.cm-contact-content ol { padding-left: 18px; margin: 0 0 12px; }
.cm-contact-content li { margin-bottom: 5px; }
.cm-contact-content strong { font-weight: 700; }
.cm-contact-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 8px 0;
}

/* ── Contact-info divider pill ────────────────────────────────────────────── */
.cm-contact-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.cm-contact-divider::before,
.cm-contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5eefa;
}
.cm-contact-divider span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cm-text-muted);
  white-space: nowrap;
}


/* ════════════════════════════════════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════════════════════════════════════ */

.cm-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 20, 0.92);
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
  animation: cm-lb-fadein .22s ease;
}
.cm-lightbox-overlay.cm-lb-open { display: flex; }

@keyframes cm-lb-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.cm-lightbox-inner {
  position: relative;
  max-width: 880px;
  width: 100%;
  cursor: default;
  animation: cm-lb-scalein .25s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes cm-lb-scalein {
  from { transform: scale(.88); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.cm-lightbox-img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  display: block;
}

.cm-lightbox-caption {
  text-align: center;
  margin-top: 14px;
  font-family: var(--cm-font);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: .01em;
}

.cm-lightbox-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, transform .18s;
  line-height: 1;
  backdrop-filter: blur(6px);
}
.cm-lightbox-close:hover {
  background: rgba(255,255,255,0.28);
  transform: scale(1.1) rotate(90deg);
}

/* Prev/next arrows */
.cm-lb-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.cm-lb-arrow:hover { background: rgba(255,255,255,0.25); }
.cm-lb-arrow-prev { left: -56px; }
.cm-lb-arrow-next { right: -56px; }

.cm-lb-counter {
  position: absolute;
  bottom: -36px;
  left: 50%; transform: translateX(-50%);
  font-family: var(--cm-font);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  white-space: nowrap;
}


/* ════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .cm-main-block-body { grid-template-columns: 1fr; }
  .cm-photos-col { border-right: none; border-bottom: 1px solid #eaf0fb; padding: 24px; }
  .cm-highlights-col { padding: 24px; }
}

@media (max-width: 768px) {
  .cm-form-wrap { padding: 22px 18px 20px; margin: 14px; border-radius: 16px; }
  .cm-main-block-header { padding: 18px 20px; }
  .cm-main-block-header h2 { font-size: 17px; }
  .cm-contact-block-header { padding: 16px 20px; }
  .cm-contact-block-body { padding: 20px; }
  .cm-winner-gallery { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
  .cm-winner-card img { height: 100px; }

  .cm-email-row,
  .cm-otp-row { flex-direction: column; gap: 10px; }
  #cm-email { border-radius: var(--cm-radius); }
  #cm-send-otp-btn { border-radius: var(--cm-radius); border-left: 1.5px solid #c4d3f0; }
  #cm-otp { max-width: 100%; }

  .cm-lb-arrow-prev { left: -8px; }
  .cm-lb-arrow-next { right: -8px; }
  .cm-lightbox-inner { padding: 0 32px; }
}

@media (max-width: 480px) {
  .cm-winner-gallery { grid-template-columns: repeat(2, 1fr); }
  .cm-contact-block-body { padding: 16px; }
  .cm-campaign-section { padding: 0 10px 40px; }
}


.cm-disabled {
    background: var(--cm-bg);
    border: 1.5px dashed var(--cm-border);
    padding: 20px;
    border-radius: var(--cm-radius);
    text-align: center;
    color: var(--cm-text-muted);
}
