/* Its Laura Kate – site styles */
:root {
  --teal: #00818a;
  --teal-dark: #00636a;
  --cream: #fbf8f3;
  --sage: #e8efe6;
  --blush: #f6e7e1;
  --sand: #f3ece0;
  --ink: #2b2b2b;
  --muted: #6b6f76;
  --line: #e7e1d7;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(43, 43, 43, .07);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0 0 .6em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 1.8em 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
p { margin: 0 0 1.15em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 760px); margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem; letter-spacing: .5px;
}
.logo-text { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; line-height: 1.1; }
.logo-text small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 400; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 11px; cursor: pointer; color: var(--ink);
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; border-radius: 2px; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 10px 14px; text-decoration: none; color: var(--ink);
  font-weight: 700; font-size: .95rem; border-radius: 8px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal); background: var(--sage); }
.main-nav .has-sub > a::after { content: ""; display: inline-block; margin-left: 7px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.main-nav .sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%;
  min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.main-nav .sub a { font-weight: 400; }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.nav-social a { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; max-height: calc(100vh - 76px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; gap: 0; }
  .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .main-nav .has-sub > a::after { display: none; }
  .nav-social a { width: auto; height: auto; padding: 10px 14px; justify-content: start; display: flex; gap: 8px; }
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 129, 138, .12), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(232, 180, 160, .25), transparent 40%),
    var(--sand);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.hero .lead { font-size: 1.15rem; color: #444; max-width: 620px; }
.hero-art { display: grid; place-items: center; }
.hero-art svg { width: 100%; max-width: 360px; height: auto; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { display: none; } .hero { padding: 48px 0 40px; } }

.btn {
  display: inline-block; background: var(--teal); color: #fff; text-decoration: none;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; margin: 6px 10px 6px 0; transition: background .15s;
}
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal); border: 2px solid var(--teal); padding: 11px 22px; }
.btn-ghost:hover { background: var(--teal); color: #fff; }

/* Page header (inner pages) */
.page-head { background: var(--sand); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.page-head h1 { margin-bottom: .35em; }
.page-head .meta { color: var(--muted); font-size: .95rem; }
.page-head .meta a { color: var(--teal); font-weight: 700; text-decoration: none; }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b9b2a6; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); }

/* Content */
.content { padding: 48px 0 64px; }
.prose { font-size: 1.06rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote {
  margin: 1.8em 0; padding: 18px 24px; background: var(--blush); border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--serif); font-size: 1.15rem; font-style: italic;
}
.card-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); margin: 1.8em 0; }
.card-box h3 { margin-top: 0; }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.6em; padding: 0; list-style: none; }
.recipe-facts li { background: var(--sage); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 700; margin: 0; }
.note { font-size: .92rem; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px 18px; }

.section { padding: 56px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(43, 43, 43, .1); }
.post-thumb { height: 150px; display: grid; place-items: center; color: var(--teal-dark); }
.post-thumb svg { width: 64px; height: 64px; opacity: .85; }
.thumb-nutrition { background: linear-gradient(135deg, #fbe3cf, #f6c9a8); color: #a9542a; }
.thumb-homesteading { background: linear-gradient(135deg, #e3eedb, #c6dcb8); color: #3f6b33; }
.thumb-about-me { background: linear-gradient(135deg, #f8e4e4, #efc9cf); color: #9a3f55; }
.thumb-pcos { background: linear-gradient(135deg, #dcefee, #b6dfdf); color: var(--teal-dark); }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); text-decoration: none; }
.post-card h3 { margin: 8px 0 10px; font-size: 1.28rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--teal); }
.post-card p { color: #555; font-size: .97rem; flex: 1; }
.post-card time { font-size: .85rem; color: var(--muted); }
.read-more { font-weight: 700; text-decoration: none; font-size: .95rem; }

/* Archive list */
.archive-list { list-style: none; padding: 0; margin: 0 0 2em; }
.archive-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.archive-list a { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.archive-list a:hover { color: var(--teal); }
.archive-list span { color: var(--muted); font-size: .92rem; }

/* Related / CTA */
.cta {
  background: var(--teal); color: #fff; border-radius: var(--radius); padding: 34px 32px; text-align: center; margin-top: 2.5em;
}
.cta h2 { color: #fff; margin-top: 0; }
.cta p { color: rgba(255, 255, 255, .9); }
.cta .btn { background: #fff; color: var(--teal-dark); }
.cta .btn:hover { background: var(--cream); }

/* Footer */
.site-footer { background: #23302f; color: #cfd8d6; padding: 52px 0 26px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .footer-heading { color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; margin: 0 0 14px; }
.site-footer a { color: #cfd8d6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #9fb0ad; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center; text-decoration: none;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--teal-dark); }
