/* =========================================================
   BLOG PAGE (blogs.css) — LIGHT THEME (Modern)
   Cleaned + structured:
   1) Tokens
   2) Base / Reset
   3) Layout / Utilities
   4) Header
   5) Hero + Author
   6) Sticky Toolbar
   7) Related Articles
   8) Latest Articles
   9) Newsletter (Envelope)
   10) Signature
   11) Footer
   12) Blog Post Page
   13) Reduced Motion
   14) RESPONSIVE (all at end)
   ========================================================= */


/* =========================================================
What Is Thinking Thread| About Page
========================================================= */

.about-article {
  padding: 90px 10% 60px;
}

.article-container {
  max-width: 760px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 28px;
}

.article-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
  color: rgba(15, 23, 42, 0.95);
}

.article-meta {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.55);
  letter-spacing: 0.3px;
}

.article-content {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(15, 23, 42, 0.82);
}

.article-content p {
  margin-bottom: 22px;
}




/* RESPONSIVE */

@media (max-width: 980px) {

  .about-article {
    padding: 70px 7% 50px;
  }

  .article-title {
    font-size: 34px;
  }

  .article-content {
    font-size: 16px;
  }

}





/* =========================================================
CONTACT PAGE
========================================================= */

.contact-section {
  padding: 60px 10% 80px;
}

.contact-container {
  max-width: 760px;
  margin: 0 auto;
}

.contact-header {
  margin-bottom: 32px;
}

.contact-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
  color: rgba(15, 23, 42, 0.95);
}

.contact-subtext {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(15, 23, 42, 0.70);
  max-width: 620px;
}


/* FORM */

.contact-form {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.75);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 13px 14px;

  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);

  background: rgba(255, 255, 255, 0.85);

  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.92);

  transition: border .2s ease, box-shadow .2s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 140px;
}


/* focus */

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(255, 112, 23, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 112, 23, 0.12);
}


/*SUBMIT BUTTON */

.contact-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
}

.contact-status.sending {
  color: #64748b;
}

.contact-status.success {
  color: #16a34a;
}

.contact-status.error {
  color: #dc2626;
}

.contact-submit {
  margin-top: 10px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 20px;

  border-radius: 14px;
  border: 1px solid rgba(255, 112, 23, 0.45);

  background: rgba(255, 112, 23, 0.14);

  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;

  cursor: pointer;

  transition: transform .18s ease,
    border-color .2s ease,
    background .2s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 112, 23, 0.75);
  background: rgba(255, 112, 23, 0.20);
}


/* CONTACT LINKS*/

.contact-links-title {
  width: 100%;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.92);
  margin-bottom: 4px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-links a {
  font-size: 14px;
  font-weight: 600;

  color: rgba(15, 23, 42, 0.70);

  padding: 8px 12px;

  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);

  background: rgba(255, 255, 255, 0.70);

  transition: background .2s ease, border .2s ease;
}

.contact-links a:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.25);
}


/* RESPONSIVE */

@media (max-width: 980px) {

  .contact-section {
    padding: 70px 7% 50px;
  }

  .contact-title {
    font-size: 34px;
  }

  .contact-subtext {
    font-size: 15px;
  }

}







/* =========================
   1) DESIGN TOKENS
========================= */
:root {
  --bg: #f1f0ec;
  --bg2: #eef2f7;

  --surface: rgba(255, 255, 255, 0.72);
  --surface2: rgba(255, 255, 255, 0.82);

  --border: rgba(15, 23, 42, 0.10);
  --border2: rgba(15, 23, 42, 0.14);
  --shadow: 0 14px 34px rgba(2, 8, 23, 0.10);

  --text: rgba(15, 23, 42, 0.92);
  --muted: rgba(15, 23, 42, 0.66);
  --muted2: rgba(15, 23, 42, 0.50);

  --accent: #ff7017;
  --accentSoft: rgba(255, 112, 23, 0.14);
  --accentBorder: rgba(255, 112, 23, 0.35);

  --indigoSoft: rgba(99, 102, 241, 0.10);
  --sageSoft: rgba(16, 185, 129, 0.08);
}


