@charset "UTF-8";
@font-face {
  font-family: "Main";
  src: url("fonts/Manrope-ExtraBold.ttf") format("truetype"), url("fonts/Manrope-ExtraBold.woff") format("woff"), url("fonts/Manrope-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Main";
  src: url("fonts/Manrope-Bold.ttf") format("truetype"), url("fonts/Manrope-Bold.woff") format("woff"), url("fonts/Manrope-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Main";
  src: url("fonts/Manrope-Semibold.ttf") format("truetype"), url("fonts/Manrope-Semibold.woff") format("woff"), url("fonts/Manrope-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Main";
  src: url("fonts/Manrope-Medium.ttf") format("truetype"), url("fonts/Manrope-Medium.woff") format("woff"), url("fonts/Manrope-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Main";
  src: url("fonts/Manrope-Regular.ttf") format("truetype"), url("fonts/Manrope-Regular.woff") format("woff"), url("fonts/Manrope-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Main";
  src: url("fonts/Manrope-Light.ttf") format("truetype"), url("fonts/Manrope-Light.woff") format("woff"), url("fonts/Manrope-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Main";
  src: url("fonts/Manrope-Thin.ttf") format("truetype"), url("fonts/Manrope-Thin.woff") format("woff"), url("fonts/Manrope-Thin.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Main";
  src: url("fonts/Manrope-Medium.ttf") format("truetype"), url("fonts/Manrope-Medium.woff") format("woff"), url("fonts/Manrope-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Second";
  src: url("fonts/ONDER-REGULAR.ttf") format("truetype"), url("fonts/ONDER-REGULAR.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  --color-grey: #e4e4e4;
  --color-bright: #fff;
  --color-dark: #000;
  --color-red: #b41313;
  --size-xxxs: calc((1vw + 1vh) * 0.4);
  --size-xxs: calc((1vw + 1vh) * 0.6);
  --size-xs: calc((1vw + 1vh) * 0.8);
  --size-sm: calc((1vw + 1vh) * 1);
  --size-md: calc((1vw + 1vh) * 1.2);
  --size-lg: calc((1vw + 1vh) * 2);
  --size-xl: calc((1vw + 1vh) * 2.5);
  --size-xxl: calc((1vw + 1vh) * 5);
  --size-xxxl: calc((1vw + 1vh) * 10);
}

* {
  font-family: Main;
}

.news-feed {
  padding: var(--size-sm);
}
.news-feed--slider .news-grid {
  display: none;
}
.news-feed--slider .news-slider {
  display: block;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--size-sm);
}
@media (min-width: 640px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1224px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: var(--color-bright);
  border-radius: var(--size-sm);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease-in-out;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.news-card__category-icon {
  width: var(--size-xxs) !important;
  height: var(--size-xxs) !important;
}
.news-card__image {
  position: relative;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.news-card__image > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
  position: absolute;
}
.news-card__image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}
.news-card__image:hover img {
  transform: scale(1.05);
}
.news-card__category {
  position: absolute;
  top: var(--size-sm);
  left: var(--size-sm);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: var(--size-xxs);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--size-xxxs);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.news-card__category.category--conference {
  background: #4CCC5F;
  color: var(--color-bright);
}
.news-card__category.category--webinar {
  background: #D76D26;
  color: var(--color-bright);
}
.news-card__category.category--lotery {
  background: #A526D7;
  color: var(--color-bright);
}
.news-card__status {
  position: absolute;
  top: var(--size-sm);
  right: var(--size-sm);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: var(--size-xxs);
  font-weight: 700;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.news-card__status.status--active {
  background: #DDB028;
  color: var(--color-bright);
}
.news-card__status.status--completed {
  background: #979062;
  color: var(--color-bright);
}
.news-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--size-sm);
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.news-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--size-xxxs);
  font-size: var(--size-xxs);
  color: var(--color-bright);
  opacity: 0.9;
}
.news-card__stats {
  display: flex;
  gap: var(--size-sm);
}
.news-card__stats .stat {
  display: flex;
  align-items: center;
  gap: var(--size-xxxs);
  font-weight: 600;
}
.news-card__stats .stat i {
  opacity: 0.8;
}
.news-card__title {
  font-size: var(--size-sm);
  color: var(--color-bright);
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  font-family: "Main", sans-serif;
}
@media (min-width: 640px) {
  .news-card__title {
    font-size: var(--size-xs);
  }
}

.news-slider {
  display: none;
  overflow: visible !important;
}
.news-slider .swiper-wrapper {
  height: auto;
}
.news-slider .swiper-slide {
  height: auto;
}
.news-slider .swiper-slide .news-card {
  height: 100%;
  min-height: 380px;
}

.news-feed--slider .news-grid {
  display: none;
}
.news-feed--slider .news-slider {
  display: block;
}

.news-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--size-lg);
  flex-wrap: wrap;
  gap: var(--size-sm);
}
.news-controls__filters {
  display: flex;
  gap: var(--size-sm);
  align-items: center;
}
.news-controls__group {
  display: flex;
  flex-direction: column;
}
.news-controls__group label {
  font-size: var(--size-xxs);
  color: #666;
  margin-bottom: 4px;
}
.news-controls__actions {
  display: flex;
  align-items: center;
  gap: var(--size-sm);
}

.md-input,
.md-select {
  padding: 8px 12px;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  font-size: 14px;
  transition: border-color 0.2s ease;
  outline: none;
}
.md-input:focus,
.md-select:focus {
  border-color: #1976d2;
}

.md-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1976d2;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.md-button i {
  font-size: 14px;
}
.md-button:hover {
  background: #1565c0;
}
.md-button.active {
  background: #004ba0;
}

.filter-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.filter-modal.open {
  display: flex;
}
.filter-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
.filter-modal__content {
  position: relative;
  background: var(--color-bright);
  border-radius: var(--size-xxs);
  padding: var(--size-sm);
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
  animation: fadeIn 0.3s ease;
}
.filter-modal__title {
  margin-bottom: var(--size-md);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-dark);
}
.filter-modal__section {
  margin-bottom: var(--size-lg);
}
.filter-modal__label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: var(--size-xs);
}
.filter-modal__options {
  display: flex;
  flex-direction: column;
  gap: var(--size-xs);
}
.filter-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--size-sm);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.md-checkbox {
  display: flex;
  align-items: center;
  gap: var(--size-xs);
  font-size: 14px;
  cursor: pointer;
  position: relative;
}
.md-checkbox input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #999;
  border-radius: 3px;
  position: relative;
  transition: all 0.2s ease;
}
.md-checkbox input:checked {
  border-color: #1976d2;
  background-color: #1976d2;
}
.md-checkbox input:checked::after {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 3px;
  font-size: 14px;
  color: white;
}
.md-checkbox span {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.md-button--outlined {
  background: transparent;
  color: #1976d2;
  border: 2px solid #1976d2;
}
.md-button--outlined:hover {
  color: var(--color-bright);
}

.md-button--text {
  background: transparent;
  color: #555;
  box-shadow: none;
}
.md-button--text:hover {
  background: rgba(0, 0, 0, 0.05);
}

.md-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-size: 15px;
}

