/*
Theme Name: Sabrina Educator
Theme URI: https://example.com/sabrina-educator
Author: Sabrina
Description: A warm editorial WordPress theme for an author and educator, with dedicated books, curriculum, articles, and free resources.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sabrina-educator
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, education, custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

:root {
  --ink: #17324e;
  --ink-soft: #50616f;
  --paper: #faf7f2;
  --cream: #faf7f2;
  --note: #cec1ae;
  --header: #154c8d;
  --sage: #cec1ae;
  --sage-deep: #3d948c;
  --terracotta: #3d948c;
  --gold: #daab77;
  --accent-three: #d6a85c;
  --line: rgba(21, 76, 141, .16);
  --shadow: 0 20px 60px rgba(21, 76, 141, .12);
  --radius: 1.5rem;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sage-deep); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--terracotta); }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; display: block; top: 1rem; left: 1rem; width: auto; height: auto; padding: .75rem 1rem; clip: auto; background: #fff; }
.skip-link { position: fixed; }

.site-shell { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.18); background: var(--header); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-branding { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; }
.custom-logo { max-height: 58px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50% 50% 48% 52%; background: var(--gold); color: var(--header); font-family: var(--serif); font-size: 1.45rem; font-weight: 700; }
.brand-name { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 700; line-height: 1.1; }
.brand-tagline { display: block; margin-top: .2rem; color: rgba(255,255,255,.76); font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.site-nav ul { display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: #fff; font-size: .82rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--gold); }
.menu-toggle { display: none; border: 0; background: transparent; color: #fff; padding: .5rem; font-weight: 700; }
.social-links { display: flex; align-items: center; gap: .42rem; }
.social-link { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; text-decoration: none; }
.social-link:hover { border-color: var(--gold); background: var(--gold); color: var(--header); }
.social-link .dashicons { width: 18px; height: 18px; font-size: 18px; }
.social-link.is-placeholder { opacity: .72; }

.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero::after { content: ''; position: absolute; right: -7rem; bottom: -10rem; width: 30rem; height: 30rem; border: 1px solid rgba(61,148,140,.18); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(218,171,119,.12), 0 0 0 8rem rgba(214,168,92,.08); }
.hero-grid { position: relative; z-index: 1; min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 9vw, 9rem); padding-block: clamp(4.5rem, 8vw, 7rem); }
.eyebrow { margin: 0 0 1rem; color: var(--terracotta); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, h4 { margin: 0 0 .8em; font-family: var(--serif); line-height: 1.08; letter-spacing: -.025em; }
h1 { max-width: 780px; font-size: clamp(3rem, 6.5vw, 5.7rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.hero-copy { max-width: 650px; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .7rem 1.2rem; border: 2px solid var(--header); border-radius: 999px; background: var(--header); color: #fff; font-size: .86rem; font-weight: 800; text-decoration: none; }
.button:hover, .wp-block-button__link:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; transform: translateY(-1px); }
.button-secondary { background: transparent; color: var(--header); }
.button-secondary:hover { color: #fff; }
.hero-book-stage { display: grid; place-items: center; min-height: 440px; padding: 2rem; }
.hero-book-cover, .book-cover-placeholder { width: min(330px, 80%); aspect-ratio: 2/3; object-fit: cover; border-radius: .3rem .8rem .8rem .3rem; box-shadow: -16px 18px 0 var(--gold), 0 28px 55px rgba(21,76,141,.2); transform: rotate(-2deg); }
.book-cover-placeholder { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; overflow: hidden; background: var(--header); color: #fff; text-align: center; }
.book-cover-placeholder::before { content: ''; position: absolute; inset: 0 auto 0 18px; width: 2px; background: rgba(255,255,255,.24); }
.book-cover-placeholder strong { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; }
.book-cover-kicker, .book-cover-placeholder small { font-size: .65rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.book-cover-kicker { margin-bottom: 2rem; color: var(--gold); }
.book-cover-rule { width: 50px; height: 3px; margin: 2rem auto; background: var(--accent-three); }
.hero-note { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 430px; padding: 3rem 2.5rem 2.5rem; border: 1px solid rgba(21,76,141,.16); border-radius: var(--radius); background: var(--note); box-shadow: var(--shadow); text-align: center; transform: rotate(1.5deg); }
.hero-note::before { content: ''; position: absolute; top: -10px; left: 50%; width: 92px; height: 26px; background: rgba(218,171,119,.86); transform: translateX(-50%) rotate(-3deg); }
.hero-portrait { display: grid; place-items: center; width: 230px; height: 230px; overflow: hidden; border: 8px solid var(--paper); border-radius: 50%; background: var(--sage-deep); color: #fff; font-family: var(--serif); font-size: 5rem; box-shadow: 0 12px 30px rgba(21,76,141,.15); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-bio { max-width: 390px; margin: 1.6rem 0 0; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; }
.home-intro { width: 100%; margin-bottom: 3rem; }
.home-intro h1 { max-width: none; }
.home-intro .hero-copy { max-width: 900px; }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-tinted { background: var(--cream); }
.section-sage { background: var(--sage-deep); color: #fff; }
.section-sage .eyebrow { color: var(--accent-three); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.text-link { flex: 0 0 auto; font-weight: 800; text-decoration: none; }
.section-sage .text-link { color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--line); border-radius: 1.15rem; background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(35,49,47,.05); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--sage); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.025); }
.card-placeholder { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, var(--sage), #eef3e9); color: var(--sage-deep); font-family: var(--serif); font-size: 3rem; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem; }
.card-meta { margin-bottom: .6rem; color: var(--terracotta); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card-title { margin-bottom: .45rem; font-size: 1.5rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-excerpt { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.card-link { margin-top: auto; padding-top: 1rem; font-size: .83rem; font-weight: 800; text-decoration: none; }
.card-featured { grid-column: span 2; display: grid; grid-template-columns: 1.05fr .95fr; }
.card-featured .card-media { aspect-ratio: auto; min-height: 320px; }
.resource-card { border-color: rgba(255,255,255,.17); }
.resource-badge { display: inline-flex; width: fit-content; margin-bottom: 1rem; padding: .3rem .6rem; border-radius: 999px; background: var(--sage); color: var(--sage-deep); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.pathway { min-height: 260px; padding: clamp(1.7rem, 4vw, 2.8rem); background: var(--paper); color: var(--ink); text-decoration: none; }
.pathway:nth-child(2) { background: rgba(218,171,119,.16); }
.pathway:nth-child(3) { background: rgba(61,148,140,.16); }
.pathway-number { display: block; margin-bottom: 2.5rem; color: var(--terracotta); font-family: var(--serif); font-size: 1.2rem; }
.pathway h3 { font-size: 1.8rem; }
.pathway p { color: var(--ink-soft); }
.pathway:hover { position: relative; z-index: 1; color: var(--ink); box-shadow: inset 0 0 0 3px var(--terracotta); }

.about-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.portrait-frame { position: relative; min-height: 490px; border-radius: 48% 48% 1.5rem 1.5rem; overflow: hidden; background: linear-gradient(160deg, var(--sage), var(--gold)); }
.portrait-frame img { width: 100%; height: 100%; min-height: 490px; object-fit: cover; }
.portrait-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 3rem; color: var(--sage-deep); text-align: center; font-family: var(--serif); font-size: 2rem; }
.about-copy { color: var(--ink-soft); font-size: 1.1rem; }
.about-copy h2 { color: var(--ink); }

.page-hero { padding-block: clamp(4rem, 9vw, 7rem); background: var(--cream); text-align: center; }
.page-hero h1 { margin-inline: auto; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero p { max-width: 680px; margin: 1rem auto 0; color: var(--ink-soft); font-size: 1.1rem; }
.content-area { padding-block: 4.5rem 6rem; }
.entry-content > * { max-width: 760px; margin-inline: auto; }
.entry-content > .alignwide { max-width: 1180px; }
.entry-content > .alignfull { max-width: none; }
.entry-content p, .entry-content li { color: #394744; }
.entry-content blockquote { margin-block: 2.5rem; padding: 1.6rem 1.8rem; border-left: 5px solid var(--accent-three); border-radius: .4rem 1.2rem 1.2rem .4rem; background: var(--note); color: var(--ink); font-family: var(--serif); font-size: 1.4rem; }
.entry-content img { border-radius: 1rem; }
.article-header { padding-block: 4.5rem 2.4rem; text-align: center; }
.article-header h1 { max-width: 920px; margin-inline: auto; font-size: clamp(2.7rem, 5.5vw, 4.8rem); }
.article-meta { color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.article-image { width: min(1080px, calc(100% - 2rem)); margin: 0 auto 3.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.archive-grid { padding-block: 4rem 6rem; }
.pagination { margin-top: 3rem; }
.nav-links { display: flex; justify-content: center; gap: .5rem; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 50%; background: var(--cream); font-weight: 800; text-decoration: none; }
.page-numbers.current { background: var(--sage-deep); color: #fff; }
.empty-state { grid-column: 1/-1; padding: 3rem; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; background: rgba(255,255,255,.55); }
.single-cta { margin-top: 3rem; padding: 2rem; border-radius: var(--radius); background: var(--cream); text-align: center; }

.site-footer { padding-block: 4rem 2rem; background: var(--header); color: rgba(255,255,255,.82); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 3rem; }
.site-footer .brand-name, .site-footer h3 { color: #fff; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin-bottom: .45rem; }
.copyright-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); }
.copyright { font-size: .78rem; }

@media (prefers-reduced-motion: no-preference) {
  .card, .button, .pathway { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 1rem; right: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .site-nav a { display: block; padding: .75rem; color: var(--header); }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 4.5rem; }
  .hero-note { min-height: 0; transform: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card-featured { grid-column: span 2; }
  .pathway-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-tagline { display: none; }
  .social-links-header { display: none; }
  .hero::after { display: none; }
  .cards, .card-featured { display: grid; grid-template-columns: 1fr; }
  .card-featured { grid-column: auto; }
  .section-heading { align-items: start; flex-direction: column; }
  .portrait-frame, .portrait-frame img { min-height: 390px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .copyright-row { align-items: flex-start; flex-direction: column; }
  .entry-content { padding-inline: 20px; }
  .entry-content > .alignfull { width: calc(100% + 40px); margin-inline: -20px; }
  body.single .entry-content { padding-left: 20px !important; padding-right: 20px !important; }
  body.single .entry-content > .alignfull { width: calc(100% + 40px); max-width: none; margin-left: -20px; margin-right: -20px; }
}

/* =========================================================
   SABRINA REID EDUCATION — GLOBAL FORM DESIGN
   Applies to comment, contact, newsletter, and plugin forms
   displayed inside the main page content.
   ========================================================= */

