/* ============================================================
   AAHGOO — Journal / Blog Page Stylesheet
   Mobile-First Responsive | Extends base style.css
   ============================================================ */


/* ============================================================
   JOURNAL HERO
   ============================================================ */
.journal-hero {
  position: relative;
  padding: 110px 0 50px;
  overflow: hidden;
}

/* Final desktop override: match the larger editorial type scale in the reference. */
@media (min-width: 1025px) {
  .article-card__body { padding: 18px 20px 20px; }
  .article-card__meta { gap: 7px; margin-bottom: 9px; }
  .article-card__cat { font-size: .58rem; }
  .article-card__date { font-size: .64rem; }
  .article-card__title { font-size: 1.1rem; line-height: 1.16; margin-bottom: 9px; }
  .article-card__excerpt { font-size: .72rem; line-height: 1.48; margin-bottom: 12px; }
  .article-card__link { font-size: .64rem; font-weight: 700; }
}

.journal-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: var(--clr-canvas);
  background-image:
    radial-gradient(at 0% 0%, var(--clr-rose-light) 0px, transparent 60%),
    radial-gradient(at 100% 0%, var(--clr-peach-soft) 0px, transparent 50%),
    radial-gradient(at 100% 100%, var(--clr-blue-soft) 0px, transparent 60%),
    radial-gradient(at 0% 100%, #e6dfec 0px, transparent 50%);
}

.journal-hero__inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.journal-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-purple);
  margin-bottom: 12px;
}

.journal-hero__eyebrow svg {
  width: 14px;
  height: 14px;
}

.journal-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 500;
  color: var(--clr-dark);
  line-height: 1.1;
  margin-bottom: 8px;
}

.journal-hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--clr-pink-text);
  line-height: 1.35;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 14px;
}

.journal-hero__desc {
  font-size: 0.85rem;
  color: var(--clr-body);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 24px;
}

.journal-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-dark);
  color: var(--clr-white);
  padding: 14px 30px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s;
}

.journal-hero__cta:hover {
  background: #1a1414;
}

.journal-hero__image {
  display: none;
}


/* ============================================================
   CATEGORY FILTER BAR
   ============================================================ */
.journal-filters {
  padding: 20px 0;
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-rose-light);
  position: static;
}

.journal-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.journal-filters__list::-webkit-scrollbar {
  display: none;
}

.journal-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--clr-rose-light);
  background: var(--clr-white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-body);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s;
}

.journal-filter:hover {
  border-color: var(--clr-purple-soft);
  color: var(--clr-purple);
}

.journal-filter.is-active {
  background: var(--clr-purple);
  border-color: var(--clr-purple);
  color: var(--clr-white);
}

.journal-filter svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}


/* ============================================================
   FEATURED ARTICLE
   ============================================================ */
.journal-featured {
  padding: 40px 0 20px;
  background: var(--clr-white);
}

.journal-featured__card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--clr-rose-light);
  background: var(--clr-white);
  transition: box-shadow 0.3s;
}

.journal-featured__card:hover {
  box-shadow: 0 12px 40px rgba(45, 36, 36, 0.08);
}

.journal-featured__media {
  position: relative;
  overflow: hidden;
}

.journal-featured__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.journal-featured__card:hover .journal-featured__img {
  transform: scale(1.03);
}

.journal-featured__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--clr-purple);
  color: var(--clr-white);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.journal-featured__body {
  padding: 24px;
}

.journal-featured__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.journal-featured__cat {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-purple);
}

.journal-featured__date {
  font-size: 0.7rem;
  color: var(--clr-muted);
}

.journal-featured__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--clr-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.journal-featured__excerpt {
  font-size: 0.85rem;
  color: var(--clr-body);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 500px;
}

.journal-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-pink-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.journal-featured__link:hover {
  color: #302319;
}

.journal-featured__link svg {
  width: 14px;
  height: 14px;
}


/* ============================================================
   ARTICLE GRID
   ============================================================ */
