/* ═══════════════════════════════════════════════════
   DPI — Dubai Podcast Insider
   Editorial theme stylesheet
   ═══════════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────────── */

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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  color: #111111;
  background: #fdfcf9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: #0D7377;
}

/* ── Utility ────────────────────────────────────── */

.dpi-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.dpi-mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #888;
}

.dpi-sans {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.dpi-meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}

.dpi-tag {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0D7377;
}

.dpi-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0D7377;
  transition: gap 0.2s;
}

.dpi-cta:hover {
  gap: 12px;
  color: #095a5e;
}

.dpi-cta::after {
  content: "→";
  font-size: 16px;
}

/* ── Header ─────────────────────────────────────── */

.dpi-topline {
  background: #111111;
  color: #fdfcf9;
  padding: 8px 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.dpi-header {
  border-bottom: 1px solid #e8e5df;
  background: #fdfcf9;
  position: sticky;
  top: 0;
  z-index: 100;
}

.dpi-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dpi-logo {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111111;
  line-height: 1.2;
}

.dpi-logo:hover {
  color: #0D7377;
}

.dpi-logo-sub {
  display: block;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
  margin-top: 2px;
}

/* ── Nav ────────────────────────────────────────── */

.dpi-nav {
  border-bottom: 1px solid #e8e5df;
  background: #fdfcf9;
}

.dpi-nav-list {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dpi-nav-item {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #555;
  padding: 14px 20px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.dpi-nav-item:hover,
.dpi-nav-item.active {
  color: #0D7377;
  border-bottom-color: #0D7377;
}

/* ── Mobile Header ──────────────────────────────── */

.dpi-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dpi-header-cta {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  background: #0D7377;
  color: #fdfcf9;
  border-radius: 4px;
  transition: background 0.2s;
}

.dpi-header-cta:hover {
  background: #095a5e;
  color: #fdfcf9;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  margin: 0 auto;
  position: relative;
  transition: background 0.2s;
}

.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  position: absolute;
  left: 0;
  transition: transform 0.3s;
}

.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

/* ── Mobile Menu ────────────────────────────────── */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fdfcf9;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  overflow-y: auto;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e8e5df;
}

.mobile-menu-logo {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #111;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  color: #111;
  line-height: 1;
}

.mobile-menu-nav {
  padding: 24px;
  list-style: none;
}

.mobile-menu-item {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid #e8e5df;
  color: #111;
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

.mobile-menu-item a {
  display: block;
  color: inherit;
}

.mobile-menu-cta-wrap {
  padding: 16px 24px 40px;
}

.mobile-menu-cta {
  display: block;
  text-align: center;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 24px;
  background: #0D7377;
  color: #fdfcf9;
  border-radius: 4px;
}

/* ── Hero ───────────────────────────────────────── */

.dpi-hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid #e8e5df;
}

.dpi-hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dpi-hero-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e8e5df;
}

.dpi-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dpi-hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dpi-hero-tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0D7377;
}

.dpi-hero-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111;
}

.dpi-hero-title a {
  color: inherit;
}

.dpi-hero-title a:hover {
  color: #0D7377;
}

.dpi-hero-excerpt {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  color: #555;
}

.dpi-hero-meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #aaa;
  display: flex;
  gap: 12px;
  align-items: center;
}

.dpi-hero-meta .dot {
  width: 3px;
  height: 3px;
  background: #ccc;
  border-radius: 50%;
}

/* ── Editor's Picks ─────────────────────────────── */

.dpi-picks {
  padding: 32px 0;
  border-bottom: 1px solid #e8e5df;
}

.dpi-picks-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dpi-picks-label {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
}

.dpi-picks-rail {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.dpi-pick-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}

.dpi-pick-num {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  font-weight: 300;
  color: #ddd;
  line-height: 1;
}

.dpi-pick-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dpi-pick-tag {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0D7377;
}

.dpi-pick-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
}

.dpi-pick-title a {
  color: inherit;
}

.dpi-pick-title a:hover {
  color: #0D7377;
}

.dpi-pick-date {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #aaa;
}

/* ── Recent Articles ────────────────────────────── */

.dpi-recent {
  padding: 48px 0;
  border-bottom: 1px solid #e8e5df;
}

.dpi-recent-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.dpi-recent-title {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
}

.dpi-recent-list {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.dpi-recent-item {
  display: grid;
  grid-template-columns: 48px 160px 1fr 120px;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eeece7;
  transition: background 0.2s;
}

.dpi-recent-item:last-child {
  border-bottom: none;
}

.dpi-recent-item:hover {
  background: #f8f6f2;
  margin: 0 -24px;
  padding: 20px 24px;
}

.dpi-recent-number {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  font-weight: 300;
  color: #ddd;
}

.dpi-recent-cat {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0D7377;
}

.dpi-recent-title-link {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #111;
}

.dpi-recent-title-link a {
  color: inherit;
}

.dpi-recent-title-link a:hover {
  color: #0D7377;
}

.dpi-recent-date {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #aaa;
  text-align: right;
}

/* ── Topics ─────────────────────────────────────── */

.dpi-topics {
  padding: 48px 0;
  border-bottom: 1px solid #e8e5df;
}

.dpi-topics-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.dpi-topics-title {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
}

.dpi-topics-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.dpi-topic-card {
  padding: 24px;
  background: #f8f6f2;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dpi-topic-card:hover {
  background: #0D7377;
  transform: translateY(-2px);
}

.dpi-topic-card:hover .dpi-topic-name,
.dpi-topic-card:hover .dpi-topic-count {
  color: #fdfcf9;
}

.dpi-topic-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.dpi-topic-name {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.dpi-topic-count {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #888;
}

/* ── Newsletter ─────────────────────────────────── */

.dpi-newsletter {
  padding: 64px 0;
  background: #111111;
  color: #fdfcf9;
}

.dpi-newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.dpi-newsletter-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0D7377;
  margin-bottom: 12px;
}

.dpi-newsletter-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.dpi-newsletter-desc {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: #bbb;
  margin-bottom: 24px;
}

.dpi-newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.dpi-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  border: 1px solid #333;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fdfcf9;
  outline: none;
  transition: border-color 0.2s;
}

