/* =========================================================
   SD SINGLE POST - LUXURY
   ========================================================= */

.sd-single {
  --sd-red: #be1e2d;
  --sd-red-dark: #ad1420;
  --sd-green: #12382f;
  --sd-green-dark: #0b2f28;
  --sd-gold: #c9a76a;
  --sd-gold-light: #d7b769;
  --sd-text: #24312f;
  --sd-muted: #6b7280;
  --sd-border: rgba(201, 167, 106, .28);
  --sd-heading-font: "Times New Roman", Georgia, serif;
  --sd-body-font: "Inter", Arial, sans-serif;

  font-family: var(--sd-body-font);
  color: var(--sd-text);
  background:
    radial-gradient(circle at top left, rgba(201, 167, 106, .12), transparent 34%),
    linear-gradient(180deg, #fffaf2 0%, #ffffff 38%, #f8f3ea 100%);
}

.sd-single *,
.sd-single *::before,
.sd-single *::after {
  box-sizing: border-box;
}

.sd-single-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   HERO
   ========================================================= */

.sd-single-hero {
  position: relative;
  padding: 92px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(201, 167, 106, .18), transparent 42%),
    linear-gradient(135deg, #0b2f28 0%, #12382f 54%, #061d19 100%);
}

.sd-single-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sd-single-hero__bg::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -160px;
  width: 860px;
  height: 360px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(201, 167, 106, .10);
  filter: blur(2px);
}

.sd-single-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.sd-single-hero__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;
  padding: 9px 18px;

  border-radius: 999px;
  border: 1px solid rgba(201, 167, 106, .42);
  background: rgba(255, 255, 255, .06);

  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;

  color: var(--sd-gold-light);
}

.sd-single-hero__title {
  max-width: 920px;
  margin: 0 auto;

  font-family: var(--sd-heading-font);
  font-size: clamp(36px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;

  color: #fffaf2;
}

.sd-single-hero__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  margin-top: 22px;

  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: rgba(255, 250, 242, .72);
}

.sd-single-hero__meta span:nth-child(2) {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sd-gold);
}

/* =========================================================
   BODY
   ========================================================= */

.sd-single-body {
  position: relative;
  padding: 56px 0 70px;
}

.sd-single-layout {
  max-width: 920px;
  margin: 0 auto;
}

.sd-single-content {
  width: 100%;
}

.sd-single-featured {
  position: relative;
  margin: 0 0 42px;
  border-radius: 28px;
  overflow: hidden;

  background: #f4efe6;
  border: 1px solid rgba(201, 167, 106, .26);

  box-shadow:
    0 28px 70px rgba(15, 23, 42, .12),
    inset 0 1px 0 rgba(255, 255, 255, .85);
}

.sd-single-featured img {
  display: block;
  width: 100%;
  height: auto;
}

.sd-single-entry {
  position: relative;

  padding: 52px 58px;

  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,250,242,.92));

  border: 1px solid rgba(201, 167, 106, .24);

  box-shadow:
    0 22px 60px rgba(15, 23, 42, .08),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

.sd-single-entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 54px;
  right: 54px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--sd-gold), transparent);
}

.sd-single-entry p {
  margin: 0 0 22px;

  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;

  color: #33423f;
}

.sd-single-entry h2 {
  margin: 46px 0 18px;

  font-family: var(--sd-heading-font);
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.015em;

  color: var(--sd-green);
}

.sd-single-entry h3 {
  margin: 34px 0 14px;

  font-family: var(--sd-heading-font);
  font-size: clamp(23px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.18;

  color: #102f29;
}

.sd-single-entry h4 {
  margin: 28px 0 12px;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;

  color: #102f29;
}

.sd-single-entry ul,
.sd-single-entry ol {
  margin: 0 0 26px 24px;
  padding: 0;
}

.sd-single-entry li {
  margin-bottom: 10px;

  font-size: 18px;
  line-height: 1.75;

  color: #33423f;
}

.sd-single-entry a {
  color: var(--sd-red);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(190, 30, 45, .28);
}

.sd-single-entry a:hover {
  color: var(--sd-red-dark);
  border-color: rgba(190, 30, 45, .55);
}

.sd-single-entry blockquote {
  margin: 36px 0;
  padding: 28px 32px;

  border-left: 4px solid var(--sd-gold);
  border-radius: 0 22px 22px 0;

  background: rgba(18, 56, 47, .06);
}

.sd-single-entry blockquote p {
  margin: 0;

  font-family: var(--sd-heading-font);
  font-size: 26px;
  line-height: 1.45;

  color: var(--sd-green);
}

.sd-single-entry img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
}

.sd-single-entry table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  overflow: hidden;

  border-radius: 18px;
  border: 1px solid rgba(201, 167, 106, .28);
}

.sd-single-entry th,
.sd-single-entry td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(201, 167, 106, .18);

  font-size: 16px;
  line-height: 1.55;
  text-align: left;
}

.sd-single-entry th {
  background: rgba(18, 56, 47, .08);
  color: var(--sd-green);
  font-weight: 700;
}

