:root {
  --yellow: #ffc400;
  --black: #111111;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--yellow);
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--black);
  text-underline-offset: 0.16em;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem max(1.2rem, calc((100vw - 1400px) / 2 + 1.2rem));
  background: var(--black);
  color: var(--white);
}

.site-topbar a {
  color: var(--white);
  text-decoration: none;
}

.site-brand {
  font-weight: 900;
  letter-spacing: -0.03em;
}

.top-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.page-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.8rem 1.2rem 3rem;
}

.article-header {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.journal-card,
.title-card,
.content-section,
.sidebar-box,
.site-footer {
  background: var(--white);
  border: 2px solid var(--black);
}

.journal-card {
  padding: 1.2rem;
}

.mini-cover {
  width: 110px;
  min-height: 150px;
  padding: 0.7rem;
  margin-bottom: 1rem;
  background: var(--yellow);
  border: 2px solid var(--black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-cover-title {
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.mini-cover-subtitle {
  font-size: 0.8rem;
  line-height: 1.15;
}

.journal-title {
  margin: 0 0 0.7rem;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.3;
}

.journal-meta p {
  margin: 0.35rem 0;
}

.title-card {
  padding: 1.6rem 1.8rem;
}

.article-type {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.title-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.article-subtitle {
  margin: 0.8rem 0 1.2rem;
  font-size: 1.6rem;
  font-weight: 800;
}

.article-author,
.article-date {
  margin: 0.4rem 0;
  font-size: 1rem;
}

.article-action {
  margin: 1.4rem 0 0;
}

.primary-button {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  background: var(--black);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid var(--black);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 1.5rem;
  align-items: start;
}

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

.content-section {
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.2rem;
}

.content-section h2 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
}

.content-section h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.content-section h3 span {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.9rem;
  font-weight: 400;
}

.content-section p,
.content-section li {
  font-size: 1.06rem;
  line-height: 1.75;
}

.content-section p {
  margin: 0 0 1rem;
}

.content-section ul {
  margin: 0.8rem 0 0;
  padding-left: 1.3rem;
}

.content-section li {
  margin: 0.35rem 0;
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.keywords span {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  background: var(--yellow);
  border: 2px solid var(--black);
  font-size: 0.9rem;
  font-weight: 700;
}

.two-column-list {
  columns: 2;
  column-gap: 2rem;
}

figure {
  margin: 1.8rem 0;
}

figure img {
  width: 100%;
  display: block;
  border: 2px solid var(--black);
}

figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.deadline-date {
  margin: 0 !important;
  font-size: clamp(2.2rem, 4.5vw, 4rem) !important;
  line-height: 1.05 !important;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.copyright {
  margin-top: 1.5rem !important;
  font-size: 0.9rem !important;
}

.article-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.sidebar-box {
  padding: 1rem 1rem 1.2rem;
  margin-bottom: 1.2rem;
}

.sidebar-box h3 {
  margin: 0 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.sidebar-box a {
  display: block;
  padding: 0.55rem 0;
  border-top: 1px solid var(--black);
  text-decoration: none;
  font-weight: 600;
}

.sidebar-box a:last-child {
  border-bottom: 1px solid var(--black);
}

.metric-row {
  padding: 0.8rem 0;
  border-top: 1px solid var(--black);
}

.metric-row:last-child {
  border-bottom: 1px solid var(--black);
}

.metric-row strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 900;
}

.metric-row span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

/* optional old pages */
.wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background: var(--white);
  border-bottom: 2px solid var(--black);
}

.site-header a {
  color: var(--black);
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1rem;
}

@media (max-width: 980px) {
  .article-header,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .two-column-list {
    columns: 1;
  }
}

@media (max-width: 700px) {
  .site-topbar,
  .site-footer {
    display: block;
  }

  .top-nav {
    margin-top: 0.6rem;
  }

  .title-card {
    padding: 1.2rem;
  }

  .content-section {
    padding: 1.2rem;
  }

  .site-footer p + p {
    margin-top: 0.5rem;
  }
}

/* === Everyday Life refinements: rounded corners + hover states === */

:root {
  --radius-soft: 10px;
  --radius-small: 6px;
  --hover-grey: #e6e6e6;
  --hover-dark: #444444;
}

/* Rounded cards */
.journal-card,
.title-card,
.content-section,
.sidebar-box,
.site-footer {
  border-radius: var(--radius-soft);
}

/* Rounded cover and figures */
.mini-cover,
.journal-card img,
figure img {
  border-radius: var(--radius-small);
}

/* Make buttons feel clickable */
.primary-button,
.sidebar-box a,
.site-topbar a,
.site-footer a,
.content-section a,
.keywords span {
  transition: 
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    opacity 0.18s ease;
}

/* Black buttons hover into grey */
.primary-button:hover {
  background: var(--hover-dark);
  border-color: var(--hover-dark);
  color: var(--white) !important;
}

/* Right-side article index hover */
.sidebar-box a:hover {
  background: var(--hover-grey);
  color: var(--black);
  padding-left: 0.45rem;
}

/* Text links in article body hover grey */
.content-section a:hover,
.site-footer a:hover {
  background: var(--hover-grey);
  color: var(--black);
}

/* Top navigation hover: grey text, not background */
.site-topbar a:hover {
  color: #cfcfcf;
}

/* Keyword tags: slightly softer */
.keywords span {
  border-radius: var(--radius-small);
}

.keywords span:hover {
  background: var(--white);
}
