/* ––––––––––– SINGLE HERO ––––––––– */

section.single-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  min-height: 620px;
  display: flex;
  align-items: flex-end;

  padding-top: calc(var(--header-height) + var(--section-padding));
  background-color: var(--color-black);
  color: var(--color-white);
}

section.single-hero::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(180deg, hsla(from var(--color-black) h s l / 0.25) 0%, hsla(from var(--color-black) h s l / 0.72) 62%, var(--color-black) 100%);

  pointer-events: none;
  user-select: none;
}

section.single-hero .single-hero__picture {
  position: absolute;
  inset: 0;
  z-index: -2;

  pointer-events: none;
  user-select: none;
}

section.single-hero .single-hero__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position, center center);

  filter: brightness(0.7);
}

section.single-hero .container {
  display: grid;
  gap: 2rem;
}

section.single-hero .single-hero__back {
  width: fit-content;

  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-base);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition: color 0.3s var(--ease);
}

section.single-hero .single-hero__content {
  display: grid;
  gap: 1rem;
  max-width: 900px;
}

section.single-hero .single-hero__label,
section.single-coach .single-hero__label {
  width: fit-content;

  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background-color: var(--color-primary);

  color: var(--color-black);
  font-weight: 800;
  font-size: var(--text-sm);
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

section.single-hero h1,
section.single-coach h1 {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--color-white);
}

section.single-hero .single-hero__content > p:not(.single-hero__label) {
  max-width: 650px;

  color: var(--color-white);
  font-weight: 500;
  font-size: var(--text-md);
  line-height: 1.55;
}

section.single-hero .single-hero__actions,
section.single-coach .single-coach__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;

  margin-top: 1rem;
}

@media (hover: hover) {
  section.single-hero .single-hero__back:hover {
    color: var(--hover-primary);
  }
}

@media screen and (min-width: 768px) {
  section.single-hero {
    min-height: 760px;
  }

  section.single-hero .container {
    gap: 3rem;
  }
}

/* ––––––––––– SINGLE CONTENT ––––––––– */

section.single-content {
  position: relative;
  overflow: visible;
  isolation: isolate;

  background-color: var(--color-black);
  color: var(--color-white);
}

section.single-content::before {
  content: "";

  position: absolute;
  top: 20%;
  right: -120px;
  z-index: -1;

  width: 260px;
  height: 260px;

  border-radius: 50%;
  background-color: hsla(from var(--color-primary) h s l / 0.12);
  filter: blur(18px);

  pointer-events: none;
  user-select: none;
}

section.single-content .container {
  display: grid;
  gap: 2rem;
}

section.single-content .single-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  display: grid;
  gap: 1rem;
  align-self: start;

  padding: 1.25rem;
  border: 1px solid hsla(from var(--color-white) h s l / 0.1);
  border-radius: 28px;
  background-color: var(--color-secondary);
}

section.single-content .single-panel::before {
  content: "";

  position: absolute;
  right: -80px;
  bottom: -80px;
  z-index: -1;

  width: 220px;
  height: 220px;

  border-radius: 50%;
  background-color: hsla(from var(--color-primary) h s l / 0.18);
  filter: blur(8px);

  pointer-events: none;
  user-select: none;
}

