/* Dew Arabia page (dew-arabia/index.njk). Owner, 17 Nov 2026: layout B with every edition beside the latest
   (mockup "idea 2"). Article cards and lists come from author-page.css (.ap-card, .ap-list). */

.dw .listing-page__subtitle { max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* Section headings: the homepage tab style */
.dw-sec { margin-top: 72px; scroll-margin-top: 90px; }
.dw-tabs { border-bottom: 0.8px solid rgb(156, 156, 156); margin: 0 0 8px; }
.dw-h { display: inline-block; margin: 0 0 -1px; padding: 12px 0; border-bottom: 2px solid rgb(40, 40, 40); font-family: var(--tmme-font-body); font-size: 14.4px; font-weight: 700; line-height: 1.6; color: rgb(94, 94, 94); text-transform: uppercase; }
.dw .ap-cards { padding-top: 24px; }
.dw .ap-list { padding-top: 6px; }
.dw-by { display: block; margin-top: 6px; font-size: 13px; color: var(--tmme-ink-muted, #6b6b6b); }

/* The magazine covers carry their own soft shadow */
.dw-cover { display: block; width: 100%; height: auto; }
.dw-ed { display: block; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--tmme-ink-muted, #6b6b6b); }

/* Latest edition, with every edition in a column beside it */
.dw-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; background: var(--color-cream, rgb(242, 241, 239)); }
.dw-hero { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px; }
.dw-kicker { margin: 0 0 8px; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--tmme-ink-muted, #6b6b6b); }
.dw-theme { margin: 0 0 16px; font-family: var(--tmme-font-display); font-size: 38px; font-weight: 400; line-height: 1.1; }
.dw-text { margin: 0 0 28px; max-width: 520px; font-size: 16px; font-weight: 300; line-height: 1.65; color: rgb(70, 70, 70); }
.dw-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.dw-btn { display: inline-block; padding: 12px 26px; border: 0.8px solid #1a1a1a; background: #1a1a1a; color: #fff; font: 400 12px/1 var(--tmme-font-body); letter-spacing: .6px; text-transform: uppercase; text-decoration: none; transition: background .15s ease; }
.dw-btn:hover { background: #333; }
.dw-btn--line { background: transparent; color: #1a1a1a; border-color: rgb(156, 156, 156); }
.dw-btn--line:hover { background: rgb(245, 245, 245); }
.dw-btn:active { transform: translateY(1px); }

.dw-rail { padding: 40px 32px; border-left: 1px solid rgba(26, 26, 26, .1); }
.dw-rail__h { margin: 0 0 18px; font-family: var(--tmme-font-body); font-size: 12px; font-weight: 400; letter-spacing: .6px; text-transform: uppercase; color: var(--tmme-ink-muted, #6b6b6b); }
.dw-rail ol { display: grid; gap: 18px; }
.dw-rail li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: center; }
.dw-rail__theme { display: block; margin: 1px 0 3px; font-family: var(--tmme-font-display); font-size: 19px; line-height: 1.2; color: #1a1a1a; text-decoration: none; }
.dw-rail__theme:hover { text-decoration: underline; text-underline-offset: 3px; }
.dw-rail__read, .dw-read a { font-size: 12px; color: #1a1a1a; text-underline-offset: 3px; }

/* Earlier editions: cover, theme and the list of articles */
.dw-earlier { display: grid; gap: 56px; padding-top: 32px; }
.dw-ed-block { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; align-items: start; scroll-margin-top: 90px; }
.dw-ed-block h3 { margin: 2px 0 4px; font-family: var(--tmme-font-display); font-size: 28px; font-weight: 400; line-height: 1.2; }
.dw-read { margin: 0 0 8px; }
.dw-ed-block .ap-date { margin-top: 2px; }

@media (max-width: 1023px) {
  .dw-split { grid-template-columns: 1fr; }
  .dw-rail { border-left: 0; border-top: 1px solid rgba(26, 26, 26, .1); }
  .dw-rail ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .dw-hero { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
  .dw-hero .dw-cover { max-width: 200px; }
  .dw-theme { font-size: 34px; }
  .dw-rail { padding: 24px 20px; }
  .dw-rail ol { grid-template-columns: 1fr; }
  .dw-ed-block { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; }
  .dw-ed-block h3 { font-size: 22px; }
  .dw-ed-block .ap-list { grid-column: 1 / -1; }
}
