@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  --primary: #8b0000;
  --primary-mid: #c62828;
  --primary-soft: #e53935;
  --primary-light: #fdecea;
  --primary-pale: #fef9f9;
  --accent: #f39c12;
  --footer-bg: #1b2a4a;
  --hover-glow: rgba(198, 40, 40, 0.45);

  --white: #ffffff;
  --bg: #fafafa;
  --text-dark: #1a1a2e;
  --text-mid: #3d3d5c;
  --text-gray: #6b6b8a;
  --text-light: #9ea3b0;
  --border: #e8e8f0;

  --shadow-sm: 0 2px 8px rgba(139, 0, 0, 0.06);
  --shadow: 0 8px 24px rgba(139, 0, 0, 0.1);
  --shadow-md: 0 12px 32px rgba(139, 0, 0, 0.14);
  --shadow-lg: 0 24px 48px rgba(139, 0, 0, 0.2);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);

  --navbar-h: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-mid);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: 120px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}
a {
  color: var(--primary-soft);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}

.navbar {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 2px solid rgba(139, 0, 0, 0.12);
  box-shadow: 0 2px 20px rgba(139, 0, 0, 0.08);
  height: var(--navbar-h);
  transition: var(--transition);
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(139, 0, 0, 0.15);
}

.navbar-inner {
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  gap: 160px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.navbar-logo-icon {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 20px;
}

.navbar-logo-text strong {
  display: block;
  color: var(--primary);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.navbar-logo-text span {
  display: block;
  color: var(--text-gray);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  list-style: none;
  margin-top: 16px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.navbar-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text-mid);
  font-size: 14.5px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
  border-radius: 10px;
  transition: var(--transition);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.navbar-menu a.active {
  color: var(--primary);
  font-weight: 700;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-mid);
  transition: var(--transition);
  font-size: 15px;
  font-family: inherit;
}

.navbar-search-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: scale(1.05);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  font-size: 24px;
  padding: 4px;
}

@media (max-width: 900px) {
  .navbar-toggle {
    display: block;
  }
  .navbar-menu {
    display: none;
  }
  .navbar-inner {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
  }
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  min-height: 580px;
  height: 88vh;
  display: flex;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
  border-radius: 0;
}

.hero-slide.active img {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(139, 0, 0, 0.88) 0%,
    rgba(139, 0, 0, 0.6) 45%,
    rgba(139, 0, 0, 0.2) 100%
  );
  display: flex;
  align-items: center;
}

.hero-slide-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  color: white;
  transform: translateY(30px);
  opacity: 0;
  transition: var(--transition-slow);
}

.hero-slide.active .hero-slide-content {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}

.hero-slide-content h1 {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: white;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  max-width: 700px;
}

.hero-slide-content p {
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.92;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.hero-dot.active {
  background: white;
  width: 28px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  z-index: 10;
  transition: var(--transition);
  font-size: 16px;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}
.hero-arrow.prev {
  left: 24px;
}
.hero-arrow.next {
  right: 24px;
}

.hero-static {
  min-height: 500px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-mid) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 80px 32px;
}

.hero-static h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}
.hero-static p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 32px;
}

.quicklinks {
  background: white;
  padding: 0 32px;
  position: relative;
  z-index: 5;
  margin-top: -1px;
}

.quicklinks-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(139, 0, 0, 0.15);
}

.quicklink-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 20px;
  background: white;
  border-right: 1px solid var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.quicklink-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.quicklink-item:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
}
.quicklink-item:hover::before {
  transform: scaleX(1);
}

.quicklink-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition);
}

.quicklink-item:hover .quicklink-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.08);
}

.quicklink-label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn i {
  transition: transform 0.3s ease;
}
.btn:hover i {
  transform: translateX(4px);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-soft) 0%,
    var(--primary) 100%
  );
  color: white;
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(139, 0, 0, 0.42);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 8px;
}

.section {
  padding: 96px 32px;
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.section-sm {
  padding: 64px 32px;
}
.section-alt {
  background: var(--primary-pale);
}
.section-dark {
  background: var(--primary);
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(139, 0, 0, 0.15);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .quicklinks-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-slider {
    min-height: 480px;
  }
}

@media (max-width: 600px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .quicklinks-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 64px 20px;
  }
  .navbar-inner {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
  }
}

.post-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) scale(1.008);
}

