/* ============================================================
   Kidscorp — Case Study article styles only
   Base, navbar, footer and form come from _shared/
   ============================================================ */

/* ============================================================
   ARTICLE HERO
   ============================================================ */
.cs-hero {
  padding: 140px 0 56px;
  background: linear-gradient(180deg, rgba(148,20,250,0.12) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.cs-hero__inner {
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav { z-index: 1000 !important; }

.cs-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cs-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.cs-date {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.cs-hero__title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

/* ============================================================
   ARTICLE LAYOUT
   ============================================================ */
.cs-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}

.cs-figure {
  margin: 0 0 48px;
  border-radius: 16px;
  overflow: hidden;
}

.cs-figure--hero {
  margin-top: 0;
  margin-bottom: 56px;
  display: flex;
  justify-content: center;
}

.cs-figure--hero img {
  width: 50%;
  height: auto;
}

.cs-figure img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.cs-body {
  margin-bottom: 56px;
}

.cs-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  margin: 0 0 20px;
  font-weight: 400;
}

.cs-body p:last-child { margin-bottom: 0; }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.cs-section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 48px 0 20px;
  letter-spacing: -0.01em;
  padding-left: 16px;
  border-left: 3px solid #9414FA;
}

.cs-section-title:first-child { margin-top: 0; }

/* ============================================================
   BLOCKQUOTE
   ============================================================ */
.cs-quote {
  margin: 36px 0;
  padding: 28px 32px;
  background: rgba(148,20,250,0.08);
  border-left: 3px solid #9414FA;
  border-radius: 0 12px 12px 0;
}

.cs-quote p {
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.65;
}

.cs-quote footer {
  margin-top: 12px;
  font-size: 0.88rem;
  font-style: normal;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   VIDEO EMBED
   ============================================================ */
.cs-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin: 36px 0;
}

.cs-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ============================================================
   BULLETS
   ============================================================ */
.cs-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-bullets li {
  display: flex;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}

.cs-bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9414FA;
  margin-top: 10px;
}

/* ============================================================
   STATS GRID
   ============================================================ */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 36px;
}

.cs-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148,20,250,0.3);
  border-radius: 16px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.cs-stat__number {
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #9414FA, #DB1EFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.cs-stat__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* ============================================================
   INSIGHTS LIST
   ============================================================ */
.cs-insights {
  list-style: none;
  padding: 0;
  margin: 24px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-insights li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  transition: border-color 0.2s;
}

.cs-insights li:hover {
  border-color: rgba(148,20,250,0.4);
}

.cs-insights__num {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #9414FA;
  opacity: 0.6;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

/* ============================================================
   SHARE
   ============================================================ */
.cs-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.cs-share__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.cs-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  cursor: pointer;
}

.cs-share__btn:hover {
  color: #fff;
}

/* ============================================================
   PREV / NEXT PAGINATION
   ============================================================ */
.cs-pagination {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cs-pagination__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  flex: 1;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}

.cs-pagination__item:hover:not(.cs-pagination__item--disabled) {
  background: rgba(148,20,250,0.12);
  border-color: rgba(148,20,250,0.4);
}

.cs-pagination__item--disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.cs-pagination__item--next {
  justify-content: flex-end;
  text-align: right;
}

.cs-pagination__item svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.5);
}

.cs-pagination__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-pagination__dir {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.cs-pagination__name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .cs-hero { padding: 110px 0 40px; }
  .cs-hero__title { font-size: 1.8rem; }
  .cs-stats { grid-template-columns: 1fr; }
  .cs-pagination { flex-direction: column; }
  .cs-pagination__item--next { justify-content: flex-start; text-align: left; }
}

@media (max-width: 480px) {
  .cs-article { padding: 40px 16px 60px; }
  .cs-hero__inner { padding: 0 20px; }
}

/* ============================================================
   TWO-COLUMN LAYOUT (article + sidebar)
   ============================================================ */
.cs-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
  padding-top: 0;
  padding-bottom: 0;
}

.cs-article {
  min-width: 0;
  padding: 64px 0 80px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.cs-sidebar {
  padding-top: 64px;
  position: sticky;
  top: 88px;
}

.cs-more-posts__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9414FA;
  margin: 0 0 20px;
}

.cs-more-posts__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-more-posts__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-more-posts__tag {
  font-size: 11px;
  font-weight: 600;
  color: #9414FA;
}

.cs-more-posts__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.cs-more-posts__name:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .cs-layout { grid-template-columns: 1fr; }
  .cs-sidebar { position: static; padding-top: 0; }
}

@media (max-width: 768px) {
  .cs-article { padding: 40px 0 60px; }
}
