/* ============================================
   AKADEXA PUBLISHER - Design System
   Primary: #663515 (Rich Brown)
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --primary: #663515;
  --primary-dark: #4A2710;
  --primary-light: #8B5E3C;
  --primary-rgb: 102, 53, 21;
  --accent: #D4A574;
  --accent-light: #F0DCC8;
  --accent-gold: #C4933F;
  --bg: #FDFBF7;
  --bg-warm: #FAF5EE;
  --surface: #F5EDE3;
  --surface-dark: #E8D9C8;
  --text: #2C1810;
  --text-secondary: #6B5B4F;
  --text-muted: #9A8A7D;
  --white: #FFFFFF;
  --border: rgba(102, 53, 21, 0.12);
  --shadow-color: rgba(102, 53, 21, 0.08);

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px var(--shadow-color);
  --shadow-md: 0 4px 20px var(--shadow-color);
  --shadow-lg: 0 8px 40px rgba(102, 53, 21, 0.12);
  --shadow-xl: 0 16px 60px rgba(102, 53, 21, 0.16);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;
  --navbar-height: 80px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: var(--space-md); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ---------- Section ---------- */
.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent));
  border-radius: 2px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: var(--space-lg) auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.45);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent));
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(196, 147, 63, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 147, 63, 0.45);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(102, 53, 21, 0.08);
  height: 70px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

.navbar-brand img {
  height: 45px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
  height: 38px;
}

.navbar-brand span {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  letter-spacing: 0.2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
}

.nav-link .arrow {
  font-size: 0.6rem;
  transition: var(--transition-fast);
  margin-top: 1px;
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown a:hover {
  background: rgba(var(--primary-rgb), 0.06);
  color: var(--primary);
  padding-left: 22px;
}

.dropdown a svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 50%, var(--accent-light) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.05) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-5%, 3%) scale(1.1); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: var(--space-xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.8s ease forwards;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  color: var(--primary-dark);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent-gold), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-book-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.book-3d {
  width: 220px;
  height: 320px;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  border-radius: 4px 16px 16px 4px;
  box-shadow: var(--shadow-xl), -8px 0 20px rgba(var(--primary-rgb), 0.3);
  transform: rotateY(-15deg) rotateX(5deg);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.book-3d:hover {
  transform: rotateY(-5deg) rotateX(2deg);
  box-shadow: var(--shadow-xl), -12px 0 30px rgba(var(--primary-rgb), 0.4);
}

.book-3d::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.2), transparent);
}

.book-3d-content {
  position: absolute;
  inset: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.book-3d-content .book-ornament {
  width: 40px;
  height: 2px;
  background: var(--accent-gold);
  margin-bottom: var(--space-md);
}

.book-3d-content h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.book-3d-content p {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 300;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 15%;
  left: -5%;
  animation-delay: 1.5s;
}

.hero-float-card .float-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.hero-float-card .float-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.hero-float-card .float-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Decorative circles */
.hero-decor {
  position: absolute;
  border-radius: var(--radius-full);
  border: 2px solid rgba(var(--primary-rgb), 0.1);
}

.hero-decor-1 {
  width: 300px;
  height: 300px;
  top: 5%;
  right: -5%;
  animation: spinSlow 20s linear infinite;
}

.hero-decor-2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  right: 10%;
  border-color: rgba(212, 165, 116, 0.2);
  animation: spinSlow 15s linear infinite reverse;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- FEATURED SERVICES SECTION ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--primary-rgb), 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: var(--space-lg);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  transform: scale(1.05);
}

.service-card:hover .service-icon svg {
  color: var(--white);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- ABOUT / PROFILE SECTION ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  transform: translate(15px, 15px);
  z-index: -1;
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
}

.about-feature .check {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--accent-gold));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