.post-card-img {
  height: 250px;
  overflow: hidden;
  position: relative;
  background: var(--primary-light);
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 0;
}

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

.post-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.35;
}

.post-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-category {
  padding: 5px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-left: 10px;
}

.post-card-excerpt {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.post-card-titlecap {
  display: flex;
  align-items: center;
  font-size: 13px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.post-card-meta a {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.post-card-meta a:hover {
  color: var(--primary-mid);
  transform: translateX(3px);
}

.content-section-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.content-section-item.reverse {
  direction: rtl;
}
.content-section-item.reverse > * {
  direction: ltr;
}
.content-section-item:last-child {
  margin-bottom: 0;
}

.content-section-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.content-section-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.8s ease;
}

.content-section-item:hover .content-section-media img {
  transform: scale(1.03);
}

.content-section-video {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.content-section-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

.content-section-text h3 {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.25;
}

.content-section-text .body-content,
.content-section-text p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
}

.page-banner {
  background: linear-gradient(
    120deg,
    var(--primary) 0%,
    var(--primary-mid) 100%
  );
  padding: 90px 32px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.page-banner::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.page-banner h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 12px;
  color: white;
  position: relative;
  z-index: 1;
}

.page-banner p {
  font-size: 17px;
  opacity: 0.88;
  position: relative;
  z-index: 1;
}

.breadcrumb-bar {
  padding: 14px 32px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.breadcrumb-bar a {
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
}
.breadcrumb-bar a:hover {
  background: var(--primary-light);
}

.renungan-hero {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.renungan-hero-media iframe,
.renungan-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  border-radius: 0;
}

.renungan-hero-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.renungan-hero-body h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.detail-content {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.9;
}
.detail-content h2,
.detail-content h3 {
  color: var(--primary);
  font-weight: 700;
  margin: 28px 0 14px;
}
.detail-content p {
  margin-bottom: 18px;
}
.detail-content img {
  border-radius: var(--radius-lg);
  margin: 28px 0;
  box-shadow: var(--shadow);
}

.detail-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: 40px;
}

.visi-misi-box {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.visi-misi-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-soft), var(--primary));
}

.contact-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.contact-card .contact-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  transition: var(--transition);
}

.contact-card:hover .contact-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 16px;
  color: var(--text-mid);
}

