/*
Theme Name: Arsitektur UTY
Theme URI: https://arsitektur.uty.ac.id
Author: Antigravity AI & Tim Arsitektur UTY
Author URI: https://uty.ac.id
Description: Tema WordPress modern untuk Program Studi Arsitektur, Fakultas Sains & Teknologi, Universitas Teknologi Yogyakarta (Kampus 2 Glagahsari). Menggunakan tipografi Inter, ikon modern, tata letak visual kaya gambar, serta warna resmi UTY Cobalt Blue (#013398).
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arsitektur-uty
Tags: education, architecture, custom-menu, custom-logo, featured-images, translation-ready, theme-options, full-width-template
*/

/* ==========================================================================
   1. CSS VARIABLES & DESIGN TOKENS (INTER FONT & MODERN ARCHITECTURE)
   ========================================================================== */
:root {
  /* Brand Colors - UTY Identity (#013398) */
  --uty-blue: #013398;          /* UTY Cobalt Blue Resmi */
  --uty-blue-dark: #002266;     /* Deep Cobalt */
  --uty-blue-hover: #0a44b8;    /* Electric Accent */
  --uty-navy: #0B1E40;          /* Modern Dark Slate */
  --uty-navy-deep: #061126;     /* Deep Bottom Navy */
  --uty-gold: #F5A623;          /* Warm Amber Accent */
  --uty-gold-hover: #D98E16;    
  --uty-blue-ice: #EBF2FF;      /* Clean Soft Tint */
  --uty-blue-tint: #D6E4FC;

  /* Neutral Modern Palette */
  --color-text-main: #1E293B;   /* Slate 800 - crisp readability */
  --color-text-muted: #64748B;  /* Slate 500 */
  --color-text-light: #94A3B8;  /* Slate 400 */
  --color-heading: #0F172A;     /* Slate 900 */
  --color-bg-page: #FFFFFF;
  --color-bg-subtle: #F8FAFC;   /* Slate 50 */
  --color-bg-alt: #F1F5F9;      /* Slate 100 */
  --color-bg-card: #FFFFFF;
  --color-border: #E2E8F0;      /* Slate 200 */
  --color-border-light: #F1F5F9;

  /* Typography - Inter Everywhere */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Modern Layout & Geometry */
  --container-width: 1220px;
  --container-padding: 2rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Modern Subtle Shadows */
  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 30px -4px rgba(1, 51, 152, 0.12), 0 8px 10px -3px rgba(1, 51, 152, 0.06);
  --shadow-dropdown: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
}

/* ==========================================================================
   2. RESET & BASE ELEMENTS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.site-content {
  flex: 1 0 auto;
}

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

a {
  color: var(--uty-blue);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover, a:focus {
  color: var(--uty-blue-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.9rem; font-weight: 600; }

p {
  margin-bottom: 1.25rem;
}

/* Container */
.site-container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  width: 100%;
}

/* Section Header Shared */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-subtitle {
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--uty-blue);
  background-color: var(--uty-blue-ice);
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--uty-navy);
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
}

.section-divider {
  width: 48px;
  height: 4px;
  background-color: var(--uty-gold);
  margin: 0 auto;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   3. MODERN SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

/* Top / Main Header Bar */
.header-main-bar,
.header-top-bar {
  padding: 0.85rem 0;
  background-color: #ffffff;
  transition: all var(--transition-fast);
}

.header-main-inner,
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.site-brand-emblem svg {
  width: 44px;
  height: 44px;
  display: block;
}

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

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #22262E;
  line-height: 1.15;
}

.brand-institution {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #4B5563;
  margin-top: 2px;
}

.site-logo-link img,
.custom-logo {
  max-height: 48px;
  width: auto;
}

