/*
Theme Name: Khoai Lang Nướng
Theme URI: https://khoailangnuong.com/
Author: Codex
Author URI: https://khoailangnuong.com/
Description: Parent theme goc cho website Khoai Lang Nướng.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: khoai-lang-nuong
*/

:root {
  --kln-bg: #fff8ef;
  --kln-surface: #ffffff;
  --kln-text: #2f241f;
  --kln-accent: #c7682e;
  --kln-accent-dark: #8f4417;
  --kln-border: #ead9cb;
  --kln-shadow: 0 18px 40px rgba(79, 42, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(180deg, #fff7ed 0%, #fffdf8 100%);
  color: var(--kln-text);
}

a {
  color: var(--kln-accent);
}

a:hover,
a:focus {
  color: var(--kln-accent-dark);
}

.site-header,
.site-footer {
  background: var(--kln-surface);
  border-bottom: 1px solid var(--kln-border);
}

.site-footer {
  border-top: 1px solid var(--kln-border);
  border-bottom: 0;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header .container,
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.branding {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-description {
  margin: 0;
  color: #71584a;
}

.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a {
  font-weight: 700;
  text-decoration: none;
}

.content-area {
  padding: 56px 0 72px;
}

.content-card {
  padding: clamp(24px, 4vw, 48px);
  background: var(--kln-surface);
  border: 1px solid var(--kln-border);
  border-radius: 24px;
  box-shadow: var(--kln-shadow);
}

.entry-title {
  margin-top: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

@media (max-width: 720px) {
  .site-header .container,
  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
