html.ara-sp-pending body.single-post::before,
html.ara-sp-ready body.single-post::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 255;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.8), transparent 0 28%),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.54), transparent 0 24%),
    linear-gradient(135deg, rgba(233, 238, 243, 0.96) 0%, rgba(244, 247, 250, 0.96) 100%);
}

html.ara-sp-pending body.single-post::before {
  opacity: 1;
}

html.ara-sp-pending body.single-post .wp-site-blocks {
  opacity: 0;
  visibility: hidden;
  transform: none;
  pointer-events: none;
}

html.ara-sp-ready body.single-post .wp-site-blocks,
html:not(.ara-sp-pending) body.single-post .wp-site-blocks {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.26s ease,
    visibility 0s linear 0s;
}

body.single-post .ara-sp-hide-original {
  display: none !important;
}

html.ara-sp-lightbox-open,
html.ara-sp-lightbox-open body {
  overflow: hidden;
}

body.single-post .ara-sp-hero__expand {
  display: none;
}

body.single-post .ara-sp-hero__lightbox {
  position: fixed;
  inset: 0;
  z-index: 460;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(10, 14, 18, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.single-post .ara-sp-hero__lightbox.is-open {
  display: flex;
}

body.single-post .ara-sp-hero__lightbox-frame {
  position: relative;
  width: min(92vw, 1040px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1015;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

body.single-post .ara-sp-hero__lightbox-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

body.single-post .ara-sp-hero__lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

@media (min-width: 901px) {
  body.single-post .ara-sp-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    min-height: min(58vh, 720px);
    margin: 0 0 38px;
    overflow: hidden;
    transform: translateX(-50%);
    background: #dfe5ea;
    color: #ffffff;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    isolation: isolate;
  }

  body.single-post .ara-sp-hero__bg,
  body.single-post .ara-sp-hero__overlay {
    position: absolute;
    inset: 0;
  }

  body.single-post .ara-sp-hero__bg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(18px) saturate(0.94) brightness(1.02);
    transform: scale(1.14);
    transform-origin: center center;
  }

  body.single-post .ara-sp-hero__overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 49.9%, rgba(117, 131, 156, 0.34) 50%, rgba(120, 135, 160, 0.42) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 28%, rgba(18, 22, 27, 0.02) 100%);
  }

  body.single-post .ara-sp-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: min(58vh, 720px);
  }

  body.single-post .ara-sp-hero__visual {
    min-height: 100%;
    overflow: hidden;
  }

  body.single-post .ara-sp-hero__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  body.single-post .ara-sp-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    padding: clamp(28px, 3vw, 40px) clamp(34px, 4vw, 64px) clamp(76px, 7vw, 98px);
  }

  body.single-post .ara-sp-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  body.single-post .ara-sp-hero__meta > span + span::before {
    content: "•";
    margin-right: 14px;
    color: rgba(255, 255, 255, 0.42);
  }

  body.single-post .ara-sp-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(28px, 2.6vw, 42px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-wrap: balance;
  }
}

@media (max-width: 900px) {
  body.single-post .ara-sp-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    min-height: 0;
    margin: 0 0 22px;
    overflow: visible;
    transform: translateX(-50%);
    background: transparent;
    color: #20262d;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    isolation: auto;
  }

  body.single-post .ara-sp-hero__bg,
  body.single-post .ara-sp-hero__overlay {
    display: none;
  }

  body.single-post .ara-sp-hero__inner {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 0;
  }

  body.single-post .ara-sp-hero__visual {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
  }

  body.single-post .ara-sp-hero__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
  }

  body.single-post .ara-sp-hero__expand {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: rgba(10, 14, 18, 0.26);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  body.single-post .ara-sp-hero__expand svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.single-post .ara-sp-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 22px 18px 0;
  }

  body.single-post .ara-sp-hero__title {
    order: 1;
    margin: 0;
    color: #13181d;
    font-size: 2rem;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: 0.005em;
    text-transform: none;
    text-wrap: balance;
  }

  body.single-post .ara-sp-hero__meta {
    order: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    color: #636c76;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  body.single-post .ara-sp-hero__meta::-webkit-scrollbar {
    display: none;
  }

  body.single-post .ara-sp-hero__meta-item {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }

  body.single-post .ara-sp-hero__meta > span + span::before {
    content: "/";
    margin: 0 10px 0 0;
    color: #a2aab3;
  }
}

@media (min-width: 768px) and (max-width: 900px) and (orientation: portrait) {
  body.single-post .ara-sp-hero__visual {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 901px) and (max-width: 1024px) and (orientation: portrait) {
  body.single-post .ara-sp-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    min-height: 0;
    margin: 0 0 22px;
    overflow: visible;
    transform: translateX(-50%);
    background: transparent;
    color: #20262d;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    isolation: auto;
  }

  body.single-post .ara-sp-hero__bg,
  body.single-post .ara-sp-hero__overlay {
    display: none;
  }

  body.single-post .ara-sp-hero__inner {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 0;
  }

  body.single-post .ara-sp-hero__visual {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
  }

  body.single-post .ara-sp-hero__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
  }

  body.single-post .ara-sp-hero__expand {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: rgba(10, 14, 18, 0.26);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  body.single-post .ara-sp-hero__expand svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.single-post .ara-sp-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 22px 18px 0;
  }

  body.single-post .ara-sp-hero__title {
    order: 1;
    margin: 0;
    color: #13181d;
    font-size: 2rem;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: 0.005em;
    text-transform: none;
    text-wrap: balance;
  }

  body.single-post .ara-sp-hero__meta {
    order: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    color: #636c76;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  body.single-post .ara-sp-hero__meta::-webkit-scrollbar {
    display: none;
  }

  body.single-post .ara-sp-hero__meta-item {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }

  body.single-post .ara-sp-hero__meta > span + span::before {
    content: "/";
    margin: 0 10px 0 0;
    color: #a2aab3;
  }
}
