/* ==========================================================
   CHEAT DAY — FOOD NOTES BLOG
   Shared stylesheet. Uses the exact homepage brand system:
   colors, fonts. No new colors, fonts or effects are added.
   No rounded corners, shadows, gradients or animations.
   ========================================================== */

:root{
  --green: #19FB5C;
  --blue: #1534B7;
  --cream: #F6F0DE;
  --ink: #14171A;
  --white: #FFFFFF;

  --display: 'Anton', sans-serif;
  --body: 'Archivo', sans-serif;
  --hand: 'Permanent Marker', cursive;

  --edge: clamp(20px, 5vw, 64px);
}

*,*::before,*::after{ box-sizing:border-box; }

body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }

h1,h2,h3{
  font-family:var(--display);
  text-transform:uppercase;
  line-height:0.95;
  margin:0;
  letter-spacing:0.005em;
  overflow-wrap:break-word;
}

a{ color:inherit; text-decoration:none; }

.hand{
  font-family:var(--hand);
  text-transform:none;
  letter-spacing:0;
  line-height:1.3;
}

a:focus-visible, button:focus-visible{
  outline:3px solid var(--blue);
  outline-offset:3px;
}
.on-blue a:focus-visible, .on-green a:focus-visible{
  outline-color:var(--white);
}

/* ================= OVERVIEW HEADER ================= */
.notes-header{
  background:var(--green);
  padding: clamp(28px,5vw,48px) var(--edge);
}
.notes-header__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  flex-wrap:wrap;
}
.notes-header h1{
  color:var(--blue);
  font-size:clamp(2.4rem, 8vw, 4.5rem);
}
.notes-header__back{
  font-family:var(--body);
  font-weight:700;
  font-size:clamp(0.8rem, 1.4vw, 0.95rem);
  letter-spacing:0.03em;
  color:var(--blue);
  text-transform:uppercase;
  white-space:nowrap;
  border-bottom:2px solid var(--blue);
  padding-bottom:2px;
}
.notes-header__back:hover{ border-bottom-color:transparent; }
.notes-header__hand{
  color:var(--blue);
  font-size:clamp(1rem, 2.2vw, 1.3rem);
  margin-top:10px;
  transform:rotate(-1.5deg);
  display:inline-block;
}

