/* css styles */
/* Darker page background under the content box */
body {
  background-color: #222;
  background-image: url("images/POSA.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* Widen the content area */
div.content, main {
  max-width: 1400px !important;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.88);
  padding: 2rem;
  border-radius: 10px;
}

/* Make bio text larger and bolder */
.aboutme-section {
  font-size: 20px;
  line-height: 1.7;
  font-weight: 500;
  color: #333333;
}

/* Optional: make heading more prominent */
h2 {
  font-size: 28px;
  font-weight: 700;
  color: #222222;
}

/* === NAVBAR: Navy Blue Ribbon === */
.navbar {
  background-color: #001F3F !important;
  border-bottom: 1px solid #00152C;
}

/* Make navbar text white */
.navbar a,
.navbar-brand {
  color: #ffffff !important;
}

/* Highlight the active link */
.navbar-nav .nav-link.active {
  font-weight: bold;
  border-bottom: 2px solid white;
}

/* BOLD NAVBAR TEXT */
.navbar-nav .nav-link {
  font-weight: bold;
}

.navbar-brand {
  font-weight: bold;
}

.media-box {
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 3rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #c62828;
}

.media-card {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.media-card:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.media-logo {
  max-height: 40px;
  border-radius: 6px;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: opacity 0.3s;
}

.media-logo:hover {
  opacity: 1;
}

/* === TOC Sidebar Styling === */
#quarto-sidebar-toc {
  font-size: 1.15rem !important;
  color: white !important;
}

#quarto-sidebar-toc .toc-active {
  color: #ffffff !important;
  font-weight: bold !important;
}

#quarto-sidebar-toc a {
  color: #ffffff !important;
  text-decoration: none !important;
}

#quarto-sidebar-toc a:hover {
  color: #ffdddd !important;
  text-decoration: underline !important;
}

#quarto-sidebar-toc .nav-link {
  font-size: 1.1rem !important;
}

/* Force TOC sidebar to be larger and white */
nav[aria-labelledby="sidebar-toc-title"],
nav#TOC,
#quarto-sidebar-toc {
  font-size: 1.2rem !important;
  color: white !important;
}

#quarto-sidebar-toc a,
nav[aria-labelledby="sidebar-toc-title"] a,
nav#TOC a {
  color: white !important;
  text-decoration: none !important;
  font-weight: 500;
}

#quarto-sidebar-toc a:hover,
nav[aria-labelledby="sidebar-toc-title"] a:hover,
nav#TOC a:hover {
  color: #ffdddd !important;
  text-decoration: underline !important;
}

#quarto-sidebar-toc .toc-active,
nav[aria-labelledby="sidebar-toc-title"] .toc-active,
nav#TOC .toc-active {
  color: white !important;
  font-weight: bold !important;
}

.featured-scholarship {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #002f6c;
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.fs-left h2 {
  font-size: 2rem;
  color: white;
  margin: 0;
}

.fs-right {
  flex: 1;
  min-width: 300px;
}

.fs-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: underline;
}

.fs-title:hover {
  color: #ffcc00;
}

.fs-authors {
  font-size: 0.95rem;
  color: #dddddd;
  margin-top: 0.5rem;
}

.fs-logo {
  height: 60px;
  margin-top: 1rem;
}

/* Distinct box styling */
.featured-scholarship-box {
  background: rgba(245, 250, 255, 0.9);
  border-left: 5px solid #003366;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.media-box {
  background: rgba(255, 245, 245, 0.9);
  border-left: 5px solid #c62828;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