/* Utilities */
.header-utilities {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-search-toggle {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.header-search-toggle:hover {
  background-color: var(--uty-blue);
  color: #ffffff;
  border-color: var(--uty-blue);
}

.header-mobile-btn {
  display: none;
}

/* ==========================================================================
   LAYOUT INLINE (LOGO SEJAJAR DENGAN MENU DI ATAS) [DEFAULT]
   ========================================================================== */
.site-header.layout-inline .header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header.layout-inline .main-navigation {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.site-header.layout-inline .primary-menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.site-header.layout-inline .primary-menu > li {
  position: relative;
}

.site-header.layout-inline .primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.65rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--uty-navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.site-header.layout-inline .primary-menu > li > a:hover,
.site-header.layout-inline .primary-menu > li.current-menu-item > a,
.site-header.layout-inline .primary-menu > li:hover > a {
  color: var(--uty-blue);
  background-color: var(--uty-blue-ice);
}

/* Dropdown untuk layout inline - Tepat di bawah item menu */
.site-header.layout-inline .primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: #ffffff;
  border-top: 3px solid var(--uty-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1001;
}

.site-header.layout-inline .primary-menu li:hover > .sub-menu,
.site-header.layout-inline .primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header.layout-inline .primary-menu .sub-menu li a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-heading);
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.site-header.layout-inline .primary-menu .sub-menu li:last-child a {
  border-bottom: none;
}

.site-header.layout-inline .primary-menu .sub-menu li a:hover {
  background-color: var(--uty-blue-ice);
  color: var(--uty-blue);
  padding-left: 1.5rem;
}

/* ==========================================================================
   LAYOUT STACKED (LOGO DI ATAS, MENU BIRU DI BAWAH) [OPSIONAL]
   ========================================================================== */
.site-header.layout-stacked .primary-nav-bar {
  background-color: var(--uty-blue);
  box-shadow: 0 4px 12px rgba(1, 51, 152, 0.15);
}

.site-header.layout-stacked .primary-menu > li > a {
  color: #ffffff;
  padding: 0.95rem 1.05rem;
}

.site-header.layout-stacked .primary-menu > li > a:hover,
.site-header.layout-stacked .primary-menu > li.current-menu-item > a {
  color: var(--uty-gold);
  background-color: rgba(255, 255, 255, 0.08);
}

.mobile-nav-toggle {
  display: none;
  background: var(--uty-blue);
  border: 1px solid var(--uty-blue);
  color: #ffffff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: var(--uty-navy);
  color: #ffffff;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--uty-gold);
}

.mobile-menu-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Search Modal Drawer */
.header-search-modal {
  display: none;
  background-color: var(--uty-navy);
  padding: 1.25rem 0;
}

.header-search-modal.is-open {
  display: block;
}

.header-search-form {
  display: flex;
  max-width: 620px;
  margin: 0 auto;
  gap: 0.5rem;
}

.header-search-form input[type="search"] {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
}

.header-search-form button {
  background-color: var(--uty-gold);
  color: var(--uty-navy);
  font-weight: 700;
  border: none;
  padding: 0 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   4. HERO BANNER WITH REAL ARCHITECTURAL IMAGERY
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-color: var(--uty-navy);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 51, 152, 0.92) 0%, rgba(11, 30, 64, 0.88) 100%);
  z-index: 1;
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  padding: 2.5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--uty-gold);
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--uty-gold);
  color: var(--uty-navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.4);
  border: 2px solid var(--uty-gold);
}

.btn-primary:hover {
  background-color: var(--uty-gold-hover);
  color: var(--uty-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--uty-blue);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   5. INFORMASI MAHASISWA (8 MODERN SERVICE CARDS WITH IMAGERY)
   ========================================================================== */
.student-info-section {
  padding: 5.5rem 0;
  background-color: var(--color-bg-subtle);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.info-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--uty-blue), var(--uty-gold));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--uty-blue-tint);
}

.info-card:hover::before {
  opacity: 1;
}

.info-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--uty-blue-ice);
  color: var(--uty-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}

.info-card:hover .info-card-icon-wrap {
  background-color: var(--uty-blue);
  color: #ffffff;
}

.info-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.info-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.info-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--uty-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap var(--transition-fast);
}

.info-card:hover .info-card-link {
  color: var(--uty-blue-hover);
  gap: 0.75rem;
}

