/* Base layout */
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #4a4a4a;
  background-color: #ffffff;
}

.site-main {
  min-height: 60vh;
}

/* Header */
.af-header {
  background-color: #111111;
  color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  min-height: 204px;
  position: relative;
  z-index: 1000;
}

.af-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.af-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #ffffff;
  margin-left: 80px;
}

.af-logo img {
  width: 119px;
  height: auto;
  display: block;
  margin: 0 0 5px;
}

.af-logo-text {
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #f9cc0a;
  margin-top: 0;
}

.af-nav {
  flex: 1 1 auto;
  margin-left: -36px;
}

.af-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 38px;
  flex-wrap: nowrap;
}

.af-nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

.af-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #f9cc0a;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.af-nav-item.is-active .af-nav-link::after,
.af-nav-link:hover::after,
.af-nav-link:focus-visible::after {
  transform: scaleX(1);
}

.af-header-social {
  display: flex;
  align-items: center;
  gap: 0;
}

.af-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10%;
  background-color: transparent;
  text-decoration: none;
}

.af-social-link svg {
  width: 17px;
  height: 17px;
  fill: #f9cc0a;
  display: block;
  margin: 0;
}

/* Match original: both icons 34x34, 10% radius */
.af-header-social .af-social-link:first-child,
.af-header-social .af-social-link:last-child {
  width: 34px;
  height: 34px;
  border-radius: 10%;
}

.af-nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.af-nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background-color: #f9cc0a;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Simple footer matching live site layout */
.af-footer {
  background-color: #111111;
  color: #ffffff;
  padding: 0;
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
}

/* Sponsors strip above footer */
.af-sponsors-strip {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 56px 0 44px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
  border-top: 1px solid #ececec;
}

.af-sponsors-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.af-sponsors-strip-header {
  text-align: center;
  margin-bottom: 28px;
}

.af-sponsors-strip-eyebrow {
  margin: 0 0 4px;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f9cc0a;
}

.af-sponsors-strip-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111111;
}

.af-sponsors-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  justify-content: center;
}

.af-sponsors-strip-item {
  margin: 0;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  background-color: #ffffff;
  border: 1px solid #efefef;
}

.af-sponsors-strip-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  text-decoration: none;
}

.af-sponsors-strip-link:focus-visible {
  outline: 2px solid #f9cc0a;
  outline-offset: 2px;
}

.af-sponsors-strip-item img {
  display: block;
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.25s ease;
}

.af-sponsors-strip-item:hover img,
.af-sponsors-strip-item:focus-within img {
  transform: translateY(-1px) scale(1.01);
}

.af-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0;
}

.af-footer-top {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  align-items: center;
  padding: 32px 0 32px;
}

.af-footer-logo {
  flex: 0 0 33.333%;
  display: flex;
  justify-content: center;
}

.af-footer-logo img {
  width: 191px;
  height: 191px;
  display: block;
}

.af-footer-columns {
  display: flex;
  flex: 0 0 66.667%;
  gap: 32px;
  justify-content: flex-start;
}

.af-footer-columns > div {
  flex: 0 0 50%;
}

.af-footer-heading {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 12px;
}

.af-footer-links,
.af-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.af-footer-links li + li,
.af-footer-contact li + li {
  margin-top: 4px;
}

.af-footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.af-footer-contact-icon svg {
  width: 14px;
  height: 14px;
  fill: #f9cc0a;
  display: block;
}

.af-footer a {
  color: #ffffff;
  text-decoration: none;
}

.af-footer a:hover {
  color: #f8b803;
}

.af-footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  margin: 20px 0 20px;
}

