/* ============================================================
   REVAMP — STIKes Sehat Medan
   ============================================================ */

:root {
  --primary:       #0f4c81;
  --primary-dark:  #0a3560;
  --primary-light: #1a6db5;
  --accent:        #f0aa00;
  --accent-dark:   #d49500;
  --success:       #059669;
  --bg:            #f1f5f9;
  --bg-white:      #ffffff;
  --text:          #0f172a;
  --text-muted:    #64748b;
  --border:        #e2e8f0;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.07);
  --shadow:        0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.16);
  --radius:        12px;
  --radius-sm:     8px;
  --navbar-h:      72px;
  --transition:    0.25s ease;
}

/* ---- Global ------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

/* ---- Container width --------------------------------------- */
@media (min-width: 1200px) {
  .container { width: 1400px !important; max-width: 1400px !important; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .container { width: 100% !important; max-width: 980px !important; padding-left: 24px !important; padding-right: 24px !important; }
}

img { max-width: 100%; }

a { text-decoration: none; }
a:hover { text-decoration: none; }

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}

/* ---- Wrapper ---------------------------------------------- */

#wrapper {
  padding-top: var(--navbar-h);
  width: 100%;
  margin: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */

header .navbar,
header .navbar-default {
  background: var(--primary) !important;
  background-color: var(--primary) !important;
  min-height: var(--navbar-h) !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 1050;
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
  padding: 0;
  margin-bottom: 0 !important;
}

/* Brand / Logo */
.navbar-brand {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  padding: 14px 16px !important;
  height: var(--navbar-h) !important;
  line-height: 1 !important;
  margin-top: 0 !important;
  display: table !important;
}

.navbar-brand .logoku {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  vertical-align: middle;
  margin-right: 8px;
}

.navbar-brand .judul {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  vertical-align: middle;
}

/* Nav links */
header .navbar ul {
  margin-top: 0 !important;
}

header .navbar-nav {
  margin: 0 !important;
}

header .navbar-nav > li {
  padding: 0 !important;
}

header .navbar-nav > li > a {
  color: rgba(255,255,255,0.88) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 26px 13px !important;
  line-height: 1.4 !important;
  border-bottom: 3px solid transparent !important;
  transition: all var(--transition) !important;
}

header .navbar-nav > li > a:hover,
header .navbar-nav > li.active > a,
header .navbar-nav > li.active > a:hover,
header .navbar-nav > li.active > a:focus {
  color: var(--accent) !important;
  border-bottom-color: var(--accent) !important;
  background: transparent !important;
}

header .navbar-nav > li.open > a,
header .navbar-nav > li.open > a:hover,
header .navbar-nav > li.open > a:focus {
  color: var(--accent) !important;
  background: rgba(255,255,255,0.05) !important;
  border-bottom-color: var(--accent) !important;
}

/* Dropdown — override style.css .dropdown-menu { background-color: #D6F78D } */
.dropdown-menu,
header .nav li .dropdown-menu,
header .navbar .dropdown-menu {
  background: var(--primary-dark) !important;
  background-color: var(--primary-dark) !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 8px 0 !important;
  margin-top: 0 !important;
  min-width: 200px;
}

header .nav li .dropdown-menu li a {
  color: rgba(255,255,255,0.80) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 9px 20px !important;
  line-height: 1.4 !important;
  border-bottom: none !important;
  transition: all 0.2s ease !important;
}

header .nav li .dropdown-menu li a:hover {
  background: var(--accent) !important;
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
}

/* Override style.css: .navbar .nav > li > a { color: #111 } */
.navbar.navbar-default .nav > li > a,
header .navbar .nav > li > a {
  color: rgba(255,255,255,0.88) !important;
}

/* Override: .navbar-default .navbar-nav > .active > a { background: none } */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: transparent !important;
  color: var(--accent) !important;
}

/* Mobile hamburger */
.navbar-toggle {
  border-color: rgba(255,255,255,0.3) !important;
  margin-top: 16px !important;
  margin-right: 15px !important;
}

.navbar-toggle .icon-bar {
  background-color: #fff !important;
}

/* ============================================================
   FEATURED / BOOTSTRAP CAROUSEL
   ============================================================ */

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

#featured {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
  background: #000;
}

#featured .carousel,
#featured .carousel-inner {
  width: 100%;
  overflow: hidden;
}

