/* =========================================================
   TTT / Teatrets Teori og Teknikk
   Pragma / OJS 3.5
   Clean child-theme stylesheet
   ========================================================= */

:root {
  --ttt-paper: #f6f0e5;
  --ttt-ink: #171411;
  --ttt-black: #11100e;
  --ttt-red: #c8462f;
  --ttt-muted: #6f675f;
  --ttt-rule: rgba(23,20,17,.16);
}

/* =========================================================
   GLOBAL
   ========================================================= */

html,
body {
  background: var(--ttt-paper) !important;
  color: var(--ttt-ink) !important;
}

body {
  font-family: Georgia, "Times New Roman", serif !important;
}

a {
  color: inherit;
}

a:hover,
a:focus {
  color: var(--ttt-red) !important;
  text-decoration: none !important;
}

/* =========================================================
   HEADER
   Requires the child-theme header.tpl with:
   .ttt-brand
   .ttt-brand__mark
   .ttt-brand__text
   .ttt-brand__title
   .ttt-brand__subtitle
   ========================================================= */

header#pragma_content_header.main-header {
  position: relative !important;
  min-height: 132px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: var(--ttt-black) !important;
  color: #f7f1e7 !important;
  border: 0 !important;
  border-bottom: 4px solid var(--ttt-red) !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Disable all old pseudo-element logo systems */
header#pragma_content_header.main-header::before,
header#pragma_content_header.main-header::after,
header#pragma_content_header nav.main-menu::before,
header#pragma_content_header nav.main-menu::after,
header#pragma_content_header .main-menu__title::before,
header#pragma_content_header .main-menu__title::after,
header#pragma_content_header .main-menu__title > a::before,
header#pragma_content_header .main-menu__title > a::after {
  content: none !important;
  display: none !important;
}

/* Main navbar */
header#pragma_content_header nav.main-menu {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  right: auto !important;

  display: flex !important;
  align-items: center !important;

  width: min(1320px, calc(100% - 96px)) !important;
  max-width: 1320px !important;
  min-height: 132px !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: translateX(-50%) !important;

  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}

/* Journal title container */
header#pragma_content_header .main-menu__title {
  position: static !important;
  display: block !important;
  flex: 0 0 auto !important;

  width: auto !important;
  max-width: none !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Real HTML brand */
header#pragma_content_header .ttt-brand {
  display: flex !important;
  align-items: center !important;
  gap: 38px !important;

  margin: 0 !important;
  padding: 0 !important;

  color: inherit !important;
  text-decoration: none !important;

  visibility: visible !important;
  opacity: 1 !important;
}

header#pragma_content_header .ttt-brand:hover,
header#pragma_content_header .ttt-brand:focus {
  color: inherit !important;
  text-decoration: none !important;
}

header#pragma_content_header .ttt-brand__mark {
  display: block !important;

  color: var(--ttt-red) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 82px !important;
  line-height: .86 !important;
  font-weight: 700 !important;
  letter-spacing: -.07em !important;

  visibility: visible !important;
  opacity: 1 !important;
}

header#pragma_content_header .ttt-brand__text {
  display: flex !important;
  flex-direction: column !important;
  gap: 11px !important;

  visibility: visible !important;
  opacity: 1 !important;
}

header#pragma_content_header .ttt-brand__title {
  display: block !important;

  color: #eee4d7 !important;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;

  visibility: visible !important;
  opacity: 1 !important;
}

header#pragma_content_header .ttt-brand__subtitle {
  display: block !important;

  color: var(--ttt-red) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .17em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;

  visibility: visible !important;
  opacity: 1 !important;
}

/* Navigation */
header#pragma_content_header .main-menu__nav {
  position: static !important;

  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;

  width: auto !important;

  margin: 0 170px 0 70px !important;
  padding: 0 !important;

  transform: none !important;
  background: transparent !important;
}

header#pragma_content_header .main-menu__nav .navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;

  margin: 0 !important;
  padding: 0 !important;
}

header#pragma_content_header .main-menu__nav .nav-item {
  margin: 0 !important;
  padding: 0 !important;
}

header#pragma_content_header .main-menu__nav .nav-link {
  position: relative !important;
  display: block !important;

  padding: 13px 12px 12px !important;

  color: #f3eadf !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .095em !important;
  text-transform: uppercase !important;

  opacity: .96;
  text-decoration: none !important;
}

header#pragma_content_header .main-menu__nav .nav-link::after {
  content: "" !important;

  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 3px !important;

  display: block !important;
  height: 2px !important;

  background: var(--ttt-red) !important;

  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 150ms ease;
}

header#pragma_content_header .main-menu__nav .nav-link:hover::after,
header#pragma_content_header .main-menu__nav .nav-link:focus::after,
header#pragma_content_header .main-menu__nav .active > .nav-link::after,
header#pragma_content_header .main-menu__nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Hide Current if present */
header#pragma_content_header .main-menu__nav a[href*="/issue/current"] {
  display: none !important;
}

/* Account */
header#pragma_content_header nav.main-header__admin {
  position: absolute !important;
  right: 50px !important;
  top: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  z-index: 20;

  display: flex !important;
  align-items: center !important;

  width: auto !important;
  max-width: 150px !important;

  margin: 0 !important;
  padding: 0 0 0 26px !important;

  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid rgba(247,241,231,.34) !important;

  color: #f7f1e7 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 11px !important;

  opacity: .72;
}

header#pragma_content_header nav.main-header__admin a,
header#pragma_content_header nav.main-header__admin button {
  color: #f7f1e7 !important;
  font-size: 11px !important;
  text-decoration: none !important;
}

