/* ================= THEME SYSTEM ================= */

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --border: #e5e5e5;
  --card: #fafafa;
  --link: #111111;
  --hover: #000000;
}

[data-theme="dark"] {
  --bg: #0f0f0f;
  --text: #eaeaea;
  --muted: #aaaaaa;
  --border: #2a2a2a;
  --card: #171717;
  --link: #ffffff;
  --hover: #ffffff;
}

/* ==============================
   BASE — PREMIUM TYPOGRAPHY SYSTEM
   ============================== */

:root {
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Playfair Display", serif;
}

/* ==============================
   GLOBAL TEXT RESET
   ============================== */

body,
p,
li,
span,
a,
button,
input,
textarea {
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  margin: 0;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: #111;
  background: #fff;
}

/* ==============================
   HEADINGS / BRAND
   ============================== */

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.home-title,
.article-main-title,
.about-title,
.news-title,
.page-title {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Hero Title */

.home-title {
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* Brand Logo */

.site-title {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.site-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: currentColor;
  margin: 10px auto 0;
  opacity: 0.2;
}

/* ==============================
   SUBTITLE / META
   ============================== */

.home-subtitle {
  font-weight: 400;
  letter-spacing: 0.01em;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ==============================
   QUOTES / PHILOSOPHY
   ============================== */

blockquote,
.home-philosophy blockquote,
.philosophy-text {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ==============================
   BUTTONS / ACTIONS
   ============================== */

.home-btn,
button {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==============================
   HERO SECOND LINE (OPTIONAL)
   ============================== */

.home-title span:last-child {
  font-weight: 10;
  opacity: 0.5;
  font-size: 0.5em;
}

/* ==============================
   LENIS / SCROLL FIXES
   ============================== */

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* =========================
   HOME PAGE – PREMIUM STYLE
========================= */

.home-page {
  width: 100%;
  background: #fff;
  color: #111;
}

/* ================= HERO ================= */

.home-hero {
  max-width: 900px;
  margin: 140px auto 120px;
  padding: 0 24px;
  text-align: center;
}

.home-title {
  font-family: "Libre Baskerville", serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin-bottom: 24px;
  color: #000;
}

.home-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Buttons */

.home-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.home-btn {
  font-size: 0.9rem;
  padding: 10px 22px;
  border: 1px solid #000;
  text-decoration: none;
  color: #000;
  transition: all 0.2s ease;
}

.home-btn:hover {
  background: #000;
  color: #fff;
}

.home-btn.primary {
  background: #000;
  color: #fff;
}

.home-btn.primary:hover {
  background: #222;
}

/* ================= INTRO ================= */

.home-intro {
  max-width: 700px;
  margin: 0 auto 120px;
  padding: 0 24px;
  text-align: center;
}

.home-intro p {
  font-family: "Libre Baskerville", serif;
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 22px;
  color: #222;
}

/* ================= FEATURED ================= */

.home-featured {
  max-width: 820px;
  margin: 0 auto 140px;
  padding: 0 24px;
}

.home-section-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 50px;
  text-align: center;
}

.home-item {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.home-item:last-child {
  border-bottom: none;
}

.home-item h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.home-item p {
  line-height: 1.7;
  color: #444;
  margin-bottom: 10px;
}

.home-item a {
  font-size: 0.9rem;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
}

/* ================= PHILOSOPHY ================= */

.home-philosophy {
  max-width: 700px;
  margin: 0 auto 140px;
  padding: 0 24px;
  text-align: center;
}

.home-philosophy blockquote {
  font-family: "Libre Baskerville", serif;
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 26px;
  color: #000;
}

.home-philosophy a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #000;
}

/* ================= SECTIONS ================= */

.home-sections {
  max-width: 800px;
  margin: 0 auto 140px;
  padding: 0 24px;
  text-align: center;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.home-grid a {
  padding: 18px 10px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #111;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.home-grid a:hover {
  border-color: #000;
}

/* ================= CLOSING ================= */

.home-closing {
  max-width: 640px;
  margin: 0 auto 160px;
  padding: 0 24px;
  text-align: center;
}

.home-closing p {
  font-family: "Libre Baskerville", serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .home-title {
    font-size: 2.4rem;
  }

  .home-subtitle {
    font-size: 1rem;
  }

  .home-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-featured {
    margin-bottom: 100px;
  }

  .home-philosophy blockquote {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-actions {
    flex-direction: column;
  }
}

/* ==============================
   FEATURED ARTICLE
   ============================== */

.featured-article {
  background: white;
  padding: 120px 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2; /* ensure section is above hero */
}

.article-card {
  background: #fff;
  color: #111;
  max-width: 720px;
  width: 100%;
  /* border: 1px solid black; */
  padding: 80px 70px;
  margin-top: -400px;
}

.article-title {
  font-family: "Libre Baskerville", serif;
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.article-author {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 40px;
}

.article-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
  margin-bottom: 25px;
}

.article-content p {
  font-family: "Libre Baskerville", serif;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 24px;
  color: #222;
}

/* ==============================
   ARTICLE LIST
   ============================== */

.article-list {
  background: #fff;
  padding: 80px 0;
}

.list-item {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 60px;
  border-top: 1px solid #ddd;
}

.list-item:first-child {
  border-top: none;
}

.list-text h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.list-desc {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 16px;
  max-width: 420px;
}

.more-link {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.more-link:hover {
  text-decoration: underline;
}

.list-image img {
  width: 100%;
}

/* ==============================
   ABOUT PAGE
   ============================== */
/* =========================
   ABOUT PAGE – PREMIUM STYLE
========================= */

.about-page {
  max-width: 780px;
  margin: 120px auto 160px;
  padding: 0 24px;
  color: #111;
  background: #fff;
}

/* Title */

.about-title {
  font-family: "Libre Baskerville", serif;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 60px;
  color: #000;
}

/* Image */

.about-image {
  display: block;
  max-width: 100%;
  margin: 0 auto 60px;
  border-radius: 6px;
}

/* Main Content */

.about-content p {
  font-family: "Libre Baskerville", serif;
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 28px;
  color: #1a1a1a;
}

/* Section Headings */

.about-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 70px;
  margin-bottom: 18px;
  color: #000;
}

/* Lists */

.about-content ul {
  padding-left: 22px;
  margin-bottom: 30px;
}

.about-content li {
  font-family: "Libre Baskerville", serif;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 10px;
  color: #222;
}

/* Links Section */

.about-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-links li {
  margin-bottom: 8px;
}

.about-links a {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.about-links a:hover {
  opacity: 0.7;
}

/* Mobile Optimization */

@media (max-width: 768px) {
  .about-page {
    margin: 90px auto 120px;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1.02rem;
  }
}

/* ==============================
   ABOUT – RECOMMENDATION BOX
   ============================== */

.about-recommendation {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 20px;
}

.recommend-card {
  background: #f7f7f7;
  padding: 28px 26px;
}

.recommend-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.star {
  font-size: 0.9rem;
}

.recommend-title {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  font-weight: 600;
}

.recommend-item {
  margin-bottom: 24px;
}

.recommend-item:last-child {
  margin-bottom: 0;
}

.recommend-item h4 {
  font-family: "Libre Baskerville", serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.recommend-item h4 a {
  color: #000;
  text-decoration: underline;
}

.recommend-item p {
  font-family: "Libre Baskerville", serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #222;
}

.recommend-item p a {
  text-decoration: underline;
}

/* ==============================
   ABOUT – FOOTER ACTIONS
   ============================== */

.about-footer {
  max-width: 720px;
  margin: 60px auto 100px;
  padding: 0 20px;
}

.subscribe-text {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

.subscribe-text a {
  text-decoration: underline;
  color: #000;
}

.share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share span {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
}

.share a {
  font-size: 0.7rem;
  text-decoration: none;
  color: #000;
}
/* ==============================
   ABOUT – DIVIDER
   ============================== */

.about-divider {
  max-width: 720px;
  margin: 60px auto;
  border: none;
  border-top: 1px solid #ddd;
}

/* ==============================
   ABOUT – FREE EBOOK
   ============================== */

.about-ebook {
  max-width: 720px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.ebook-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: center;
}

.ebook-cover img {
  width: 100%;
  display: block;
}

.ebook-label {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 1.4px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 6px;
}

.ebook-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.ebook-desc {
  font-family: "Libre Baskerville", serif;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #222;
}

.ebook-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ebook-form input {
  flex: 1;
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 0.85rem;
}

.ebook-form button {
  border: none;
  background: #eee;
  padding: 8px 12px;
  font-size: 0.85rem;
  cursor: pointer;
}

.ebook-form button:hover {
  background: #ddd;
}

/* ==============================
   ABOUT – FOOTER META
   ============================== */

.about-meta {
  max-width: 720px;
  margin: 0 auto 80px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  color: #666;
}

.about-meta a {
  text-decoration: underline;
  color: #666;
}

/* ==============================
   MOBILE ADJUSTMENTS
   ============================== */

@media (max-width: 576px) {
  .ebook-grid {
    grid-template-columns: 1fr;
  }

  .ebook-cover {
    max-width: 160px;
  }

  .about-meta {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==============================
   MOBILE TUNING
   ============================== */

@media (max-width: 576px) {
  .about-page {
    margin: 70px auto 100px;
  }

  .about-title {
    font-size: 1.8rem;
  }
}

/* ==============================
   ARTICLE-01  PAGE (MINIMAL)
   ============================== */

.article-top {
  text-align: center;
  padding: 70px 20px 40px;
  border-bottom: 1px solid #eee;
}

.site-title {
  font-family: "Libre Baskerville", serif;
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 18px;
}

.site-title a {
  color: #000;
  text-decoration: none;
}

/* ==============================
   NAVIGATION — PREMIUM HOVER BAR
============================== */

.article-nav {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.article-nav a {
  position: relative;
  margin: 0 12px;
  color: #444;
  text-decoration: none;
  padding-bottom: 6px; /* space for bar */
  transition: color 0.2s ease;
}

/* Hover Bar */

.article-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px; /* distance from text */
  width: 0%;
  height: 2px;
  background-color: #000;
  transition: width 0.25s ease;
}

/* On Hover */

.article-nav a:hover {
  color: #000;
}

.article-nav a:hover::after {
  width: 100%;
}

/* Active Page */

.article-nav a.active::after {
  width: 100%;
}

/* ==============================
   ARTICLE PAGE
============================== */

.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 120px; /* ✅ Reduced top space */
}

/* ==============================
   ARTICLE HEADER
============================== */
.article-header {
  text-align: center;
  margin-bottom: 40px; /* ✅ Tighter spacing */
}
.article-main-title {
  font-family: "Libre Baskerville", serif;
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.article-meta {
  font-size: 0.75rem;
  color: #777;
  letter-spacing: 1px;
}

/* ==============================
   ARTICLE BODY
============================== */

.article-body {
  max-width: 660px;
  margin: 0 auto;
  position: relative;
}
.article-body p {
  font-family: "Libre Baskerville", serif;
  font-size: 19px;
  line-height: 1.8;
  max-width: 65ch;
  margin: 0 auto 28px;
  margin-bottom: 28px;
  color: #222;
}

/* ==============================
   BLOCKQUOTE
============================== */

.article-body blockquote {
  margin: 50px 0;
  padding-left: 22px;
  border-left: 2px solid #000;
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #000;
}

/* ==============================
   ARTICLE END
============================== */

.article-end {
  margin-top: 80px;
  text-align: center;
}

.article-end a {
  font-size: 0.75rem;
  letter-spacing: 1.4px;
  font-weight: 500;
  text-decoration: none;
  color: black;
}

/* ==============================
   FOOTER
============================== */

.site-footer {
  border-top: 1px solid #eee;
  padding: 70px 20px 50px;
  margin-top: 120px;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-family: "Libre Baskerville", serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #777;
  margin-bottom: 18px;
}

.footer-copy {
  font-size: 0.7rem;
  color: #999;
  margin-bottom: 14px;
}

.footer-nav {
  font-size: 0.7rem;
  letter-spacing: 1.2px;
}

.footer-nav a {
  margin: 0 4px;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 768px) {
  .article-top {
    padding: 50px 20px 30px;
  }

  .site-title {
    font-size: 1.7rem;
  }

  .article-nav {
    font-size: 0.7rem;
  }

  .article-page {
    padding: 60px 18px 90px;
  }

  .article-main-title {
    font-size: 2rem;
  }

  .article-body p {
    font-size: 1rem;
  }
}

/* ==============================
   MOBILE
   ============================== */

@media (max-width: 576px) {
  .article-header {
    margin-top: 90px;
  }

  .article-main-title {
    font-size: 2rem;
  }

  .article-body p {
    font-size: 1rem;
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .article-main-title {
    font-size: 1.9rem;
  }

  .article-body p {
    font-size: 1rem;
  }
}
/* ==============================
   FOOTER — PREMIUM EDITORIAL
   ============================== */

.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 80px 20px 60px;
  margin-top: 140px;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-family: "Libre Baskerville", serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.footer-tagline {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #777;
  margin-bottom: 20px;
}

.footer-copy {
  font-size: 0.7rem;
  color: #999;
  margin-bottom: 16px;
}

.footer-nav {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 1.2px;
}

.footer-nav a {
  color: #000;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}
/* ==============================
   HERO VISIBILITY FIX — PREMIUM
   ============================== */

.hero {
  position: relative;
}

.hero .container {
  position: relative;
  z-index: 5;
}

/* Main Title */
.hero-title {
  color: #fff;
  opacity: 1 !important;
  position: relative;
  z-index: 6;
  gap: 0px;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.6),
    0 8px 24px rgba(0, 0, 0, 0.9);
}

/* Subtle Light Pad */
.hero-title::before {
  content: "";
  position: absolute;
  inset: -10px -18px;
  background: rgba(0, 0, 0, 0.35);
  filter: blur(8px);
  border-radius: 6px;
  z-index: -1;
}

/* ==============================
   BACKGROUND SOFTENING
   ============================== */

.bg-mk {
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.55)
    ),
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.7)),
    url("./Bg-mk.png") center / cover no-repeat;
}

/* Reduce Overlay */
.bg-mk::after {
  opacity: 0.18;
}

/* ==============================
   FEATURED CARD FIX
   ============================== */

.article-card {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

/* ==============================
   MOBILE HERO FIX
   ============================== */

@media (max-width: 576px) {
  .hero {
    padding-top: 18vh;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
}

/* ==============================
   RESPONSIVE MEDIA QUERIES
   ============================== */

/* Phones */
@media (max-width: 576px) {
  .hero {
    padding-top: 16vh;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .mini-nav {
    font-size: 0.75rem;
    letter-spacing: 1.2px;
  }

  .bg-mk {
    background-position: center 30%;
  }

  .bg-mk::after {
    opacity: 0.25;
  }

  .article-card {
    padding: 45px 28px;
  }
}

/* Tablets */
@media (min-width: 577px) and (max-width: 992px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .bg-mk {
    background-position: center 38%;
  }
}

/* Large screens */
@media (min-width: 1441px) {
  .hero-title {
    font-size: 3.6rem;
  }

  .bg-mk {
    background-position: center 46%;
  }
}

/* ==============================
   ARTICLE LIST — MOBILE MINIMALISM
   ============================== */

@media (max-width: 768px) {
  .list-item {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 20px;
  }

  .list-image {
    order: -1; /* image above text */
    display: flex;
    justify-content: center;
  }

  .list-image img {
    width: 70%;
    max-width: 220px;
    height: auto;
    object-fit: contain;

    /* minimalist feel */
    opacity: 0.9;
    filter: grayscale(100%) contrast(1.05);
  }

  .list-text h3 {
    font-size: 1.2rem;
    line-height: 1.35;
  }

  .list-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .more-link {
    font-size: 0.7rem;
    letter-spacing: 1.4px;
  }
}

/* article page */
/* Articles List */

.articles-list {
  max-width: 720px;
  margin: 0 auto;
}

.article-item {
  padding: 2rem 0;
  border-bottom: 1px solid #eee;
}

.article-item h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.article-item h3 a {
  color: #000;
  text-decoration: none;
}

.article-item h3 a:hover {
  text-decoration: underline;
}

.article-desc {
  font-family: "Inter", sans-serif;
  color: #555;
  margin-bottom: 0.5rem;
}

.article-tag {
  font-size: 0.85rem;
  color: #999;
}

/* Active Nav Link */

.article-nav .active {
  font-weight: 500;
  border-bottom: 1px solid #000;
}
/* Article Meta Row */

.article-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
}

.article-source {
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
}

/* ==============================
   SOCIETY EDITORIAL THEME
============================== */

.society-editorial {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* Intro */

.society-intro {
  border-left: 3px solid #111;
  padding-left: 1.5rem;
  margin-bottom: 3rem;
}

.society-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #777;
}

.society-intro h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 2rem;
  margin: 0.6rem 0;
}

.society-intro p {
  color: #555;
  max-width: 600px;
}

/* Grid */

.society-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* Cards */

.society-card {
  padding: 1.8rem;
  border: 1px solid #ddd;
  background: #fff;
}

.society-category {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}

.society-card h3 {
  font-size: 1.2rem;
  margin: 0.7rem 0;
  line-height: 1.4;
}

.society-card p {
  color: #444;
  font-size: 0.95rem;
}

/* Links */

.society-card a {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #111;
  text-decoration: none;
}

.society-card a:hover {
  text-decoration: underline;
}

/* Footer Link */

.society-footer-link {
  margin-top: 4rem;
}

.society-footer-link a {
  font-size: 0.9rem;
  color: #111;
  text-decoration: none;
}

.society-footer-link a:hover {
  text-decoration: underline;
}

/* ==============================
   HISTORY ARCHIVE THEME
============================== */

.history-archive {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

/* Intro */

.history-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.history-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #777;
}

.history-intro h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 2rem;
  margin: 0.8rem 0;
}

.history-intro p {
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

/* Timeline */

.history-timeline {
  position: relative;
  padding-left: 2.5rem;
  border-left: 2px solid #111;
}

/* Entry */

.history-entry {
  position: relative;
  padding-bottom: 3rem;
}

.history-entry:last-child {
  padding-bottom: 0;
}

/* Dot */

.history-dot {
  position: absolute;
  left: -9px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: #111;
  border-radius: 50%;
}

/* Content */

.history-content {
  padding-left: 1.5rem;
}

.history-year {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #888;
}

.history-content h3 {
  font-size: 1.3rem;
  margin: 0.4rem 0;
  line-height: 1.4;
}

.history-content p {
  color: #444;
  max-width: 520px;
}

/* Links */

.history-content a {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #111;
  text-decoration: none;
}

.history-content a:hover {
  text-decoration: underline;
}

/* Footer */

.history-footer-link {
  margin-top: 4rem;
  text-align: center;
}

.history-footer-link a {
  font-size: 0.9rem;
  color: #111;
  text-decoration: none;
}

.history-footer-link a:hover {
  text-decoration: underline;
}

/* ==============================
   PHILOSOPHY CONTEMPLATIVE THEME
============================== */

.philosophy-space {
  max-width: 780px;
  margin: 140px auto;
  padding: 0 24px;
  color: #111;
}

/* Intro */

.philosophy-intro {
  text-align: center;
  margin-bottom: 4.5rem;
}

.philosophy-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
}

.philosophy-intro h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.philosophy-intro p {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

.philosophy-manifesto h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  font-weight: 600;
  margin-top: 70px;
  margin-bottom: 22px;
}

.philosophy-manifesto h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 14px;
}
/* Body Text */

.philosophy-manifesto p {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #222;
  margin-bottom: 22px;
}

/* Lists */

.philosophy-manifesto ul {
  margin: 20px 0 28px 24px;
}

.philosophy-manifesto li {
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Dividers */

.philosophy-manifesto hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 60px 0;
}

/* Footer */

.philosophy-footer {
  text-align: center;
  margin-top: 90px;
}

.philosophy-footer a {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 768px) {
  .philosophy-intro h2 {
    font-size: 2.2rem;
  }

  .philosophy-manifesto h3 {
    font-size: 1.6rem;
  }
}
/* Notes */

.philosophy-notes {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Entry */

.philosophy-entry {
  text-align: center;
  padding: 0 1rem;
}

/* Main Text */

.philosophy-text {
  font-family: "Libre Baskerville", serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #111;
}

/* Theme Label */

.philosophy-theme {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}

/* Footer */

.philosophy-footer {
  margin-top: 5rem;
  text-align: center;
}

.philosophy-footer a {
  font-size: 0.85rem;
  color: #111;
  text-decoration: none;
}

.philosophy-footer a:hover {
  text-decoration: underline;
}
/* ==============================
   ARCHIVE INDEX THEME
============================== */

.archive-index {
  max-width: 780px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
}

/* Intro */

.archive-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.archive-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
}

.archive-intro h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 2rem;
  margin: 0.9rem 0;
}

.archive-intro p {
  color: #555;
  max-width: 520px;
  margin: 0 auto;
}

/* Year Blocks */

.archive-year {
  margin-bottom: 3.5rem;
}

.archive-year h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.4rem;
}

/* List */

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-list li {
  display: grid;
  grid-template-columns: 60px 1fr 90px;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.archive-list li:last-child {
  border-bottom: none;
}

/* Date */

.archive-date {
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.08em;
}

/* Title */

.archive-list a {
  color: #111;
  text-decoration: none;
  font-size: 0.95rem;
}

.archive-list a:hover {
  text-decoration: underline;
}

/* Type */

.archive-type {
  font-size: 0.7rem;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}

/* Footer */

.archive-footer {
  margin-top: 4.5rem;
  text-align: center;
}

.archive-footer a {
  font-size: 0.85rem;
  color: #111;
  text-decoration: none;
}

.archive-footer a:hover {
  text-decoration: underline;
}

/* Mobile */

@media (max-width: 576px) {
  .archive-list li {
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto auto;
  }

  .archive-type {
    grid-column: 2;
    text-align: left;
    margin-top: 0.2rem;
  }
}

/* ==============================
   HERO NAV — PREMIUM MOBILE MENU
============================== */

/* ==============================
   HERO NAV — SMOOTH ANIMATION
============================== */

/* Position context */

/* Hamburger — Top Right of Hero */

.hero {
  position: relative;
}

.hero-nav-toggle {
  display: none;

  position: absolute;
  top: 16px;
  right: 16px;

  background: none;
  border: none;

  font-size: 1.7rem;
  color: #fff;

  cursor: pointer;
  z-index: 100;

  transition: transform 0.25s ease;
}

/* Rotate slightly on open */

.hero-nav-toggle.open {
  transform: rotate(90deg);
}

/* Mobile Menu */

.hero-mobile-nav {
  position: absolute;
  top: 70px;
  left: 0;

  width: 100%;

  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 1.8rem 0;

  z-index: 40;

  /* Animation Setup */
  opacity: 0;
  transform: translateY(-15px);
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* Mobile Links */

.hero-mobile-nav a {
  padding: 0.7rem 0;

  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: #fff;
  text-decoration: none;

  transition: opacity 0.2s ease;
}

.hero-mobile-nav a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Mobile Only */

@media (max-width: 768px) {
  .mini-nav {
    display: none;
  }

  .hero-nav-toggle {
    display: block;
  }
}

/* Open State */

.hero-mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* ==============================
   ARTICLE HEADER — MOBILE MENU
============================== */

.article-top {
  position: relative;
}

/* Toggle */

/* Premium Hamburger Button */

.article-nav-toggle {
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px 8px;

  font-size: 1.2rem;
  line-height: 1;

  color: #111;

  transition: all 0.2s ease;
}

.article-nav-toggle:hover {
  border-color: #000;
}

.article-nav-toggle.open {
  transform: rotate(90deg);
}

/* Mobile Menu */

.article-mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;

  width: 100%;

  background: #fff;

  border-top: 1px solid #eee;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 1.5rem 0;

  z-index: 40;

  /* Animation */
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Links */

.article-mobile-nav a {
  padding: 0.6rem 0;

  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: #111;
  text-decoration: none;
}

.article-mobile-nav a:hover {
  text-decoration: underline;
}

/* Mobile Only */

@media (max-width: 768px) {
  /* Hide desktop nav */
  .article-nav {
    display: none;
  }

  /* Show toggle */
  .article-nav-toggle {
    display: block;
  }
}

/* Open State */

.article-mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================
   BOOKS PAGE (ISOLATED)
========================= */

.books-page {
  width: 100%;
}

/* Wrapper */

.books-page-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 140px;
}

/* Item Layout */

.books-page-item {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

/* Text */

.books-page-title {
  font-family: "Libre Baskerville", serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #000;
}

.books-page-author {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 14px;
}

.books-page-badge {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #111;
}

.books-page-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #222;
}

.books-page-quote {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #333;
}

/* Links */

.books-page-links a {
  margin-right: 12px;
  font-size: 0.9rem;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.books-page-links a:hover {
  opacity: 0.7;
}

/* Image */

.books-page-image img {
  width: 100%;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Divider */

.books-page-divider {
  border: none;
  border-top: 1px solid #eee;
  margin-bottom: 100px;
}

/* Mobile */

@media (max-width: 768px) {
  .books-page-wrapper {
    padding: 60px 20px 100px;
  }

  .books-page-item {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .books-page-image {
    text-align: center;
  }

  .books-page-image img {
    max-width: 200px;
    margin: 0 auto;
  }
}
/* =========================
   NEWS PAGE
========================= */

.news-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 100px 24px 140px;
}

.news-title {
  font-family: "Libre Baskerville", serif;
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.news-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 60px;
}

.news-item {
  margin-bottom: 60px;
}

.news-item h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.news-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 12px;
}

.news-item p {
  line-height: 1.7;
  margin-bottom: 10px;
}

.news-item a {
  font-size: 0.9rem;
  color: #000;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.news-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.news-item a:hover::after {
  transform: scaleX(1);
}

.news-item {
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.news-item:last-child {
  border-bottom: none;
}
/* ==============================
   NAV FIX — FINAL RESPONSIVE
============================== */

/* Default: Desktop */

.article-nav-toggle {
  display: none; /* Hide on desktop */
}

/* Mobile Only */

@media (max-width: 768px) {
  /* Hide desktop nav */
  .article-nav {
    display: none;
  }

  /* Show hamburger */
  .article-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 12px;

    font-size: 1.4rem;
    padding: 6px 10px;
  }
}
/* ==============================
   MOBILE NAV — FINAL FIX
============================== *
/* ==============================
   HEADER NAV — PREMIUM MOBILE
============================== */

/* Header container fix */

.article-top {
  position: relative;
}

/* ==============================
   MOBILE NAV
============================== */

.article-mobile-nav {
  display: none;
  flex-direction: column;

  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  background: #fff;

  border-top: 1px solid #eee;

  padding: 16px 0;

  z-index: 999;
}

.article-mobile-nav a {
  padding: 12px 24px;
  text-align: center;
  font-size: 0.95rem;
}

.article-mobile-nav.open {
  display: flex;
}

/* ==============================
   HAMBURGER — RESPONSIVE
============================== */

.article-nav-toggle {
  display: none;
}

/* Mobile only */

@media (max-width: 768px) {
  /* Hide desktop nav */
  .article-nav {
    display: none;
  }

  /* Show hamburger */
  .article-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 20%;
    right: 20px;

    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    font-size: 1.4rem;
    line-height: 1;

    border: 1px solid #ddd;
    border-radius: 4px;

    background: #fff;
    color: #111;

    cursor: pointer;

    transition: all 0.2s ease;
  }

  .article-nav-toggle:hover {
    border-color: #000;
  }
}
.footer-platforms {
  margin-top: 14px;
  text-decoration: none;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}

.footer-platforms a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-platforms a:hover {
  border-bottom-color: #000;
}

/* ==============================
   SUBTLE COLOR SYSTEM
============================== */

/* Mobile menu */
.article-mobile-nav {
  background: #fafafa;
  border-top: 1px solid #e5e5e5;
}

/* Section separators */
.home-section {
  border-top: 1px solid #eee;
  padding-top: 50px;
}

/* Quote highlight */
.home-philosophy {
  background: #f8f8f8;
  padding: 30px 20px;
  border-left: 3px solid #ddd;
}

/* Footer */
footer {
  background: #f9f9f9;
  border-top: 1px solid #eee;
}
/* ==============================
   FONT SIZE BOOST — DESKTOP/LAPTOP
   (No Layout Changes)
============================== */

/* Base Body */

body {
  font-size: 18px;
  line-height: 1.75;
}

/* Article Title */

.article-main-title {
  font-size: 2.8rem;
}

/* Article Text */

.article-body p {
  font-size: 20px;
  line-height: 1.85;
}

/* Blockquotes */

.article-body blockquote {
  font-size: 1.1rem;
}

/* Meta Text */

.article-meta {
  font-size: 0.8rem;
}

/* Large Screens */

@media (min-width: 1024px) {
  body {
    font-size: 19px;
  }

  .article-main-title {
    font-size: 3.2rem;
  }

  .article-body p {
    font-size: 21px;
  }
}

/* ==============================
   NAV UNDERLINE FIX — STABLE
============================== */

/* Reset all underlines */

.article-nav a::after {
  width: 0 !important;
}

/* Show underline ONLY on hover */

.article-nav a:hover::after {
  width: 100% !important;
}

/* Show underline ONLY on active page */

.article-nav a.active::after {
  width: 100% !important;
}

/* ==============================
   MOBILE MENU — SMOOTH SLIDE
============================== */

.article-mobile-nav {
  display: flex;
  flex-direction: column;

  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  background: #fafafa;
  border-top: 1px solid #e5e5e5;

  padding: 20px 0;

  /* Animation setup */
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* When Open */

.article-mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Hamburger Animation */

.article-nav-toggle {
  transition: transform 0.3s ease;
}

.article-nav-toggle.open {
  transform: rotate(90deg);
}

/* ---------------- */

/* ==========================
   Video Popup (Ultra Smooth)
========================== */

.video-link {
  display: inline-block;
  margin-left: 20px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.video-link:hover {
  border-color: #555;
}

/* Overlay */

.video-popup {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;

  backdrop-filter: blur(5px);

  /* Animation */
  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.55s ease-in-out,
    visibility 0.55s ease;
}

/* Active Overlay */

.video-popup.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Box */

.video-box {
  position: relative;

  width: 900px;
  max-width: 96%;
  height: 750px;

  background: linear-gradient(180deg, #ffffff, #f6f6f6);

  border-radius: 22px;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.22),
    0 40px 90px rgba(0, 0, 0, 0.25);

  overflow: hidden;

  /* iOS closed state */
  opacity: 0;

  transform: translateY(45px) scale(0.92) perspective(1200px) rotateX(7deg);

  transition:
    opacity 0.55s ease,
    transform 0.65s cubic-bezier(0.16, 1.25, 0.3, 1);
}

/* Active Box */

.video-popup.active .video-box {
  opacity: 1;

  transform: translateY(0) scale(1) perspective(1200px) rotateX(0deg);
}

/* Iframe */

.video-box iframe,
.video-box video {
  width: 100%;
  height: 100%;
  border: none;
}

/* Close Button */

.video-close {
  position: absolute;
  top: 14px;
  right: 16px;

  font-size: 18px;
  color: #444;

  cursor: pointer;
  z-index: 2;

  background: rgba(255, 255, 255, 0.9);

  width: 30px;
  height: 30px;

  border-radius: 50%;

  text-align: center;
  line-height: 30px;

  backdrop-filter: blur(6px);

  transition:
    transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
    background 0.35s ease-out,
    box-shadow 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.video-close {
  will-change: transform, box-shadow;
}

.video-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.12);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.video-close:hover {
  background: #eee;
  transform: scale(1.1);
}
/* Inner White Video Frame */

.video-inner {
  width: 94%;
  height: 90%;

  margin: auto;
  position: relative;
  top: 40px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(2px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-radius: 16px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    0 6px 18px rgba(0, 0, 0, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.1);

  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video inside inner box */

.video-inner iframe,
.video-inner video {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 14px;
}
/* ==========================
   Local Video Styling
========================== */

.video-inner video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  border-radius: 14px;
  outline: none;
  box-shadow: none;
}

/* ==========================
   Remove Fullscreen Button
========================== */

/* Chrome / Edge / Safari */

video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

video::-webkit-media-controls-play-button {
  opacity: 1;
}

video::-webkit-media-controls-download-button {
  display: none !important;
}

video::-webkit-media-controls-picture-in-picture-button {
  display: none !important;
}

video::-webkit-media-controls-enclosure {
  overflow: hidden;
}

/* ==========================
   Firefox
========================== */

video::-moz-full-screen {
  display: none !important;
}

/* ==========================
   Remove Focus Glow
========================== */

video:focus {
  outline: none !important;
}
/* Minimal controls */

.video-inner video::-webkit-media-controls-timeline {
  height: 3px;
}

.video-inner video::-webkit-media-controls-current-time-display,
.video-inner video::-webkit-media-controls-time-remaining-display {
  display: none;
}

/* Mobile */

/* ==========================
   Mobile Portrait
========================== */

@media (max-width: 600px) and (orientation: portrait) {
  .video-box {
    width: 95vw;
    max-height: 75vh;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
  }
}

/* ==========================
   Mobile Landscape
========================== */

@media (max-width: 900px) and (orientation: landscape) {
  .video-box {
    width: 96vw;
    max-height: 85vh;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
  }
}

/* ==========================
   Inner Container (All Mobile)
========================== */

@media (max-width: 900px) {
  .video-inner {
    width: 90%;
    height: 90%;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================
   iOS DEPTH EFFECT
========================== */

body.popup-open {
  overflow: hidden;
}

body.popup-open .site-wrapper,
body.popup-open main,
body.popup-open .home-page,
body.popup-open .article-page {
  filter: blur(3px);
  transform: scale(0.985);
  transition:
    filter 0.45s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
/* ==========================
   Mini Suggestion Input
========================== */

.mini-suggest {
  max-width: 520px;
  margin: 60px auto 40px;

  font-size: 14px;
}

.mini-suggest label {
  display: block;

  margin-bottom: 6px;

  color: #666;
  font-size: 13px;
}

.mini-suggest input {
  width: 100%;

  padding: 10px 4px;

  border: none;
  border-bottom: 1px solid #ddd;

  background: transparent;

  font-size: 14px;

  transition: border-color 0.25s ease;
}

.mini-suggest input::placeholder {
  color: #aaa;
}

.mini-suggest input:focus {
  outline: none;
  border-color: #111;
}
.mini-btn {
  margin-top: 20px;

  padding: 10px 18px;

  background: transparent;
  color: #111;

  border: 1px solid #111;
  border-radius: 4px;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.2s ease;
}

.mini-btn:hover {
  background: #111;
  color: #fff;
}

/* ==========================
   UPCOMING ARTICLE CARD
========================== */

.society-card.upcoming {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #fafafa);
}

/* Small Heading */

.society-label {
  display: inline-block;

  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;

  color: #999;

  margin-bottom: 6px;
}

/* Status Text */

.publish-status {
  margin-top: 14px;

  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: #666;

  border-top: 1px solid #eee;
  padding-top: 10px;
}
.article-image img {
  transition: transform 0.3s ease;
}

.article-image img:hover {
  transform: scale(1.02);
}
.article-image {
  margin-top: 10px !important;
  margin-bottom: 20px !important;
}

.article-header {
  margin-bottom: 10px;
}
/* Featured / Pinned Article */

/* Subtle Featured Article */

.society-card.featured {
  border: 1px solid #e5e5e5;
  background: #fff;
  position: relative;
}

.pin-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  color: #777;
  background: none;
  padding: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}
/* ==============================
   GLOBAL ARTICLE IMAGE SQUARE FIX
============================== */

.article-image {
  width: 100%;
  max-width: 420px; /* keep your existing layout */
  aspect-ratio: 1 / 1; /* Force square */
  margin: 20px auto;

  overflow: hidden;
  border-radius: 8px;
  background: #f6f6f6;

  display: flex;
  align-items: center;
  justify-content: center;
}

.article-image img {
  width: 100%;
  height: 100%;

  object-fit: cover; /* Crop to square */
  display: block;
}
/* ==============================
   LATEST ESSAY BOX
============================== */

.latest-essay {
  max-width: 760px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.latest-essay h2 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  margin-bottom: 28px;
}

.latest-card {
  border: 1px solid #eee;
  padding: 32px 28px;
  background: #fff;
}

.latest-tag {
  font-size: 11px;
  letter-spacing: 1px;
  color: #777;
  text-transform: uppercase;
}

.latest-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin: 12px 0 10px;
}

.latest-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  max-width: 55ch;
  margin: 0 auto 12px;
}

.latest-card a {
  font-size: 15px;
  text-decoration: none;
  color: #000;
}

.latest-card a:hover {
  text-decoration: underline;
}