/* =========================
   2) BASE / RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(900px 540px at 18% 0%, rgba(255, 112, 23, 0.10), transparent 58%),
    radial-gradient(760px 520px at 80% 12%, rgba(99, 102, 241, 0.10), transparent 55%),
    radial-gradient(820px 520px at 30% 80%, rgba(16, 185, 129, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 55%, #edeae3 100%);
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

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

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


/* =========================
   3) LAYOUT / UTILITIES
========================= */
.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 2000;
}

.skip-link:focus {
  top: 16px;
  outline: none;
  border-color: var(--accentBorder);
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.30);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Creative section titles */
.latest-title,
.newsletter-box h2,
body#blog-post .post-title,
body#blog-post .post-content h2 {
  font-family: "Space Grotesk", sans-serif;
}

/* Bigger + more “creative” section titles */
.latest-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  /* bigger */
  font-weight: 900;
  letter-spacing: -0.8px;
  /* more character */
  color: rgba(15, 23, 42, 0.95);
}

/* Subtle global surface tint (keeps it not-too-white) */
.author-card,
.blog-post-card,
.newsletter-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.70));
}

/* Section spacing */
.journal-hero {
  padding: 90px 10% 56px;
}

.journal-latest {
  padding: 46px 10% 56px;
}

.journal-newsletter {
  padding: 18px 10% 56px;
}

.journal-signature {
  padding: 44px 10% 22px;
}

/* Prevent sticky header/toolbar from covering anchors */
#related,
#latest {
  scroll-margin-top: 140px;
}


/* =========================
   4) TOP BANNER / NAV
========================= */
.journal-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 10%;
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.banner-logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.2px;
  color: rgba(15, 23, 42, 0.95);
  text-decoration: none;
}



.banner-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.banner-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.58);
  letter-spacing: 0.2px;
  transition: color .2s ease, background .2s ease;
  padding: 8px 10px;
  border-radius: 999px;
}

.banner-link:hover {
  color: rgba(15, 23, 42, 0.95);
  background: rgba(15, 23, 42, 0.04);
}

.banner-link.active {
  color: rgba(15, 23, 42, 0.95);
  font-weight: 600;
  background: rgba(255, 112, 23, 0.10);
  border: 1px solid rgba(255, 112, 23, 0.22);
}

.banner-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.banner-right a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 18px rgba(2, 8, 23, 0.06);
  transition: transform .18s ease, border-color .22s ease, background .22s ease;
}

.banner-right a:hover {
  transform: translateY(-2px);
  border-color: var(--accentBorder);
  background: var(--accentSoft);
}

.banner-right i {
  color: rgba(15, 23, 42, 0.86);
  font-size: 18px;
}

.banner-left {
  flex: 1;
}

.banner-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 24px;
}


/* =========================
   5) HERO + AUTHOR
========================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;

  gap: 90px;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 36px;
}

.hero-text {
  max-width: 760px;
}

.journal-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 74px;
  line-height: 1.02;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.65));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.journal-subline {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 700px;
  margin-bottom: 18px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.85);
  color: rgba(15, 23, 42, 0.92);
  transition: transform .18s ease, border-color .2s ease, background .2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.24);
  background: rgba(255, 255, 255, 0.95);
}

.journal-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.journal-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.70);
}

.journal-author {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
  justify-self: end;
  width: 100%;
  max-width: 340px;
  margin-right: -10px;
}

.author-card {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  padding: 18px 16px 16px;
  max-width: 360px;
  margin-right: -10px;
}


.author-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 6px auto 12px;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 26px rgba(2, 8, 23, 0.16);
}


.author-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--muted2);
  margin-bottom: 6px;
}

.author-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.92);
  margin: 0 0 8px 0;
}

.author-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.author-portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.85);
  color: rgba(15, 23, 42, 0.90);
  transition: transform .18s ease, border-color .2s ease, background .2s ease;
}

.author-portfolio-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 112, 23, 0.65);
  background: rgba(255, 112, 23, 0.12);
}


/* =========================
   6) STICKY TOOLBAR (Categories + Search)
   (Keep as-is / functioning)
========================= */
.journal-toolbar {
  position: sticky;
  margin-top: 18px;
  top: 78px;
  /* below top nav */
  z-index: 900;
  padding: 14px 10%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
}

.toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.categories-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.category-link {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.62);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.category-link:hover {
  color: rgba(15, 23, 42, 0.95);
  background: rgba(15, 23, 42, 0.04);
}

.category-link.active {
  color: rgba(15, 23, 42, 0.95);
  background: rgba(255, 112, 23, 0.10);
  border-color: rgba(255, 112, 23, 0.22);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(2, 8, 23, 0.05);
  width: 260px;
  flex-shrink: 0;
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: rgba(15, 23, 42, 0.92);
  font-size: 13px;
}

.search-box input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.search-box button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: rgba(255, 112, 23, 0.14);
  border: 1px solid rgba(255, 112, 23, 0.35);
  transition: transform .18s ease, border-color .2s ease, background .2s ease;
}

.search-box button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 112, 23, 0.75);
  background: rgba(255, 112, 23, 0.18);
}

.search-box i {
  color: rgba(15, 23, 42, 0.86);
}

/* Optional highlight when jumping to #latest */
#latest:target .latest-title {
  animation: highlightSection 0.8s ease;
}

@keyframes highlightSection {
  0% {
    background: rgba(255, 112, 23, 0.18);
  }

  100% {
    background: transparent;
  }
}


/* =========================
   7) RELATED ARTICLES (FILTERED)
========================= */
#related.journal-latest {
  padding-top: 40px;
  padding-bottom: 100px;
  /* extra space before Latest */
}

/* Related grid */
#related .blogs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

#related .blog-post-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 36px rgba(2, 8, 23, 0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  will-change: transform;
}

#related .blog-post-card[hidden]{
  display: none !important;
}


#related .blog-thumb {
  position: relative;
}

#related .blog-thumb img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform .4s ease;
}

#related .blog-content {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  font-size: 12px;
  letter-spacing: 0.25px;
  color: rgba(15, 23, 42, 0.55);
  margin-bottom: 8px;
}

.blog-title {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.2px;
  color: rgba(15, 23, 42, 0.92);
}

#related .blog-title {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.blog-excerpt {
  color: rgba(15, 23, 42, 0.70);
}

#related .blog-excerpt {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 620px;
}

.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-underline-offset: 4px;
}

#related .blog-read {
  padding: 11px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.95);
  color: rgba(15, 23, 42, 0.88);
  transition: transform .18s ease, border-color .2s ease, background .2s ease;
}

#related .blog-read:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.30);
  background: rgba(15, 23, 42, 0.04);
}

#related .blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(2, 8, 23, 0.08);
  border-color: rgba(15, 23, 42, 0.14);
}

#related .blog-post-card:hover .blog-thumb img {
  transform: scale(1.03);
}

.no-posts {
  margin-top: 18px;
  color: rgba(15, 23, 42, 0.65);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.62);
}


/* =========================
   8) LATEST ARTICLES — Editorial Style (No background box)
========================= */
#latest.journal-latest {
  padding: 80px 0 100px;
}

/* Section head */

#latest .section-head {
  margin-bottom: 36px;
  position: relative;
}


/* Keep title on one line on desktop */
#latest .latest-title {
  margin: 0;
  white-space: nowrap;
}

/* Divider line under title */
#latest .section-head::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 18px;
  background: rgba(15, 23, 42, 0.08);
}

#latest .blogs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

#latest .latest-post-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#latest .latest-post-card .blog-thumb img {
  width: 100%;
  height: 190px;
  min-height: 190px;
  object-fit: cover;
  transition: transform .35s ease;
}

#latest .latest-post-card .blog-content {
  padding: 18px 18px 20px;
}

#latest .latest-post-card .blog-meta {
  font-size: 12px;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  color: rgba(15, 23, 42, 0.55);
}

#latest .latest-post-card .blog-title {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.92);
}

#latest .latest-post-card .blog-excerpt {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: rgba(15, 23, 42, 0.70);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#latest .latest-post-card .blog-read {
  font-size: 14px;
  font-weight: 700;
  padding: 0;
  border: none;
  background: none;
  color: rgba(15, 23, 42, 0.85);
  text-decoration: underline;
  text-underline-offset: 4px;
}