/* =========================================================
   CONTENT / ARCHIVE
   ========================================================= */

main.main__content,
.main__content,
.pkp_structure_main {
  background: transparent !important;
}

main.container.main__content,
.container.main__content {
  max-width: 1320px !important;
  padding-top: 52px !important;
  padding-bottom: 92px !important;
}

body.page_issue.op_archive h1 {
  margin: 0 0 34px !important;

  color: var(--ttt-ink) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(48px, 4.5vw, 66px) !important;
  line-height: .98 !important;
  font-weight: 700 !important;
  letter-spacing: -.04em !important;
}

body.page_issue.op_archive article.archived-issue p.metadata {
  display: none !important;
}

body.page_issue.op_archive .row {
  row-gap: 44px !important;
}

body.page_issue.op_archive article.archived-issue {
  margin-bottom: 0 !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

body.page_issue.op_archive article.archived-issue img {
  display: block !important;
  width: 100% !important;
  height: auto !important;

  margin: 0 0 12px !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  transition: transform 160ms ease, opacity 160ms ease;
}

body.page_issue.op_archive article.archived-issue a:hover img {
  transform: translateY(-3px);
  opacity: .96;
}

body.page_issue.op_archive article.archived-issue p,
body.page_issue.op_archive article.archived-issue h2,
body.page_issue.op_archive article.archived-issue h3,
body.page_issue.op_archive article.archived-issue .title {
  color: var(--ttt-ink) !important;
}

body.page_issue.op_archive article.archived-issue a {
  color: var(--ttt-ink) !important;
  text-decoration: none !important;
}

body.page_issue.op_archive article.archived-issue a:hover {
  color: var(--ttt-red) !important;
}

body.page_issue.op_archive article.archived-issue p:not(.metadata),
body.page_issue.op_archive article.archived-issue .title,
body.page_issue.op_archive article.archived-issue .issue-identification {
  margin-top: 0 !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}

/* =========================================================
   HOMEPAGE
   ========================================================= */

.ttt-home {
  width: min(1320px, calc(100% - 96px));
  margin: 0 auto;
  padding: 62px 0 90px;

  color: var(--ttt-ink);
}

.ttt-home__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: 78px;
  align-items: center;

  padding: 20px 0 54px;
}

.ttt-home__eyebrow {
  margin: 0 0 20px;

  color: var(--ttt-red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.ttt-home__title {
  margin: 0 0 24px;

  color: var(--ttt-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 5vw, 82px);
  line-height: .94;
  font-weight: 700;
  letter-spacing: -.045em;
}

.ttt-home__lead {
  max-width: 680px;
  margin: 0;

  font-size: 19px;
  line-height: 1.52;
}

.ttt-home__lead + .ttt-home__lead {
  margin-top: 20px;
}

.ttt-home__cta {
  display: inline-block;

  margin-top: 28px;
  padding: 15px 22px;

  background: var(--ttt-red);
  color: #fff8ef !important;

  text-decoration: none !important;
  font-size: 17px;
}

body .ttt-home a.ttt-home__cta,
body .ttt-home a.ttt-home__cta:link,
body .ttt-home a.ttt-home__cta:visited,
body .ttt-home a.ttt-home__cta:hover,
body .ttt-home a.ttt-home__cta:focus,
body .ttt-home a.ttt-home__cta:active {
  color: #fff8ef !important;
  background-color: #cf432d !important;
  text-decoration: none !important;
}

body .ttt-home a.ttt-home__cta:hover,
body .ttt-home a.ttt-home__cta:focus {
  background-color: #b93b27 !important;
}

.ttt-home__covers {
  position: relative;
  min-height: 520px;
}

.ttt-home__cover {
  position: absolute;
  top: 50%;

  display: block;
  width: 290px;

  transform-origin: center;
}

.ttt-home__cover img {
  display: block;
  width: 100%;
  height: auto;

  box-shadow: 0 22px 44px rgba(23,20,17,.16);
}

.ttt-home__cover--left {
  left: 0;
  z-index: 1;

  transform: translateY(-46%) rotate(-6deg);
}

.ttt-home__cover--front {
  left: 50%;
  z-index: 3;

  width: 330px;

  transform: translate(-50%, -50%);
}

.ttt-home__cover--right {
  right: 0;
  z-index: 2;

  transform: translateY(-44%) rotate(6deg);
}

.ttt-home__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid var(--ttt-rule);
  border-bottom: 1px solid var(--ttt-rule);
}

.ttt-home__stat {
  padding: 30px 24px 32px;
  text-align: center;
}

.ttt-home__stat + .ttt-home__stat {
  border-left: 1px solid var(--ttt-rule);
}

.ttt-home__stat strong {
  display: block;

  color: var(--ttt-red);
  font-size: 44px;
  line-height: 1;
}

.ttt-home__stat span {
  display: block;

  margin-top: 10px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ttt-home__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;

  padding: 52px 0 58px;

  border-bottom: 1px solid var(--ttt-rule);
}

.ttt-home__info h2,
.ttt-home__section-heading h2 {
  margin: 0 0 16px;

  color: var(--ttt-ink);
  font-size: 34px;
  line-height: 1;
}

.ttt-home__info p {
  max-width: 520px;
  margin: 0;

  font-size: 17px;
  line-height: 1.58;
}

.ttt-home__info a,
.ttt-home__section-heading a {
  display: inline-block;

  margin-top: 18px;

  color: var(--ttt-red) !important;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;

  text-decoration: none !important;
}

.ttt-home__latest {
  padding-top: 34px;
}

.ttt-home__section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;

  margin-bottom: 28px;
}

