:root {
  /* DARK THEME (Default) */
  --bd: #1a0f0a;
  --bm: #2d1a0e;
  --bw: #3d2410;
  --bl: #5c3520;
  --bs: #4a2c1a;
  --or: #e85c1a;
  --ob: #ff6b22;
  --cr: #d4b896;
  --tl: #e8d5c4;
  --tm: #a08060;

  --nav-bg: rgba(26, 15, 10, .92);
  --glass-border: rgba(232, 92, 26, .15);
  --mobile-bg: rgba(26, 15, 10, .98);
}

body.light-mode {
  /* LIGHT THEME — béžová/krémová */
  --bd: #f0ebe3;
  --bm: #e8e0d5;
  --bw: #ddd5c8;
  --bl: #c8bcac;
  --bs: #ede6dc;
  --or: #e85c1a;
  --ob: #d44f12;
  --cr: #1a1209;
  --tl: #2d2015;
  --tm: #5c4a35;

  --nav-bg: rgba(240, 235, 227, .96);
  --glass-border: rgba(0, 0, 0, .12);
  --mobile-bg: rgba(240, 235, 227, .98);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--bd);
  color: var(--tl);
  font-family: 'Raleway', sans-serif;
  overflow-x: hidden;
  transition: background-color 0.4s, color 0.4s;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--tm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: color 0.3s;
}

.theme-toggle:hover {
  color: var(--or);
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

body.light-mode .theme-toggle .sun-icon {
  display: block;
}

body.light-mode .theme-toggle .moon-icon {
  display: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 44px;
  cursor: pointer;
  text-decoration: none;
}

.img-logo {
  height: 44px;
  max-height: 44px;
  max-width: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

.img-logo-w {
  /* Tint white logo to butter color #d4b896 */
  filter: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(543%) hue-rotate(345deg) brightness(91%) contrast(92%);
}

.img-logo-b {
  display: none;
}

body.light-mode .img-logo-w {
  display: none;
}

body.light-mode .img-logo-b {
  display: block;
}

@media(max-width: 768px) {
  .nav-logo {
    height: 34px;
  }

  .img-logo {
    height: 34px;
  }
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none
}

.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tm);
  text-decoration: none;
  transition: color .3s
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--or)
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tm);
  text-decoration: none;
  transition: color .3s
}

.nav-back:hover {
  color: var(--or)
}

.nav-back svg {
  transition: transform .2s
}

.nav-back:hover svg {
  transform: translateX(-3px)
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cr);
  transition: transform .3s, opacity .3s
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
  opacity: 0
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--mobile-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 24px;
  flex-direction: column;
  gap: 0;
  z-index: 999
}

.mobile-menu.open {
  display: flex
}

.mobile-menu a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tm);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: color .2s
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--or)
}

.mobile-menu a:last-child {
  border-bottom: none
}

/* PAGE HERO */
.page-hero {
  padding: 100px 48px 40px;
  background: var(--bd);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(232, 92, 26, .1)
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(185, 85, 20, .2) 0%, transparent 60%)
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px
}

.page-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px
}

.page-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--or)
}

.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 8vw, 110px);
  line-height: .9;
  color: var(--cr);
  margin-bottom: 16px;
  letter-spacing: .02em
}

.page-title span {
  color: var(--or)
}

.page-intro {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--tm);
  line-height: 1.8;
  max-width: 620px
}

/* ALERT BANNER */
.alert-banner {
  background: rgba(232, 92, 26, .08);
  border-left: 3px solid var(--or);
  padding: 24px 48px;
  display: flex;
  align-items: flex-start;
  gap: 16px
}

.alert-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px
}

.alert-text {
  font-size: 16px;
  color: var(--tm);
  line-height: 1.8
}

.alert-text strong {
  color: var(--cr);
  font-weight: 600
}

/* SECTIONS */
.content-section {
  padding: 50px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  scroll-margin-top: 72px
}

.content-section:last-child {
  border-bottom: none
}

.content-section.alt {
  background: var(--bm)
}

.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: .4em;
  color: var(--or);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--or)
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--cr);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: .02em
}