/* Slide image */
#featured .carousel-inner .item img {
  width: 100%;
  height: 60vh;
  min-height: 320px;
  max-height: 640px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Caption overlay */
#featured .carousel-caption {
  position: absolute;
  left: 40px;
  right: auto;
  bottom: 70px;
  text-align: left;
  background: rgba(10,53,96,0.85);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  max-width: 500px;
  backdrop-filter: blur(4px);
  text-shadow: none;
}

#featured .carousel-caption p {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
}

/* Dot indicators */
#featured .carousel-indicators {
  bottom: 16px;
}

#featured .carousel-indicators li {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.4);
  border: none;
}

#featured .carousel-indicators .active {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background-color: var(--accent);
}

/* Arrow controls — remove Bootstrap gradient, add custom circles */
#featured .carousel-control {
  width: 64px;
  background-image: none !important;
  background: transparent !important;
  opacity: 1;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#featured .carousel-control.left  { left: 0; }
#featured .carousel-control.right { right: 0; }

.hero-arrow {
  display: block;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255,255,255,0.65);
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  position: relative;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}

.hero-arrow::before {
  content: '';
  display: block;
  width: 11px;
  height: 11px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
}

.hero-arrow-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.hero-arrow-next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

#featured .carousel-control:hover .hero-arrow,
#featured .carousel-control:focus .hero-arrow {
  background: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */

#content {
  background: var(--bg);
  padding: 0;
  position: static;
}

.site-section {
  padding: 52px 0 48px;
}

.site-section.section-white {
  background: var(--bg-white);
}

/* ---- Section Title ---------------------------------------- */

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  display: inline-block;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary);
  position: relative;
  padding-bottom: 12px;
  margin: 0;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ============================================================
   NEWS CARDS
   ============================================================ */

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 28px;
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.news-card .nc-img-wrap {
  overflow: hidden;
  line-height: 0;
}

.news-card .nc-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .nc-img {
  transform: scale(1.04);
}

.news-card .nc-body {
  padding: 18px 20px 20px;
}

.news-card .nc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.45;
}

.news-card .nc-title a {
  color: inherit;
}

.news-card .nc-title a:hover {
  color: var(--primary);
}

.news-card .nc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-card .nc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-card .nc-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}

.news-card .nc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition);
}

.news-card .nc-link:hover {
  color: var(--accent-dark);
}

/* ============================================================
   ANNOUNCEMENT CARDS
   ============================================================ */

.ann-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
.ann-grid::before,
.ann-grid::after { display: none; }

.ann-col {
  float: none !important;
  display: flex;
  flex-direction: column;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 24px;
}

.ann-col .ann-card {
  flex: 1;
  margin-bottom: 0;
}

.ann-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.ann-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.ann-card .ann-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 6px;
  line-height: 1.4;
}

.ann-card .ann-title a {
  color: inherit;
}

.ann-card .ann-title a:hover {
  color: var(--accent-dark);
}

.ann-card .ann-body {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--primary-dark) !important;
  color: rgba(255,255,255,0.82);
  padding: 52px 0 0 !important;
}

footer h2.footer {
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  margin-bottom: 18px !important;
}

footer .widget {
  margin-bottom: 0;
}

footer a.fanpage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  color: #fff !important;
  font-size: 15px;
  text-decoration: none;
  margin-right: 6px;
  transition: all var(--transition);
}

footer a.fanpage:hover {
  background: var(--accent);
  color: var(--primary-dark) !important;
  transform: translateY(-3px);
}

footer .footer-divider {
  border-top: 1px solid rgba(255,255,255,0.10);
  margin: 36px 0 0;
  padding: 20px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* ---- Scroll-up button ------------------------------------ */

a.scrollup {
  background: var(--accent) !important;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark) !important;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  bottom: 24px;
  right: 24px;
}

a.scrollup:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-4px);
}

a.scrollup i {
  color: var(--primary-dark) !important;
  font-size: 18px;
}

/* ============================================================
   INNER PAGES — Page Top Bar
   ============================================================ */

#headertop {
  background: var(--primary);
  height: 0 !important;
  padding: 0 !important;
}

/* ============================================================
   SINGLE / DETAIL PAGES
   ============================================================ */

