/* ========================================================
   PLYNEWS INDIA — YOURSTORY EDITORIAL THEME & LAYOUT
   Pixel-faithful layout inspired by https://yourstory.com/
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Outfit:wght@600;700;800;900&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap');

:root {
  /* YourStory Signature Brand Colors */
  --ys-red: #ED1C24;
  --ys-red-dark: #cc1219;
  --ys-black: #000000;
  --ys-text-main: #000000;
  --ys-text-body: #222222;
  --ys-text-muted: #666666;
  --ys-border: #BEBEBE;
  --ys-border-light: #E5E5E5;
  --ys-border-dark: #000000;
  --ys-bg: #FFFFFF;
  --ys-bg-subtle: #F7F7F7;
  --ys-bg-dark: #121212;
  --ys-green: #5EC25F;
  --ys-orange: #FF6B4A;

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;

  --max-width: 1280px;
}

[data-theme="dark"] {
  --ys-bg: #0D0F12;
  --ys-bg-subtle: #171A21;
  --ys-black: #FFFFFF;
  --ys-text-main: #FFFFFF;
  --ys-text-body: #D1D5DB;
  --ys-text-muted: #9CA3AF;
  --ys-border: #2D333F;
  --ys-border-light: #1F2430;
  --ys-border-dark: #FFFFFF;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  background-color: var(--ys-bg);
  color: var(--ys-text-body);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--ys-red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ========================================================
   YOURSTORY HEADER
   ======================================================== */
.ys-top-strip {
  background: #fdfdfd;
  border-bottom: 1px solid var(--ys-border-light);
  font-size: 12px;
  font-weight: 600;
  color: #555;
  padding-block: 5px;
}

[data-theme="dark"] .ys-top-strip {
  background: #11141a;
  color: #aaa;
}

.ys-top-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ys-top-strip a:hover {
  color: var(--ys-red);
}

.ys-header {
  background: var(--ys-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease;
}

/* Main Masthead Row */
.ys-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

/* Left: Hamburger Menu Icon */
.ys-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ys-text-main);
  padding: 8px 0;
}

.ys-hamburger {
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ys-hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--ys-black);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

/* Center: Big Bold Logo */
.ys-logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.ys-logo-link {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
}

.ys-logo-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ys-text-main);
  line-height: 1;
}

.ys-logo-dot {
  color: var(--ys-red);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.ys-logo-sub {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--ys-text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Right: Search, Theme Toggle, Login/Subscribe */
.ys-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ys-search-btn, .ys-theme-btn, .ys-bookmark-btn {
  font-size: 18px;
  color: var(--ys-text-main);
  padding: 6px;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, color 0.15s ease;
  position: relative;
}

.ys-search-btn:hover, .ys-theme-btn:hover, .ys-bookmark-btn:hover {
  color: var(--ys-red);
  transform: scale(1.1);
}

.ys-bookmark-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--ys-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.ys-btn-login {
  border: 1px solid var(--ys-black);
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ys-text-main);
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.ys-btn-login:hover {
  background: var(--ys-black);
  color: var(--ys-bg);
}

/* Horizontal Subnav (YourStory Nav Links) */
.ys-subnav {
  border-top: 1px solid var(--ys-border);
  border-bottom: 1px solid var(--ys-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.ys-subnav::-webkit-scrollbar {
  display: none;
}

.ys-subnav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  padding-block: 11px;
  white-space: nowrap;
}

.ys-subnav-item a {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ys-text-main);
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ys-subnav-item a:hover, .ys-subnav-item a.active {
  color: var(--ys-red);
}

.ys-subnav-item a.active {
  font-weight: 800;
}

/* Live Market Rates Barometer */
.ys-ticker-bar {
  background: #f7f7f7;
  border-bottom: 1px solid var(--ys-border-light);
  padding-block: 7px;
  font-size: 12.5px;
}

[data-theme="dark"] .ys-ticker-bar {
  background: #141821;
}

.ys-ticker-track {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ys-ticker-track::-webkit-scrollbar {
  display: none;
}

.ys-ticker-label {
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ys-red);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ys-ticker-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ys-red);
  animation: pulse 1.5s infinite;
}

.ys-rate-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-weight: 500;
  color: var(--ys-text-main);
}

.ys-rate-item strong {
  font-weight: 700;
}

.ys-rate-item .up { color: #16a34a; font-weight: 700; }
.ys-rate-item .down { color: #dc2626; font-weight: 700; }
.ys-rate-item .flat { color: #6b7280; font-weight: 700; }

/* ========================================================
   SECTION 1: TOP PICKS (YourStory Top Row)
   ======================================================== */
.ys-top-picks-section {
  padding-block: 28px 24px;
  border-bottom: 1px solid var(--ys-border-light);
}

.ys-top-picks-wrap {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.ys-top-picks-brand {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ys-top-picks-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--ys-text-main);
  letter-spacing: -0.03em;
}

.ys-top-picks-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--ys-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ys-top-picks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  flex: 1;
}

.ys-top-pick-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}

.ys-top-pick-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.ys-top-pick-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ys-top-pick-card:hover .ys-top-pick-img-wrap img {
  transform: scale(1.05);
}

.ys-top-pick-card:hover h4 {
  text-decoration: underline;
  color: var(--ys-red);
}

.ys-top-pick-card h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ys-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: clip;
}

/* ========================================================
   SECTION 2: MAIN HERO (YourStory 65/35 Split)
   ======================================================== */
.ys-hero-section {
  padding-block: 36px;
  border-bottom: 1px solid var(--ys-border-light);
}

.ys-hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 48px;
}