/* ==========================================================================
   6. ARCHITECTURAL SHOWCASE / MAHASISWA WORK GALLERY (NEW MODERN SECTION)
   ========================================================================== */
.showcase-section {
  padding: 5.5rem 0;
  background-color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-card);
  group: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 30, 64, 0) 30%, rgba(11, 30, 64, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
}

.gallery-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--uty-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.gallery-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

/* ==========================================================================
   7. PROFIL & SAMBUTAN KAPRODI SECTION (WITH REAL STUDIO/PORTRAIT IMAGERY)
   ========================================================================== */
.kaprodi-profile-section {
  padding: 5.5rem 0;
  background-color: var(--color-bg-subtle);
  position: relative;
}

.kaprodi-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4rem;
  align-items: center;
}

.kaprodi-media {
  position: relative;
}

.kaprodi-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(1, 51, 152, 0.16);
  border: 4px solid #ffffff;
  height: 440px;
}

.kaprodi-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Accreditation Badge */
.accreditation-floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--color-border);
}

.accreditation-floating-badge i {
  font-size: 2.2rem;
  color: var(--uty-gold);
}

.badge-text .badge-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.badge-text .badge-grade {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--uty-blue);
  line-height: 1;
}

/* Kaprodi Text */
.kaprodi-content {
  display: flex;
  flex-direction: column;
}

.kaprodi-quote {
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--color-text-main);
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 4px solid var(--uty-gold);
  font-style: normal;
}

.kaprodi-meta {
  margin-bottom: 2rem;
}

.kaprodi-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--uty-navy);
  margin-bottom: 0.35rem;
}

.kaprodi-title {
  font-size: 0.925rem;
  color: var(--uty-blue);
  font-weight: 600;
}

/* ==========================================================================
   8. BERITA PROGRAM STUDI
   ========================================================================== */
.news-section {
  padding: 5.5rem 0;
  background-color: #ffffff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.news-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
}

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

.news-thumbnail-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background-color: var(--uty-navy);
}

.news-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.news-card:hover .news-thumbnail-wrap img {
  transform: scale(1.06);
}

.news-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--uty-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.news-card:hover .news-title {
  color: var(--uty-blue);
}

.news-excerpt {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--uty-blue);
  transition: gap var(--transition-fast);
}

.news-card:hover .news-readmore {
  gap: 0.75rem;
  color: var(--uty-blue-hover);
}

.news-footer-action {
  text-align: center;
}

/* ==========================================================================
   9. SITE FOOTER (KAMPUS 2 UTY GLAGAHSARI)
   ========================================================================== */
.site-footer {
  background-color: var(--uty-navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.925rem;
  margin-top: auto;
}

.footer-main {
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.footer-widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background-color: var(--uty-gold);
  border-radius: var(--radius-full);
}

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

.footer-links-list li {
  margin-bottom: 0.75rem;
}

.footer-links-list li a {
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links-list li a:hover {
  color: var(--uty-gold);
  padding-left: 4px;
}

/* Address & Contact Box */
.footer-contact-info p {
  margin-bottom: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.6;
}

.footer-contact-info i {
  color: var(--uty-gold);
  font-size: 1.1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background-color: var(--uty-gold);
  color: var(--uty-navy);
  transform: translateY(-3px);
}

/* Footer Bottom Bar */
.footer-bottom {
  padding: 1.5rem 0;
  background-color: var(--uty-navy-deep);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-inner a {
  color: var(--uty-gold);
}

/* ==========================================================================
   10. INNER PAGE & SINGLE ARTICLE
   ========================================================================== */
.page-header-banner {
  background: linear-gradient(135deg, rgba(1, 51, 152, 0.94) 0%, rgba(11, 30, 64, 0.90) 100%), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
  color: #ffffff;
  padding: 4.5rem 0;
  margin-bottom: 3.5rem;
  border-bottom: 3px solid var(--uty-gold);
  position: relative;
}

.page-header-title {
  color: #ffffff;
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumbs a:hover {
  color: var(--uty-gold);
}

.content-sidebar-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding: 1rem 0 4rem;
}

.entry-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.single-post-article {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem 3rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.post-featured-media {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Page Card & Layout (Centered Architectural Card) */
.page-layout-container {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.page-content-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3.5rem 4rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  border: 1px solid var(--color-border);
  margin-top: -3rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 10;
}

.page-featured-media {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-featured-media img {
  width: 100%;
  height: auto;
  display: block;
}

.entry-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
  word-break: break-word;
  overflow-wrap: break-word;
}

.entry-content p {
  margin-bottom: 1.6rem;
}

.entry-content h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--uty-navy);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--uty-blue);
  padding-left: 1rem;
}

.entry-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--uty-navy);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.6rem;
  padding-left: 1.75rem;
  line-height: 1.8;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  background: var(--uty-blue-ice);
  border-left: 4px solid var(--uty-blue);
  padding: 1.25rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--uty-navy);
  margin: 2rem 0;
}

