/* =========================================================
   daad.css  –  DAAD page (DAAD.php)
   Standalone: tokens + hero banner + page + sidebar styles.
   (Remove the :root block if --navy / --gold / --transition
   are already defined in your global stylesheet.)
   ========================================================= */
:root {
  --navy: #0b2352;
  --navy-dark: #081a3d;
  --gold: #e1a80b;
  --line: #dde4f0;
  --tint: #eef3fb;
  --soft: #f5f8fd;
  --serif: Georgia, "Times New Roman", serif;
  --transition: .25s ease;
}

/* ================= PAGE BANNER ================= */
.page-banner {
  position: relative;
  width: 100%;
  height: 315px;
  overflow: hidden;
  background: #0b2352;
}
.banner-flex {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1300px;
  margin: 0 auto;
}
.banner-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.banner-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.banner-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px 40px 70px;
  background: rgba(11, 35, 82, 0.88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.banner-text::after {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 150px;
  height: 100%;
  background: rgba(11, 35, 82, 0.88);
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: -1;
}
.banner-text h1 {
  margin: 0 0 14px 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 1px;
}
.banner-sub {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  line-height: 1.6;
  max-width: 420px;
}
.banner-text .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  background: none;
  padding: 0;
  margin: 0;
}
.banner-text .breadcrumb a { color: #fff; text-decoration: none; }
.banner-text .breadcrumb a:hover { color: var(--gold); }
.banner-text .breadcrumb .sep { color: #fff; }
.banner-text .breadcrumb .current { color: var(--gold); font-weight: 600; }

/* ================= PAGE BASE ================= */
.dd-section { padding: 40px 0 56px; background: #fff; }
.dd-section p {
  margin: 0 0 12px;
  color: #1d2b4a;
  font-size: 14px;
  line-height: 1.75;
}
.dd-section a { color: var(--navy); }
.dd-section a:hover { color: var(--gold); }

.dd-title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 12px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}
.dd-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  background: var(--gold);
}
.dd-title-lg { margin: 40px 0 20px; font-size: 25px; }

/* ================= LAYOUT WITH RIGHT SIDEBAR ================= */
.dd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}
.dd-content { min-width: 0; }
.dd-layout .cbhe-side { position: sticky; top: 20px; }

/* ================= STATS ================= */
.dd-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.dd-stat { display: flex; align-items: flex-start; gap: 12px; padding: 18px 16px; }
.dd-stat + .dd-stat { border-left: 1px solid var(--line); }
.dd-stat > i { color: var(--navy); font-size: 24px; margin-top: 2px; }
.dd-stat b {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 4px;
}
.dd-stat span { display: block; color: #4a5878; font-size: 12px; line-height: 1.45; }

/* ================= SCHOLARSHIP FEATURE ================= */
.dd-feature {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 26px;
  padding: 28px 32px;
  background: var(--navy);
  border: 3px solid var(--gold);
  border-radius: 6px;
  color: #fff;
}
.dd-feature-icon { flex: 0 0 auto; color: var(--gold); font-size: 62px; }
.dd-feature h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
}
.dd-section .dd-feature p { margin: 0 0 16px; color: rgba(255, 255, 255, .92); }

/* buttons */
.dd-section a.dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--gold);
  border-radius: 4px;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.dd-section a.dd-btn:hover { background: #f1bb2a; color: var(--navy); transform: translateY(-1px); }
.dd-section a.dd-btn-navy { background: var(--navy); color: #fff; }
.dd-section a.dd-btn-navy:hover { background: #07173a; color: var(--gold); }

/* ================= NEWS CARDS ================= */
.dd-news { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.dd-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(11, 35, 82, .05);
}
.dd-card-band {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  background: linear-gradient(100deg, var(--navy-dark), var(--navy) 60%, #14397a);
  color: var(--gold);
  font-size: 34px;
  border-bottom: 3px solid var(--gold);
}
.dd-card-body { flex: 1; padding: 18px 18px 6px; }
.dd-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
}
.dd-card .dd-card-body p { font-size: 13px; line-height: 1.65; margin-bottom: 10px; }
.dd-section .dd-date { color: var(--navy); font-weight: 700; font-size: 13px; }
.dd-date i { margin-right: 6px; }
.dd-section .dd-label { margin: 6px 0 4px; font-weight: 700; color: var(--navy); }
.dd-section .dd-url { word-break: break-all; font-size: 12px; color: #4a5878; }
.dd-points { list-style: none; margin: 0 0 10px; padding: 0; }
.dd-points li {
  position: relative;
  padding: 3px 0 3px 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #1d2b4a;
}
.dd-points li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.dd-card > .dd-btn { margin: 8px 18px 18px; align-self: flex-start; }

/* ================= SIDEBAR MENU ================= */
.sidebar-menu {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}
.sidebar-menu h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 20px;
  background: var(--navy);
}
.sidebar-menu h3.gold-edge { border-left: 4px solid var(--gold); }
.sidebar-menu ul { list-style: none; margin: 0; padding: 0; }
.sidebar-menu ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.sidebar-menu ul li a i:first-child {
  color: var(--navy);
  width: 18px;
  text-align: center;
}
.sidebar-menu ul li a:hover { background: #f5f7fb; color: var(--navy); }
.sidebar-menu ul li.active a {
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
}
.sidebar-menu ul li.active a i:first-child { color: var(--gold); }
.sidebar-menu ul li a .arrow {
  margin-left: auto;
  font-size: 11px;
  color: var(--navy);
  opacity: .6;
}
.sidebar-menu ul li.active a .arrow { color: var(--gold); opacity: 1; }



/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .banner-media { width: 100%; }
  .banner-text { width: 70%; padding: 30px; }
  .banner-text::after { display: none; }
  .banner-text h1 { font-size: 28px; }

  .dd-layout { grid-template-columns: 1fr; }
  .dd-layout .cbhe-side { position: static; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .dd-stats { grid-template-columns: 1fr; }
  .dd-stat + .dd-stat { border-left: 0; border-top: 1px solid var(--line); }
  .dd-news { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .page-banner { height: auto; min-height: 260px; }
  .banner-text { position: relative; width: 100%; padding: 36px 20px; }
  .banner-media { display: none; }

  .dd-title { font-size: 24px; }
  .dd-stats { grid-template-columns: 1fr; }
  .dd-stat + .dd-stat { border-left: 0; border-top: 1px solid var(--line); }
  .dd-feature { flex-direction: column; align-items: flex-start; padding: 24px 20px; gap: 14px; }
  .dd-feature h2 { font-size: 21px; }
  .dd-news { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .dd-section a.dd-btn { transition: none; }
}