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

:root {
  --bg-color: #fdfbf7;
  --card-bg: #ffffff;
  --text-main: #2d2a26;
  --text-muted: #6b6661;
  --border-color: #e7e3dc;
  --accent-color: #ea580c;
  --accent-light: rgba(234, 88, 12, 0.05);
  --max-width: 900px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Lato', sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s ease;
}
a:hover {
  color: var(--accent-color);
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 5% 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 2px double var(--border-color);
}

.z-clz {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  order: 2;
}

.app-6l0 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.app-6l0 span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--text-main);
}

.l-6n9 {
  order: 1;
}
.l-6n9 h1 {
  font-size: 38px;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.y-vkz {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  order: 3;
}

/* Search Bar (Header Right) */
.y-pbri {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--text-main);
  padding: 4px 8px;
  transition: all 0.3s ease;
}
.y-pbri:focus-within {
  border-bottom-color: var(--accent-color);
}
.x-0a3 {
  width: 16px;
  height: 16px;
  fill: var(--text-main);
  margin-right: 8px;
}
#searchInput {
  border: none;
  background: transparent;
  padding: 2px 0;
  outline: none;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  width: 120px;
  color: var(--text-main);
  transition: width 0.3s ease;
}
#searchInput::placeholder {
  color: var(--text-muted);
}
#searchInput:focus {
  width: 160px;
}

/* Main Container */
.l-zld {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 5% 100px;
}

/* Editorial Article List (Index) */
.app-qc1i {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 20px;
}

/* Grid Variant */
.app-qc1i.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.app-qc1i.grid .x-u6u2 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: none;
}
.app-qc1i.grid .y-w43z img {
  height: 220px;
}

.x-u6u2 {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: flex-start;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-color);
}

.y-w43z {
  width: 100%;
  overflow: hidden;
}
.y-w43z img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 0px;
  transition: opacity 0.3s;
}
.x-u6u2:hover .y-w43z img {
  opacity: 0.9;
}

.app-j08 {
  padding-top: 10px;
}

.ui-0tx {
  font-size: 26px;
  margin-bottom: 15px;
  line-height: 1.25;
}
.ui-0tx a {
  color: var(--text-main);
}
.ui-0tx a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.w-b5x7 {
  font-size: 12px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  display: inline-block;
}

.app-3k8l {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Article Page */
.x-tdp8 {
  text-align: center;
  margin: 50px 0;
}

.w-xky {
  font-size: 44px;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main);
}

.ui-wsja {
  font-size: 13px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text-muted);
}

/* Article Featured Image */
.l-1cby {
  width: 100%;
  margin-bottom: 50px;
}
.w-c8a {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.l-kpf {
  font-size: 17px;
  color: #3f3b36;
  line-height: 1.9;
  max-width: 720px;
  margin: 0 auto;
}

.l-kpf h2, .l-kpf h3 {
  margin-top: 45px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.l-kpf p {
  margin-bottom: 30px;
}
.l-kpf ul, .l-kpf ol {
  margin-bottom: 30px;
  padding-left: 24px;
}
.l-kpf li {
  margin-bottom: 12px;
}

/* Links inside content */
.l-kpf a {
  color: var(--accent-color);
  border-bottom: 1px italic var(--accent-color);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: bold;
}
.l-kpf a:hover {
  border-bottom-style: solid;
  color: var(--text-main);
}

/* Pagination */
.w-y2l {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}
.x-e5k {
  padding: 8px 24px;
  background-color: transparent;
  border: 1px solid var(--text-main);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-main);
  transition: all 0.3s;
}
.x-e5k:hover {
  background-color: var(--text-main);
  color: white;
}
.page-info {
  font-size: 14px;
  color: var(--text-muted);
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

/* Footer */
footer {
  text-align: center;
  padding: 60px 5% 40px;
  border-top: 2px double var(--border-color);
  color: var(--text-muted);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  max-width: var(--max-width);
  margin: 60px auto 0;
}

/* Responsive */
@media (max-width: 768px) {
  .x-u6u2 {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 40px;
  }
  .app-qc1i.grid {
    grid-template-columns: 1fr;
  }
  .y-w43z img {
    height: 220px;
  }
  .w-xky {
    font-size: 32px;
  }
  header {
    padding: 20px 5% 10px;
  }
}