.entry-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
}

.entry-content table th {
  background: var(--uty-blue);
  color: #ffffff;
  padding: 0.75rem 1rem;
  text-align: left;
}

.entry-content table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

/* ==========================================================================
   10. KOMPONEN GRID DOSEN & FASILITAS (UNTUK HALAMAN / POSTINGAN)
   ========================================================================== */
.dosen-grid,
.wp-block-columns.dosen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 2.25rem 0;
}

.dosen-card,
.wp-block-column.dosen-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  margin: 0 !important;
}

.dosen-card:hover,
.wp-block-column.dosen-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--uty-blue-tint);
}

.dosen-photo-wrap,
figure.dosen-photo-wrap {
  width: 100% !important;
  height: 280px !important;
  overflow: hidden;
  position: relative;
  background-color: var(--uty-blue-ice);
  margin: 0 !important;
}

.dosen-photo-wrap img,
figure.dosen-photo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform var(--transition-normal);
}

.dosen-card:hover .dosen-photo-wrap img,
.wp-block-column.dosen-card:hover figure.dosen-photo-wrap img {
  transform: scale(1.05);
}

/* Pilihan Ukuran & Bentuk Foto Dosen (Besar / Sedang / Kecil / Bulat) */
.dosen-card.foto-kecil .dosen-photo-wrap,
.dosen-grid.foto-kecil .dosen-photo-wrap,
.wp-block-columns.dosen-grid.foto-kecil figure.dosen-photo-wrap {
  height: 200px !important;
}

.dosen-card.foto-sedang .dosen-photo-wrap,
.dosen-grid.foto-sedang .dosen-photo-wrap,
.wp-block-columns.dosen-grid.foto-sedang figure.dosen-photo-wrap {
  height: 280px !important;
}

.dosen-card.foto-besar .dosen-photo-wrap,
.dosen-grid.foto-besar .dosen-photo-wrap,
.wp-block-columns.dosen-grid.foto-besar figure.dosen-photo-wrap {
  height: 360px !important;
}

.dosen-card.foto-bulat .dosen-photo-wrap,
.dosen-grid.foto-bulat .dosen-photo-wrap,
.wp-block-columns.dosen-grid.foto-bulat figure.dosen-photo-wrap,
.dosen-grid.foto-bulat figure.wp-block-image.is-style-rounded,
.wp-block-columns.dosen-grid.foto-bulat figure.wp-block-image.is-style-rounded {
  width: 140px !important;
  height: 140px !important;
  border-radius: 50% !important;
  margin: 1.75rem auto 0 !important;
  border: 4px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(1, 51, 152, 0.1);
}

.dosen-card.foto-bulat .dosen-photo-wrap img,
.dosen-grid.foto-bulat .dosen-photo-wrap img,
.wp-block-columns.dosen-grid.foto-bulat figure.dosen-photo-wrap img {
  border-radius: 50% !important;
}

.dosen-card.foto-bulat .dosen-body,
.dosen-grid.foto-bulat .dosen-body,
.wp-block-columns.dosen-grid.foto-bulat .dosen-body {
  text-align: center;
}

