:root {
  --color-bg: #FFF8E6; /* Vanilla Cream background */
  --color-text-main: #333333; /* Slate Gray text */
  --color-primary: #5BA6A0; /* Seafoam Teal (softened primary accent) */
  --color-secondary: #F8AFA6; /* Blushed Peach (softer secondary accent) */
  --color-accent-muted: #CFEAEC; /* Pale Aqua (softer neutral) */
  
  --wrapper-height: 85vh;
  --font-family: "HK Grotesk", sans-serif;
  --font-family-header: "HK Grotesk", sans-serif;
}


* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

@font-face {
  font-family: HK Grotesk;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Regular.otf?v=1603136326027")
    format("opentype");
}
@font-face {
  font-family: HK Grotesk;
  font-weight: bold;
  src: url("https://cdn.glitch.me/605e2a51-d45f-4d87-a285-9410ad350515%2FHKGrotesk-Bold.otf?v=1603136323437")
    format("opentype");
}

.btn--remix {
  font-family: HK Grotesk;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  line-height: 1rem;
  font-weight: 500;
  height: 2.75rem;
  align-items: center;
  cursor: pointer;
  background: #FFFFFF;
  border: 1px solid #000000;
  box-sizing: border-box;
  border-radius: 4px;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
  margin-left: auto;
}
.btn--remix img {
  margin-right: 0.5rem;
}
.btn--remix:hover {
  background-color: #D0FFF1;
}

.footer {
  display: flex;
  justify-content: space-between;
  margin: 1rem auto 0;
  padding: 1rem 0 0.75rem 0;
  width: 100%;
  flex-wrap: wrap;
  border-top: 4px solid #fff;
}


.footer .links {
  padding: 0.5rem 1rem 1.5rem;
  white-space: nowrap;
}

.divider {
  padding: 0 1rem;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
}

/* ✅ FIXED: removed place-items */
.wrapper {
  min-height: var(--wrapper-height);
  margin: 3rem 2rem 0;
}

/* ✅ New: header-specific layout */
.header-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: left;
}


.content {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

p {
  margin: 0 0 1rem 0;
  line-height: 1.5 !important;
  font-size: 1rem;
}
h1, h2, h3, h4, h5 {
  margin: 2rem 0 .8rem;
  font-family: var(--font-family-header);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text-main);
}
h1 {
  margin-top: 1rem;
  margin-bottom: 1.75rem;
  font-size: 5rem;
  display: inline-flex;
  color: #FF7800;
}
h2 { font-size: 4rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

small,
.text_small {
  font-size: 0.8rem;
}
ul > li,
ol > li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
  font-size: 1rem;
}
ul {
  padding: 0 0 0 18px;
  margin: 0;
}
ul.no-bullet {
  list-style-type: none;
}
/* General link styling */
a:not(.btn--remix):link,
a:not(.btn--remix):visited {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  color: var(--color-text-main);
  transition: color 0.2s ease-in-out;
}

/* hover/focus/active for non-remix links */
a:not(.btn--remix):hover,
a:not(.btn--remix):focus,
a:not(.btn--remix):active {
  color: var(--color-primary);
  background: none;
}

/* Footer-specific link styling */
.footer a:not(.btn--remix):link,
.footer a:not(.btn--remix):visited {
  font-family: HK Grotesk;
  font-style: normal;
  font-weight: normal;
  font-size: 1.1rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  color: var(--color-text-main);
  transition: color 0.2s ease-in-out;
}

.footer a:hover {
  color: var(--color-primary);
  background: none;
}


.title-lg {
  color: var(--color-text-main);
  font-family: HK Grotesk;
  font-style: normal;
  font-weight: bold;
  line-height: 1.5;
}
.title-md {
  font-size: 56px;
}

.home {
  justify-content: left;
}
.illo-container {
  display: flex;
  justify-content: flex-end;
}
.illustration {
  max-width: 180px;
  max-height: var(--image-max-width);
  margin-top: 1rem;
  margin-right: 2rem;
  transform: rotate(16deg);
  border-radius: 20%;
}

.image {
  width: 100%;
}

.post {
  place-items: normal;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}
.postTitle {
  font-size: 4rem;
  color: #000;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.controls {
  margin: 3rem 0 2rem;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  padding: 1rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.header-right a {
  margin-left: 1rem;
}

.postDate { font-size: 0.9rem; color: var(--color-text-main); margin: 0 0 1rem; font-weight: 500; }