.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.78);
  padding: 80px 32px 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-soft),
    var(--accent),
    var(--primary-soft)
  );
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-soft), var(--primary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo-text strong {
  color: white;
  font-size: 17px;
  display: block;
}
.footer-logo-text span {
  color: rgba(255, 255, 255, 0.98);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-about {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.98);
}

.footer-title {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0px;
}
.footer-menu li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-menu li a:hover {
  color: white;
  transform: translateX(4px);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: white;
}

.footer-contact-item a {
  color: white;
}

.footer-contact-item a:hover {
  color: rgba(225, 18, 18, 0.94);
}

.footer-contact-item span:first-child {
  color: var(--primary-soft);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 0;
  text-align: center;
  font-size: 13.5px;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .content-section-item {
    grid-template-columns: 1fr;
  }
  .renungan-hero {
    grid-template-columns: 1fr;
  }
}

.about-content h2,
.about-content h3 {
  color: var(--primary);
  margin: 20px 0 10px;
}
.about-content p {
  margin-bottom: 14px;
  color: var(--text-mid);
  line-height: 1.8;
}
.about-content ul {
  padding-left: 20px;
}
.about-content li {
  margin-bottom: 8px;
  color: var(--text-mid);
}

.hero-tentang {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-tentang::before {
  content: "";
  position: absolute;
  inset: 0;
  /* red gradient from right to left */
  background: linear-gradient(
    to right,
    rgba(139, 0, 0, 0.2),
    rgba(139, 0, 0, 0.95) 75%
  );
}
.hero-tentang-content {
  position: relative;
  z-index: 2;
  text-align: right;
  color: white;
  margin-left: auto;
  max-width: 600px;
}
.hero-tentang-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  /* Fake dashed outline effect using text-shadow if needed, but solid is fine */
  color: transparent;
  -webkit-text-stroke: 1.5px white;
}
.hero-tentang-subtitle {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}
.hero-tentang-tag {
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  opacity: 0.9;
}

/* Info Box */
.info-box {
  background: linear-gradient(135deg, #a80000 0%, #700000 100%);
  border-radius: 20px;
  padding: 40px;
  color: white;
  text-align: center;
  box-shadow: 0 16px 32px rgba(139, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.info-icon-wrapper {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.info-icon-wrapper i {
  color: #a80000;
  font-size: 36px;
}
.info-box h3 {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}
.info-box h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.info-box p {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
}

/* User HTML Styling for these sections */
.content-area h1,
.content-area h2,
.content-area h3 {
  color: #1a1a2e;
  font-weight: 800;
  margin-bottom: 20px;
}
.content-area p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}
.content-area ul {
  list-style: none;
  padding: 0;
}
.content-area ul li {
  position: relative;
  padding-left: 24px;
  margin-top: 8px;
  color: #1a1a2e;
}
.content-area ul li::before {
  content: "\f14a"; /* FontAwesome check-square */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: -1px;
  color: #c62828;
  font-size: 18px;
}

/* --- 1. HERO SLIDER RESPONSIVE --- */
.hero-carousel-wrapper {
  overflow: hidden;
  position: relative;
}
.hero-bg {
  position: relative;
  background-position: center;
  background-size: cover;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(139, 0, 0, 0.8) 0%,
    rgba(139, 0, 0, 0.4) 20%,
    rgba(139, 0, 0, 0.1) 40%,
    rgba(255, 255, 255, 0) 60%
  );
}
.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  width: 100%;
}
.hero-content {
  text-align: left;
  color: white;

  padding: 32px;
  margin: 0 0 40px 40px;

  z-index: 2;
}
.hero-title {
  font-size: 32px;
  font-weight: 800;
  font-family: "Arial Black", sans-serif;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 16px;

  color: #111;
  -webkit-text-stroke: 1.5px #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
  -webkit-text-stroke: 0.5px #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-hero {
  background: #1b2a4a;
  color: white;
  border-radius: 30px;
  padding: 12px 32px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
  margin-top: 10px;
}
/* Hover Tombol Hero: Berubah jadi Merah Terang agar kontras */
.btn-hero:hover {
  background: #c0392b !important;
  transform: translateY(-2px);
}

/* Navigation Arrows */
.slick-prev,
.slick-next {
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.3) !important;
  border-radius: 50%;
}
.slick-prev {
  left: 20px;
}
.slick-next {
  right: 20px;
}
.slick-dots {
  bottom: 20px;
}
.slick-dots li button:before {
  color: white;
  font-size: 12px;
  opacity: 0.5;
}
.slick-dots li.slick-active button:before {
  color: white;
  opacity: 1;
}

/* --- 2. MAIN NAV CARDS (Structure Fixed) --- */
.nav-cards-section {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}
.section-header {
  margin-bottom: 40px;
}
.section-welcome {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 4px;
  color: #1a1a1a;
}
.section-desc {
  color: #666;
  font-size: 15px;
  margin: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Base Style Card */
.nav-card {
  display: block;
  background: linear-gradient(135deg, #c0392b, #8b0000);
  border-radius: 16px;
  padding: 40px 24px;
  color: white;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* HOVER NAV CARD: Berubah warna ke Biru Gelap agar tidak nabrak merah */
.nav-card:hover {
  background: linear-gradient(135deg, #be4b3e, #952828);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(27, 42, 74, 0.4);
}

.nav-card:hover p {
  color: white;
}

.nav-card:hover h3 {
  color: white;
}

.card-decorator {
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.decor-top {
  top: -40px;
  right: -40px;
}
.decor-bottom {
  bottom: -40px;
  left: -40px;
}

.card-icon {
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}
.card-icon i {
  color: #8b0000;
  font-size: 32px;
}
.icon-alt i {
  color: #1b2a4a;
}

/* Hover effect pada icon di dalam card */
.nav-card:hover .card-icon i {
  color: #1b2a4a;
}
.nav-card:hover .icon-alt i {
  color: #c0392b;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card-subtitle {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}
.card-info {
  font-size: 12px;
  opacity: 0.8;
  margin: 0;
}
.info-spaced {
  margin-top: 16px;
}

.card-flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.card-title-lg {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.card-desc-lg {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 24px;
}
.card-badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  padding: 6px 20px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.2);
}

.warta-section {
  padding: 80px 20px;
  background: #ffffff;
}

.header-line {
  width: 60px;
  height: 4px;
  background: #c0392b;
  margin: 15px auto;
  border-radius: 2px;
}

.warta-grid {
  display: grid;
  /* Responsive Grid: Auto-fit kolom minimal 300px */
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.warta-item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: all 0.3s ease;
  display: flex;
}

.warta-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.warta-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  border-color: #c0392b;
}

/* Image Wrapper dengan Aspect Ratio tetap 16:9 */
.warta-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
  overflow: hidden;
}

.warta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.warta-item:hover .warta-img {
  transform: scale(1.1);
}

.warta-category {
  display: flex;
  align-items: center;
  font-size: 13px;
  margin-bottom: 5px;
}

.warta-category-badge {
  padding: 5px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.warta-date-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(27, 42, 74, 0.9);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.warta-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 40px;
}

.warta-body {
  padding: 25px;
}

.warta-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: 0.3s;
  /* Limit judul maksimal 2 baris */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.warta-item:hover .warta-title {
  color: #c0392b;
}

.warta-excerpt {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.warta-readmore {
  font-size: 13px;
  font-weight: 700;
  color: #1b2a4a;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.warta-item:hover .warta-readmore {
  gap: 12px;
  color: #c0392b;
}

.warta-footer {
  text-align: center;
  margin-top: 50px;
}

.btn-all-warta {
  border: 2px solid #c0392b;
  color: #c0392b;
  background: transparent;
  border-radius: 30px;
  padding: 12px 35px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.btn-all-warta:hover {
  background: #c0392b;
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .warta-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  .warta-section {
    padding: 50px 15px;
  }
  .warta-title {
    font-size: 17px;
  }
}

/* --- 3. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 991px) {
  .hero-bg {
    min-height: 450px;
  }
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(139, 0, 0, 0.8) 0%,
      rgba(139, 0, 0, 0.4) 20%,
      rgba(139, 0, 0, 0.1) 40%,
      rgba(255, 255, 255, 0) 60%
    );
  }
  .hero-container {
    justify-content: center;
  }
  .hero-content {
    text-align: center;
    padding-right: 0;
  }
  .hero-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 28px;
  }
  .btn-hero {
    padding: 10px 28px;
    font-size: 14px;
  }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

/* Active overlay */
.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}
/* Mobile menu base */
@media (max-width: 900px) {
  .navbar-menu {
    flex: none;
    margin-top: 0;

    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;

    background: white;
    padding: 24px;

    display: flex;
    flex-direction: column;

    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 999;

    transition: right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .navbar-menu.open {
    right: 0;
  }

  .navbar-menu a {
    padding: 12px 8px;
    font-size: 15px;
  }
}

/* TOPBAR */
.topbar {
  position: fixed;
  left: 0;
  width: 100%;
  top: 0;
  z-index: 1100;
  background: linear-gradient(90deg, #5a0000, #c62828);
  color: white;
  font-size: 13px;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-left a:hover {
  opacity: 0.85;
}

/* ICON SOCIAL */
.topbar-right {
  display: flex;
  gap: 12px;
}

.topbar-right a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.3s;
}

.topbar-right a:hover {
  background: white;
  color: #c62828;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .topbar-inner {
    gap: 6px;
    text-align: center;
  }
}

#waBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;

  width: 52px;
  height: 52px;
  border-radius: 50%;

  background: #25d366;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

  transition: all 0.3s ease;
  z-index: 998;
}

#waBtn.up {
  transform: translateY(-76px);
}

#waBtn:hover {
  transform: translateY(0) scale(1.1);
}

#waBtn.up:hover {
  transform: translateY(-76px) scale(1.1);
}

#scrollTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;

  width: 48px;
  height: 48px;
  border-radius: 50%;

  background: linear-gradient(135deg, #c62828, #8b0000);
  color: white;

  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;

  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  transition: all 0.3s ease;
  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(139, 0, 0, 0.4);
}

/* NAv */
.nav-item {
  position: relative;
}

.dropdown-box {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 260px;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

.nav-item:hover .dropdown-box {
  display: block;
}

.dropdown-result {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px;
  padding: 10px;
}

.dropdown-parent {
  display: inline-block;
  width: fit-content;
  margin-bottom: 8px;
  white-space: nowrap;
}

.dropdown-parent > h1 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #c0392b;
}

.dropdown-children {
  margin-top: 4px;
}

.dropdown-children a {
  display: block;
  font-size: 13px;
  padding: 8px 10px;
  color: #666;
  text-decoration: none;
  width: fit-content;
}

.dropdown-children a:hover {
  color: #c0392b;
}

@media (max-width: 768px) {
  .dropdown-result {
    flex-direction: column !important;
  }
}

.category-tree {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-tree a {
  text-decoration: none;
  font-size: 14px;
  color: #666;
  display: block;
  padding: 6px 0;
  transition: 0.2s;
}

.category-tree a:hover {
  color: #c0392b;
}

.category-tree a.active {
  color: #c0392b;
  font-weight: 700;
}

/* parent category */
.cat-group {
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.cat-title {
  font-size: 13px;
  font-weight: 800;
  color: #333;
  margin-bottom: 6px;
}

/* subcategory */
.subcat-list {
  list-style: none;
  padding-left: 0; /* ⬅️ hilangin indent */
  margin: 0;
}

.subcat-list a {
  font-size: 14px; /* samakan */
  color: #666;
  padding: 6px 0;
  display: block;
}

.subcat-list a:hover {
  color: #c0392b;
}

@media (max-width: 991px) {
  .category-tree {
    gap: 6px;
  }

  .subcat-list {
    padding-left: 8px;
  }
}

./* ================================
   STRUCTURE SECTION - ABOUT PAGE
================================ */

.structure-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

.structure-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.structure-title {
  font-weight: 800;
  font-size: 32px;
  color: #1a1a1a;
  margin-bottom: 50px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
}

.structure-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.structure-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.structure-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: #eeeeee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.structure-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(112, 0, 0, 0.22);
}

.structure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient overlay balik seperti semula */
.structure-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(112, 0, 0, 0.95) 0%,
    rgba(168, 0, 0, 0.85) 38%,
    rgba(0, 0, 0, 0.28) 72%,
    rgba(0, 0, 0, 0.04) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.structure-name {
  font-weight: 800;
  font-size: 14px;
  color: white;
  margin: 0 0 8px 0;
  line-height: 1.35;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.structure-position {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  margin: 0;
  line-height: 1.45;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.structure-card:hover .structure-img {
  transform: scale(1.1);
}

.structure-card:hover .structure-overlay {
  opacity: 1;
}

.structure-card:hover .structure-name,
.structure-card:hover .structure-position {
  transform: translateY(0);
}

.see-more-wrapper {
  text-align: center;
  display: none;
}

.see-more-btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, #700000 0%, #a80000 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(112, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.see-more-btn:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 6px 20px rgba(112, 0, 0, 0.4);
}

/* ================================
   STRUKTUR ORGANISASI — NEW DESIGN
================================ */

.org-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.org-card-new {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #d0b8b8;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.org-card-new:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 24px 48px rgba(139, 0, 0, 0.28);
}

.org-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.org-card-new:hover .org-photo {
  transform: scale(1.08);
}

.org-avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #c62828, #8b0000);
}

.org-overlay-gradient {
  display: none;
}

/* Badge jabatan di atas — muncul hover */
.org-top-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(30, 30, 30, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(30, 30, 30, 0.3);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.org-card-new:hover .org-top-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Info bawah */
.org-card-info {
  position: static;
  padding: 10px 4px 0;
}

.org-card-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 4px;
  line-height: 1.3;
}

.org-card-pos {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-light);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  margin: 0;
}

.org-card-divider {
  width: 24px;
  height: 2px;
  background: rgba(20, 20, 20, 0.45);
  border-radius: 2px;
  margin-bottom: 6px;
  transition:
    width 0.35s ease,
    background 0.35s ease;
}

.org-card-info:hover .org-card-divider {
  width: 40px;
  background: rgba(20, 20, 20, 0.9);
}

.org-card-pos {
  font-size: 11px;
  color: rgba(255, 210, 210, 0.92);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

/* Panah kanan bawah */
.org-card-arrow {
  position: absolute;
  bottom: 16px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.org-card-new:hover .org-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Tombol lihat semua */
.org-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 34px;
  background: linear-gradient(135deg, #e53935, #8b0000);
  color: white;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.3);
}

.org-btn-main:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(139, 0, 0, 0.42);
}

/* Responsive */
@media (min-width: 1024px) {
  .structure-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .structure-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 767px) {
  .structure-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .org-card-name {
    font-size: 11px;
  }
  .org-card-pos {
    font-size: 9px;
  }
}
