body {
  font-family: system-ui, sans-serif;
  margin: 0;
  /*background: #f6f7fb;*/
  color: #222;
  min-height: 80%;
  background: url("/uploads/img/bg1.jpg") no-repeat center center fixed;
  background-size: cover;
}

h2{
  margin:0;
}

.container {
  width: 90%;
  margin: 0 auto;
  display: flex;
}

.content{
  min-height: 80vh;
  margin: 0;
  padding: 30px 2% 20px 2%;
}

.site-header {
  color: #fff;
  font-size: 24px;
  padding: 0.7rem 0;
}

.site-footer {
  background: #0240cf;
  color: #fff;
  padding: 0.7rem 0;
  display: flex;
  flex-direction: column;
  padding: 30px 2% 15px 2%;
}

.footer-logo-cont{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-logo-img{
  width: 15%;
}

.footer-text-cont{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1;
}

.header-logo-cont{
  width: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.header-logo-img{
  width: 100%;
}

.header-text-cont{
  width: 85%;
  display: flex;
  justify-content: left;
  align-items: center;
  text-align: center;
  line-height: 1;
  margin-left: 35px;
  margin-right: 35px;
}

.logo{
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 24px;
}

.page-title {
  font-size: 35px;
  font-weight: 700;
  margin: 0;
  color: #050B1E;
  display flex;
  align-items: center;
  text-align: center;
}

.navbar a {
  color: #050B1E;
  margin-right: 15px;
  text-decoration: none;
}

.language-switcher {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-weight: 500;
  color: white;
  transition: all 0.2s ease;
}

.lang-btn img {
  width: 20px;
  height: 14px;
}

.lang-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn.active-lang {
  background: #fff;
  color: #0240cf;
  border: 1px solid #fff;
}


/* 🔹 FILTERS */
.filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 25px auto;
  width: fit-content;
}

.filters select {
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #222;
  transition: all 0.2s ease;
}

.filters select:focus {
  border-color: #0240cf;
  outline: none;
  box-shadow: 0 0 4px rgba(2,64,207,0.3);
}

#reset-filters {
  background: #0240cf;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease;
}

#reset-filters:hover {
  background: #022d94;
}

/* Mobile layout for filters */
@media (max-width: 770px) {
  .filters {
    flex-direction: column;
    align-items: stretch;
    width: 90%;
    padding: 12px 10px;
    gap: 10px;
  }

  .filters select,
  #reset-filters {
    width: 100%;
    font-size: 14px;
  }
}


/* 🔹 CARDS */
/*.winners-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto;
  max-width: 1200px;
  padding: 20px;
}

.winner-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.winner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.winner-card img {
  width: 90px;
height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.winner-card h3 {
  font-size: 18px;
  margin: 10px 0 5px;
  color: #0240cf;
}

.winner-card p {
  margin: 3px 0;
  font-size: 14px;
  color: #444;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 16px;
  color: #666;
  padding: 20px;
}
*/
/* 🔹 FILTERS (restyled to match existing site design) */


.outer-cont {
  width: 100%;
  /*max-width: 1200px;*/
  margin: 0 auto;
  box-sizing: border-box;
}

.winners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  /*display: grid;*/
  /*grid-template-columns: repeat(auto-fit, minmax(, 1fr));*/
  gap: 20px;
  padding: 2rem 0;
  box-sizing: border-box;
}

.winner-card {
  display: flex;
  flex: 1 1 45%;
  flex-direction: row;
  max-width: 40%;
  background: white;
  border-radius: 10px;
  padding: 1.5rem 1rem 1.5rem 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.winner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}


.winner-img img {
  width: 90%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.winner-img{
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.winner-text{
  width: 74%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 5px;
  margin-left: 10px;
  line-height: 1;
}

.w_pinfo{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 0;
  margin: 0;
}

.w_pinfo h3{
  color: #0240cf;
  font-size: 24px;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.w_pinfo p{
  padding: 0;
  margin: 10px 0 0 0;
  line-height: 1;
  font-style: italic;
}

.no-result-text {
    width: 100%;
    text-align: center;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.pagination a {
  text-decoration: none;
  color: #0240cf;
  padding: 6px 12px;
  border: 1px solid #0240cf;
  border-radius: 25px;
  transition: 0.2s;
}

.pagination a:hover {
  background: #0240cf;
  color: white;
}

.pagination a.active {
  background: #0240cf;
  color: white;
}

@media (max-width: 1370px) {
  .container{
    width: 98%;
  }

  .page-title {
    font-size: 25px;
  }

  .header-text-cont {
    width: 63%;
  }

  .header-logo-cont {
    width: 15%;
  }
  
  .language-switcher {
    width: 20%;
  }

  .content{
    padding: 20px 1% 10px 1%;
  }

  .winner-card {
    max-width: 45%;
  }

  .winner-img{
    width: 30%;
  }

  .winner-text{
    width: 69%;
    font-size: 14px;
  }

  .winner-card {
    padding: 1rem 0.5rem 1rem 0.5rem;
  }
}

@media (max-width: 770px) {
  body{
    min-height: 100%;
  } 

  .page-title {
    font-size: 25px;
  }

  .content{
    padding: 20px 1% 10px 1%;
  }

  .container{
    flex-direction: column;
  } 

  .header-logo-cont{
    width: 100%;
    justify-content: center;
  }

  .header-logo-img{
    width: 26%;
  }
  
  .logo{
    font-size: 16px;
  }

  .header-text-cont{
    width: 100%;
    margin-left: 15px;
    justify-content: center;
  }

  .language-switcher {
    width: 100%;
    justify-content: center;
  }

  .page-title{
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-title h2{
    font-size: 22px;
  }

  .winners-grid {
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
  }

  .winner-card {
    max-width: 85%;
  }

  .winner-img{
    width: 30%;
  }

  .winner-text{
    width: 69%;
    font-size: 14px;
  }

  .w_pinfo h3{
    font-size: 22px;
    line-height: 1;
    margin-top: 10px;
  }

  .winner-card {
    padding: 1rem 0.5rem 1rem 0.5rem;
  }
}