.cta-content .btn-white {
  margin: 0 var(--space-sm);
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  margin-top: var(--navbar-height);
  padding: var(--space-2xl) 0;
  background-image: linear-gradient(rgba(74, 39, 16, 0.5), rgba(102, 53, 21, 0.6)), url('../../background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
}

.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.page-header .breadcrumb a {
  color: var(--accent-light);
  font-weight: 500;
  transition: var(--transition-fast);
}

.page-header .breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.page-header .breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- VISI MISI ---------- */
.visi-misi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.visi-card,
.misi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.visi-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
}

.visi-card h3,
.misi-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.visi-card h3 { color: var(--white); }

.visi-card p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.9;
}

.misi-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.misi-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.misi-item:hover {
  background: rgba(var(--primary-rgb), 0.04);
}

.misi-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--accent-gold));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.misi-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- STRUCTURE / ORG CHART ---------- */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.org-level {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  position: relative;
}

.org-level::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  width: 2px;
  height: 20px;
  background: var(--accent);
}

.org-level:first-child::before {
  display: none;
}

.org-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  border: 1px solid var(--border);
  min-width: 200px;
  transition: var(--transition);
  position: relative;
}

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

.org-card.head {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: var(--space-xl) var(--space-2xl);
}

.org-card.head h4,
.org-card.head p { color: var(--white); }
.org-card.head p { opacity: 0.8; }

.org-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 2px;
}

.org-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.org-connector {
  width: 100%;
  display: flex;
  justify-content: center;
}

.org-connector .line {
  width: 2px;
  height: 30px;
  background: var(--accent);
}

/* ---------- TEAM SECTION ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.team-card-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-slow);
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(var(--primary-rgb), 0.8) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--space-lg);
}

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

.team-social {
  display: flex;
  gap: var(--space-sm);
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.team-social a:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
}

.team-card-info {
  padding: var(--space-lg);
}

.team-card-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.team-academic-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

.academic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 30px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: var(--transition-fast);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.academic-icon svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.academic-icon span {
  font-family: var(--font-body);
  letter-spacing: 0.2px;
}

.academic-icon:hover {
  transform: translateY(-2px) scale(1.05);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.academic-icon.scholar {
  background: #4285F4; /* Google Scholar - Google Blue */
}

.academic-icon.sinta {
  background: #0077B5; /* Sinta ID - Navy Blue */
}

.academic-icon.scopus {
  background: #E97110; /* Scopus - Orange */
}

.academic-icon.orcid {
  background: #A6C307; /* ORCID - Green */
}

.academic-icon.disabled {
  background: var(--surface-dark);
  color: var(--text-muted);
  border: 1px solid var(--border);
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

.academic-icon.disabled:hover {
  transform: none;
  box-shadow: none;
  color: var(--text-muted);
}

/* ---------- TEAM TABS ---------- */
.team-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-md); /* Spaced out further for premium look */
  margin-bottom: var(--space-2xl);
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
  max-width: 1000px; /* Extended further to the side from 850px */
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on mobile devices */
}

.team-tabs::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 28px; /* Wider padding to look elegant and spaced out */
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transition: var(--transition-fast);
  transform-origin: center;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary-dark);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-count {
  font-family: var(--font-body);
  font-size: 0.72rem;
  background: var(--surface-dark);
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  transition: var(--transition-fast);
}

.tab-btn.active .tab-count {
  background: var(--primary);
  color: var(--white);
}

.team-tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-tab-content.active {
  display: block;
  opacity: 1;
}

/* Tablet / Medium Devices */
@media (max-width: 992px) {
  .team-tabs {
    justify-content: flex-start; /* Prevents overflow from clipping tabs on the left */
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    gap: var(--space-sm);
  }
  .tab-btn {
    padding: 10px 18px;
    font-size: 1rem;
  }
}

/* Mobile Devices */
@media (max-width: 576px) {
  .team-tabs {
    gap: var(--space-xs);
  }
  .tab-btn {
    padding: 8px 12px;
    font-size: 0.9rem;
    gap: 6px;
  }
}

/* Team Avatar Placeholder */
.team-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
}

