/*
Theme Name: STISIPOL Candradimuka
Theme URI: https://stisipol.local
Author: Codex
Author URI: https://example.com
Description: Tema portal kampus STISIPOL Candradimuka.
Version: 1.3.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: stisipol-candradimuka
*/

:root {
  --gold: #e0b100;
  --gold-2: #f0c300;
  --charcoal: #202328;
  --red: #cf0e0e;
  --text: #2c2c2c;
  --muted: #f2f2f2;
  --border: #dddddd;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: #efefef;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(var(--container), 96%);
  margin: 0 auto;
}

.topbar {
  background: var(--gold);
  color: #fff;
  font-size: 14px;
  border-top: 4px solid #d6a900;
}

.topbar-inner {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
}

.topbar-left {
  font-weight: 700;
}

.topbar-language {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

.topbar select {
  min-width: 240px;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 14px;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
}

.topbar-social a {
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #fff;
}

.topbar-social .dashicons {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 16px;
}

.brandbar {
  background: #efefef;
  padding: 22px 0;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.custom-logo {
  max-height: 84px;
  width: auto;
}

.brand-mark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #ffe78d 0 40%, #e0b100 65%, #1f1f1f 66% 72%, transparent 73%);
}

.brand-title {
  margin: 0;
  line-height: 1;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(34px, 4.2vw, 68px);
  text-shadow: 2px 2px 0 #8a0000;
}

.main-nav {
  background: var(--charcoal);
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 12px;
}

.menu-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.menu-primary-container ul,
.nav-fallback {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 36px;
}

.menu-primary-container li,
.nav-fallback li {
  padding: 16px 0;
}

.menu-primary-container a,
.nav-fallback a,
.nav-search {
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1;
}

.nav-search {
  display: inline-block;
  padding: 8px 0;
}

.nav-search-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-search-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-search-form {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 360px;
  padding: 10px;
  background: rgba(13, 18, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  z-index: 30;
}

.nav-search-form[hidden] {
  display: none !important;
}

.nav-search-wrap:not(.is-open) .nav-search-form {
  display: none !important;
}

.nav-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
}

.nav-search-form button {
  border: 0;
  border-radius: 8px;
  background: #0f2f58;
  color: #fff;
  font-weight: 700;
  padding: 10px 12px;
  cursor: pointer;
}

.nav-search-right {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
  text-transform: none;
}

.menu-primary-container .current-menu-item > a,
.menu-primary-container a:hover,
.nav-fallback a:hover,
.nav-search:hover {
  color: var(--gold-2);
}

.hero-slider {
  position: relative;
  background: #222;
}

.hero-slides {
  position: relative;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.06));
}

.hero-content-wrap {
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  padding-bottom: 245px;
}

.hero-caption {
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  padding: 14px 20px;
  max-width: min(1100px, 96%);
  position: relative;
  z-index: 9;
}

.hero-date {
  margin: 0;
  color: #efca54;
  font-size: 14px;
  font-weight: 700;
}

.hero-title {
  margin: 8px 0 0;
  font-size: clamp(28px, 2.6vw, 46px);
  line-height: 1.1;
}

.hero-title a {
  color: inherit;
}

.hero-dots {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  z-index: 6;
}

.hero-dot {
  width: 6px;
  height: 30px;
  border: 0;
  background: #ffffff;
  opacity: 0.85;
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--gold-2);
}

.hero-quick-links {
  position: relative;
  margin-top: -56px;
  z-index: 8;
}

.hero-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hero-quick-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-top: 4px solid #0f2f58;
  padding: 16px 18px 18px;
  box-shadow: 0 10px 26px rgba(8, 25, 45, 0.14);
  min-height: 126px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-quick-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0b3f79 0%, #072f5f 100%);
  transform: translateY(-102%);
  transition: transform 0.32s ease;
  z-index: 1;
}

.hero-quick-card > * {
  position: relative;
  z-index: 2;
}

.hero-quick-card:hover,
.hero-quick-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(8, 25, 45, 0.22);
}

.hero-quick-card:hover::before,
.hero-quick-card:focus-within::before {
  transform: translateY(0);
}

.hero-quick-card:hover h3,
.hero-quick-card:focus-within h3,
.hero-quick-card:hover h3 a,
.hero-quick-card:focus-within h3 a {
  color: #ffffff;
}

