@charset "UTF-8";

@font-face {
  font-family: "Twemoji";
  src: url("../fonts/twemoji.ttf") format("truetype");
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow.ttf") format("truetype");
}

@font-face {
  font-family: "Barlow Bold";
  src: url("../fonts/barlowb.ttf") format("truetype");
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlowcond.ttf") format("truetype");
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/lato.ttf") format("truetype");
}

@font-face {
  font-family: "Crimson";
  src: url("../fonts/crimson.ttf") format("truetype");
}

@font-face {
  font-family: "Crimson Bold";
  src: url("../fonts/crimson_b.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/notosans.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans Light";
  src: url("../fonts/notosans_l.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans Italic";
  src: url("../fonts/notosans_i.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans SemiBold";
  src: url("../fonts/notosans_sb.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans SemiBold Italic";
  src: url("../fonts/notosans_sbi.ttf") format("truetype");
}

@font-face {
  font-family: "PT Sans";
  src: url("../fonts/ptsans.ttf") format("truetype");
}

@font-face {
  font-family: "PT Sans Italic";
  src: url("../fonts/ptsansi.ttf") format("truetype");
}

@font-face {
  font-family: "PT Sans Bold";
  src: url("../fonts/ptsansb.ttf") format("truetype");
}

@font-face {
  font-family: "PT Sans Bold Italic";
  src: url("../fonts/ptsansbi.ttf") format("truetype");
}

*,
:after,
:before {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

body {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: medium;
  color: #37373d;
  margin: 0;
  width: 100%;
  background-color: #f8f8f8;
}

ul {
  list-style-type: none;
  text-decoration: none;
}

input,
select {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 5px;
}

a {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson !important;
  color: black;
  text-decoration: none;
}

a:hover {
  color: #ff7d01;
}

.btn-highlight input {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 1rem;
  width: auto;
  padding: 5px 10px 6px 10px;
  background-color: #f6c802;
  border-radius: 5px;
  cursor: pointer;
}

.btn-highlight input:hover {
  background-color: #ff7d01;
}

.normal {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
}

.block {
  width: 100%;
}

.emphasize {
  font-weight: bold;
}

.underline {
  border-bottom: 1px solid black;
}

.underline-gray1 {
  border-bottom: 1px solid #808080;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

.sep {
  color: #808080;
  margin: 0 10px 0 8px;
}

.fg0 {
  color: white;
}

.bg0 {
  background-color: #000000;
}

.bg1 {
  background-color: #ffe080;
}

.bg2 {
  background-color: #f6c802;
}

.bg3 {
  background-color: #ff7d01;
}

.cursor-hand {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}

.view-mobile {
  display: none;
}

.view-desktop {
  display: block;
}

.page-container {
  width: 80%;
  margin: 0 auto;
}

.header-container {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #37373d !important;
  width: 100% !important;
  padding: 8px 0 4px 0;
  z-index: 100;
}

.content-header {
  position: sticky;
  top: 2px;
  width: 100%;
  min-width: 100vw;
  margin-top: 60px;
  background-color: #010a13;
  z-index: 0;
}

.page-header {
  font-family: Barlow Condensed !important;
  font-size: 2rem;
  color: #efefef; /*f6c802;*/
  height: 100px;
  padding: 120px 0 0 4px;
  cursor: default;
}

.content-img-container {
  height: 200px;
  text-align: right;
}

.page-title-container {
  position: sticky;
  top: 104px;
  height: 80px;
  padding: 20px 0 0 0;
  background-color: #ffffff;
  cursor: default;
}

.page-title {
  color: #37373d !important; /*550102*/
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 5px 0px 5px 0px;
  cursor: default;
}

.page-content {
  text-align: center;
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 1rem;
  width: 95%;
  margin: 10px auto 70px auto;
}

.page-path {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: small;
  color: #606060;
  background-color: #e0e0e0;
  padding: 10px 0;
  border-bottom: 1px solid #dedede;
  cursor: default;
  min-width: 100vw;
}

.page-path a {
  cursor: pointer;
  color: #606060;
}

.page-path a:hover {
  color: #ff7d01;
}

.more {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: small;
}

.more a {
  color: #0000ff;
  cursor: pointer;
}

.more a:hover {
  color: #ff7d01;
}

.grid-2 {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
}

.grid-3 {
  display: grid;
  grid-template-columns: auto auto auto;
  column-gap: 10px;
}

.grid-4 {
  display: grid;
  grid-template-columns: auto auto auto auto;
  column-gap: 10px;
}

.grid-inline-2 {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 10px;
}

.grid-inline-3 {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  column-gap: 10px;
}

.grid-nogap-2 {
  display: grid;
  grid-template-columns: auto auto;
}

.grid-bullet-2 {
  display: grid;
  grid-template-columns: fit-content(64px) auto; /* allow max 64px icon */
  column-gap: 0;
}

.grid-span-2 {
  grid-column: 1 / span 2;
}

.grid-span-3 {
  grid-column: 1 / span 3;
}

.grid-span-4 {
  grid-column: 1 / span 4;
}
.grid-span-5 {
  grid-column: 1 / span 5;
}

.grid-row-span-2 {
  grid-row: span 2;
}

.alt-row {
  background-color: #f3fcd3;
}

.padding1 {
  padding: 4px 8px;
}

.padding-top-1 {
  padding-top: 8px;
}

.list-item {
  padding: 16px 0;
  border-bottom: 1px solid #e8e8e8;
}

.item-bullet {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson !important;
  margin: 0 10px 0 0;
  padding: 4px 16px;
  background-color: #f6c802;
  border-radius: 4px;
}

.item-descr {
  margin-top: 3px;
}

.row {
  margin: 6px 0 4px 0;
}

.vspacer {
  margin-top: 25px;
}

.vspacer2 {
  margin-top: 30px;
}

.lspacer {
  margin-left: 20px;
}

.rspacer {
  margin-right: 20px;
}

.lspacer-6 {
  margin-left: 6px;
}

.rspacer-6 {
  margin-right: 6px;
}

.gap-col-1 {
  column-gap: 10px;
}

.gap-row-1 {
  row-gap: 10px;
}

.gap-row-2 {
  row-gap: 30px;
}

.gap-30x30 {
  gap: 30px 30px;
}

.gap-10x10 {
  gap: 10px 10px;
}

.min-width-280 {
  min-width: 280px;
}

.min-width-100 {
  min-width: 100px;
}

.min-width-1 {
  min-width: 70px;
}

.content-container-justify {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.content-container-left {
  display: flex;
  flex-flow: row wrap;
  justify-content: left;
  row-gap: 8px;
}

.content-container-left span {
  font-size: medium;
  padding: 3;
}

.content-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.content-container-v {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.item-container {
  font-family: Noto Sans Light, Twemoji, Poppins, PT Sans, Lato, Crimson !important;
  text-align: center;
  width: 30%;
  min-width: 320px;
  /* margin: 0 15px 30px 15px; */
  padding: 15px 20px 35px 20px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.item-container-2w {
  width: 48%;
}

.item-container-2 {
  font-family: Noto Sans Light, Twemoji, Poppins, PT Sans, Lato, Crimson !important;
  text-align: center;
  width: 48%;
  min-width: 320px;
  /* margin: 0 15px 30px 15px; */
  padding: 15px 20px 35px 20px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.item-container-block {
  font-family: Noto Sans Light, Twemoji, Poppins, PT Sans, Lato, Crimson !important;
  text-align: left;
  width: 100%;
  /* margin: 10px 0; */
  padding: 15px 20px 35px 20px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.item-icon {
  font-size: 1rem;
  color: #02050a;
}

.item-icon-1 {
  font-size: 1rem;
  color: #ff7d01;
}

.item-icon-2 {
  font-size: 2rem;
  color: #ff7d01;
}

.item-icon-2a {
  font-size: 2rem;
  color: #02050a;
}

.item-container li {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson !important;
  color: #37373d;
  font-size: 1.2rem;
  list-style: none;
}

.main-header {
  display: flex;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  cursor: default;
}

.org {
  display: flex;
  cursor: default;
}

.logo-container {
  width: 60px;
}

.logo {
  width: 50px;
  margin: 0 auto !important;
}

.org-name {
  color: #f6c802 !important;
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson !important;
  font-size: 1.3rem !important;
  margin: auto 0 !important;
  padding-bottom: 7px;
  letter-spacing: 1px !important;
  text-align: center;
}

.top-nav-menu-icon {
  display: none;
  color: #efefef;
  width: auto;
  margin: auto 8px auto 0 !important;
  padding-bottom: 6px;
}

.top-nav-menu-icon a {
  color: #efefef;
}

.top-nav-menu-icon a:hover {
  color: #ff7d01;
}

.top-nav-icons {
  display: none;
  margin: auto 0;
}

.top-nav-icons a {
  margin: 0 3px;
  text-decoration: none !important;
}

.top-nav {
  display: flex;
  column-gap: 24px;
  margin: auto 0 !important;
  padding-bottom: 4px !important;
}

.top-nav a {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 8px;
  font-family: Noto Sans Light, Twemoji, Poppins, PT Sans, Lato, Crimson;
  white-space: nowrap;
  color: #e0e0e0 !important; /* ccee30 */
}

.top-nav li {
  margin: 0 10px;
}

.top-nav li a {
  display: grid;
  grid-template-columns: auto auto;
  color: #e0e0e0 !important; /* ccee30 */
  font-family: Noto Sans Light, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 1rem !important;
  text-decoration: none !important;
}

.top-nav a:hover {
  color: #f6c802 !important;
}

.nav-menu-icon {
  width: 16px;
  margin: 4px 7px 0 0 !important;
  cursor: pointer;
}

.nav-container-dd {
  display: none;
  position: fixed;
  top: 62px;
  width: 100% !important;
  height: auto !important;
  margin: 4px 0 4px 0;
  padding: 4px 0 3px 0;
  background: linear-gradient(90deg, #f6c802, #ff7d01);
  border-bottom: 4px solid #02050a;
  cursor: default !important;
  z-index: 99;
}

.nav-dd {
  display: grid;
  grid-template-columns: 1fr 30px 1fr;
  width: 100%;
  margin: 0 12px;
  padding: 10px 0 18px 0;
}

.nav-dd-col {
  display: flex;
  flex-flow: column wrap;
}

.nav-dd-item {
  margin: 5px 0;
  padding: 2px !important;
}

.nav-dd-item a {
  color: #4f0802 !important;
  font-family: Noto Sans Light, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 1rem;
  font-weight: bold;
  white-space: nowrap;
  text-decoration: none !important;
}

.nav-dd-item a:hover {
  border-radius: 1px;
  border-bottom: 2px solid #4f0802 !important; /* 2a4d05 */
}

.nav-container {
  position: sticky;
  top: 66px;
  width: 100% !important;
  min-width: 100vw !important;
  height: auto !important;
  margin: 4px 0 4px 0;
  padding: 4px 0 3px 0;
  background: linear-gradient(90deg, #f6c802, #ff7d01);
  border-bottom: 4px solid #02050a;
  cursor: default !important;
  z-index: 98;
}

.nav {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  /* background: linear-gradient(90deg, #f6c802, #ff7d01 ); */
}

.nav li {
  padding: 2px !important;
  /* margin-right: 20px; */
  display: list-item;
  border-bottom: 2px solid transparent !important;
}

.nav li a {
  color: #4f0802 !important;
  font-family: Noto Sans Light, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 1rem;
  font-weight: bold;
  white-space: nowrap;
  text-decoration: none !important;
}

.nav li:hover {
  border-radius: 1px;
  border-bottom: 2px solid #4f0802 !important; /* 2a4d05 */
}

.nav-body {
  position: sticky;
  top: 66px;
  display: none;
  width: 100% !important;
  min-width: 100vw !important;
  padding: 5px 0 3px 0;
  background: linear-gradient(90deg, #f6c802, #ff7d01);
  border-bottom: 4px solid #02050a;
  cursor: default !important;
  z-index: 80;
}

.nav-body-toggle {
  display: block;
}

.nav-body-toggle-p {
  display: block;
}

.nav-body-content {
  display: flex;
  column-gap: 20px;
  flex-flow: row wrap;
  /* justify-content: center; */
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-body-content li {
  padding: 2px !important;
  display: list-item;
  border-bottom: 2px solid transparent !important;
  cursor: pointer !important;
}

.nav-body-content li a {
  color: #4f0802 !important;
  font-family: Noto Sans Light, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none !important;
}

.nav-body-content li:hover {
  border-radius: 1px;
  border-bottom: 2px solid #4f0802 !important; /* 2a4d05 */
}

.main-content {
  width: 100%;
}

.body-img-spacer {
  height: 200px;
}

.admission-container {
  width: 100%;
  margin-top: -200px;
  cursor: default;
}

.admission-degrees {
  width: 50%;
  height: 200px;
  padding: 20px 22px 0 0 !important;
  background-color: #010a13 !important;
  z-index: 70;
}

.admission-title {
  font-family: Barlow Condensed !important;
  font-size: 2rem;
  color: #efefef;
  padding-bottom: 4px;
}

.admission-button {
  margin: 20px 0 0 0;
}

.flex-container {
  display: flex;
}

.link a {
  color: #0000ff;
}

.link a:hover {
  color: #ff7d01;
}

.link-text-padding {
  padding: 0 18px 2px 18px;
}

.link-light {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  white-space: nowrap;
  margin: auto 0;
}

.link-light a {
  color: #cfcfcf;
}

.link-light a:hover {
  color: #ff7d01;
}

.course-grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
}

.course-span {
  grid-column: 1;
}

.course-rev-class {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.course-toggle-btn {
  background-color: transparent;
  border: 0;
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

.course-revision-bg {
  background-color: #d3d3d3;
}

.course-revision-alt-row-bg {
  background-color: #d1dbb0;
}

.soc-med {
  display: flex;
  flex-flow: column;
  row-gap: 4px;
  font-size: 1.5rem;
  margin: 30px 2px 0 0;
}

.soc-med a {
  color: #cfcfcf;
}

.footer {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 0.75rem;
  margin-top: 40px;
  color: #e0e0e0;
  background-color: #37373d;
}

.footer-container {
  display: flex;
  flex-flow: row wrap;
  gap: 30px 50px;
  justify-content: center;
  padding: 30px 0 100px 0 !important;
}

.footer-section {
  white-space: nowrap;
}

.footer-container-fixed {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 8px 0;
  background-color: #02050a;
  font-size: small;
  color: #e0e0e0;
}

.footer-title {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 0.75rem;
  color: #f2b007;
  margin: 7px 0;
  cursor: default;
}

.footer-title a {
  color: #f2b007;
}

.footer-title a:hover {
  color: #ff7d01;
}

.footer-line {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 0.75rem;
  margin: 5px 0;
}

.footer-line a {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 0.75rem !important;
  color: #d8d8d8 !important; /* ccee30 */
  text-decoration: none !important;
}

.footer-line a:hover {
  color: #f2b007 !important;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
  flex-flow: row wrap;
}

.footer-nav a {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: small !important;
  color: #e0e0e0 !important; /* ccee30 */
  text-decoration: none !important;
}

.footer-nav a:hover {
  color: #f2b007 !important;
}

.footer-copyright {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: small !important;
  margin: 0 30px;
}

.nav-sub-header-container {
  width: 100%;
  display: flex;
  justify-content: center;
}
.nav-sub-header-sub-container {
  width: 80%;
}

/* Course Table */
.courses-tbl th {
  text-align: left;
  padding: 5px 3px 5px 3px;
}

.courses-tbl td {
  border-bottom: 1px solid black;
  padding: 5px 3px 5px 3px;
  cursor: default;
}
.bland-collapsible {
  vertical-align: top;
}

.semester-title {
  color: white;
  text-align: start;
}

.text-align-start-column {
  text-align: start;
}

/* Table of contents  */
.table-item-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.table-item {
  display: flex;
  gap: 15px;
}
/* Media & Events */
.image-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 columns */
  gap: 10px;
  padding: 10px;
}

/* Ensure all images fill their grid cell */
.image-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px; /* Optional rounded corners */
}

.course-dropdown-btn a {
  text-decoration: none;
  color: inherit;
}
.course-dropdown-btn div {
  font-family: Noto Sans, Twemoji, Poppins, PT Sans, Lato, Crimson;
  font-size: 1rem;
  width: auto;
  padding: 5px 10px 6px 10px;
  background-color: #f6c802;
  border-radius: 5px;
  cursor: pointer;
  color: black;
  transition: background-color 0.3s ease;
  border: 2px solid black;
}
.course-dropdown-btn div:hover {
  background-color: #ff7d01;
}

.collapsible {
  color: black;
  background-color: transparent;
  border: 0;
  border-radius: 0px;
  font-family: "PT Sans", sanserif_light, Arial, Calibri;
  font-size: 1rem;
  padding: 12px 0 8px 8px;
  text-align: left;
}
.collapsible:hover,
.collapsible:active,
.collapsible:focus {
  color: #ff6600;
  cursor: pointer;
}

.faq-item {
  width: 100%;
}

.faq-content {
  display: none;
  padding: 15px;
  background-color: #f9f9f9;
  border-left: 5px solid #3e3e3e;
  margin-top: 5px;
  border-radius: 5px;
}
.bland-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.frame-content {
  width: 100%;
  height: 700px;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
}
.styled-table th,
.styled-table td {
  border: 1px solid black;
  padding: 8px;
}
.styled-table th {
  background-color: #f2f2f2;
}
.center-text {
  text-align: center;
}
.left-text {
  text-align: left;
}

.admin-container {
  width: 100%;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.section-title {
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.admin-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #ddd;
}

.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
}

.admin-cell {
  flex: 1;
  display: flex;
}

.admin-cell i {
  margin: 0 8px;
  color: #555;
}

.YB-student-profile {
  margin-right: 18px;
  margin-left: 18px;
  width: 150px;
}
.YB-student-pic {
  margin: 0px 0px 10px 0px;
  display: block;
}
.YB-student-names {
  text-align: center;
  margin: 0;
  font-size: 17px;
  font-family: Optima_Bold;
}

.item-container-block-yearbook {
  font-family: Noto Sans Light, Twemoji, Poppins, PT Sans, Lato, Crimson !important;
  text-align: left;
  width: 100%;
  padding: 15px 20px 35px 20px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.flex-container-yearbook {
  display: flex;
  gap: 20px;
}

.school-years {
  width: 10%;
  border-right: 1px solid #ddd;
  padding-right: 10px;
}

.school-years ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.school-years li {
  margin-bottom: 10px;
  font-weight: 500;
}

.content-area {
  width: 90%;
  display: flex;
  flex-direction: column;
}

.search-input {
  padding: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

.scrollable-content {
  overflow-y: auto;
  max-height: calc(100vh - 100px);
  border: 1px solid #eee;
  padding: 10px;
  background-color: #fafafa;
}
.school-years li {
  margin-bottom: 10px;
}

.year-link {
  display: block;
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.year-link:hover {
  background-color: #f0f0f0;
}

.year-link.active {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

.card-yearbook-profile {
  /* Keep most of your existing card styles */
  max-width: none; /* Allow cards to take up grid column width */
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card-yearbook-profile img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain; /* Try this */
}

.yearbook-profile-content {
  padding: 20px;
}

.yearbook-profile-content h2 {
  margin: 0;
  font-size: 18px;
  color: #2c3e50;
}

.yearbook-profile-content p {
  margin: 2px 0;
  line-height: 1.6;
  color: #555;
  font-size: 14px;
}

.yearbook-label {
  font-weight: bold;
  color: #333;
}
.sub-header-container {
  display: flex;
  width: 100%;
  justify-content: center;
  flex-direction: column;
  gap: 100px;
}
.yearbook-content-title-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.yearbook-table-of-contents-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.yearbook-content-title {
  font-size: xx-large;
  font-weight: bold;
}
.yearbook-content-subtitle {
  font-size: x-large;
  font-weight: bold;
}
.yearbook-table-of-contents-item {
  font-size: x-large;
  font-weight: medium;
  cursor: pointer;
}

.yearbook-profile-container {
  display: grid; /* Use CSS Grid for the layout */
  grid-template-columns: repeat(
    auto-fit,
    minmax(240px, 1fr)
  ); /* Responsive columns */
  gap: 20px; /* Gap between the profile cards */
  padding: 20px; /* Add some padding around the grid container */
}
.yearbook-profile-title-container {
  display: flex;
  flex-direction: column;
}
.no-results-message {
  font-size: 1.5rem;
  color: #ff0000; /* Red color for visibility */
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border: 2px solid #ff0000;
  border-radius: 5px;
  margin-top: 20px;
}

/* Sub-menu classes */
.sub-menu-container {
  display: flex;
  justify-content: space-between;
}

.sub-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sub-menu-item {
  padding-right: 10px;
  border-right: 2px solid #9e9e9e;
}

.sub-menu-item.no-border {
  border-right: none;
}

.sub-menu-item a {
  text-decoration: none;
  display: block;
  color: #333;
  font-size: 14px;
}

.dots-toggle {
  cursor: pointer;
}

.dots-toggle i {
  font-size: 18px;
}

/* Small devices: only show dots initially */
@media (max-width: 767px) {
  .sub-menu {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
  }

  .sub-menu-item {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .dots-toggle {
    align-self: flex-end;
    border-bottom: none;
  }

  .hidden-menu {
    display: none;
    width: 100%;
  }

  .menu-expanded .hidden-menu {
    display: block;
  }
}

/* Mid devices: show 3 items + dots */
@media (min-width: 768px) and (max-width: 1024px) {
  .hidden-menu:not(:nth-child(-n + 0)) {
    display: none;
  }

  .sub-menu {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
  }

  .sub-menu-item {
    border-bottom: 2px solid #ccc;
    border-right: none;
    padding-bottom: 2px;
  }
}

/* Large devices: show all items, hide dots */
@media (min-width: 1025px) {
  .hidden-menu {
    display: block !important;
  }

  .dots-toggle {
    display: none;
  }
}

/* Yearbook responsive adjustments */
@media (min-width: 1025px) {
  .flex-container-yearbook {
    flex-direction: row;
  }

  .school-years {
    width: 10%;
    border-right: 1px solid #ddd;
    padding-right: 10px;
  }

  .content-area {
    width: 90%;
  }
}
/* 🌍 Responsive Adjustments Media & Events */
@media (max-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
  }
}

@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
  .flex-container-yearbook {
    flex-direction: column;
    .yearbook-profile-container {
      grid-template-columns: repeat(
        auto-fit,
        minmax(100%, 1fr)
      ); /* Single column on small screens */
    }
  }
  @media (min-width: 769px) and (max-width: 1024px) {
    .yearbook-profile-container {
      grid-template-columns: repeat(
        auto-fit,
        minmax(300px, 1fr)
      ); /* Adjust min-width for tablets */
    }
  }

  .school-years {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding-right: 0;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }

  .content-area {
    width: 100%;
  }

  .scrollable-content {
    max-height: none;
  }
  .yearbook-content-title {
    font-size: x-large;
  }
  .yearbook-content-subtitle {
    font-size: large;
  }
  .yearbook-table-of-contents-item {
    font-size: large;
    font-weight: medium;
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: repeat(1, 1fr); /* 1 column on small screens */
  }
}
@media (max-width: 1443px) {
  .item-container {
    width: 45%;
  }
}

@media (max-width: 1130px) {
  .top-nav {
    display: none;
  }

  .nav-container {
    display: none;
  }

  .top-nav-menu-icon {
    display: flex;
    column-gap: 24px !important;
  }

  .nav-body {
    display: block;
  }

  .item-container-2w {
    width: 100%;
  }

  .item-container-2 {
    width: 100%;
  }
}

@media (max-width: 970px) {
  .item-container {
    width: 85%;
  }
}

@media (max-width: 830px) {
  .page-container {
    width: 85%;
  }

  .nav-body-toggle {
    display: none !important;
  }

  .admission-container {
    width: 100% !important;
    margin-top: 0;
    background-color: #37373d !important;
  }

  .admission-degrees {
    width: 100%;
    height: auto;
    padding: 18px 0 22px 0 !important;
    background-color: #37373d !important;
  }

  .item-container {
    width: 100%;
  }

  .footer-wrapper {
    display: flex;
    justify-content: center;
    column-gap: 30px;
    flex-flow: row wrap;
  }
}

@media (max-width: 700px) {
  .page-container {
    width: 90%;
  }
}

@media (max-width: 520px) {
  .view-mobile {
    display: block;
  }

  .view-desktop {
    display: none;
  }

  .course-span {
    grid-column: 1 / span 3;
  }

  .page-container {
    width: 95%;
  }

  .nav-body-toggle-p {
    display: none !important;
  }

  .min-width-1 {
    width: 100%;
  }

  .min-width-100 {
    width: 100%;
  }

  .min-width-280 {
    width: 100%;
  }

  .footer-wrapper {
    display: flex;
    flex-flow: row wrap;
    gap: 5px 0;
    justify-content: center;
  }

  .footer-section {
    width: 100%;
    /*text-align: center;*/
  }
}