.af-footer-bottom {
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Mobile */
@media (max-width: 900px) {
  .af-header {
    min-height: auto;
  }

  .af-header-inner {
    max-width: 100%;
    padding: 16px 16px;
    justify-content: center;
  }

  .af-logo {
    margin-left: 0;
  }

  .af-logo img {
    width: 72px;
  }

  .af-header-social {
    display: none;
  }

  .af-nav-list {
    flex-direction: column;
  }

  .af-nav-item {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
  }

  .af-nav-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .af-nav-link {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Active mobile item – yellow bar with black text */
  .af-nav-item.is-active {
    background-color: #f9cc0a;
  }

  .af-nav-item.is-active .af-nav-link {
    color: #111111;
  }

  .af-nav-item.is-active .af-nav-link::after {
    display: none;
  }

  .af-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .af-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    background-color: #111111;
    border-top: none;
    display: none;
  }

  .af-nav-list {
    flex-direction: column;
    align-items: center;
    padding: 12px 0 16px;
    gap: 10px;
  }

  .af-header.af-nav-open .af-nav {
    display: block;
  }

  .af-header.af-nav-open .af-nav-toggle-bar:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .af-header.af-nav-open .af-nav-toggle-bar:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .af-header-inner {
    position: relative;
  }

  .af-footer-top {
    flex-direction: column;
    align-items: center;
  }

  .af-footer-columns {
    flex-direction: column;
  }

  .af-footer-logo {
    flex: 0 0 auto;
    margin: 0 auto;
  }

  .af-sponsors-strip {
    padding: 40px 0 34px;
  }

  .af-sponsors-strip-title {
    font-size: 28px;
  }
}

@media (min-width: 700px) {
  .af-sponsors-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .af-sponsors-strip-inner {
    padding: 0 40px;
  }

  .af-sponsors-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1000px;
  }

  .af-sponsors-strip-item {
    min-height: 110px;
  }

  .af-sponsors-strip-item img {
    max-height: 70px;
  }
}

.af-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px 0;
}

.af-page-home {
  padding-top: 0;
}

.af-home-top-banner {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 36px;
  display: block;
  text-decoration: none;
  background-color: #000000;
}

.af-home-top-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.af-home-top-banner:focus-visible {
  outline: 3px solid #f9cc0a;
  outline-offset: -3px;
}

.af-page-rodo {
  padding-top: 0;
}

.af-page-gallery {
  padding-top: 0;
}

.af-page-contact {
  padding-top: 0;
}