.dosen-card.foto-bulat .dosen-contact,
.dosen-grid.foto-bulat .dosen-contact,
.wp-block-columns.dosen-grid.foto-bulat .dosen-contact {
  justify-content: center;
}

.dosen-body,
.wp-block-group.dosen-body {
  padding: 1.5rem !important;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dosen-name,
h3.dosen-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--uty-navy);
  margin-bottom: 0.25rem !important;
  line-height: 1.35;
}

.dosen-nidn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--uty-blue);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.dosen-expertise {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.dosen-contact {
  border-top: 1px solid var(--color-border-light);
  padding-top: 0.85rem;
  font-size: 0.825rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
}

.dosen-contact a {
  color: var(--uty-blue);
  word-break: break-all;
}

/* Detail Dosen (Horizontal Card) */
.dosen-detail-card,
.wp-block-columns.dosen-detail-card {
  display: flex;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 2.25rem 0;
}

.dosen-detail-photo,
.wp-block-column.dosen-detail-photo {
  width: 260px;
  min-width: 260px;
  overflow: hidden;
  background-color: var(--uty-blue-ice);
  margin: 0 !important;
}

.dosen-detail-photo img,
.wp-block-column.dosen-detail-photo img,
.wp-block-column.dosen-detail-photo figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.dosen-detail-content,
.wp-block-column.dosen-detail-content {
  padding: 2rem 2.25rem !important;
  flex: 1;
}

/* Fasilitas Grid */
.fasilitas-grid,
.wp-block-columns.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 2.25rem 0;
}

.fasilitas-card,
.wp-block-column.fasilitas-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  margin: 0 !important;
}

.fasilitas-card:hover,
.wp-block-column.fasilitas-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.fasilitas-card img,
.wp-block-column.fasilitas-card img,
.wp-block-column.fasilitas-card figure img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform var(--transition-normal);
}

.fasilitas-card:hover img,
.wp-block-column.fasilitas-card:hover img {
  transform: scale(1.05);
}

.fasilitas-card-body,
.wp-block-group.fasilitas-card-body {
  padding: 1.5rem !important;
}

.site-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-border);
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--uty-navy);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background-color: var(--uty-blue);
  border-radius: var(--radius-full);
}

/* Scroll To Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--uty-blue);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(1, 51, 152, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
}

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

#back-to-top:hover {
  background-color: var(--uty-gold);
  color: var(--uty-navy);
  transform: translateY(-3px);
}

/* ==========================================================================
   11. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --container-padding: 2rem;
  }

  .site-container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .hero-section {
    padding: 5.5rem 0 5rem;
  }

  .hero-title {
    font-size: 2.85rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.75rem;
  }

  .kaprodi-grid {
    gap: 3rem;
  }

  .dosen-grid,
  .fasilitas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Breakpoint 1080px: Menu inline beralih ke mobile toggle agar tidak terhimpit */