/* ================= ARTICLE LIST ================= */
.notes-list{
  padding: clamp(8px,2vw,16px) var(--edge) clamp(24px,4vw,48px);
}
.notes-entry{
  padding: clamp(28px,5vw,44px) 0;
  border-bottom: 3px solid var(--blue);
}
.notes-entry:first-of-type{ padding-top:clamp(24px,4vw,40px); }
.notes-entry__meta{
  font-family:var(--body);
  font-weight:700;
  font-size:0.85rem;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--blue);
  margin-bottom:10px;
}
.notes-entry__series{
  display:block;
  margin-bottom:4px;
  color:var(--ink);
  opacity:0.7;
}
.notes-entry h2{
  color:var(--ink);
  font-size:clamp(1.7rem, 5vw, 2.8rem);
  max-width:22ch;
}
.notes-entry__desc{
  margin: 14px 0 0;
  font-size:1rem;
  line-height:1.55;
  max-width:60ch;
  color:var(--ink);
}
.notes-entry__img{
  display:block;
  width: min(100%, 420px);
  height: min(75vw, 315px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  margin-top: clamp(16px,3vw,24px);
}
.notes-entry__read{
  display:inline-block;
  margin-top: clamp(16px,3vw,22px);
  font-family:var(--display);
  text-transform:uppercase;
  font-size:1rem;
  color:var(--blue);
  border-bottom:2px solid var(--blue);
  padding-bottom:2px;
}
.notes-entry__read:hover{ border-bottom-color:transparent; }

/* ================= FOOTER (shared) ================= */
.notes-footer{
  background:var(--blue);
  color:var(--green);
  padding: clamp(20px,3vw,28px) var(--edge);
  font-family:var(--body);
  font-weight:700;
  font-size:0.9rem;
  letter-spacing:0.03em;
  text-transform:uppercase;
  text-align:center;
}
.notes-footer a{ color:var(--green); border-bottom:2px solid var(--green); padding-bottom:1px; }
.notes-footer a:hover{ border-bottom-color:transparent; }

/* ================= ARTICLE PAGE HEADER ================= */
.article-header{
  background:var(--green);
  padding: clamp(18px,3vw,26px) var(--edge);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.article-header__id{
  font-family:var(--display);
  text-transform:uppercase;
  letter-spacing:0.01em;
  font-size:1.1rem;
  color:var(--blue);
}
.article-header__links{
  display:flex;
  gap: clamp(14px,2.5vw,24px);
  flex-wrap:wrap;
}
.article-header__links a{
  font-family:var(--body);
  font-weight:700;
  font-size:0.82rem;
  letter-spacing:0.03em;
  text-transform:uppercase;
  color:var(--blue);
  border-bottom:2px solid var(--blue);
  padding-bottom:2px;
  white-space:nowrap;
}
.article-header__links a:hover{ border-bottom-color:transparent; }

/* ================= ARTICLE BODY ================= */
.article{
  padding: clamp(32px,6vw,64px) var(--edge) clamp(40px,6vw,72px);
  display:flex;
  justify-content:center;
}
.article__inner{
  width:100%;
  max-width:68ch;
}
.article__meta{
  font-family:var(--body);
  font-weight:700;
  font-size:0.85rem;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--blue);
  margin-bottom:10px;
}
.article__series{
  display:block;
  margin-bottom:4px;
  color:var(--ink);
  opacity:0.7;
}
.article h1{
  color:var(--ink);
  font-size:clamp(2.1rem, 6vw, 3.4rem);
  overflow-wrap:break-word;
}
.article__img{
  width:100%;
  aspect-ratio: 16 / 9;
  object-fit:cover;
  margin-top: clamp(24px,4vw,32px);
}

/* Use for screenshots, illustrations or collages that should remain fully visible. */
.article__img--full{
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
}

/* Portrait image modifier — used by the hibiscus opening photo.
   Shows the full photograph without cropping or forcing a ratio. */
.article__img--portrait{
  width: min(100%, 560px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}

.article__body{
  margin-top: clamp(24px,4vw,32px);
  font-size:1rem;
  line-height:1.7;
  overflow-wrap:break-word;
}
.article__body p{
  margin: 0 0 1.2em;
  font-family:var(--body);
  font-size:1rem;
}
.article__body h2{
  color:var(--ink);
  font-size:clamp(1.4rem, 3.5vw, 1.9rem);
  margin: 1.4em 0 0.6em;
}
.article__body h3{
  color:var(--ink);
  font-size:clamp(1.15rem, 2.8vw, 1.4rem);
  margin: 1.2em 0 0.5em;
}
.article__body ul,
.article__body ol{
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}
.article__body li{
  margin-bottom: 0.5em;
}
.article__body blockquote{
  margin: 0 0 1.2em;
  padding-left: 1em;
  border-left: 3px solid var(--blue);
  font-style: italic;
}
.article__body a{
  color: var(--blue);
  text-decoration: underline;
  overflow-wrap:break-word;
}
.article__body figure{
  margin: 1.6em 0;
}
.article__body figure img{
  width:100%;
  height:auto;
  object-fit:cover;
}
.article__body figcaption{
  margin-top: 0.5em;
  font-size: 0.9rem;
  color: var(--ink);
  opacity: 0.7;
}
.article__body img{
  max-width:100%;
  height:auto;
}

/* ================= RESPONSIVE ================= */
@media (max-width:480px){
  .notes-header, .notes-list, .article-header, .article{
    padding-left:20px;
    padding-right:20px;
  }
}
