/*
Theme Name: Jack Wicks Notebook
Theme URI: https://jack-wicks.co.uk/
Author: Jack Wicks
Description: A personal editorial WordPress theme for Dynamics 365, Power Platform and Copilot writing.
Version: 1.0.3
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: jack-wicks-notebook
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap");

:root {
  --ink: #07111f;
  --ink-soft: #0e1b2c;
  --paper: #f7f4ed;
  --white: #ffffff;
  --blue: #5b8cff;
  --blue-deep: #275ce7;
  --mint: #9bf5cf;
  --orange: #ffb86b;
  --text: #132238;
  --muted: #607087;
  --line: rgba(19, 34, 56, 0.13);
  --radius: 24px;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--mint);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(19, 34, 56, 0.1);
  background: var(--paper);
  color: var(--text);
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-family: "Newsreader", serif;
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--text);
  border-radius: 50%;
  background: #f2d36f;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  transform: rotate(-6deg);
  place-items: center;
}

.site-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue-deep);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .nav-cta {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  padding: 94px 0 110px;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 211, 111, 0.24), transparent 22%),
    radial-gradient(circle at 88% 76%, rgba(91, 140, 255, 0.11), transparent 24%),
    var(--paper);
  color: var(--text);
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(19, 34, 56, 0.16) 0.7px, transparent 0.7px);
  background-size: 20px 20px;
  content: "";
  mask-image: linear-gradient(to right, transparent 30%, black);
  opacity: 0.32;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 84px;
  align-items: center;
}

.hero-hello {
  margin: 0 0 22px;
  color: var(--blue-deep);
  font-family: "Newsreader", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-family: "Newsreader", serif;
  font-size: clamp(3.25rem, 6.2vw, 5.9rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span {
  position: relative;
  color: var(--blue-deep);
  font-style: italic;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 99px;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  box-shadow: 0 12px 30px rgba(155, 245, 207, 0.2);
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.button svg,
.text-link svg {
  width: 18px;
  transition: transform 180ms ease;
}

.button:hover svg,
.text-link:hover svg {
  transform: translateX(3px);
}

.hero-note {
  position: relative;
  width: min(100%, 430px);
  padding: 56px 42px 36px;
  border: 1px solid rgba(19, 34, 56, 0.16);
  background: #fffdf7;
  box-shadow: 10px 14px 0 rgba(19, 34, 56, 0.08);
  margin-inline: auto;
  transform: rotate(1.5deg);
}

.note-tape {
  position: absolute;
  top: -17px;
  left: 50%;
  width: 112px;
  height: 34px;
  background: rgba(242, 211, 111, 0.72);
  transform: translateX(-50%) rotate(-3deg);
}

.note-kicker {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.note-copy {
  margin: 0 0 30px;
  color: var(--text);
  font-family: "Newsreader", serif;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.note-signoff {
  display: flex;
  gap: 12px;
  align-items: center;
}

.note-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  place-items: center;
}

.note-signoff strong,
.note-signoff small {
  display: block;
}

.note-signoff small {
  color: var(--muted);
  font-size: 0.72rem;
}

.note-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed rgba(19, 34, 56, 0.22);
}

.note-topics span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.section {
  padding: 108px 0;
}

.section-heading {
  display: flex;
  gap: 40px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 46px;
}

.section-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.section-intro {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--blue-deep);
  font-weight: 700;
  white-space: nowrap;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.post-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.post-card:hover {
  box-shadow: 7px 9px 0 rgba(19, 34, 56, 0.08);
  transform: translate(-2px, -2px) rotate(-0.25deg);
}

.post-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #dbe4ef;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.post-card:hover .post-image img {
  transform: scale(1.035);
}

.post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.post-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-meta .tag {
  padding: 5px 10px;
  border-radius: 99px;
  background: #e8efff;
  color: var(--blue-deep);
}

.post-card h3 {
  margin-bottom: 12px;
  min-height: 4.65em;
  font-family: "Newsreader", serif;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.15;
}

.post-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.post-card .text-link {
  margin-top: auto;
}

.topics {
  border-block: 1px solid rgba(19, 34, 56, 0.1);
  background: #f2df9d;
  color: var(--text);
}

.topics .eyebrow {
  color: var(--blue-deep);
}

.topics .section-heading p {
  max-width: 450px;
  margin: 0;
  color: #5d5b51;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.topic {
  min-height: 230px;
  padding: 30px 10px 10px 0;
  border-top: 2px solid rgba(19, 34, 56, 0.6);
}

.topic-number {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 34px;
  background: transparent;
  font-size: 1.8rem;
}

.topic:nth-child(2) .topic-number {
  background: transparent;
  color: inherit;
}

.topic:nth-child(3) .topic-number {
  background: transparent;
}

.topic h3 {
  margin-bottom: 8px;
  font-family: "Newsreader", serif;
  font-size: 1.7rem;
}

.topic p {
  margin: 0;
  color: #5d5b51;
}

.about-strip {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 72px;
  align-items: center;
}

.off-duty-note {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 42px;
  border: 1px solid rgba(19, 34, 56, 0.18);
  background: #dce8f7;
  box-shadow: 10px 12px 0 rgba(39, 92, 231, 0.1);
  transform: rotate(-1.2deg);
}

.off-duty-emoji {
  display: block;
  margin: 48px 0 20px;
  font-size: 3.5rem;
}

.off-duty-note h3 {
  margin-bottom: 16px;
  font-family: "Newsreader", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
}

.off-duty-note > p:not(.note-kicker) {
  color: var(--muted);
}

.scribble {
  position: absolute;
  right: 30px;
  bottom: 24px;
  color: var(--blue-deep);
  font-family: "Newsreader", serif;
  font-size: 0.92rem;
  font-style: italic;
  transform: rotate(-3deg);
}

.portrait-placeholder {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(19, 34, 56, 0.18);
  background:
    radial-gradient(circle at 25% 20%, rgba(242, 211, 111, 0.9), transparent 26%),
    #dce8f7;
  color: var(--text);
  place-items: center;
  transform: rotate(-1deg);
}

.portrait-placeholder::after {
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border: 1px dashed rgba(19, 34, 56, 0.22);
  border-radius: 50%;
  content: "";
}

.portrait-placeholder span {
  position: relative;
  z-index: 1;
  font-family: "Newsreader", serif;
  font-size: 6rem;
  font-weight: 600;
  letter-spacing: -0.08em;
}

.about-copy h2 {
  margin-bottom: 24px;
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.about-copy > p {
  color: var(--muted);
  font-size: 1.1rem;
}

.stats {
  display: flex;
  gap: 42px;
  margin: 36px 0;
}

.stat strong {
  display: block;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  padding: 72px 0 26px;
  border-top: 1px solid var(--line);
  background: #dce8f7;
  color: var(--text);
}

.site-footer .brand {
  color: var(--text);
}

.site-footer .brand-mark {
  border-color: var(--text);
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-lead {
  max-width: 500px;
}

.footer-lead h2 {
  margin: 24px 0;
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.footer-lead p,
.footer-links a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h3 {
  margin-bottom: 8px;
  color: var(--blue-deep);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--blue-deep);
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.8rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 96px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 15%, rgba(242, 211, 111, 0.3), transparent 28%),
    #e9eef8;
  color: var(--text);
}

.page-hero::after {
  position: absolute;
  right: 6%;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border: 2px solid rgba(39, 92, 231, 0.12);
  border-radius: 48% 52% 43% 57%;
  content: "";
  transform: rotate(18deg);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-family: "Newsreader", serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.page-hero .eyebrow {
  color: var(--blue-deep);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 260px;
  gap: 80px;
  align-items: start;
}

.article-content {
  font-size: 1.08rem;
}

.article-content > p:first-child {
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1.55;
}

.article-content h2,
.article-content h3 {
  margin: 2.4em 0 0.7em;
  font-size: 2rem;
}

.article-content p,
.article-content li {
  color: #46576e;
}

.article-content a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-decoration-color: rgba(39, 92, 231, 0.3);
  text-underline-offset: 3px;
}

.article-content li + li {
  margin-top: 12px;
}

.article-content img {
  margin: 40px 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.article-aside {
  position: sticky;
  top: 32px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.article-aside strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
}

.article-aside p {
  color: var(--muted);
  font-size: 0.9rem;
}

.article-aside a {
  color: var(--blue-deep);
  font-weight: 700;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin: 2em 0 0.7em;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.prose p,
.prose li {
  color: #46576e;
}

.value-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.value-list li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 36px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-copy {
  padding: clamp(36px, 7vw, 72px);
}

.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.contact-copy p {
  color: var(--muted);
}

.contact-visual {
  position: relative;
  display: grid;
  min-height: 500px;
  background:
    radial-gradient(circle at 20% 20%, rgba(155, 245, 207, 0.9), transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(91, 140, 255, 0.9), transparent 30%),
    var(--ink);
  place-items: center;
}

.contact-visual svg {
  width: 130px;
  color: var(--white);
}

@media (max-width: 900px) {
  .hero-grid,
  .about-strip,
  .article-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-note {
    width: min(80vw, 430px);
  }

  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic {
    min-height: auto;
  }

  .topic-number {
    margin-bottom: 32px;
  }

  .article-aside {
    position: static;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-wrap {
    min-height: 74px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    gap: 28px;
    padding: 120px 28px 40px;
    align-items: flex-start;
    background: var(--paper);
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    color: var(--text);
    font-family: "Newsreader", serif;
    font-size: 2rem;
  }

  .site-nav .nav-cta {
    font-size: 1rem;
  }

  .hero {
    padding-top: 76px;
  }

  .page-hero {
    padding-top: 72px;
  }

  .hero-grid {
    gap: 60px;
  }

  .hero-note {
    width: calc(100% - 12px);
    padding: 48px 28px 30px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading .text-link {
    margin-top: 20px;
  }

  .post-card,
  .post-card:first-child,
  .post-card:nth-child(2) {
    grid-column: auto;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-card h3 {
    min-height: 0;
  }

  .about-strip {
    gap: 44px;
  }

  .portrait-placeholder {
    min-height: 360px;
  }

  .stats {
    flex-wrap: wrap;
    gap: 24px 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-lead {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }

  .value-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress integration */