.hero-quick-card:hover .hero-quick-kicker,
.hero-quick-card:focus-within .hero-quick-kicker {
  color: #c6d7ef;
}

.hero-quick-card.is-active {
  background: #ffffff;
  color: inherit;
}

.hero-quick-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9f1f1f;
}

.hero-quick-card.is-active .hero-quick-kicker {
  color: #9f1f1f;
}

.hero-quick-card h3 {
  margin: 0;
  font-size: clamp(20px, 1.5vw, 30px);
  line-height: 1.25;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-quick-card h3 a {
  color: inherit;
}

.section-news {
  background: var(--muted);
  padding: 72px 0 60px;
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.section-head-news {
  text-align: left;
  margin-bottom: 20px;
}

.section-head-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 26px;
}

.section-head h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(36px, 3vw, 52px);
  line-height: 1;
}

.section-head-news h2 {
  font-size: clamp(34px, 3vw, 60px);
}

.section-head span {
  margin-top: 18px;
  width: 170px;
  height: 4px;
  background: var(--gold);
  display: inline-block;
}

.news-more-link {
  color: #0f2f58;
  font-size: 30px;
  font-weight: 700;
  border-bottom: 3px solid #a61414;
  padding-bottom: 4px;
  line-height: 1;
}

.news-query-status {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: 14px;
  color: #35465c;
}

.news-query-status a {
  color: #0f2f58;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #0f2f58;
}

.news-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}

.news-tab {
  border: 0;
  border-top: 6px solid #a61414;
  background: #f5f5f5;
  color: #10243f;
  font-family: inherit;
  font-size: clamp(18px, 1.7vw, 40px);
  font-weight: 700;
  min-height: 84px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.news-tab:hover {
  transform: translateY(-2px);
}

.news-tab.is-active {
  background: #072f5f;
  color: #fff;
}

.news-panels {
  position: relative;
}

.news-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
}

.news-panel.is-active {
  display: block;
  animation: newsPanelIn 0.38s ease forwards;
}

@keyframes newsPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.news-main-card,
.news-side-item {
  background: #f5f5f5;
  border: 1px solid var(--border);
}

.news-main-thumb {
  display: block;
  width: 100%;
  min-height: clamp(320px, 30vw, 500px);
  background: #e8e8e8;
  overflow: hidden;
}

.news-main-thumb img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.news-main-thumb-fallback {
  display: block;
  width: 100%;
  min-height: inherit;
  background: linear-gradient(135deg, #ddd 0%, #cfcfcf 100%);
}

.news-main-body {
  padding: 16px 22px 20px;
}

.news-main-title {
  margin: 10px 0 14px;
  font-size: clamp(28px, 1.9vw, 36px);
  line-height: 1.2;
}

.news-main-excerpt {
  margin: 0;
  color: #575757;
  font-size: 18px;
  line-height: 1.6;
}

.news-date {
  margin: 0;
  color: #6a6a6a;
  font-size: 14px;
  font-weight: 700;
}

.news-side-list {
  display: grid;
  gap: 20px;
}

.news-side-item {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 14px;
  padding: 14px;
}

.news-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-side-thumb {
  display: block;
  min-height: 180px;
  background: #e6e6e6;
}

.news-side-thumb-fallback {
  display: block;
  width: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, #ddd 0%, #cfcfcf 100%);
}

.news-side-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 1.4vw, 28px);
  line-height: 1.2;
}

.news-side-excerpt {
  margin: 10px 0 0;
  color: #595959;
  font-size: 16px;
  line-height: 1.5;
}

.section-featured-media {
  background: #f1f1f1;
  padding: 62px 0 68px;
}

.section-scholar {
  background: #f6f7fb;
  padding: 54px 0 26px;
}

.scholar-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
  padding-top: 18px;
}

.scholar-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(360px, 42%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ba1d1d 0%, #0d2a52 100%);
}

.scholar-head h2 {
  margin: 0;
  color: #111;
  font-size: clamp(34px, 2.7vw, 52px);
  line-height: 1.02;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.3px;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid #d9dfeb;
  text-shadow: 0 1px 0 #fff;
}

.scholar-head p {
  margin: 8px 0 0;
  color: #49556a;
  font-size: 18px;
  font-weight: 700;
}

.scholar-more-link {
  display: inline-block;
  background: #0d2a52;
  color: #fff;
  border: 1px solid #0d2a52;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.scholar-more-link:hover {
  background: #fff;
  color: #0d2a52;
}