.ttt-home__section-heading h2 {
  margin: 0;
  font-size: 38px;
}

.ttt-home__section-heading a {
  margin: 0;
}

.ttt-home__issue-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.ttt-home__issue {
  color: var(--ttt-ink) !important;
  text-decoration: none !important;
}

.ttt-home__issue img {
  display: block;
  width: 100%;
  height: auto;

  margin-bottom: 12px;
}

.ttt-home__issue span {
  font-size: 16px;
  line-height: 1.2;
}

/* =========================================================
   PDF BUTTONS
   ========================================================= */

a.btn.btn-secondary.pdf {
  font-size: 0 !important;
}

a.btn.btn-secondary.pdf::after {
  content: "PDF";
  font-size: 16px !important;
}

/* =========================================================
   ISSUE PAGES
   ========================================================= */

body.page_issue.op_view .ttt-issue-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px !important;
  gap: 56px !important;
  align-items: start !important;
}

body.page_issue.op_view .ttt-issue-header > .issue,
body.page_issue.op_view .ttt-issue-header > .ttt-issue-cover {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
}

body.page_issue.op_view .ttt-issue-cover img {
  display: block !important;
  width: 100% !important;
  height: auto !important;

  box-shadow: 0 16px 34px rgba(23,20,17,.12) !important;
}

body.page_issue.op_view .ttt-article-summary {
  display: block !important;
  margin: 0 !important;
}

body.page_issue.op_view .ttt-article-summary__main {
  width: 100% !important;
}

body.page_issue.op_view .ttt-article-summary__authors {
  margin-bottom: 4px !important;
}

body.page_issue.op_view .ttt-article-summary__pages {
  margin: 0 0 10px !important;

  font-size: 13px !important;
  letter-spacing: .02em !important;
}

body.page_issue.op_view .ttt-article-summary__galleys {
  margin-top: 10px !important;
}

body.page_issue.op_view .ttt-article-summary__galleys .btn.pdf {
  display: inline-block !important;

  margin-top: 0 !important;
  padding: 5px 10px !important;

  font-size: 0 !important;
}

body.page_issue.op_view .ttt-article-summary__galleys .btn.pdf::after {
  content: "PDF";
  font-size: 13px !important;
}

/* Legacy Pragma article-summary structure */
body.page_issue.op_view .issue-section__toc-item article.row.article {
  display: block !important;
}

body.page_issue.op_view .issue-section__toc-item article.row.article > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

body.page_issue.op_view .issue-section__toc-item article.row.article .btn.pdf {
  display: inline-block !important;

  margin-top: 10px !important;
  padding: 5px 10px !important;

  font-size: 0 !important;
}

body.page_issue.op_view .issue-section__toc-item article.row.article .btn.pdf::after {
  content: "PDF";
  font-size: 13px !important;
}

/* =========================================================
   ARTICLE PAGE
   ========================================================= */

/* Hide "Articles" and publication date, keep issue metadata */
body.page_article.op_view header.main__header .col-md-9 > p.metadata:nth-of-type(2),
body.page_article.op_view header.main__header .col-md-9 > p.metadata:nth-of-type(3) {
  display: none !important;
}

body.page_article.op_view article {
  position: relative !important;
  min-height: 430px !important;
}

/* Header */
body.page_article.op_view header.main__header {
  position: relative !important;
  display: block !important;

  margin: 0 !important;
}

body.page_article.op_view header.main__header > .col-md-9 {
  width: 58% !important;
  max-width: 620px !important;

  padding: 0 !important;
}

body.page_article.op_view header.main__header > .col-md-3 {
  position: absolute !important;
  top: 0 !important;
  right: 4% !important;

  width: 250px !important;
  max-width: 250px !important;

  padding: 0 !important;
}

body.page_article.op_view header.main__header p.metadata:first-of-type {
  margin: 0 0 18px !important;
}

body.page_article.op_view header.main__header h1 {
  margin: 0 0 22px !important;
}

body.page_article.op_view header.main__header ul.metadata {
  margin: 0 !important;
  padding: 0 !important;
}

/* Main content follows directly below author */
body.page_article.op_view #mainArticleContent {
  display: block !important;

  width: 58% !important;
  max-width: 620px !important;

  margin: 26px 0 0 !important;
  padding: 0 !important;
}

body.page_article.op_view #mainArticleContent > [class*="col-"],
body.page_article.op_view #articleMainWrapper {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;

  padding: 0 !important;
}

body.page_article.op_view #articleMain,
body.page_article.op_view #articleMain > section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page_article.op_view #articleMain a.btn.pdf {
  display: inline-block !important;

  margin: 0 !important;
  padding: 6px 11px !important;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer,
.pkp_structure_footer {
  background: var(--ttt-paper) !important;
  color: var(--ttt-muted) !important;

  border-top: 1px solid var(--ttt-rule) !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width: 992px) {
  header#pragma_content_header .hamburger,
  header#pragma_content_header .navbar-toggler {
    display: none !important;
  }

  header#pragma_content_header .main-menu__nav.collapse {
    display: flex !important;
  }
}

