/* ==========================================================================
   DEADMAN STUDIOS — components.css
   --------------------------------------------------------------------------
   Everything WordPress needs that the static build had no markup for. Each
   block reuses the tokens already declared in design.css, so nothing here
   introduces a new visual language.

    1. Skip link
    2. Video popup (work modal)
    3. Work card as a button / keyboard affordance
    4. Single work detail page
    5. Project information list
    6. Pagination
    7. Form responses (native contact / community fallback)
    8. Editor + block alignment (page.php content)
    9. Empty states
   10. Admin bar offset
   ========================================================================== */

/* 0. IMAGE SIZING =========================================================
   WordPress always emits width/height attributes on images (correctly — it is
   what stops layout shift). The static build's images had no such attributes,
   so design.css never needed `height: auto` and its `img { max-width: 100% }`
   was enough. Without this rule a constrained WordPress image keeps its
   attribute height and stretches. Element specificity (0,0,1) keeps every
   `.something img { height: 100% }` rule in design.css winning.
   ======================================================================= */
img { height: auto; }

/* 1. SKIP LINK ============================================================ */
.dm-skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 1100;
  padding: 12px 20px;
  border-radius: var(--dm-radius);
  background: var(--dm-purple);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: top .2s ease;
}
.dm-skip-link:focus { top: 18px; color: #fff; }

/* 2. VIDEO POPUP ========================================================== */
.dm-modal {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 64px);
  background: rgba(6, 6, 6, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .32s ease, visibility .32s ease;
}
.dm-modal.is-open { opacity: 1; visibility: visible; }

.dm-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 1600px;
  transform: translateY(18px) scale(.985);
  transition: transform .38s cubic-bezier(.2, .7, .2, 1);
}
.dm-modal.is-open .dm-modal__dialog { transform: none; }

.dm-modal__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0e10;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}
.dm-modal__stage > video,
.dm-modal__stage > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #0b0e10;
}
.dm-modal__stage > video { object-fit: contain; }

