/*
Theme Name: Informatika UTS
Theme URI: https://informatika.uts.ac.id
Author: Tim Informatika UTS
Author URI: https://informatika.uts.ac.id
Description: Tema Portal Resmi Program Studi Informatika - Universitas Teknologi Sumbawa (UTS). Mengadopsi arsitektur portal akademik standar perguruan tinggi (seperti UGM Theme DTI) dengan desain modern 2026, mobile-first, dan performa tinggi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: informatika-uts
*/

:root {
  --uts-navy-dark: #0b1526;
  --uts-navy: #132440;
  --uts-blue: #1b365d;
  --uts-blue-light: #254b80;
  --uts-orange: #f36f21;
  --uts-orange-hover: #dc5b10;
  --uts-orange-light: #fff3ec;
  --uts-amber: #f59e0b;
  --uts-gold: #fbbf24;
  --uts-teal: #0d9488;
  --uts-gray-50: #f8fafc;
  --uts-gray-100: #f1f5f9;
  --uts-gray-200: #e2e8f0;
  --uts-gray-300: #cbd5e1;
  --uts-gray-600: #475569;
  --uts-gray-700: #334155;
  --uts-gray-800: #1e293b;
  --uts-gray-900: #0f172a;
  --uts-white: #ffffff;
  --uts-font: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --uts-font-serif: 'Merriweather', Georgia, serif;
  --uts-radius-sm: 6px;
  --uts-radius-md: 10px;
  --uts-radius-lg: 16px;
  --uts-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --uts-shadow-md: 0 4px 12px rgba(15, 30, 54, 0.08);
  --uts-shadow-lg: 0 10px 25px -5px rgba(15, 30, 54, 0.12);
  --uts-shadow-card: 0 2px 8px rgba(15, 30, 54, 0.06);
  --uts-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --uts-container: 1240px;
}

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

body {
  font-family: var(--uts-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--uts-gray-800);
  background-color: var(--uts-gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--uts-blue);
  text-decoration: none;
  transition: var(--uts-transition);
}

a:hover {
  color: var(--uts-orange);
}

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

