/* ══════════════════════════════════════
   UMCA STUDIO — BLOG SINGLE PAGE CSS
══════════════════════════════════════ */
:root {
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --gold-dark: #a07830;
  --navy: #0a1628;
  --navy-mid: #112244;
  --white: #fff;
  --off-white: #f8f5ef;
  --cream: #faf7f2;
  --text: #1a1a2e;
  --text-muted: #6b6b8a;
  --border: #e8e3d8;
  --radius: 2px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  /* font-family: "Montserrat", sans-serif; */
  background: var(--white);
  color: var(--text);
}
a {
  text-decoration: none;
  color: inherit;
}
/* img {
  display: block;
  max-width: 100%;
} */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── READ PROGRESS ── */
.read-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── ARTICLE HERO ── */
.article-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.article-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
  transition: transform 8s ease;
}
.article-hero:hover .article-hero-img {
  transform: scale(1.03);
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.98) 0%,
    rgba(10, 22, 40, 0.5) 60%,
    rgba(10, 22, 40, 0.2) 100%
  );
}
.article-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 52px;
  width: 100%;
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  transition: 0.2s;
}
.article-breadcrumb a:hover {
  color: var(--gold);
}
.article-breadcrumb i {
  font-size: 0.6rem;
}
.article-breadcrumb span {
  color: var(--gold);
}
.article-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.article-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}
.article-hero-sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 26px;
  font-style: italic;
}
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 16px;
}
.meta-item:first-child {
  padding-left: 0;
}
.meta-item i {
  color: var(--gold);
}
.meta-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
}

/* ── ARTICLE PAGE WRAPPER ── */
.article-page {
  background: var(--cream);
  padding: 60px 0 80px;
}
.article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

/* ── ARTICLE BODY ── */
.article-body {
  position: relative;
}

/* Share sticky */
.share-sticky {
  position: absolute;
  left: -72px;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: sticky;
  float: left;
  margin-left: -72px;
  top: 100px;
}
@media (max-width: 1100px) {
  .share-sticky {
    display: none;
  }
}
.share-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 4px;
}
.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.share-btn.whatsapp {
  background: #25d366;
}
.share-btn.facebook {
  background: #1877f2;
}
.share-btn.twitter {
  background: #1da1f2;
}
.share-btn.copy-link {
  background: var(--navy);
  color: var(--gold);
}
.share-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.copy-toast {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.copy-toast.show {
  opacity: 1;
}

/* ── ARTICLE CONTENT TYPOGRAPHY ── */
.article-content {
  background: #fff;
  padding: 44px 44px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
@media (max-width: 640px) {
  .article-content {
    padding: 28px 20px;
  }
}
.article-lead {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--navy);
  margin-bottom: 28px;
  font-weight: 500;
}
.article-h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.article-h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 20px;
}
.article-p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 18px;
}
.article-quote {
  margin: 32px 0;
  padding: 28px 32px 28px 40px;
  border-left: 4px solid var(--gold);
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.06),
    rgba(201, 168, 76, 0.02)
  );
  position: relative;
}
.quote-icon {
  position: absolute;
  top: 20px;
  left: -2px;
  color: var(--gold);
  font-size: 1.1rem;
  background: var(--gold);
  color: var(--navy);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.article-quote p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
  font-weight: 500;
}
.article-figure {
  margin: 28px 0;
}
.article-figure img {
  width: 100%;
  border-radius: var(--radius);
}
.article-figure figcaption {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Tags */
.article-tags {
  background: #fff;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
}
.tags-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.tags-label i {
  color: var(--gold);
  margin-right: 4px;
}
.article-tag {
  padding: 5px 14px;
  border: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-muted);
  border-radius: 999px;
  transition: 0.2s;
}
.article-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Author Box */
.author-box {
  background: #fff;
  padding: 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  margin-bottom: 28px;
}
@media (max-width: 500px) {
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.author-box-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  background: var(--navy-mid);
}
.author-box-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.author-box-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.author-box-bio {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Mobile Share */
.mobile-share {
  display: none;
  background: #fff;
  padding: 22px 24px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
@media (max-width: 1100px) {
  .mobile-share {
    display: block;
  }
}
.share-label-inline {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.mobile-share-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mobile-share-btns .share-btn {
  width: auto;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 7px;
  border-radius: var(--radius);
}

/* Post Navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 500px) {
  .post-nav {
    grid-template-columns: 1fr;
  }
}
.post-nav-item {
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
  border-bottom: 2px solid transparent;
}
.post-nav-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.post-nav-item.next {
  text-align: right;
}
.nav-dir {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-dir i {
  font-size: 0.6rem;
}
.nav-title {
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.4;
}

/* Comments */
.comments-section {
  background: #fff;
  padding: 36px 36px;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
@media (max-width: 640px) {
  .comments-section {
    padding: 24px 18px;
  }
}
.comments-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
}
.form-group label span {
  color: var(--gold);
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-family: "Montserrat", sans-serif;
  font-size: 0.83rem;
  color: var(--text);
  outline: none;
  border-radius: var(--radius);
  transition: 0.3s;
  background: var(--cream);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: #fff;
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.btn-comment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: 0.3s;
}
.btn-comment:hover {
  background: var(--gold);
  color: var(--navy);
}
.comment-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.comment-success i {
  color: var(--gold);
  font-size: 1rem;
}

/* ── SIDEBAR ── */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
.widget-header {
  background: var(--navy);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* TOC */
.toc-list {
  padding: 8px 0;
}
.toc-item {
  display: block;
  padding: 10px 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  line-height: 1.4;
}
.toc-item:hover {
  color: var(--navy);
  border-color: var(--gold-light);
  background: var(--off-white);
}
.toc-item.active {
  color: var(--navy);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  font-weight: 700;
}

/* Related Posts */
.related-list {
  padding: 8px 0;
}
.related-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  transition: 0.2s;
  cursor: pointer;
}
.related-item:last-child {
  border-bottom: none;
}
.related-item:hover {
  background: var(--off-white);
}
.related-thumb {
  width: 64px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: var(--navy-mid);
}
.related-cat {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.related-cat i {
  margin-right: 4px;
}
.related-title {
  font-size: 0.8rem;
  color: var(--navy);
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 4px;
}
.related-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* CTA Widget */
.cta-widget {
  background: var(--navy) !important;
}
.cta-widget-inner {
  padding: 28px 22px;
  text-align: center;
}
.cta-widget-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.cta-widget h4 {
  font-family: "Playfair Display", serif;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.cta-widget p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}
.cta-widget-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: 0.3s;
}
.cta-widget-btn:hover {
  background: var(--gold-light);
}
