/* ========== Section First =========== */

/* Section */

.notice-hero {
  background-color: #3a3a3a;
  padding-bottom: 1rem;
}

/* grey top thin line (purple ke neeche) */
.notice-hero::before {
  content: "";
  position: absolute;
  top: 3.25rem;
  left: 180px;
  width: 100%;
  height: 0.125rem;
  background-color: #9e9e9e;
}

/* RIGHT LINE WITH GAP */
.notice-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 3.5rem; /* 🔥 yahi margin from right */
  height: 100%;
  width: 0.15rem;
  background: #f5f5f5;
}

/* Content wrapper */
.announce-notice-inner {
  max-width: 75rem; /* 1200px */
  padding-left: 6.5rem;
  padding-top: 12rem;
}

/* Heading */
.announce-notice-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.announce-notice-title h1 {
  font-size: 4rem;
  font-weight: 800;
}

.announce-notice-title span {
  color: #f4c430;
}

/* ---------------- Responsive Breakpoints ---------------- */
/* Phones */
@media (max-width: 37.5rem) {
  /* 600px */

  .secondary-menu .navbar-toggler {
    margin-top: 4.5rem;
    margin-right: 2rem;
  }
  .d-flex.align-items-start.justify-content-between.border-cs {
    margin-right: 2rem;
    margin-left: -2rem;
  }

  .notice-hero::before {
    margin-left: -3rem;
  }
  .notice-hero::after {
    margin-right: -1.5rem;
  }

  .notice-hero {
    padding-block: 2.5rem;
  }

  .announce-notice-title {
    font-size: 2.5rem;
    margin-left: -6rem;
    margin-right: 3rem;
    text-align: center;
  }
}

/* Tablets */
@media (min-width: 48rem) {
  /* 768px */
  .announce-notice-title {
    font-size: 2.5rem;
  }
  .d-flex.align-items-start.justify-content-between.border-cs {
    margin-right: -1rem;
    margin-left: -1rem;
  }
  .notice-hero::before {
    margin-left: -1rem;
  }
  .notice-hero::after {
    margin-right: -1rem;
  }
  .right-brand .logo-icon {
    margin-right: 34rem;
  }
}

/* Laptops */
@media (min-width: 62rem) {
  /* 992px */
  .announce-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;
  }
  .notice-hero::before {
    margin-left: -3rem;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  /* 1200px */
  .announce-notice-title {
    font-size: 3.25rem;
  }
  .d-flex.align-items-start.justify-content-between.border-cs {
    margin-right: -5rem;
  }
  .right-brand .logo-icon {
    margin-right: 31rem;
  }
}
/* Large screens */
@media (min-width: 1700px) {
  /* 1200px */
  .d-flex.align-items-start.justify-content-between.border-cs {
    margin-right: -33rem;
  }
  .right-brand .logo-icon {
    margin-right: 5rem;
  }
  .d-flex.my-2.my-lg-0.align-items-center.justify-content-end.right-brand {
    margin-right: -39rem;
  }
}
/* ========== Section Second =========== */
/* BREADCRUMB WRAPPER */
.breadcrumb-wrap {
  width: 100%;
  background: #ffffff;
  border-top: 0.15rem solid #000;
}

/* CENTER CONTAINER */
.breadcrumb-container {
  max-width: 90%;
  margin-left: 15rem;
  padding-top: 3rem;
}

/* BREADCRUMB TEXT */
.announce-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #000;
  text-decoration: underline;
  padding-bottom: 1rem;
}

.announce-breadcrumb a {
  color: #000;
}

.announce-breadcrumb span {
  color: #000;
}

.announce-breadcrumb .current {
  font-weight: 600;
  cursor: pointer;
}

/* ---------- BREAKPOINTS ---------- */
/* Phones ≤ 600px */
@media (max-width: 37.5em) {
  .announce-breadcrumb {
    font-size: 1rem;
    flex-wrap: wrap;
    margin-left: -180px;
    row-gap: 0rem;
  }
}

/* Tablets ≥ 768px */
@media (min-width: 48em) {
  .breadcrumb-container {
    max-width: 85%;
  }
  .announce-breadcrumb {
    margin-left: -8.5rem;
    font-size: 1.5rem;
  }
}

/* Laptops ≥ 992px */
@media (min-width: 62em) {
  .breadcrumb-container {
    max-width: 80%;
  }

  .announce-breadcrumb {
    font-size: 1.3rem;
  }
}

/* Large Screens ≥ 1200px */
@media (min-width: 75em) {
  .breadcrumb-container {
    max-width: 75%;
  }
}

/* ========== Section Third =========== */

/* LAYOUT */
.announcement1-container {
  display: grid;
  grid-template-columns: 22% 1fr;
  gap: 2rem;
  padding: 2rem 3%;
}

