/* =========================================================
   CandyCloud — ARTICLE PAGE (Choose the Right Vapor)
   Clean, premium, readable article layout
========================================================= */

:root{
  --cc-max: 1200px;
  --cc-radius: 24px;
  --cc-radius-sm: 16px;
  --cc-radius-lg: 32px;
  --cc-border: rgba(242, 244, 255, 0.15);
  --cc-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  --cc-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);

  --cc-primary: #FF2F92;
  --cc-primary-dark: #C77DFF;
  --cc-text: #C6C9E3;
  --cc-text-light: #8B90B6;
  --cc-text-heading: #F2F4FF;
  --cc-bg: #0B0B10;
  --cc-gunmetal: #191A23;
  --cc-gunmetal-light: #1E1F2A;
  --cc-gunmetal-dark: #12121A;
  --cc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   BASE + CONTAINER
========================================================= */

.cc-articlePage{
  background: var(--cc-bg);
  color: var(--cc-text);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.cc-container{
  max-width: var(--cc-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* =========================================================
   HERO
========================================================= */

.cc-articleHero{
  position: relative;
  background: var(--cc-gunmetal-dark);
  overflow: hidden;
}

.cc-articleHero__media{
  margin: 0;
  position: relative;
}

.cc-articleHero__media::after{
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 16, 0.08) 0%, rgba(11, 11, 16, 0.22) 45%, rgba(11, 11, 16, 0.55) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 47, 146, 0.14) 0%, transparent 55%);
  pointer-events: none;
}

.cc-articleHero__media img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cc-articleHero__overlay{
  /* kept for backward compatibility with your HTML, but disabled
     because the hero text should NOT sit on the image */
  display: none;
}

.cc-articleHero__content{
  position: relative;
  padding: 26px 24px 34px;
  z-index: 1;
}

.cc-articleHero__kicker{
  display: inline-block;
  margin: 0 0 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 47, 146, 0.22);
  background: rgba(255, 47, 146, 0.10);
  color: var(--cc-primary);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.cc-articleHero__title{
  margin: 0 0 12px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 900;
  color: var(--cc-text-heading);
}

.cc-articleHero__excerpt{
  margin: 0 0 18px;
  max-width: 860px;
  line-height: 1.8;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--cc-text);
}

/* Make hero copy readable as its own block below the image */
.cc-articleHero__content{
  max-width: var(--cc-max);
  margin: 0 auto;
}

.cc-articleHero__content{
  background: linear-gradient(135deg, rgba(25, 26, 35, 0.92) 0%, rgba(30, 31, 42, 0.92) 100%);
  border: 1px solid rgba(242, 244, 255, 0.10);
  border-radius: var(--cc-radius-lg);
  box-shadow: var(--cc-shadow-soft);
  transform: translateZ(0);
}

.cc-articleHero{
  padding: 26px 0 0;
}

.cc-articleHero__media img{
  /* keep it from getting too tall on wide screens */
  max-height: 520px;
}

.cc-articleHero__media{
  /* add a little breathing room around the hero image */
  border-bottom: 1px solid rgba(242, 244, 255, 0.08);
}

.cc-articleHero__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cc-articleBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: #0B0B10;
  background: linear-gradient(135deg, var(--cc-primary) 0%, var(--cc-primary-dark) 100%);
  box-shadow: 0 12px 30px rgba(255, 47, 146, 0.18);
  transition: var(--cc-transition);
}

.cc-articleBtn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 47, 146, 0.24);
}

.cc-articleBtn--ghost{
  background: transparent;
  color: var(--cc-text-heading);
  border: 1px solid rgba(242, 244, 255, 0.14);
  box-shadow: none;
}