/* Left: Big Hero Story */
.ys-main-hero {
  display: flex;
  flex-direction: column;
}

.ys-main-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.ys-main-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ys-main-hero:hover .ys-main-hero-media img {
  transform: scale(1.03);
}

/* Category Badge with Little Square */
.ys-cat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  cursor: pointer;
}

.ys-cat-dot {
  width: 8px;
  height: 8px;
  background: var(--ys-black);
  transition: background 0.2s ease;
}

.ys-cat-row:hover .ys-cat-dot, .ys-main-hero:hover .ys-cat-dot {
  background: var(--ys-red);
}

.ys-cat-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ys-text-main);
  text-transform: capitalize;
  letter-spacing: -0.01em;
}

.ys-cat-row:hover .ys-cat-name {
  text-decoration: underline;
}

.ys-main-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ys-text-main);
  margin-block: 10px 12px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: clip;
  transition: color 0.15s ease;
}

.ys-main-hero:hover .ys-main-hero-title {
  text-decoration: underline;
  color: var(--ys-red);
}

.ys-main-hero-dek {
  font-size: 17px;
  color: var(--ys-text-body);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: clip;
}

.ys-author-line {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ys-text-main);
}

/* Right: Dedicated Showcase Column (The CapTable style) */
.ys-side-column {
  display: flex;
  flex-direction: column;
}

.ys-side-col-header {
  margin-bottom: 24px;
}

.ys-side-col-title {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: var(--ys-text-main);
  padding-bottom: 8px;
  border-bottom: 8px solid var(--ys-green);
  letter-spacing: -0.02em;
}

.ys-side-cards-list {
  display: flex;
  flex-direction: column;
}

/* Compact side card: Title on left, Square image on right! */
.ys-side-card {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--ys-border-light);
  cursor: pointer;
}

.ys-side-card:first-child {
  padding-top: 0;
}

.ys-side-card:last-child {
  border-bottom: none;
}

.ys-side-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ys-side-card-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ys-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: clip;
}

.ys-side-card:hover .ys-side-card-title {
  text-decoration: underline;
  color: var(--ys-red);
}

.ys-side-card-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--ys-text-muted);
  margin-top: 8px;
}

.ys-side-card-thumb {
  width: 100px;
  height: 100px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

.ys-side-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ys-side-card:hover .ys-side-card-thumb img {
  transform: scale(1.08);
}

/* ========================================================
   SECTION 3: CONVERSATIONS / VIDEO SPOTLIGHT (YourStory TV)
   ======================================================== */
.ys-conversations-section {
  padding-block: 48px;
  border-bottom: 1px solid var(--ys-border-light);
}

.ys-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  color: var(--ys-text-main);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.ys-conversations-box {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
  background: var(--ys-bg-subtle);
  border: 1px solid var(--ys-border-light);
  padding: 32px;
}

.ys-conv-details {
  display: flex;
  flex-direction: column;
}

.ys-conv-title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ys-text-main);
  margin-block: 12px 14px;
}