section.single-content .single-panel__label,
section.single-content .single-article__label,
section.single-more .single-more__head > p {
  font-weight: 800;
  font-size: var(--text-sm);
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

section.single-content .single-article__content {
  font-size: var(--text-md);
  color: var(--color-white);
  line-height: 1.6;
  letter-spacing: 0.03em;
}

section.single-content .single-article__content h1,
section.single-content .single-article__content h2,
section.single-content .single-article__content h3,
section.single-content .single-article__content h4,
section.single-content .single-article__content h5,
section.single-content .single-article__content h6 {
  color: var(--color-primary);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

section.single-content .single-article__content p {
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

section.single-content .single-article__content ul,
section.single-content .single-article__content ol {
  list-style-type: disc;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

section.single-content .single-article__content ul li,
section.single-content .single-article__content ol li {
  margin-bottom: 0.5rem;
}

section.single-content .single-article__content blockquote {
  padding: 1rem;
  border-left: 4px solid var(--color-primary);
  margin-bottom: 1.5rem;
}

section.single-content .single-article__content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

section.single-content .single-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

section.single-content .single-article__content iframe {
  width: 100%;
}

section.single-content .single-article__content th,
section.single-content .single-article__content td {
  padding: 0.75rem;
  border: 1px solid var(--color-gray);
}

section.single-content .single-panel h2,
section.single-more .single-more__head h2 {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: clamp(2rem, 1.1429rem + 3.4286vw, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--color-white);
}

section.single-content .single-panel p {
  color: var(--color-gray);
  font-size: var(--text-base);
  line-height: 1.6;
}

section.single-content .single-panel > .single-panel__label {
  color: var(--color-primary);
}

section.single-content .single-panel__text {
  display: grid;
  gap: 0.75rem;

  color: var(--color-gray);
  font-size: var(--text-base);
  line-height: 1.6;
}

section.single-content .single-panel__text p {
  margin: 0;
}

section.single-content .single-panel__text ul,
section.single-content .single-panel__text ol {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.25rem;
}

section.single-content .single-panel__text ul {
  list-style: disc;
}

section.single-content .single-panel__text ol {
  list-style: decimal;
}

section.single-content .single-panel__text a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

section.single-content .single-panel .btn {
  width: fit-content;
  margin-top: 0.5rem;
}

section.single-content .single-article {
  display: grid;
  gap: 1rem;

  color: var(--color-gray);
  font-size: var(--text-base);
  line-height: 1.75;
}

section.single-content .single-article h2,
section.single-content .single-article h3,
section.single-content .single-article h4 {
  margin-top: 1rem;

  font-family: var(--font-rubik);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-white);
}

section.single-content .single-article h2 {
  font-size: clamp(2rem, 1.4286rem + 2.2857vw, 3rem);
}

section.single-content .single-article h3 {
  font-size: clamp(1.5rem, 1.2143rem + 1.1429vw, 2rem);
}

section.single-content .single-article p,
section.single-content .single-article ul,
section.single-content .single-article ol {
  max-width: 820px;
}

section.single-content .single-article ul,
section.single-content .single-article ol {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.25rem;
}

section.single-content .single-article ul {
  list-style: disc;
}

section.single-content .single-article ol {
  list-style: decimal;
}

section.single-content .single-article strong {
  color: var(--color-white);
}

section.single-content .single-panel__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

section.single-content .single-panel__socials a {
  display: block;
  width: fit-content;

  padding: 0.65rem 0.85rem;
  border: 1px solid hsla(from var(--color-white) h s l / 0.14);
  border-radius: 999px;

  color: var(--color-white);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1;

  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

@media (hover: hover) {
  section.single-content .single-panel__socials a:hover {
    color: var(--color-black);
    border-color: var(--color-primary);
    background-color: var(--color-primary);
  }
}

@media screen and (min-width: 768px) {
  section.single-content::before {
    right: -180px;

    width: 420px;
    height: 420px;
  }

  section.single-content .container {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 3rem;
  }

  section.single-content .single-panel {
    position: sticky;
    top: calc(var(--header-height) + 2rem);

    padding: 1.5rem;
    border-radius: 36px;
  }
}

@media screen and (min-width: 1024px) {
  section.single-content .container {
    grid-template-columns: 380px 1fr;
    gap: 4rem;
  }
}

/* ––––––––––– SINGLE COACH ––––––––– */

section.single-coach {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding-top: var(--section-padding);
  background-color: var(--color-black);
  color: var(--color-white);
}

section.single-coach::before {
  content: "";

  position: absolute;
  top: 8%;
  right: -120px;
  z-index: -1;

  width: 260px;
  height: 260px;

  border-radius: 50%;
  background-color: hsla(from var(--color-primary) h s l / 0.12);
  filter: blur(18px);

  pointer-events: none;
  user-select: none;
}

section.single-coach .container {
  display: grid;
  gap: 2rem;
}

section.single-coach .single-coach__content {
  display: grid;
  gap: 1rem;
  align-content: center;
}

section.single-coach .single-hero__back {
  width: fit-content;

  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-base);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition: color 0.3s var(--ease);
}

section.single-coach .single-coach__position {
  color: var(--color-primary);
  font-weight: 800;
  font-size: var(--text-md);
  line-height: 1.2;
}

section.single-coach .single-coach__text {
  max-width: 620px;

  color: var(--color-gray);
  font-size: var(--text-base);
  line-height: 1.6;
}

section.single-coach .single-coach__media {
  display: grid;
  gap: 1rem;
}

section.single-coach .single-coach__photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  max-height: 640px;
  border: 1px solid hsla(from var(--color-white) h s l / 0.1);
  border-radius: 32px;
  background-color: var(--color-secondary);
}

section.single-coach .single-coach__photo::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(180deg, transparent 45%, hsla(from var(--color-black) h s l / 0.5) 100%);

  pointer-events: none;
  user-select: none;
}

section.single-coach .single-coach__photo picture,
section.single-coach .single-coach__photo img {
  display: block;
  width: 100%;
  height: 100%;
}

section.single-coach .single-coach__photo img {
  object-fit: cover;
  object-position: var(--image-position, center top);
}

section.single-coach .single-coach__card {
  display: grid;
  gap: 1rem;

  padding: 1rem;
  border: 1px solid hsla(from var(--color-white) h s l / 0.1);
  border-radius: 24px;
  background-color: var(--color-secondary);
}

section.single-coach .single-coach__meta .single-coach__rich-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

section.single-coach .single-coach__meta .single-coach__rich-text p {
  margin: 0;
}

section.single-coach .single-coach__meta .single-coach__rich-text ul,
section.single-coach .single-coach__meta .single-coach__rich-text ol {
  margin: 0;
  padding-left: 18px;
}

section.single-coach .single-coach__meta .single-coach__rich-text li {
  margin: 0;
}

section.single-coach .single-coach__meta .single-coach__rich-text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

section.single-coach .single-coach__meta {
  display: grid;
  gap: 0.75rem;
}

section.single-coach .single-coach__meta-item {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid hsla(from var(--color-white) h s l / 0.1);
}

section.single-coach .single-coach__meta-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

section.single-coach .single-coach__meta-item span {
  color: var(--color-primary);
  font-weight: 800;
  font-size: var(--text-sm);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

section.single-coach .single-coach__meta-item strong {
  color: var(--color-white);
  font-size: var(--text-md);
  line-height: 1.2;
}

section.single-coach .single-coach__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

section.single-coach .single-coach__tags span {
  display: block;

  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background-color: hsla(from var(--color-primary) h s l / 0.16);

  color: var(--color-white);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1;
}

@media (hover: hover) {
  section.single-coach .single-hero__back:hover {
    color: var(--hover-primary);
  }
}

@media screen and (min-width: 1024px) {
  section.single-coach::before {
    right: -180px;

    width: 420px;
    height: 420px;
  }

  section.single-coach .container {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 3rem;
  }

  section.single-coach .single-coach__photo {
    min-height: 640px;
    border-radius: 42px;
  }

  section.single-coach .single-coach__card {
    grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
    align-items: start;
    padding: 1.25rem;
    border-radius: 28px;
  }

  section.single-coach .single-coach__meta {
    gap: 1rem;
  }

  section.single-coach .single-coach__meta-item {
    padding-bottom: 1rem;
  }
}

@media screen and (min-width: 1024px) {
  section.single-coach .container {
    gap: 4rem;
  }
}

/* ––––––––––– SINGLE GALLERY ––––––––– */

section.single-gallery {
  position: relative;
  overflow: hidden;

  background-color: var(--color-black);
  color: var(--color-white);
}

section.single-gallery::before {
  content: "";

  position: absolute;
  top: 18%;
  left: -160px;
  z-index: -1;

  width: 300px;
  height: 300px;

  border-radius: 50%;
  background-color: hsla(from var(--color-primary) h s l / 0.1);
  filter: blur(18px);

  pointer-events: none;
  user-select: none;
}

section.single-gallery .container {
  display: grid;
  gap: 2rem;
}

section.single-gallery .single-gallery__head {
  display: grid;
  gap: 0.75rem;
}

section.single-gallery .single-gallery__head p {
  font-weight: 800;
  font-size: var(--text-sm);
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

section.single-gallery .single-gallery__head h2 {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: clamp(2rem, 1.1429rem + 3.4286vw, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--color-white);
}

section.single-gallery .single-gallery__slider-wrap {
  position: relative;
  min-width: 0;
}

section.single-gallery .single-gallery__slider {
  width: 100%;
  overflow: visible;

  padding-bottom: 3rem;
}

section.single-gallery .single-gallery__slide {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  min-height: 300px;
  aspect-ratio: 1 / 1.12;
  border: 1px solid hsla(from var(--color-white) h s l / 0.1);
  border-radius: 28px;
  background-color: var(--color-secondary);
}

section.single-gallery .single-gallery__slide::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(180deg, transparent 52%, hsla(from var(--color-black) h s l / 0.32) 100%);

  pointer-events: none;
  user-select: none;
}

section.single-gallery .single-gallery__item {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;

  color: inherit;
  cursor: zoom-in;
}

section.single-gallery .single-gallery__item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -6px;
}

section.single-gallery .single-gallery__item::before {
  content: "";

  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;

  width: 46px;
  height: 46px;
  border: 1px solid hsla(from var(--color-white) h s l / 0.24);
  border-radius: 50%;
  background: hsla(from var(--color-black) h s l / 0.48);
  backdrop-filter: blur(8px);

  opacity: 0.9;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

section.single-gallery .single-gallery__item::after {
  content: "";

  position: absolute;
  right: calc(1rem + 15px);
  bottom: calc(1rem + 15px);
  z-index: 3;

  width: 16px;
  height: 16px;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
  transform: rotate(-45deg);

  pointer-events: none;
}

section.single-gallery .single-gallery__slide picture {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;
}

section.single-gallery .single-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position, center center);

  transform: scale(1.02);
  transition: transform 0.45s var(--ease);
}

