.tas-hc-article {
  --hc-ink: #1f1a18;
  --hc-muted: #6f6661;
  --hc-burgundy: #981d43;
  --hc-burgundy-dark: #741431;
  --hc-coral: #d86b50;
  --hc-cream: #f8f3ec;
  --hc-blush: #f3e5e2;
  --hc-border: #ded2c8;
  --hc-serif: var(--tas-serif, Georgia, "Times New Roman", serif);
  --hc-sans: var(--tas-sans, Inter, Arial, sans-serif);
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  color: var(--hc-ink);
  font-family: var(--hc-sans);
  font-size: 1.0625rem;
  line-height: 1.72;
}

.tas-hc-article,
.tas-hc-article * {
  box-sizing: border-box;
}

.tas-hc-article img {
  max-width: 100%;
}

.tas-hc-article a {
  color: var(--hc-burgundy-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.17em;
}

.tas-hc-hero {
  width: 100%;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

.tas-hc-hero__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.5vw, 1rem);
  align-items: stretch;
}

/* WordPress may inject line breaks between adjacent images. Keep those
   generated breaks out of the grid so all three hero cards stay in one row. */
.tas-hc-hero__grid > br {
  display: none;
}

.tas-hc-hero img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  background: var(--hc-cream);
  box-shadow: 0 14px 32px rgba(48, 31, 25, 0.1);
}

.tas-hc-lead {
  max-width: 51rem;
  margin: 0 0 1.5rem;
  font-family: var(--hc-serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.5;
}

.tas-hc-disclosure,
.tas-hc-ai-note {
  max-width: 51rem;
  border: 1px solid var(--hc-border);
  border-radius: 12px;
}

.tas-hc-disclosure {
  margin: 1.5rem 0 1rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--hc-burgundy);
  background: var(--hc-cream);
  font-size: 0.9rem;
  line-height: 1.62;
}