.ys-conv-desc {
  font-size: 16px;
  color: var(--ys-text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.ys-btn-highlights {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ys-orange);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.ys-btn-highlights:hover {
  color: var(--ys-red);
}

.ys-conv-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.ys-conv-video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ys-video-play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease;
}

.ys-video-play-btn span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ys-red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 6px 20px rgba(237, 28, 36, 0.5);
  transition: transform 0.2s ease;
}

.ys-conv-video-frame:hover .ys-video-play-btn span {
  transform: scale(1.15);
}

/* ========================================================
   SECTION 4: FEATURED SERIES (YourStory Square Cards)
   ======================================================== */
.ys-series-section {
  padding-block: 48px;
  border-bottom: 1px solid var(--ys-border-light);
}

.ys-series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ys-series-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.ys-series-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

.ys-series-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ys-series-card:hover .ys-series-img-wrap img {
  transform: scale(1.05);
}

.ys-series-card:hover h3 {
  text-decoration: underline;
  color: var(--ys-red);
}

.ys-series-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ys-text-main);
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: clip;
}

/* ========================================================
   SECTION 5: JUST IN / EDITORIAL FEED & SIDEBAR
   ======================================================== */
.ys-feed-section {
  padding-block: 48px;
}

.ys-feed-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.ys-feed-list {
  display: flex;
  flex-direction: column;
}

.ys-feed-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding-block: 24px;
  border-bottom: 1px solid var(--ys-border-light);
  cursor: pointer;
}

.ys-feed-item:first-child {
  padding-top: 0;
}

.ys-feed-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.ys-feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ys-feed-item:hover .ys-feed-thumb img {
  transform: scale(1.06);
}

.ys-feed-item:hover h3 {
  text-decoration: underline;
  color: var(--ys-red);
}

.ys-feed-body {
  display: flex;
  flex-direction: column;
}

.ys-feed-body h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ys-text-main);
  margin-block: 6px 8px;
}

.ys-feed-dek {
  font-size: 15px;
  color: var(--ys-text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: clip;
}

.ys-feed-meta {
  font-size: 13px;
  color: var(--ys-text-muted);
  font-weight: 600;
  margin-top: auto;
}

/* Sidebar Widgets (YourStory Style) */
.ys-widget {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ys-border-light);
}

.ys-widget:last-child {
  border-bottom: none;
}

.ys-widget-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--ys-text-main);
  padding-bottom: 8px;
  border-bottom: 4px solid var(--ys-red);
  display: inline-block;
  margin-bottom: 18px;
}

.ys-trending-numbered {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.ys-trending-numbered li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px dashed var(--ys-border-light);
}

.ys-trending-numbered li:last-child {
  border-bottom: none;
}

.ys-trending-digit {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: #BEBEBE;
  line-height: 1;
}

.ys-trending-numbered li:hover .ys-trending-digit {
  color: var(--ys-red);
}

.ys-trending-numbered li:hover a {
  text-decoration: underline;
  color: var(--ys-red);
}

.ys-trending-numbered a {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ys-text-main);
}

.ys-commodity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ys-commodity-table td {
  padding-block: 8px;
  border-bottom: 1px solid var(--ys-border-light);
}

.ys-commodity-table td.rate {
  text-align: right;
  font-weight: 700;
}

/* ========================================================
   NEWSLETTER SUBSCRIPTION BOX
   ======================================================== */
.ys-newsletter-section {
  background: var(--ys-black);
  color: #fff;
  padding-block: 48px;
  margin-top: 20px;
}

.ys-newsletter-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
}

.ys-newsletter-box h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.ys-newsletter-box p {
  color: #aaa;
  font-size: 15px;
}

.ys-newsletter-form {
  display: flex;
  gap: 10px;
}