:root {
  --form-ink: #17324e;
  --form-blue: #154c8d;
  --form-gold: #daab77;
  --form-cream: #faf7f2;
  --form-teal: #3f9892;
  --form-white: #ffffff;
  --form-border: rgba(21, 76, 141, 0.22);
  --form-shadow: 0 20px 60px rgba(21, 76, 141, 0.12);
  --form-radius: 1.5rem;
  --field-radius: 0.875rem;
}

/* Comment form card */
#respond {
  box-sizing: border-box;
  width: min(100%, 780px);
  margin: 4rem auto 0;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  color: var(--form-ink);
  background: var(--form-white);
  border: 1px solid var(--form-border);
  border-radius: var(--form-radius);
  box-shadow: var(--form-shadow);
}

/* Form headings */
#respond .comment-reply-title,
main form legend {
  margin: 0 0 0.75rem;
  color: var(--form-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
}

/* Introductory and help text */
#respond .comment-notes,
main form .description,
main form .form-description {
  color: rgba(23, 50, 78, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Consistent labels */
main form label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--form-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.925rem;
  font-weight: 700;
  line-height: 1.4;
}

main form .required {
  color: var(--form-teal);
}

/* Text fields, dropdowns, and textareas */
main form input:not(
  [type="checkbox"],
  [type="radio"],
  [type="submit"],
  [type="button"],
  [type="reset"],
  [type="hidden"],
  [type="file"]
),
main form select,
main form textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  color: var(--form-ink);
  background: var(--form-white);
  border: 1px solid var(--form-border);
  border-radius: var(--field-radius);
  box-shadow: 0 4px 16px rgba(21, 76, 141, 0.05);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

main form textarea {
  min-height: 180px;
  resize: vertical;
}

main form input::placeholder,
main form textarea::placeholder {
  color: rgba(23, 50, 78, 0.48);
}

/* Accessible focus treatment */
main form input:focus,
main form select:focus,
main form textarea:focus {
  outline: none;
  border-color: var(--form-blue);
  box-shadow:
    0 0 0 4px rgba(218, 171, 119, 0.28),
    0 6px 20px rgba(21, 76, 141, 0.08);
}

/* Invalid/error fields */
main form [aria-invalid="true"],
main form .has-error input,
main form .has-error select,
main form .has-error textarea {
  border-color: #b84a4a;
}

/* Checkboxes and radio buttons */
main form input[type="checkbox"],
main form input[type="radio"] {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 0.15rem 0 0;
  accent-color: var(--form-blue);
}

#commentform .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

#commentform .comment-form-cookies-consent label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
}

/* Primary form buttons */
main form button,
main form input[type="submit"],
main form input[type="button"],
main form input[type="reset"] {
  box-sizing: border-box;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  color: var(--form-white);
  background: var(--form-blue);
  border: 2px solid var(--form-blue);
  border-radius: 999px;
  box-shadow: none;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

main form button:hover,
main form input[type="submit"]:hover,
main form input[type="button"]:hover {
  background: #113f76;
  border-color: #113f76;
  box-shadow: 0 10px 25px rgba(21, 76, 141, 0.2);
  transform: translateY(-1px);
}

main form button:focus-visible,
main form input[type="submit"]:focus-visible,
main form input[type="button"]:focus-visible {
  outline: 3px solid var(--form-gold);
  outline-offset: 3px;
}

main form button:disabled,
main form input:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

/* Two-column desktop comment form */
#commentform {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
}

#commentform p {
  margin: 0;
}

