:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #707070;
  --accent: #f0a030;
  --divider: #ececec;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  background: #0A0A0A;
  border-bottom: 2px solid var(--accent);
  z-index: 20;
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 0;
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.brand {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--accent);
}

.tagline {
  margin: 0;
  font-size: 11px;
  color: var(--accent);
  opacity: 0.75;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.value-bar {
  position: sticky;
  top: 84px;
  background: #fafafa;
  border-bottom: 1px solid var(--divider);
  padding: 16px 0;
  text-align: center;
  z-index: 19;
}

.value-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.value-bar p {
  margin: 0;
  max-width: 680px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}

.subscribe-form {
  display: inline-flex;
  justify-content: center;
  width: min(100%, 420px);
}

.subscribe-form input {
  min-width: 0;
  flex: 1 1 auto;
  height: 44px;
  border: 1px solid var(--divider);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  padding: 0 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.subscribe-form input:focus {
  border-color: var(--accent);
  outline: none;
}

.subscribe-form button {
  flex: 0 0 auto;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 0 999px 999px 0;
  padding: 0 18px;
  background: #f0a030;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.subscribe-form button:hover {
  opacity: 0.9;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 40px;
  padding: 40px 0 56px;
}



.hero-body {
  overflow: hidden;
}

.hero-image {
  display: block;
  float: right;
  width: 42%;
  max-height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  border: 1px solid #f5f5f5;
  margin: 4px 0 16px 24px;
}

@media (max-width: 900px) {
  .hero-image {
    float: none;
    width: 100%;
    max-height: 200px;
    margin: 16px 0;
  }
}

.hero-date {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: uppercase;
}

.hero-divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 16px 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title-link {
  color: inherit;
  text-decoration: none;
}

.hero-title-link:hover {
  color: var(--accent);
}

.hero-subtitle {
  margin: 14px 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.hero-preview {
  font-size: 14px;
  line-height: 1.65;
  color: #444;
  margin: 0 0 12px;
}

.hero-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

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

.archive h2 {
  margin: 0 0 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--accent);
}

.archive-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
}

.archive-date {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-link {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
}

.archive-link:hover {
  color: var(--accent);
}

.archive-about {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  background: #fafafa;
  padding: 40px 24px;
  border-top: 1px solid var(--divider);
  text-align: center;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: #111;
  font-size: 20px;
  line-height: 1.2;
}

.site-footer .subscribe-form {
  margin: 0 auto;
}

.fallback {
  border: 1px solid #f5f5f5;
  border-radius: 8px;
  padding: 28px;
}

.fallback h1 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
}

.fallback p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
}

.skeleton {
  border-radius: 6px;
  background: linear-gradient(90deg, #f4f4f4 25%, #ececec 37%, #f4f4f4 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.skeleton-date {
  width: 120px;
  height: 12px;
  margin-top: 18px;
}

.skeleton-title {
  width: 100%;
  height: 28px;
  margin-top: 10px;
}

.skeleton-title.short {
  width: 78%;
}

.skeleton-text {
  width: 100%;
  height: 14px;
  margin-top: 10px;
}

.skeleton-text.short {
  width: 85%;
}

.skeleton-item {
  min-height: 56px;
  border-radius: 0;
  background: linear-gradient(90deg, #f4f4f4 25%, #ececec 37%, #f4f4f4 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(1100px, calc(100% - 32px));
  }

  .main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 24px;
  }


  .value-bar {
    padding: 32px 0;
  }

  .value-bar-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .value-bar p {
    font-size: 15px;
  }

  .subscribe-form {
    width: 100%;
  }

  .hero-image {
    float: none;
    width: 100%;
    max-width: none;
    max-height: 200px;
    margin: 16px 0 12px;
  }
}
