:root {
  /* Global color palette sourced from project design board */
  --color-primary-main: #004749;
  --color-primary-100: #c8fff7;
  --color-primary-500: #05c7bc;
  --color-primary-600: #00a19a;
  --color-primary-900: #004749;
  --color-secondary-main: #e3caff;
  --color-secondary-100: #f3e8ff;
  --color-secondary-300: #bf84fc;
  --color-secondary-500: #a755f7;
  --color-secondary-600: #9233ea;
  --color-gray: #6b7280;
  --color-white: #ffffff;
  --color-eggshell: #F3ECE8;
  --color-bgEggshell: #EBE5C9;
  --color-charcoal: #25282a;
  --color-success: #247f46;
  --color-error: #991b1b;
  --color-warning: #f6b74d;
  --color-footer: #faf6e2;

  /* Typography scale mapped from design tokens */
  --font-family-primary: "Euclid Flex", "Arial", sans-serif;
  --font-family-secondary: "Arial", sans-serif;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --font-size-h1: 3.75rem; /* 60px */
  --font-size-h2: 2.25rem; /* 36px */
  --font-size-h3: 1.5rem; /* 24px */
  --font-size-h4: 1rem; /* 16px */
  --font-size-body: 0.875rem; /* 14px */
  --font-size-body-semi: 0.875rem; /* 14px semibold */
  --font-size-small: 0.75rem; /* 12px */
  --font-size-small-semi: 0.75rem; /* 12px semibold */
  --font-size-span: 0.625rem; /* 10px */
  --font-size-18: 1.125rem; /* 18px */

  --font-size-secondary-h2: 2.25rem; /* 36px */
  --font-size-secondary-h3: 1.5rem; /* 24px */
  --font-size-secondary-h4: 1rem; /* 16px */
  --font-size-secondary-h5: 0.875rem; /* 14px */

  --line-height-base: 1.5;
  --line-height-tight: 1.2;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("../fonts/EuclidFlexLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("../fonts/EuclidFlexRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("../fonts/EuclidFlexMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("../fonts/EuclidFlexSemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Euclid Flex";
  src: url("../fonts/EuclidFlexBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-charcoal);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

p {
  margin: 0 0 1.2em;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

.error-404 {
  text-align: center;
  padding: 80px 0;
}

.error-404 p {
  font-size: var(--font-size-18);
}

body {
  margin: 0;
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: var(--line-height-base);
  color: var(--color-charcoal);
  background-color: var(--color-white);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus,
a:hover {
  color: var(--color-secondary-100);
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
}

.site-wrapper {
  background-color: var(--color-white);
  color: var(--color-charcoal);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1400px, 92%);
  margin: 0 auto;
}

.site-content {
  padding: 48px 0;
  flex: 1 0 auto;
}

.site-footer {
  background-color: var(--color-footer);
  color: var(--color-charcoal);
  padding: 32px 0;
  font-size: var(--font-size-small);
  margin-top: auto;
}

.posts-list {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .posts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .posts-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 468px) {
 .container{
  margin: 0px 20px;
  width: auto;
 }
}
.post-card {
  background-color: var(--color-white);
  color: var(--color-charcoal);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-card .entry-title {
  font-size: var(--font-size-h3);
  margin-bottom: 12px;
}

.post-card .entry-title a {
  color: var(--color-primary-main);
}

.post-card .entry-title a:hover,
.post-card .entry-title a:focus {
  color: var(--color-primary-500);
}

.post-card .entry-excerpt {
  color: var(--color-gray);
}

.page .content,
.single-post .content {
  margin-top: 24px;
  line-height: 1.8;
  color: var(--color-charcoal);
}

.page .content a,
.single-post .content a {
  color: var(--color-primary-600);
  text-decoration: underline;
}

.featured-image {
  margin: 24px 0;
  border-radius: 16px;
  overflow: hidden;
}

.featured-image img {
  display: block;
  width: 100%;
  height: auto;
}
.line-btn{
  background-color: transparent;
  border-bottom: 2px solid var(--color-eggshell);
  color: var(--color-eggshell);
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.line-btn:hover{
  border-bottom: none;
  color: var(--color-charcoal);
  background-color: var(--color-secondary-main);
  border-radius: 100px;
}
.z-index-3{
  z-index: 3;
  position: sticky;
}
.overflow-hidden{
  overflow: hidden;
}