

/* ========== Section First =========== */

/* Section */

.notice-hero {
  background-color: #3a3a3a;
  padding-bottom: 1rem;
}

/* Content wrapper */
.notice-inner {
  max-width: 120rem; /* 1200px */
  padding-left: 12rem;
  padding-top: 12rem;
  display: flex; /* 🔥 main thing */
  align-items: center; /* same line */
}

/* Heading */
.notice-title {
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.notice-title h1 {
  font-weight: 800;
}

.notice-title span {
  color: #f4c430;
}

.notice-hero::before,
.notice-hero::after {
  display: none;
}

/* TAGLINE */
.events-tagline {
  font-size: 1.5rem;
  color: #9e9c98;
  padding-left: 1.6rem;
  border-left: 0.3rem solid #f4c430;
  white-space: nowrap;
  margin-left: 5rem;
}
/* ---------------- Responsive Breakpoints ---------------- */
/* Phones */
@media (max-width: 37.5rem) {
  /* 600px */

    .secondary-menu .navbar-toggler {
        margin-top: 4.5rem;
        margin-right: 1rem;
    }
  }
  .d-flex.align-items-start.justify-content-between.border-cs {
    margin-right: 2rem;
    margin-left: -2rem;
  }

  .notice-hero {
    padding-block: 2.5rem;
  }

  .notice-title {
    font-size: 2.5rem;
    margin-left: -9rem;
    margin-right: 3rem;
    text-align: center;
  }
  .notice-inner {
    flex-direction: column;
  }
  .events-tagline {
    font-size: 1.1rem;
    margin-top: 0.8rem;
    white-space: normal;
    width: 130%;
    margin-left: -8.5rem;
    overflow-wrap: break-word;
  }
}

/* Tablets */
@media (min-width: 48rem) {
  /* 768px */
  .notice-title {
    font-size: 2.5rem;
  }
  .events-tagline {
    margin-right: 7rem;
  }
  .notice-inner {
    margin-left: -12rem;
  }
  .d-flex.align-items-start.justify-content-between.border-cs {
    margin-right: -1rem;
    margin-left: -1rem;
  }

  .secondary-menu .navbar-toggler {
    margin-top: -3.5rem;
    margin-left: 38rem;
  }
  .right-brand .logo-icon {
    margin-right: 34rem;
  }
}

@media (min-width: 48em) and (max-width: 61.99em) {
  .notice-inner {
    flex-direction: column;
  }
}

/* Laptops */
@media (min-width: 62rem) {
  /* 992px */
  .notice-title {
    font-size: 3rem;
  }
  .d-flex.align-items-start.justify-content-between.border-cs {
    margin-right: -6rem;
  }
 
  .right-brand .logo-icon {
    margin-right: 29.5rem;
  }
  .events-tagline {
    margin-right: 3rem;
  }
  .notice-inner {
    margin-left: -8.5rem;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  /* 1200px */
  .notice-title {
    font-size: 4.5rem;
  }
  .d-flex.align-items-start.justify-content-between.border-cs {
    margin-right: -5rem;
  }
  .right-brand .logo-icon {
    margin-right: 31rem;
  }
  .events-tagline {
    margin-right: 4rem;
  }
  .notice-inner {
    margin-left: -10rem;
  }
}
/* Large screens */
@media (min-width: 1700px) {
  /* 1700px */
  .d-flex.align-items-start.justify-content-between.border-cs {
    margin-right: -33rem;
  }
  .right-brand .logo-icon {
    margin-right: 5rem;
  }
  .events-tagline {
    margin-right: 4rem;
  }
  .notice-inner {
    margin-left: 6rem;
  }
}

/* ========== Section Second =========== */

/* TOP BAR */

.events-top {
  display: flex;
  gap: 3rem;
  align-items: center;
  border-bottom: 0.15rem solid #4f0071;
  padding-bottom: 0.3rem;
  margin-bottom: 2rem;
}

.events-top span {
  background: none;
  border: none;
  font-size: 1rem;
  margin-right: 1.5rem;
  cursor: pointer;
}

.events-top span:hover {
  border-bottom: 0.2rem solid #4f0071;
  font-weight: 600;
}

.dropdown1 {
  margin-left: auto;
}

.dropdown-header1 {
  width: 100%;
  background: none;
  border: none;
  padding: 0.9rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 600;
  color: #4f0071;
}

.dropdown-header1 span {
  font-size: 1rem;
}

.dropdown-header1 span:hover {
  border-bottom: none;
}

.arrow1 {
  background: none;
  transform: rotate(0deg); /* 🔽 default down */
  transition: transform 0.3s ease;
}

/* OPEN STATE */
.dropdown-header1.active .arrow1 {
  transform: rotate(180deg); /* 🔼 180deg rotate */
}

.dropdown-content1 {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 0.6rem 0 1rem;
  font-size: 1rem;
  margin-bottom: 4rem;
}

.dropdown-content1 li {
  cursor: pointer;
  color: #333;
}

.dropdown-content1 li:hover {
  color: #4f0071;
}

/* OPEN STATE */
.dropdown-content1.open {
  display: flex;
}

/* EVENT LIST */
.events-list1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.events-card {
  display: flex;
  gap: 1.5rem;
  border: 0.15rem solid #f3f2f2;
  border-left: 0.3rem solid #dac482;
}

.events-img {
  flex: 0 0 18%;
}

.events-img img {
  width: 100%;
  height: 100%;
  display: block;
}

.events-content {
  margin-top: 1rem;
}

.events-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.descr {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  color: #817d7d;
}

.event-meta {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #817d7d;
}

.event-meta strong {
  color: #4f0071;
  text-decoration: underline;
  margin-right: 0.3rem;
}

.actions {
  margin-top: 2.5rem;
}

.actions a {
  font-size: 1rem;
  margin-right: 1.2rem;
  color: #000;
  text-decoration: none;
}

.actions a:hover {
  border-bottom: 0.3rem solid #ceb66f;
}

/* 📱 PHONES */
@media (max-width: 37.5em) {
  .events-top {
    gap: 1rem;
  }

  .events-card {
    flex-direction: column;
  }

  .events-img {
    flex: none;
  }
  .event-top {
    flex-direction: row;
    align-items: center;
  }
  .pagination {
    flex-direction: row; /* 🔥 horizontal */
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: nowrap; /* 🔥 wrap band */
  }
  .pagination .next {
    margin-left: -1.5rem; /* right side shift */
    white-space: nowrap;
  }
}

/* 📱 TABLETS */
@media (min-width: 48em) {
  .events-img {
    flex: 0 0 22%;
  }
  .events-card {
    flex-direction: column;
  }
  .events-img img {
    width: 26rem;
    height: 20rem;
  }
  .events-list1 {
    margin-right: 7rem;
  }
  .events-top {
    margin-right: 6rem;
  }
}

/* 💻 LAPTOPS */
@media (min-width: 62em) {
  .events-img {
    flex: 0 0 18%;
  }
  .events-img img {
    width: 18rem;
    height: 16rem;
  }
  .events-card {
    flex-direction: row;
    width: 48.5rem;
  }
  .pagination span {
    margin-right: 2rem;
  }
}

/* 🖥️ LARGE SCREENS */
@media (min-width: 75em) {
  .events-card {
    flex-direction: row;
    width: 59.5rem;
  }
  .pagination span {
    margin-right: 2rem;
  }
  .events-img img {
    width: 18rem;
    height: 19rem;
  }
}

/* Large screens */
@media (min-width: 1700px) {
  /* 1700px */
  .events-card {
    width: 89.5rem;
  }
  .pagination span {
    margin-right: 2rem;
  }
}
