/* Southern Touch Gallery — [st_gallery_page] layout */

.st-gallery-page,
.st-gallery-page * {
  box-sizing: border-box;
}

.st-gallery-page {
  --st-red: #9f1018;
  --st-red-dark: #720b11;
  --st-black: #111111;
  --st-text: #555555;
  --st-blush: #fff5f6;
  --st-line: #ecdcdf;

  width: 100%;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
}

/* ---------- Page header ---------- */

.st-gallery-page-hero {
  padding: 78px 22px 56px;
  text-align: center;
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(159, 16, 24, 0.09),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 80%,
      rgba(159, 16, 24, 0.06),
      transparent 30%
    ),
    linear-gradient(135deg, #ffffff 0%, #fff5f6 100%);
}

.st-gallery-page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.st-gallery-page-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--st-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.st-gallery-page-hero h1 {
  margin: 0 0 16px;
  padding: 0;
  color: var(--st-black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.05;
}

.st-gallery-page-hero p {
  margin: 0 auto;
  padding: 0;
  color: var(--st-text);
  font-size: 17px;
  line-height: 1.7;
}

.st-gallery-page-line {
  width: 70px;
  height: 4px;
  margin: 22px auto 0;
  border-radius: 10px;
  background: var(--st-red);
}

/* Jump links (Weddings / Corporate / Parties) */
.st-gallery-page .st-gallery-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
}

.st-gallery-page .st-gallery-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 18px;
  border: 2px solid rgba(159, 16, 24, 0.25);
  border-radius: 999px;
  color: var(--st-red) !important;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-decoration: none !important;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.st-gallery-page .st-gallery-jump a:hover {
  color: #ffffff !important;
  background: var(--st-red);
  border-color: var(--st-red);
}

.st-gallery-page-jumpbar {
  padding: 28px 22px 0;
}

/* ---------- Sections ---------- */

.st-gallery-page .st-gallery-section {
  padding: 64px 0 24px;
  scroll-margin-top: 90px;
}

.st-gallery-page .st-gallery-section + .st-gallery-page .st-gallery-section {
  border-top: 1px solid var(--st-line);
}

.st-gallery-page .st-gallery-section:nth-of-type(even) {
  background: linear-gradient(180deg, #fffafa 0%, #ffffff 100%);
}

.st-gallery-page-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 0 22px;
  text-align: center;
}

.st-gallery-page-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--st-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.st-gallery-page-heading h2 {
  margin: 0 0 10px;
  padding: 0;
  color: var(--st-black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.12;
}

.st-gallery-page-heading p {
  margin: 0 auto;
  padding: 0;
  color: var(--st-text);
  font-size: 15px;
  line-height: 1.7;
}

/* Grid tweaks so the plugin's grid sits nicely in this page */
.st-gallery-page .st-gallery--grid .st-gallery-viewport {
  max-width: 1250px;
}

/* ---------- Closing call to action ---------- */

.st-gallery-page-cta {
  margin-top: 40px;
  padding: 64px 22px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(159, 16, 24, 0.08),
      transparent 45%
    ),
    var(--st-blush);
}

.st-gallery-page-cta h2 {
  margin: 0 0 12px;
  padding: 0;
  color: var(--st-black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.12;
}

.st-gallery-page-cta p {
  max-width: 620px;
  margin: 0 auto 26px;
  padding: 0;
  color: var(--st-text);
  font-size: 16px;
  line-height: 1.7;
}

.st-gallery-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 30px;
  border: 2px solid var(--st-red);
  border-radius: 999px;
  color: #ffffff !important;
  background: var(--st-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none !important;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.st-gallery-page-button:hover {
  color: #ffffff !important;
  background: var(--st-red-dark);
  border-color: var(--st-red-dark);
  transform: translateY(-2px);
}

.st-gallery-page-button--ghost {
  margin-left: 10px;
  color: var(--st-red) !important;
  background: transparent;
}

.st-gallery-page-button--ghost:hover {
  color: #ffffff !important;
}

/* ---------- Mobile ---------- */

@media screen and (max-width: 600px) {
  .st-gallery-page-hero {
    padding: 52px 14px 40px;
  }

  .st-gallery-page-hero p {
    font-size: 15px;
  }

  .st-gallery-page .st-gallery-jump {
    margin-top: 22px;
    gap: 8px;
  }

  .st-gallery-page .st-gallery-jump a {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 11px;
  }

  .st-gallery-page .st-gallery-section {
    padding: 44px 0 16px;
    scroll-margin-top: 70px;
  }

  .st-gallery-page-heading {
    margin-bottom: 22px;
    padding: 0 14px;
  }

  .st-gallery-page-cta {
    margin-top: 24px;
    padding: 48px 14px;
  }

  .st-gallery-page-button {
    width: 100%;
  }

  .st-gallery-page-button--ghost {
    margin: 10px 0 0;
  }
}
