/* ------------------------------------------------------ */
/* STRICTLY MATCHED HOMEPAGE CSS (ALL FONT RULES REMOVED) */
/* ------------------------------------------------------ */

html, body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #000000;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img { 
  width: 100%; 
  display: block; 
  height: auto; 
  object-fit: cover;
}

p { 
  margin-bottom: 8px; 
  color: #686868; 
}

h3 { 
  margin-bottom: 10px;
}

a { 
  color: #000; 
  text-decoration: none; 
}

a:hover { 
  color: #000; 
  text-decoration: underline; 
}

/* --- Hero Section (.home-hero) --- */
.home-hero {
  position: relative;
  width: 100%;
  height: clamp(420px, 72vh, 780px);
  margin: 0;
  overflow: hidden;
  background: #d8d5cc;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 25%;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 45%,
      rgba(0, 0, 0, 0.08) 62%,
      rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}

.home-hero-copy {
  position: absolute;
  z-index: 2;
  left: 4vw;
  right: 4vw;
  bottom: 42px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  color: #fff;
}

.home-hero-title {
  /* Layout only */
}

.hero-period {
  color: #fff;
  vertical-align: top;
}

.home-hero-subtitle {
  margin-top: 18px;
}

.home-hero-description {
  max-width: 220px;
  margin: 0 0 4px;
  color: #fff;
}

/* --- Main Landing Container & Masthead --- */
.home-landing-container {
  padding: 0px;
  margin-top: 0px;
}

@media (max-width: 768px) {
  .home-landing-container {
    margin-top: 0px !important;
  }
}

.site-seo-masthead {
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .site-seo-masthead {
    margin-top: 50px !important;
  }
}

/* --- Section Headers --- */
.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0rem;
  border-bottom: 1px solid #eee;
  padding-top: 2rem;
}

.section-subtitle {
  color: #111;
  margin-bottom: 0.5rem;
}

.section-title { 
  /* Layout only */
}

@media (max-width: 768px) {
  .section-subtitle {
    margin-bottom: 0.1rem;
  }
  .section-title {
    margin-bottom: 10px;
  }
}

/* --- Edition Intro & Divider --- */
.edition-intro {
  max-width: 80%;
  margin: 28px auto 0;
}

.edition-intro p {
  color: #686868;
  margin: 0;
}

.edition-divider {
  width: 100%;
  height: 1px;
  background: #bdbdbd;
  margin: 22px auto 22px;
}

@media (max-width: 768px) {
  .edition-intro {
    max-width: 90%;
    margin-top: 22px;
  }
}

/* --- Home Index Section & Grid --- */
/* --- Home Index Section & Grid (Updated to 3-Column Editorial) --- */
.home-index-section {
  width: 100%;
}

.home-three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5vw 2.5vw;
  width: 88%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .home-three-column-grid {
    grid-template-columns: repeat(1, 1fr);
    width: 90%;
    gap: 40px;
  }
}

/* --- Load More Section --- */
.archive-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 4rem 0;
}

.archive-load-more::before,
.archive-load-more::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #bdbdbd;
}

.load-more-btn {
  padding: 10px 164px;
  border: 1px solid #bdbdbd;
  border-radius: 50px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background-color 0.3s ease, text-decoration 0.3s ease;
}

.load-more-btn:hover {
  background: #eeeeee;
  border-color: #bdbdbd;
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .load-more-btn {
    padding: 6px 94px;
  }
}

/* --- Post Card & Archive Grid Styles --- */
.home-archive-card {
  display: block;
  border-bottom: 1px solid #eee;
  padding-bottom: 3vw;
  text-decoration: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.home-archive-card a {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.home-archive-card.is-hidden {
  display: none !important;
}

.home-archive-card.is-revealing {
  animation: revealCard 0.6s ease both;
}

@keyframes revealCard {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-image {
  width: 100%;
  aspect-ratio: 20/13;
  overflow: hidden;
  background: #f9f9f9;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-excerpt {
  margin-bottom: 8px;
}

.meta-flex {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.card-meta-line.meta-flex {
  margin-top: 0px;
}

.model-link {
  display: block;
  margin-top: 8px;
}

.card-category {
  display: flex;
}

.card-category a {
  display: inline-block;
  border-bottom: 2px solid #a60505;
  text-decoration: none;
}

.card-category .card-date::before {
  content: "/";
  margin: 0 8px;
  color: #888;
}

img[data-path] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* --- Mobile Hero Adjustments --- */
@media (max-width: 768px) {
  .home-hero {
    height: 68vh;
    min-height: 420px;
    max-height: 650px;
  }

  .home-hero-copy {
    left: 5vw;
    right: 5vw;
    bottom: 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .home-hero-description {
    max-width: 240px;
  }
  
  .home-hero-image {
    object-position: right center;
  }
}


/* --- Home Index Section & Grid (CR Fashion Book Editorial Style) --- */
.home-index-section {
  width: 100%;
}

.home-three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 2px; /* [row gap] [column gap] - very tiny gaps */
  width: 100%;     /* Fills almost the entire width of the page */
  margin: 0 auto;
}

.card-image {
  width: 100%;
  aspect-ratio: 6 / 5; /* Forces square image previews */
  overflow: hidden;
  background: #f9f9f9;
}

@media (max-width: 768px) {
  .home-three-column-grid {
    grid-template-columns: repeat(1, 1fr);
    width: 94%;
    gap: 30px;
  }
}