#latest .latest-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 16px 40px rgba(2, 8, 23, 0.08);
}

#latest .latest-post-card:hover .blog-thumb img {
  transform: scale(1.04);
}


/* =========================
   9) NEWSLETTER — Editorial Envelope Style
========================= */
.journal-newsletter {
  padding: 40px 10% 56px;
  margin-top: 100px;
  scroll-margin-top:120px;
}

.newsletter-box {
  position: relative;
  padding: 48px 36px 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    repeating-linear-gradient(to bottom,
      rgba(15, 23, 42, 0.02),
      rgba(15, 23, 42, 0.02) 1px,
      transparent 1px,
      transparent 6px),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(2, 8, 23, 0.08);
  overflow: hidden;
}

.newsletter-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 22px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.08), transparent);
}

.newsletter-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 22px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.06), transparent);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
}

.newsletter-box h2 {
  font-size: 26px;
  /* bigger title */
  font-weight: 900;
  letter-spacing: -0.6px;
  color: rgba(15, 23, 42, 0.92);
  margin-bottom: 8px;
}

.newsletter-copy p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 60ch;
  line-height: 1.7;
}


.newsletter-actions {
  justify-self: end;
  width: 100%;
  max-width: 420px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 26px rgba(2, 8, 23, 0.06);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(15, 23, 42, 0.92);
  outline: none;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.newsletter-form button {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 112, 23, 0.45);
  background: rgba(255, 112, 23, 0.14);
  color: rgba(15, 23, 42, 0.90);
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, border-color .2s ease, background .2s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 112, 23, 0.80);
  background: rgba(255, 112, 23, 0.18);
}

.newsletter-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(15, 23, 42, 0.55);
}


/* =========================
   10) SIGNATURE
========================= */
.journal-signature {
  padding: 60px 10% 30px;
  text-align: center;
}

.signature-content {
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  padding-top: 30px;
}

.signature-image {
  width: 160px;
  max-width: 70%;
  opacity: 0.85;
  display: block;
  margin: 0 auto 14px auto;
}

.signature-role {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.55);
  letter-spacing: 0.3px;
}


/* =========================
   11) FOOTER
========================= */
.journal-footer {
  padding: 22px 10%;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-left .footer-brand {
  font-family: "Space Grotesk", sans-serif;
  color: rgba(15, 23, 42, 0.92);
  font-size: 18px;
  font-weight: 900;
  margin: 0;
}

.footer-left p {
  color: rgba(15, 23, 42, 0.58);
  font-size: 13px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-right>a {
  color: rgba(15, 23, 42, 0.70);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.footer-right>a:hover {
  color: rgba(15, 23, 42, 0.95);
  background: rgba(15, 23, 42, 0.04);
}

.footer-right a[aria-label] {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 8px 20px rgba(2, 8, 23, 0.05);
}

.footer-right a[aria-label]:hover {
  border-color: rgba(255, 112, 23, 0.35);
  background: rgba(255, 112, 23, 0.10);
}

.footer-right i {
  font-size: 18px;
  color: rgba(15, 23, 42, 0.86);
}

.footer-copy {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.50);
}


/* =========================
   12) BLOG POST PAGE (body#blog-post)
========================= */
body#blog-post .post-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 10%;
}

body#blog-post .post-breadcrumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}

body#blog-post .post-breadcrumb a {
  border-bottom: 1px solid rgba(15, 23, 42, 0.18);
}

body#blog-post .post-breadcrumb a:hover {
  border-bottom-color: rgba(15, 23, 42, 0.45);
}

body#blog-post .post-title {
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  color: rgba(15, 23, 42, 0.95);
}

body#blog-post .post-meta {
  color: var(--muted2);
  font-size: 13px;
  margin-bottom: 34px;
  letter-spacing: 0.3px;
}

body#blog-post .post-hero {
  margin: 0 0 38px 0;
}

body#blog-post .post-hero img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.10);
}

body#blog-post .post-hero figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
}

body#blog-post .post-content {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(15, 23, 42, 0.88);
}

