:root {
  --pride-accent: #1f151d;
  --body-bg-colour: #121212;
  --border-colour: #573650;
}
.prides-skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
  color: #17131a;
}

.prides-skip-link:focus {
  top: 1rem;
}

body.prides-page {
  background-color: var(--body-bg-colour);
}

.prides-hero {
  position: relative;
  display: flex;
  min-height: min(82vh, 54rem);
  align-items: center;
  overflow: hidden;
  padding: 7rem max(1.5rem, calc((100% - 72rem) / 2));
  background:
    radial-gradient(
      ellipse at 78% 48%,
      rgba(139, 67, 112, 0.42),
      transparent 35%
    ),
    linear-gradient(125deg, #21151f 10%, #392039 62%, #24151f);
  color: #fff;
  isolation: isolate;
}

.prides-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.prides-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 34%,
    #000 68%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 34%,
    #000 68%
  );
}

.prides-home-link {
  position: absolute;
  top: 1.5rem;
  left: max(1.5rem, calc((100% - 72rem) / 2));
  z-index: 1;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.prides-home-link:hover {
  color: #f2c7e2;
}

.prides-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 40rem);
}

.prides-kicker,
.prides-section-kicker {
  margin: 0 0 1rem;
  color: #f2c7e2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prides-hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 7rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.prides-hero h1 span,
.prides-footer > a span {
  color: #f2a9d6;
}

.prides-intro {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
}

.prides-scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.prides-scroll-link:hover {
  border-color: #f2c7e2;
  background: rgba(242, 199, 226, 0.12);
  color: #fff;
}

.prides-scroll-link:focus-visible,
.prides-home-link:focus-visible,
.prides-footer a:focus-visible {
  outline: 3px solid #f2c7e2;
  outline-offset: 4px;
}

.prides-hero-note {
  position: absolute;
  right: max(1.5rem, calc((100% - 72rem) / 2));
  bottom: 2rem;
  z-index: 1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.prides-list {
  width: min(100% - 2rem, 120rem);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.prides-list-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.prides-section-kicker {
  margin-bottom: 0.45rem;
  color: #f2c7e2;
}

.prides-list-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 4vw, 1.5rem);
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.prides-list-heading > p {
  max-width: 27rem;
  margin: 0 0 0.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

/* ------------------------------------------- */
/* PRIDE TIMELINE & ACCORDION LAYOUT           */
/* ------------------------------------------- */

.pride-timeline-container {
  width: 100%;
  max-width: 1400px; /* WIDENED: Allows the content to fill more of the screen */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0 4rem; /* Added generous edge padding */
  box-sizing: border-box;
}

/* Two-Column Grid Row */
.pride-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding: 0 0 4rem 0; /* Removed top padding and top border */
  width: 100%;
  align-items: start;
}

/* Left side (City Name) */
.pride-timeline-left {
  position: sticky;
  top: 0; /* Set to 0 so the padding creates the visual gap */
  margin: 0;
  padding-top: 4rem; /* Replaces the row's top padding */
}

.pride-timeline-left .pride-year {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: capitalize;
  line-height: 1.1;
  display: block;
  margin: 0;
}

/* Right side (Content) */
.pride-timeline-right {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-colour); /* Border moved here */
  padding-top: 4rem; /* Matches left side padding so text aligns perfectly */
}

.pride-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #e5a9c9;
  margin-bottom: 1rem;
  display: block;
}

.pride-summary {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 3rem 0;
}

/* Year Headings above accordions */
.pride-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

/* Accordions */
.pride-accordion {
  background-color: var(--pride-accent);
  border: 1px solid var(--border-colour);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  width: 100%; /* Ensures it stretches fully across the wide right column */
  box-sizing: border-box;
}

.accordion-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.accordion-toggle:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.accordion-icon {
  color: #e5a9c9;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.accordion-content {
  max-height: 2000px;
  opacity: 1;
  padding: 0 1.5rem 1.5rem 1.5rem;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease,
    opacity 0.4s ease;
}