.site-nav-list {
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
  align-items: center;
  list-style: none;
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--text);
}

.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after {
  transform: scaleX(1);
}

.post-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  background: #dce8f7;
  color: var(--blue-deep);
  font-family: "Newsreader", serif;
  font-size: 3rem;
  place-items: center;
}

.entry-content > *:first-child,
.article-content > *:first-child {
  margin-top: 0;
}

.entry-content img,
.wp-block-image img {
  height: auto;
  border-radius: 12px;
}

.entry-content .wp-block-image,
.article-content .wp-block-image {
  margin-block: 40px;
}

.entry-content blockquote,
.article-content blockquote {
  margin: 2em 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid #f2d36f;
  color: var(--text);
  font-family: "Newsreader", serif;
  font-size: 1.35rem;
}

.entry-content pre,
.article-content pre {
  overflow-x: auto;
  padding: 22px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.entry-content code,
.article-content code {
  font-size: 0.9em;
}

.entry-content .wpconsent-cookie-policy-table {
  width: 100%;
  table-layout: fixed;
}

.entry-content .wpconsent-cookie-policy-table th,
.entry-content .wpconsent-cookie-policy-table td {
  overflow-wrap: anywhere;
}

.archive-description p {
  margin: 0;
}

.archive-grid {
  row-gap: 30px;
}

.pagination {
  margin-top: 50px;
}

.pagination .nav-links {
  display: flex;
  gap: 10px;
}

.pagination .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.pagination .current {
  background: var(--text);
  color: var(--white);
}

.about-page-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 72px;
  align-items: start;
}

.about-page-layout .posts-grid {
  grid-template-columns: 1fr;
}

.entry-content a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content .post-card > a {
  color: inherit;
  text-decoration: none;
}

.contact-doodle {
  display: grid;
  min-height: 500px;
  padding: 50px;
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 211, 111, 0.95), transparent 25%),
    #dce8f7;
  align-content: center;
  justify-items: center;
  color: var(--blue-deep);
  font-family: "Newsreader", serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-style: italic;
  text-align: center;
  transform: rotate(1deg);
}

.contact-doodle strong {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 5rem;
  font-style: normal;
  font-weight: 400;
}

.not-found {
  min-height: 65vh;
}

.not-found .button-row {
  margin-top: 32px;
}

body.admin-bar .site-nav {
  top: 32px;
}

@media (max-width: 900px) {
  .about-page-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-nav-list {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }

  .site-nav .site-nav-list a {
    font-size: 2rem;
  }

  body.admin-bar .site-nav {
    top: 46px;
  }

  .contact-doodle {
    min-height: 320px;
  }
}
