/* Digital Futures Lab — desktop reference recreation */
:root {
  --dfl-coral: #e2595c;
  --dfl-red: #A82929;
  --dfl-title-red:#A82929;
  --dfl-text: #111111;
  --dfl-muted: #666666;
  --dfl-rule: #d9a6a6;
  --dfl-rule-light: #e7c3c3;
  --dfl-font: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* Full-bleed canvas: neutralise common Ghost theme wrappers only on this page. */
body:has(.dfl-homepage) { margin: 0; background: #fff; }
body:has(.dfl-homepage) .gh-head,
body:has(.dfl-homepage) .gh-navigation,
body:has(.dfl-homepage) .gh-foot,
body:has(.dfl-homepage) .site-footer,
body:has(.dfl-homepage) .gh-portal-triggerbtn,
body:has(.dfl-homepage) .gh-portal-triggerbtn-container,
body:has(.dfl-homepage) [data-portal="subscribe"],
body:has(.dfl-homepage) .gh-subscribe-cta,
body:has(.dfl-homepage) #ghost-portal-root { display: none !important; }
body:has(.dfl-homepage) .gh-main,
body:has(.dfl-homepage) main.site-main,
body:has(.dfl-homepage) .site-content,
body:has(.dfl-homepage) .gh-outer,
body:has(.dfl-homepage) .gh-canvas,
body:has(.dfl-homepage) .gh-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body:has(.dfl-homepage) .gh-main { display: block; }
body:has(.dfl-homepage) .gh-canvas { grid-column: 1 / -1 !important; }

.dfl-homepage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: clip;
  color: var(--dfl-text);
  background: #fff;
  font-family: var(--dfl-font);
  font-size: 16px;
  line-height: 1.45;
}
.dfl-homepage *,
.dfl-homepage *::before,
.dfl-homepage *::after { box-sizing: border-box; }
.dfl-homepage a { color: inherit; }

/* Header: no exterior frame; only the designed divider between brand and title. */
.dfl-masthead {
  display: grid;
  grid-template-columns: minmax(245px, 26.8%) minmax(0, 1fr);
  width: 100%;
  border-bottom: 1px solid var(--dfl-rule);
}
.dfl-brand-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--dfl-rule);
}
.dfl-brand {
  min-height: clamp(135px, 14.6vw, 210px);
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--dfl-rule-light);
  text-decoration: none;
}
.dfl-logo {
  display: block;
  width: min(78%, 235px);
  max-height: clamp(88px, 9.5vw, 138px);
  object-fit: contain;
}
.dfl-supporter {
  min-height: clamp(95px, 13vw, 187px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  padding: 18px clamp(20px, 3.4vw, 49px);
}
.dfl-supporter-label {
  color: #c87578;
  font-size: clamp(14px, 1.25vw, 19px);
  font-weight: 400;
  line-height: 1.2;
}
.dfl-supporter-link { display: inline-flex; align-items: center; text-decoration: none; }
.samagata-logo {
  display: block;
  width: clamp(135px, 14vw, 202px);
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}
.dfl-masthead-content {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}


.dfl-title-block {
  min-height: clamp(205px, 21.6vw, 311px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 2.2vw, 36px) clamp(24px, 2.7vw, 42px) 23px;
  border-bottom: 1px solid var(--dfl-rule-light);
}
.dfl-title-block h1 {
  max-width: 870px;
  margin: 0;
  color: var(--dfl-title-red);
  font-family: var(--dfl-font);
  font-size: clamp(35px, 3.65vw, 54px);
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1.15;
}
.dfl-subtitle {
  margin: 10px 0 0;
  color: #686868;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1.25;
}
.dfl-curator {
  min-height: clamp(58px, 6.1vw, 88px);
  display: flex;
  align-items: center;
  padding: 13px clamp(24px, 2.7vw, 42px);
  color: var(--dfl-coral);
}
.dfl-curator p {
  margin: 0;
  font-size: clamp(17px, 1.75vw, 25px);
  font-weight: 500;
  line-height: 1.35;
}

/* Introduction: deliberately borderless and full-bleed, with book left and copy right. */
.dfl-intro {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(42px, 6vw, 90px);
  min-height: clamp(590px, 66vw, 950px);
  padding: clamp(76px, 8.2vw, 118px) clamp(34px, 4.6vw, 68px) clamp(74px, 7.8vw, 112px);
  border: 0;
}
.dfl-book-wrap {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dfl-book-cover {
  display: block;
  width: min(100%, 490px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 6px rgba(0, 0, 0, .12));
}
.dfl-intro-copy {
  max-width: 730px;
  color: #111;
  font-family: var(--dfl-font);
  font-size: clamp(15px, 1.22vw, 18px);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -.01em;
  text-align: justify;
  text-wrap: pretty;
}
.dfl-intro-copy p { margin: 0 0 23px; }
.dfl-intro-copy p:last-child { margin-bottom: 0; }

/* Essay grid: fine red rules, touching cards, three columns, matching the PDF. */
.dfl-essays {
  width: 100%;
  margin: 0;
  padding: 0 clamp(20px, 2.8vw, 41px);
}
.dfl-section-heading {
  display: flex;
  align-items: center;
  min-height: clamp(66px, 6.25vw, 90px);
  padding: 15px clamp(16px, 1.25vw, 20px);
  border: 1px solid var(--dfl-rule);
  border-bottom: 0;
}
.dfl-section-heading h2 {
  margin: 0;
  color: var(--dfl-coral);
  font-size: clamp(27px, 2.25vw, 34px);
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1.2;
}
.dfl-essay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--dfl-rule);
  border-left: 1px solid var(--dfl-rule);
}
.dfl-essay-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(220px, 21.7vw, 313px);
  justify-content: space-between;
  align-items: stretch;
  gap: 14px;
  padding: clamp(23px, 2.2vw, 32px) clamp(18px, 1.35vw, 24px) clamp(20px, 1.2vw, 24px);
  border-right: 1px solid var(--dfl-rule);
  border-bottom: 1px solid var(--dfl-rule);
  background: #fff;
  color: var(--dfl-text);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.dfl-essay-card-content {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.dfl-essay-title {
  color: #111;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1.23;
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}
.dfl-essay-author {
  margin-top: auto;
  padding-top: 12px;
  color: #111;
  font-size: clamp(13px, .98vw, 15px);
  font-weight: 400;
  line-height: 1.4;
  transition: color 180ms ease;
}
.dfl-essay-arrow {
  flex: 0 0 auto;
  align-self: flex-end;
  margin: 0 0 1px 0;
  color: var(--dfl-red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 400;
  line-height: .9;
  transform: translate(0, 0);
  transition: color 180ms ease, transform 180ms ease;
}
.dfl-essay-card:hover,
.dfl-essay-card:focus-visible {
  background: var(--dfl-title-red);
  color: #fff;
}
.dfl-essay-card:hover .dfl-essay-title,
.dfl-essay-card:focus-visible .dfl-essay-title,
.dfl-essay-card:hover .dfl-essay-author,
.dfl-essay-card:focus-visible .dfl-essay-author,
.dfl-essay-card:hover .dfl-essay-arrow,
.dfl-essay-card:focus-visible .dfl-essay-arrow { color: #fff; }
.dfl-essay-card:hover .dfl-essay-arrow,
.dfl-essay-card:focus-visible .dfl-essay-arrow { transform: translate(3px, -3px); }
.dfl-essay-card:focus-visible { outline: 3px solid var(--dfl-coral); outline-offset: -4px; }
.dfl-essay-card:active { background: #A82929; }
.dfl-empty-state {
  margin: 0;
  padding: 28px 24px;
  border: 1px solid var(--dfl-rule);
  color: var(--dfl-muted);
}

.dfl-footer {
  width: 100%;
  margin-top: auto;
  padding: 22px 20px 18px;
  border-top: 1px solid var(--dfl-rule-light);
  color: #686868;
  background: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
}
.dfl-footer p { margin: 0; }
.dfl-footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #d7a5a4;
  text-underline-offset: 2px;
  transition: color 160ms ease;
}
.dfl-footer a:hover,
.dfl-footer a:focus-visible { color: var(--dfl-coral); }

@media (max-width: 900px) {
  .dfl-masthead { grid-template-columns: minmax(180px, 27%) minmax(0, 1fr); }
  .dfl-brand { min-height: 145px; padding-inline: 18px; }
  .dfl-logo { width: min(92%, 190px); max-height: 100px; }
  .dfl-supporter { min-height: 110px; padding: 15px 20px; }
  .samagata-logo { width: min(100%, 155px); }
  .dfl-title-block { min-height: 205px; padding: 22px 24px; }
  .dfl-title-block h1 { font-size: clamp(30px, 4.25vw, 40px); }
  .dfl-subtitle { font-size: clamp(18px, 2.3vw, 22px); }
  .dfl-curator { min-height: 62px; padding: 12px 24px; }
  .dfl-curator p { font-size: clamp(14px, 1.8vw, 17px); }
  .dfl-intro { min-height: auto; gap: 34px; padding: 76px 30px 82px; }
  .dfl-book-cover { width: min(100%, 360px); }
  .dfl-intro-copy { font-size: 15px; line-height: 1.4; }
  .dfl-intro-copy p { margin-bottom: 18px; }
  .dfl-essay-card { min-height: 220px; padding: 22px 18px 18px; }
  .dfl-essay-title { font-size: clamp(18px, 2.3vw, 22px); }
  .dfl-essay-author { font-size: 13px; }
}

@media (max-width: 620px) {
  .dfl-masthead { grid-template-columns: 1fr; }
  .dfl-brand-column { border-right: 0; border-bottom: 1px solid var(--dfl-rule); }
  .dfl-brand { min-height: 105px; border-bottom: 0; padding: 16px; }
  .dfl-logo { width: 145px; max-height: 78px; }
  .dfl-supporter { min-height: 78px; align-items: center; padding: 10px 16px 15px; }
  .samagata-logo { width: 150px; max-height: 45px; object-position: center; }
  .dfl-title-block { min-height: 0; padding: 24px 22px 20px; }
  .dfl-title-block h1 { font-size: clamp(32px, 8.2vw, 43px); }
  .dfl-subtitle { margin-top: 8px; font-size: 20px; }
  .dfl-curator { min-height: 0; padding: 15px 22px; }
  .dfl-curator p { font-size: 16px; }
  .dfl-intro { grid-template-columns: 1fr; gap: 30px; padding: 40px 24px 48px; }
  .dfl-book-cover { width: min(76%, 300px); }
  .dfl-intro-copy { max-width: none; font-size: 15px; text-align: left; }
  .dfl-essays { padding-inline: 14px; }
  .dfl-section-heading { min-height: 58px; padding: 13px 14px; }
  .dfl-section-heading h2 { font-size: 24px; }
  .dfl-essay-grid { grid-template-columns: 1fr; }
  .dfl-essay-card { min-height: 150px; padding: 20px 17px 17px; }
  .dfl-essay-title { font-size: 21px; }
  .dfl-essay-author { font-size: 13px; }
  .dfl-footer { padding: 18px 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .dfl-homepage *,
  .dfl-homepage *::before,
  .dfl-homepage *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}




/* =========================================
   DFL Essay Page — Reference UI
   ========================================= */

.dfl-essay-page {
  --essay-red: #A82929;
  --essay-coral: #FF5B61;
  --essay-rule: #E8C5C5;

  width: 100%;
  min-height: 100vh;
  background: #fff;
  color: #171717;
  font-family: var(--dfl-font, Arial, sans-serif);
}

.dfl-essay-page,
.dfl-essay-page * {
  box-sizing: border-box;
}

/* Hide the theme's standard header on post pages.
   This page supplies its own compact header. */

body.post-template #gh-head {
  display: none !important;
}

/* Compact logo and supporter header */

.dfl-essay-masthead {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 84px;
  padding: 22px clamp(26px, 5vw, 42px);
  background: #fff;
}

.dfl-essay-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  min-width: 75px;
  padding-right: 16px;
  border-right: 1px solid var(--essay-rule);
}

.dfl-essay-logo img {
  display: block;
  width: 58px;
  height: auto;
}

.dfl-essay-supporter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.dfl-essay-supporter > span {
  color: var(--essay-coral);
  font-size: 9px;
  line-height: 1.3;
}

.dfl-essay-supporter a,
.dfl-essay-supporter img {
  display: block;
  width: 112px;
  height: auto;
}

.dfl-essay-masthead a:focus-visible,
.dfl-essay-page a:focus-visible {
  outline: 2px solid var(--essay-coral);
  outline-offset: 4px;
}

/* Main article layout */

.dfl-essay-article {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 0 26px 60px;
}

/* Back to home */

.dfl-back-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 62px;
  color: var(--essay-red);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 180ms ease;
}

.dfl-back-home > span:first-child {
  font-size: 21px;
  transition: transform 180ms ease;
}

.dfl-back-home:hover {
  color: var(--essay-coral);
}

.dfl-back-home:hover > span:first-child {
  transform: translateX(-3px);
}

/* Publication title above essay title */

.dfl-essay-heading {
  margin-top: 39px;
}

.dfl-publication-title {
  margin: 0 0 10px;
  color: var(--essay-coral);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.dfl-essay-title {
  max-width: 760px;
  margin: 0;
  color: #171717;
  font-family: var(--dfl-font, Arial, sans-serif);
  font-size: clamp(36px, 7.8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

/* Contributor credit */

.dfl-essay-byline {
  margin: 58px 0 0 11px;
  padding: 5px 0 5px 16px;
  border-left: 2px solid var(--essay-coral);
}

.dfl-essay-byline p {
  margin: 0;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

/* Article text */

.dfl-essay-content {
  width: 100%;
  max-width: 760px;
  margin: 53px auto 0;
  padding: 0 11px;
  color: #171717;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

.dfl-essay-content > :first-child {
  margin-top: 0;
}

.dfl-essay-content p {
  margin-bottom: 1.35em;
}

.dfl-essay-content h2,
.dfl-essay-content h3,
.dfl-essay-content h4 {
  color: #171717;
  font-family: var(--dfl-font, Arial, sans-serif);
  font-weight: 700;
  line-height: 1.35;
}

.dfl-essay-content h2 {
  margin: 0 0 2.5em;
  font-size: 14px;
}

.dfl-essay-content h3 {
  margin: 1.8em 0 0.7em;
  font-size: 21px;
}

.dfl-essay-content h4 {
  margin: 1.5em 0 0.6em;
  font-size: 17px;
}

.dfl-essay-content a {
  color: var(--essay-red);
  text-decoration-color: var(--essay-coral);
  text-underline-offset: 3px;
}

.dfl-essay-content img,
.dfl-essay-content video,
.dfl-essay-content iframe {
  max-width: 100%;
}

.dfl-essay-content img {
  height: auto;
}

/* Bottom navigation */

.dfl-essay-footer {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--essay-rule);
}

.dfl-essay-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}

.dfl-essay-navigation > div {
  min-width: 0;
}

.dfl-essay-navigation a {
  color: inherit;
  text-decoration: none;
}

.dfl-essay-previous > a,
.dfl-essay-next > a {
  display: block;
  height: 100%;
  padding: 15px;
  border: 1px solid var(--essay-rule);
  transition: background-color 180ms ease, color 180ms ease;
}

.dfl-essay-previous > a:hover,
.dfl-essay-next > a:hover {
  background: var(--essay-red);
  color: #fff;
}

.dfl-essay-previous span,
.dfl-essay-next span {
  color: var(--essay-coral);
  font-size: 12px;
  font-weight: 600;
}

.dfl-essay-previous > a:hover span,
.dfl-essay-next > a:hover span {
  color: #fff;
}

.dfl-essay-navigation h3 {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.4;
}

.dfl-essay-share {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dfl-essay-share a {
  padding: 10px 14px;
  border: 1px solid var(--essay-red);
  color: var(--essay-red);
  font-size: 13px;
  white-space: nowrap;
}

.dfl-essay-share a:hover {
  background: var(--essay-red);
  color: #fff;
}

/* Responsive behavior */

@media (max-width: 600px) {
  .dfl-essay-masthead {
    min-height: 80px;
    padding: 21px 26px;
  }

  .dfl-essay-article {
    padding-right: 26px;
    padding-left: 26px;
  }

  .dfl-back-home {
    margin-top: 60px;
  }

  .dfl-essay-heading {
    margin-top: 39px;
  }

  .dfl-essay-title {
    font-size: clamp(35px, 8.5vw, 44px);
    line-height: 1.05;
  }

  .dfl-essay-byline {
    margin-top: 58px;
  }

  .dfl-essay-content {
    margin-top: 53px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 13px;
    line-height: 1.8;
  }

  .dfl-essay-navigation {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  .dfl-essay-share {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 5px;
  }
}

@media (max-width: 360px) {
  .dfl-essay-masthead {
    padding-right: 18px;
    padding-left: 18px;
  }

  .dfl-essay-article {
    padding-right: 22px;
    padding-left: 22px;
  }

  .dfl-essay-title {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dfl-essay-page *,
  .dfl-essay-page *::before,
  .dfl-essay-page *::after {
    transition: none !important;
    animation: none !important;
  }
}



/* DFL essay page — alignment and readability refinement */

/* Align the compact logo header with the article column */
.dfl-essay-masthead {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: 22px 26px;
  box-sizing: border-box;
}

/* Keep the entire article in the same centered column */
.dfl-essay-article {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: 0 26px 60px;
  box-sizing: border-box;
}

/* Align back link, publication title and essay title */
.dfl-back-home,
.dfl-essay-heading {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Keep the byline close to the title */
.dfl-essay-byline {
  margin-top: 40px;
  margin-left: 0;
}

/* Make article content larger and align it with the title */
.dfl-essay-content {
  width: 100%;
  max-width: none;
  margin: 38px 0 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.85;
  box-sizing: border-box;
}

/* Improve heading and paragraph readability */
.dfl-essay-content h2 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 2em;
}

.dfl-essay-content h3 {
  font-size: 22px;
}

.dfl-essay-content p {
  margin-bottom: 1.4em;
}

/* Keep the footer aligned with the same column */
.dfl-essay-footer {
  width: 100%;
  max-width: none;
  margin: 48px 0 0;
  box-sizing: border-box;
}

/* Responsive refinement */
@media (max-width: 600px) {
  .dfl-essay-masthead {
    padding: 21px 26px;
  }

  .dfl-essay-article {
    padding-right: 26px;
    padding-left: 26px;
  }

  .dfl-essay-content {
    font-size: 14px;
    line-height: 1.8;
  }
}



/* Publication credits and acknowledgements */

.dfl-publication-info {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: calc(100% - 20px);
  margin: 0 auto;
  border: 1px solid var(--dfl-rule-light, #e7c3c3);
  background: #fff;
  color: #171717;
}

.dfl-publication-about {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 38px 27px 16px;
}

.dfl-volume-description {
  font-size: 13px;
  line-height: 1.4;
}

.dfl-volume-description p {
  margin: 0 0 16px;
}

.dfl-editorial-credits {
  margin-top: 32px;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.dfl-editorial-credits p {
  margin: 0;
}

.dfl-editorial-credits span {
  color: #686868;
}

.dfl-acknowledgements {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 23px;
  background: var(--dfl-red, #A82929);
  color: #fff;
}

.dfl-acknowledgements h2 {
  margin: 0 0 15px;
  color: #fff;
  font-family: var(--dfl-font, Arial, sans-serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}

.dfl-acknowledgements-content {
  flex: 1;
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.dfl-acknowledgements-content p {
  margin: 0 0 12px;
}

.dfl-acknowledgements-content > :last-child {
  margin-bottom: 0;
}

.dfl-acknowledgements-content a {
  color: #fff;
}

.dfl-authors-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 26px;
  padding: 10px 14px;
  background: #fff;
  color: #171717;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 180ms ease, color 180ms ease;
}

.dfl-authors-arrow {
  color: var(--dfl-red, #A82929);
  font-size: 29px;
  line-height: 1;
  transition: transform 180ms ease;
}

.dfl-authors-button:hover {
  background: #f8eaea;
  color: var(--dfl-red, #A82929);
}

.dfl-authors-button:hover .dfl-authors-arrow {
  transform: translate(3px, -3px);
}

.dfl-authors-button:focus-visible {
  outline: 2px solid var(--dfl-coral, #e2595c);
  outline-offset: 3px;
}

@media (max-width: 650px) {
  .dfl-publication-info {
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
  }

  .dfl-publication-about {
    padding: 26px 22px 20px;
  }

  .dfl-editorial-credits {
    margin-top: 28px;
  }

  .dfl-acknowledgements {
    padding: 24px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dfl-authors-button,
  .dfl-authors-arrow {
    transition: none !important;
  }
}



/* =========================================
   Authors page (page-authors.hbs)
   ========================================= */

.dfl-authors-wrap {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 0 26px 72px;
}

.dfl-authors-intro {
  max-width: 760px;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.75;
}

.dfl-authors-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--essay-rule);
  border-left: 1px solid var(--essay-rule);
}

.dfl-author-entry {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 24px 22px 20px;
  border-right: 1px solid var(--essay-rule);
  border-bottom: 1px solid var(--essay-rule);
}

.dfl-author-names {
  margin: 0;
  color: var(--essay-red);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.dfl-author-essay {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: #171717;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.dfl-author-arrow {
  flex: none;
  color: var(--essay-coral);
  font-size: 24px;
  line-height: 1;
  transition: transform 180ms ease;
}

.dfl-author-essay:hover span:first-child {
  color: var(--essay-red);
  text-decoration: underline;
  text-decoration-color: var(--essay-coral);
  text-underline-offset: 3px;
}

.dfl-author-essay:hover .dfl-author-arrow {
  transform: translate(3px, -3px);
}

@media (max-width: 650px) {
  .dfl-authors-list {
    grid-template-columns: 1fr;
  }

  .dfl-author-names {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dfl-author-arrow { transition: none; }
}

/* Keep the button label readable inside the red acknowledgements panel */
.dfl-acknowledgements a.dfl-authors-button,
.dfl-acknowledgements a.dfl-authors-button span:first-child {
  color: #171717;
}

.dfl-acknowledgements a.dfl-authors-button:hover,
.dfl-acknowledgements a.dfl-authors-button:hover span:first-child {
  color: var(--dfl-red, #A82929);
}


/* Align the credits & acknowledgements box with the essay grid lines (Figma 742:103) */
.dfl-publication-info {
  width: auto;
  margin: -1px clamp(20px, 2.8vw, 41px) 0;
  border: 1px solid var(--dfl-rule);
}

@media (max-width: 650px) {
  .dfl-publication-info {
    width: auto;
  }
}

@media (max-width: 620px) {
  .dfl-publication-info {
    margin-inline: 14px;
  }
}