@media (max-width: 1100px) and (min-width: 768px) {

  header#pragma_content_header nav.main-menu {
    width: calc(100% - 48px) !important;
  }

  header#pragma_content_header .ttt-brand {
    gap: 28px !important;
  }

  header#pragma_content_header .ttt-brand__mark {
    font-size: 62px !important;
  }

  header#pragma_content_header .ttt-brand__title {
    font-size: 16px !important;
  }

  header#pragma_content_header .ttt-brand__subtitle {
    font-size: 8px !important;
  }

  header#pragma_content_header .main-menu__nav {
    margin-left: 34px !important;
    margin-right: 126px !important;
  }

  header#pragma_content_header .main-menu__nav .navbar-nav {
    gap: 8px !important;
  }

  header#pragma_content_header .main-menu__nav .nav-link {
    padding-left: 8px !important;
    padding-right: 8px !important;

    font-size: 11px !important;
  }

  header#pragma_content_header nav.main-header__admin {
    right: 22px !important;
    max-width: 112px !important;
  }

  main.container.main__content,
  .container.main__content {
    padding-left: 26px !important;
    padding-right: 26px !important;
  }

  .ttt-home {
    width: min(100% - 48px, 1100px);
  }

  .ttt-home__hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ttt-home__covers {
    width: min(640px, 100%);
    min-height: 460px;

    margin: 0 auto;
  }

  .ttt-home__issue-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }
}

@media (max-width: 800px) {
  body.page_issue.op_view .ttt-issue-header {
    grid-template-columns: 1fr !important;
  }

  body.page_issue.op_view .ttt-issue-cover {
    width: min(260px, 72vw) !important;
  }
}

@media (max-width: 767px) {

  header#pragma_content_header.main-header {
    min-height: 154px !important;
  }

  header#pragma_content_header nav.main-menu {
    position: absolute !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;

    display: block !important;

    width: 100% !important;
    min-height: 154px !important;

    margin: 0 !important;
    padding: 22px 18px 12px !important;

    transform: none !important;
  }

  header#pragma_content_header .ttt-brand {
    gap: 20px !important;
    padding-right: 50px !important;
  }

  header#pragma_content_header .ttt-brand__mark {
    font-size: 52px !important;
  }

  header#pragma_content_header .ttt-brand__title {
    font-size: 13px !important;
    white-space: normal !important;
  }

  header#pragma_content_header .ttt-brand__subtitle {
    font-size: 8px !important;
    letter-spacing: .11em !important;
    white-space: normal !important;
  }

  header#pragma_content_header .hamburger,
  header#pragma_content_header .navbar-toggler {
    position: absolute !important;
    right: 15px !important;
    bottom: 16px !important;

    display: block !important;

    border: 0 !important;
  }

  header#pragma_content_header .main-menu__nav {
    margin: 18px 0 0 !important;
    justify-content: flex-start !important;
  }

  header#pragma_content_header .main-menu__nav:not(.show) {
    display: none !important;
  }

  header#pragma_content_header .main-menu__nav.show {
    display: block !important;

    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 154px !important;
    z-index: 50;

    margin: 0 !important;
    padding: 16px 18px !important;

    background: var(--ttt-black) !important;
    border-bottom: 3px solid var(--ttt-red) !important;
  }

  header#pragma_content_header .main-menu__nav.show .navbar-nav {
    display: block !important;
  }

  header#pragma_content_header nav.main-header__admin {
    right: 16px !important;
    top: 12px !important;
    bottom: auto !important;

    max-width: 110px !important;

    padding-left: 0 !important;

    border-left: 0 !important;
  }

  main.container.main__content,
  .container.main__content {
    padding: 30px 18px 54px !important;
  }

  body.page_issue.op_archive h1 {
    margin-bottom: 28px !important;
    font-size: 40px !important;
  }

  body.page_issue.op_archive .row {
    row-gap: 30px !important;
  }

  .ttt-home {
    width: calc(100% - 36px);
    padding-top: 36px;
  }

  .ttt-home__title {
    font-size: 48px;
  }

  .ttt-home__lead {
    font-size: 18px;
  }

  .ttt-home__covers {
    min-height: 350px;
  }

  .ttt-home__cover {
    width: 180px;
  }

  .ttt-home__cover--front {
    width: 210px;
  }

  .ttt-home__stats,
  .ttt-home__info {
    grid-template-columns: 1fr;
  }

  .ttt-home__stat + .ttt-home__stat {
    border-left: 0;
    border-top: 1px solid var(--ttt-rule);
  }

  .ttt-home__info {
    gap: 34px;
  }

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

  body.page_article.op_view article {
    min-height: 0 !important;
  }

  body.page_article.op_view header.main__header > .col-md-9,
  body.page_article.op_view #mainArticleContent {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page_article.op_view header.main__header > .col-md-3 {
    position: static !important;

    width: min(240px, 70vw) !important;
    max-width: none !important;

    margin: 34px 0 0 !important;
  }
}
/* TTT — article page ranges in issue TOC */
body.page_issue.op_view .ttt-article-pages {
  margin: 4px 0 10px !important;
  color: #6f675f !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}
/* TTT — align article text vertically with left edge of TTT logo */
@media (min-width: 768px) {
  body.page_article.op_view header.main__header > .col-md-9,
  body.page_article.op_view #mainArticleContent {
    margin-left: -110px !important;
  }
}
/* =========================================================
   TTT — MOBILE FIX
   ========================================================= */