.scholar-search {
  display: flex;
  gap: 10px;
  margin: 0 0 14px;
}

.scholar-search input {
  flex: 1 1 auto;
  min-width: 260px;
  border: 1px solid #d8dde6;
  padding: 11px 12px;
  font-size: 15px;
}

.scholar-search button {
  border: 1px solid #0d2a52;
  background: #0d2a52;
  color: #fff;
  font-weight: 800;
  padding: 10px 14px;
  cursor: pointer;
}

.scholar-search button:hover {
  background: #fff;
  color: #0d2a52;
}

.scholar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scholar-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid #d7deea;
  border-radius: 10px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 24px rgba(15, 34, 59, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scholar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(15, 34, 59, 0.14);
}

.scholar-card a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 186px;
}

.scholar-card-title {
  margin: 0;
  color: #111;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 800;
  overflow-wrap: anywhere;
  min-height: 84px;
}

.scholar-card-meta {
  margin: 0;
  color: #5a6577;
  font-size: 18px;
  line-height: 1.42;
  font-weight: 600;
  min-height: 54px;
  overflow-wrap: anywhere;
}

.scholar-card-open {
  margin: 0;
  color: #0d2a52;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-bottom: 3px;
  border-bottom: 2px solid #ba1d1d;
}

.scholar-open-icon {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.scholar-doc-badge {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  margin-top: -2px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #d8e0ec;
  background: #f0f4fa;
  color: #0f2f58;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.scholar-hint {
  margin: 12px 0 0;
  color: #5a6577;
  font-size: 14px;
  font-weight: 700;
}

.featured-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 30px;
}

.featured-head h2 {
  margin: 0;
  color: #111;
  font-size: clamp(46px, 3.6vw, 66px);
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}

.featured-more-link {
  color: #0d2a52;
  border-bottom: 3px solid #a61414;
  padding-bottom: 4px;
  font-size: clamp(20px, 1.4vw, 34px);
  font-weight: 700;
}

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.92fr) minmax(0, 0.62fr);
  gap: 0 26px;
  align-items: start;
}

.featured-col-main {
  min-width: 0;
  background: #f7f7f7;
  border: 1px solid #dcdcdc;
  box-shadow: 0 6px 18px rgba(15, 34, 59, 0.08);
  padding: 12px;
}

.featured-main-card h3 {
  margin: 16px 0 10px;
  color: #111;
  font-size: clamp(24px, 2vw, 42px);
  line-height: 1.25;
  font-family: Georgia, "Times New Roman", serif;
  overflow-wrap: anywhere;
}

.featured-main-card p {
  margin: 0;
  color: #5d636b;
  font-size: 16px;
  line-height: 1.6;
}

.featured-main-thumb {
  display: block;
  min-height: 460px;
  background: #ddd;
  overflow: hidden;
  position: relative;
}

.featured-main-thumb img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.featured-col-list {
  min-width: 0;
  background: #f7f7f7;
  border: 1px solid #dcdcdc;
  box-shadow: 0 6px 18px rgba(15, 34, 59, 0.08);
  padding: 12px;
}

.featured-mini-list {
  display: grid;
  gap: 14px;
}

.featured-mini-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: start;
}

.featured-mini-thumb {
  display: block;
  min-height: 136px;
  overflow: hidden;
  background: #d8d8d8;
  position: relative;
}

.featured-mini-thumb img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.featured-thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: linear-gradient(135deg, #d9d9d9 0%, #bfbfbf 100%);
}

.featured-play-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 34, 66, 0.85);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.featured-play-badge-small {
  width: 32px;
  height: 32px;
  font-size: 14px;
  left: 8px;
  bottom: 8px;
}

.featured-mini-item h4 {
  margin: 0;
  color: #111;
  font-size: clamp(15px, 1.25vw, 21px);
  line-height: 1.3;
  font-family: Georgia, "Times New Roman", serif;
  overflow-wrap: anywhere;
}

.featured-col-widgets {
  background: #f7f7f7;
  border: 1px solid #dcdcdc;
  box-shadow: 0 6px 18px rgba(15, 34, 59, 0.08);
  padding: 18px;
}

.smart-number-panel {
  text-align: center;
}

.smart-number-panel h3 {
  margin: 0;
  color: #101010;
  font-size: 30px;
  letter-spacing: 3.5px;
  font-weight: 400;
  text-transform: uppercase;
}