section.single-gallery .single-gallery__nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;

  margin-top: 1rem;
}

section.single-gallery .single-gallery__button {
  position: static;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  margin: 0;

  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background-color: var(--color-primary);

  color: var(--color-black);

  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

section.single-gallery .single-gallery__button::after {
  font-size: 18px;
  font-weight: 700;
}

section.single-gallery .single-gallery__button.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

section.single-gallery .swiper-pagination {
  bottom: 0;
}

section.single-gallery .swiper-pagination-bullet {
  width: 10px;
  height: 10px;

  background-color: var(--color-white);
  opacity: 0.35;

  transition:
    width 0.3s var(--ease),
    opacity 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

section.single-gallery .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background-color: var(--color-primary);
  opacity: 1;
}

@media (hover: hover) {
  section.single-gallery .single-gallery__button:hover {
    border-color: var(--hover-primary);
    background-color: var(--hover-primary);
    transform: translateY(-2px);
  }

  section.single-gallery .single-gallery__item:hover img {
    transform: scale(1.07);
  }

  section.single-gallery .single-gallery__item:hover::before {
    border-color: var(--color-primary);
    background-color: hsla(from var(--color-primary) h s l / 0.82);
    transform: scale(1.05);
  }
}

@media screen and (min-width: 768px) {
  section.single-gallery::before {
    left: -220px;

    width: 460px;
    height: 460px;
  }

  section.single-gallery .container {
    gap: 3rem;
  }

  section.single-gallery .single-gallery__slide {
    min-height: 360px;
    aspect-ratio: 4 / 3;
    border-radius: 36px;
  }
}

@media screen and (min-width: 1024px) {
  section.single-gallery .single-gallery__slide {
    min-height: 340px;
  }
}

@media screen and (min-width: 1440px) {
  section.single-gallery .single-gallery__slide {
    min-height: 360px;
  }
}

section.single-gallery .single-gallery-lightbox[hidden] {
  display: none !important;
}

section.single-gallery .single-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: clamp(1rem, 4vw, 3rem);
  background-color: hsla(from var(--color-black) h s l / 0.92);
  backdrop-filter: blur(12px);
}

