/* =========================================================
   Penerbit ITPI — Portal Publikasi
   Identitas visual mengikuti logo ITPI:
   Navy #07335A · Biru #145E9E · Emas #D9BA09 · Marun-Rose #A43859
   ========================================================= */

:root {
  /* Nama variabel dipertahankan agar seluruh halaman lama tetap kompatibel */
  --tiedu-deep-green: #062743;   /* navy sangat tua: footer, sidebar */
  --tiedu-emerald: #07335A;      /* navy brand: tombol, judul, aksen */
  --tiedu-emerald-light: #145E9E;/* biru logo: hover, tautan */
  --tiedu-gold: #C9A20A;         /* emas (teks/ikon di atas terang) */
  --tiedu-gold-bright: #D9BA09;  /* emas logo */
  --tiedu-gold-light: #F0D54A;   /* emas terang di atas navy */
  --tiedu-red: #A43859;          /* marun-rose logo */
  --tiedu-white: #ffffff;
  --tiedu-cream: #F4F7FB;
  --tiedu-text: #1B2536;
  --tiedu-muted: #5E6B82;
  --tiedu-line: rgba(7, 51, 90, .09);
  --tiedu-radius: 18px;
  --tiedu-shadow: 0 1px 2px rgba(7,51,90,.04), 0 10px 30px rgba(7,51,90,.08);
  --tiedu-shadow-lg: 0 2px 6px rgba(7,51,90,.06), 0 22px 48px rgba(7,51,90,.16);
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--tiedu-text);
  background: var(--tiedu-cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6, .font-heading { font-family: 'Poppins', sans-serif; font-weight: 700; letter-spacing: -.01em; }
/* Judul besar memakai serif agar terasa editorial & elegan */
h1, h2, .tiedu-section-title h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.tiedu-section-title h2 { color: var(--tiedu-emerald); }

a { text-decoration: none; color: var(--tiedu-emerald-light); transition: color .2s ease; }
a:hover { color: var(--tiedu-red); }
:focus-visible { outline: 3px solid rgba(217,186,9,.65); outline-offset: 2px; border-radius: 6px; }

.text-gold { color: var(--tiedu-gold) !important; }
.text-emerald { color: var(--tiedu-emerald) !important; }
.text-light-50 { color: rgba(255,255,255,.78) !important; }
.bg-emerald { background: var(--tiedu-emerald) !important; }
.bg-deep-green { background: linear-gradient(160deg, var(--tiedu-deep-green), #0A3B66) !important; }
.bg-cream { background: var(--tiedu-cream) !important; }

.visually-hidden-focusable.tiedu-skip:focus {
  position: fixed; top: 10px; left: 10px; z-index: 3000; background: #fff; color: var(--tiedu-emerald);
  padding: 10px 16px; border-radius: 10px; box-shadow: var(--tiedu-shadow-lg); font-weight: 600;
}

/* ---------- Topbar & Navbar ---------- */
.tiedu-topbar {
  background: var(--tiedu-deep-green);
  color: rgba(255,255,255,.9);
  padding: 7px 0;
  font-size: .82rem;
}
.tiedu-topbar a { opacity: .85; transition: opacity .2s, color .2s; }
.tiedu-topbar a:hover { opacity: 1; color: var(--tiedu-gold-light) !important; }
.tiedu-topbar-sep { width: 1px; height: 14px; background: rgba(255,255,255,.25); }

.tiedu-navbar {
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--tiedu-line);
  box-shadow: 0 6px 24px rgba(7,51,90,.06);
  padding: 10px 0;
}
.tiedu-navbar .tiedu-logo { height: 46px; width: auto; display: block; }
.tiedu-brand-divider { width: 1px; height: 34px; background: var(--tiedu-line); }
.tiedu-navbar .navbar-brand-text {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.02rem;
  color: var(--tiedu-emerald); line-height: 1.1; letter-spacing: .02em;
}
.tiedu-navbar .navbar-brand-text span { color: var(--tiedu-gold); }
.tiedu-navbar .navbar-brand-tagline {
  font-size: .64rem; font-weight: 600; letter-spacing: .14em; color: var(--tiedu-muted); text-transform: uppercase;
}

.tiedu-navbar .nav-link {
  color: var(--tiedu-text); font-weight: 500; font-size: .93rem;
  padding: 8px 12px !important; border-radius: 10px; position: relative;
}
.tiedu-navbar .nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--tiedu-gold-bright), var(--tiedu-red));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.tiedu-navbar .nav-link.dropdown-toggle::after { display: none; }
.tiedu-navbar .nav-link.dropdown-toggle::before { display: none; }
.tiedu-navbar .nav-link:hover, .tiedu-navbar .nav-link.active { color: var(--tiedu-emerald); background: rgba(7,51,90,.05); }
@media (min-width: 992px) {
  .tiedu-navbar .nav-link:hover::after, .tiedu-navbar .nav-link.active::after { transform: scaleX(1); }
}
.tiedu-navbar .navbar-toggler { border: 1px solid var(--tiedu-line); border-radius: 12px; padding: 8px 10px; }
.tiedu-navbar .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(217,186,9,.35); }
@media (max-width: 991.98px) {
  .tiedu-navbar .navbar-collapse { padding: 12px 0 6px; }
  .tiedu-navbar .nav-link { padding: 11px 14px !important; }
}