@media (max-width: 767px) {

  /* ---------- HEADER ---------- */

  header#pragma_content_header.main-header {
    min-height: 170px !important;
  }

  header#pragma_content_header nav.main-menu {
    min-height: 170px !important;
    padding: 24px 20px 16px !important;
  }

  header#pragma_content_header .ttt-brand {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
    width: calc(100% - 55px) !important;
    padding: 0 !important;
  }

  header#pragma_content_header .ttt-brand__mark {
    flex: 0 0 auto !important;
    font-size: 60px !important;
    line-height: .85 !important;
    white-space: nowrap !important;
    word-break: normal !important;
  }

  header#pragma_content_header .ttt-brand__text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  header#pragma_content_header .ttt-brand__title {
    font-size: 14px !important;
    line-height: 1.15 !important;
    letter-spacing: .09em !important;
    white-space: normal !important;
  }

  header#pragma_content_header .ttt-brand__subtitle {
    margin-top: 8px !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    letter-spacing: .10em !important;
    white-space: normal !important;
  }

  header#pragma_content_header nav.main-header__admin {
    top: 15px !important;
    right: 18px !important;
  }

  header#pragma_content_header .hamburger,
  header#pragma_content_header .navbar-toggler {
    right: 20px !important;
    bottom: 20px !important;
  }

  header#pragma_content_header .main-menu__nav.show {
    top: 170px !important;
  }


  /* ---------- HOMEPAGE ---------- */

  .ttt-home {
    display: block !important;
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 42px 0 64px !important;
  }

  .ttt-home__hero {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
    padding: 0 0 42px !important;
  }

  .ttt-home__hero > * {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .ttt-home__eyebrow {
    width: auto !important;
    margin: 0 0 18px !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    letter-spacing: .13em !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .ttt-home__title {
    width: 100% !important;
    margin-bottom: 22px !important;
    font-size: 46px !important;
    line-height: .96 !important;
    letter-spacing: -.04em !important;
    word-break: normal !important;
  }

  .ttt-home__lead {
    width: 100% !important;
    max-width: none !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
  }

  .ttt-home__covers {
    position: relative !important;
    width: 100% !important;
    min-height: 320px !important;
    margin: 38px auto 0 !important;
  }

  .ttt-home__cover {
    width: 145px !important;
  }

  .ttt-home__cover--front {
    width: 175px !important;
  }

  .ttt-home__stats {
    grid-template-columns: 1fr !important;
  }

  .ttt-home__info {
    grid-template-columns: 1fr !important;
    gap: 38px !important;
  }

  .ttt-home__issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 16px !important;
  }
}
/* TTT — archivio storico: nasconde completamente Login / Register */
header#pragma_content_header nav.main-header__admin,
header#pragma_content_header #navigationUser {
    display: none !important;
}

/* Recupera lo spazio prima riservato all'area account */
header#pragma_content_header .main-menu__nav {
    margin-right: 0 !important;
}
/* TTT — REMOVE PUBLIC ACCOUNT AREA */
.main-header__admin,
nav.main-header__admin,
#navigationUser,
ul#navigationUser,
a[href*="/login"],
a[href*="/register"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* =========================================================
   TTT — MOBILE / TABLET HEADER REFINEMENT
   ========================================================= */

@media (max-width: 1100px) {

  header#pragma_content_header.main-header {
    min-height: 150px !important;
  }

  header#pragma_content_header nav.main-menu {
    position: relative !important;
    min-height: 150px !important;
    padding: 22px 24px 18px !important;
  }

  header#pragma_content_header .ttt-brand {
    width: 100% !important;
    max-width: none !important;
    gap: 24px !important;
    padding: 0 !important;
  }

  header#pragma_content_header .ttt-brand__mark {
    font-size: 76px !important;
    line-height: .82 !important;
  }

  header#pragma_content_header .ttt-brand__title {
    font-size: 18px !important;
    line-height: 1.05 !important;
    letter-spacing: .09em !important;
  }

  header#pragma_content_header .ttt-brand__subtitle {
    margin-top: 7px !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
  }

  header#pragma_content_header .hamburger,
  header#pragma_content_header .navbar-toggler {
    position: absolute !important;
    left: 24px !important;
    right: auto !important;
    bottom: 16px !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
  }

  header#pragma_content_header .main-menu__nav.show {
    top: 150px !important;
    left: 0 !important;
    right: 0 !important;
  }
}
/* =========================================================
   TTT — MOBILE / TABLET HEADER COMPACT
   hamburger a destra
   ========================================================= */

@media (max-width: 1100px) {

  header#pragma_content_header.main-header {
    min-height: 118px !important;
  }

  header#pragma_content_header nav.main-menu {
    position: relative !important;
    min-height: 118px !important;
    padding: 18px 72px 18px 24px !important;
  }

  header#pragma_content_header .ttt-brand {
    width: auto !important;
    max-width: calc(100% - 70px) !important;
    gap: 22px !important;
    padding: 0 !important;
  }

  header#pragma_content_header .ttt-brand__mark {
    font-size: 74px !important;
    line-height: .82 !important;
  }

  header#pragma_content_header .ttt-brand__title {
    font-size: 17px !important;
    line-height: 1.05 !important;
  }

  header#pragma_content_header .ttt-brand__subtitle {
    margin-top: 6px !important;
    font-size: 9px !important;
  }

  header#pragma_content_header .hamburger,
  header#pragma_content_header .navbar-toggler {
    position: absolute !important;

    top: 50% !important;
    right: 24px !important;
    bottom: auto !important;
    left: auto !important;

    transform: translateY(-50%) !important;

    margin: 0 !important;
    padding: 6px !important;

    border: 0 !important;
    background: transparent !important;
  }

  header#pragma_content_header .main-menu__nav.show {
    top: 118px !important;
  }
}
/* =========================================================
   TTT — FINAL RESPONSIVE HEADER
   tablet + mobile
   ========================================================= */

