:root {
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f4f4f4;
  --ink: #111111;
  --muted: #6f6f6f;
  --soft: #9a9a9a;
  --line: #deded9;
  --line-dark: #171717;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.07);
}

.blog-header {
  background: #fff;
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 clamp(18px, 7vw, 96px);
  background: #1f1f1f;
  color: #c7c7c7;
  font-size: 0.66rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 184px;
  padding: 34px clamp(18px, 7vw, 96px);
  background: #fff;
}

.compact-masthead {
  min-height: 132px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.compact-masthead .blog-logo {
  font-size: clamp(2.7rem, 5.6vw, 4.6rem);
}

.blog-logo {
  color: #1a1a1a;
  font-family: "Brush Script MT", "Segoe Script", Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.7rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  transform: rotate(-3deg);
}

.social-links,
.header-actions,
.widget-social {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #242424;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
}

.social-links a,
.widget-social a,
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  color: var(--ink);
}

.social-links a:hover,
.widget-social a:hover,
.icon-button:hover {
  border-color: var(--line);
  background: #f5f5f5;
}

.social-links svg,
.widget-social svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-links svg path:first-child {
  fill: none;
}

.header-search {
  display: flex;
  align-items: center;
  width: min(210px, 24vw);
  min-width: 148px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
}

.header-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 0 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  outline: none;
}

.header-search .icon-button {
  flex: 0 0 36px;
  width: 36px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
}

.header-search .icon-button:hover {
  background: #f5f5f5;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 38px);
  min-height: 54px;
  padding: 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #2d2d2d;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.primary-nav a:hover {
  color: #777;
}

.primary-nav a.active {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 9px;
}

.hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  min-height: 360px;
  padding: clamp(30px, 4.8vw, 48px) clamp(20px, 7vw, 96px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, #f7f7f5 0%, #fff 48%, #ededeb 100%);
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 28px clamp(18px, 5vw, 70px);
  border: 1px solid rgba(17, 17, 17, 0.12);
  pointer-events: none;
}

.hero-banner::after {
  content: "YAZI / SES / OYUN";
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  top: 50%;
  color: rgba(17, 17, 17, 0.35);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.28em;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-copy .meta {
  margin-bottom: 18px;
  color: #5f5f5f;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.65rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-copy p:last-child {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero-collage {
  position: relative;
  z-index: 1;
  min-height: 270px;
}

.hero-collage img {
  position: absolute;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.13);
}

.collage-main {
  left: 7%;
  top: 6%;
  width: 63%;
  height: 76%;
}

.collage-side {
  right: 0;
  width: 38%;
  height: 42%;
  border: 10px solid #fff;
}

.collage-side-top {
  top: 0;
}

.collage-side-bottom {
  bottom: 0;
}

.collage-note {
  position: absolute;
  left: 0;
  bottom: 14%;
  display: grid;
  gap: 2px;
  width: 128px;
  padding: 14px 15px 13px;
  background: #1e1e1e;
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.collage-note span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.collage-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.collage-lines {
  position: absolute;
  right: 20%;
  bottom: 8%;
  display: grid;
  gap: 10px;
  width: 150px;
}

.collage-lines span {
  display: block;
  height: 1px;
  background: rgba(17, 17, 17, 0.62);
}

.collage-lines span:nth-child(2) {
  width: 72%;
}

.collage-lines span:nth-child(3) {
  width: 48%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px) 0;
  background: rgba(247, 247, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  justify-self: center;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 34px);
  min-height: 48px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}

nav a:hover,
.text-link:hover,
.post-card a:hover,
.row-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(72vh, 680px);
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #151515;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  filter: grayscale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.45)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 48%);
}

.hero-content {
  position: relative;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(56px, 8vw, 96px);
  color: #fff;
  text-align: center;
}

.eyebrow,
.meta,
.category-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 0 auto 18px;
  max-width: 840px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}

.content-wrap,
.article-shell {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 96px;
}

.layout-wrap {
  padding-top: 42px;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.category-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-strip a.active,
.category-strip a:hover {
  border-color: var(--line-dark);
  background: var(--ink);
  color: #fff;
}

.home-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  margin: 0 0 42px;
  align-items: stretch;
}

.podcast-callout,
.quote-callout {
  min-height: 230px;
  border: 1px solid var(--line-dark);
}

.podcast-callout {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.12), transparent 24%),
    #181818;
  color: #fff;
}