body#blog-post .post-content p {
  margin-bottom: 22px;
}

body#blog-post .post-content h2 {
  font-size: 28px;
  /* bigger */
  font-weight: 900;
  margin-top: 48px;
  margin-bottom: 14px;
  color: rgba(15, 23, 42, 0.95);
  letter-spacing: -0.5px;
}

body#blog-post .post-content a {
  color: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.25);
  transition: border-color .2s ease;
}

body#blog-post .post-content a:hover {
  border-bottom-color: rgba(15, 23, 42, 0.55);
}

body#blog-post .post-content ul {
  margin: 18px 0 26px 22px;
}

body#blog-post .post-content li {
  margin-bottom: 10px;
}

body#blog-post .post-content hr {
  margin: 48px 0;
  border: none;
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
}

body#blog-post .post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  gap: 20px;
}

body#blog-post .post-nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  transition: transform .18s ease, border-color .2s ease;
}

body#blog-post .post-nav-link:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.35);
}

.blog-thumb img,
.post-hero img,
.author-img,
.signature-image {
  height: auto;
}

/* =========================
   13) REDUCED MOTION
========================= */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* =========================
   Reading progress
========================= */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #ff7017;
  width: 0%;
  z-index: 9999;
}



/* =========================
  Blog- Hidden Doorways into tech-FUNDING RESOURCE BOXES
========================= */
/* =========================
   FUNDING RESOURCE BOXES
========================= */

.funding-box{
  position: relative;
  margin: 30px 0;
  padding: 24px 24px 22px;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,252,0.88));
  box-shadow:
    0 14px 34px rgba(15,23,42,0.06),
    0 2px 8px rgba(15,23,42,0.04);
  overflow: hidden;
}

.funding-box::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #ff7017, #ff9a57);
}

.funding-box::after{
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,112,23,0.10), transparent 68%);
  pointer-events: none;
}

.funding-box h4{
  margin: 0 0 14px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: rgba(15,23,42,0.96);
}

.funding-box ul{
  margin: 0;
  padding-left: 22px;
}

.funding-box li{
  margin: 10px 0;
  color: rgba(15,23,42,0.78);
  line-height: 1.75;
}

.funding-box strong{
  color: rgba(15,23,42,0.95);
  font-weight: 700;
}

.funding-box a{
  color: #ff7017;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,112,23,0.28);
  transition: color .2s ease, border-color .2s ease;
}

.funding-box a:hover{
  color: #e45f0a;
  border-bottom-color: rgba(228,95,10,0.45);
}

/* Tip / callout box */
.funding-tip{
  position: relative;
  margin: 28px 0 34px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255,112,23,0.18);
  background:
    linear-gradient(180deg, rgba(255,248,242,0.96), rgba(255,244,235,0.90));
  box-shadow: 0 12px 28px rgba(255,112,23,0.08);
  color: rgba(15,23,42,0.82);
  line-height: 1.75;
}

.funding-tip strong{
  color: rgba(15,23,42,0.95);
}

.funding-tip a{
  color: #ff7017;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,112,23,0.28);
}

.funding-tip a:hover{
  border-bottom-color: rgba(255,112,23,0.55);
}

/* Optional small label */
.funding-box .box-label,
.funding-tip .box-label{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,112,23,0.10);
  border: 1px solid rgba(255,112,23,0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: rgba(15,23,42,0.78);
}

/* Responsive */
@media (max-width: 520px){
  .funding-box{
    padding: 20px 18px 18px;
    border-radius: 18px;
  }

  .funding-box h4{
    font-size: 18px;
  }

  .funding-box li{
    line-height: 1.65;
  }

  .funding-tip{
    padding: 18px 16px;
    border-radius: 16px;
  }
}


/* =========================
   SHARE ARTICLE
========================= */

.post-share{
  margin-top:60px;
  padding-top:30px;
  border-top:1px solid rgba(0,0,0,0.06);
}

.share-title{
  font-family:"Space Grotesk",sans-serif;
  font-size:18px;
  font-weight:600;
  margin-bottom:18px;
}

.share-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

/* Button base */