@media (max-width: 1100px) {

  /* Header */
  header#pragma_content_header.main-header {
    min-height: 116px !important;
    height: 116px !important;
  }

  header#pragma_content_header nav.main-menu {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;

    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    max-width: none !important;
    min-height: 116px !important;
    height: 116px !important;

    margin: 0 !important;
    padding: 16px 78px 16px 26px !important;

    transform: none !important;
  }

  /* Brand */
  header#pragma_content_header .main-menu__title {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  header#pragma_content_header .ttt-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;

    gap: 22px !important;
    padding: 0 !important;
  }

  header#pragma_content_header .ttt-brand__mark {
    display: block !important;
    flex: 0 0 auto !important;

    font-size: 72px !important;
    line-height: .78 !important;

    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  header#pragma_content_header .ttt-brand__text {
    min-width: 0 !important;
  }

  header#pragma_content_header .ttt-brand__title {
    font-size: 17px !important;
    line-height: 1.05 !important;
    letter-spacing: .08em !important;

    white-space: nowrap !important;
  }

  header#pragma_content_header .ttt-brand__subtitle {
    margin-top: 7px !important;

    font-size: 9px !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;

    white-space: nowrap !important;
  }

  /* Hamburger */
  header#pragma_content_header .hamburger,
  header#pragma_content_header .navbar-toggler {
    position: absolute !important;

    display: block !important;

    top: 50% !important;
    right: 24px !important;
    bottom: auto !important;
    left: auto !important;

    margin: 0 !important;
    padding: 6px !important;

    transform: translateY(-50%) !important;

    border: 0 !important;
    background: transparent !important;
    z-index: 100 !important;
  }

  /* Il menu normale NON deve apparire accanto all'hamburger */
  header#pragma_content_header .main-menu__nav:not(.show) {
    display: none !important;
  }

  /* Menu quando aperto */
  header#pragma_content_header .main-menu__nav.show {
    position: absolute !important;

    display: block !important;

    top: 116px !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 18px 26px !important;

    background: var(--ttt-black) !important;
    border-bottom: 3px solid var(--ttt-red) !important;

    z-index: 90 !important;
  }

  header#pragma_content_header .main-menu__nav.show .navbar-nav {
    display: block !important;
  }
}


/* Smartphone */
@media (max-width: 767px) {

  header#pragma_content_header.main-header {
    min-height: 104px !important;
    height: 104px !important;
  }

  header#pragma_content_header nav.main-menu {
    min-height: 104px !important;
    height: 104px !important;

    padding: 14px 64px 14px 20px !important;
  }

  header#pragma_content_header .ttt-brand {
    gap: 16px !important;
  }

  header#pragma_content_header .ttt-brand__mark {
    font-size: 62px !important;
  }

  header#pragma_content_header .ttt-brand__title {
    font-size: 14px !important;
    letter-spacing: .07em !important;
  }

  header#pragma_content_header .ttt-brand__subtitle {
    margin-top: 6px !important;
    font-size: 7.5px !important;
    letter-spacing: .09em !important;
  }

  header#pragma_content_header .hamburger,
  header#pragma_content_header .navbar-toggler {
    right: 16px !important;
  }

  header#pragma_content_header .main-menu__nav.show {
    top: 104px !important;
    padding: 16px 20px !important;
  }
}


/* Telefoni molto stretti */
@media (max-width: 480px) {

  header#pragma_content_header .ttt-brand {
    gap: 12px !important;
  }

  header#pragma_content_header .ttt-brand__mark {
    font-size: 56px !important;
  }

  header#pragma_content_header .ttt-brand__title {
    font-size: 12px !important;
  }

  header#pragma_content_header .ttt-brand__subtitle {
    font-size: 6.8px !important;
  }
}
/* TTT — article cover aligned with desktop right axis */
@media (min-width: 1101px) {
  body.page_article.op_view header.main__header > .col-md-3 {
    right: -110px !important;
  }
}
body.page_issue.op_view .ttt-issue-year {
  margin-top: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--ttt-muted) !important;
}
/* TTT — issue page: TOC starts immediately below issue metadata */
@media (min-width: 801px) {

  body.page_issue.op_view .ttt-issue-header {
    position: relative !important;
    display: block !important;
  }

  body.page_issue.op_view .ttt-issue-header > .issue {
    width: calc(100% - 336px) !important;
    max-width: none !important;
  }

  body.page_issue.op_view .ttt-issue-header > .ttt-issue-cover {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;

    width: 280px !important;
    max-width: 280px !important;
  }
}
/* TTT — issue page: keep rules and TOC clear of cover */
@media (min-width: 801px) {

  body.page_issue.op_view .issue-galleys,
  body.page_issue.op_view .issue-section,
  body.page_issue.op_view main.main__content > section.issue > hr {
    width: calc(100% - 336px) !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}
/* =========================================================
   TTT — SEARCH
   Global header search + archive search panel
   ========================================================= */

/* Header search icon: a permanent global entry point */
header#pragma_content_header .ttt-header-search {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;

  width: 42px !important;
  height: 42px !important;
  margin-left: 12px !important;
  padding: 0 !important;

  color: #f3eadf !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  opacity: .96;

  transition: color 150ms ease, background-color 150ms ease;
}

header#pragma_content_header .ttt-header-search svg {
  width: 22px !important;
  height: 22px !important;
  overflow: visible !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

header#pragma_content_header .ttt-header-search:hover,
header#pragma_content_header .ttt-header-search:focus {
  color: var(--ttt-red) !important;
  background: rgba(255,255,255,.05) !important;
  outline: none !important;
}

/* Archive-specific search area */
body.page_issue.op_archive .ttt-archive-search {
  margin: -2px 0 46px !important;
  padding: 28px 32px 24px !important;

  background: rgba(255,255,255,.20) !important;
  border-top: 1px solid var(--ttt-rule) !important;
  border-bottom: 1px solid var(--ttt-rule) !important;
}

