@import url('/css/photo.css');

/* MAU Signature Blog & Editorial Styles */

/* Blog Layout */
.blog-main {
  background: var(--paper);
  min-height: calc(100vh - var(--header-height));
}

/* Hero Section */
.blog-hero {
  border-bottom: 1px solid rgba(40, 40, 40, 0.12);
  min-height: auto;
  padding-bottom: clamp(40px, 6vw, 80px);
}

.blog-hero .hero-copy {
  max-width: 820px;
}

.blog-hero .hero-title-group h1 {
  font-size: clamp(56px, 7.5vw, 130px);
  letter-spacing: 0.12em;
}

.blog-hero .hero-stats {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(40, 40, 40, 0.1);
}

.blog-hero .stat-item {
  display: flex;
  flex-direction: column;
}

.blog-hero .stat-number {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.04em;
}

.blog-hero .stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(40, 40, 40, 0.6);
  margin-top: 6px;
}

/* Category Filter Bar */
.blog-filter-section {
  padding: 32px var(--page-gutter) 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(40, 40, 40, 0.2);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 250ms var(--ease-out);
}

.filter-btn:hover {
  border-color: var(--ink);
  background: rgba(40, 40, 40, 0.04);
}

.filter-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Articles Grid */
.blog-grid-section {
  padding: 24px var(--page-gutter) var(--section-space);
  max-width: 1400px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background: var(--white);
  border: 1px solid rgba(40, 40, 40, 0.12);
  border-radius: 4px;
  padding: clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 300ms var(--ease-out), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--black);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-index {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(40, 40, 40, 0.4);
}

.card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 42, 103, 0.08);
  color: var(--pink);
}

.card-title {
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 14px 0;
  color: var(--black);
}

.card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(40, 40, 40, 0.72);
  margin: 0 0 28px 0;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(40, 40, 40, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: rgba(40, 40, 40, 0.5);
}

.card-action {
  color: var(--black);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 250ms var(--ease-out);
}

.blog-card:hover .card-action {
  gap: 10px;
  color: var(--pink);
}

/* ==========================================================================
   Article Detail Page Styles
   ========================================================================== */

.article-main {
  background: var(--paper);
  min-height: calc(100vh - var(--header-height));
  padding-bottom: var(--section-space);
}

.article-header-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) var(--page-gutter) 32px;
  border-bottom: 1px solid rgba(40, 40, 40, 0.12);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(40, 40, 40, 0.6);
  margin-bottom: 28px;
  transition: color 200ms var(--ease-out);
}

.article-back:hover {
  color: var(--pink);
}

.article-breadcrumbs {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
}

.article-header-hero h1 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--black);
  margin: 0 0 24px 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  font-size: 13px;
  color: rgba(40, 40, 40, 0.6);
}

.article-meta .category-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Article Content Body */
.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px var(--page-gutter) 60px;
}

.article-content h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-top: 56px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(40, 40, 40, 0.12);
}

.article-content h3 {
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-top: 36px;
  margin-bottom: 16px;
}

.article-content p {
  font-size: 16.5px;
  line-height: 1.78;
  color: #242424;
  margin-bottom: 24px;
}

.article-content strong,
.article-content b {
  font-weight: 700;
  color: var(--black);
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 26px;
}

.article-content li {
  font-size: 16px;
  line-height: 1.75;
  color: #282828;
  margin-bottom: 8px;
}

.article-content blockquote {
  border-left: 3px solid var(--pink);
  background: rgba(255, 42, 103, 0.05);
  padding: 20px 28px;
  border-radius: 0 8px 8px 0;
  margin: 36px 0;
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  background: rgba(40, 40, 40, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--black);
}

.article-content pre {
  background: #141414;
  color: #f2f2f2;
  padding: 22px 26px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 32px 0;
  font-size: 14px;
  line-height: 1.65;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 36px 0;
  font-size: 15px;
}

.article-content th {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid var(--black);
  font-weight: 700;
  color: var(--black);
}

.article-content td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(40, 40, 40, 0.1);
  color: #282828;
}

.article-content hr {
  border: none;
  border-top: 1px solid rgba(40, 40, 40, 0.12);
  margin: 48px 0;
}

/* Article Signature Callout Banner */
.article-cta-box {
  max-width: 780px;
  margin: 64px auto 20px;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  padding: clamp(36px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.article-cta-box .eyebrow {
  color: var(--pink);
  margin-bottom: 12px;
}

.article-cta-box h3 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 16px 0;
}

.article-cta-box p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 28px 0;
  max-width: 580px;
}

.article-cta-box .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.article-cta-box .solid-button {
  background: var(--white);
  color: var(--black);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 30px;
  text-decoration: none;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}

.article-cta-box .solid-button:hover {
  background: var(--pink);
  color: var(--white);
}

.article-cta-box .tg-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}

.article-cta-box .tg-link:hover {
  color: var(--white);
}
