:root {
  /* Fluid Typography & Spacing */
  --base-font-size: 14px;
  --header-spacing: clamp(40px, 8vw, 80px);
  --grid-gap-h: clamp(20px, 4vw, 40px);
  --grid-gap-v: clamp(40px, 8vw, 80px);
  --article-title-size: clamp(24px, 5vw, 36px);
  --body-text-size: clamp(14px, 1.1vw, 16px);
}

/* SEO Hidden */
.seo-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

body {
  font-family: 'Bookk Gothic', 'Inter', -apple-system, sans-serif;
  font-size: var(--base-font-size);
  line-height: 1.6;
  color: #000;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: clamp(15px, 3vw, 30px);
  letter-spacing: -0.01em;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.6;
}

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

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--header-spacing);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 10;
  gap: 15px;
}

.header-left,
.header-center,
.header-right {
  flex: 1;
  font-size: clamp(10px, 2vw, 12px);
}

.header-center {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.header-right {
  text-align: right;
}

@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px;
  }

  .header-left,
  .header-right {
    flex: 0 0 45%;
    font-size: 10px;
  }

  .header-center {
    flex: 0 0 100%;
    order: -1;
    /* Move Logo to top */
    font-size: 16px;
    margin-bottom: 10px;
  }

  .header-right {
    text-align: right;
  }

  .header-left {
    text-align: left;
  }
}

/* Grid Layout */
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--grid-gap-h);
  row-gap: var(--grid-gap-v);
  align-items: start;
}

@media (max-width: 1200px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .grid-container {
    grid-template-columns: 1fr;
    row-gap: 50px;
  }
}

/* Grid Items */
.grid-item {
  display: flex;
  flex-direction: column;
}

.grid-item-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 16px;
  background-color: #f8f8f8;
}

.grid-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.grid-item:hover .grid-item-image {
  transform: scale(1.03);
}

.grid-item-title {
  font-family: 'Bookk Myungjo', serif;
  font-size: clamp(12px, 2.5vw, 14px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  line-height: 1.4;
}

.grid-item-summary {
  font-family: 'Bookk Gothic', sans-serif;
  font-size: clamp(11px, 2.2vw, 13px);
  line-height: 1.5;
  color: #333;
  font-weight: 400;
  word-break: keep-all;
}

/* Article Detail Page */
.article-page {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-header {
  margin-bottom: clamp(30px, 6vw, 60px);
  width: 100%;
}

.article-title {
  font-family: 'Bookk Myungjo', serif;
  font-size: var(--article-title-size);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 25px;
  letter-spacing: -0.02em;
  word-break: keep-all;
  text-align: center;
}

.article-meta {
  font-family: 'Bookk Gothic', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  display: flex;
  justify-content: center;
  gap: clamp(15px, 3vw, 30px);
  flex-wrap: wrap;
}

.article-hero-image-wrapper {
  width: 100vw;
  /* Full width for mobile impact */
  max-width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  overflow: hidden;
  margin-bottom: 40px;
  margin-left: calc(var(--base-font-size) * -1);
  /* Counter body padding if needed */
  margin-right: calc(var(--base-font-size) * -1);
}

@media (min-width: 768px) {
  .article-hero-image-wrapper {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 2px;
  }
}

.article-hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  max-width: 680px;
  width: 100%;
  font-family: 'Bookk Myungjo', serif;
  font-size: var(--body-text-size);
  line-height: 1.85;
  letter-spacing: -0.01em;
  text-align: justify;
  /* Professional news look */
}

@media (max-width: 680px) {
  .article-body {
    text-align: left;
    /* Better for mobile */
  }
}

.article-body p {
  margin-bottom: 25px;
}

.article-body h3 {
  font-family: 'Bookk Gothic', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 60px 0 20px;
  border-bottom: 2px solid #000;
  padding-bottom: 8px;
}

.article-body blockquote {
  font-family: 'Bookk Myungjo', serif;
  font-size: clamp(16px, 4vw, 20px);
  font-style: italic;
  line-height: 1.6;
  margin: 40px 0;
  padding: 0 20px;
  color: #222;
  text-align: center;
  border-left: none;
  position: relative;
}

.article-body blockquote::before,
.article-body blockquote::after {
  content: '“';
  font-family: serif;
  font-size: 40px;
  opacity: 0.1;
  position: absolute;
}

.article-body blockquote::before {
  top: -20px;
  left: 0;
}

.article-body blockquote::after {
  bottom: -40px;
  right: 0;
  content: '”';
}

.article-body ul {
  margin: 20px 0 30px 0;
  padding-left: 20px;
  list-style-type: square;
}

.article-body li {
  margin-bottom: 12px;
}

/* Footer */
.minimal-footer {
  margin-top: 100px;
  padding: 40px 0;
  border-top: 1px solid #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Bookk Gothic', sans-serif;
  font-size: 10px;
  color: #000;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 600px) {
  .minimal-footer {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Cookie Banner Base Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 11px;
  z-index: 10000;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.cookie-banner p {
  margin: 0;
  line-height: 1.5;
  max-width: 800px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  margin-left: 20px;
}

.btn-cookie {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 8px 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cookie:hover {
  background-color: #ddd;
}

.btn-reject {
  background-color: transparent;
  color: #fff;
  border: 1px solid #555;
}

/* Cookie Banner Customization */
.cookie-banner {
  font-size: 11px;
  padding: 20px;
}

@media (max-width: 600px) {
  .btn-cookie {
    width: 100%;
    padding: 12px;
    font-size: 12px;
  }
}

/* About Page Specifics */
.about-content .lead-text {
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 40px;
  word-break: keep-all;
  border-left: 3px solid #000;
  padding-left: 20px;
  text-align: left;
}

.about-content .contact-title {
  margin-top: 80px;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.about-content .contact-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
  text-align: left;
}

.about-content .email-link {
  text-decoration: underline;
  font-weight: 600;
  font-size: 14px;
  display: block;
  text-align: left;
}