@media (max-width: 1080px) {
  .header-mobile-btn {
    display: inline-flex !important;
  }

  .site-header.layout-inline .header-main-inner {
    flex-wrap: wrap;
  }

  .site-header.layout-inline .main-navigation {
    display: none;
    order: 10;
    width: 100%;
    background-color: var(--uty-navy);
    padding: 0.75rem 0;
    margin-top: 0.75rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .site-header.layout-inline .main-navigation.is-open {
    display: block;
  }

  .site-header.layout-inline .primary-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-header.layout-inline .primary-menu > li {
    width: 100%;
  }

  .site-header.layout-inline .primary-menu > li > a {
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .site-header.layout-inline .primary-menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--uty-gold);
  }

  .site-header.layout-inline .primary-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.05);
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    display: none;
    width: 100%;
    padding: 0.25rem 0 0.5rem 1rem;
  }

  .site-header.layout-inline .primary-menu li.has-dropdown-open > .sub-menu {
    display: block;
  }

  .site-header.layout-inline .primary-menu .sub-menu li a {
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .site-header.layout-inline .primary-menu .sub-menu li a:hover {
    color: #ffffff;
    background: transparent;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.5rem;
  }

  .site-container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .header-main-bar,
  .header-top-bar {
    padding: 0.85rem 0;
  }

  .header-main-inner,
  .header-top-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
  }

  .header-mobile-btn {
    display: inline-flex;
  }

  .site-header.layout-inline .header-main-inner {
    flex-wrap: wrap;
  }

  .site-header.layout-inline .main-navigation {
    display: none;
    order: 10;
    width: 100%;
    background-color: var(--uty-navy);
    padding: 0.75rem 0;
    margin-top: 0.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-dropdown);
  }

  .site-header.layout-inline .main-navigation.is-open {
    display: block;
  }

  .site-header.layout-inline .primary-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-header.layout-inline .primary-menu > li {
    width: 100%;
  }

  .site-header.layout-inline .primary-menu > li > a {
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header.layout-inline .primary-menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--uty-gold);
  }

  .site-header.layout-inline .primary-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.05);
    border-top: none;
    display: none;
    width: 100%;
    padding: 0.25rem 0 0.5rem 1rem;
  }

  .site-header.layout-inline .primary-menu .sub-menu li a {
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .site-header.layout-inline .primary-menu .sub-menu li a:hover {
    color: #ffffff;
    background: transparent;
  }

  .primary-nav-inner {
    flex-wrap: wrap;
    align-items: center;
    min-height: 52px;
    padding: 0.25rem 0;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .main-navigation {
    display: none;
    width: 100%;
    background-color: var(--uty-navy);
    padding: 0.75rem 0;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-navigation.is-open {
    display: block;
  }

  .primary-menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-menu > li {
    width: 100%;
  }

  .primary-menu > li > a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .primary-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.05);
    border-top: none;
    display: none;
    width: 100%;
    padding: 0.25rem 0 0.5rem 1rem;
  }

  .primary-menu li.has-dropdown-open > .sub-menu {
    display: block;
  }

  .primary-menu .sub-menu li a {
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .primary-menu .sub-menu li a:hover {
    background-color: transparent;
    color: var(--uty-gold);
    padding-left: 1.5rem;
  }

  .hero-section {
    padding: 4.75rem 0 4.25rem;
    min-height: auto;
  }

  .hero-content {
    padding: 0;
  }

  .hero-badge {
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: 2.25rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.25rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    gap: 1rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.95rem 1.75rem;
  }

  .student-info-section,
  .showcase-section,
  .kaprodi-profile-section,
  .latest-news-section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .info-card {
    padding: 2rem 1.6rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-card {
    height: 250px;
  }

  .kaprodi-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .kaprodi-image-wrap {
    height: 380px;
  }

  .accreditation-floating-badge {
    bottom: 15px;
    right: 15px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

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

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

  .dosen-detail-card {
    flex-direction: column;
  }

  .dosen-detail-photo {
    width: 100%;
    min-width: 100%;
    height: 320px;
  }

  .page-content-card {
    padding: 2.5rem 1.75rem;
    margin-top: -1.75rem;
    margin-bottom: 3.5rem;
    border-radius: var(--radius-lg);
  }

  .entry-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1.25rem;
  }

  .site-container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .header-top-bar {
    padding: 0.85rem 0;
  }

  .site-brand-emblem svg {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-institution {
    font-size: 0.6rem;
  }

  .hero-section {
    padding: 3.75rem 0 3.25rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
    margin-bottom: 1.15rem;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
    margin-bottom: 1.15rem;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0.85rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.9rem 1.35rem;
    font-size: 0.92rem;
  }

  .student-info-section,
  .showcase-section,
  .kaprodi-profile-section,
  .latest-news-section {
    padding: 3.75rem 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-subtitle {
    font-size: 0.825rem;
  }

  .info-card {
    padding: 1.75rem 1.35rem;
  }

  .gallery-card {
    height: 220px;
  }

  .kaprodi-image-wrap {
    height: 300px;
  }

  .accreditation-floating-badge {
    position: static;
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .page-header {
    padding: 3rem 0 3.5rem;
  }

  .page-header-title {
    font-size: 1.75rem;
  }

  .page-content-card {
    padding: 2rem 1.25rem;
  }

  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }
}