.smart-number-divider {
  width: 64px;
  height: 2px;
  display: inline-block;
  margin: 22px 0 10px;
  background: #b11c2a;
}

.smart-number-item + .smart-number-item {
  margin-top: 54px;
}

.smart-number-value {
  margin: 0;
  color: #0a2d5a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(74px, 6vw, 108px);
  line-height: 1;
}

.smart-number-title {
  margin: 12px 0 0;
  color: #6b727b;
  font-size: 23px;
  line-height: 1.35;
}

.student-admin-panel {
  margin-top: 34px;
  background: #fff;
  border: 1px solid #dcdcdc;
  padding: 16px;
}

.widget-title {
  margin: 0 0 12px;
  color: #10243e;
  font-size: 22px;
  line-height: 1.2;
  text-transform: uppercase;
}

.student-stats p {
  margin: 6px 0;
  color: #2e3440;
}

.student-stats strong {
  color: #0d2e5a;
}

.student-table-wrap {
  max-height: 260px;
  overflow: auto;
  margin-top: 10px;
}

.student-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.student-table th,
.student-table td {
  border: 1px solid #ddd;
  padding: 6px;
  text-align: left;
}

.student-avatar {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: #eef2f7;
}

.student-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.student-actions a {
  color: #0f2f58;
  font-weight: 700;
}

.student-actions form {
  margin: 0;
}

.student-form {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.student-form input {
  border: 1px solid #d0d0d0;
  padding: 8px;
  font-family: inherit;
  background: #fff;
}

.student-form button,
.student-actions button {
  border: 0;
  background: #0a2f5f;
  color: #fff;
  font-weight: 700;
  padding: 8px 10px;
  cursor: pointer;
}

.student-cancel {
  color: #8d1010;
  font-weight: 700;
}

.sdm-public-wrap {
  margin-top: 24px;
}

.sdm-public-wrap h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 2vw, 36px);
  text-transform: uppercase;
}

.dosen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dosen-card {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.45s ease, opacity 0.45s ease, box-shadow 0.25s ease;
  transition-delay: calc(var(--dosen-delay, 0) * 70ms);
}

.dosen-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dosen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.1);
}

.dosen-card:focus-visible {
  outline: 3px solid #d88b18;
  outline-offset: 2px;
}

.dosen-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

.dosen-card h3 {
  margin: 12px 0 8px;
  font-size: 26px;
  line-height: 1.2;
}

.dosen-card p {
  margin: 4px 0;
  font-size: 15px;
  line-height: 1.5;
}

.dosen-card-hint {
  margin-top: 10px;
  color: #0f2f58;
  font-weight: 700;
  font-size: 13px;
}

.staff-card {
  cursor: default;
}

.staff-structure-heading {
  margin-top: 26px !important;
}

.org-tree-list {
  list-style: none;
  margin: 10px 0 0;
  padding-left: 18px;
  border-left: 2px dashed #c7c7c7;
}

.org-tree-node {
  margin: 10px 0;
  position: relative;
}

.org-tree-node::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 18px;
  width: 16px;
  border-top: 2px dashed #c7c7c7;
}

.org-card {
  background: #fff;
  border: 1px solid #d7d7d7;
  border-left: 4px solid #0f2f58;
  border-radius: 6px;
  padding: 10px 12px;
}

.org-card h4 {
  margin: 0;
  font-size: 16px;
  text-transform: uppercase;
}

.org-name {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.org-unit {
  margin: 4px 0 0;
  color: #4f5967;
  font-size: 14px;
}

.orgchart-shell {
  margin-top: 14px;
  background: #fff;
  border: 1px solid #d8dde6;
  border-radius: 10px;
  padding: 12px;
}

.orgchart-canvas {
  width: 100%;
  min-height: 900px;
  height: 900px;
  background: linear-gradient(180deg, #fbfcff 0%, #f3f6fb 100%);
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  overflow: auto;
}

.orgchart-empty {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff5f5;
  color: #8a1010;
  font-weight: 700;
}

@media (max-width: 900px) {
  .orgchart-canvas {
    min-height: 680px;
    height: 680px;
  }
}

.has-video-modal-open,
.has-dosen-modal-open {
  overflow: hidden;
}

.dosen-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 16, 25, 0.78);
  display: grid;
  place-items: center;
  padding: 18px;
}

.dosen-modal[hidden] {
  display: none !important;
}

