/* google font cdn */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap");

/* Base css start */

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

:root {
  /* fonts */
  --font-inter: "Inter", sans-serif;
  --font-poppins: "Poppins", sans-serif;
  --font-source-serif-4: "Source Serif 4", serif;

  /* colors */
  --primary: #007474;
}

ol,
ul {
  margin: 0;
  padding: 0;
}
li {
  list-style-type: none;
}

a,
button {
  transition: all 0.3s;
}
a {
  text-decoration: none;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  padding-inline: 20px;
}

body {
  font-family: var(--font-inter);
  color: #000000;
}

/* Sticky footer: fill viewport so footer stays at bottom when content is short */
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wrapper main {
  flex: 1;
}

.section__header {
  margin-bottom: 96px;
}
.section__subtitle {
  font-size: 40px;
  color: var(--primary);
  font-family: var(--font-source-serif-4);
  margin-bottom: 0;
}
.section__title {
  font-size: 64px;
}
.section__title--lg {
  font-size: 70px;
}
.section__text {
  color: #3a3a3a;
  line-height: 1.875;
}
.section__text--xl {
  font-size: 20px;
  line-height: 1.95;
}

.italic-text {
  font-family: var(--font-source-serif-4);
  font-style: italic;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.col-span-3 {
  grid-column: span 3 / span 3;
}
.col-span-4 {
  grid-column: span 4 / span 4;
}
.col-span-6 {
  grid-column: span 6 / span 6;
}
.row-span-2 {
  grid-row: span 2 / span 2;
}
/* Base css end */

/* components css start */

/* card css start */
.card {
  overflow: hidden;
  border-radius: 0;
}
.card__content {
  background-image: linear-gradient(205.94deg, rgba(49, 219, 219, 0.91) -0.95%, rgba(0, 116, 116, 0.91) 55.44%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}
.card:hover .card__content {
  opacity: 1;
  visibility: visible;
}
.card__content > div {
  max-height: 100%;
  padding: 16px;
}
.card__date {
  font-size: 20px;
  line-height: normal;
  margin-bottom: 36px;
}
.card__title {
  font-size: 36px;
  letter-spacing: -0.05em;
  margin-bottom: 2px;
}
.card__subtitle {
  font-size: 24px;
  margin-bottom: 11px;
}
.card__location {
  font-size: 20px;
  line-height: 1.5;
}
/* card css end */

.theme-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-width: 165px;
  background-color: #f2f2f2;
  color: var(--primary);
  font-weight: 700;
  border-radius: 32px;
  padding-inline: 30px;
  gap: 8px;
}
.theme-btn-secondary img {
  transition: all 0.3s;
}
.theme-btn-secondary:hover {
  background-color: var(--primary);
  color: #fff;
}
.theme-btn-secondary:hover img {
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(170%) contrast(102%);
}

.slider-btn {
  width: 120px;
  height: 120px;
  background-color: transparent;
  border: 1px solid transparent;
  margin-top: 120px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 180ms ease, background-color 180ms ease;
}
.slider-btn img {
  width: 32px;
}
.slider-btn:hover {
  border-color: #222222;
}
.slider-btn:active {
  transform: scale(0.96);
  border-color: #222222;
  background-color: rgba(34, 34, 34, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.slider-btn:focus {
  outline: none;
}
.slider-btn:focus-visible {
  outline: 3px solid rgba(18, 190, 151, 0.55);
  outline-offset: 3px;
  border-color: rgba(18, 190, 151, 0.55);
}

/* modal css start */

.modal {
  --bs-modal-width: 1065px;
  --bs-modal-border-radius: 28px;
  --bs-modal-margin: 2.5rem;
}
.modal-content {
  box-shadow: 0px 0px 54.3px 0px #0006;
}
.modal-body {
  padding: 28px;
}
.modal-close-btn {
  width: 58px;
  height: 58px;
  position: absolute;
  background-color: var(--primary);
  font-size: 32px;
  font-weight: 700;
  top: -29px;
  right: -29px;
  z-index: 9;
  pointer-events: auto;
  padding-bottom: 6px;
}
.modal-thumb {
  border-radius: 19px;
}
.modal-thumb img {
  transition: all 1s ease-in-out;
}
.modal-thumb:hover img {
  transform: scale(1.1);
}
.modal-info-container {
  padding-block: 56px 15px;
}
.modal .vote-btn {
  margin-bottom: 30px;
}
.modal-location {
  color: #555555;
}
.modal-info-item {
  line-height: 18px;
  color: #555555;
}
.modal-info-item span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}
.modal-info-list {
  max-width: 550px;
  margin-bottom: 50px;
}
/* modal css end */

/* social-icons css start */
.social-icons {
  gap: 27px;
}
.social-icon img {
  width: 29px;
}
.social-icon:hover {
  transform: scale(1.2);
}
/* social-icons css end */

/* image-slider css start */
.image-slider-container {
  border: 16px solid #ffffff;
  box-shadow: 0px 0px 40.2px rgba(0, 116, 116, 0.3);
  border-radius: 28px;
}
.image-slider img {
  aspect-ratio: 491/408;
}
/* image-slider css end */

/* form css start */
.form {
  background-color: rgba(255, 255, 255, 0.67);
  padding: 26px 34px 74px;
  border-radius: 28px;
  box-shadow: 0px 0px 40.2px 0px #0074744d;
}
.form__input-field {
  border: 1px solid var(--primary);
  line-height: 22px;
  letter-spacing: -0.05em;
  color: var(--primary);
  padding: 14px 24px;
  border-radius: 10px;
}
.form__input-field::placeholder {
  color: #b2b2b2;
}
.form__input-field:focus {
  outline: none;
}
.form__input-field--textarea {
  min-height: 134px;
  resize: none;
}
.form__input-field--textarea-lg {
  min-height: 255px;
}
.form__footer {
  margin-top: 50px;
  gap: 23px;
}
.form__tos-text {
  font-size: 15px;
  line-height: 21px;
  color: #8e8e93;
}
/* form css end */

/* search-bar css start */
.search-bar {
  max-width: 646px;
}
.search-bar__input {
  height: 69px;
  background-color: #e8fbfb;
  border: 1px solid transparent;
  color: var(--primary);
  padding-inline: 30px 60px;
  transition: all 0.3s;
}
.search-bar__input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box; /* override normalize.css content-box */
}
.search-bar__input[type="search"]::-webkit-search-decoration,
.search-bar__input[type="search"]::-webkit-search-cancel-button,
.search-bar__input[type="search"]::-webkit-search-results-button,
.search-bar__input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search-bar__input::placeholder {
  color: inherit;
}
.search-bar__btn {
  right: 27px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.search-bar__btn:active {
  transform: translateY(-50%) scale(0.92);
  opacity: 0.85;
}
.search-bar__btn img {
  width: 24px;
  transition: transform 0.15s ease;
}
.search-bar__btn:active img {
  transform: scale(0.95);
}
.search-bar__input:focus {
  outline: none;
  border-color: var(--primary);
}
/* search-bar css end */

/* gallery css start */
.gallery {
  max-width: 1440px;
}
.gallery__item {
  cursor: pointer;
}
.gallery__thumb {
  transition: all 1s ease-in-out;
}
.gallery__item:hover .gallery__thumb {
  transform: scale(1.1);
}
/* gallery css end */

/* components css end */

/* header start */
.header {
  padding-block: 6px;
}
.header__logo img {
  width: 180px;
}
.header__logo {
  transform: translateY(48px);
  margin-top: -48px;
}
.header__right {
  gap: 60px;
}
.header__menu {
  gap: 10px;
}
.header__link {
  font-size: 12px;
  color: #b2b2b2;
  font-family: var(--font-poppins);
  padding: 2px 18px 3px;
  transition: color 0.2s ease, transform 0.15s ease, opacity 0.15s ease;
}
.header__link:hover {
  color: var(--primary);
}
.header__link:active {
  transform: scale(0.96);
  opacity: 0.9;
}
.header__link.active {
  background-color: var(--primary);
  color: #fff;
  font-weight: 700;
}
.header__link.active:active {
  opacity: 0.9;
}
.header__search-btn {
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.header__search-btn:active {
  transform: scale(0.92);
  opacity: 0.85;
}
.header__search-btn img {
  width: 24px;
  transition: transform 0.15s ease;
}
.header__search-btn:active img {
  transform: scale(0.95);
}

.header__toggle {
  color: #8e8e93;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.header__toggle:active {
  transform: scale(0.92);
  opacity: 0.85;
}
.header__toggle svg {
  width: 24px;
}
/* header end */

/* about section start */
.about__top {
  padding-block: 123px 90px;
}
.about__content {
  max-width: 480px;
}
.counter-items {
  margin-top: 50px;
}
.counter-item {
  padding-inline: 12px;
  color: var(--primary);
}
.counter-item p {
  font-size: 20px;
}
.about__thumb {
  border: 16px solid #ffffff;
  box-shadow: 0px 0px 40.2px rgba(0, 116, 116, 0.3);
  border-radius: 28px;
}
.about__thumb img {
  transition: all 1s ease-in-out;
}
.about__thumb:hover img {
  transform: scale(1.1);
}
.about__bottom {
  padding-top: 110px;
}
.about__bottom::after {
  content: "";
  width: 100%;
  height: 73.6%;
  background-image: linear-gradient(255.17deg, #28d9d9 3.09%, #007474 38.64%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.about__bottom .row {
  --bs-gutter-x: 40px;
  --bs-gutter-y: 120px;
}
/* about section end */

/* winners section start */

.winners {
  padding-block: 130px 98px;
}
.winners__grid {
  max-width: 1440px;
  margin-bottom: 54px;
}
.winners__card {
	cursor: pointer;
}
/* winners section end */

/* footer start */
.footer {
  background-color: var(--primary);
  padding-block: 18px;
}
.footer__copyright-text {
  line-height: 1.875;
}
.footer__menu li {
  line-height: 1.875;
}
.footer__menu {
  gap: 16px;
}
.footer__link {
  color: inherit;
}
.footer__link:hover {
  text-decoration: underline;
}
/* footer end */

/* contest section start */
.contest {
  padding-top: 210px;
}
.contest__slider {
  max-width: 615px;
  min-width: 0;
}
.contest__content .section__text {
  max-width: 540px;
}
.ribbon-img {
  max-width: 445px;
}
.bg-img {
  max-width: 1920px;
}
/* contest section end */

/* faq section start */
.faq {
  padding-block: 0 98px;
}
.faq__hero {
  padding-block: 56px 48px;
}
.faq__hero-inner {
  max-width: 900px;
  min-height: 270px;
  border-radius: 12px;
  overflow: hidden;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq__hero-bg {
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
}
.faq__hero-header {
  margin-bottom: 0;
}
.faq__hero-header .section__subtitle {
  color: #c8fff2;
}
.faq__hero-header .section__title {
  color: #ffffff;
  margin-bottom: 0;
}
.faq__accordion-wrapper {
  /* max-width: 900px; */
}
.faq__accordion-item {
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 116, 116, 0.08);
}
.faq__accordion-item:last-child {
  margin-bottom: 0;
}
.faq__accordion-btn {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  background-color: #fff;
  border: 1px solid #ebeef0;
  padding: 24px 56px 24px 24px;
  font-family: var(--font-inter);
}
.faq__accordion-btn:not(.collapsed) {
  background-color: #e8fbfb;
  color: var(--primary);
  border-color: rgba(0, 116, 116, 0.2);
  box-shadow: none;
}
.faq__accordion-btn::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23007474'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: auto;
}
.faq__accordion-btn.collapsed::after {
  transform: rotate(-90deg);
}
.faq__accordion-btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 116, 116, 0.25);
  border-color: var(--primary);
}
.faq__accordion-body {
  padding: 24px;
  background-color: #fff;
  border: 1px solid #ebeef0;
  border-top: 0;
}
.faq__accordion-body .section__text {
  margin-bottom: 0;
}
.faq__empty {
  padding: 48px 24px;
  background-color: #f8f9fa;
  border-radius: 12px;
}
/* faq section end */

/* upload section start */

.upload__top {
  padding-bottom: 80px;
}
.upload__btn {
  height: 91px;
  background-color: var(--primary);
  border: 1px solid #fff;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  padding-inline: 40px;
  gap: 60px;
}
.upload__btn:hover {
  background-color: #038f8f;
}
.upload__formats {
  font-size: 20px;
  line-height: 1.5;
  color: #8e8e93;
  margin-block: 20px 70px;
  max-width: 415px;
}
.upload__desc {
  font-size: 48px;
  letter-spacing: -0.05em;
  line-height: 1.2;
  max-width: 1010px;
}
/* Upload preview: center photo and style "Wrong file" button */
.upload__preview-row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.upload__preview-row .img-inner {
  display: inline-block;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  text-align: left;
}
.upload__preview-row .img-inner img {
  border-radius: 12px;
  display: block;
  vertical-align: top;
}
.upload__wrong-file-btn {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  background: #e8e8e8;
  border: 1px solid #000;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.upload__wrong-file-btn:hover {
  background: #d8d8d8;
  color: #000;
}

.upload__gallery {
  gap: 18px;
  margin-bottom: 66px;
}
.upload__img {
  border: 16px solid #fff;
  border-radius: 28px;
  box-shadow: 0px 0px 40.2px 0px #0074744d;
}
.upload__img img {
  transition: all 1s ease-in-out;
}
.upload__img:hover img {
  transform: scale(1.1);
}
.upload {
  padding-bottom: 130px;
}
/* upload section end */

/* Upload loader – full-screen overlay during submit */
.upload-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: auto;
  visibility: hidden;
  transition: visibility 0s linear 0.3s;
}
.upload-loader.is-active {
  display: flex !important;
  visibility: visible;
  transition: visibility 0s linear 0s;
}
.upload-loader__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 52, 58, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.upload-loader.is-active .upload-loader__backdrop {
  opacity: 1;
}
.upload-loader__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.92) translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.upload-loader.is-active .upload-loader__content {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.upload-loader__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 48px;
  background: #fff;
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(0, 116, 116, 0.08),
    0 20px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 80px -20px rgba(0, 116, 116, 0.2);
}
.upload-loader__spinner {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-loader__ring {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary);
  border-right-color: rgba(0, 116, 116, 0.4);
  animation: uploadLoaderSpin 0.9s cubic-bezier(0.5, 0.15, 0.5, 0.85) infinite;
}
.upload-loader__ring--inner {
  width: 54px;
  height: 54px;
  border-width: 2px;
  border-top-color: rgba(0, 116, 116, 0.9);
  border-right-color: rgba(0, 116, 116, 0.2);
  animation-direction: reverse;
  animation-duration: 1.1s;
}
@keyframes uploadLoaderSpin {
  to { transform: rotate(360deg); }
}
.upload-loader__text {
  font-size: 18px;
  font-weight: 600;
  color: #1a3a3a;
  letter-spacing: 0.02em;
  text-align: center;
  display: block;
}
.upload-loader__dots::after {
  content: "";
  animation: uploadLoaderDots 1.4s steps(4, end) infinite;
}
@keyframes uploadLoaderDots {
  0%, 20% { content: ""; }
  40% { content: "."; }
  60% { content: ".."; }
  80%, 100% { content: "..."; }
}