.cc-articleBtn--ghost:hover{
  border-color: rgba(255, 47, 146, 0.28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   BODY
========================================================= */

.cc-articleBody{
  background: var(--cc-bg);
  padding: 74px 0 90px;
}

.cc-articleSection{
  background: linear-gradient(135deg, var(--cc-gunmetal) 0%, var(--cc-gunmetal-light) 100%);
  border: 1px solid rgba(242, 244, 255, 0.10);
  border-radius: var(--cc-radius-lg);
  box-shadow: var(--cc-shadow-soft);
  padding: 40px;
  margin: 0 0 24px;
}

.cc-articleH2{
  margin: 0 0 14px;
  color: var(--cc-text-heading);
  font-weight: 900;
  line-height: 1.15;
  font-size: clamp(22px, 3vw, 34px);
}

.cc-articleH3{
  margin: 20px 0 10px;
  color: var(--cc-text-heading);
  font-weight: 900;
  font-size: 18px;
}

.cc-articleSection p{
  margin: 0 0 14px;
  color: var(--cc-text);
  line-height: 1.9;
  font-size: 16px;
}

.cc-articleSection p:last-child{
  margin-bottom: 0;
}

.cc-articleSection a{
  color: #2EF2FF;
  text-decoration: none;
  transition: var(--cc-transition);
}

.cc-articleSection a:hover{
  color: var(--cc-primary);
  text-decoration: underline;
}

.cc-articleMedia{
  margin: 20px 0 0;
  border-radius: var(--cc-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(242, 244, 255, 0.10);
  box-shadow: var(--cc-shadow-soft);
  background: rgba(11, 11, 16, 0.35);
}

.cc-articleMedia img{
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   LISTS + CHECK ICON
========================================================= */

.cc-articleList{
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cc-articleList li{
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: var(--cc-radius);
  border: 1px solid rgba(242, 244, 255, 0.10);
  background: rgba(11, 11, 16, 0.25);
}

.cc-articleCheck{
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(46, 242, 255, 0.10);
  border: 1px solid rgba(46, 242, 255, 0.18);
}

.cc-articleCheck svg{
  width: 14px;
  height: 14px;
  fill: #2EF2FF;
  display: block;
}

.cc-articleOl{
  margin: 10px 0 0;
  padding-left: 22px;
  line-height: 1.9;
  color: var(--cc-text);
}

.cc-articleOl li{
  margin: 0 0 8px;
}

/* =========================================================
   CARDS
========================================================= */

.cc-articleCards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.cc-articleCard{
  border-radius: var(--cc-radius);
  border: 1px solid rgba(242, 244, 255, 0.10);
  background: rgba(11, 11, 16, 0.25);
  padding: 18px 18px;
  transition: var(--cc-transition);
}

.cc-articleCard:hover{
  transform: translateY(-2px);
  border-color: rgba(255, 47, 146, 0.18);
}

.cc-articleCard p{
  margin: 0;
  color: var(--cc-text);
}

/* =========================================================
   CTA BOX
========================================================= */

.cc-articleCta{
  margin-top: 18px;
  border-radius: var(--cc-radius-lg);
  border: 1px solid rgba(255, 47, 146, 0.18);
  background: radial-gradient(circle at 15% 20%, rgba(255, 47, 146, 0.16) 0%, rgba(11, 11, 16, 0.35) 45%, rgba(11, 11, 16, 0.25) 100%);
  overflow: hidden;
}

.cc-articleCta__inner{
  padding: 20px;
  display: grid;
  gap: 8px;
}

.cc-articleCta__title{
  margin: 0;
  font-weight: 900;
  color: var(--cc-text-heading);
  font-size: 18px;
}

.cc-articleCta__text{
  margin: 0;
  color: var(--cc-text);
  line-height: 1.7;
}

/* =========================================================
   FAQ (details/summary)
========================================================= */

.cc-articleSection--faq{
  background: linear-gradient(135deg, var(--cc-gunmetal-dark) 0%, var(--cc-gunmetal) 100%);
}

.cc-articleFaq{
  border-radius: var(--cc-radius);
  border: 1px solid rgba(242, 244, 255, 0.10);
  background: rgba(11, 11, 16, 0.25);
  padding: 12px 14px;
  margin-top: 12px;
}

.cc-articleFaq__q{
  cursor: pointer;
  font-weight: 900;
  color: var(--cc-text-heading);
  list-style: none;
}

.cc-articleFaq__q::-webkit-details-marker{
  display: none;
}

.cc-articleFaq__a{
  margin-top: 10px;
  color: var(--cc-text);
  line-height: 1.85;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px){
  .cc-container{ padding: 0 20px; }
  .cc-articleHero__content{ padding: 46px 20px 40px; }
  .cc-articleSection{ padding: 30px; }
  .cc-articleCards{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .cc-container{ padding: 0 16px; }
  .cc-articleHero__content{ padding: 18px 16px 22px; }
  .cc-articleBody{ padding: 52px 0 70px; }
  .cc-articleSection{ padding: 22px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition-duration: 0.01ms !important; }
}


