/* Sidebar Ads Container Shit */
  .sidebanner-container {
  display: flex;
  flex-direction: column;
  gap: 10px; /* spacing between banners */
}

/* Sidebar Ads Container Shit Ends */


/* Search Bar Shit */
 .gnSearchForm {
  width: 100%;
  max-width: 720px;
  margin: 2rem auto;
}

.gnSearchBar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: .55rem .55rem .55rem 1.2rem;
  box-shadow: 0 10px 35px rgba(0,0,0,.06);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
  box-sizing: border-box;
}

.gnSearchBar:focus-within {
  transform: translateY(-2px);
  border-color: #eb2525;
  box-shadow: 0 14px 45px rgba(235,37,37,.12);
}

.gnSearchBar input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: #111827;
}

.gnSearchBar input::placeholder {
  color: #9ca3af;
}

.gnSearchBtn {
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  background: #004225;
  color: white;
  padding: .9rem 1.2rem;
  cursor: pointer;
  transition: transform .2s ease;
}

.gnSearchBtn:hover {
  transform: scale(1.04);
  background: #111827;
}

@media (max-width: 480px) {
  .gnSearchBar {
    gap: .5rem;
    padding: .4rem .4rem .4rem 1rem;
  }

  .gnSearchBtn {
    padding: .75rem .9rem;
  }

  .gnSearchBar input {
    font-size: .9rem;
  }
}
/* Searchbar Shit Ends */

/* Carousel Shit */
  .gpsmcarol-carousel {
  position: relative;
  width: min(100%, 1280px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-radius: 12px 0;
  }

  .gpsmcarol-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
  .gpsmcarol-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
  }

  .gpsmcarol-slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
  }

  #gpsmcarol-slides {
  display: flex;
  transition: transform 0.4s ease;
  touch-action: pan-y;
}

  .gpsmcarol-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(49, 34, 34, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
  }

  .gpsmcarol-btn:hover {
    background: green;
  }

  .gpsmcarol-prev {
    left: 15px;
  }

  .gpsmcarol-next {
    right: 15px;
  }

  .gpsmcarol-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }

  .gpsmcarol-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
  }

  .gpsmcarol-dot.gpsmcarol-active {
    background: white;
    transform: scale(1.2);
  }
/* Carousel Shit Ends */

 /* Ads Banner Wrap Shit */
  .banner-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 1em;
}

.banner {
  flex: 1 1 calc(50% - 8px);
  min-width: 280px;
  aspect-ratio: 16 / 5;
  overflow: hidden; /* keeps img contained */
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* removes inline baseline gap */
}

@media (max-width: 768px) {
  .banner-wrap {
    flex-direction: column;
  }

  .banner {
    width: 100%; /* full width in column layout */
    flex: none;  /* don't let flex override the aspect-ratio */
  }
}
/* Ads Banner Shit Ends */

/* Announcement SHit */

  .announcement-box {
  background: #fffbea;
  border: 2px dashed #d4a017;
  border-radius: 0;
  font-family: "Trebuchet MS", sans-serif;
}

.announcement-title {
  color: #003b31;
  font-size: 1.2rem;
  margin: 15px 0;
}

.announcement-list li {
  background: #fff;
  border-bottom: 1px solid #000000;
  padding: 10px;
  border-radius: 6px;
}
.announcement-list {
  list-style: none;
}
.announcement-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.announcement-list li a {
  color: #ff0000;
  text-decoration: none;
}

.announcement-list li::before {
  content: "▸";
  margin-right: 8px;
}

/* Annoucement Shit Ends */

/* Content Switcher Shit */
.updates-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 0.75rem;
  border-bottom: 0.5px solid #e0e0e0;
  margin-bottom: 0;
}
.updates-header h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #003b31;
  border-left: 6px solid #003b31;
  padding: 10px;
}
.view-switcher {
  display: flex;
  gap: 4px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 3px;
}
.view-switcher button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #888;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.view-switcher button:hover {
  background: #fff;
  color: #333;
}
.view-switcher button.active {
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
}

/* Content Switcher Ends */

