/* core.css - LiputanJatim */

/* ======================
   FONT
====================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ======================
   ROOT
====================== */

:root {
  --lj-red: #e30613;
  --lj-blue: #0b3a75;
  --lj-dark: #071d33;
  --lj-text: #1f2937;
  --lj-muted: #6b7280;
  --lj-border: #e5e7eb;
  --lj-bg: #f5f7fb;
  --lj-white: #ffffff;
}

/* ======================
   BASE
====================== */

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.01em;
  background: var(--lj-bg);
  color: var(--lj-text);
}

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

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

button,
input,
textarea,
select {
  font-family: "Inter", Arial, sans-serif;
}

/* ======================
   CONTAINER
====================== */

.lj-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ======================
   TYPOGRAPHY
====================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", Arial, sans-serif;
  color: #0f172a;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lj-kompas-hero-text h1,
.lj-hero-content h1 {
  font-size: 38px;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lj-single h1 {
  font-size: 42px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lj-section-title,
.lj-panel-title,
.lj-kompas-popular h2 {
  font-size: 24px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--lj-dark);
}

.lj-news-card h3,
.lj-latest-modern-content h3,
.lj-video-home-body h3,
.lj-kompas-mini-card h3 {
  font-size: 18px;
  line-height: 1.42;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.lj-widget-rank-item strong,
.lj-kompas-popular-item h3,
.lj-rank-item h3 {
  font-size: 14.5px;
  line-height: 1.42;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.lj-entry {
  font-size: 18px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: -0.006em;
  color: #1f2937;
}

.lj-entry p {
  margin-bottom: 24px;
}

small,
.lj-meta,
.lj-latest-more-meta,
.lj-news-card small,
.lj-video-home-body small,
.lj-kompas-mini-card small {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0;
}

/* ======================
   LABEL
====================== */

.lj-cat,
.lj-breaking-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ======================
   PANEL
====================== */

.lj-panel {
  background: #fff;
  border: 1px solid var(--lj-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.lj-panel-title {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lj-panel-title::before {
  content: "";
  width: 5px;
  height: 22px;
  border-radius: 999px;
  background: var(--lj-red);
}

/* ======================
   SECTION
====================== */

.lj-section {
  margin-top: 38px;
}

.lj-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.lj-section-desc {
  margin: 8px 0 0;
  color: var(--lj-muted);
  font-size: 16px;
  font-weight: 400;
}

.lj-section-link {
  color: var(--lj-red);
  font-weight: 600;
  font-size: 14px;
}

/* ======================
   PAGINATION
====================== */

.lj-pagination {
  margin-top: 32px;
}

.lj-pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lj-pagination a,
.lj-pagination span {
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--lj-border);
  font-weight: 600;
}

.lj-pagination .current {
  background: var(--lj-red);
  color: #fff;
  border-color: var(--lj-red);
}