/*
Theme Name: YZGT
Theme URI: https://yzgt.net
Author: YZGT
Author URI: https://yzgt.net
Description: Yozgat city hub. Pine, earth, civic type.
Version: 0.3.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: yzgt
License: GNU General Public License v2 or later
*/

:root {
  --yzgt-pine: #1b4332;
  --yzgt-pine-deep: #081c15;
  --yzgt-resin: #40916c;
  --yzgt-earth: #b08968;
  --yzgt-clay: #7f4f24;
  --yzgt-cream: #f4efe6;
  --yzgt-paper: #fffcf7;
  --yzgt-ink: #1a1714;
  --yzgt-muted: #5c564e;
  --yzgt-line: rgba(26, 23, 20, 0.12);
  --yzgt-max: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--yzgt-cream);
  color: var(--yzgt-ink);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
}

a {
  color: var(--yzgt-pine);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--yzgt-resin);
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--yzgt-pine-deep);
  color: var(--yzgt-cream);
  padding: 0.4rem 0.75rem;
  z-index: 10;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  background: var(--yzgt-paper);
  border-bottom: 1px solid var(--yzgt-line);
}

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(100% - 2.5rem, var(--yzgt-max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.wordmark {
  font-family: Georgia, "ui-serif", serif;
  font-size: 1.35rem;
  letter-spacing: 0.28em;
  color: var(--yzgt-pine);
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--yzgt-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav .current-menu-item a {
  color: var(--yzgt-pine);
}

.hero {
  padding: 4.5rem 0 3.25rem;
  border-bottom: 1px solid var(--yzgt-line);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--yzgt-clay);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: Georgia, "ui-serif", serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 36rem;
  margin: 0;
  color: var(--yzgt-muted);
  font-size: 1.2rem;
}

.section {
  padding: 3rem 0;
}

.section h2 {
  margin: 0 0 1.25rem;
  font-family: Georgia, "ui-serif", serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.place {
  background: var(--yzgt-paper);
  border: 1px solid var(--yzgt-line);
  padding: 1.15rem 1.2rem 1.3rem;
}

.place h3 {
  margin: 0 0 0.4rem;
  font-family: Georgia, "ui-serif", serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.place p {
  margin: 0;
  color: var(--yzgt-muted);
  font-size: 1rem;
}

.section p {
  max-width: 42rem;
  margin: 0 0 1rem;
}

.section .more {
  margin: 0.75rem 0 0;
}

.empty-note {
  color: var(--yzgt-muted);
}

.site-footer {
  margin-top: 2rem;
  background: var(--yzgt-pine-deep);
  color: #d8e2d6;
}

.site-footer a {
  color: #e8f0e6;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.6rem 0;
  font-size: 0.95rem;
}

.content {
  padding: 2.5rem 0 4rem;
}

.content h1 {
  font-family: Georgia, "ui-serif", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2 {
  margin: 2rem 0 0.75rem;
  font-family: Georgia, "ui-serif", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.entry-content h3 {
  margin: 1.5rem 0 0.5rem;
  font-family: Georgia, "ui-serif", serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.entry-content p {
  margin: 0 0 1rem;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.entry-content li {
  margin: 0.3rem 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin: 0 0 1.25rem;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--yzgt-line);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: var(--yzgt-paper);
  font-weight: 600;
}

.entry-content .note,
.entry-content .meta {
  color: var(--yzgt-muted);
  font-size: 1rem;
}

.archive-header {
  margin-bottom: 2rem;
}

.archive-intro {
  max-width: 42rem;
  color: var(--yzgt-muted);
}

.archive-intro p:last-child {
  margin-bottom: 0;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.archive-card {
  background: var(--yzgt-paper);
  border: 1px solid var(--yzgt-line);
  padding: 1.15rem 1.2rem 1.3rem;
}

.archive-card__title {
  margin: 0 0 0.4rem;
  font-family: Georgia, "ui-serif", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.archive-card__title a {
  color: var(--yzgt-pine-deep);
  text-decoration: none;
}

.archive-card__title a:hover {
  color: var(--yzgt-resin);
}

.archive-card__excerpt p {
  margin: 0;
  color: var(--yzgt-muted);
  font-size: 1rem;
}

.empty-note {
  color: var(--yzgt-muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
}