.ys-newsletter-form input {
  flex: 1;
  background: #222;
  border: 1px solid #444;
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
  outline: none;
}

.ys-newsletter-form input:focus {
  border-color: var(--ys-red);
}

.ys-newsletter-form button {
  background: var(--ys-red);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s ease;
}

.ys-newsletter-form button:hover {
  background: var(--ys-red-dark);
}

/* ========================================================
   FULL-SCREEN SIDEBAR DRAWER (YourStory Style)
   ======================================================== */
.ys-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ys-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.ys-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--ys-bg);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.ys-drawer-overlay.open .ys-drawer {
  transform: translateX(0);
}

.ys-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--ys-border-light);
}

.ys-drawer-close {
  font-size: 26px;
  color: var(--ys-text-main);
  padding: 4px;
}

.ys-drawer-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ys-drawer-section h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ys-red);
  margin-bottom: 12px;
}

.ys-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ys-drawer-links a {
  font-size: 18px;
  font-weight: 700;
  color: var(--ys-text-main);
  transition: color 0.15s ease;
}

.ys-drawer-links a:hover {
  color: var(--ys-red);
  padding-left: 4px;
}

/* ========================================================
   ARTICLE VIEW (YourStory Longform Style)
   ======================================================== */
.ys-article-wrap {
  max-width: 820px;
  margin-inline: auto;
  padding-block: 40px;
}

.ys-article-crumbs {
  font-size: 13px;
  font-weight: 600;
  color: var(--ys-text-muted);
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
}

.ys-article-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ys-text-main);
  margin-block: 10px 14px;
}

.ys-article-dek {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ys-text-muted);
  margin-bottom: 24px;
}

.ys-article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  border-block: 1px solid var(--ys-border-light);
  margin-bottom: 28px;
}

.ys-article-media {
  margin-bottom: 12px;
  background: #000;
}

.ys-article-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ys-article-caption {
  font-size: 13px;
  color: var(--ys-text-muted);
  text-align: center;
  margin-bottom: 32px;
  font-style: italic;
}

.ys-article-body {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.8;
  color: var(--ys-text-body);
}

.ys-article-body p {
  margin-bottom: 26px;
}

.ys-article-body p.lead-para {
  font-size: 22px;
  font-weight: 500;
  color: var(--ys-text-main);
}

.ys-article-body h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  margin: 40px 0 16px;
  color: var(--ys-text-main);
}

.ys-article-body blockquote {
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
  padding: 18px 28px;
  margin: 36px 0;
  border-left: 4px solid var(--ys-red);
  background: var(--ys-bg-subtle);
}

.ys-article-body ul {
  margin: 0 0 24px 28px;
}

.ys-article-body li {
  margin-bottom: 10px;
}

/* ========================================================
   YOURSTORY FOOTER
   ======================================================== */
.ys-footer {
  background: #000;
  color: #fff;
  padding-block: 60px 30px;
  font-size: 14px;
}

.ys-footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.ys-footer-brand h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.ys-footer-brand p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.ys-footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 18px;
}

.ys-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ys-footer-links a {
  color: #aaa;
  transition: color 0.15s ease;
}

.ys-footer-links a:hover {
  color: #fff;
}

.ys-footer-bottom {
  border-top: 1px solid #222;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: #888;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========================================================
   RESPONSIVE QUERIES
   ======================================================== */
@media (max-width: 1024px) {
  .ys-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ys-top-picks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ys-series-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ys-feed-grid {
    grid-template-columns: 1fr;
  }
  .ys-conversations-box {
    grid-template-columns: 1fr;
  }
  .ys-footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ys-top-picks-wrap {
    flex-direction: column;
  }
  .ys-top-picks-grid {
    grid-template-columns: 1fr;
  }
  .ys-series-grid {
    grid-template-columns: 1fr;
  }
  .ys-feed-item {
    grid-template-columns: 1fr;
  }
  .ys-newsletter-box {
    grid-template-columns: 1fr;
  }
  .ys-footer-cols {
    grid-template-columns: 1fr;
  }
  .ys-subnav-list {
    justify-content: flex-start;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}