.single-gallery-is-open,
.single-gallery-is-open body {
  overflow: hidden;
}

section.single-gallery .single-gallery-lightbox__media {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
}

section.single-gallery .single-gallery-lightbox__media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 24px 80px hsla(from var(--color-black) h s l / 0.48);
}

section.single-gallery .single-gallery-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;

  width: 52px;
  height: 52px;
  border: 1px solid hsla(from var(--color-white) h s l / 0.18);
  border-radius: 50%;
  background-color: hsla(from var(--color-black) h s l / 0.72);
  cursor: pointer;

  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

section.single-gallery .single-gallery-lightbox__close::before,
section.single-gallery .single-gallery-lightbox__close::after {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  width: 22px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-white);
}

section.single-gallery .single-gallery-lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

section.single-gallery .single-gallery-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

section.single-gallery .single-gallery-lightbox__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

@media (hover: hover) {
  section.single-gallery .single-gallery-lightbox__close:hover {
    border-color: var(--color-primary);
    background-color: hsla(from var(--color-primary) h s l / 0.82);
    transform: scale(1.05);
  }
}

@media screen and (min-width: 768px) {
  section.single-gallery .single-gallery-lightbox__close {
    top: 2rem;
    right: 2rem;
  }
}

/* ––––––––––– SINGLE MORE ––––––––– */

