/* ─── Newsletter (React Exact Parity) ────────────────────────────────────── */
.ycc-newsletter-section {
  position:      relative;
  padding:       32px 0;
  overflow:      hidden;
  background:    linear-gradient(135deg, #eff6ff, #eef2ff, #eff6ff);
  border-top:    1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
  transition:    background 0.3s ease, border-color 0.3s ease;
}
html.dark .ycc-newsletter-section {
  background:    linear-gradient(135deg, #000000, #020617, #000000) !important;
  border-top:    1px solid rgba(30, 41, 59, 0.5) !important;
  border-bottom: 1px solid rgba(30, 41, 59, 0.5) !important;
}
.ycc-newsletter-pattern {
  position:         absolute;
  inset:            0;
  opacity:          0.05;
  background-image: radial-gradient(circle at 2px 2px, currentColor 1px, transparent 0);
  background-size:  32px 32px;
  pointer-events:   none;
}
.ycc-newsletter-container {
  max-width: 1024px;
  margin:    0 auto;
  padding:   0 16px;
  position:  relative;
  z-index:   10;
}
.ycc-newsletter-card {
  background:              rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter:         blur(24px);
  border-radius:           16px;
  border:                  1px solid #dbeafe;
  padding:                 20px;
  box-shadow:              0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}
html.dark .ycc-newsletter-card {
  background:   rgba(30, 41, 59, 0.6) !important;
  border-color: rgba(51, 65, 85, 0.3) !important;
  box-shadow:   0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}
.ycc-newsletter-inner {
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: space-between;
  gap:             16px;
}
@media (min-width: 768px) {
  .ycc-newsletter-inner {
    flex-direction: row;
  }
}
.ycc-newsletter-content-left {
  display:     flex;
  align-items: center;
  gap:         16px;
  text-align:  left;
  width:       100%;
}
@media (min-width: 768px) {
  .ycc-newsletter-content-left { width: auto; }
}
.ycc-newsletter-icon-wrap {
  display:         none;
  align-items:     center;
  justify-content: center;
  width:           48px;
  height:          48px;
  border-radius:   12px;
  background:      linear-gradient(135deg, #3b82f6, #4f46e5);
  box-shadow:      0 10px 15px -3px rgba(59, 130, 246, 0.3);
  flex-shrink:     0;
}
@media (min-width: 640px) {
  .ycc-newsletter-icon-wrap { display: flex; }
}
.ycc-newsletter-heading {
  font-size:      18px;
  font-weight:    700;
  color:          var(--ycc-slate-900);
  letter-spacing: -0.025em;
  margin:         0 0 2px;
  line-height:    1.2;
}
html.dark .ycc-newsletter-heading {
  color: #ffffff !important;
}
.ycc-newsletter-subheading {
  font-size:   12px;
  color:       var(--ycc-slate-500);
  line-height: 1.5;
  margin:      0;
}
html.dark .ycc-newsletter-subheading {
  color: var(--ycc-slate-400) !important;
}
.ycc-newsletter-form-wrap {
  width: 100%;
}
@media (min-width: 768px) {
  .ycc-newsletter-form-wrap { width: auto; }
}
.ycc-newsletter-form {
  width: 100%;
}
.ycc-newsletter-input-row {
  display:   flex;
  gap:       8px;
  width:     100%;
  flex-wrap: nowrap;
}
.ycc-newsletter-input-wrap {
  position: relative;
  flex:     1;
}
@media (min-width: 768px) {
  .ycc-newsletter-input-wrap { width: 288px; }
}
.ycc-newsletter-input-icon {
  position:       absolute;
  left:           14px;
  top:            50%;
  transform:      translateY(-50%);
  color:          var(--ycc-slate-500);
  pointer-events: none;
}
.ycc-newsletter-input {
  width:         100%;
  height:        42px;
  padding:       0 14px 0 42px !important;
  border-radius: 12px;
  background:    var(--ycc-slate-100);
  border:        1px solid var(--ycc-slate-200);
  color:         var(--ycc-slate-900);
  font-size:     14px;
  outline:       none;
  transition:    all 0.2s ease;
  box-sizing:    border-box;
}
.ycc-newsletter-input::placeholder {
  color: var(--ycc-slate-400);
}
.ycc-newsletter-input:focus {
  background:   #ffffff;
  border-color: #60a5fa;
  box-shadow:   0 0 0 3px rgba(37, 99, 235, 0.15);
}
html.dark .ycc-newsletter-input {
  background:   rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color:        #ffffff !important;
}
html.dark .ycc-newsletter-input::placeholder {
  color: var(--ycc-slate-500) !important;
}
html.dark .ycc-newsletter-input:focus {
  background:   rgba(255, 255, 255, 0.15) !important;
  border-color: #60a5fa !important;
  box-shadow:   0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}
.ycc-newsletter-btn {
  height:          42px;
  padding:         0 20px;
  background:      linear-gradient(to right, #2563eb, #4f46e5) !important;
  color:           #ffffff !important;
  font-family:     var(--ycc-font) !important;
  font-weight:     600 !important;
  font-size:       14px !important;
  border-radius:   12px !important;
  border:          none !important;
  cursor:          pointer;
  white-space:     nowrap;
  display:         inline-flex !important;
  align-items:     center !important;
  justify-content: center !important;
  gap:             8px !important;
  box-shadow:      0 10px 15px -3px rgba(37, 99, 235, 0.25);
  transition:      all 0.2s ease;
}
.ycc-newsletter-btn:hover {
  background: linear-gradient(to right, #1d4ed8, #4338ca) !important;
  color:      #ffffff !important;
  transform:  translateY(-1px);
  box-shadow: 0 12px 20px -3px rgba(37, 99, 235, 0.35);
}
.ycc-newsletter-btn svg {
  stroke: #ffffff !important;
  color:  #ffffff !important;
}
.ycc-newsletter-msg {
  font-size:   12px;
  margin:      6px 0 0;
  text-align:  left;
}
.ycc-newsletter-privacy { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 12px; }