.team-avatar.bg-1 { background: linear-gradient(135deg, #663515, #8B5E3C); }
.team-avatar.bg-2 { background: linear-gradient(135deg, #4A2710, #663515); }
.team-avatar.bg-3 { background: linear-gradient(135deg, #8B5E3C, #D4A574); }
.team-avatar.bg-4 { background: linear-gradient(135deg, #C4933F, #D4A574); }
.team-avatar.bg-5 { background: linear-gradient(135deg, #2C1810, #4A2710); }
.team-avatar.bg-6 { background: linear-gradient(135deg, #6B5B4F, #8B5E3C); }

/* ---------- CONTACT SECTION ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 960px;
  margin: 0 auto;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-6px);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-card p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
  background: var(--white);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ---------- MAP ---------- */
.map-wrapper {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-2xl);
  border: 1px solid var(--border);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: var(--space-4xl) 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent), var(--accent-gold));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
}

.footer-brand img {
  height: 105px;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.8;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-gold);
  padding-left: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-contact-item .icon {
  font-size: 1rem;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

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

.footer-bottom {
  margin-top: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- Skeleton / loading ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-dark) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 0;
    margin-top: var(--space-3xl);
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about-grid,
  .visi-misi-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  /* Mobile Nav */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--navbar-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    gap: 0;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: var(--space-md);
    background: transparent;
    display: none;
  }

  .nav-item.dropdown-open .dropdown {
    display: block;
  }

  .dropdown a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.06);
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
  }

  .mobile-overlay.active {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

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

  .hero {
    min-height: auto;
    padding: calc(var(--navbar-height) + var(--space-2xl)) 0 var(--space-2xl);
  }

  .book-3d {
    width: 160px;
    height: 240px;
  }

  .hero-float-card {
    display: none;
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-stat .number {
    font-size: 1.6rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .org-level {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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

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

/* ============================================
   JOURNAL LISTING
   ============================================ */

/* ---------- Journal Hero ---------- */
.journal-hero {
  margin-top: var(--navbar-height);
  padding: var(--space-2xl) 0;
  background-image: linear-gradient(rgba(74, 39, 16, 0.5), rgba(102, 53, 21, 0.6)), url('../../background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.journal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.journal-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.journal-hero-content {
  position: relative;
  z-index: 2;
}

.journal-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease forwards;
}

.journal-hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.journal-hero .hero-text {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.journal-hero .hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--accent-light);
  margin-bottom: var(--space-md);
  animation: fadeInDown 0.8s ease forwards;
}

/* ---------- Journal Grid ---------- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

/* ---------- Journal Card ---------- */
.journal-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}


.journal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
  z-index: 1;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.journal-card:hover::before {
  transform: scaleX(1);
}

/* Journal Cover */
.journal-card-cover {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  min-height: 240px;
}

.journal-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: var(--transition-slow);
}

.journal-card:hover .journal-card-cover img {
  transform: scale(1.05);
}

.journal-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--accent-gold), #d4a030);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 8px rgba(196, 147, 63, 0.4);
  z-index: 2;
}

/* Journal Body */
.journal-card-body {
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.journal-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
  transition: var(--transition-fast);
}

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

.journal-card-issn {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  letter-spacing: 0.2px;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.journal-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Journal Card Actions */
.journal-card-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: nowrap;
  margin-top: auto;
}

.journal-card-actions .btn-sm {
  flex: 1;
  justify-content: center;
  padding: 8px 12px;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* Small Button Variant */
.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
}

/* ---------- Journal Responsive ---------- */
@media (max-width: 992px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .journal-card {
    grid-template-columns: 140px 1fr;
  }

  .journal-card-body {
    padding: var(--space-md);
  }

  .journal-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .journal-card {
    grid-template-columns: 1fr;
  }

  .journal-card-cover {
    height: 200px;
  }

  .journal-card-actions {
    flex-direction: column;
  }

  .journal-card-actions .btn-sm {
    width: 100%;
    justify-content: center;
  }
}