.container {
  width: 100%;
  max-width: var(--uts-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   TOP BAR (ALA UGM DTI)
   ========================================================================== */
.site-topbar {
  background-color: var(--uts-navy-dark);
  color: var(--uts-gray-300);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 50;
}

.site-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.topbar-item i {
  color: var(--uts-orange);
  font-size: 12px;
}

.topbar-item a {
  color: #cbd5e1;
}

.topbar-item a:hover {
  color: var(--uts-orange);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}

.topbar-links a {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 12px;
}

.topbar-links a:hover {
  color: var(--uts-orange);
}

.topbar-search-form {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.topbar-search-form input[type="search"] {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 4px 30px 4px 12px;
  font-size: 12px;
  color: #fff;
  width: 160px;
  transition: var(--uts-transition);
}

.topbar-search-form input[type="search"]::placeholder {
  color: rgba(255,255,255,0.5);
}

.topbar-search-form input[type="search"]:focus {
  background: rgba(255,255,255,0.18);
  border-color: var(--uts-orange);
  outline: none;
  width: 210px;
}

.topbar-search-form button {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.topbar-search-form button:hover {
  color: var(--uts-orange);
}

/* ==========================================================================
   MAIN BRANDING HEADER
   ========================================================================== */
.site-branding-header {
  background: linear-gradient(135deg, var(--uts-navy) 0%, var(--uts-blue) 100%);
  color: #ffffff;
  padding: 18px 0;
  border-bottom: 3px solid var(--uts-orange);
  position: relative;
}

.site-branding-header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 35%;
  background: radial-gradient(circle at right center, rgba(243, 111, 33, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.site-branding-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-sub {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--uts-orange);
  margin-bottom: 2px;
}

.brand-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.brand-univ {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
}

.header-accreditation-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--uts-radius-md);
}

.badge-icon {
  width: 36px;
  height: 36px;
  background: var(--uts-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-grade {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-navigation-bar {
  background: var(--uts-navy-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-navigation-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.primary-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu > li {
  position: relative;
}

.primary-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  border-bottom: 3px solid transparent;
  transition: var(--uts-transition);
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom-color: var(--uts-orange);
}

.primary-menu > li > a .menu-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.primary-menu > li:hover > a .menu-arrow {
  transform: rotate(180deg);
}

/* Submenu Dropdown */
.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  list-style: none;
  padding: 8px 0;
  border-radius: 0 0 var(--uts-radius-md) var(--uts-radius-md);
  box-shadow: 0 12px 30px rgba(15, 30, 54, 0.18);
  border-top: 3px solid var(--uts-orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.primary-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-menu .sub-menu li {
  position: relative;
}

.primary-menu .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--uts-gray-700);
  border-left: 3px solid transparent;
  transition: var(--uts-transition);
}

.primary-menu .sub-menu a:hover {
  color: var(--uts-blue);
  background-color: var(--uts-orange-light);
  border-left-color: var(--uts-orange);
  padding-left: 22px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: var(--uts-radius-sm);
  cursor: pointer;
  font-size: 16px;
}

/* Portal Quick Action (PMB UTS) */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--uts-orange);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  transition: var(--uts-transition);
  box-shadow: 0 2px 8px rgba(243, 111, 33, 0.35);
}

.nav-cta-btn:hover {
  background: var(--uts-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(243, 111, 33, 0.45);
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.hero-portal-section {
  position: relative;
  background: linear-gradient(135deg, #091322 0%, #132440 60%, #1b365d 100%);
  color: #ffffff;
  padding: 70px 0 80px;
  overflow: hidden;
}

.hero-portal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(243, 111, 33, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(37, 75, 128, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 111, 33, 0.18);
  border: 1px solid rgba(243, 111, 33, 0.4);
  color: #ff9d5c;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title .highlight-orange {
  color: var(--uts-orange);
  display: inline-block;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--uts-orange);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--uts-radius-md);
  transition: var(--uts-transition);
  box-shadow: 0 4px 14px rgba(243, 111, 33, 0.35);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--uts-orange-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 111, 33, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--uts-radius-md);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  transition: var(--uts-transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* Hero Right Card */
.hero-card-featured {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--uts-radius-lg);
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.hero-card-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-header h4 i {
  color: var(--uts-orange);
}

.hero-card-header span {
  font-size: 12px;
  background: rgba(243, 111, 33, 0.2);
  color: var(--uts-orange);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.featured-announcement-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.announcement-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: var(--uts-radius-md);
  background: rgba(255, 255, 255, 0.04);
  transition: var(--uts-transition);
}

.announcement-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(4px);
}

.announcement-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 52px;
  background: var(--uts-blue);
  border-radius: var(--uts-radius-sm);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
}

.announcement-date strong {
  font-size: 18px;
  color: var(--uts-orange);
  line-height: 1;
}

.announcement-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.announcement-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--uts-orange);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.announcement-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}

.announcement-title:hover {
  color: var(--uts-orange);
}

/* ==========================================================================
   FAST ACCESS PORTAL BAR (ALA UGM DTI)
   ========================================================================== */
.fast-access-bar {
  background: #ffffff;
  padding: 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.fast-access-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #ffffff;
  border-radius: var(--uts-radius-lg);
  box-shadow: var(--uts-shadow-md);
  border: 1px solid var(--uts-gray-200);
  overflow: hidden;
}

.fast-access-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-right: 1px solid var(--uts-gray-100);
  transition: var(--uts-transition);
  text-decoration: none;
}

.fast-access-link:last-child {
  border-right: none;
}

.fast-access-link:hover {
  background: var(--uts-orange-light);
}

.fast-access-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--uts-radius-md);
  background: var(--uts-gray-100);
  color: var(--uts-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--uts-transition);
}

.fast-access-link:hover .fast-access-icon {
  background: var(--uts-orange);
  color: #ffffff;
  transform: scale(1.05);
}

.fast-access-text {
  display: flex;
  flex-direction: column;
}