.dosen-modal-dialog {
  width: min(860px, 100%);
  max-height: min(84vh, 820px);
  overflow: auto;
  background: #fff;
  border: 1px solid #d5d9de;
  border-radius: 14px;
  position: relative;
  padding: 20px;
  animation: dosenModalEnter 0.26s ease;
}

.dosen-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d3d3d3;
  background: #fff;
  color: #0f2f58;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.dosen-modal-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}

.dosen-modal-photo {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d5d5d5;
}

.dosen-modal-content h3 {
  margin: 4px 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}

.dosen-modal-content p {
  margin: 8px 0;
  font-size: 16px;
}

@keyframes dosenModalEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.featured-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.78);
  display: grid;
  place-items: center;
  padding: 18px;
}

.featured-video-modal[hidden] {
  display: none !important;
}

.featured-video-dialog {
  width: min(1000px, 100%);
  background: #111;
  border: 1px solid #2d2d2d;
  position: relative;
  padding: 44px 12px 12px;
}

.featured-video-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.featured-video-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.featured-video-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  position: relative;
  color: #ffffff;
  margin-top: 42px;
  padding: 72px 0 0;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--footer-bg);
  background-size: cover;
  background-position: center center;
  filter: blur(3.4px);
  transform: scale(1.04);
  z-index: 0;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0.84) 0%, rgba(7, 11, 18, 0.9) 100%);
  z-index: 1;
}

.site-footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  padding-bottom: 28px;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}

.footer-title::after {
  content: "";
  width: 52px;
  height: 2px;
  background: #57b563;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.footer-col {
  min-width: 0;
}

.footer-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.75;
}