body.page_issue.op_archive .ttt-archive-search__title {
  margin: 0 0 4px !important;

  color: var(--ttt-ink) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(28px, 2.35vw, 38px) !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: -.025em !important;
}

body.page_issue.op_archive .ttt-archive-search__lead {
  margin: 0 0 17px !important;

  color: var(--ttt-muted) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
}

body.page_issue.op_archive .ttt-archive-search__form {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 !important;
}

body.page_issue.op_archive .ttt-archive-search__form input[type="search"] {
  display: block !important;
  width: 100% !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 66px 0 18px !important;

  color: var(--ttt-ink) !important;
  background: rgba(246,240,229,.70) !important;
  border: 1px solid rgba(23,20,17,.45) !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 17px !important;
  line-height: 1 !important;

  -webkit-appearance: none !important;
  appearance: none !important;
}

body.page_issue.op_archive .ttt-archive-search__form input[type="search"]::placeholder {
  color: #81776d !important;
  opacity: 1 !important;
}

body.page_issue.op_archive .ttt-archive-search__form input[type="search"]:focus {
  border-color: var(--ttt-red) !important;
  outline: 2px solid rgba(200,70,47,.14) !important;
  outline-offset: 0 !important;
}

body.page_issue.op_archive .ttt-archive-search__form button {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important;
  margin: 0 !important;
  padding: 0 !important;

  color: var(--ttt-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid rgba(23,20,17,.16) !important;
  border-radius: 0 !important;
  cursor: pointer !important;
}

body.page_issue.op_archive .ttt-archive-search__form button:hover,
body.page_issue.op_archive .ttt-archive-search__form button:focus {
  color: var(--ttt-red) !important;
  background: rgba(200,70,47,.045) !important;
  outline: none !important;
}

body.page_issue.op_archive .ttt-archive-search__form button svg {
  width: 24px !important;
  height: 24px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.page_issue.op_archive .ttt-archive-search__meta {
  margin: 12px 0 0 !important;

  color: var(--ttt-muted) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

body.page_issue.op_archive .ttt-archive-search__meta span {
  display: inline-block !important;
  padding: 0 .28em !important;
  color: var(--ttt-red) !important;
}

@media (max-width: 1100px) {
  /* Search remains available inside the expanded mobile menu. */
  header#pragma_content_header .main-menu__nav.show .ttt-header-search {
    display: inline-flex !important;
    width: 42px !important;
    height: 42px !important;
    margin: 8px 0 0 0 !important;
  }
}

@media (max-width: 767px) {
  body.page_issue.op_archive .ttt-archive-search {
    margin-bottom: 34px !important;
    padding: 22px 18px 20px !important;
  }

  body.page_issue.op_archive .ttt-archive-search__title {
    font-size: 29px !important;
  }

  body.page_issue.op_archive .ttt-archive-search__lead {
    font-size: 16px !important;
  }

  body.page_issue.op_archive .ttt-archive-search__form input[type="search"] {
    height: 52px !important;
    padding-left: 14px !important;
    font-size: 16px !important;
  }

  body.page_issue.op_archive .ttt-archive-search__meta {
    font-size: 14px !important;
  }
}

/* =========================================================
   TTT — CONTEXT NAVIGATION
   Quick return links on issue and article pages
   ========================================================= */
.ttt-context-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px !important;
  font-family: "Work Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.ttt-context-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ttt-red) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
}

.ttt-context-nav__link:hover,
.ttt-context-nav__link:focus {
  color: var(--ttt-ink) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  outline: none !important;
}

.ttt-context-nav__link--secondary {
  color: var(--ttt-muted) !important;
  font-weight: 500 !important;
}

.ttt-context-nav__separator {
  color: rgba(23,20,17,.38) !important;
}

/* On the issue page, keep the return link aligned with the issue content. */
body.page_issue.op_view .ttt-context-nav {
  margin-bottom: 24px !important;
}

/* On article pages the link sits just above the issue/article metadata. */
body.page_article.op_view .ttt-context-nav--article {
  margin-bottom: 24px !important;
}

@media (max-width: 767px) {
  .ttt-context-nav {
    margin-bottom: 20px !important;
    font-size: 13px !important;
  }
}

/* =========================================================
   TTT — ISSUES PAGE + CONTEXT NAV REFINEMENTS
   ========================================================= */

/* Search sits above the covers: keep a restrained gap before the issue grid. */
body.page_issue.op_archive .ttt-archive-search {
  margin-top: 0 !important;
  margin-bottom: 46px !important;
}

/* Article content is shifted left on desktop; keep the contextual return links on the same axis. */
@media (min-width: 768px) {
  body.page_article.op_view .ttt-context-nav--article {
    margin-left: -110px !important;
  }
}

@media (max-width: 767px) {
  body.page_issue.op_archive .ttt-archive-search {
    margin-top: 0 !important;
    margin-bottom: 34px !important;
  }
}

/* TTT flipbook: alternative issue reader. */
.ttt-issue-reader-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
}

.ttt-issue-reader-actions .btn,
.ttt-flipbook-button {
  margin: 0 !important;
}

.ttt-flipbook-button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  text-decoration: none !important;
  font-weight: 400 !important;
}

.ttt-flipbook-button__icon {
  font-size: .9em;
}

@media (max-width: 767px) {
  .ttt-issue-reader-actions {
    align-items: flex-start;
  }
}