.dpi-newsletter-input:focus {
  border-color: #0D7377;
}

.dpi-newsletter-input::placeholder {
  color: #666;
}

.dpi-newsletter-btn {
  padding: 12px 24px;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #0D7377;
  color: #fdfcf9;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.dpi-newsletter-btn:hover {
  background: #095a5e;
}

/* ── Footer ─────────────────────────────────────── */

.dpi-footer {
  background: #f8f6f2;
  padding: 64px 0 0;
  border-top: 1px solid #e8e5df;
}

.dpi-footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.dpi-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dpi-footer-logo {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #111;
}

.dpi-footer-desc {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

.dpi-footer-col-title {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 16px;
}

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

.dpi-footer-link {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  color: #555;
  transition: color 0.2s;
}

.dpi-footer-link:hover {
  color: #0D7377;
}

.dpi-footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid #e8e5df;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dpi-footer-copy {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  color: #888;
}

.dpi-footer-main-link {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #0D7377;
}

.dpi-footer-main-link:hover {
  color: #095a5e;
}

/* ── Single Article ─────────────────────────────── */

.dpi-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.dpi-article-header {
  margin-bottom: 32px;
}

.dpi-article-tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0D7377;
  display: inline-block;
  margin-bottom: 12px;
}

.dpi-article-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 16px;
}

.dpi-article-meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.dpi-article-hero {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.dpi-article-hero img {
  width: 100%;
  height: auto;
}

.dpi-article-credit {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 12px;
  color: #aaa;
  padding: 4px 0;
}

.dpi-article-body {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  line-height: 1.8;
  color: #222;
}

.dpi-article-body h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 40px 0 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.dpi-article-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  line-height: 1.4;
}

.dpi-article-body p {
  margin-bottom: 20px;
}

.dpi-article-body a {
  color: #0D7377;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dpi-article-body a:hover {
  color: #095a5e;
}

.dpi-article-body ul,
.dpi-article-body ol {
  margin: 0 0 20px 24px;
}

.dpi-article-body li {
  margin-bottom: 8px;
}

.dpi-article-body blockquote {
  border-left: 3px solid #0D7377;
  padding: 16px 24px;
  margin: 32px 0;
  background: #f8f6f2;
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: #444;
}

.dpi-article-body blockquote p:last-child {
  margin-bottom: 0;
}

.dpi-article-body strong {
  font-weight: 600;
}

.dpi-article-body em {
  font-style: italic;
}

.dpi-article-body hr {
  border: none;
  border-top: 1px solid #e8e5df;
  margin: 40px 0;
}

.dpi-article-body img {
  border-radius: 6px;
  margin: 32px 0;
  width: 100%;
}

/* ── Related Posts ──────────────────────────────── */

.dpi-related {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  border-top: 1px solid #e8e5df;
}

.dpi-related-title {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 24px;
}

.dpi-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.dpi-related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dpi-related-card-tag {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0D7377;
}

.dpi-related-card-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
}

.dpi-related-card-title a {
  color: inherit;
}

.dpi-related-card-title a:hover {
  color: #0D7377;
}

.dpi-related-card-date {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #aaa;
}

/* ── Category page ──────────────────────────────── */

.dpi-category-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.dpi-category-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.dpi-category-desc {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  color: #555;
  line-height: 1.7;
}

.dpi-category-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.dpi-category-item {
  padding: 20px 0;
  border-bottom: 1px solid #eeece7;
}

.dpi-category-item:last-child {
  border-bottom: none;
}

.dpi-category-item-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.dpi-category-item-title a {
  color: #111;
}

.dpi-category-item-title a:hover {
  color: #0D7377;
}

.dpi-category-item-meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #aaa;
}

/* ── Tag page ───────────────────────────────────── */

.dpi-tag-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.dpi-tag-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

/* ── Responsive ─────────────────────────────────── */

@media (max-width: 1024px) {
  .dpi-hero-grid {
    gap: 32px;
  }

  .dpi-hero-title {
    font-size: 30px;
  }

  .dpi-topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dpi-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .dpi-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .dpi-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dpi-hero-image {
    aspect-ratio: 16/9;
  }

  .dpi-picks-rail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dpi-recent-item {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }

  .dpi-recent-cat {
    display: none;
  }

  .dpi-recent-date {
    display: none;
  }

  .dpi-article-title {
    font-size: 28px;
  }

  .dpi-article-body {
    font-size: 17px;
  }

  .dpi-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dpi-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .dpi-header-cta {
    display: none;
  }

  .dpi-nav {
    display: none;
  }

  .dpi-topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dpi-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .dpi-container {
    padding: 0 16px;
  }

  .dpi-hero-title {
    font-size: 26px;
  }

  .dpi-topics-grid {
    grid-template-columns: 1fr;
  }

  .dpi-newsletter-form {
    flex-direction: column;
  }

  .dpi-article {
    padding: 32px 16px 48px;
  }
}
