/* Approved Digital Fusion Press identity — 10 November 2026.
   Publisher lockups only. Journal identities and the DeciMethod brand are unchanged. */
.press-wordmark:has(.dfp-approved-logo),
.jp-publisher-brand:has(.dfp-approved-logo),
.publisher-brand:has(.dfp-approved-logo),
.footer-publisher:has(.dfp-approved-logo),
.jt-publisher:has(.dfp-approved-logo) {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .3rem;
  max-width: 100%;
  min-width: 0;
  text-decoration: none;
}
.press-wordmark .dfp-approved-logo,
.jp-publisher-brand .dfp-approved-logo,
.publisher-brand .dfp-approved-logo,
.footer-publisher .dfp-approved-logo,
.jt-publisher .dfp-approved-logo,
.press-footer-name .dfp-approved-logo {
  display: block;
  width: 280px !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 1 auto !important;
  object-fit: contain;
  object-position: left center;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.dfp-brand-tagline {
  display: block;
  font: 400 .64rem/1.5 system-ui, sans-serif;
  letter-spacing: .02em;
  color: inherit;
}
.press-publisher .press-about-symbol .dfp-approved-logo {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}
.press-publisher .press-about-symbol {
  display: flex;
  align-self: center;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: clamp(1rem, 3vw, 2rem);
}
@media (max-width: 720px) {
  .press-publisher .press-about-symbol { padding: 1rem; }
}
.press-footer-name:has(.dfp-approved-logo) { margin-bottom: 1rem; }
.jp-preview .journal-footer .footer-publisher .dfp-approved-logo,
.press-publisher .press-footer .dfp-approved-logo { width: 260px !important; }
@media (max-width: 720px) {
  .press-brandbar-inner:has(.dfp-approved-logo),
  .publisher-inner:has(.dfp-approved-logo) { flex-wrap: wrap; }
  .press-brandbar-inner:has(.dfp-approved-logo) > .press-text-link { max-width: none; }
  .press-wordmark .dfp-approved-logo,
  .jp-publisher-brand .dfp-approved-logo,
  .publisher-brand .dfp-approved-logo,
  .jt-publisher .dfp-approved-logo { width: 250px !important; }
  .press-publisher .press-wordmark:has(.dfp-approved-logo) { gap: .3rem; }
}
@media (max-width: 380px) {
  .press-wordmark .dfp-approved-logo,
  .jp-publisher-brand .dfp-approved-logo,
  .publisher-brand .dfp-approved-logo,
  .footer-publisher .dfp-approved-logo,
  .jt-publisher .dfp-approved-logo { width: 235px !important; }
}

.jp-masthead a.jp-cover:focus-visible,
  .jp-publisher-header a.jp-publisher-brand:focus-visible {
  outline: 3px solid #126c83;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .jp-masthead a.jp-cover {
    transition: translate .24s ease, scale .24s ease;
  }

  .jp-masthead a.jp-cover:focus-visible {
    translate: 0 -8px;
    scale: 1.035;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .jp-masthead a.jp-cover:hover {
    translate: 0 -8px;
    scale: 1.035;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .jp-publisher-header a.jp-publisher-brand,
  .press-masthead a.press-wordmark {
    position: relative;
    isolation: isolate;
  }

  .jp-publisher-header a.jp-publisher-brand::after,
  .press-masthead a.press-wordmark::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(110deg, transparent 40%, rgb(255 255 255 / .68) 50%, transparent 60%) 100% 0 / 240% 100% no-repeat;
  }

  .jp-publisher-header a.jp-publisher-brand:focus-visible::after,
  .press-masthead a.press-wordmark:focus-visible::after {
    animation: dfp-logo-sheen .7s ease-in-out;
  }

  @keyframes dfp-logo-sheen {
    from { opacity: 0; background-position: 100% 0; }
    40%, 60% { opacity: 1; }
    to { opacity: 0; background-position: 0 0; }
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .jp-publisher-header a.jp-publisher-brand:hover::after,
  .press-masthead a.press-wordmark:hover::after {
    animation: dfp-logo-sheen .7s ease-in-out;
  }
}

/* Subtle full-width separation below the white publisher masthead. */
body .press-masthead,
body.jp-preview .jp-publisher-header,
body .site-header:has(.dfp-approved-logo),
body .publisher-header:has(.dfp-approved-logo) {
  border-bottom: 4px solid #cedbe0;
  box-shadow: 0 3px 5px -3px rgb(24 54 66 / 24%);
  position: relative;
  z-index: 2;
}
/* Match the publisher homepage lockup across all journal mastheads. */
.jp-publisher-header .jp-publisher-brand:has(.dfp-approved-logo) {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .3rem;
}
.jp-publisher-header .jp-publisher-brand .dfp-brand-tagline,
.press-masthead .press-wordmark .dfp-brand-tagline {
  display: block;
  font: 500 .58rem/1.6 system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #000;
  margin-top: .4rem;
}
.jp-publisher-header > .jp-wrap {
  min-height: 106px;
  padding-block: 12px;
}
.jp-publisher-header .jp-publisher-brand .dfp-approved-logo {
  flex: 0 1 auto !important;
}
@media(max-width: 560px) {
  .jp-publisher-header .jp-publisher-brand { width: 100%; }
  .jp-publisher-header .jp-publisher-brand .dfp-brand-tagline { max-width: 100%; }
}