/* =========================================================
   TTT — TRANSLATOR CREDITS
   Verified historical metadata from data/translators.json
   ========================================================= */
.ttt-article-translators,
.ttt-issue-translators {
  margin: 0 !important;
}

.ttt-translation-credit {
  margin: 7px 0 0 !important;
  color: var(--ttt-muted) !important;
  font-family: "Work Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.ttt-translation-credit__label {
  color: var(--ttt-ink) !important;
  font-weight: 600 !important;
}

.ttt-translation-credit__detail {
  color: var(--ttt-muted) !important;
  font-size: .94em !important;
}

body.page_issue.op_view .ttt-issue-translators .ttt-translation-credit {
  margin-top: 13px !important;
}

body.page_article.op_view .ttt-article-translators .ttt-translation-credit {
  margin-top: 7px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 767px) {
  .ttt-translation-credit {
    font-size: 13px !important;
  }
}

/* =========================================================
   HTML GALLEY BUTTON — match the existing PDF button exactly
   PDF rules above are intentionally left untouched.
   ========================================================= */
body.page_issue.op_view .ttt-article-summary__galleys .btn.html,
body.page_issue.op_view .ttt-article-summary__galleys a.btn[href*="/article/view/"][class~="html"] {
  display: inline-block !important;
  margin-top: 0 !important;
  /* HTML has one more letter than PDF: slightly tighter horizontal padding
     keeps the outer button width visually identical without touching PDF. */
  padding: 5px 6px !important;
  font-size: 13px !important;
}

body.page_issue.op_view .issue-section__toc-item article.row.article .btn.html,
body.page_issue.op_view .issue-section__toc-item article.row.article a.btn[href*="/article/view/"][class~="html"] {
  display: inline-block !important;
  margin-top: 10px !important;
  padding: 5px 6px !important;
  font-size: 13px !important;
}


/* =========================================================
   TTT — EDITORIAL TEAM
   Verified historical metadata from data/editorial-teams.json
   ========================================================= */
.ttt-editorial-team-host {
  margin: 18px 0 0 !important;
}

.ttt-editorial-team {
  max-width: 760px;
  padding-top: 15px;
  border-top: 1px solid var(--ttt-rule);
}


.ttt-editorial-team__row {
  margin: 3px 0 !important;
  color: var(--ttt-muted) !important;
  font-family: "Work Sans", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.ttt-editorial-team__label {
  color: var(--ttt-ink) !important;
  font-weight: 600 !important;
}

@media (max-width: 767px) {
  .ttt-editorial-team-host {
    margin-top: 14px !important;
  }

  .ttt-editorial-team__row {
    font-size: 13px !important;
  }
}

/* =========================================================
   HTML GALLEY BUTTON — force same visual box as PDF
   PDF button itself is not modified.
   ========================================================= */
body.page_issue.op_view .ttt-article-summary__galleys .btn.pdf + .btn,
body.page_issue.op_view .issue-section__toc-item article.row.article .btn.pdf + .btn {
  display: inline-block !important;
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  padding: 5px 0 !important;
  box-sizing: border-box !important;
  font-size: 13px !important;
  line-height: inherit !important;
  text-align: center !important;
  vertical-align: middle !important;
}

body.page_issue.op_view .ttt-article-summary__galleys .btn.pdf + .btn {
  margin-top: 0 !important;
}

body.page_issue.op_view .issue-section__toc-item article.row.article .btn.pdf + .btn {
  margin-top: 10px !important;
}

/* =========================================================
   TTT — MOBILE BRAND LEGIBILITY FINAL OVERRIDE
   Keep the historical subtitle close to the journal title.
   ========================================================= */
@media (max-width: 767px) {
  header#pragma_content_header .ttt-brand__text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
  }

  header#pragma_content_header .ttt-brand__subtitle {
    margin-top: 2px !important;
    font-size: 10px !important;
    line-height: 1.08 !important;
    letter-spacing: .065em !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 480px) {
  header#pragma_content_header .ttt-brand {
    gap: 10px !important;
  }

  header#pragma_content_header .ttt-brand__subtitle {
    margin-top: 2px !important;
    font-size: 9.5px !important;
    line-height: 1.08 !important;
    letter-spacing: .05em !important;
  }
}

@media (max-width: 375px) {
  header#pragma_content_header .ttt-brand__mark {
    font-size: 52px !important;
  }

  header#pragma_content_header .ttt-brand__title {
    font-size: 11.5px !important;
  }

  header#pragma_content_header .ttt-brand__subtitle {
    font-size: 8.8px !important;
    letter-spacing: .035em !important;
  }
}

/* =========================================================
   TTT — ISSUE TRANSLATORS AS PART OF THE HISTORICAL COLOPHON
   Keep credits directly below the editorial roles, before Full Issue.
   ========================================================= */
body.page_issue.op_view .ttt-issue-translators--editorial {
  max-width: 760px;
  margin: 4px 0 18px !important;
}

body.page_issue.op_view .ttt-editorial-team-host:not([hidden]) + .ttt-issue-translators--editorial .ttt-translation-credit {
  margin-top: 4px !important;
}

body.page_issue.op_view .ttt-issue-translators--editorial .ttt-translation-credit {
  margin-top: 4px !important;
}

@media (max-width: 767px) {
  body.page_issue.op_view .ttt-issue-translators--editorial {
    margin-bottom: 14px !important;
  }
}

/* TTT: keep translator credits visually attached to the historical editorial colophon */
body.page_issue.op_view .ttt-issue-translators--editorial {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.page_issue.op_view .ttt-issue-translators--editorial .ttt-translation-credit {
  margin-top: 0 !important;
}