.tiedu-dropdown {
  border: 1px solid var(--tiedu-line); border-radius: 14px; padding: 8px;
  box-shadow: var(--tiedu-shadow-lg); min-width: 200px; margin-top: 10px !important;
}
.tiedu-dropdown .dropdown-item { border-radius: 9px; padding: 9px 12px; font-size: .92rem; font-weight: 500; }
.tiedu-dropdown .dropdown-item i { color: var(--tiedu-emerald-light); }
.tiedu-dropdown .dropdown-item:hover, .tiedu-dropdown .dropdown-item.active { background: rgba(7,51,90,.06); color: var(--tiedu-emerald); }
.tiedu-dropdown .dropdown-item.text-danger i { color: inherit; }

.tiedu-logo-badge {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--tiedu-emerald), var(--tiedu-deep-green));
  color: var(--tiedu-gold-light); display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(7,51,90,.3);
}

/* ---------- Buttons ---------- */
.btn { border-radius: 12px; font-weight: 600; }
.btn-tiedu-gold {
  background: linear-gradient(135deg, var(--tiedu-gold-bright), #E7A800 55%, var(--tiedu-red) 160%);
  border: none; color: #2a1c00; font-weight: 700; border-radius: 12px;
  box-shadow: 0 6px 16px rgba(217,186,9,.30);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-tiedu-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(217,186,9,.42); color: #2a1c00; filter: saturate(1.1); }
.btn-tiedu-gold:active { transform: translateY(0); }

.btn-tiedu-emerald {
  background: linear-gradient(135deg, var(--tiedu-emerald-light), var(--tiedu-emerald));
  border: none; color: #fff; font-weight: 600; border-radius: 12px;
  box-shadow: 0 6px 16px rgba(7,51,90,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-tiedu-emerald:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(7,51,90,.32); color: #fff; }

.btn-outline-tiedu {
  border: 2px solid var(--tiedu-emerald); color: var(--tiedu-emerald); font-weight: 600; border-radius: 12px; background: transparent;
}
.btn-outline-tiedu:hover { background: var(--tiedu-emerald); color: #fff; }
.btn-outline-emerald {
  border: 2px solid var(--tiedu-emerald); color: var(--tiedu-emerald); background: transparent; font-weight: 600;
}
.btn-outline-emerald:hover { background: var(--tiedu-emerald); color: #fff; }

.form-control, .form-select { border-radius: 12px; border-color: #D6DEEA; padding: .6rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--tiedu-emerald-light); box-shadow: 0 0 0 4px rgba(20,94,158,.12); }

/* ---------- Hero ---------- */
.badge-gold {
  background: rgba(217,186,9,.15); color: #7a6405; border: 1px solid rgba(217,186,9,.5);
  padding: 6px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; display: inline-block;
}
.tiedu-hero-slider { position: relative; background: var(--tiedu-deep-green); }
.tiedu-hero-slider .carousel-item img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 1920 / 700; }
.tiedu-hero-slider .carousel-indicators { margin-bottom: .9rem; }
.tiedu-hero-slider .carousel-indicators button {
  width: 10px; height: 10px; border-radius: 50%; background-color: var(--tiedu-gold-bright); border: none; opacity: .5;
  transition: width .25s ease, opacity .25s ease;
}
.tiedu-hero-slider .carousel-indicators button.active { opacity: 1; width: 28px; border-radius: 6px; }
.tiedu-hero-slider .carousel-control-prev, .tiedu-hero-slider .carousel-control-next { width: 5%; }
@media (max-width: 767.98px) {
  .tiedu-hero-slider .carousel-item img { aspect-ratio: 4 / 5; object-position: right; }
}

.tiedu-hero-stats-bar {
  background: #fff; border-bottom: 1px solid var(--tiedu-line);
}
.tiedu-hero-stats-bar .fs-2 { font-family: var(--font-display); }
.tiedu-wave { display: block; margin-top: -2px; }

/* ---------- Cards ---------- */
.tiedu-card {
  background: #fff; border: 1px solid var(--tiedu-line); border-radius: var(--tiedu-radius);
  box-shadow: var(--tiedu-shadow); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; height: 100%;
}
.tiedu-card:hover { transform: translateY(-5px); box-shadow: var(--tiedu-shadow-lg); border-color: rgba(7,51,90,.16); }
body.bg-cream .tiedu-card:hover { transform: none; box-shadow: var(--tiedu-shadow); border-color: var(--tiedu-line); } /* dashboard: tanpa efek melayang */

.tiedu-service-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(20,94,158,.12), rgba(217,186,9,.22));
  color: var(--tiedu-emerald); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 16px;
}

.tiedu-section-title .eyebrow {
  color: var(--tiedu-gold); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .76rem;
  display: inline-flex; align-items: center; gap: 10px;
}
.tiedu-section-title .eyebrow::before, .tiedu-section-title.text-center .eyebrow::after {
  content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--tiedu-gold-bright), var(--tiedu-red)); border-radius: 2px;
}
.tiedu-section-title:not(.text-center) .eyebrow::before { display: inline-block; }
.bg-deep-green .tiedu-section-title h2, .bg-deep-green h2 { color: #fff; }

.tiedu-badge-issn {
  background: rgba(20,94,158,.1); color: var(--tiedu-emerald); border-radius: 8px; padding: 4px 10px; font-size: .78rem; font-weight: 600;
}

/* ---------- Steps / flow ---------- */
.tiedu-step { text-align: center; padding: 20px 10px; }
.tiedu-step .num {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--tiedu-gold-bright), #E7A800); color: #2a1c00;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 14px; font-family: 'Poppins', sans-serif;
  box-shadow: 0 0 0 6px rgba(217,186,9,.18);
}

/* ---------- Tracking progress ---------- */
.tiedu-tracker { display: flex; flex-wrap: wrap; gap: 0; }
.tiedu-tracker .tstep { flex: 1; min-width: 110px; text-align: center; position: relative; padding-top: 10px; }
.tiedu-tracker .tstep .dot {
  width: 34px; height: 34px; border-radius: 50%; background: #e7eaf2; color: #8993ab;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-weight: 700; position: relative; z-index: 2; border: 3px solid #fff;
}
.tiedu-tracker .tstep.done .dot { background: var(--tiedu-emerald); color: #fff; }
.tiedu-tracker .tstep.current .dot { background: var(--tiedu-gold-bright); color: #2a1c00; box-shadow: 0 0 0 5px rgba(217,186,9,.28); }
.tiedu-tracker .tstep::before { content: ""; position: absolute; top: 27px; left: -50%; width: 100%; height: 3px; background: #e7eaf2; z-index: 1; }
.tiedu-tracker .tstep:first-child::before { display: none; }
.tiedu-tracker .tstep.done::before { background: var(--tiedu-emerald); }

/* ---------- Footer ---------- */
.tiedu-footer { background: linear-gradient(180deg, #08294A, var(--tiedu-deep-green)); color: rgba(255,255,255,.85); position: relative; }
.tiedu-footer-stripe { display: flex; height: 5px; }
.tiedu-footer-stripe span { flex: 1; }
.tiedu-footer-stripe span:nth-child(1) { background: var(--tiedu-red); }
.tiedu-footer-stripe span:nth-child(2) { background: #360312; }
.tiedu-footer-stripe span:nth-child(3) { background: var(--tiedu-emerald-light); }
.tiedu-footer-stripe span:nth-child(4) { background: var(--tiedu-gold-bright); }
.tiedu-footer a { color: rgba(255,255,255,.75); }
.tiedu-footer a:hover { color: var(--tiedu-gold-light); }
.tiedu-footer .btn-success { color: #fff; }
.tiedu-footer-title { color: var(--tiedu-gold-light); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.tiedu-footer-hr { border: 0; border-top: 1px solid rgba(255,255,255,.14); opacity: 1; }
.tiedu-footer li a { display: inline-block; transition: transform .2s ease, color .2s ease; }
.tiedu-footer li a:hover { transform: translateX(4px); }
/* Logo di atas latar gelap: dibungkus panel putih */
.tiedu-footer-logo { background: #fff; border-radius: 14px; padding: 10px 16px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.tiedu-footer-logo img { display: block; width: auto; }

.tiedu-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 14px; border: none;
  background: linear-gradient(135deg, var(--tiedu-emerald-light), var(--tiedu-emerald)); color: #fff; font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(7,51,90,.35); z-index: 1000; opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.tiedu-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.tiedu-to-top:hover { filter: brightness(1.12); }

.tiedu-wa-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; background: #25D366; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 8px 22px rgba(37,211,102,.45);
  z-index: 1000; animation: tiedu-pulse 2.2s infinite;
}
@keyframes tiedu-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ---------- Auth pages ---------- */
.tiedu-auth-wrap { min-height: calc(100vh - 250px); display: flex; align-items: center; padding: 60px 0; }
.tiedu-auth-card { border-radius: 22px; box-shadow: var(--tiedu-shadow-lg); overflow: hidden; }
.tiedu-auth-side {
  background:
    radial-gradient(circle at 85% 8%, rgba(217,186,9,.22), transparent 42%),
    radial-gradient(circle at 5% 95%, rgba(164,56,89,.35), transparent 45%),
    linear-gradient(150deg, var(--tiedu-deep-green), var(--tiedu-emerald));
  color: #fff; padding: 50px 40px;
}
.tiedu-auth-side h3 { font-family: var(--font-display); }

/* ---------- Dashboard (user/admin) ---------- */
.tiedu-dash-sidebar { background: linear-gradient(180deg, #08294A, var(--tiedu-deep-green)); min-height: 100vh; color: rgba(255,255,255,.85); }
.tiedu-dash-sidebar a.nav-link {
  color: rgba(255,255,255,.75); border-radius: 10px; padding: 10px 14px; margin-bottom: 3px; font-size: .92rem;
  transition: background .2s, color .2s, padding-left .2s;
}
.tiedu-dash-sidebar a.nav-link:hover { background: rgba(255,255,255,.07); color: #fff; padding-left: 18px; }
.tiedu-dash-sidebar a.nav-link.active {
  background: rgba(217,186,9,.16); color: var(--tiedu-gold-light); box-shadow: inset 3px 0 0 var(--tiedu-gold-bright);
}
.tiedu-side-brand-label {
  display: block; margin-top: 10px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 600;
}
.tiedu-dash-topbar { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 2px 12px rgba(7,51,90,.06); z-index: 1020; }
.tiedu-stat-card { border-radius: var(--tiedu-radius); border: none; box-shadow: var(--tiedu-shadow); padding: 22px; }
.tiedu-stat-card .icon-wrap { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; }

.badge-purple, .bg-purple { background-color: #7c3aed !important; color: #fff; }
table.tiedu-table thead { background: var(--tiedu-deep-green); color: #fff; }
table.tiedu-table thead th { border: none; font-weight: 600; font-size: .85rem; }

/* Utility */
.rounded-tiedu { border-radius: var(--tiedu-radius) !important; }
.shadow-tiedu { box-shadow: var(--tiedu-shadow) !important; }
.section-py { padding: 76px 0; }
@media (max-width: 767px) { .section-py { padding: 46px 0; } }

/* =========================================================
   HERO HALAMAN DALAM (dipakai Tim Redaksi & halaman baru)
   ========================================================= */
.tiedu-page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 56px 0 64px;
  background:
    radial-gradient(900px 380px at 88% -10%, rgba(217,186,9,.22), transparent 60%),
    radial-gradient(700px 360px at -5% 110%, rgba(164,56,89,.38), transparent 60%),
    linear-gradient(135deg, var(--tiedu-deep-green) 0%, var(--tiedu-emerald) 58%, #0E4A7F 100%);
}
.tiedu-page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--tiedu-red) 0 25%, #360312 25% 50%, var(--tiedu-emerald-light) 50% 75%, var(--tiedu-gold-bright) 75% 100%);
}
.tiedu-page-hero-mark { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); height: 118%; opacity: .07; filter: grayscale(1) brightness(3); pointer-events: none; }
.tiedu-page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.tiedu-eyebrow-light { color: var(--tiedu-gold-light); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .76rem; }
.tiedu-breadcrumb .breadcrumb-item, .tiedu-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,.72); font-size: .85rem; }
.tiedu-breadcrumb .breadcrumb-item a:hover { color: var(--tiedu-gold-light); }
.tiedu-breadcrumb .breadcrumb-item.active { color: #fff; }
.tiedu-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.tiedu-hero-chip {
  min-width: 108px; text-align: center; padding: 14px 18px; border-radius: 16px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px);
}
.tiedu-hero-chip .n { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--tiedu-gold-light); }
.tiedu-hero-chip .l { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-top: 6px; }

/* ---------- Tim Redaksi (publik) ---------- */
.tiedu-team-nav {
  position: sticky; top: 66px; z-index: 900; background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tiedu-line);
}
.tiedu-team-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.tiedu-team-chips::-webkit-scrollbar { display: none; }
.tiedu-chip {
  white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-size: .86rem; font-weight: 600;
  color: var(--tiedu-emerald); background: #fff; border: 1px solid var(--tiedu-line); transition: all .2s ease;
}
.tiedu-chip:hover { border-color: var(--tiedu-emerald-light); color: var(--tiedu-emerald-light); }
.tiedu-chip.active { background: var(--tiedu-emerald); color: #fff; border-color: var(--tiedu-emerald); box-shadow: 0 6px 14px rgba(7,51,90,.22); }

.tiedu-team-section { padding: 58px 0 6px; }
.tiedu-team-section:nth-of-type(even) { background: transparent; }
.tiedu-team-head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.tiedu-team-head .icon {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  color: var(--tiedu-emerald); background: linear-gradient(135deg, rgba(20,94,158,.12), rgba(217,186,9,.26));
}
.tiedu-team-head h2 { color: var(--tiedu-emerald); }

.tiedu-member {
  position: relative; height: 100%; background: #fff; border: 1px solid var(--tiedu-line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--tiedu-shadow); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column;
}
.tiedu-member:hover { transform: translateY(-6px); box-shadow: var(--tiedu-shadow-lg); }
.tiedu-member::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--tiedu-red), var(--tiedu-emerald-light), var(--tiedu-gold-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.tiedu-member:hover::before { transform: scaleX(1); }
.tiedu-member-btn { all: unset; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; cursor: pointer; flex: 1; width: 100%; box-sizing: border-box; }
.tiedu-member-btn:focus-visible { outline: 3px solid rgba(217,186,9,.7); outline-offset: -3px; border-radius: 20px; }
.tiedu-member-photo {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #DCE8F5, #F5E7EC);
}
.tiedu-member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tiedu-member:hover .tiedu-member-photo img { transform: scale(1.06); }
.tiedu-member-photo .initials {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.6rem); color: #fff;
  width: 62%; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--tiedu-emerald-light), var(--tiedu-emerald));
  box-shadow: 0 10px 30px rgba(7,51,90,.28), inset 0 0 0 4px rgba(255,255,255,.25);
}
.tiedu-member-more {
  position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--tiedu-emerald);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(7,51,90,.25);
  opacity: 0; transform: scale(.7); transition: all .25s ease;
}
.tiedu-member:hover .tiedu-member-more, .tiedu-member-btn:focus-visible .tiedu-member-more { opacity: 1; transform: none; }
@media (hover: none) { .tiedu-member-more { opacity: 1; transform: none; } }
.tiedu-member-body { padding: 18px 18px 16px; text-align: center; flex: 1; }
.tiedu-member-body .name { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: var(--tiedu-emerald); margin: 0 0 4px; line-height: 1.3; }
.tiedu-member-body .role { font-size: .8rem; font-weight: 700; color: var(--tiedu-red); letter-spacing: .02em; }
.tiedu-member-body .aff { font-size: .8rem; color: var(--tiedu-muted); margin-top: 6px; line-height: 1.4; }
.tiedu-member.is-large .tiedu-member-body { padding: 22px 22px 20px; }
.tiedu-member.is-large .tiedu-member-body .name { font-size: 1.15rem; }
.tiedu-member.is-large .tiedu-member-body .role { font-size: .88rem; }
.tiedu-member-links { display: flex; justify-content: center; gap: 8px; padding: 0 16px 18px; }
.tiedu-member-links a {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .95rem;
  color: var(--tiedu-emerald); background: rgba(7,51,90,.06); transition: all .2s ease;
}
.tiedu-member-links a:hover { background: var(--tiedu-emerald); color: #fff; transform: translateY(-2px); }
@media (max-width: 575.98px) {
  .tiedu-member-body { padding: 14px 10px 12px; }
  .tiedu-member-body .name { font-size: .9rem; }
  .tiedu-member-body .role, .tiedu-member-body .aff { font-size: .74rem; }
  .tiedu-member.is-large .tiedu-member-body .name { font-size: 1rem; }
}

.tiedu-member-modal { border-radius: 22px; overflow: hidden; box-shadow: var(--tiedu-shadow-lg); }
.tiedu-member-modal-photo {
  height: 100%; min-height: 280px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #DCE8F5, #F5E7EC); overflow: hidden;
}
.tiedu-member-modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tiedu-member-modal-photo .initials {
  font-family: var(--font-display); font-weight: 700; font-size: 4rem; color: #fff; width: 150px; height: 150px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--tiedu-emerald-light), var(--tiedu-emerald));
}
.tiedu-modal-role { color: var(--tiedu-red); }
.tiedu-member-modal h2 { font-family: var(--font-display); color: var(--tiedu-emerald); }
@media (max-width: 767.98px) { .tiedu-member-modal-photo { min-height: 0; aspect-ratio: 16 / 10; } }

.tiedu-cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: 24px; color: #fff;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(217,186,9,.28), transparent 60%),
    linear-gradient(120deg, var(--tiedu-emerald), var(--tiedu-deep-green));
  box-shadow: var(--tiedu-shadow-lg);
}
.tiedu-cta-band h2 { font-family: var(--font-display); }
@media (max-width: 575.98px) { .tiedu-cta-band { padding: 28px 22px; } .tiedu-cta-band .btn { width: 100%; } }

.tiedu-empty { max-width: 560px; padding: 56px 28px; background: #fff; border: 1px dashed rgba(7,51,90,.22); border-radius: 24px; }
.tiedu-empty .icon {
  width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 2rem;
  color: var(--tiedu-emerald); background: linear-gradient(135deg, rgba(20,94,158,.12), rgba(217,186,9,.26));
}

/* ---------- Admin: Tim Redaksi ---------- */
.team-photo-drop {
  width: 100%; max-width: 220px; aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 2px dashed #C6D2E3; background: #F4F7FB;
  display: flex; align-items: center; justify-content: center;
}
.team-photo-drop img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-drop > div { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #8A98AF; font-size: .85rem; }
.team-photo-drop > div i { font-size: 2.6rem; }
.team-filter .nav-link { white-space: nowrap; color: var(--tiedu-emerald); background: #fff; border: 1px solid var(--tiedu-line); margin-right: 6px; border-radius: 999px; font-size: .85rem; font-weight: 600; padding: 7px 14px; }
.team-filter .nav-link.active { background: var(--tiedu-emerald); color: #fff; border-color: var(--tiedu-emerald); }
.team-filter .count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: rgba(7,51,90,.1); font-size: .72rem; text-align: center; }
.team-filter .active .count { background: rgba(255,255,255,.22); }
.team-admin-group { padding: 10px 18px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tiedu-emerald); background: #F1F5FA; border-bottom: 1px solid var(--tiedu-line); }
.team-admin-row { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--tiedu-line); transition: background .15s; }
.team-admin-row:last-child { border-bottom: 0; }
.team-admin-row:hover { background: #FAFCFE; }
.team-admin-row.is-hidden { opacity: .6; }
.team-admin-row .min-w-0 { min-width: 0; }
.team-avatar { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--tiedu-emerald-light), var(--tiedu-emerald)); color: #fff; font-weight: 700; font-size: .9rem; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-empty-icon { width: 68px; height: 68px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--tiedu-emerald); background: linear-gradient(135deg, rgba(20,94,158,.12), rgba(217,186,9,.26)); }
@media (max-width: 575.98px) { .team-admin-row { flex-wrap: wrap; } .team-admin-row .flex-shrink-0 { width: 100%; justify-content: flex-end; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Katalog Buku & Buku Terbitan
   ========================================================= */
.tiedu-page-head {
  background: linear-gradient(120deg, var(--tiedu-emerald), var(--tiedu-deep-green));
  color: #fff; padding: 56px 0 48px;
}
.tiedu-page-head h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.tiedu-page-head p { color: rgba(255,255,255,.8); max-width: 62ch; }
.tiedu-page-head .eyebrow { color: var(--tiedu-gold-light); }

.book-card { display: flex; flex-direction: column; height: 100%; padding: 14px; }
.book-card .book-cover {
  display: block; position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--tiedu-cream); border-radius: 12px; margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(7,51,90,.14);
}
.book-card .book-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.book-card:hover .book-cover img { transform: scale(1.04); }
.book-card .book-cover .book-cover-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--tiedu-emerald); font-size: 2.6rem; }
.book-card .book-title { font-size: .95rem; font-weight: 700; line-height: 1.35; color: var(--tiedu-emerald); }
.book-card .book-title a { color: inherit; }
.book-card .book-title a:hover { color: var(--tiedu-red); }
.book-card .book-meta { font-size: .78rem; color: var(--tiedu-muted); }
.book-card .book-meta i { color: var(--tiedu-gold); margin-right: 4px; }
.book-card .book-price { font-weight: 700; font-size: 1.05rem; color: var(--tiedu-emerald); }
.line-clamp-2, .line-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }
.book-search .form-control:focus, .book-search .form-select:focus { border-color: var(--tiedu-emerald-light); box-shadow: 0 0 0 .2rem rgba(20,94,158,.15); }
.page-link { color: var(--tiedu-emerald); }
.page-item.active .page-link { background: var(--tiedu-emerald); border-color: var(--tiedu-emerald); color: #fff; }