.share-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:10px 16px;

  font-size:14px;
  font-weight:500;

  border-radius:999px;

  border:1px solid rgba(0,0,0,0.08);

  background:#fff;

  color:#111;

  text-decoration:none;

  cursor:pointer;

  transition:all .25s ease;
}

.share-btn i{
  font-size:16px;
}

/* Hover */

.share-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

/* LinkedIn */

.share-btn.linkedin:hover{
  background:#0A66C2;
  color:white;
  border-color:#0A66C2;
}

/* Twitter/X */

.share-btn.twitter:hover{
  background:#000;
  color:white;
  border-color:#000;
}

/* Copy link */

.share-btn.copy-link-btn:hover{
  background:#ff7017;
  color:white;
  border-color:#ff7017;
}


/* =========================
   Signature at end of blogs
========================= */
.post-nav{
  margin-top:60px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
}


.post-signature{
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid rgba(15,23,42,0.10);
  text-align: center;
}

.post-signature-image{
  width: 150px;
  max-width: 70%;
  margin: 0 auto 12px;
  opacity: 0.88;
}

.post-signature-name{
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(15,23,42,0.92);
  margin-bottom: 4px;
}

.post-signature-role{
  font-size: 13px;
  color: rgba(15,23,42,0.58);
  letter-spacing: 0.2px;
}

/* =========================
REFERENCES
========================= */

.post-references{
  margin-top:60px;
  padding-top:40px;
  border-top:1px solid rgba(0,0,0,0.06);
}

.post-references h2{
  font-family:"Space Grotesk",sans-serif;
  font-size:26px;
  margin-bottom:26px;
}

.references-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.reference-item{
  padding:18px 20px;
  border-radius:12px;
  background:#fafafa;
  border:1px solid rgba(0,0,0,0.05);
  transition:all .25s ease;
}

.reference-item:hover{
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,0.05);
  transform:translateY(-2px);
}

.reference-source{
  font-size:13px;
  font-weight:600;
  color:#ff7017;
  margin-bottom:4px;
}

.reference-title{
  font-size:15px;
  font-weight:500;
  margin-bottom:6px;
  color:#222;
}

.reference-item a{
  font-size:14px;
  color:#444;
  text-decoration:none;
}

.reference-item a:hover{
  color:#ff7017;
}


/* =========================
   14) RESPONSIVE (CLEANED)
========================= */
@media (max-width: 980px) {

  .container {
    width: 100%;
  }

  .journal-hero {
    padding: 70px 7% 46px;
  }

  .journal-tags {
    display: none;
  }

  .journal-latest {
    padding: 38px 7% 50px;
  }

  #related.journal-latest {
    padding-top: 38px;
    padding-bottom: 70px;
  }

  #latest.journal-latest {
    padding: 60px 7% 80px;
  }

  .journal-newsletter {
    padding: 14px 7% 48px;
    margin-top: 80px;
  }

  .journal-signature {
    padding: 40px 7% 20px;
  }

  .journal-footer {
    padding: 20px 7%;
  }

  .banner-left {
    display: none;
  }

  .journal-banner {
    justify-content: center;
    gap: 10px;
    padding: 12px 7%;
  }

  .banner-nav {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .banner-link {
    font-size: 13px;
    padding: 7px 8px;
    white-space: nowrap;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 26px;
  }

  .hero-text {
    max-width: 100%;
  }

  .journal-title {
    font-size: 48px;
  }

  .journal-subline {
    font-size: 14px;
    line-height: 1.55;
    max-width: 520px;
  }

  /* FIXED AUTHOR BLOCK */
  .journal-author {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-self: center;
    justify-content: center;
    display: flex;
  }

  .author-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
    text-align: center;
  }

  .author-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
  }

  .author-info {
    text-align: center;
  }

  .author-name {
    font-size: 15px;
  }

  .author-info p {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .author-portfolio-link {
    font-size: 12px;
    padding: 7px 10px;
    margin-top: 10px;
  }

  .journal-toolbar {
    top: 68px;
    padding: 12px 7%;
  }

  .toolbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .categories-menu {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .categories-menu::-webkit-scrollbar {
    height: 6px;
  }

  .category-link {
    flex: 0 0 auto;
  }

  .search-box {
    width: 100%;
  }

  #related .blog-post-card {
    grid-template-columns: 1fr;
  }

  #related .blog-thumb img {
    min-height: 210px;
  }

  #latest .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* FIXED NEWSLETTER */
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .newsletter-copy {
    text-align: center;
  }

  .newsletter-actions {
    width: 100%;
    max-width: 100%;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .newsletter-note {
    text-align: center;
  }

  .newsletter-actions .sib-form {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: transparent !important;
  }

  .newsletter-actions #sib-form-container {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .newsletter-actions #sib-container {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .newsletter-actions .sib-form-message-panel {
    max-width: 360px !important;
    margin: 0 auto 10px;
  }

  .newsletter-actions .entry__field input {
    width: 100% !important;
  }

  .newsletter-actions .sib-form-block__button {
    width: 100% !important;
    max-width: 360px;
  }

  .newsletter-actions .g-recaptcha {
    transform-origin: center top;
  }

  .newsletter-copy,