.single_page_area h2.post_title {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.post_commentbox {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
}

.post_commentbox span {
  margin-right: 16px;
}

.archive_style_1 .content_bottom_right {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.single_bottom_rightbar h2 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 16px;
}

/* Small sidebar list items */
ul.small_catg li,
ul.popular_catg li {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

ul.small_catg li a,
ul.popular_catg li a {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: color var(--transition);
}

ul.small_catg li a:hover,
ul.popular_catg li a:hover {
  color: var(--primary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--primary-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 8px 0 16px;
  }

  header .navbar-nav > li > a {
    height: auto !important;
    line-height: 1.4 !important;
    padding: 10px 20px !important;
    border-bottom: none !important;
    border-left: 3px solid transparent !important;
  }

  header .navbar-nav > li > a:hover,
  header .navbar-nav > li.active > a {
    border-left-color: var(--accent) !important;
    background: rgba(255,255,255,0.05) !important;
  }

  .dropdown-menu {
    border-radius: 0 !important;
    box-shadow: none !important;
    border-left: 3px solid var(--accent) !important;
    margin-left: 20px !important;
  }
}

@media (max-width: 767px) {
  :root { --navbar-h: 62px; }

  .navbar-brand .logoku {
    height: 38px;
    width: 38px;
  }

  .navbar-brand .judul {
    font-size: 15px;
  }

  #featured .flexslider .slides img {
    max-height: 280px;
  }

  .site-section {
    padding: 36px 0 32px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .news-card .nc-img {
    height: 160px;
  }
}

/* ============================================================
   SECTION HEADING — LEFT-ALIGNED (with "Lihat Semua" link)
   ============================================================ */

.section-heading-left {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
  margin-bottom: 22px;
}

.section-heading-left h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  transition: color var(--transition);
}

.section-more:hover { color: var(--accent-dark); }

/* ============================================================
   STATS STRIP
   ============================================================ */

.stats-strip {
  background: var(--primary);
  padding: 0;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background var(--transition);
}

.stat-item:last-child { border-right: none; }

.stat-item:hover { background: rgba(255,255,255,0.07); }

.stat-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  text-align: center;
  font-weight: 500;
}

/* ============================================================
   NEWS LAYOUT (featured + list)
   ============================================================ */

.news-layout {
  display: flex;
  gap: 20px;
}

.news-featured {
  flex: 0 0 55%;
  max-width: 55%;
}

.nf-img-link { display: block; overflow: hidden; border-radius: var(--radius); line-height: 0; }

.nf-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}

.nf-img-link:hover .nf-img { transform: scale(1.04); }

.nf-body { padding: 14px 0 0; }

.nf-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  gap: 14px;
}

.nf-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.4;
}

.nf-title a { color: inherit; }
.nf-title a:hover { color: var(--primary); }