/* =========================================================
   CTA BOX
   ========================================================= */

.sd-single-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  margin-top: 34px;
  padding: 34px 38px;

  border-radius: 30px;

  background:
    radial-gradient(circle at top left, rgba(201, 167, 106, .20), transparent 34%),
    linear-gradient(135deg, #12382f 0%, #0b2f28 100%);

  border: 1px solid rgba(201, 167, 106, .34);

  box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
}

.sd-single-cta__content {
  max-width: 620px;
}

.sd-single-cta__content span {
  display: block;

  margin-bottom: 10px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;

  color: var(--sd-gold-light);
}

.sd-single-cta__content h2 {
  margin: 0 0 12px;

  font-family: var(--sd-heading-font);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.12;

  color: #fffaf2;
}

.sd-single-cta__content p {
  margin: 0;

  font-size: 16px;
  line-height: 1.7;

  color: rgba(255, 250, 242, .76);
}

.sd-single-cta__btn {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-width: 190px;
  height: 54px;
  padding: 0 26px;

  border-radius: 999px;

  background: linear-gradient(135deg, var(--sd-red), var(--sd-red-dark));
  border: 1px solid rgba(255, 255, 255, .18);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;

  color: #ffffff;

  box-shadow: 0 14px 34px rgba(190, 30, 45, .26);

  transition: transform .25s ease, box-shadow .25s ease;
}

.sd-single-cta__btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 20px 44px rgba(190, 30, 45, .34);
}

/* =========================================================
   RELATED
   ========================================================= */

.sd-single-related {
  padding: 76px 0 90px;
  background:
    radial-gradient(circle at top right, rgba(201, 167, 106, .12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fff7eb 100%);
}

.sd-single-related__head {
  margin-bottom: 34px;
  text-align: center;
}

.sd-single-related__head span {
  display: block;

  margin-bottom: 10px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;

  color: var(--sd-red);
}

.sd-single-related__head h2 {
  margin: 0;

  font-family: var(--sd-heading-font);
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.08;

  color: var(--sd-green);
}

.sd-single-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sd-single-related__card {
  overflow: hidden;

  border-radius: 28px;

  background: rgba(255,255,255,.92);
  border: 1px solid rgba(201, 167, 106, .24);

  box-shadow:
    0 20px 54px rgba(15, 23, 42, .08),
    inset 0 1px 0 rgba(255,255,255,.85);

  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.sd-single-related__card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 167, 106, .45);
  box-shadow:
    0 28px 70px rgba(15, 23, 42, .12),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.sd-single-related__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #efe7d8;
}

.sd-single-related__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transition: transform .45s ease;
}

.sd-single-related__card:hover .sd-single-related__image img {
  transform: scale(1.05);
}

.sd-single-related__placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at center, rgba(201,167,106,.20), transparent 38%),
    linear-gradient(135deg, #12382f, #0b2f28);
}

.sd-single-related__content {
  padding: 24px 24px 26px;
}

.sd-single-related__date {
  margin-bottom: 10px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;

  color: var(--sd-gold);
}

.sd-single-related__content h3 {
  margin: 0 0 12px;

  font-family: var(--sd-heading-font);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.18;
}

.sd-single-related__content h3 a {
  color: var(--sd-green);
  text-decoration: none;
}

.sd-single-related__content h3 a:hover {
  color: var(--sd-red);
}

.sd-single-related__content p {
  margin: 0 0 18px;

  font-size: 15px;
  line-height: 1.7;

  color: #64748b;
}

.sd-single-related__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;

  color: var(--sd-red);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
  .sd-single-hero {
    padding: 76px 0 60px;
  }

  .sd-single-entry {
    padding: 42px 36px;
  }

  .sd-single-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .sd-single-related__grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .sd-single-container {
    width: min(100% - 28px, 1180px);
  }

  .sd-single-hero {
    padding: 58px 0 46px;
  }

  .sd-single-hero__title {
    font-size: clamp(31px, 8.5vw, 38px);
  }

  .sd-single-hero__meta {
    flex-wrap: wrap;
    row-gap: 8px;
    font-size: 11px;
  }

  .sd-single-body {
    padding: 34px 0 54px;
  }

  .sd-single-featured {
    margin-bottom: 24px;
    border-radius: 20px;
  }

  .sd-single-entry {
    padding: 34px 22px;
    border-radius: 24px;
  }

  .sd-single-entry::before {
    left: 28px;
    right: 28px;
  }

  .sd-single-entry p,
  .sd-single-entry li {
    font-size: 16px;
    line-height: 1.78;
  }

  .sd-single-entry h2 {
    margin-top: 38px;
  }

  .sd-single-entry blockquote {
    padding: 24px 22px;
  }

  .sd-single-entry blockquote p {
    font-size: 23px;
  }

  .sd-single-cta {
    padding: 30px 24px;
    border-radius: 24px;
  }

  .sd-single-cta__btn {
    width: 100%;
  }

  .sd-single-related {
    padding: 56px 0 72px;
  }
}