/* TWO-COL TEXT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start
}

.prose p {
  font-size: 17px;
  color: var(--tm);
  line-height: 1.95;
  margin-bottom: 18px
}

.prose p:last-child {
  margin-bottom: 0
}

.prose strong {
  color: var(--cr);
  font-weight: 600
}

/* CONDITIONS GRID */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 8px
}

.condition-item {
  background: rgba(255, 255, 255, .02);
  padding: 32px 28px;
  border-top: 2px solid transparent;
  transition: border-color .3s, background .3s
}

.condition-item:hover {
  border-top-color: var(--or);
  background: rgba(232, 92, 26, .04)
}

.condition-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(232, 92, 26, .15);
  display: block;
  margin-bottom: 10px;
  line-height: 1
}

.condition-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: .12em;
  color: var(--or);
  text-transform: uppercase;
  margin-bottom: 12px
}

.condition-text {
  font-size: 16px;
  color: var(--tm);
  line-height: 1.8
}

/* FINANCING */
.financing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px
}

.finance-item {
  background: var(--bw);
  padding: 40px 36px
}

.finance-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--or);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: .02em
}

.finance-label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tm);
  margin-bottom: 16px;
  display: block
}

.finance-desc {
  font-size: 16px;
  color: var(--tm);
  line-height: 1.8
}

/* TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative
}

.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(232, 92, 26, .2)
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  position: relative
}

.timeline-item:last-child {
  border-bottom: none
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 114px;
  top: 32px;
  width: 13px;
  height: 13px;
  background: var(--bd);
  border: 2px solid var(--or);
  border-radius: 50%;
  z-index: 1
}

.timeline-date {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--or);
  line-height: 1.4;
  padding-top: 2px;
  text-align: right;
  padding-right: 24px
}

.timeline-text {
  font-size: 16px;
  color: var(--tm);
  line-height: 1.8;
  padding-top: 2px
}

.timeline-text strong {
  color: var(--cr);
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .08em
}

/* JURY GRID */
.jury-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px
}

.jury-card {
  background: var(--bw);
  overflow: hidden;
  position: relative
}

.jury-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--bd)
}

.jury-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(40%);
  transition: filter .4s, transform .5s
}

.jury-card:hover .jury-photo img {
  filter: grayscale(0%);
  transform: scale(1.05)
}

.jury-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 15, 10, .9) 0%, transparent 60%)
}

.jury-info {
  padding: 20px 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, .06)
}

.jury-role {
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 6px;
  display: block
}

.jury-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--cr);
  margin-bottom: 4px
}

.jury-desc {
  font-size: 11px;
  color: var(--tm);
  line-height: 1.6
}

/* WINNERS */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px
}

.winner-card {
  background: var(--bw);
  border-bottom: 2px solid transparent;
  transition: border-color .3s;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.winner-card:hover {
  border-bottom-color: var(--or)
}

.winner-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--bd);
  flex-shrink: 0
}

.winner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(20%);
  transition: filter .4s, transform .5s
}

.winner-card:hover .winner-photo img {
  filter: grayscale(0%);
  transform: scale(1.04)
}

.winner-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 15, 10, .75) 0%, transparent 55%)
}

.winner-photo-num {
  position: absolute;
  bottom: 14px;
  left: 18px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: rgba(232, 92, 26, .25);
  line-height: 1
}

.winner-body {
  padding: 24px 28px 28px
}

.winner-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: .06em;
  color: var(--cr);
  margin-bottom: 4px
}

.winner-author {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 8px;
  display: block
}

.winner-place {
  font-size: 11px;
  color: var(--tm);
  letter-spacing: .1em
}

.winner-place::before {
  content: 'Miesto X: ';
  color: rgba(160, 128, 96, .5)
}

/* detail photo strip for artwork */
.artwork-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 3px
}

.artwork-photo {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--bd)
}

.artwork-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s
}

.artwork-photo:hover img {
  transform: scale(1.06)
}

/* LOCATIONS */
.locations-region {
  margin-bottom: 50px
}