.tas-hc-ai-note {
  margin: 0 0 3rem;
  padding: 0.9rem 1.05rem;
  background: #fff;
  color: var(--hc-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.tas-hc-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(230px, 280px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.tas-hc-main {
  min-width: 0;
}

.tas-hc-toc {
  position: sticky;
  top: calc(var(--tas-header-offset, 80px) + 1.25rem);
  padding: 1.35rem 1.25rem 1.1rem;
  border: 1px solid var(--hc-border);
  border-top: 4px solid var(--hc-burgundy);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(57, 38, 31, 0.07);
}

.tas-hc-toc__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--hc-burgundy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tas-hc-toc h2 {
  margin: 0 0 0.9rem;
  font-family: var(--hc-serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.tas-hc-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: hc-toc;
}

.tas-hc-toc li {
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr);
  gap: 0.2rem;
  align-items: start;
  margin: 0;
  padding: 0.32rem 0;
  counter-increment: hc-toc;
  font-size: 0.79rem;
  line-height: 1.35;
}

.tas-hc-toc li::before {
  color: var(--hc-burgundy);
  content: counter(hc-toc, decimal-leading-zero);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tas-hc-toc a {
  color: var(--hc-ink);
  text-decoration: none;
}

.tas-hc-toc a:hover,
.tas-hc-toc a:focus-visible {
  color: var(--hc-burgundy);
  text-decoration: underline;
}

.tas-hc-look,
.tas-hc-conclusion,
.tas-hc-faq {
  margin: 0 0 clamp(4.7rem, 8vw, 7rem);
  scroll-margin-top: calc(var(--tas-header-offset, 80px) + 1.5rem);
}

.tas-hc-look + .tas-hc-look,
.tas-hc-conclusion,
.tas-hc-faq {
  padding-top: clamp(3.6rem, 6vw, 5rem);
  border-top: 1px solid var(--hc-border);
}

.tas-hc-number {
  margin: 0 0 0.55rem;
  color: var(--hc-burgundy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tas-hc-look > h2,
.tas-hc-conclusion > h2,
.tas-hc-faq > h2 {
  margin: 0 0 1.45rem;
  font-family: var(--hc-serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.tas-hc-look > p:not(.tas-hc-number),
.tas-hc-conclusion > p:not(.tas-hc-number) {
  margin: 1rem 0;
}

.tas-hc-outfit {
  width: min(100%, 610px);
  margin: 0 auto 1.7rem;
}

.tas-hc-outfit img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: var(--hc-cream);
  box-shadow: 0 16px 38px rgba(48, 31, 25, 0.09);
}

.tas-hc-outfit figcaption {
  margin-top: 0.65rem;
  color: var(--hc-muted);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.tas-hc-shop {
  margin-top: 2rem;
  padding: clamp(1.15rem, 3vw, 1.65rem);
  border: 1px solid var(--hc-border);
  border-radius: 16px;
  background: var(--hc-cream);
}

.tas-hc-shop > h3 {
  margin: 0 0 1.25rem;
  font-family: var(--hc-serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
}

.tas-hc-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tas-hc-product-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tas-hc-product-grid--single {
  grid-template-columns: minmax(0, 360px);
}

.tas-hc-product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0.8rem;
  border: 1px solid #e5ddd6;
  border-radius: 12px;
  background: #fff;
}

.tas-hc-product-image {
  display: grid;
  min-height: 230px;
  place-items: center;
  padding: 0.45rem;
  background: #fff;
}

.tas-hc-product-image img {
  display: block;
  width: auto;
  height: auto;
  max-height: 270px;
  object-fit: contain;
}

.tas-hc-product h4 {
  margin: 0.8rem 0 0.9rem;
  font-family: var(--hc-sans);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

.tas-hc-shop-button {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  background: var(--hc-burgundy);
  color: #fff !important;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.065em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.tas-hc-shop-button:hover,
.tas-hc-shop-button:focus-visible {
  background: var(--hc-burgundy-dark);
  transform: translateY(-1px);
}

.tas-hc-shop-note {
  margin: 1rem 0 0;
  color: var(--hc-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.tas-hc-conclusion {
  padding: clamp(1.45rem, 4vw, 2.3rem);
  border: 0;
  border-radius: 18px;
  background: var(--hc-blush);
}

.tas-hc-faq details {
  margin: 0;
  border-bottom: 1px solid var(--hc-border);
}

.tas-hc-faq details:first-of-type {
  border-top: 1px solid var(--hc-border);
}

.tas-hc-faq summary {
  position: relative;
  padding: 1.15rem 2.2rem 1.15rem 0;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.4;
  list-style: none;
}

.tas-hc-faq summary::-webkit-details-marker {
  display: none;
}

.tas-hc-faq summary::after {
  position: absolute;
  top: 1.08rem;
  right: 0.25rem;
  color: var(--hc-burgundy);
  content: "+";
  font-size: 1.35rem;
  font-weight: 500;
}

.tas-hc-faq details[open] summary::after {
  content: "–";
}

.tas-hc-faq details p {
  margin: -0.25rem 0 1.2rem;
  color: var(--hc-muted);
}

/* Expand only this article within the existing Trend & Space single-post grid. */
.single-post .article-layout:has(.tas-hc-article) {
  grid-template-columns: minmax(3rem, 5rem) minmax(0, 1160px);
  max-width: 1320px;
}

.single-post .article-layout:has(.tas-hc-article) > .article-content {
  grid-column: 2;
  max-width: none;
}

.single-post .article-layout:has(.tas-hc-article) > .article-toc {
  display: none !important;
}

.single-post:has(.tas-hc-article) .article-title {
  max-width: 21ch;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.single-post:has(.tas-hc-article) .article-featured {
	display: none;
}

@media (max-width: 1060px) {
  .tas-hc-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 2rem;
  }

  .tas-hc-product-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tas-hc-article {
    font-size: 1rem;
  }

  .tas-hc-layout {
    grid-template-columns: 1fr;
  }

  .tas-hc-toc {
    position: static;
    order: -1;
  }

  .tas-hc-toc ol {
    columns: 2;
    column-gap: 1.5rem;
  }

  .tas-hc-toc li {
    break-inside: avoid;
  }

  .single-post .article-layout:has(.tas-hc-article) {
    display: block;
  }

  .single-post .article-layout:has(.tas-hc-article) > .article-tools {
    display: none;
  }

  .single-post:has(.tas-hc-article) .article-title {
    font-size: clamp(2.6rem, 9vw, 4rem);
  }
}

@media (max-width: 620px) {
  .tas-hc-article {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .tas-hc-ai-note {
    margin-bottom: 2rem;
  }

  .tas-hc-hero__grid {
    gap: 0.42rem;
  }

  .tas-hc-hero img {
    border-radius: 8px;
  }

  .tas-hc-toc ol {
    columns: 1;
  }

  .tas-hc-look,
  .tas-hc-conclusion,
  .tas-hc-faq {
    margin-bottom: 4rem;
  }

  .tas-hc-look > h2,
  .tas-hc-conclusion > h2,
  .tas-hc-faq > h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .tas-hc-outfit {
    width: 100%;
  }

  .tas-hc-product-grid,
  .tas-hc-product-grid--three {
    grid-template-columns: 1fr;
  }

  .tas-hc-product-grid--single {
    grid-template-columns: 1fr;
  }

  .tas-hc-product-image {
    min-height: 210px;
  }

  .tas-hc-product-image img {
    max-height: 250px;
  }

  .single-post:has(.tas-hc-article) .article-title {
    font-size: clamp(2.25rem, 10.5vw, 3.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tas-hc-shop-button {
    transition: none;
  }
}