section.single-more {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background-color: var(--color-black);
  color: var(--color-white);
}

section.single-more .container {
  display: grid;
  gap: 2rem;
}
section.single-more .container > .btn {
  justify-self: center;
}

section.single-more .single-more__head {
  display: grid;
  gap: 0.75rem;
}

section.single-more .single-more__grid {
  display: flex;
  gap: 0.75rem;

  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  -webkit-overflow-scrolling: touch;

  margin-inline: -1rem;
  padding-inline: 1rem;
  padding-bottom: 0.75rem;

  scrollbar-width: none;
}

section.single-more .single-more__grid::-webkit-scrollbar {
  display: none;
}

section.single-more .single-more__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  flex: 0 0 min(84vw, 360px);
  scroll-snap-align: start;
  scroll-snap-stop: always;

  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.6rem;

  padding: 1.25rem;
  border: 1px solid hsla(from var(--color-white) h s l / 0.1);
  border-radius: 28px;
  background-color: var(--color-secondary);

  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

section.single-more .single-more__card picture {
  position: absolute;
  inset: 0;
  z-index: -2;
}

section.single-more .single-more__card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position, center);

  transform: scale(1.03);

  transition: transform 0.45s var(--ease);
}

section.single-more .single-more__card::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(180deg, hsla(from var(--color-black) h s l / 0.08) 0%, hsla(from var(--color-black) h s l / 0.5) 52%, hsla(from var(--color-black) h s l / 0.92) 100%);
}

section.single-more .single-more__card > span {
  width: fit-content;

  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background-color: var(--color-primary);

  color: var(--color-black);
  font-weight: 800;
  font-size: var(--text-sm);
  line-height: 1;
  text-transform: uppercase;
}

section.single-more .single-more__card h3 {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2143rem + 1.1429vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-white);
}

section.single-more .single-more__card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  color: var(--color-gray);
  font-size: var(--text-base);
  line-height: 1.45;
}

@media (hover: hover) {
  section.single-more .single-more__card:hover {
    transform: translateY(-4px);
    border-color: hsla(from var(--color-primary) h s l / 0.45);
    background-color: var(--hover-secondary);
  }

  section.single-more .single-more__card:hover picture img {
    transform: scale(1.1);
  }
}

@media screen and (min-width: 768px) {
  section.single-more .container {
    gap: 3rem;
  }

  section.single-more .single-more__grid {
    display: grid;
    grid-template-columns: var(--auto-fit);
    gap: 1rem;

    overflow: visible;
    scroll-snap-type: none;

    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
  }

  section.single-more .single-more__card {
    flex: initial;
    scroll-snap-align: none;

    min-height: 380px;
    padding: 1.5rem;
    border-radius: 36px;
  }
}
@media screen and (min-width: 1280px) {
  section.single-more .single-more__card:nth-child(3n + 3) {
    display: none;
  }
}

/* ––––––––––– SINGLE BLOG HERO ––––––––– */

section.single-blog-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  min-height: 640px;
  display: flex;
  align-items: flex-end;

  padding-top: calc(var(--header-height) + var(--section-padding));
  background-color: var(--color-black);
  color: var(--color-white);
}

section.single-blog-hero .single-blog-hero__picture {
  position: absolute;
  inset: 0;
  z-index: -2;
}