/* Student Guide Shit */

  .cardshitosmgp-card {
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background: #f9f9f9;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  }

  .cardshitosmgp-card-content {
    padding: 18px 20px;
  }

  .cardshitosmgp-top-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }

  .cardshitosmgp-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  .cardshitosmgp-meta h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #000;
  }

  .cardshitosmgp-meta p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #555;
  }

  .cardshitosmgp-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    margin: 0 0 14px;
  }

  .cardshitosmgp-description {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0;
  }

  .cardshitosmgp-footer {
    border-top: 1px solid #ddd;
    padding: 12px 20px;
    text-align: right;
    background: #f7f7f7;
  }

  .cardshitosmgp-read-more {
    text-decoration: none;
    color: #28a745;
    font-weight: 600;
    font-size: 15px;
  }

  .cardshitosmgp-read-more:hover {
    text-decoration: underline;
  }

  .cardshitosmgp-card {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background: #f9f9f9;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
  }

  .cardshitosmgp-card-content {
    padding: 18px 20px;
  }

  .cardshitosmgp-top-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }

  .cardshitosmgp-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .cardshitosmgp-meta h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #000;
  }

  .cardshitosmgp-meta p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #555;
  }

  .cardshitosmgp-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    margin: 0 0 14px;
    word-break: break-word;
  }

  .cardshitosmgp-description {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0;
  }

  .cardshitosmgp-footer {
    border-top: 1px solid #ddd;
    padding: 12px 20px;
    text-align: right;
    background: #f7f7f7;
  }

  .cardshitosmgp-read-more {
    text-decoration: none;
    color: #28a745;
    font-weight: 600;
    font-size: 15px;
  }

  .cardshitosmgp-read-more:hover {
    text-decoration: underline;
  }

  @media (max-width: 600px) {
    .cardshitosmgp-card-content {
      padding: 16px;
    }

    .cardshitosmgp-title {
      font-size: 18px;
    }

    .cardshitosmgp-description {
      font-size: 15px;
    }

    .cardshitosmgp-footer {
      padding: 12px 16px;
    }
  }

/* Student Guide Shit Ends */

/* GRID LAYOUT Shit */
            .gpschsm-post-grid {
              display: grid;
              grid-template-columns: 1fr;
              gap: 24px;
            }

            /* Desktop: 2 columns */
            @media (min-width: 768px) {
              .gpschsm-post-grid {
                grid-template-columns: repeat(2, 1fr);
              }
            }

            .gpschsm-card-post {
              display: flex;
              flex-direction: column;
              border-radius: var(--radius-lg);
              background: var(--surface-card);
              border: 1px solid rgba(0,0,0,0.07);
              overflow: hidden;
              transition: border-color .2s ease;
              cursor: pointer;
            }

            .gpschsm-card-post {
              border-color: rgba(0,0,0,0.2);
            }

            .gpschsm-post-title {
              color: #0a6c5a;
            }

            .gpschsm-card-post:hover .gpschsm-post-title {
              color: #000000;
            }

            /* Top image — full width, height auto on mobile */
            .gpschsm-card-thumb {
               height: auto;
                object-fit: contain;
            }

            .gpschsm-card-thumb img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: center top;
              display: block;
            }

            /* Fixed thumbnail height on desktop */
            @media (min-width: 768px) {
              .gpschsm-card-thumb {
                height: 240px;
              }
            }

            /* Category badge overlaid on image (not currently used in markup) */
            .gpschsm-card-category {
              position: absolute;
              bottom: 12px;
              left: 14px;
              font-size: 11px;
              font-weight: 500;
              letter-spacing: 0.07em;
              text-transform: uppercase;
              background: rgba(255,255,255,0.92);
              color: #0f6e56;
              padding: 4px 10px;
              border-radius: 999px;
            }

            /* Teal top-border accent instead of box-shadow */
            .gpschsm-post-body {
              padding: 18px 20px 20px;
              border-top: 3px solid #1d9e75;
              display: flex;
              flex-direction: column;
              gap: 10px;
            }

            .gpschsm-post-meta {
              font-size: 12px;
              color: #666;
              display: flex;
              gap: 6px;
              align-items: center;
            }

            .gpschsm-post-title {
              margin: 0;
              font-size: 17px;
              font-weight: 500;
              line-height: 1.4;
              transition: color .2s ease;
            }

            /* Clamp excerpt to 2 lines */
            .gpschsm-post-excerpt {
              font-size: 14px;
              color: #555;
              line-height: 1.6;
              margin: 0;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              overflow: hidden;
            }

            /* Footer row: author + read arrow (not currently used in markup) */
            .gpschsm-post-footer {
              display: flex;
              align-items: center;
              justify-content: space-between;
              padding-top: 10px;
              border-top: 1px solid rgba(0,0,0,0.06);
            }

            .gpschsm-author-chip {
              display: flex;
              align-items: center;
              gap: 7px;
              font-size: 12px;
              color: #666;
            }

            .gpschsm-author-avatar {
              width: 24px;
              height: 24px;
              border-radius: 50%;
              background: #e1f5ee;
              display: flex;
              align-items: center;
              justify-content: center;
              font-size: 10px;
              font-weight: 600;
              color: #0f6e56;
            }

            .gpschsm-read-link {
              font-size: 12px;
              font-weight: 500;
              color: #1d9e75;
            }
/* Grid Shit Ends */