/* SIDEBAR */
.announce-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
  margin-top: 1rem;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 0.6rem 2.2rem 0.6rem 0.8rem;
  border: none;
  border-bottom: 0.2rem solid #6a0572;
  background: #4f00711a;
}

.search-icon {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
}

.calendar-box,
.filter-box1 {
  border: 0.08rem solid #e5e5e5;
  padding: 1rem;
}

.calendar-box .left-img {
  margin-right: 4rem;
}

.calendar-box .right-img {
  margin-left: 4rem;
}

.calendar-box h4,
.filter-box1 h4 {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.calendar-box h4 {
  text-align: center;
  background: #deb04c4d;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.7rem;
  font-size: 0.75rem;
  text-align: center;
}

.calendar-grid span:hover {
  background: #4f0071;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  width: 90%;
  height: 100%;
}

.back {
  color: #c7c0c0;
}

.dropdown {
  border-bottom: 0.08rem solid #d1cdcd;
}

.dropdown-header {
  width: 100%;
  background: none;
  border: none;
  padding: 0.9rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 600;
  color: #4f0071;
  border-bottom: 0.1rem solid #d1cdcd;
}

.announce-arrow {
  background: none;
  transform: rotate(0deg); /* 🔽 default down */
  transition: transform 0.3s ease;
}

/* OPEN STATE */
.dropdown-header.active .announce-arrow {
  transform: rotate(180deg); /* 🔼 180deg rotate */
}

.dropdown-content {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 0.6rem 0 1rem;
  font-size: 1rem;
  margin-bottom: 4rem;
}

.dropdown-content li {
  cursor: pointer;
  color: #333;
}

.dropdown-content li:hover {
  color: #4f0071;
}

/* OPEN STATE */
.dropdown-content.open {
  display: flex;
}

/* ANNOUNCEMENTS */
.announcement-list1 {
  width: 100%;
}

.list-header {
  display: grid;
  grid-template-columns: 1fr 20rem 8rem;
  font-weight: 600;
  color: #4f0071;
  padding-bottom: 0.6rem;
  border-bottom: 0.3rem solid #4f0071;
}

.list-header span {
  font-size: 2rem;
}

.list-row {
  display: grid;
  grid-template-columns: 1fr 23rem 5rem;
  padding: 1.5rem 0;
  border-bottom: 0.15rem solid #eee;
  font-size: 0.85rem;
  padding-bottom: 1.5rem;
  padding-left: 1rem;
}

.list-row:hover {
  background: #4f00711a;
}

.list-row p {
  max-width: 95%;
  font-size: 1rem;
}

/* PAGINATION */
.pagination {
  display: flex;
  gap: 3.8rem;
  margin-top: 4rem;
  font-size: 1.3rem;
}

.pagination span {
  padding: 0.2rem 1rem;
}

.pagination span:hover {
  background: #4f0071;
  color: #fff;
}

.pagination .next {
  margin-left: auto;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- RESPONSIVE ---------- */
/* Phones ≤ 600px */
@media (max-width: 600px) {
  .announcement1-container {
    grid-template-columns: 1fr;
    display: block;
  }
  .list-header,
  .list-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .list-header span {
    font-size: 1.4rem;
  }
  .list-header {
    display: grid;
    grid-template-columns: 1fr 4rem 6rem;
  }
  .list-row {
    display: grid;
    grid-template-columns: 1fr 7rem 4rem;
  }
  .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 ≥ 768px */
@media (min-width: 48em) {
  .announcement1-container {
    grid-template-columns: 30% 1fr;
  }
  .list-header {
    display: grid;
    grid-template-columns: 1fr 6rem 14rem;
  }
  .list-row {
    display: grid;
    grid-template-columns: 1fr 9rem 11rem;
  }
  .announce-sidebar {
    margin-right: -1rem;
    margin-left: -1rem;
  }
  .pagination.aos-init.aos-animate {
    gap: 1rem;
    margin-right: 5rem;
  }
  .calendar-box .left-img {
    margin-right: 1rem;
  }

  .calendar-box .right-img {
    margin-left: 1rem;
  }
}

/* Laptops ≥ 992px */
@media (min-width: 62em) {
  .announcement1-container {
    grid-template-columns: 24% 1fr;
    gap: 2rem;
  }
  .calendar-box .left-img {
    margin-right: 1rem;
  }

  .calendar-box .right-img {
    margin-left: 1rem;
  }
}

/* Large Screens ≥ 1200px */
@media (min-width: 75em) {
  .announcement1-container {
    grid-template-columns: 20% 1fr;
  }
  .calendar-box .left-img {
    margin-right: 1rem;
  }

  .calendar-box .right-img {
    margin-left: 1rem;
  }
}