/* Video compression overlay – modern full-screen state */
.video-compression-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.video-compression-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a2328 0%, #2a3338 40%, #252d32 100%);
  opacity: 0.97;
}
.video-compression-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  width: 100%;
  padding: 48px 40px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(0, 116, 116, 0.15),
    0 24px 48px -12px rgba(0, 0, 0, 0.5),
    0 0 80px -20px rgba(0, 116, 116, 0.12);
}
.video-compression-spinner {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  flex-shrink: 0;
}
.video-compression-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary);
  border-right-color: rgba(0, 116, 116, 0.35);
  animation: uploadLoaderSpin 0.9s cubic-bezier(0.5, 0.15, 0.5, 0.85) infinite;
}
.video-compression-ring--inner {
  inset: 9px;
  border-width: 2px;
  border-top-color: rgba(0, 116, 116, 0.9);
  border-right-color: rgba(0, 116, 116, 0.2);
  animation-direction: reverse;
  animation-duration: 1.1s;
}
.video-compression-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 8px 0;
}
.video-compression-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  margin: 0 0 24px 0;
}
.video-compression-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.video-compression-progress-bar {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--primary), rgba(0, 116, 116, 0.7));
  border-radius: 2px;
  animation: videoCompressionProgress 1.8s ease-in-out infinite;
}
@keyframes videoCompressionProgress {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(150%); }
  100% { transform: translateX(-100%); }
}

