/* ---------------------------------------------------------------------------
   Blog-style article layout.

   Applied to the pages that are read rather than used. It is layout only: no
   page's words, title, description, canonical or schema change because of
   anything in here.

   THE COVER DOES NOT FOLLOW THE THEME. It is artwork — the same navy card the
   blog puts at the top of a post — so it stays navy in both themes, the way
   the outfit matcher's board and the sofa room do.
--------------------------------------------------------------------------- */

/* --- the header ----------------------------------------------------------- */
.art-head { text-align: center; max-width: 42rem; margin: 0 auto 22px; }

.art-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--action);
  margin: 0 0 10px;
}

.art-head h1,
h1.art-h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgb(var(--c-bone));
  margin: 0;
  text-wrap: balance;
}

.art-byline {
  margin: 14px 0 0;
  font-size: 13px;
  color: rgb(var(--c-muted));
}
.art-byline a { color: rgb(var(--c-bone)); text-decoration: underline; text-underline-offset: 3px; }
.art-byline a:hover { text-decoration: none; }

/* --- the cover ------------------------------------------------------------ */
.art-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #1F2A44;
  color: #fff;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 3.4vw, 34px);
  isolation: isolate;
}

/* A soft wash so the flat navy is not quite flat. */
.art-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 120% at 18% 0%, rgb(255 255 255 / .12), transparent 60%);
}

.art-cover__top {
  position: absolute;
  inset-inline: clamp(16px, 3.4vw, 34px);
  top: clamp(14px, 2.6vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .72);
}
.art-cover__top b { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -0.01em; text-transform: none; font-size: clamp(13px, 1.7vw, 17px); color: #fff; }

.art-cover__title {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(26px, 5.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  max-width: 16ch;
}

.art-cover__sw {
  position: absolute;
  inset-inline: clamp(16px, 3.4vw, 34px);
  bottom: clamp(14px, 2.6vw, 24px);
  display: flex;
  gap: clamp(5px, 0.9vw, 9px);
}
.art-cover__sw i {
  display: block;
  width: clamp(18px, 3.2vw, 34px);
  height: clamp(18px, 3.2vw, 34px);
  border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / .28);
}

.art-cover img.art-cover__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

/* --- the reading column --------------------------------------------------- */
.art-body { max-width: 700px; margin-inline: auto; }

.art-body p,
.art-body li {
  font-size: 18px;
  line-height: 1.7;
}

.art-body > h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: rgb(var(--c-bone));
  margin: 46px 0 14px;
}

.art-body > h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  color: rgb(var(--c-bone));
  margin: 32px 0 10px;
}

.art-body > p + p { margin-top: 1.1em; }

/* The opening paragraph, styled like the blog's intro card. */
.art-intro {
  background: rgb(var(--c-ink2));
  border: 1px solid rgb(var(--c-ink3));
  border-radius: 16px;
  padding: 18px 20px;
  margin: 0 0 28px;
}
.art-intro p { margin: 0; font-size: 19px; line-height: 1.6; color: rgb(var(--c-bone) / .92); }
.art-intro p + p { margin-top: .8em; }

/* A row of named colours, wherever a page lists them. */
.art-chips { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 20px 0; padding: 0; list-style: none; }
.art-chips li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; text-align: center; font-size: 12px; line-height: 1.3; color: rgb(var(--c-muted)); }
.art-chips i { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgb(var(--c-ink3)); position: relative; }
.art-chips li.is-avoid i::after {
  content: '✕';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgb(0 0 0 / .5);
}

/* The closing offer, as a card rather than a line of text. */
.art-cta {
  margin: 44px 0 0;
  background: rgb(var(--c-ink2));
  border: 1px solid rgb(var(--c-ink3));
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.art-cta p { margin: 0; font-size: 17px; color: rgb(var(--c-bone)); max-width: 30rem; }

/* Related reading, as cards with their own mini cover. */
.art-related { margin-top: 44px; }
.art-related h2 { font-family: Fraunces, Georgia, serif; font-size: 22px; font-weight: 600; margin: 0 0 14px; color: rgb(var(--c-bone)); }
.art-related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.art-card { display: block; text-decoration: none; background: rgb(var(--c-ink2)); border: 1px solid rgb(var(--c-ink3)); border-radius: 16px; overflow: hidden; }
.art-card:hover { border-color: var(--action); }
.art-card__cover { aspect-ratio: 16 / 9; background: #1F2A44; display: flex; align-items: flex-end; padding: 10px; gap: 4px; }
.art-card__cover i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .28); }
.art-card__body { padding: 12px 14px 14px; }
.art-card__title { display: block; font-weight: 600; font-size: 15px; color: rgb(var(--c-bone)); line-height: 1.3; }
.art-card__sub { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: rgb(var(--c-muted)); }

@media (max-width: 640px) {
  .art-body p, .art-body li { font-size: 17px; }
  .art-body > h2 { font-size: 24px; margin-top: 36px; }
  .art-body > h3 { font-size: 20px; }
  .art-cta { padding: 18px; }
}