.region-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: .15em;
  color: var(--or);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(232, 92, 26, .3)
}

.region-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.region-item {
  background: rgba(255, 255, 255, .03);
  padding: 24px 32px;
  font-family: inherit;
  font-size: 18px;
  color: var(--cr);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background .3s, transform .3s, border-color .3s;
  border-radius: 4px;
  border: 1px solid transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.region-item:hover {
  background: rgba(232, 92, 26, .08);
  border-color: rgba(232, 92, 26, .3);
  transform: translateY(-2px);
}

.region-item-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: rgba(232, 92, 26, .4);
  min-width: 40px
}

/* DOWNLOADS */
.downloads-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(232, 92, 26, 0.05);
  border: 1px solid var(--or);
  color: var(--or);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: .15em;
  padding: 20px 32px 18px;
  text-decoration: none;
  transition: all .2s;
  flex: 1;
  min-width: 250px;
}

.download-btn:hover {
  background: var(--or);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(232, 92, 26, 0.2);
}

.download-btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

body.light-mode .download-btn {
  color: var(--ob);
  border-color: var(--ob);
}

body.light-mode .download-btn:hover {
  background: var(--ob);
  color: #fff;
}

/* ORGANIZER */
.organizer-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 36px;
  background: var(--bw);
  border-left: 3px solid var(--or)
}

.organizer-label {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--or);
  flex-shrink: 0
}

.organizer-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: .08em;
  color: var(--cr)
}

.organizer-desc {
  font-size: 12px;
  color: var(--tm);
  line-height: 1.6;
  margin-top: 4px
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 92, 26, .4), transparent)
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.reveal-delay-1 {
  transition-delay: .1s
}

.reveal-delay-2 {
  transition-delay: .2s
}

.reveal-delay-3 {
  transition-delay: .3s
}

footer {
  background: var(--bd);
  border-top: 1px solid rgba(232, 92, 26, .15);
  padding: 48px 48px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tm);
  text-decoration: none;
  transition: border-color .2s, color .2s
}

.footer-social a:hover {
  border-color: var(--or);
  color: var(--or)
}

.footer-partner {
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .06);
  border-right: 1px solid rgba(255, 255, 255, .06);
  padding: 0 40px
}

.footer-partner-label {
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(160, 128, 96, .4);
  display: block;
  margin-bottom: 10px
}

.footer-partner-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  color: rgba(160, 128, 96, .5)
}

.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px
}

.footer-bottom-copy {
  font-size: 10px;
  color: rgba(160, 128, 96, .4);
  letter-spacing: .05em
}

.footer-bottom-note {
  font-size: 10px;
  color: rgba(160, 128, 96, .3);
  font-style: italic
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--cr);
  line-height: 1.4
}

.footer-copy {
  font-size: 11px;
  color: var(--tm)
}

@media(max-width:900px) {
  nav {
    padding: 16px 24px
  }

  .page-hero {
    padding: 100px 24px 60px
  }

  .alert-banner {
    padding: 20px 24px
  }

  .content-section {
    padding: 60px 24px
  }

  .two-col,
  .conditions-grid,
  .financing-grid,
  .jury-grid,
  .winners-grid {
    grid-template-columns: 1fr
  }

  .region-items {
    grid-template-columns: 1fr 1fr
  }

  .timeline::before {
    left: 80px
  }

  .timeline-item {
    grid-template-columns: 80px 1fr;
    gap: 20px
  }

  .timeline-item::before {
    left: 74px
  }

  .timeline-date {
    font-size: 11px
  }

  .nav-links {
    display: none
  }

  .hamburger {
    display: flex
  }

  footer {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center
  }

  .footer-logo {
    text-align: center
  }
}

@media(max-width:480px) {
  .artwork-photos {
    grid-template-columns: 1fr
  }

  .page-title {
    font-size: 56px
  }

  .region-items {
    grid-template-columns: 1fr
  }
}



/* Open Call nav button */
.nav-oc-btn {
  background: var(--or) !important;
  color: #fff !important;
  padding: 8px 20px 7px !important;
  /* Adjusted for better Bebas Neue vertical centering */
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 15px !important;
  letter-spacing: .15em !important;
  transition: background .3s, transform .3s !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  line-height: 1 !important;

}