.fast-access-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--uts-gray-900);
  line-height: 1.2;
}

.fast-access-sub {
  font-size: 11.5px;
  color: var(--uts-gray-600);
  margin-top: 3px;
}

/* ==========================================================================
   SECTION HEADERS (ALA UGM DTI: Title with colored accent underline)
   ========================================================================== */
.section-wrapper {
  padding: 65px 0;
}

.section-wrapper.bg-light {
  background-color: var(--uts-gray-100);
}

.section-wrapper.bg-white {
  background-color: #ffffff;
}

.section-header-academic {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 35px;
  border-bottom: 2px solid var(--uts-gray-200);
  padding-bottom: 12px;
  position: relative;
}

.section-header-academic::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 70px;
  height: 3px;
  background: var(--uts-orange);
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
}

.section-pretitle {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--uts-orange);
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.section-title-main {
  font-size: 26px;
  font-weight: 800;
  color: var(--uts-navy);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.section-header-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--uts-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-header-link:hover {
  color: var(--uts-orange);
  gap: 9px;
}

/* ==========================================================================
   SAMBUTAN KAPRODI & HIGHLIGHTS
   ========================================================================== */
.welcome-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;
  background: #ffffff;
  border-radius: var(--uts-radius-lg);
  padding: 36px;
  box-shadow: var(--uts-shadow-card);
  border: 1px solid var(--uts-gray-200);
}

.welcome-photo-wrap {
  text-align: center;
  position: relative;
}

.welcome-photo {
  width: 100%;
  max-width: 270px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--uts-radius-md);
  box-shadow: var(--uts-shadow-md);
  border: 3px solid #ffffff;
  margin: 0 auto;
}

.welcome-photo-caption {
  margin-top: 14px;
}

.welcome-kaprodi-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--uts-navy);
}

.welcome-kaprodi-title {
  font-size: 12.5px;
  color: var(--uts-gray-600);
}

.welcome-content-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--uts-gray-700);
}

.welcome-content-text p {
  margin-bottom: 16px;
}

.welcome-quote-icon {
  font-size: 32px;
  color: var(--uts-orange);
  margin-bottom: 10px;
  opacity: 0.5;
}

/* Stats Counter Row */
.stats-counter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-box {
  background: #ffffff;
  border-radius: var(--uts-radius-md);
  padding: 22px 18px;
  border: 1px solid var(--uts-gray-200);
  box-shadow: var(--uts-shadow-sm);
  text-align: center;
  transition: var(--uts-transition);
}

.stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--uts-orange);
  box-shadow: var(--uts-shadow-md);
}

.stat-number {
  font-size: 34px;
  font-weight: 800;
  color: var(--uts-navy);
  line-height: 1;
  margin-bottom: 6px;
  font-feature-settings: "tnum";
}

.stat-number span {
  color: var(--uts-orange);
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--uts-gray-600);
}

/* ==========================================================================
   BERITA & ARTIKEL GRID (ALA UGM DTI)
   ========================================================================== */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #ffffff;
  border-radius: var(--uts-radius-md);
  overflow: hidden;
  box-shadow: var(--uts-shadow-card);
  border: 1px solid var(--uts-gray-200);
  transition: var(--uts-transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--uts-shadow-lg);
  border-color: rgba(243, 111, 33, 0.4);
}

.news-card-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--uts-navy);
}

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

.news-card:hover .news-card-thumb img {
  transform: scale(1.05);
}

.news-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--uts-orange);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--uts-radius-sm);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.news-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--uts-gray-600);
  margin-bottom: 10px;
}

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

.news-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--uts-navy);
  margin-bottom: 12px;
  transition: var(--uts-transition);
}

.news-card:hover .news-card-title {
  color: var(--uts-orange);
}

.news-card-excerpt {
  font-size: 13.5px;
  color: var(--uts-gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.news-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--uts-blue);
  margin-top: auto;
}

.news-card-readmore i {
  transition: transform 0.2s ease;
}