.journal-articles {
  padding: 20px 0 48px;
  background: var(--clr-white);
}

.journal-articles__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Article Card */
.article-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--clr-rose-light);
  background: var(--clr-white);
  transition: box-shadow 0.3s, transform 0.3s;
}

.article-card:hover {
  box-shadow: 0 12px 36px rgba(45, 36, 36, 0.07);
  transform: translateY(-3px);
}

.article-card__media {
  position: relative;
  overflow: hidden;
}

.article-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card__img {
  transform: scale(1.04);
}

.article-card__body {
  padding: 18px 20px 22px;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.article-card__cat {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-purple);
}

.article-card__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--clr-muted);
  flex-shrink: 0;
}

.article-card__date {
  font-size: 0.65rem;
  color: var(--clr-muted);
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--clr-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.article-card__excerpt {
  font-size: 0.78rem;
  color: var(--clr-body);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--clr-pink-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.article-card__link:hover {
  color: var(--clr-purple-deep);
}

.article-card__link svg {
  width: 14px;
  height: 14px;
}


/* ============================================================
   LOAD MORE
   ============================================================ */
.journal-load-more {
  text-align: center;
  padding: 0 0 60px;
  background: var(--clr-white);
}

.journal-load-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--clr-purple-deep);
  border: 1.5px solid var(--clr-purple-deep);
  text-decoration: none;
  padding: 15px 36px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.journal-load-more__btn:hover {
  background: var(--clr-purple-deep);
  color: var(--clr-white);
  box-shadow: 0 4px 12px rgba(117, 86, 126, 0.2);
}

.journal-load-more__btn svg {
  width: 16px;
  height: 16px;
}


/* ============================================================
   RESPONSIVE — 481px+
   ============================================================ */
@media (min-width: 481px) {
  .journal-articles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================================
   RESPONSIVE — 768px+ (Tablets)
   ============================================================ */
@media (min-width: 768px) {
  .journal-hero {
    padding: 120px 0 56px;
  }

  .journal-hero__image {
    display: block;
    border-radius: 20px;
    max-height: 320px;
    object-fit: cover;
    width: 100%;
  }

  .journal-hero__inner {
    grid-template-columns: 1fr 1fr;
  }

  .journal-featured__card {
    flex-direction: row;
  }

  .journal-featured__media {
    flex: 0 0 55%;
    max-width: 55%;
  }

  .journal-featured__img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 340px;
  }

  .journal-featured__body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


/* ============================================================
   RESPONSIVE — 1025px+ (Desktop)
   ============================================================ */
@media (min-width: 1025px) {
  .journal-hero {
    padding: 96px 0 56px;
  }

  .journal-hero__bg {
    background-color: #fcf8f3;
    background-image: none;
  }

  .journal-hero__inner {
    gap: 30px;
    align-items: center;
  }

  .journal-hero__eyebrow {
    color: #d4879c;
    font-size: .66rem;
    margin-bottom: 16px;
  }

  .journal-hero__title {
    font-size: 2.55rem;
    line-height: 1.07;
    margin-bottom: 11px;
  }

  .journal-hero__subtitle {
    font-size: 1.28rem;
    margin-bottom: 15px;
  }

  .journal-hero__desc {
    font-size: .8rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .journal-hero__cta {
    background: var(--clr-purple);
    padding: 14px 29px;
    font-size: .66rem;
  }

  .journal-hero__cta:hover {
    background: var(--clr-purple-deep);
  }

  .journal-hero__image {
    height: 340px;
    max-height: none;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 28px;
    box-shadow: 0 16px 34px rgba(70, 48, 45, .10);
    object-fit: cover;
  }

  .journal-articles__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .journal-featured__media {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .journal-featured__body {
    padding: 40px;
  }

  .journal-featured__title {
    font-size: 1.85rem;
  }

}

/* Reference-scale article typography. */
@media (min-width: 1025px) {
  .article-card__body {
    padding: 18px 20px 20px;
  }

  .article-card__meta {
    gap: 7px;
    margin-bottom: 9px;
  }

  .article-card__cat {
    font-size: .58rem;
  }

  .article-card__date {
    font-size: .64rem;
  }

  .article-card__title {
    font-size: 1.1rem;
    line-height: 1.16;
    margin-bottom: 9px;
  }

  .article-card__excerpt {
    font-size: .72rem;
    line-height: 1.48;
    margin-bottom: 12px;
  }

  .article-card__link {
    font-size: .64rem;
    font-weight: 700;
  }
}

/* Journal reference hero: editorial copy on the shared grid with a large,
   right-edge image and the same asymmetric nursery-window treatment. */
@media (min-width: 1025px) {
  .journal-hero {
    min-height: 460px;
    padding: 0;
  }

  .journal-hero .container {
    position: relative;
    height: 460px;
    max-width: var(--container-max);
  }

  .journal-hero__inner {
    display: block;
    min-height: 460px;
  }

  .journal-hero__inner > div:first-child {
    position: relative;
    z-index: 2;
    width: 37.5%;
    padding-top: 128px;
  }

  .journal-hero__image {
    position: absolute;
    z-index: 1;
    top: 64px;
    right: calc((100vw - 100%) / -2);
    display: block;
    width: 62%;
    height: 384px;
    max-height: none;
    border: 0;
    border-top-left-radius: clamp(52px, 6vw, 115px);
    border-bottom-left-radius: 28% 46%;
    border-bottom-right-radius: clamp(70px, 9vw, 175px) clamp(70px, 10vw, 185px);
    box-shadow: none;
    object-fit: cover;
    object-position: center 68%;
  }
}

/* Match the contact page's full-bleed nursery hero artwork and media panel. */
.journal-hero__media {
  display: none;
}

@media (min-width: 1025px) {
  .journal-hero {
    min-height: 480px;
  }

  .journal-hero .container,
  .journal-hero__inner {
    height: 480px;
    min-height: 480px;
  }

  .journal-hero__media {
    position: absolute;
    z-index: 1;
    top: var(--header-height);
    right: calc((100vw - 100%) / -2);
    display: block;
    width: 76.2%;
    height: calc(480px - var(--header-height));
    overflow: hidden;
    background: none;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 100%);
  }

  .journal-hero__media .hero__media-frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .journal-hero__media .hero__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }
}

@media (min-width: 1440px) {
  .journal-hero,
  .journal-hero .container,
  .journal-hero__inner {
    min-height: 29.4vw;
    height: 29.4vw;
  }

  .journal-hero__media {
    height: calc(29.4vw - var(--header-height));
  }
}

/* Compact feature rail — keeps the category bar and lead story aligned as a
   single, editorial block rather than a full-screen split panel. */
@media (min-width: 1025px) {
  body {
    background: rgba(252, 248, 243, .64);
  }

  .journal-filters {
    padding: 14px 0 20px;
    background: #fffaf7;
    border-bottom: 0;
  }

  .journal-filters__list {
    width: 100%;
    max-width: var(--container-max);
    min-height: 62px;
    margin: 0 auto;
    justify-content: center;
    gap: 0;
    padding: 5px 9px;
    overflow: visible;
    border: 1px solid #f0e7e2;
    border-radius: 30px;
    background: #fcf8f5;
  }

  .journal-filter {
    flex: 1 1 0;
    justify-content: center;
    padding: 11px 10px;
    border: 1px solid transparent;
    border-radius: 24px;
    background: transparent;
    color: #766d6c;
    gap: 9px;
    font-size: 0.72rem;
  }

  .journal-filter.is-active {
    background: #fff;
    border-color: #f3e7e3;
    color: #e086a3;
    box-shadow: 0 2px 8px rgba(92, 67, 60, .08);
  }

  .journal-filter .journal-filter__icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .journal-featured {
    padding: 24px 0 32px;
    background: #fffaf7;
  }

  .journal-featured__card {
    height: 310px;
    min-height: 310px;
    border-radius: 18px;
    border-color: #f0e2de;
    background: #fff7f3;
    position: relative;
  }

  .journal-featured__media {
    flex: 0 0 44%;
    max-width: 44%;
  }

  .journal-featured__img {
    min-height: 0;
    height: 100%;
  }

  .journal-featured__badge {
    top: 13px;
    left: 13px;
    padding: 5px 11px;
    font-size: 0.55rem;
  }

  .journal-featured__body {
    padding: 54px 82px;
  }

  .journal-featured__meta {
    gap: 7px;
    margin-bottom: 12px;
  }

  .journal-featured__title {
    font-size: calc(1.8rem + 2px);
    line-height: 1.12;
    margin-bottom: 12px;
  }

  .journal-featured__excerpt {
    max-width: 500px;
    margin-bottom: 16px;
    font-size: .84rem;
    line-height: 1.5;
  }

  .journal-featured__link {
    font-size: .7rem;
    font-weight: 700;
  }

  .journal-featured__cloud {
    position: absolute;
    right: 43px;
    bottom: 101px;
    width: 76px;
    height: auto;
    opacity: .28;
  }

  .journal-articles {
    padding: 14px 0 28px;
    background: #fffaf7;
  }

  .journal-articles__grid {
    gap: 18px;
  }

  .article-card {
    display: flex;
    flex-direction: column;
    /* Keep every card on the same editorial rhythm: image, copy, and CTA
       occupy fixed vertical zones regardless of title/excerpt length. */
    height: 365px;
    min-height: 0;
    border-radius: 16px;
    border-color: #f0e5e1;
    background: #fffdfb;
  }

  .article-card__media {
    flex: 0 0 48%;
  }

  .article-card__img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .article-card__body {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    padding: 16px 18px 14px;
  }

  .article-card__meta {
    gap: 7px;
    margin-bottom: 9px;
  }

  .article-card__cat {
    font-size: .58rem;
  }

  .article-card__date {
    font-size: .64rem;
  }

  .article-card__title {
    font-size: 1.1rem;
    line-height: 1.16;
    margin-bottom: 9px;
  }

  .article-card__excerpt {
    -webkit-line-clamp: 3;
    font-size: .72rem;
    line-height: 1.48;
    margin-bottom: 12px;
  }

  .article-card__link {
    margin-top: auto;
    font-size: .64rem;
    font-weight: 700;
  }

  .journal-load-more {
    padding: 0 0 42px;
    background: #fffaf7;
  }

  .journal-load-more__btn {
    min-width: 208px;
    justify-content: center;
    padding: 9px 22px;
    font-size: 0.85rem;
    border-color: #f0dce1;
    color: #302319;
  }

  .journal-filters,
  .journal-featured,
  .journal-articles,
  .journal-load-more {
    background: transparent;
  }
}

/* Native WordPress article links and single-post content. */
.journal-filter { text-decoration:none; }
@media (max-width: 600px) {
  .journal-filters__list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .journal-filter { justify-content:center; min-width:0; padding:10px 12px; white-space:normal; text-align:center; }
}
.journal-featured__media, .article-card__media { display:block; }
.journal-load-more .page-numbers { display:inline-block; padding:12px; }
.aahgoo-single-post { max-width:900px; padding-top:40px; padding-bottom:60px; }
.aahgoo-single-post h1 { font-size:clamp(30px,5vw,48px); margin:12px 0 24px; }
.aahgoo-single-post .wp-post-image { width:100%; max-height:480px; object-fit:cover; border-radius:24px; margin-bottom:28px; }
.aahgoo-post-content { font-size:16px; line-height:1.8; }
.aahgoo-post-content h2 { font-size:26px; margin:28px 0 12px; }
.aahgoo-post-content p { margin-bottom:18px; }