.nav-oc-btn:hover,
.nav-oc-btn.active {
  background: var(--ob) !important;
  color: #fff !important;
}

.nav-oc-btn svg {
  transition: transform .3s;
  margin-top: -2px;
  /* Center svg visually with text */
}

.nav-oc-btn:hover svg {
  transform: translate(2px, -2px);
}

.mobile-menu .nav-oc-btn {
  margin-top: 10px !important;
  justify-content: center !important;
  border-bottom: none !important;
  padding: 14px 20px 12px !important;
  transform: none;
}

/* JURY MODAL */
.jury-bio-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 25px;
  height: 25px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.jury-bio-btn:hover {
  background: var(--or);
  border-color: var(--or);
  transform: scale(1.1);
  color: #fff;
}

body.light-mode .jury-bio-btn {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

body.light-mode .jury-bio-btn:hover {
  background: var(--ob);
  border-color: var(--ob);
  color: #fff;
}

.jury-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.jury-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.jury-modal-container {
  background: var(--bd);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.jury-modal-overlay.active .jury-modal-container {
  transform: translateY(0);
}

body.light-mode .jury-modal-container {
  background: var(--bw);
}

.jury-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.jury-modal-close:hover {
  background: var(--or);
}

body.light-mode .jury-modal-close:hover {
  background: var(--ob);
}

.jury-modal-photo-col {
  width: 100%;
  height: 250px;
  flex-shrink: 0;
  background: var(--bm);
}

.jury-modal-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.jury-modal-text-col {
  padding: 30px;
  overflow-y: auto;
}

.jury-modal-text-col h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.05em;
  color: var(--cr);
  margin-bottom: 5px;
}

.jury-modal-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--cr);
  opacity: 0.9;
}

.jury-modal-bio p {
  margin-bottom: 1em;
}

.jury-modal-bio p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .jury-modal-container {
    flex-direction: row;
    max-height: 70vh;
  }

  .jury-modal-photo-col {
    width: 35%;
    height: auto;
  }

  .jury-modal-text-col {
    width: 65%;
    padding: 40px;
  }
}

/* Footer Left Column Layout */
.footer-left-col {
  display: flex;
  gap: 32px;
  align-items: flex-end;
  /* Align bottom to look harmonious */
  flex-wrap: wrap;
}

.footer-sponsors {
  display: flex;
  gap: 16px;
  margin-top: 0;
  align-items: center;
  flex-wrap: wrap;
}

.partner-logo-link {
  display: inline-block;
  height: 36px;
  /* Increased from 28px as requested */
}

.partner-logo-img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Opacity for dark mode white logos to blend with beige text */
.partner-logo-w {
  opacity: 0.55;
  transition: opacity 0.3s;
}

.partner-logo-link:hover .partner-logo-w {
  opacity: 0.85;
  /* slight hover highlight */
}

.partner-logo-b {
  display: none;
}

body.light-mode .partner-logo-w {
  display: none;
}

body.light-mode .partner-logo-b {
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s;
}

body.light-mode .partner-logo-link:hover .partner-logo-b {
  opacity: 1;
}

@media(max-width: 768px) {
  .footer-left-col {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
  }

  .footer-sponsors {
    justify-content: center;
    margin-top: 8px;
  }
}

/* PDF MODAL */
.pdf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.pdf-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.pdf-modal-container {
  background: var(--bd);
  width: 100%;
  max-width: 1000px;
  height: 85vh;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pdf-modal-overlay.active .pdf-modal-container {
  transform: translateY(0) scale(1);
}

.pdf-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
  line-height: 1;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  transition: all 0.2s;
}

.pdf-modal-close:hover {
  background: var(--or);
  border-color: var(--or);
  transform: scale(1.1);
  color: #fff;
}

.pdf-modal-content {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background: #fff;
  /* PDF viewer needs white background typically */
}

.pdf-modal-content iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 900px) {
  .pdf-modal-container {
    height: 90vh;
  }
}