.news-card:hover .news-card-readmore i {
  transform: translateX(4px);
  color: var(--uts-orange);
}

/* ==========================================================================
   AGENDA & PENGUMUMAN DUA KOLOM
   ========================================================================== */
.two-column-portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.portal-box-widget {
  background: #ffffff;
  border-radius: var(--uts-radius-md);
  padding: 28px;
  border: 1px solid var(--uts-gray-200);
  box-shadow: var(--uts-shadow-card);
}

.widget-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--uts-gray-100);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.widget-box-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--uts-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-box-header h3 i {
  color: var(--uts-orange);
}

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agenda-card-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--uts-radius-sm);
  transition: var(--uts-transition);
  border-bottom: 1px dashed var(--uts-gray-200);
}

.agenda-card-item:last-child {
  border-bottom: none;
}

.agenda-card-item:hover {
  background: var(--uts-gray-50);
}

.agenda-calendar-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 60px;
  background: var(--uts-navy);
  border-radius: var(--uts-radius-sm);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.agenda-calendar-badge strong {
  font-size: 20px;
  color: var(--uts-orange);
  line-height: 1;
}

.agenda-detail {
  display: flex;
  flex-direction: column;
}

.agenda-item-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--uts-navy);
  margin-bottom: 4px;
}

.agenda-item-title:hover {
  color: var(--uts-orange);
}

.agenda-item-meta {
  font-size: 12px;
  color: var(--uts-gray-600);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   LABORATORIUM & BIDANG MINAT RISET
   ========================================================================== */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lab-card {
  background: #ffffff;
  border-radius: var(--uts-radius-md);
  padding: 26px;
  border: 1px solid var(--uts-gray-200);
  box-shadow: var(--uts-shadow-card);
  transition: var(--uts-transition);
  position: relative;
  overflow: hidden;
}

.lab-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--uts-blue);
  transition: var(--uts-transition);
}

.lab-card:hover {
  transform: translateY(-5px);
  border-color: var(--uts-orange);
  box-shadow: var(--uts-shadow-lg);
}

.lab-card:hover::before {
  background: var(--uts-orange);
}

.lab-icon {
  width: 52px;
  height: 52px;
  background: var(--uts-orange-light);
  color: var(--uts-orange);
  border-radius: var(--uts-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.lab-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--uts-navy);
  margin-bottom: 8px;
}

.lab-desc {
  font-size: 13.5px;
  color: var(--uts-gray-600);
  line-height: 1.6;
  margin-bottom: 14px;
}

.lab-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lab-tag {
  background: var(--uts-gray-100);
  color: var(--uts-gray-700);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--uts-radius-sm);
}

/* ==========================================================================
   DOSEN GRID
   ========================================================================== */
.lecturer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.lecturer-card {
  background: #ffffff;
  border-radius: var(--uts-radius-md);
  overflow: hidden;
  border: 1px solid var(--uts-gray-200);
  box-shadow: var(--uts-shadow-sm);
  transition: var(--uts-transition);
  text-align: center;
}

.lecturer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--uts-shadow-md);
  border-color: var(--uts-orange);
}

.lecturer-photo-wrap {
  height: 230px;
  background: var(--uts-gray-100);
  position: relative;
  overflow: hidden;
}

.lecturer-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lecturer-card:hover .lecturer-photo-wrap img {
  transform: scale(1.04);
}

.lecturer-info {
  padding: 16px;
}

.lecturer-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--uts-navy);
  margin-bottom: 4px;
}

.lecturer-nidn {
  font-size: 12px;
  color: var(--uts-gray-600);
  margin-bottom: 6px;
}

.lecturer-field {
  font-size: 12px;
  color: var(--uts-orange);
  font-weight: 600;
  margin-bottom: 10px;
}

.lecturer-social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.lecturer-social-links a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--uts-gray-100);
  color: var(--uts-gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: var(--uts-transition);
}

.lecturer-social-links a:hover {
  background: var(--uts-orange);
  color: #ffffff;
}

/* ==========================================================================
   FOOTER (ALA UGM DTI: 4 Kolom Formal)
   ========================================================================== */