.newsletter-copy p {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}


  body#blog-post .post-wrap {
    padding: 60px 7%;
  }

  body#blog-post .post-title {
    font-size: 38px;
  }
}

@media (max-width: 520px) {

  .journal-hero {
    padding: 54px 6% 34px;
  }

  .journal-toolbar {
    padding: 10px 6%;
  }

  .journal-latest {
    padding: 30px 6% 42px;
  }

  #related.journal-latest {
    padding-top: 30px;
    padding-bottom: 56px;
  }

  #latest.journal-latest {
    padding: 46px 6% 60px;
  }

  .journal-newsletter {
    padding: 10px 6% 42px;
    margin-top: 60px;
  }

  .journal-signature {
    padding: 30px 6% 16px;
  }

  .banner-nav {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .banner-link {
    font-size: 12px;
    padding: 6px 7px;
    white-space: nowrap;
  }

  .journal-title {
    font-size: 38px;
  }

  .journal-subline {
    font-size: 13.5px;
    line-height: 1.5;
    max-width: 100%;
  }

  /* FIXED AUTHOR BLOCK */
  .journal-author {
    max-width: 100%;
  }

  .author-card {
    max-width: 320px;
    padding: 12px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-img {
    width: 74px;
    height: 74px;
    margin: 0 auto 8px;
  }

  .author-name {
    font-size: 14px;
  }

  .author-info p {
    font-size: 12px;
    line-height: 1.45;
  }

  .latest-title {
    font-size: 30px;
  }

  #related .blog-content {
    padding: 16px;
  }

  #related .blog-title {
    font-size: 20px;
  }

  #related .blog-excerpt {
    font-size: 14px;
  }

  #related .blog-thumb img {
    height: 200px;
    min-height: 200px;
  }

  #latest .latest-title {
    white-space: nowrap;
    font-size: 24px;
    line-height: 1.1;
  }

  #latest .blogs-grid {
    grid-template-columns: 1fr;
  }

  #latest .latest-post-card .blog-content {
    padding: 16px;
  }

  #latest .latest-post-card .blog-thumb img {
    height: 200px;
    min-height: 200px;
  }

  /* FIXED NEWSLETTER */
  .newsletter-box {
    padding: 28px 18px 24px;
  }

  .newsletter-box h2 {
    font-size: 22px;
  }

  .newsletter-actions #sib-form-container {
    max-width: 300px;
  }

  .newsletter-actions #sib-container {
    max-width: 300px;
  }

  .newsletter-actions .sib-form-message-panel {
    max-width: 300px !important;
  }

  .newsletter-actions .sib-form-block__button {
    max-width: 300px;
  }

  .newsletter-actions .g-recaptcha {
    transform: scale(0.92);
    transform-origin: center top;
  }

  .newsletter-copy,
.newsletter-copy p {
  width: 100%;
  max-width: 100%;
}

.newsletter-copy p {
  font-size: 14px;
  line-height: 1.65;
}


  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    gap: 10px;
  }

  body#blog-post .post-title {
    font-size: 30px;
  }

  body#blog-post .post-nav {
    flex-direction: column;
  }
}