#commentform .comment-notes,
#commentform .comment-form-comment,
#commentform .comment-form-url,
#commentform .comment-form-cookies-consent,
#commentform .form-submit {
  grid-column: 1 / -1;
}

/* File-upload fields */
main form input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem;
  color: var(--form-ink);
  background: var(--form-cream);
  border: 1px dashed var(--form-border);
  border-radius: var(--field-radius);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

/* Mobile layout */
@media (max-width: 640px) {
  #respond {
    margin-top: 3rem;
    padding: 1.35rem;
    border-radius: 1.15rem;
  }

  #commentform {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #commentform > * {
    grid-column: 1 / -1;
  }

  main form button,
  main form input[type="submit"],
  main form input[type="button"],
  main form input[type="reset"] {
    width: 100%;
    min-height: 48px;
  }
}

/* =========================================================
   MOBILE HOMEPAGE CONTENT ORDER
   Message → featured visual → pathway cards
   Desktop remains unchanged.
   ========================================================= */

@media (max-width: 700px) {
  body.home main#main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  /*
   * Allow the intro text and pathway grid to be positioned
   * independently even though they share a section wrapper.
   */
  body.home main#main > .intro-pathways,
  body.home main#main > .intro-pathways > .site-shell {
    display: contents;
  }

  /* Show the primary message immediately below the header */
  body.home .home-intro {
    grid-row: 1;
    box-sizing: border-box;
    width: auto;
    margin: 0;
    padding: 3.25rem 1rem 2.75rem;
    background: var(--paper, #faf7f2);
  }

  /* Place the decorative book and portrait second */
  body.home main#main > .hero {
    grid-row: 2;
  }

  /* Place the navigation cards after the feature */
  body.home .pathway-grid {
    grid-row: 3;
    width: auto;
    margin: 0 1rem 4rem;
  }

  /* Make the two opening actions easy to use on phones */
  body.home .home-intro .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  body.home .home-intro .button {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}