
/* ===========================================================
   FILE: css/umum-dasar.css
   Tampilan dasar website JTK POLMED - tema warna pastel
   =========================================================== */

:root {
  /* Warna utama */
  --blue: #0867dc;
  --navy: #12345b;
  --ink: #14243d;
  --muted: #536782;

  /* Latar halaman dan garis */
  --bg: #eaf2ff;
  --line: #d8e5f5;
  --white: #ffffff;

  /* Warna panel/kartu */
  --panel-bg: #ffffff;
  --panel-about: #eaf4ff;
  --panel-program: #f2edff;
  --panel-news: #e9f8f1;
  --panel-achievement: #fff3e5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

/* Garis warna di bagian atas website */
.topline {
  height: 5px;
  background: linear-gradient(90deg, #0867dc, #8b5cf6, #20b6a4, #ffc928);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 17px;
  font-size: 12px;
  font-weight: 750;
  transition: .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--blue);
  color: white;
}

.ghost {
  border-color: #ffffff80;
  color: white;
  background: #ffffff12;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 45px;
}

/* Panel umum */
.panel {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 7px 22px #18385a0d;
  min-width: 0;
  transition: background .2s, box-shadow .2s, transform .2s;
}

.panel:hover {
  box-shadow: 0 10px 26px #18385a16;
}

/* Judul bagian */
.sectionhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sectionhead h3 {
  font-size: 17px;
  margin: 0;
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sectionhead h3::before {
  content: "";
  width: 4px;
  height: 21px;
  border-radius: 5px;
  background: var(--blue);
}

.more {
  font-size: 11px;
  font-weight: 750;
  color: var(--blue);
  white-space: nowrap;
  background: none;
  border: 0;
}

.detail-link {
  display: inline-block;
  font-size: 10px;
  color: var(--blue);
  font-weight: 750;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}

.detail-link:hover {
  text-decoration: underline;
}

.muted-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

a.feature {
  color: inherit;
  transition: .2s;
}

.light {
  background: #eef3f9;
  color: var(--ink);
}

.secpanel {
  margin-top: 16px;
}

.empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 22px;
  border: 1px dashed #cfdbea;
  border-radius: 12px;
  line-height: 1.8;
}

/* Responsif untuk layar kecil */
@media (max-width: 560px) {
  .wrap {
    padding: 0 10px 30px;
  }

  .panel {
    padding: 15px;
  }

  .sectionhead h3 {
    font-size: 15px;
  }
}

/* Barisan tombol */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