.nf-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.news-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-list-item {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.news-list-item:last-child { border-bottom: none; padding-bottom: 0; }

.nli-img-link { flex-shrink: 0; display: block; overflow: hidden; border-radius: var(--radius-sm); line-height: 0; }

.nli-img {
  width: 80px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
  display: block;
}

.nli-img-link:hover .nli-img { transform: scale(1.06); }

.nli-body { flex: 1; }

.nli-date {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 4px;
}

.nli-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.nli-title a { color: inherit; }
.nli-title a:hover { color: var(--primary); }

/* ============================================================
   ANNOUNCEMENT LIST
   ============================================================ */

.ann-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ann-list-item {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ann-list-item:last-child { border-bottom: none; }

.ali-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  transition: color var(--transition);
}

.ali-title:hover { color: var(--primary); }

.ali-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   PROGRAM STUDI
   ============================================================ */

.prodi-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.prodi-card {
  flex: 0 0 calc(33.333% - 20px);
  margin: 10px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid transparent;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prodi-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.prodi-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.pc-1 { background: #0f4c81; }
.pc-2 { background: #d946a8; }
.pc-3 { background: #059669; }
.pc-4 { background: #7c3aed; }
.pc-5 { background: #ea580c; }
.pc-6 { background: #0891b2; }

.prodi-card:nth-child(1) { border-top-color: #0f4c81; }
.prodi-card:nth-child(2) { border-top-color: #d946a8; }
.prodi-card:nth-child(3) { border-top-color: #059669; }
.prodi-card:nth-child(4) { border-top-color: #7c3aed; }
.prodi-card:nth-child(5) { border-top-color: #ea580c; }
.prodi-card:nth-child(6) { border-top-color: #0891b2; }

.prodi-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.3;
}

.prodi-badge {
  display: inline-block;
  background: rgba(15,76,129,0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.prodi-cta {
  margin-top: auto;
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 20px;
  transition: background var(--transition);
}

.prodi-cta:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

/* ============================================================
   CTA PMB BANNER
   ============================================================ */

.cta-pmb {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-pmb::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(240,170,0,0.12);
  border-radius: 50%;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
}

.cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark) !important;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 30px;
  border-radius: 30px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-cta-primary:hover {
  background: #fff;
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.btn-cta-outline {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ============================================================
   AGENDA CARDS
   ============================================================ */

.agenda-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.agenda-card {
  flex: 1;
  min-width: 220px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-left: 4px solid var(--primary);
  transition: box-shadow var(--transition), transform var(--transition);
}

.agenda-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.agenda-date-badge {
  flex-shrink: 0;
  width: 54px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.adb-day {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.adb-month {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  line-height: 1.4;
}

.adb-year {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.agenda-body { flex: 1; }

.agenda-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.4;
}

.agenda-title a { color: inherit; }
.agenda-title a:hover { color: var(--primary); }

.agenda-time {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.agenda-empty {
  color: var(--text-muted);
  text-align: center;
  width: 100%;
  padding: 24px 0;
}

/* ============================================================
   GALLERY GRID
   ============================================================ */

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-item {
  flex: 1;
  min-width: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-link { display: block; position: relative; overflow: hidden; line-height: 0; }

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-link:hover .gallery-img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,53,96,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  gap: 10px;
}

.gallery-link:hover .gallery-overlay { opacity: 1; }

.gallery-zoom {
  font-size: 28px;
  color: #fff;
}

.gallery-caption {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 0 12px;
}

.btn-more {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 24px;
  transition: background var(--transition), transform var(--transition);
}

.btn-more:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================================
   LAYANAN DIGITAL
   ============================================================ */

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 calc((100% - 5 * 14px) / 6);
  max-width: calc((100% - 5 * 14px) / 6);
  padding: 20px 10px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.service-item:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
  transition: background var(--transition);
}

.service-item:hover .service-icon { background: var(--accent); }
.service-item:hover .service-icon i { color: var(--primary-dark); }

.service-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  transition: color var(--transition);
}

.service-item:hover .service-name { color: #fff; }

/* ============================================================
   RESPONSIVE — Home sections
   ============================================================ */

@media (max-width: 991px) {
  .stats-grid { flex-wrap: wrap; }
  .stat-item  { flex: 0 0 33.33%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:last-child { border-bottom: none; }

  .service-item {
    flex: 0 0 calc((100% - 3 * 14px) / 4);
    max-width: calc((100% - 3 * 14px) / 4);
  }

  .news-layout { flex-direction: column; }
  .news-featured { flex: 1; max-width: 100%; }

  .prodi-card { flex: 0 0 calc(50% - 20px); }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .agenda-grid { gap: 14px; }
  .agenda-card { min-width: 100%; }
}

@media (max-width: 767px) {
  .stat-item  { flex: 0 0 50%; }
  .prodi-card { flex: 0 0 calc(50% - 20px); }
  .gallery-item { flex: 0 0 calc(50% - 6px); }
  .service-item {
    flex: 0 0 calc((100% - 2 * 14px) / 3);
    max-width: calc((100% - 2 * 14px) / 3);
    padding: 16px 8px 12px;
  }

  .cta-text h2 { font-size: 22px; }

  .section-heading-left h2 { font-size: 17px; }

  .nf-img { height: 180px; }
}

/* ============================================================
   PAGE HERO — Inner pages
   ============================================================ */

.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 44px 0 40px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  background: rgba(240,170,0,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.breadcrumb-revamp {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
  position: relative;
  z-index: 1;
}

.breadcrumb-revamp li {
  font-size: 14px;
  color: rgba(255,255,255,0.70);
}

.breadcrumb-revamp li + li::before {
  content: '/';
  margin: 0 8px;
  color: rgba(255,255,255,0.35);
}

.breadcrumb-revamp li a {
  color: rgba(255,255,255,0.80);
  transition: color var(--transition);
}

.breadcrumb-revamp li a:hover { color: var(--accent); }

.breadcrumb-revamp li.active {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================
   INNER GRID — 2-column news card layout
   ============================================================ */

.inner-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.inner-grid .news-card {
  flex: 0 0 calc(50% - 20px);
  margin: 10px;
}

/* ============================================================
   PAGINATION — custom
   ============================================================ */

.paging-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 24px 0 8px;
}

.pg-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.pg-item:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pg-active {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar-box {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.3px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  margin: 0 0 16px;
}

.sidebar-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.si-img-link {
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  line-height: 0;
}

.si-img {
  width: 70px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
  transition: transform 0.3s ease;
}

.si-img-link:hover .si-img { transform: scale(1.06); }

.si-body { flex: 1; }

.si-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.4;
}

.si-title a { color: inherit; }
.si-title a:hover { color: var(--primary); }

.si-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.empty-state {
  color: var(--text-muted);
  font-size: 16px;
  text-align: center;
  padding: 32px 0;
  width: 100%;
}

/* ============================================================
   ARTICLE / DETAIL PAGE
   ============================================================ */

.article-wrap {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 36px 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.article-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin: 0 0 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 11px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  margin-bottom: 22px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-featured-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  display: block;
}

.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

.article-body img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 12px 0;
}

.article-downloads {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 22px;
  transition: all var(--transition);
}

.btn-download:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================================
   EVENT LIST (Agenda page)
   ============================================================ */

.event-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  transition: box-shadow var(--transition), transform var(--transition);
}

.event-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.event-card-img {
  flex-shrink: 0;
  width: 150px;
  overflow: hidden;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.event-card:hover .event-card-img img { transform: scale(1.06); }

.event-card-body {
  flex: 1;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.event-card-date {
  flex-shrink: 0;
  width: 50px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ecd-day {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.ecd-month {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  line-height: 1.4;
}

.ecd-year {
  font-size: 10px;
  color: rgba(255,255,255,0.60);
  line-height: 1.4;
}

.event-card-info { flex: 1; }

.event-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.4;
}

.event-card-title a { color: inherit; }
.event-card-title a:hover { color: var(--primary); }

.event-card-time {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.event-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 10px;
}

.event-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition);
}

.event-card-link:hover { color: var(--accent-dark); }

.map-box {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-box-header {
  padding: 13px 18px;
  background: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-box-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.map-box-header i { color: var(--accent); }

/* ============================================================
   ALBUM GRID
   ============================================================ */

.album-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.album-card {
  flex: 0 0 calc(25% - 14px);
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.album-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.album-cover-link {
  display: block;
  overflow: hidden;
  line-height: 0;
}

.album-cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.album-cover-link:hover .album-cover { transform: scale(1.06); }

.album-info {
  padding: 12px 14px 14px;
}

.album-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.album-title a { color: inherit; }
.album-title a:hover { color: var(--primary); }

/* ============================================================
   PHOTO GALLERY (Detail Album)
   ============================================================ */

.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.photo-item {
  flex: 0 0 calc(25% - 9px);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.photo-link {
  display: block;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.photo-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.photo-link:hover .photo-img { transform: scale(1.08); }

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,53,96,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 28px;
  color: #fff;
}

.photo-link:hover .photo-overlay { opacity: 1; }

/* ============================================================
   RESPONSIVE — Inner pages
   ============================================================ */

@media (max-width: 991px) {
  .inner-grid .news-card { flex: 0 0 calc(50% - 20px); }
  .event-card-img { width: 120px; }
  .album-card { flex: 0 0 calc(33.333% - 12px); }
  .photo-item { flex: 0 0 calc(33.333% - 8px); }
}

@media (max-width: 767px) {
  .page-hero { padding: 30px 0 28px; }
  .page-hero-title { font-size: 22px; }
  .article-wrap { padding: 20px 18px 24px; }
  .article-title { font-size: 20px; }
  .inner-grid .news-card { flex: 0 0 calc(100% - 20px); }
  .event-card { flex-direction: column; }
  .event-card-img { width: 100%; height: 160px; }
  .album-card { flex: 0 0 calc(50% - 9px); }
  .photo-item { flex: 0 0 calc(50% - 6px); }
  .video-card { flex: 0 0 calc(50% - 10px); }
}

/* ============================================================
   VIDEO CARDS
   ============================================================ */

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.video-card {
  flex: 0 0 calc(33.333% - 14px);
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  overflow: hidden;
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-card-body {
  padding: 14px 16px 16px;
  flex: 1;
}

.video-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin: 0 0 8px;
}

.video-card-title a { color: inherit; }
.video-card-title a:hover { color: var(--primary); }

.video-card-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* Detail video embed */
.video-detail-wrap {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 36px 36px;
  box-shadow: var(--shadow-sm);
}

.video-detail-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.video-detail-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 991px) {
  .video-card { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 480px) {
  .video-card { flex: 0 0 100%; }
  .video-detail-wrap { padding: 20px 16px 24px; }
}

/* ============================================================
   REGISTRATION FORM
   ============================================================ */

.reg-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.reg-intro {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border-left: 5px solid var(--accent);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.reg-intro-icon {
  font-size: 26px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.reg-intro-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 5px;
}

.reg-intro-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.reg-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.reg-section {
  padding: 26px 30px;
  border-bottom: 1px solid var(--border);
}

.reg-section:last-of-type { border-bottom: none; }

.reg-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.reg-section-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reg-section-title h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.reg-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.reg-row:last-child { margin-bottom: 0; }

.reg-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.reg-field.reg-field-sm { flex: 0 0 210px; }
.reg-field.reg-field-xs { flex: 0 0 150px; }

.reg-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.reg-label .req { color: #e53e3e; margin-left: 2px; }

.reg-input,
.reg-select,
.reg-textarea {
  width: 100%;
  padding: 10px 13px;
  font-size: 15px;
  font-family: 'Barlow', sans-serif;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.reg-input:focus,
.reg-select:focus,
.reg-textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15,76,129,0.10);
}

.reg-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M0 0l5 7 5-7z' fill='%2364748b'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}

.reg-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.reg-input::placeholder,
.reg-textarea::placeholder { color: #b0bcc8; }

/* Photo Upload */
.reg-photo-area {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.reg-photo-preview-wrap {
  flex-shrink: 0;
  width: 108px;
  height: 128px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px dashed var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reg-photo-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reg-photo-info { flex: 1; padding-top: 2px; }

.reg-photo-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.reg-file-btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.reg-file-btn input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

.reg-file-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 20px;
  transition: background var(--transition);
  pointer-events: none;
}

.reg-file-btn:hover .reg-file-label { background: var(--primary-dark); }

#file-name-display {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
}

/* Submit area */
.reg-submit-area {
  padding: 22px 30px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.reg-submit-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.reg-submit-note i { color: var(--primary); margin-right: 2px; }

.btn-reg-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--primary-dark) !important;
  font-size: 16px;
  font-weight: 800;
  padding: 13px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-reg-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,170,0,0.35);
}

.btn-reg-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 767px) {
  .reg-section { padding: 20px 16px; }
  .reg-row { flex-direction: column; gap: 14px; }
  .reg-field.reg-field-sm,
  .reg-field.reg-field-xs { flex: 1; }
  .reg-submit-area { flex-direction: column; align-items: stretch; }
  .btn-reg-submit { justify-content: center; }
  .reg-photo-area { flex-direction: column; }
}

/* ============================================================
   PROFILE NAV SIDEBAR
   ============================================================ */

.profile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.profile-nav-item a i {
  width: 18px;
  text-align: center;
  color: var(--primary);
  font-size: 15px;
  flex-shrink: 0;
}

.profile-nav-item a:hover {
  background: var(--bg);
  color: var(--primary);
}

.profile-nav-item.active a {
  background: var(--primary);
  color: #fff !important;
}

.profile-nav-item.active a i { color: var(--accent); }

/* ============================================================
   CONTENT PAGE (static/profile pages)
   ============================================================ */

.content-page-wrap {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 40px 40px;
  box-shadow: var(--shadow-sm);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
}

.content-page-wrap > *:first-child { margin-top: 0 !important; }
.content-page-wrap > *:last-child  { margin-bottom: 0 !important; }

.content-page-wrap p { margin: 0 0 14px; }

.content-page-wrap h1,
.content-page-wrap h2,
.content-page-wrap h3,
.content-page-wrap h4 {
  color: var(--primary);
  margin: 26px 0 10px;
  line-height: 1.3;
}

.content-page-wrap h3 { font-size: 18px; }
.content-page-wrap h4 { font-size: 16px; }

/* Lists */
.content-page-wrap ol,
.content-page-wrap ul {
  padding-left: 22px;
  margin: 0 0 14px;
}

.content-page-wrap li { margin-bottom: 7px; line-height: 1.75; }

/* Images */
.content-page-wrap img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius-sm);
  display: block;
  margin: 16px auto;
}

/* Tables (Kerja Sama) */
.content-page-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.content-page-wrap table th,
.content-page-wrap table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.5;
}

.content-page-wrap table thead th,
.content-page-wrap table tr:first-child td {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-color: rgba(255,255,255,0.15);
}

.content-page-wrap table tbody tr:nth-child(even) td { background: #f8fafc; }
.content-page-wrap table tbody tr:hover td { background: rgba(15,76,129,0.04); }

/* Visi & Misi special blocks */
.vm-block {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.vm-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
}

.vm-visi .vm-tag {
  background: var(--primary);
  color: #fff;
}

.vm-misi .vm-tag {
  background: var(--accent);
  color: var(--primary-dark);
}

.vm-visi-text {
  background: linear-gradient(135deg, #e8f0f8 0%, #f0f6ff 100%);
  border-left: 4px solid var(--primary);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  font-style: italic;
  line-height: 1.7;
  margin: 10px 0 0;
}

.vm-list {
  padding-left: 20px;
  margin: 10px 0 0;
}

.vm-list li {
  margin-bottom: 8px;
  line-height: 1.7;
  padding-left: 4px;
}

.vm-prodi-section {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 20px;
  border-top: 3px solid var(--primary);
}

.vm-prodi-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 14px;
}

@media (max-width: 767px) {
  .content-page-wrap { padding: 22px 18px 24px; }
  .content-page-wrap table { font-size: 13px; }
  .content-page-wrap table th,
  .content-page-wrap table td { padding: 7px 10px; }
}

/* ============================================================
   TRACER STUDI FORM
   ============================================================ */

.tracer-q {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
}

.tracer-q.q-info   { border-left-color: var(--primary); }
.tracer-q.q-survey { border-left-color: var(--accent); }

.tracer-q-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
}

.tracer-q-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.tracer-q-text { flex: 1; }

.tracer-radio-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tracer-radio-list li label,
.tracer-check-list li label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: all var(--transition);
  line-height: 1.45;
}

.tracer-radio-list li label:hover,
.tracer-check-list li label:hover {
  border-color: var(--primary);
  background: rgba(15,76,129,0.04);
}

.tracer-radio-list li label input,
.tracer-check-list li label input {
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.tracer-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tracer-inline-input {
  margin-left: 6px;
  padding: 4px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: 'Barlow', sans-serif;
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
}

.tracer-inline-input:focus { border-color: var(--primary); }

.tracer-num-input {
  width: 100%;
  max-width: 200px;
  padding: 10px 13px;
  font-size: 15px;
  font-family: 'Barlow', sans-serif;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  margin-top: 8px;
}

.tracer-num-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,76,129,0.10);
  background: #fff;
}

/* Rating matrix — Q25-53 */
.rating-matrix-wrap {
  overflow-x: auto;
}

.rating-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.rating-matrix th {
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
}

.rating-matrix th:first-child {
  text-align: left;
  width: 55%;
}

.rating-matrix td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.rating-matrix td:not(:first-child) {
  text-align: center;
}

.rating-matrix tbody tr:nth-child(even) td { background: #f8fafc; }
.rating-matrix tbody tr:hover td { background: rgba(15,76,129,0.04); }

.rating-matrix input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* NIM status feedback */
.nim-status {
  margin-top: 8px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: none;
}

.nim-status.found {
  background: #d1fae5;
  color: #065f46;
  border-left: 3px solid #059669;
  display: block;
}

.nim-status.notfound {
  background: #fee2e2;
  color: #991b1b;
  border-left: 3px solid #dc2626;
  display: block;
}

@media (max-width: 767px) {
  .tracer-q { padding: 16px 14px; }
  .rating-matrix th,
  .rating-matrix td { padding: 7px 8px; font-size: 13px; }
}