.accordion-content.collapsed {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

/* Image Gallery inside Accordion */
.pride-image-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-top: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #e5a9c9 transparent;
}

.pride-image-gallery figure {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.arrow_svg {
  width: 2em;
  height: 2em;
  fill: currentColor;
  padding-left: 0.2em;
}
.arrow_svg_2 {
  width: 2em;
  height: 2em;
  fill: currentColor;
  padding-left: 0.2em;
  padding-bottom: 0.2em;
}
.arrow_down_svg {
  width: 2em;
  height: 2em;
  transform: rotate(90deg);
  fill: currentColor;
  padding-left: 0.2em;
  padding-top: -10em;
}
.arrow_up_svg {
  width: 2em;
  height: 2em;
  transform: rotate(270deg);
  fill: currentColor;
  padding-left: 0.2em;
  padding-top: -0.3em;
}
.pride-image-gallery img {
  height: 400px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
}

.pride-image-gallery figcaption {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

/* ------------------------------------------- */
/* MOBILE RESPONSIVENESS                       */
/* ------------------------------------------- */
/* ------------------------------------------- */
/* MOBILE RESPONSIVENESS                       */
/* ------------------------------------------- */
@media (max-width: 900px) {
  .pride-timeline-container {
    padding: 0 1.5rem;
  }

  .pride-row {
    grid-template-columns: 1fr;
    padding: 0 0 3rem 0;
    gap: 0;
  }

  .pride-timeline-left {
    position: static;
    margin-bottom: 0;
    padding-top: 3rem; /* Replaces row padding */
  }

  .pride-timeline-left .pride-year {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  .pride-timeline-right {
    padding-top: 2rem; /* Creates space between the city name and the line */
  }

  .pride-accordion {
    margin-bottom: 1rem;
  }

  .accordion-toggle {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  .accordion-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }

  .pride-image-gallery img {
    height: 150px;
  }
}

.prides-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem max(1.5rem, calc((100% - 76rem) / 2));
  background: #21151f;
  color: rgba(255, 255, 255, 0.7);
}

.prides-footer > a {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.prides-footer p {
  margin: 0;
  font-size: 0.8rem;
}
/* Clickable Image Buttons */
.pride-image-button {
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
}

.pride-image-button:focus-visible {
  outline: 3px solid #e5a9c9;
  outline-offset: 2px;
}

.pride-image-button img {
  transition: transform 0.2s ease;
  display: block;
}

.pride-image-button:hover img {
  transform: scale(1.05); /* Slight zoom effect on hover */
}
/* ------------------------------------------- */
/* LIGHTBOX / IMAGE MODAL                      */
/* ------------------------------------------- */

.pride-lightbox {
  position: fixed;
  margin: auto;
  padding: 1.5rem;
  background: #19191b; /* Matches your accordion background */
  border: 1px solid #2a2a2c;
  border-radius: 12px;
  color: #ffffff;
  max-width: 90vw;
  max-height: 90vh;
  box-sizing: border-box;
}

/* Blur Effect on the background */
.pride-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Nice Close Button on Top Right */
.pride-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.pride-lightbox-close:hover {
  background-color: #e5a9c9; /* Pink accent hover */
  color: #121214;
  transform: scale(1.05);
}

/* Constrain the image size */
.pride-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(85vh - 6rem); /* Leaves room for caption and padding */
  width: auto;
  height: auto;
  object-fit: contain; /* Prevents stretching */
  border-radius: 8px;
  margin: 2rem auto 0 auto; /* Centers image and clears the close button */
}

/* Caption Styling */
.pride-lightbox-caption {
  text-align: center;
  margin-top: 1.25rem;
}

.pride-lightbox-title {
  margin: 0;
  font-size: 1.1rem;
  color: #e5a9c9;
  font-weight: 600;
}

.pride-lightbox-caption-text {
  margin: 0.5rem 0 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
figcaption {
  margin-bottom: 0.9em;
}