.site-footer {
  background-color: var(--uts-navy);
  color: #cbd5e1;
  font-size: 14px;
  position: relative;
  border-top: 4px solid var(--uts-orange);
}

.footer-top {
  padding: 60px 0 45px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col-brand .footer-logo {
  height: 58px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-brand-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-brand-sub {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.footer-about-text {
  font-size: 13px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--uts-orange);
}

.footer-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu-list a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--uts-transition);
  font-size: 13.5px;
}

.footer-menu-list a i {
  font-size: 10px;
  color: var(--uts-orange);
}

.footer-menu-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.footer-contact-item i {
  color: var(--uts-orange);
  font-size: 15px;
  margin-top: 3px;
}

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

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--uts-transition);
}

.footer-social-btn:hover {
  background: var(--uts-orange);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  background-color: var(--uts-navy-dark);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12.5px;
  color: #94a3b8;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: #cbd5e1;
}

.footer-bottom a:hover {
  color: var(--uts-orange);
}

/* ==========================================================================
   PAGE TEMPLATES (KURIKULUM, VISI MISI, DOSEN, LAB, UNDUHAN)
   ========================================================================== */
.page-hero-banner {
  background: linear-gradient(135deg, var(--uts-navy) 0%, var(--uts-blue) 100%);
  color: #ffffff;
  padding: 45px 0 50px;
  border-bottom: 3px solid var(--uts-orange);
}

.page-breadcrumbs {
  font-size: 12.5px;
  color: #94a3b8;
  margin-bottom: 10px;
}

.page-breadcrumbs a {
  color: #cbd5e1;
}

.page-breadcrumbs a:hover {
  color: var(--uts-orange);
}

.page-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.page-hero-subtitle {
  font-size: 15px;
  color: #cbd5e1;
}

.academic-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #ffffff;
  border-radius: var(--uts-radius-md);
  overflow: hidden;
  box-shadow: var(--uts-shadow-sm);
  border: 1px solid var(--uts-gray-200);
}

.academic-table th {
  background: var(--uts-navy);
  color: #ffffff;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 13.5px;
  text-align: left;
}

.academic-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--uts-gray-200);
  font-size: 14px;
}

.academic-table tr:last-child td {
  border-bottom: none;
}

.academic-table tr:hover td {
  background: var(--uts-orange-light);
}

.academic-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--uts-radius-sm);
  font-size: 11.5px;
  font-weight: 700;
}

.academic-badge-wajib {
  background: #e0f2fe;
  color: #0369a1;
}

.academic-badge-pilihan {
  background: #fef3c7;
  color: #b45309;
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--uts-orange);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(243, 111, 33, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--uts-transition);
  z-index: 999;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--uts-orange-hover);
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .fast-access-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .news-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lecturer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-topbar .container {
    justify-content: center;
  }
  .topbar-left {
    justify-content: center;
  }
  .site-branding-header .container {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .brand-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .header-accreditation-badge {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .site-navigation-bar .container {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .primary-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--uts-navy-dark);
    padding: 10px 0;
  }
  .primary-menu.active {
    display: flex;
  }
  .primary-menu > li {
    width: 100%;
  }
  .primary-menu > li > a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .primary-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(255,255,255,0.05);
    border-top: none;
    display: none;
  }
  .primary-menu > li.menu-open > .sub-menu {
    display: block;
  }
  .primary-menu .sub-menu a {
    color: #cbd5e1;
    padding-left: 36px;
  }
  .hero-title {
    font-size: 28px;
  }
  .fast-access-inner {
    grid-template-columns: 1fr;
  }
  .fast-access-link {
    border-right: none;
    border-bottom: 1px solid var(--uts-gray-200);
  }
  .welcome-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .stats-counter-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-cards-grid {
    grid-template-columns: 1fr;
  }
  .two-column-portal-grid {
    grid-template-columns: 1fr;
  }
  .lab-grid {
    grid-template-columns: 1fr;
  }
  .lecturer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