.footer-social {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.footer-social-item {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.footer-social-item .dashicons {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 16px;
}

.footer-social-item:hover {
  background: #57b563;
  border-color: #57b563;
}

.footer-links,
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.65;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #57b563;
}

.footer-contact li {
  padding-left: 14px;
  border-left: 2px solid rgba(87, 181, 99, 0.74);
}

.footer-recent-item {
  padding: 0 0 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-recent-item:last-child {
  margin-bottom: 0;
}

.footer-recent-item a {
  color: #ffffff;
  text-decoration: none;
  line-height: 1.55;
  font-size: 15px;
  display: block;
}

.footer-recent-item a:hover {
  color: #57b563;
}

.footer-recent-item span {
  margin-top: 4px;
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
}

.footer-copy {
  margin: 0;
  padding: 14px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.section-announcement {
  background: linear-gradient(rgba(8, 13, 23, 0.76), rgba(8, 13, 23, 0.76));
  background-size: cover;
  background-position: center;
  padding: 64px 0 74px;
}

.announcement-head {
  color: #ffffff;
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.announcement-head h2 {
  margin: 0;
  text-transform: none;
  font-size: clamp(40px, 3vw, 64px);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.4px;
}

.announcement-more {
  color: #ffffff;
  font-size: clamp(21px, 1.6vw, 30px);
  font-weight: 700;
  line-height: 1;
  border-bottom: 3px solid rgba(255, 255, 255, 0.92);
  padding-bottom: 4px;
}

.announcement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.announcement-item {
  background: #fdfdfd;
  border: 1px solid #e2e2e2;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.announcement-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.announcement-date-box {
  border: 3px solid #9f1f1f;
  color: #082851;
  text-align: center;
  padding: 12px 10px;
}

.announcement-day {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 3vw, 64px);
  line-height: 1;
}

.announcement-month {
  display: inline-block;
  margin-top: 6px;
  font-size: 34px;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
}

.announcement-meta {
  margin: 0 0 8px;
  color: #3f4c5d;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  font-weight: 700;
}

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

.announcement-meta span::before {
  color: #a91919;
  font-size: 16px;
}

.announcement-meta span:first-child::before {
  content: "◷";
}

.announcement-meta span:last-child::before {
  content: "⌖";
}

.announcement-content h3 {
  margin: 0;
  color: #082851;
  font-size: clamp(29px, 2vw, 40px);
  line-height: 1.2;
  font-family: Georgia, "Times New Roman", serif;
}

.page-title-wrap {
  background: #f4f4f4;
  border-top: 1px solid #dfdfdf;
  border-bottom: 1px solid #dfdfdf;
  padding: 24px 0;
}

.page-title {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(30px, 2.2vw, 42px);
}

.page-content-wrap {
  padding: 34px 0 50px;
}

.page-content-wrap .entry-content,
.page-content-wrap p {
  color: #454545;
  font-size: 18px;
  line-height: 1.7;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  align-items: start;
}

.entry-content-post {
  background: #fff;
  border: 1px solid #dfdfdf;
  padding: 18px;
}

.single-thumb {
  margin: 10px 0 16px;
}

.single-thumb img {
  width: 100%;
  height: auto;
}

.content-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

.sidebar-box {
  background: #fff;
  border: 1px solid #dcdcdc;
  padding: 14px;
}

.sidebar-box h3 {
  margin: 0 0 10px;
  color: #10243e;
  font-size: 24px;
  text-transform: uppercase;
}

.sidebar-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sidebar-latest-list li a {
  color: #0f2f58;
  font-weight: 700;
  display: block;
  line-height: 1.35;
}

.sidebar-latest-list li span {
  display: block;
  margin-top: 2px;
  color: #666;
  font-size: 13px;
}

.sidebar-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-chip {
  display: inline-block;
  background: #eef2f7;
  border: 1px solid #d9e0ea;
  color: #1a304f;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
}

.sidebar-chip.is-tag {
  background: #f4f1e9;
  border-color: #e2d8bc;
  color: #6a4d03;
}

@media (max-width: 1100px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .menu-wrap {
    display: none;
    width: 100%;
    flex: 0 0 100%;
  }

  .menu-wrap.is-open {
    display: block;
  }

  .menu-primary-container ul,
  .nav-fallback {
    flex-direction: column;
    gap: 0;
    padding-bottom: 10px;
  }

  .menu-primary-container li,
  .nav-fallback li,
  .nav-search {
    padding: 10px 0;
  }

  .menu-primary-container a,
  .nav-fallback a,
  .nav-search {
    font-size: 17px;
  }

  .nav-search-form {
    min-width: 290px;
    right: 0;
  }

  .nav-search-right {
    margin-left: 0;
    font-size: 20px;
  }

  .hero-slides,
  .hero-content-wrap {
    min-height: 430px;
  }

  .hero-content-wrap {
    padding-bottom: 156px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  .hero-quick-links {
    margin-top: -4px;
  }

  .hero-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .dosen-grid {
    grid-template-columns: 1fr 1fr;
  }


  .featured-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .featured-col-widgets {
    padding: 14px;
    margin-top: 8px;
  }

  .featured-main-thumb {
    min-height: 380px;
  }

  .featured-mini-item {
    grid-template-columns: 180px 1fr;
  }

  .news-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-tab {
    min-height: 68px;
  }

  .announcement-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 28px;
    padding-top: 52px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-title {
    font-size: 22px;
  }

  .footer-text,
  .footer-links li,
  .footer-contact li,
  .footer-recent-item a {
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .brand-title {
    font-size: 36px;
  }

  .hero-dots {
    right: 8px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-content-wrap {
    padding-bottom: 56px;
  }

  .hero-quick-links {
    margin-top: 0;
  }

  .hero-quick-grid {
    grid-template-columns: 1fr;
  }

  .nav-search-form {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 84px;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-title {
    font-size: 20px;
  }

  .hero-quick-card {
    min-height: auto;
  }

  .news-side-item {
    grid-template-columns: 1fr;
  }

  .dosen-grid {
    grid-template-columns: 1fr;
  }

  .dosen-modal-dialog {
    padding: 16px 14px;
  }

  .dosen-modal-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dosen-modal-photo {
    height: 240px;
  }

  .featured-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .scholar-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .scholar-grid {
    grid-template-columns: 1fr;
  }

  .scholar-card-title {
    font-size: 22px;
    min-height: 0;
  }

  .scholar-card-meta {
    font-size: 16px;
    min-height: 0;
  }

  .scholar-card-open {
    font-size: 18px;
  }


  .featured-mini-item {
    grid-template-columns: 1fr;
  }

  .news-more-link {
    font-size: 22px;
  }

  .news-tabs {
    grid-template-columns: 1fr;
  }

  .announcement-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .announcement-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .announcement-date-box {
    max-width: 150px;
  }

  .news-main-thumb {
    min-height: 260px;
  }

  .news-main-title {
    font-size: 30px;
  }

  .news-main-excerpt,
  .news-date,
  .news-side-title,
  .news-side-excerpt,
  .section-head h2 {
    font-size: 18px;
  }
}