section.single-blog-hero .single-blog-hero__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: brightness(0.72);
}

section.single-blog-hero::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(180deg, hsla(from var(--color-black) h s l / 0.25) 0%, hsla(from var(--color-black) h s l / 0.58) 55%, var(--color-black) 100%);
}

section.single-blog-hero .container {
  width: 100%;
}

section.single-blog-hero .single-blog-hero__content {
  display: grid;
  gap: 1rem;

  max-width: 980px;
}

section.single-blog-hero .single-blog-hero__back {
  width: fit-content;

  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-base);
  line-height: 1;
}

section.single-blog-hero .single-blog-hero__content > p {
  width: fit-content;

  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background-color: var(--color-primary);

  color: var(--color-black);
  font-weight: 800;
  font-size: var(--text-sm);
  line-height: 1;
  text-transform: uppercase;
}

section.single-blog-hero h1 {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--color-white);
}

section.single-blog-hero .single-blog-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;

  color: var(--color-gray);
  font-size: var(--text-base);
  line-height: 1.4;
}

/* ––––––––––– SINGLE BLOG CONTENT ––––––––– */

section.single-blog-content {
  background-color: var(--color-black);
  color: var(--color-white);
}

section.single-blog-content .single-share {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  width: 100%;
  max-width: 860px;
  margin: clamp(2rem, 1.4737rem + 2.1053vw, 4rem) auto 0;
  padding: 1rem;
  border: 1px solid hsla(from var(--color-white) h s l / 0.1);
  border-radius: 28px;
  background: linear-gradient(135deg, hsla(from var(--color-primary) h s l / 0.08), transparent 48%), var(--color-secondary);
}

section.single-blog-content .single-share::before {
  content: "";

  position: absolute;
  right: -70px;
  bottom: -70px;
  z-index: -1;

  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-color: hsla(from var(--color-primary) h s l / 0.16);
  filter: blur(10px);

  pointer-events: none;
  user-select: none;
}

section.single-blog-content .single-share__title {
  margin: 0 0 0.85rem;

  color: var(--color-primary);
  font-weight: 800;
  font-size: var(--text-sm);
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

section.single-blog-content .single-share__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

section.single-blog-content .single-share__links a,
section.single-blog-content .single-share__links button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  border: 1px solid hsla(from var(--color-white) h s l / 0.16);
  border-radius: 999px;
  background-color: hsla(from var(--color-black) h s l / 0.22);
  color: var(--color-white);

  transition:
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

section.single-blog-content .single-share__links a {
  flex: 0 0 46px;
  width: 46px;
  padding: 6px;
  aspect-ratio: 1 / 1;
}

section.single-blog-content .single-share__links a svg {
  display: block;
  width: 24px;
  height: 24px;
}

section.single-blog-content .single-share__links button {
  min-width: 0;
  padding: 0.8rem 1rem;

  font-family: var(--font-manrope);
  font-weight: 800;
  font-size: var(--text-sm);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

section.single-blog-content .single-share__links a:focus-visible,
section.single-blog-content .single-share__links button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

section.single-blog-content .single-share__links a:active,
section.single-blog-content .single-share__links button:active {
  border-color: var(--active-primary);
  background-color: var(--active-primary);
  color: var(--color-black);
  transform: translateY(0);
}

@media (hover: hover) {
  section.single-blog-content .single-share__links a:hover,
  section.single-blog-content .single-share__links button:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-black);
    transform: translateY(-2px);
  }
}

@media screen and (min-width: 768px) {
  section.single-blog-content .single-share {
    padding: 1.25rem;
    border-radius: 34px;
  }
}

@media screen and (max-width: 480px) {
  section.single-blog-content .single-share__links button {
    width: 100%;
  }
}

section.single-blog-content .container {
  display: grid;
}

section.single-blog-content .single-blog-content__article {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;

  color: var(--color-gray);
  font-size: var(--text-md);
  line-height: 1.75;
}

section.single-blog-content .single-blog-content__article > * + * {
  margin-top: 1.25rem;
}

section.single-blog-content .single-blog-content__article h2,
section.single-blog-content .single-blog-content__article h3,
section.single-blog-content .single-blog-content__article h4 {
  margin-top: 2rem;

  font-family: var(--font-rubik);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-white);
}