.podcast-callout::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.on-air {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.on-air::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.podcast-mic {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 150px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 7;
  opacity: 0.94;
  transform: rotate(-7deg);
}

.podcast-mic rect {
  fill: rgba(255, 255, 255, 0.08);
}

.podcast-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

.podcast-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.podcast-copy span {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.quote-callout {
  position: relative;
  display: grid;
  align-items: center;
  padding: 32px 34px 30px 108px;
  background: #f7f7f5;
  overflow: hidden;
}

.quote-mark {
  position: absolute;
  left: 25px;
  top: -18px;
  color: #1f1f1f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10rem;
  line-height: 1;
}

.quote-callout blockquote {
  position: relative;
  margin: 0;
}

.quote-callout p {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.12;
}

.quote-callout cite {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 44px;
  align-items: start;
}

.post-feed {
  min-width: 0;
}

.search-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: #f8f8f6;
  text-align: center;
}

.search-summary span,
.search-summary a {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.search-summary strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.lead-post {
  display: grid;
  gap: 24px;
  margin-bottom: 42px;
  text-align: center;
}

.lead-post img {
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
  filter: grayscale(1);
}

.lead-post h2 {
  margin: 0 auto 4px;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: uppercase;
}

.lead-post p:not(.meta):not(.category-label) {
  max-width: 780px;
  margin-inline: auto;
  color: var(--muted);
}

.read-link {
  display: inline-flex;
  margin-top: 4px;
  color: #a39265;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.read-link:hover {
  color: var(--ink);
}

.feed-divider {
  position: relative;
  display: grid;
  place-items: center;
  margin: 34px 0 30px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feed-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.feed-divider span {
  position: relative;
  padding: 0 20px;
  background: #fff;
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: 0 0 48px;
  border-bottom: 1px solid var(--line-dark);
}

.featured-post.no-cover {
  grid-template-columns: 1fr;
  text-align: center;
}

.featured-post img,
.post-card img,
.article-cover {
  width: 100%;
  object-fit: cover;
  background: var(--surface-soft);
  filter: grayscale(1);
}

.featured-post img {
  aspect-ratio: 1.24;
}

.featured-post h2,
.section-heading h2,
.article h1,
.panel-heading h1,
.auth-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.featured-post h2 {
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.featured-post p:not(.meta):not(.category-label),
.post-card p,
.article-excerpt,
.muted,
.section-heading p {
  color: var(--muted);
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.button:hover,
button:hover {
  background: #fff;
  color: var(--ink);
}

.icon-button,
.header-search .icon-button {
  display: inline-grid;
  place-items: center;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  font-size: 0;
  line-height: 1;
}

.header-search .icon-button {
  background: transparent;
  color: var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 54px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 1.75rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 30px;
}

.post-card {
  display: grid;
  gap: 14px;
  text-align: center;
}

.post-card img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
}

.post-card h3 {
  margin-bottom: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.26rem;
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
}

.post-card .meta {
  margin-bottom: 8px;
  color: #b0a37d;
}

.sidebar {
  display: grid;
  gap: 28px;
}

.widget {
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.widget h2 {
  margin-bottom: 16px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-widget img {
  width: 100%;
  aspect-ratio: 1.3;
  margin-bottom: 14px;
  object-fit: cover;
  filter: grayscale(1);
}

.about-widget p {
  color: var(--muted);
  font-size: 0.82rem;
}

.about-widget strong {
  font-family: "Brush Script MT", "Segoe Script", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
}

.newsletter-widget {
  background: #202020;
  color: #fff;
}

.newsletter-widget h2 {
  color: #fff;
}

.newsletter-widget input,
.site-footer input {
  min-height: 34px;
  margin-bottom: 8px;
  border: 0;
  text-align: center;
  font-size: 0.78rem;
}

.header-search input {
  margin-bottom: 0;
  text-align: left;
}

.newsletter-widget button,
.site-footer button {
  width: 100%;
  min-height: 34px;
  background: #9f9f9f;
  border-color: #9f9f9f;
  color: #fff;
  font-size: 0.66rem;
}

.widget-social {
  justify-content: center;
}

.category-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.category-list li {
  border-bottom: 1px solid var(--line);
}

.category-list a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.category-list a:hover {
  color: var(--ink);
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 52px 0 0;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pagination a,
.pagination span:not(.gap) {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
}

.pagination .gap {
  display: inline-grid;
  place-items: center;
  height: 34px;
  padding: 0 3px;
  color: var(--muted);
}

.pagination a:hover,
.pagination .active,
.pagination .current {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.site-footer {
  padding: 0;
  background:
    linear-gradient(180deg, #252525 0%, #171717 100%);
  color: #d8d8d8;
}

.footer-inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 28px;
}

.footer-brand-block {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(260px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  color: #fff;
  font-family: "Brush Script MT", "Segoe Script", Georgia, serif;
  font-size: 2.7rem;
  font-style: italic;
  line-height: 1;
}

.footer-brand-block p {
  max-width: 520px;
  margin: 0;
  color: #b9b9b9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.55;
}

.footer-podcast {
  display: grid !important;
  gap: 3px;
  min-width: 190px;
  margin: 0 !important;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.footer-podcast span {
  color: #a9a9a9;
  font-size: 0.66rem;
  font-weight: 850;
  text-transform: uppercase;
}

.footer-podcast strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 400;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(3, minmax(150px, 1fr));
  gap: 34px;
  padding: 34px 0;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: #f3f3f3;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: #cfcfcf;
  font-size: 0.78rem;
  line-height: 1.35;
}

.site-footer a:hover {
  color: #fff;
}

.footer-text {
  margin: 0 0 12px;
  color: #aaa;
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-newsletter {
  padding-right: 16px;
}

.footer-newsletter input,
.site-footer input {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  background: #f2f2f2;
}

.footer-newsletter button,
.site-footer button {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8f8f8f;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.empty-state,
.auth-card,
.editor-panel,
.posts-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.empty-state {
  padding: 54px 28px;
  text-align: center;
}

.empty-state h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f3f3f0;
}

.auth-shell {
  width: min(440px, calc(100% - 36px));
}

.auth-card {
  padding: 34px;
}

.auth-card h1 {
  margin: 26px 0 8px;
  font-size: 2.35rem;
  line-height: 1.05;
}

.auth-card .brand,
.admin-page .brand {
  justify-self: start;
  font-size: 1.9rem;
}

.stack-form,
.editor-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input,
select {
  min-height: 46px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 12px 14px;
}

.alert,
.notice {
  margin: 18px 0;
  padding: 12px 14px;
  background: #efefeb;
  border-left: 3px solid var(--ink);
  color: var(--ink);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 76px;
}

.admin-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 76px;
}

.admin-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1;
}

.editor-panel,
.posts-panel {
  padding: 24px;
}

.editor-panel {
  margin-bottom: 24px;
}

.posts-panel-wide {
  padding: 0;
  overflow: hidden;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.panel-heading h1,
.panel-heading h2 {
  margin: 0;
}

.panel-heading h1 {
  font-size: 2.4rem;
}

.compact {
  margin-bottom: 16px;
}

.text-link,
.row-links a {
  color: var(--ink);
  font-weight: 850;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.toolbar button,
.upload-button {
  min-height: 36px;
  padding: 0 12px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 0.82rem;
}

.toolbar button:hover,
.upload-button:hover {
  border-color: var(--ink);
}

.upload-button {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.upload-button input {
  display: none;
}

.editor {
  min-height: 420px;
  padding: 22px;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
}

.editor:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.editor img,
.article-content img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  filter: grayscale(1);
}

.editor blockquote,
.article-content blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--ink);
  background: var(--surface-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.publish-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.select-label {
  width: min(220px, 100%);
}

.admin-post-list {
  display: grid;
  gap: 12px;
  max-height: 760px;
  overflow: auto;
  padding-right: 4px;
}

.admin-list-heading {
  padding: 22px 24px 0;
}

.admin-list-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-post-list article {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.admin-post-list h3 {
  margin: 8px 0 4px;
  font-size: 1rem;
  line-height: 1.25;
}

.admin-post-list p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status {
  display: inline-flex;
  padding: 4px 8px;
  background: #e8e8e3;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status.published {
  background: var(--ink);
  color: #fff;
}

.row-links {
  display: flex;
  gap: 14px;
}

.admin-list-filters {
  display: grid;
  grid-template-columns: 190px 160px minmax(220px, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin: 0;
  padding: 16px 24px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f7f5;
}

.admin-list-filters label {
  font-size: 0.78rem;
}

.admin-list-filters input,
.admin-list-filters select {
  min-height: 38px;
  font-size: 0.86rem;
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-post-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.admin-post-table th,
.admin-post-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-post-table th {
  color: var(--muted);
  background: #fbfbfa;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-post-table td:first-child {
  width: 46%;
}

.admin-post-table strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
  line-height: 1.25;
}

.admin-post-table td > span:not(.status) {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.table-actions {
  display: grid;
  gap: 6px;
  min-width: 108px;
}

.table-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.table-actions a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.quick-edit-row td {
  background: #f7f7f5;
}

.quick-edit-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 150px auto;
  gap: 12px;
  align-items: end;
}

.quick-edit-form label {
  font-size: 0.78rem;
}

.quick-edit-form input,
.quick-edit-form select {
  min-height: 38px;
}

.quick-edit-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.quick-edit-actions button {
  min-height: 38px;
}

.quick-edit-actions a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.filter-actions button {
  min-height: 38px;
}

.filter-actions a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 18px 24px 22px;
  margin-top: 0;
}

.admin-pagination a,
.admin-pagination span:not(.gap) {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 850;
}

.admin-pagination .gap {
  display: inline-grid;
  place-items: center;
  height: 30px;
  padding: 0 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.admin-pagination span:not(.gap),
.admin-pagination a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.article-shell {
  width: min(820px, calc(100% - 40px));
}

.article-page-shell {
  display: grid;
  grid-template-columns: 150px minmax(0, 820px) 220px;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 88px;
}

.article-main-column {
  min-width: 0;
}

.article-page-shell > .empty-state {
  grid-column: 1 / -1;
}

.article-rail {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.78rem;
}

.article-rail-left {
  border-top: 1px solid var(--line-dark);
}

.article-rail-right {
  gap: 26px;
}

.article-rail section {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-rail section + section {
  border-top: 0;
}

.article-rail a,
.article-rail time,
.article-rail span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.35;
}

.article-rail-left a,
.article-rail-left time,
.article-rail-left span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.rail-kicker {
  margin-bottom: 12px;
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.rail-podcast {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--ink);
  color: #fff !important;
}

.rail-podcast span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.rail-podcast strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.article {
  padding-top: 18px;
}

.article h1 {
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.96;
}

.article-excerpt {
  font-size: 1.16rem;
}

.article-cover {
  max-height: 520px;
  margin: 34px 0;
}

.article-content {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.85;
}

.article-content h2,
.article-content h3 {
  margin-top: 34px;
  line-height: 1.15;
}

.article-signature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.85fr);
  gap: 30px;
  margin-top: 54px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #f7f7f5;
}

.article-signature h2 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.article-signature p {
  margin: 0;
  color: var(--muted);
}

.article-stats {
  display: grid;
  gap: 0;
  margin: 0;
}

.article-stats div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.article-stats div:first-child {
  padding-top: 0;
}

.article-stats div:last-child {
  border-bottom: 0;
}

.article-stats dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-stats dd {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
}

.article-after {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.ghost-button {
  background: #fff;
  color: var(--ink);
}

.ghost-button:hover {
  background: var(--ink);
  color: #fff;
}

.article-link-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.article-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.article-link-list span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
  line-height: 1.2;
}

.article-link-list small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .featured-post,
  .admin-layout,
  .hero-banner,
  .home-feature-row,
  .article-page-shell,
  .page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-block {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-podcast {
    width: min(320px, 100%);
  }

  .hero-banner {
    min-height: 0;
  }

  .hero-collage {
    min-height: 260px;
    order: -1;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-page-shell {
    width: min(860px, calc(100% - 36px));
    padding-top: 34px;
  }

  .article-rail {
    position: static;
    padding-top: 0;
  }

  .article-rail-left {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .article-rail-left .rail-kicker,
  .article-rail-left a,
  .article-rail-left time {
    margin-bottom: 0;
  }

  .article-rail-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-list-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .top-strip {
    display: none;
  }

  .masthead {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 150px;
    padding: 28px 18px;
  }

  .compact-masthead {
    min-height: 124px;
  }

  .social-links,
  .header-actions {
    justify-content: center;
  }

  .header-actions {
    width: 100%;
  }

  .header-search {
    width: min(320px, calc(100% - 54px));
  }

  .primary-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .site-header {
    padding-top: 22px;
  }

  nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
  }

  .hero {
    min-height: 420px;
  }

  .hero-banner {
    padding: 28px 18px 34px;
  }

  .hero-banner::before {
    inset: 16px;
  }

  .hero-banner::after {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10.5vw, 3.55rem);
  }

  .hero-collage {
    min-height: 220px;
  }

  .collage-main {
    left: 0;
    top: 8%;
    width: 68%;
    height: 70%;
  }

  .collage-side {
    width: 42%;
    height: 40%;
    border-width: 7px;
  }

  .collage-note {
    bottom: 8%;
    width: 128px;
    padding: 14px;
  }

  .collage-lines {
    right: 8%;
    bottom: 5%;
    width: 132px;
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  .post-grid,
  .sidebar,
  .article-rail-right {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    width: calc(100% - 32px);
    padding-top: 42px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .podcast-callout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .podcast-copy span {
    margin: 0 auto;
  }

  .quote-callout {
    min-height: 210px;
    padding: 82px 24px 28px;
  }

  .quote-mark {
    left: 20px;
    top: -20px;
    font-size: 8.2rem;
  }

  .admin-hero,
  .admin-list-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-list-filters {
    grid-template-columns: 1fr;
  }

  .admin-post-table th:nth-child(2),
  .admin-post-table td:nth-child(2) {
    display: none;
  }

  .quick-edit-form {
    grid-template-columns: 1fr;
  }

  .publish-row,
  .article-after,
  .article-signature,
  .section-heading,
  .form-grid {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .select-label {
    width: 100%;
  }
}