@media (min-width: 900px) {
  .af-home-top-banner {
    margin-bottom: 100px;
  }

  .af-page {
    padding: 60px 40px 0;
  }

  .af-page-home {
    padding-top: 0;
  }

  .af-page-rodo {
    padding-top: 0;
  }

  .af-page-gallery {
    padding-top: 0;
  }

  .af-page-contact {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .af-home-top-banner {
    overflow: hidden;
  }

  .af-home-top-banner img {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    min-height: 0;
  }
}

/* Generic section header */
.af-section-header {
  text-align: center;
  margin: 0 0 32px;
}

/* Sponsors page – left-align section header */
.af-page-sponsors .af-section-header,
.af-page-sponsors .af-section-header .af-section-eyebrow,
.af-page-sponsors .af-section-header .af-section-title {
  text-align: left;
}

/* Plan page – left-align section header */
.af-page-plan .af-section-header,
.af-page-plan .af-section-header .af-section-eyebrow,
.af-page-plan .af-section-header .af-section-title {
  text-align: left;
}

.af-section-eyebrow {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  color: #f9cc0a;
  margin: 0 0 6px;
}

.af-page-rodo .af-section-eyebrow {
  line-height: 14px;
  max-width: 823px;
  margin: 0 auto;
  margin-bottom: 0;
}

.af-section-title {
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

@media (min-width: 900px) {
  .af-section-title {
    font-size: 38px;
  }
}

/* RODO page */
.af-page-rodo .af-section-header {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  margin-top: 0;
  margin-bottom: 0;
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
  background-image: url("../images/GUCI5768-2048x1366.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.af-page-rodo .af-section-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #000000;
  opacity: 0.55;
}

.af-page-rodo .af-section-header > * {
  position: relative;
  z-index: 1;
}

.af-page-rodo .af-section-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #f9cc0a;
  margin-bottom: 10px;
}

.af-page-rodo .af-section-title {
  font-size: 61px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 1.2px;
  color: #e5e5e5;
}

/* Gallery page hero – only when section header is direct child (hero removed from gallery index) */
.af-page-gallery > .af-section-header {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  margin-top: 0;
  margin-bottom: 0;
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
  background-image: url("../images/GUCI5768-2048x1366.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.af-page-gallery > .af-section-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #000000;
  opacity: 0.55;
}

.af-page-gallery > .af-section-header > * {
  position: relative;
  z-index: 1;
}

/* Contact page – header in right column, same styling as about */
.af-page-section-content--contact-info .af-section-header,
.af-page-section-content--contact-info .af-section-header .af-section-eyebrow,
.af-page-section-content--contact-info .af-section-header .af-section-title {
  text-align: left;
}

.af-page-section-content--contact-info .af-section-header {
  margin-bottom: 32px;
}

.af-page-section-content--contact-info .af-section-eyebrow {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  color: #f9cc0a;
  margin: 0 0 6px;
}

.af-page-section-content--contact-info .af-section-title {
  font-family: "Oswald", sans-serif;
  font-size: 50px;
  font-weight: 500;
  margin: 10px 0 0 0;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000000;
}

.af-page-gallery > .af-section-header .af-section-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #f9cc0a;
  margin-bottom: 10px;
}

.af-page-gallery > .af-section-header .af-section-title {
  font-size: 61px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 1.2px;
  color: #e5e5e5;
}

@media (max-width: 1024px) {
  .af-page-rodo .af-section-header {
    padding: 60px 15px 80px;
  }

  .af-page-rodo .af-section-title {
    font-size: 56px;
  }
}

@media (max-width: 767px) {
  .af-page-rodo .af-section-header {
    padding: 40px 0 50px;
  }

  .af-page-rodo .af-section-eyebrow {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .af-page-rodo .af-section-title {
    font-size: 26px;
    line-height: 1.4;
    letter-spacing: 0;
  }
}

@media (max-width: 1024px) {
  .af-page-section-content--contact-info .af-section-title {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .af-page-section-content--contact-info .af-section-title {
    font-size: 20px;
    line-height: 1.4;
  }
}

.af-page-section--rodo {
  margin-top: 0;
  padding: 0 0 80px;
}

.af-page-section--rodo .af-page-rich-text {
  max-width: 1240px;
  margin: 0 auto;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
}

.af-page-section--rodo .af-page-rich-text h4 {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin: 18px 0 8px;
  text-transform: none;
}

.af-page-section--rodo .af-page-rich-text ul {
  margin: 0 0 24px;
  padding-left: 1.25em;
}

.af-page-section--rodo .af-page-rich-text li {
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .af-page-section--rodo {
    padding: 60px 10px;
  }
}

@media (max-width: 767px) {
  .af-page-section--rodo {
    padding: 40px 10px;
  }

  .af-page-section--rodo .af-page-rich-text {
    font-size: 16px;
  }
}

/* Home hero */
.af-page-home .af-home-hero {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

.af-home-hero {
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: #ffffff;
  background-image: url("../images/GUCI6304-scaled.jpg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.af-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #111111;
  opacity: 0.8;
}

.af-home-hero-inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.af-home-hero-date {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 8px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.af-home-hero-tagline {
  margin: 0 auto 6px;
  max-width: 34em;
  font-family: "Oswald", sans-serif;
  font-size: clamp(13px, 2.8vw, 17px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f9cc0a;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.af-home-hero-title {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 12px 0 20px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.13);
}

@media (min-width: 768px) {
  .af-home-hero-inner {
    max-width: 768px;
  }

  .af-home-hero-title {
    font-size: 103px;
    line-height: 1.2;
  }
}

.af-home-hero-text p {
  margin: 0 0 20px;
  font-family: "DM Sans", sans-serif;
}

/* Facebook follow link (hero + inner pages via partial) */
.af-facebook-follow {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.af-facebook-follow__link {
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.af-facebook-follow:not(.af-facebook-follow--dark) .af-facebook-follow__link:hover {
  color: #000000;
  border-bottom-color: #f9cc0a;
}

.af-facebook-follow--dark .af-facebook-follow__link {
  color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.af-facebook-follow--dark .af-facebook-follow__link:hover {
  color: #ffffff;
  border-bottom-color: #f9cc0a;
}

.af-facebook-follow__link:focus-visible {
  outline: 2px solid #f9cc0a;
  outline-offset: 4px;
  border-bottom-color: transparent;
}

.af-facebook-follow--after-hero-cta {
  margin-top: 22px;
}

.af-facebook-follow--after-about-cta {
  margin-top: 20px;
}

.af-facebook-follow--after-plan-text {
  margin-top: 24px;
}

.af-facebook-follow--button.af-facebook-follow--after-plan-text {
  margin-top: 28px;
}

/* Facebook CTA button (e.g. plan imprezy) — same shape as yellow CTAs, Meta blue */
.af-facebook-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: 52px;
  padding: 17px 32px;
  border: none;
  border-radius: 0;
  background-color: #1877f2;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.af-facebook-cta-button:hover {
  background-color: #0d65dd;
  color: #ffffff;
}

.af-facebook-cta-button:active {
  transform: translateY(1px);
}

.af-facebook-cta-button:focus-visible {
  outline: 3px solid #f9cc0a;
  outline-offset: 3px;
}

.af-facebook-cta-button__icon {
  display: flex;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.af-facebook-cta-button__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 479px) {
  .af-facebook-cta-button {
    font-size: 14px;
    padding: 15px 22px;
    letter-spacing: 0.5px;
    gap: 10px;
  }

  .af-facebook-cta-button__icon {
    width: 20px;
    height: 20px;
  }
}

.af-home-hero-button {
  /* Inherit styles from .af-contact-cta-button */
}

@media (max-width: 1024px) {
  .af-home-hero {
    padding: 100px 15px 80px;
    background-position: center center;
  }

  .af-home-hero::before {
    opacity: 0;
  }

  .af-home-hero-inner {
    max-width: 1600px;
  }

  .af-home-hero-title {
    font-size: 48px;
  }
}

@media (max-width: 767px) {
  .af-home-hero {
    padding: 30px 0 40px;
  }

  .af-home-hero-title {
    font-size: 35px;
    line-height: 1.4;
  }

  .af-home-hero-date {
    font-size: 11px;
    letter-spacing: 0;
  }

  .af-home-hero-tagline {
    letter-spacing: 0.08em;
    padding: 0 8px;
  }

  .af-home-hero .af-facebook-follow {
    font-size: 14px;
    padding: 0 12px;
  }

  .af-home-hero::before {
    opacity: 0.45;
  }

  /* Sponsors page – reduce image height on mobile */
  .af-page-section--sponsors .af-page-section-media img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
  }
}

/* Two-column helper */
.af-page-section {
  margin-top: 40px;
  padding-bottom: 100px;
}

.af-page-section-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.af-page-section-inner--reverse {
  flex-direction: column;
}

.af-page-section-media {
  flex: 1 1 0;
}

.af-page-section-content {
  flex: 1 1 0;
}

@media (min-width: 900px) {
  .af-page-section-inner {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .af-page-section-inner--reverse {
    flex-direction: row-reverse;
  }

  /* For plan page, align columns to top */
  .af-page-section--plan-intro .af-page-section-inner {
    align-items: flex-start;
  }

  /* Home about: align video to top of its cell */
  .af-home-about .af-page-section-inner {
    align-items: flex-start;
  }

  /* Sponsors page: give more room to text than image */
  .af-page-section--sponsors .af-page-section-media {
    flex: 1 1 0;
    max-width: 46%;
  }

  .af-page-section--sponsors .af-page-section-content {
    flex: 1 1 0;
    max-width: 54%;
  }

  .af-page-section--sponsors .af-page-section-inner {
    align-items: flex-start;
  }

  .af-page-section--sponsors .af-page-section-media img {
    display: block;
    width: 100%;
    height: 700px;
    object-fit: cover;
  }

  .af-page-section--sponsors .af-page-rich-text {
    font-size: 17px;
  }
}

.af-page-section-video,
.af-page-section-image {
  border-radius: 8px;
  overflow: hidden;
}

.af-page-section-video {
  aspect-ratio: 16 / 9;
}

.af-page-section-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Plan page – media without rounded corners and tight video fit */
.af-page-plan .af-page-section-video,
.af-page-plan .af-page-section-image {
  border-radius: 0;
}

.af-page-plan .af-page-section-video {
  aspect-ratio: 16 / 9;
}

.af-page-plan .af-page-section-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Plan page – spacing between video and image, fixed image height on desktop */
.af-page-plan .af-page-section--plan-intro .af-page-section-video {
  margin-bottom: 40px;
}

@media (min-width: 900px) {
  .af-page-plan .af-page-section--plan-intro .af-page-section-image img {
    height: 800px;
    object-fit: cover;
  }
}

.af-page-section-image img {
  display: block;
  width: 100%;
  height: auto;
}

.af-page-section-content p {
  margin: 0 0 10px;
}

/* Home about */
.af-home-about {
  margin-top: 0;
  padding: 100px 0;
}

.af-home-about-video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.af-home-about-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 899px) {
  .af-home-about .af-page-section-media {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
  }
}

.af-home-about .af-section-header,
.af-home-about .af-section-header .af-section-eyebrow,
.af-home-about .af-section-header .af-section-title {
  text-align: left;
}

.af-home-about .af-section-title {
  font-size: 50px;
  font-weight: 500;
  margin: 10px 0 0 0;
  line-height: 1.4;
}

.af-home-about-text,
.af-home-about-text p,
.af-home-about-extra p {
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 25.5px;
  color: #000000;
}

.af-home-about-text p,
.af-home-about-extra p {
  margin: 0 0 20px;
}

.af-home-about-text ul {
  margin: 0 0 10px 20px;
  padding: 0;
}

.af-home-about-text li {
  margin-bottom: 4px;
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 25.5px;
  color: #000000;
}

.af-home-about-extra {
  margin-top: 16px;
}

.af-home-about-extra h3 {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.af-home-about-button {
  display: inline-block;
  margin-top: 8px;
  padding: 17px 32px;
  border-radius: 0;
  border: none;
  background-color: #f9cc0a;
  color: #111111;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.af-home-about-button::after {
  content: " \2192";
  display: inline-block;
  margin-left: 0.6em;
  font-size: 1.1em;
  line-height: 1;
}

.af-home-about-button:hover {
  background-color: #23352f;
  color: #ffffff;
}

/* Home "Co Cię czeka" */
.af-home-what-awaits {
  margin-top: 0;
  padding: 0 0 100px;
}

@media (max-width: 1024px) {
  .af-home-about {
    padding: 60px 0;
  }

  .af-home-about .af-section-title {
    font-size: 38px;
  }

  .af-home-what-awaits {
    padding: 0 0 60px;
  }
}

@media (max-width: 767px) {
  .af-home-about {
    padding: 40px 0;
  }

  .af-home-about .af-section-title {
    font-size: 20px;
    line-height: 1.4;
  }

  .af-home-what-awaits {
    padding: 0 0 40px;
  }
}

.af-home-what-awaits-intro {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
  font-family: "DM Sans", sans-serif;
}

/* Registration page – tighten vertical spacing */
.af-page-registration .af-page-section {
  margin-top: 28px;
  padding-bottom: 80px;
}

.af-page-section--registration-intro {
  margin-top: 24px;
  padding-bottom: 40px;
}

.af-page-section--registration-intro .af-section-header {
  margin-bottom: 20px;
}

.af-home-what-awaits-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}

@media (min-width: 700px) {
  .af-home-what-awaits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.af-home-what-card {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #e8e8e8;
}

.af-home-what-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  line-height: 0;
}

.af-home-what-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
  transition: transform 0.4s ease;
}

.af-home-what-card:hover .af-home-what-card-img {
  transform: scale(1.08);
}

.af-home-what-card-content {
  padding: 20px 24px 22px;
  background-color: #f2f2f2;
  text-align: center;
}

.af-home-what-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 32.2px;
  text-transform: uppercase;
  text-align: center;
  color: #000000;
  margin: 0 0 15px;
}

.af-home-what-card p {
  margin: 0;
  padding: 0;
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
  color: #000000;
  box-sizing: border-box;
}

/* Contact CTA */
.af-contact-cta {
  margin-top: 0;
  border-radius: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: 80px 0;
  background-image: url("../images/GUCI5337-scaled.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
}

.af-contact-cta-inner {
  max-width: 823px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.af-contact-cta-action {
  display: inline-block;
  background-color: #f9cc0a;
}

.af-contact-cta-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #f9cc0a;
  margin: 0;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
}

.af-contact-cta-title {
  font-family: "Oswald", sans-serif;
  font-size: 61px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 1.2px;
  margin: 0;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.55);
}

.af-contact-cta-button {
  display: inline-block;
  padding: 17px 32px;
  border-radius: 0;
  border: none;
  background-color: transparent;
  color: #111111;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.af-contact-cta-button::after {
  content: " \2192";
  display: inline-block;
  margin-left: 0.6em;
  font-size: 1.1em;
  line-height: 1;
}

.af-contact-cta-button:hover {
  background-color: #23352f;
  color: #ffffff;
}

/* Contact CTA overlay */
.af-contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #000000;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 1024px) {
  .af-contact-cta {
    padding: 40px 0 60px;
  }

  .af-contact-cta-title {
    font-size: 56px;
  }
}

@media (max-width: 767px) {
  .af-contact-cta {
    padding: 40px 0;
  }

  .af-contact-cta-eyebrow {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .af-contact-cta-title {
    font-size: 26px;
    line-height: 1.4;
    letter-spacing: 0;
  }

  .af-contact-cta-button,
  .af-home-about-button {
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* Forms */
.af-form {
  display: block;
}

.af-form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.af-form-row--stack {
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 700px) {
  .af-form-row {
    flex-direction: row;
  }
}

.af-form-row label {
  flex: 1 1 0;
  font-size: 13px;
}

.af-form-required {
  color: #d90429;
  margin-left: 2px;
}

.af-form-row input,
.af-form-row select,
.af-form-row textarea {
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #d1d1d1;
  font: inherit;
  box-sizing: border-box;
}

.af-form--contact .af-form-row input,
.af-form--contact .af-form-row select,
.af-form--contact .af-form-row textarea {
  background-color: #f2f2f2;
  border-color: #e0e0e0;
  padding: 10px 12px;
}

.af-form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.af-form-error {
  color: #d90429;
  font-size: 12px;
  line-height: 1.4;
}

.af-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
}

.af-form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: auto;
}

.af-form--contact .af-form-checkbox {
  font-size: 13px;
  color: #333333;
  flex-direction: row;
  align-items: center;
}

.af-form--contact .af-form-checkbox a {
  color: #0693e3;
  text-decoration: underline;
}

.af-form--contact .af-form-checkbox a:hover {
  text-decoration: none;
}

.af-form-actions {
  margin-top: 10px;
}

.af-form-actions button {
  padding: 10px 28px;
  border-radius: 999px;
  border: 1px solid #111111;
  background-color: #111111;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.af-form--contact .af-form-actions button {
  display: block;
  width: 100%;
  padding: 14px 28px;
  border-radius: 0;
  border: none;
  background-color: #f9cc0a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.af-form-actions button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.af-form-note {
  margin-top: 6px;
  font-size: 12px;
  color: #555555;
}

.af-form-note--warning {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #5c4a00;
  background-color: #fff8e1;
  border: 1px solid #f9cc0a;
  border-radius: 4px;
}

.af-registration-callout {
  margin: 16px 0;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #5c4a00;
  background-color: #fff8e1;
  border: 1px solid #f9cc0a;
  border-radius: 4px;
}

/* Registration form – button like contact (yellow, full width) */
.af-form--registration .af-form-actions button {
  display: block;
  width: 100%;
  padding: 14px 28px;
  border-radius: 0;
  border: none;
  background-color: #f9cc0a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

/* Registration page – layout and typography (match original) */
.af-page-registration strong {
  font-size: 110%;
}

.af-page-section--registration-intro .af-page-section-content {
  max-width: 100%;
}

.af-page-section--registration-intro .af-section-header,
.af-page-section--registration-intro .af-section-header .af-section-eyebrow,
.af-page-section--registration-intro .af-section-header .af-section-title {
  text-align: center;
}

.af-page-section--registration-intro .af-page-rich-text p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.6;
  color: #333333;
}

.af-page-section--registration-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 900px) {
  .af-page-section--registration-details {
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 32px;
  }

  .af-page-section--registration-details .af-page-section-content {
    flex: 1.1 1 0;
    min-width: 0;
  }

  .af-page-section--registration-details .af-page-section-form {
    flex: 0.9 1 0;
    min-width: 0;
    max-width: 560px;
  }
}

.af-page-section--registration-details .af-page-section-content h3 {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 24px 0 10px;
  color: #000000;
}

.af-page-section--registration-details .af-page-section-content h3:first-child {
  margin-top: 0;
}

.af-registration-event-lead {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
}

.af-page-section--registration-details .af-page-section-content > p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
}

.af-registration-pricing-days {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.af-registration-pricing-days li {
  margin-bottom: 4px;
}

.af-page-section--registration-details .af-page-section-content ul,
.af-page-section--registration-details .af-page-section-content ol {
  margin: 0 0 16px 20px;
  padding: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #333333;
}

.af-page-section--registration-details .af-page-section-content li {
  margin-bottom: 6px;
}

.af-page-section--registration-details .af-page-section-content ol {
  list-style-type: decimal;
}

/* Registration notes – icon list (match original) */
.af-registration-notes {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

.af-registration-notes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.af-registration-notes li::before {
  content: none;
}

.af-page-section-content--contact-info .af-page-rich-text,
.af-page-section-content--contact-info .af-page-rich-text p {
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 25.5px;
  color: #000000;
}

.af-page-section-content--contact-info .af-page-rich-text p {
  margin: 0 0 20px;
}

.af-page-section-content--contact-info .af-page-rich-text p:last-child {
  margin-bottom: 0;
}

.af-page-section-content--contact-info .af-page-rich-text strong {
  font-weight: 600;
}

/* Gallery */
.af-gallery-grid {
  margin-top: 32px;
}

.af-gallery-grid-inner {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 600px) {
  .af-gallery-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .af-gallery-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.af-gallery-item {
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4 / 3;
}

.af-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.af-gallery-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 767px) {
  .af-gallery-grid {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
  }

  .af-gallery-grid-inner {
    gap: 0;
  }

  .af-gallery-item {
    aspect-ratio: auto;
  }

  .af-gallery-item img {
    height: 240px;
  }
}

/* Gallery index – one row per edition (2 columns: text left, rotating image right) */
.af-gallery-editions {
  margin-top: 40px;
  padding-bottom: 40px;
}

.af-gallery-editions .af-page-section {
  padding-bottom: 80px;
}

.af-gallery-editions .af-page-section:last-of-type {
  padding-bottom: 60px;
}

/* Left column: no background, same style as ADVENTURE FEST / ZOSTAŃ NASZYM SPONSOREM */
.af-page-section--gallery-edition .af-page-section-inner,
.af-page-section--gallery-edition .af-page-section-content {
  background: none;
}

.af-page-section--gallery-edition .af-section-header,
.af-page-section--gallery-edition .af-section-header .af-section-eyebrow,
.af-page-section--gallery-edition .af-section-header .af-section-title {
  text-align: left;
}

.af-page-section--gallery-edition .af-section-eyebrow {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  color: #e6c24f;
  margin: 0 0 6px;
}

.af-page-section--gallery-edition .af-section-title {
  font-family: "Oswald", sans-serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4a4a4a;
  margin: 0;
}

@media (min-width: 900px) {
  .af-page-section--gallery-edition .af-page-section-inner {
    align-items: flex-start;
  }

  .af-page-section--gallery-edition .af-section-title {
    font-size: 42px;
  }
}

.af-gallery-edition-content .af-gallery-edition-location {
  font-size: 17px;
  color: #4a4a4a;
  margin: 12px 0 0;
}

.af-gallery-edition-desc {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: #4a4a4a;
}

.af-gallery-edition-desc p {
  margin: 0 0 12px;
}

.af-gallery-edition-cta-link {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  border-radius: 0;
  border: none;
  background-color: #f9cc0a;
  color: #111111;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.af-gallery-edition-cta-link:hover {
  background-color: #23352f;
  color: #ffffff;
}

/* Right column: link to edition gallery + rotating images (fade in/out) */
.af-gallery-edition-rotating-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.af-gallery-edition-rotating-link:hover .af-gallery-edition-rotating-img.is-active {
  transform: scale(1.02);
}

.af-gallery-edition-rotating {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
}

.af-gallery-edition-rotating-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.3s ease;
}

.af-gallery-edition-rotating-img.is-active {
  opacity: 1;
  z-index: 1;
}

@media (min-width: 900px) {
  .af-page-section--gallery-edition .af-page-section-media {
    flex: 1 1 0;
  }

  .af-page-section--gallery-edition .af-page-section-content {
    flex: 1 1 0;
  }
}

/* Gallery edition page – header (year + location) */
.af-gallery-edition-header {
  margin-top: 32px;
  margin-bottom: 24px;
}

.af-gallery-edition-header-inner {
  text-align: center;
}

.af-gallery-edition-back {
  display: inline-block;
  font-size: 14px;
  color: #333333;
  text-decoration: none;
  margin-bottom: 16px;
}

.af-gallery-edition-back:hover {
  color: #111111;
  text-decoration: underline;
}

.af-gallery-edition-header .af-section-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: #f9cc0a;
}

.af-gallery-edition-header .af-section-title {
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #111111;
  margin: 8px 0 0;
}

.af-gallery-edition-location {
  font-size: 17px;
  color: #555555;
  margin: 12px 0 0;
}

/* Gallery edition – carousel */
.af-gallery-carousel-wrap {
  position: relative;
  margin: 0 -20px 32px;
  padding: 0 44px;
}

@media (min-width: 900px) {
  .af-gallery-carousel-wrap {
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 56px;
    padding-right: 56px;
  }
}

.af-gallery-carousel {
  overflow: hidden;
  border-radius: 0;
}

.af-gallery-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}

.af-gallery-carousel-track::-webkit-scrollbar {
  height: 6px;
}

.af-gallery-carousel-track::-webkit-scrollbar-track {
  background: #eee;
}

.af-gallery-carousel-track::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.af-gallery-carousel-slide {
  flex: 0 0 auto;
  width: 85%;
  max-width: 520px;
  margin: 0;
  scroll-snap-align: center;
}

@media (min-width: 600px) {
  .af-gallery-carousel-slide {
    width: 70%;
    max-width: 640px;
  }
}

@media (min-width: 900px) {
  .af-gallery-carousel-slide {
    width: 50%;
    max-width: 720px;
  }
}

.af-gallery-carousel-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
}

.af-gallery-carousel-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.af-gallery-carousel-link:hover img {
  transform: scale(1.03);
}

.af-gallery-carousel-prev,
.af-gallery-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.af-gallery-carousel-prev:hover,
.af-gallery-carousel-next:hover {
  background: rgba(0, 0, 0, 0.75);
}

.af-gallery-carousel-prev {
  left: 8px;
}

.af-gallery-carousel-next {
  right: 8px;
}

@media (min-width: 900px) {
  .af-gallery-carousel-prev {
    left: 12px;
  }

  .af-gallery-carousel-next {
    right: 12px;
  }
}

.af-gallery-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.af-gallery-carousel-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.af-gallery-carousel-dots button.is-active {
  background: #f9cc0a;
  transform: scale(1.2);
}

.af-gallery-edition-grid {
  margin-top: 24px;
}

/* Gallery lightbox */
body.af-lightbox-open {
  overflow: hidden;
}

.af-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 9999;
}

.af-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.af-lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

.af-lightbox-close,
.af-lightbox-prev,
.af-lightbox-next {
  position: absolute;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 8px 12px;
}

.af-lightbox-close {
  top: 20px;
  right: 24px;
}

.af-lightbox-prev {
  left: 24px;
}

.af-lightbox-next {
  right: 24px;
}

@media (max-width: 600px) {
  .af-lightbox-close,
  .af-lightbox-prev,
  .af-lightbox-next {
    font-size: 18px;
    padding: 6px 10px;
  }
}

/* Scroll-to-top button */
.af-scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  border: none;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 9000;
}

.af-scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.af-scroll-top-icon {
  width: 10px;
  height: 10px;
  border: 2px solid #ffffff;
  border-left: none;
  border-bottom: none;
  transform: rotate(-45deg) translateY(2px);
  pointer-events: none;
}

.af-scroll-top:hover {
  background-color: rgba(0, 0, 0, 0.55);
}

@media (max-width: 600px) {
  .af-scroll-top {
    right: 16px;
    bottom: 16px;
    width: 36px;
    height: 36px;
  }
}

/* Sponsors contact CTA */
.af-sponsor-email-link {
  font-weight: 600;
  color: #f9cc0a;
  text-decoration: none;
  margin-left: 4px;
}

.af-sponsor-email-link:hover {
  text-decoration: underline;
}