section.single-blog-content .single-blog-content__article h2 {
  font-size: clamp(2rem, 1.5714rem + 1.7143vw, 3rem);
}

section.single-blog-content .single-blog-content__article h3 {
  font-size: clamp(1.6rem, 1.3429rem + 1.0286vw, 2.2rem);
}

section.single-blog-content .single-blog-content__article a {
  color: var(--color-primary);
  font-weight: 700;
}

section.single-blog-content .single-blog-content__article ul,
section.single-blog-content .single-blog-content__article ol {
  padding-left: 1.25rem;
}

section.single-blog-content .single-blog-content__article ul {
  list-style: disc;
}

section.single-blog-content .single-blog-content__article ol {
  list-style: decimal;
}

section.single-blog-content .single-blog-content__article img {
  width: 100%;
  border-radius: 24px;
}

@media screen and (min-width: 768px) {
  section.single-blog-hero {
    min-height: 720px;
  }

  section.single-blog-hero .single-blog-hero__content {
    gap: 1.25rem;
  }

  section.single-blog-content .single-blog-content__article {
    font-size: var(--text-md);
  }
}

/* ––––––––––– BLOG ––––––––– */

section.blog {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background-color: var(--color-black);
  color: var(--color-white);
}

section.blog::before {
  content: "";

  position: absolute;
  top: 12%;
  left: -120px;
  z-index: -1;

  width: 260px;
  height: 260px;

  border-radius: 50%;
  background-color: hsla(from var(--color-primary) h s l / 0.12);
  filter: blur(18px);

  pointer-events: none;
  user-select: none;
}

section.blog .container {
  display: grid;
  gap: 2rem;
}

section.blog .blog__head {
  display: grid;
  gap: 1.5rem;
}

section.blog .blog__head > div {
  display: grid;
  gap: 0.75rem;
}

section.blog .blog__head p {
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

section.blog .blog__head h2 {
  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--color-white);
}

section.blog .blog__head span {
  max-width: 640px;

  color: var(--color-gray);
  font-size: var(--text-base);
  line-height: 1.6;
}

section.blog .blog__grid {
  display: grid;
  grid-template-columns: var(--auto-fit);
  gap: 1rem;
}

section.blog .blog__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  min-height: 420px;
  border-radius: 28px;
  background-color: var(--color-secondary);

  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

section.blog .blog__card > a {
  position: relative;
  isolation: isolate;

  min-height: inherit;
  display: flex;
  align-items: flex-end;

  padding: 1.25rem;
}

section.blog .blog__picture {
  position: absolute;
  inset: 0;
  z-index: -2;
}

section.blog .blog__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.03);

  transition: transform 0.45s var(--ease);
}

section.blog .blog__card > a::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(180deg, hsla(from var(--color-black) h s l / 0.05) 0%, hsla(from var(--color-black) h s l / 0.45) 45%, hsla(from var(--color-black) h s l / 0.92) 100%);
}

section.blog .blog__content {
  display: grid;
  gap: 0.6rem;
}

section.blog .blog__content time {
  width: fit-content;

  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background-color: var(--color-primary);

  color: var(--color-black);
  font-weight: 800;
  font-size: var(--text-sm);
  line-height: 1;
}

section.blog .blog__content h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  font-family: var(--font-rubik);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2143rem + 1.1429vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-white);
}

section.blog .blog__content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  color: var(--color-gray);
  font-size: var(--text-base);
  line-height: 1.45;
}

section.blog .blog__content > span {
  width: fit-content;

  margin-top: 0.25rem;

  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-base);
  line-height: 1;
}

section.blog.blog--related {
  padding-top: 0;
}

@media (hover: hover) {
  section.blog .blog__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px hsla(from var(--color-black) h s l / 0.35);
  }

  section.blog .blog__card:hover .blog__picture img {
    transform: scale(1.1);
  }
}

@media screen and (min-width: 768px) {
  section.blog::before {
    left: -180px;

    width: 420px;
    height: 420px;
  }

  section.blog .container {
    gap: 3rem;
  }

  section.blog .blog__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  section.blog .blog__card {
    min-height: 460px;
    border-radius: 36px;
  }

  section.blog .blog__card > a {
    padding: 1.5rem;
  }
}