.md-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.md-checkbox .box {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #888;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  transition: all 0.2s ease;
  overflow: hidden;
}

.md-checkbox input:checked ~ .box {
  border-color: var(--accent-color, #007bff);
  background-color: var(--accent-color, #007bff);
}

.md-checkbox .box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: scale(0.6) rotate(45deg);
  transition: all 0.2s ease;
}

.md-checkbox input:checked ~ .box::after {
  opacity: 1;
  transform: scale(1) rotate(45deg);
}

.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background-color: rgba(0, 123, 255, 0.25);
  pointer-events: none;
  z-index: 0;
}

.ripple.active {
  width: 40px;
  height: 40px;
  animation: ripple-animation 0.5s ease-out;
}

@keyframes ripple-animation {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}
.md-checkbox:hover .box {
  border-color: var(--accent-color, #007bff);
  background-color: rgba(0, 123, 255, 0.1);
}

.date-range-picker {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  font-family: "Roboto", sans-serif;
}
.date-range-picker__input {
  padding: 10px;
  border-radius: 8px;
  outline: none;
  border: 1px solid var(--color-grey);
}

.date-range-picker label {
  font-size: 14px;
  font-weight: 500;
  color: #444;
}

.date-range-input {
  padding: 10px 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
  background-color: #fff;
}

.date-range-input:focus,
.date-range-input:hover {
  border-color: #1976d2;
}

.calendar-popup {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 100;
}

.calendar-popup input[type=date] {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 14px;
  transition: 0.2s;
}

.calendar-popup input[type=date]:focus {
  border-color: #1976d2;
}

.date-separator {
  font-size: 18px;
  color: #555;
}

.apply-dates {
  background: #1976d2;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}

.apply-dates:hover {
  background: #125ba1;
}

.hidden {
  display: none;
}

.date-range-picker .preset-buttons {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.date-range-picker .preset-buttons button {
  background: #eee;
  border: none;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.date-range-picker .preset-buttons button:hover {
  background: #1976d2;
  color: white;
}