/* Ping Admin button – small green button */
.post-ping-admin-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  margin: 20px 0;
}
.post-ping-admin-wrapper .post-ping-admin-btn,
button.post-ping-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 120px;
  height: 40px;
  padding: 8px 20px;
  background-color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 116, 116, 0.3);
}
.post-ping-admin-wrapper .post-ping-admin-btn:hover,
button.post-ping-admin-btn:hover {
  background-color: #038f8f;
  color: #fff;
}
.post-ping-admin-wrapper .post-ping-admin-btn:active,
button.post-ping-admin-btn:active {
  transform: scale(0.98);
}

/* Video upload success message */
.video-upload-success {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px 16px 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(0, 116, 116, 0.12) 0%, rgba(0, 116, 116, 0.06) 100%);
  border: 1px solid rgba(0, 116, 116, 0.25);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #0d4d4d;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0, 116, 116, 0.08);
}
.video-upload-success::before {
  content: "✓";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border-radius: 50%;
}

/* Success popup – modern modal after upload */
.success-popup {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.success-popup.is-open {
  display: flex;
}
.success-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.success-popup.is-open .success-popup__backdrop {
  opacity: 1;
}
.success-popup__card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-popup.is-open .success-popup__card {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.success-popup__icon {
  padding-top: 32px;
  text-align: center;
  color: var(--primary);
}
.success-popup__body {
  padding: 20px 32px 28px;
  text-align: center;
}
.success-popup__title {
  font-family: var(--font-source-serif-4);
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  line-height: 1.25;
}
.success-popup__text {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}
.success-popup__footer {
  display: flex;
  gap: 12px;
  padding: 0 24px 24px;
}
.success-popup__btn {
  flex: 1;
  padding: 14px 20px;
  font-family: var(--font-inter);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.success-popup__btn--primary {
  background: var(--primary);
  color: #fff;
}
.success-popup__btn--primary:hover {
  background: #038f8f;
  color: #fff;
}
.success-popup__btn--secondary {
  background: #f0f0f0;
  color: #333;
}
.success-popup__btn--secondary:hover {
  background: #e0e0e0;
}
@media (max-width: 480px) {
  .success-popup__footer {
    flex-direction: column;
  }
}
/* home page */
.winners__card.col-span-4 img {
  aspect-ratio: 160/161;
}
.winners__card.col-span-6 img {
  aspect-ratio: 45/59;
}
.winners__card.col-span-3 img {
  aspect-ratio: 45/59;
}
/* all photos page */
.gallery__item.col-span-3{
  aspect-ratio: 	180/181;
}