/* same corner brackets as the hero, so the popup reads as part of the system */
.dm-modal__frame { position: absolute; inset: 16px; z-index: 3; pointer-events: none; }
.dm-modal__frame span {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, .7);
}
.dm-modal__frame span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.dm-modal__frame span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.dm-modal__frame span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.dm-modal__frame span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.dm-modal__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.dm-modal__title {
  margin: 0;
  font-family: var(--dm-font);
  font-size: clamp(22px, 2.4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
}
.dm-modal__permalink {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.dm-modal__permalink:hover { color: #F4A879; }

.dm-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(17, 17, 17, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.dm-modal__close:hover {
  background: var(--dm-purple);
  border-color: var(--dm-purple);
  transform: rotate(90deg);
}
.dm-modal__close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.dm-modal__close svg { width: 20px; height: 20px; }

.dm-modal__note {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dm-text-muted);
  text-align: center;
}

/* scroll lock — padding compensates for the scrollbar so nothing shifts */
body.dm-modal-open { overflow: hidden; padding-right: var(--dm-scroll-lock, 0px); }

@media (max-width: 767.98px) {
  .dm-modal { padding: 16px; }
  .dm-modal__close { top: -6px; right: -6px; width: 46px; height: 46px; }
  .dm-modal__close svg { width: 16px; height: 16px; }
  .dm-modal__head { margin-bottom: 12px; }
  .dm-modal__permalink { display: none; }
  .dm-modal__frame { inset: 12px; }
  .dm-modal__frame span { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .dm-modal,
  .dm-modal__dialog,
  .dm-modal__close { transition: none; }
  .dm-modal__close:hover { transform: none; }
}

/* 2b. HERO SOUND TOGGLE ===================================================
   The supplied build ships this button's markup but no styling, so it was
   pushed out of .hero__stage and clipped — a focusable control nobody could
   see or reach. These rules place it inside the stage in the design's own
   language (see README → Deviations). Nothing else in the hero moves.
   ======================================================================= */
.hero__sound {
  position: absolute;
  z-index: 4;
  right: 42px;
  bottom: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(17, 17, 17, .34);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.hero__sound:hover { background: rgba(139, 92, 246, .82); border-color: var(--dm-purple); }
.hero__sound:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.hero__sound-icon { display: grid; place-items: center; width: 15px; height: 15px; }
.hero__sound-icon svg { display: block; }

.hero__sound-text {
  font-family: var(--dm-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
}

/* muted (aria-pressed="false") shows the crossed-out speaker */
.hero__sound[aria-pressed="false"] .hero__sound-on  { display: none; }
.hero__sound[aria-pressed="true"]  .hero__sound-off { display: none; }

@media (max-width: 991.98px) {
  .hero__sound { right: 24px; bottom: 24px; height: 38px; padding: 0 14px; }
  .hero__sound-text { font-size: 11px; letter-spacing: .14em; }
}

@media (max-width: 575.98px) {
  .hero__sound { right: 14px; bottom: 14px; height: 34px; padding: 0 12px; gap: 7px; }
  .hero__sound-text { display: none; }
}

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

/* 2c. BUTTON VARIANTS + CTA ROWS ==========================================
   .dm-btn in design.css is the full-size primary button (74px tall, 280px
   minimum). These variants extend it without touching it, so a small centred
   button and a secondary button read as part of the same system.
   ======================================================================= */

/* Compact size — for a supporting action such as "Open board". */
.dm-btn--sm {
  height: 52px;
  min-width: 0;
  gap: 8px;
  padding: 0 26px;
  font-size: 15px;
  letter-spacing: .04em;
}
.dm-btn--sm .dm-btn__arrow { padding-left: 6px; }
.dm-btn--sm .dm-btn__arrow img { width: 9px; height: 16px; }

/* Outline — white on the dark sections, which is where most of them sit. */
.dm-btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
}
.dm-btn--outline:hover,
.dm-btn--outline:focus-visible {
  background: var(--dm-purple);
  border-color: var(--dm-purple);
  color: #fff;
}

/* …and dark on the light sections. The statement only counts as light once it
   has its background image: without one it falls back to the dark body colour,
   and a dark outline there would be invisible. */
.section--light .dm-btn--outline,
.statement--has-bg .dm-btn--outline,
.footer .dm-btn--outline {
  border-color: rgba(26, 26, 26, .38);
  color: var(--dm-text-dark);
}
.section--light .dm-btn--outline:hover,
.statement--has-bg .dm-btn--outline:hover,
.footer .dm-btn--outline:hover,
.section--light .dm-btn--outline:focus-visible,
.statement--has-bg .dm-btn--outline:focus-visible,
.footer .dm-btn--outline:focus-visible {
  background: var(--dm-purple);
  border-color: var(--dm-purple);
  color: #fff;
}

/* Solid dark — reads on a light background and over photography alike, so it
   is the safe second button when the statement has a background image. */
.dm-btn--dark {
  background: var(--dm-text-dark);
  color: #fff;
}
.dm-btn--dark:hover,
.dm-btn--dark:focus-visible { background: var(--dm-purple); color: #fff; }

/* The row itself — always centred, wraps rather than overflowing. */
.dm-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}
.dm-cta-row--statement { margin-top: 30px; }
.dm-cta-row--tight { margin-top: 26px; margin-bottom: 6px; }

@media (max-width: 991.98px) {
  .dm-cta-row { gap: 14px; margin-top: 28px; }
  .dm-btn--sm { height: 48px; padding: 0 22px; font-size: 14px; }
}

@media (max-width: 575.98px) {
  .dm-cta-row { gap: 12px; margin-top: 24px; }
  .dm-cta-row--tight { margin-top: 20px; }

  /* design.css takes .dm-btn to full width here, which is right for the
     primary pair. The compact button stays intrinsic so it still reads as the
     smaller, secondary action. */
  .dm-btn--sm { width: auto; height: 44px; padding: 0 20px; font-size: 13px; }
  .dm-btn--sm .dm-btn__arrow img { width: 8px; height: 14px; }
}

/* 2d. WORK CARD TAGS ======================================================
   Short labels in the corner of a card. Bottom-right on desktop, where the
   copy sits bottom-left; moved to the top on the narrow breakpoints, because
   there the card body spans the full width and the gradient flips to bottom-up.
   ======================================================================= */
.work-card__tags {
  position: absolute;
  z-index: 3;
  right: 40px;
  bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 42%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-card__tags li {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(17, 17, 17, .34);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--dm-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  transition: border-color .25s ease, background .25s ease;
}

.work-card:hover .work-card__tags li,
.work-card:focus-visible .work-card__tags li {
  border-color: rgba(255, 221, 184, .75);
  background: rgba(17, 17, 17, .5);
}

@media (max-width: 1199.98px) {
  .work-card__tags { right: 30px; bottom: 28px; }
}

@media (max-width: 767.98px) {
  .work-card__tags {
    top: 20px;
    right: 20px;
    bottom: auto;
    max-width: calc(100% - 40px);
  }
}

@media (max-width: 575.98px) {
  .work-card__tags { top: 16px; right: 16px; gap: 6px; max-width: calc(100% - 32px); }
  .work-card__tags li {
    height: 28px;
    padding: 0 11px;
    font-size: 10px;
    letter-spacing: .14em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-card__tags li { transition: none; }
}

/* 3. WORK CARD AS A BUTTON ================================================ */
button.work-card {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.work-card:focus-visible { outline: 2px solid var(--dm-purple); outline-offset: 4px; }

/* play affordance — only on cards that actually open a video */
.work-card__play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(17, 17, 17, .34);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff;
  transition: background .3s ease, transform .3s ease, border-color .3s ease;
}
.work-card__play svg { width: 26px; height: 26px; margin-left: 4px; }
.work-card:hover .work-card__play,
.work-card:focus-visible .work-card__play {
  background: var(--dm-purple);
  border-color: var(--dm-purple);
  transform: scale(1.06);
}

@media (max-width: 575.98px) {
  .work-card__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .work-card__play svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .work-card__play { transition: none; }
  .work-card:hover .work-card__play { transform: none; }
}

/* 4. SINGLE WORK ========================================================== */
.single-work__hero { padding: 150px 0 0; }

@media (max-width: 991.98px) { .single-work__hero { padding: 120px 0 0; } }
@media (max-width: 575.98px)  { .single-work__hero { padding: 104px 0 0; } }

/* the detail page leads with the same card the archive uses, full width */
.single-work__card { margin-top: 34px; }
.single-work__card.work-card { aspect-ratio: 1280 / 620; }

@media (max-width: 767.98px) { .single-work__card.work-card { aspect-ratio: 4 / 3; } }
@media (max-width: 575.98px) { .single-work__card.work-card { aspect-ratio: auto; min-height: 450px; } }

.single-work__body { padding: 76px 0 96px; }

.single-work__content {
  max-width: 900px;
  margin-inline: auto;
  font-family: "Josefin Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 24px;
  line-height: 32px;
  color: #D3D3D3;
}
.single-work__content > * + * { margin-top: 26px; }
.single-work__content h2,
.single-work__content h3,
.single-work__content h4 {
  font-family: var(--dm-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: #fff;
}
.single-work__content h2 { font-size: 44px; line-height: 1.1; }
.single-work__content h3 { font-size: 32px; line-height: 1.15; }
.single-work__content h4 { font-size: 24px; line-height: 1.2; }
.single-work__content a { color: #F4A879; text-decoration: underline; text-underline-offset: 3px; }
.single-work__content a:hover { color: #fff; }
.single-work__content img { border-radius: var(--dm-radius); }
.single-work__content blockquote {
  margin: 0;
  padding-left: 26px;
  border-left: 2px solid var(--dm-purple);
  color: #fff;
}
.single-work__content ul,
.single-work__content ol { padding-left: 24px; }
.single-work__content li + li { margin-top: 10px; }

.single-work__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 48px;
}

@media (max-width: 575.98px) {
  .single-work__content { font-size: 16px; line-height: 24px; }
  .single-work__content h2 { font-size: 28px; }
  .single-work__content h3 { font-size: 22px; }
  .single-work__body { padding: 46px 0 56px; }
  .single-work__actions { margin-top: 32px; }
}

/* 5. PROJECT INFORMATION LIST ============================================= */
.dm-project-info {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dm-project-info__row {
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.dm-project-info__label {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #FFDDB8;
}
.dm-project-info__value {
  display: block;
  margin: 8px 0 0;
  font-family: "Josefin Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 28px;
  color: #fff;
}
.dm-project-info__value a { color: #F4A879; }
.dm-project-info__value a:hover { color: #fff; }

@media (max-width: 767.98px) {
  .dm-project-info { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .dm-project-info__value { font-size: 17px; line-height: 24px; }
}

/* 6. PAGINATION =========================================================== */
.dm-pagination { margin-top: 54px; text-align: center; }
.dm-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.dm-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--dm-radius);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dm-text-light);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.dm-pagination .page-numbers:hover,
.dm-pagination .page-numbers:focus-visible {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}
.dm-pagination .page-numbers.current {
  background: var(--dm-purple);
  border-color: var(--dm-purple);
  color: #fff;
}
.dm-pagination .page-numbers.dots { border-color: transparent; }

/* 7. FORM RESPONSES ======================================================= */
.dm-form-response {
  margin: 16px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--dm-radius);
  font-family: "Josefin Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.dm-form-response--ok    { border-color: rgba(139, 92, 246, .8); color: #fff; background: rgba(139, 92, 246, .14); }
.dm-form-response--error { border-color: rgba(255, 128, 128, .8); color: #ffdada; background: rgba(255, 128, 128, .12); }
.dm-form-response p { margin: 0; }
.dm-form-response p + p { margin-top: 6px; }

.dm-field-error {
  display: block;
  margin: 8px 0 0;
  font-size: 14px;
  color: #ff8080;
}
.dm-input[aria-invalid="true"] { border-color: #ff8080; }

/* AJAX submit — button busy state (no page reload). The label dims and a small
   spinner rides alongside the arrow while the request is in flight. */
.dm-btn.is-loading {
  cursor: progress;
  opacity: .82;
}
.dm-btn.is-loading .dm-btn__arrow { opacity: 0; }
.dm-btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: dm-spin .7s linear infinite;
}
.dm-btn { position: relative; }

@keyframes dm-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .dm-btn.is-loading::after { animation-duration: 1.6s; }
}

.dm-form-response[tabindex] { outline: none; }

/* honeypot — never shown, never announced */
.dm-hp { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* 7b. CAPTCHA WIDGET ======================================================
   The provider renders its own widget; this just gives it room and keeps a
   reCAPTCHA v2 badge from overflowing the dark form column on small screens.
   ======================================================================= */
.dm-captcha { margin: 0 0 20px; }
.contact__form .dm-captcha { margin-top: 4px; }
.community__form .dm-captcha { margin-top: 2px; }

.dm-captcha .cf-turnstile,
.dm-captcha .g-recaptcha { display: block; }

/* reCAPTCHA v2's iframe is a fixed 304px; let it shrink on narrow screens. */
.dm-captcha--recaptcha_v2 .g-recaptcha {
  overflow: hidden;
  max-width: 100%;
}

@media (max-width: 360px) {
  .dm-captcha--recaptcha_v2 .g-recaptcha {
    transform: scale(0.86);
    transform-origin: 0 0;
  }
}

.dm-captcha__error {
  margin: 8px 0 0;
  font-size: 14px;
  color: #ff8080;
}

/* 7c. FOOTER ABOUT (global) ===============================================
   The site-wide paragraph under the footer logo. Matches .footer__description
   in the light footer.
   ======================================================================= */
.footer__about {
  margin: 18px 0 0;
  max-width: 460px;
  font-family: "Josefin Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dm-text-dark-muted);
}
.footer__about p { margin: 0 0 12px; }
.footer__about p:last-child { margin-bottom: 0; }
.footer__about a { color: var(--dm-text-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer__about a:hover { color: var(--dm-purple); }

@media (max-width: 991.98px) {
  .footer__about { max-width: none; }
}

/* 8. EDITOR CONTENT (page.php) ============================================ */
.dm-page { padding: 170px 0 100px; }
.dm-page__title {
  margin: 0 0 34px;
  font-family: var(--dm-font);
  font-size: clamp(34px, 5vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}
.dm-page__content {
  max-width: 900px;
  margin-inline: auto;
  font-family: "Josefin Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 32px;
  color: #D3D3D3;
}
.dm-page__content > * + * { margin-top: 24px; }
.dm-page__content h1, .dm-page__content h2, .dm-page__content h3,
.dm-page__content h4, .dm-page__content h5, .dm-page__content h6 {
  font-family: var(--dm-font);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.dm-page__content h2 { font-size: 40px; line-height: 1.1; }
.dm-page__content h3 { font-size: 30px; line-height: 1.15; }
.dm-page__content a { color: #F4A879; text-decoration: underline; text-underline-offset: 3px; }
.dm-page__content a:hover { color: #fff; }
.dm-page__content img { border-radius: var(--dm-radius); height: auto; }
.dm-page__content ul, .dm-page__content ol { padding-left: 24px; }
.dm-page__content table { width: 100%; }
.dm-page__content th, .dm-page__content td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  text-align: left;
}

.alignleft  { float: left;  margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { max-width: none; }
.wp-caption-text, .wp-element-caption {
  margin-top: 10px;
  font-size: 15px;
  color: var(--dm-text-muted);
  text-align: center;
}
.wp-block-image { margin: 0; }

@media (max-width: 575.98px) {
  .dm-page { padding: 120px 0 60px; }
  .dm-page__content { font-size: 16px; line-height: 26px; }
  .dm-page__content h2 { font-size: 26px; }
  .alignleft, .alignright { float: none; margin: 0 0 20px; }
}

/* 9. EMPTY STATES ========================================================= */
.dm-empty {
  max-width: 760px;
  margin: 54px auto 0;
  padding: 46px 34px;
  border: 1px dashed rgba(255, 255, 255, .22);
  border-radius: var(--dm-radius);
  text-align: center;
  font-family: "Josefin Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--dm-text-muted);
}
.dm-empty p { margin: 0; }
.dm-empty p + p { margin-top: 12px; }
.dm-empty a { color: #F4A879; text-decoration: underline; }

/* 10. ADMIN BAR =========================================================== */
body.admin-bar .dm-nav { top: 50px; }

@media (max-width: 782px) {
  body.admin-bar .dm-nav { top: 64px; }
}
