/* General reset and fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- Typography ---------- */
:root{
  --font-brand: "Momo Trust Display", system-ui, sans-serif;
  --font-ui: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --site-yellow: #ffcf56;
  --site-red: #ff6f61;
  --ink: #333;
}
body { font-family: var(--font-body); color: var(--ink); }
h1 { font-family: var(--font-brand); color: var(--ink); }
h2,h3,h4 { font-family: var(--font-ui); }

/* ---------- New header ---------- */
.site-header {
  background: url("media/headerbg.png") center top / cover no-repeat;
  padding: 1rem 0 .25rem;
  text-align: center;
  
}
.site-header .brand {
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}
.site-header .brand img {
  display: block;
  height: 200px;
  width: auto;
  margin: 0 auto;
}

.main-nav { margin-top: .5rem; font-family: var(--font-brand); }
.main-nav .nav-links{
  display: inline-flex;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: .25rem .5rem .75rem;
  margin: 0;
  list-style: none;
}
.main-nav .nav-links a{
  text-decoration: none;
  color: #000;
  padding: .25rem .5rem;
  border-radius: .5rem;
  transition: background .15s ease, color .15s ease;
}
.main-nav .nav-links a[aria-current="page"],
.main-nav .nav-links a:hover{
  background: rgba(0,0,0,.85);
  color: #fff;
}
.site-header .brand,
.site-header .main-nav {
  position: relative;
  z-index: 1;
}

@media (max-width: 480px){
  .site-header .brand img { height: 60px; }
}

/* Homepage hero */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.hero button {
  background: #ff6f61;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero button:hover {
  background: #e4574f;
}

/* Sections */
.section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #444;
}

.section img {
  max-width: 100%;
  border-radius: 10px;
  margin-top: 1rem;
}
.btn {
  display: inline-block;
  background: #ff6f61;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e4574f;
}

/* Footer */
/* Footer */
footer {                /* or .site-footer if you prefer */
  background: #2b2b2b;  /* use #ffcf56 if you want the yellow theme */
  color: #fff;
  text-align: center;
  margin-top: 2rem;
  padding: 2rem 1rem;
}

.footer-inner { max-width: 900px; margin: 0 auto; }

.brandline { margin: 0 0 .25rem; font-weight: 700; }
.tagline   { margin: .1rem 0 0; opacity: .85; }

/* centered links with spacing */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.25rem 0;       /* vertical space above/below row */
}

.footer-links a {
  color: #ffcf56;           /* change to #000 if using yellow footer */
  font-weight: 600;
  text-decoration: none;
  padding: 0.2rem 0.8rem;
  border-radius: 6px;
  transition: color .2s, background-color .2s;
}
.footer-links a:hover,
.footer-links a:focus {
  color: #ff6f61;
  background-color: rgba(255,111,97,.15);
}

.footer-copy { margin: .25rem 0 0; color: rgba(255,255,255,.75); font-size: .9rem; }


/* copyright line */
.footer-copy{ margin:.25rem 0 0; color:rgba(255,255,255,.75); font-size:.9rem; }


.site-nav { background: #ffcf56; border-bottom: 0; }
.site-nav .nav-inner {
  max-width: 1000px; margin: 0 auto; padding: 1.25rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-nav .logo {
  font-weight: 700; font-size: 1.25rem; line-height: 1.2;
  text-decoration: none; color: #333;
}
.site-nav .nav-links { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.site-nav .nav-links a { text-decoration: none; color: #333; font-weight: 500; }
.site-nav .nav-links a:hover { color: #ff6f61; }
.site-nav .nav-links a[aria-current="page"] { text-decoration: underline; }


/* On narrow screens, stack cleanly */
@media (max-width: 640px) {
  .site-nav .nav-inner {
    flex-wrap: wrap;
  }
  .site-nav .logo {
    order: 2;
    width: 100%;
    text-align: right;
    margin-top: 0.25rem;
  }
  .site-nav .nav-links {
    order: 1;
    width: 100%;
    justify-content: flex-start;
  }
}


/* ===== Header Height Normalization ===== */
.site-nav { padding-block: 0 !important; }
.site-nav .nav-inner { padding-block: 0.75rem !important; }

nav.site-nav .nav-inner {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}
.hero-band {
  background-color:  #f5eedd; 
  max-width: 900px;
  padding: 2rem 1rem;
   margin: 2rem auto;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
  padding: 2rem 1rem;        /* spacing above/below */
  margin-bottom: 2rem;       /* gap before posts start */
}
/* put in styles.css */
@media (prefers-reduced-motion: no-preference) {
  body {
    opacity: 0;
    animation: fade-in 500ms ease-out forwards;
  }
  @keyframes fade-in { to { opacity: 1; } }
}
@media (prefers-reduced-motion: no-preference) {
  .site-header, .hero-band, main, footer {
    opacity: 0;
    transform: translateY(10px);
    animation: fade-slide 400ms ease-out forwards;
    animation-delay: 100ms;
  }

  @keyframes fade-slide {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
button, input, select, textarea {
  font-family: "Montserrat", sans-serif;
}
/* Apply Montserrat font to blog controls */
.blog-controls,
.blog-controls button,
.blog-controls input,
.blog-controls .tag-pill,
.blog-controls .logic-tab {
  font-family: "Montserrat", sans-serif;
}
hr {
  border: none;
  height: 3px;  /* overall thickness */
  width: 70%;
  margin: 0.2rem auto;
  background: linear-gradient(
    to right,
    transparent,
    #ff6f61 30%,
    #ff6f61 70%,
    transparent
  );
  border-radius: 2px; 
}
@media (prefers-reduced-motion: no-preference) {
  /* Fade + slide animation for blog header area */
  .blog-header {
    opacity: 0;
    transform: translateY(10px);
    animation: fade-slide-in 600ms ease-out forwards;
  }

  .blog-header hr {
    opacity: 0;
    transform: scaleX(0.5);
    animation: fade-line 800ms ease-out forwards;
    animation-delay: 400ms;
    transform-origin: center;
  }

  @keyframes fade-slide-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes fade-line {
    from { opacity: 0; transform: scaleX(0.5); }
    to   { opacity: 1; transform: scaleX(1); }
  }
}
/* Book cards */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.book-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
  transition: transform .12s ease, box-shadow .12s ease;
}

.book-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.book-card a {
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.book-cover {
  aspect-ratio: 3 / 4;
  background: #f6f6f6;
  display: block;
  width: 100%;
  object-fit: cover;
}

.book-meta {
  padding: .75rem .85rem 1rem;
}

.book-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: .98rem;
  margin: 0 0 .25rem;
  line-height: 1.25;
}

.book-author {
  font-size: .9rem;
  color: #666;
  margin: 0;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 1rem;
}
.doc-card {
  background:#fff; border:1px solid #eee; border-radius:14px;
  box-shadow:0 6px 14px rgba(0,0,0,.06); padding:1rem;
  display:flex; flex-direction:column; justify-content:space-between;
}
.doc-meta { margin-bottom:.75rem; }
.type-chip {
  display:inline-block; font:600 .72rem/1 "Montserrat",sans-serif;
  background:#bf2015; color:#fff; padding:.2rem .5rem; border-radius:999px; margin-bottom:.5rem;
}
.type-chip.docx { background:#4b6cb7; } /* optional different color */
.doc-title { margin:.25rem 0 .25rem; font-family:"Montserrat",sans-serif; }
.doc-desc { margin:0; color:#666; font-size:.95rem; }

.doc-actions { display:flex; gap:.5rem; flex-wrap:wrap; }
.btn { background:#ff6f61; color:#fff; border:0; border-radius:.5rem; padding:.5rem .75rem; text-decoration:none; }
.btn.outline { background:transparent; color:#111; border:1px solid #bbb; }
.btn:hover { filter:brightness(.95); }

}
.hidden { display:none !important; }

.link-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:1rem; margin-top:1rem;
}
.link-card {
  display:flex; justify-content:space-between; align-items:flex-start; gap:.75rem;
  background:#fff; border:1px solid #eee; border-radius:14px; padding:1rem;
  color:inherit; text-decoration:none; box-shadow:0 6px 14px rgba(0,0,0,.06);
  transition:transform .12s ease, box-shadow .12s ease;
}
.link-card:hover { transform:translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,.12); }
.ext-chip {
  display:inline-block; font:600 .72rem/1 "Montserrat",sans-serif;
  background:#ffd54a; color:#111; padding:.2rem .5rem; border-radius:999px; margin-bottom:.5rem;
}
.link-meta h3 { margin:.25rem 0 .25rem; font-family:"Montserrat",sans-serif; }
.link-meta p { margin:0; color:#666; }
.link-out { font-size:1.2rem; opacity:.6; }

/* ===== Homepage Approach Section Polish ===== */

.section.approach {
  background-color: #f5eedd;
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-radius: 18px;              /* smooth rounded edges */
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); /* soft natural shadow */
  max-width: 900px;                 /* optional: limits full-width feel */
  margin: .5rem auto;                /* centers it within the page */
}

.section.approach h2 {
  margin-bottom: 1.5rem;
}

.section.approach p {
  max-width: 700px;
  margin: 0 auto 2rem; /* centers + adds breathing room below text */
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333; /* ensures contrast on cream background */
}

.section.approach img,
.section.approach svg {
  display: block;
  margin: 2rem auto 0;
  max-width: 250px;
  height: auto;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.section.approach img:hover {
  opacity: 1; /* subtle interactive polish */
}

/* Optional: fade-in animation (uses your existing reduced-motion rules) */
@media (prefers-reduced-motion: no-preference) {
  .section.approach {
    opacity: 0;
    transform: translateY(10px);
    animation: fade-slide 600ms ease-out forwards;
  }
}
/* ===== Homepage: Services, Testimonials, Credentials ===== */

.services .service-grid,
.testimonials .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.service-card,
.t-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 1.1rem 1.2rem;
}

.service-card h3 { margin: 0 0 .4rem; font-family: "Montserrat", sans-serif; }
.service-card p { margin: 0 0 .9rem; color: #555; }

.t-card {
  font-style: italic;
  line-height: 1.6;
  position: relative;
}
.t-card cite {
  display: block;
  margin-top: .6rem;
  font-style: normal;
  color: #666;
}

/* Credentials accordion */
/* ===== Credentials Logo Grid ===== */
.credentials .logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
}

.credentials .logo-grid a {
  display: inline-block;
  transition: transform .2s ease, box-shadow .2s ease;
}

.credentials .logo-grid img {
  height: 150px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.credentials .logo-grid a:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Small motion polish (respects reduced-motion rules already in your CSS) */
@media (prefers-reduced-motion: no-preference) {
  .service-card, .t-card, .credentials .cred {
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .service-card:hover, .t-card:hover, .credentials .cred:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
  }
}
/* ===== Contact Form Styling ===== */
.contact-form {
  max-width: 600px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #ff6f61;
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.25);
  outline: none;
}

.contact-form button.btn {
  align-self: center;
  padding: 0.8rem 1.8rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
}
/* Inline success message */
.form-success {
  text-align: center;
  color: #2e7d32;
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  font-weight: 600;
}

.hidden {
  display: none;
}
/* Fade-in animation for success message */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-success {
  text-align: center;
  color: #2e7d32;
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  font-weight: 600;
  opacity: 0;                /* start hidden */
  animation: fadeIn 0.6s ease forwards;
  animation-delay: 0.1s;
}
/* === Canine Confidence Services Page Additions === */
.hero.services-hero {
  background: var(--cream, #faf9f8);
  color: var(--charcoal, #222);
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.hero.services-hero h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.hero.services-hero .pill {
  background: var(--brand-yellow, #f7c37a);
  color: #222;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.hero.services-hero .intro {
  max-width: 700px;   /* tweak to taste */
  width: 100%;
  margin: 0 auto 1rem;
  display: block;
}

.notice {
  background: var(--cream-light, #fff);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--brand-yellow, #f7c37a);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.waitlist input,
.waitlist textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  font-family: inherit;
}

.waitlist .btn {
  background: var(--brand-yellow, #f7c37a);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
}

.offerings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.off-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  text-align: left;
}

.off-card h3 {
  margin-top: 0;
  color: var(--charcoal, #222);
}

.faq details {
  background: #fff;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.newsletter-signup {
  max-width: 650px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
  background: #ffffff;
  border-radius: 16px;

  /* Soft drop shadow */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* Optional: subtle border */
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Improve spacing of text */
.newsletter-signup h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.newsletter-signup p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Sender form field wrapper */
.sender-form-field {
  margin-top: 1rem;
}

/* Container visually matching Sender style */
.fallback-wrapper {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
  background: #f5e9d6;                 /* light tan */
  border: 3px solid #e66b64;           /* coral-red border */
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  font-family: 'Open Sans', sans-serif;
}

/* Logo */
.fallback-logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

/* Heading */
.fallback-heading {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2d2d2d;
}

/* Inputs */
.fallback-wrapper input[type="email"],
.fallback-wrapper input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  margin: 0.3rem 0 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* Checkbox block */
.fallback-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.fallback-checkbox input[type="checkbox"] {
  margin-top: 0.2rem;
}

/* Submit button */
.fallback-submit {
  width: 100%;
  padding: 0.9rem;
  background: #ff7f71;         /* coral button */
  border: none;
  color: white;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.fallback-submit:hover {
  opacity: 0.9;
}

/* Privacy text */
.fallback-privacy {
  font-size: 0.9rem;
  color: #444;
  margin-top: 1rem;
  text-align: center;
}

/* Sender footer */
.fallback-sender-tag {
  font-size: 0.85rem;
  color: #555;
  text-align: center;
  margin-top: 0.8rem;
}

.check-icon {
  color: #ff7f71;
  margin-right: 3px;
}
/* Center the Sender-injected form inside your wrapper */
.newsletter-signup .sender-form-field {
  display: flex;
  justify-content: center;
}

/* Force the Sender form to not expand too wide */
.newsletter-signup .sender-form-field > * {
  margin: 0 auto !important;
}
/* Base state: rendered but transparent, ready to animate */
.fallback-wrapper {
  opacity: 0;
  transition: opacity 0.6s ease;
}
#newsletter-fallback {
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* When Sender fails, reveal with fade-in */
#newsletter-fallback.visible {
  opacity: 1;
}


/* Hidden state: removes from layout until we need it */
.fallback-hidden {
  display: none;
}

/* Visible state (fades in from opacity 0 → 1) */
.fallback-wrapper.visible {
  display: block;
  opacity: 1;
}

.fallback-thankyou {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #2d6a4f; /* calm green */
}
/* Outer wrapper */
#resources-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

/* Two even columns with a cute divider */
.resources-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: flex-start;
  position: relative;
}

/* Vertical divider */
.resources-columns::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.12),
    transparent
  );
  pointer-events: none;
}

/* Each column */
.resources-column {
  min-width: 0;
  text-align: center;
}

.resources-column .book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
  justify-items: center;
}

/* Cards a bit smaller and consistent */
.book-card {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 180px;     /* keeps them a cute, compact size */
}

.book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

/* Book / product cover */
.book-cover {
  width: 100%;
  height: 220px;  /* consistent height */
  object-fit: contain;
  background: #f9f9f9;
  border-radius: 8px;
}


/* Titles & author/brand */
.book-title {
  font-size: 0.95rem;
  margin: 0.35rem 0 0.15rem;
}

.book-author {
  font-size: 0.8rem;
  color: #444;
  margin: 0;
}

/* Affiliate note */
.affiliate-note {
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 0.5rem;
}
@media (max-width: 900px) {
  .resources-column .book-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .resources-column .book-grid {
    grid-template-columns: 1fr;
  }
}
#extra-resources-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

/* Two even columns with a cute vertical divider */
.extra-resources-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  position: relative;
  align-items: flex-start;
}

/* Vertical divider */
.extra-resources-columns::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 0, 0, 0.12),
    transparent
  );
}

/* Each column */
.extra-resources-column {
  min-width: 0;
  text-align: center;
}

/* Mobile: stack columns, remove divider */
@media (max-width: 800px) {
  .extra-resources-columns {
    grid-template-columns: 1fr;
  }

  .extra-resources-columns::before {
    display: none;
  }
}
/* Center-align the entire content inside each column */
.extra-resources-column {
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontally center */
  text-align: center;     /* center headings and text */
}

/* Constrain card widths so they look consistent */
.doc-card,
.link-card {
  max-width: 500px;
  width: 100%;
}
.extra-resources-column .doc-card,
.extra-resources-column .link-card {
  width: 100%;
  max-width: 480px; /* looks great next to each other */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.extra-resources-column h2 {
  margin-bottom: 1rem;
}

/* Center content inside worksheet + link cards */
.doc-card,
.link-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;       /* horizontal centering */
  justify-content: center;   /* vertical centering if needed */
}

/* Center meta content inside the cards */
.doc-meta,
.link-meta {
    display: block;
}
.doc-meta {
  text-align: center;
}
.doc-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  
}


/* Make description text centered + cleaner width */
.doc-desc,
.link-meta p {
  text-align: center;
  max-width: 90%;
  margin: 0 auto; 
}

/* Make the small labels centered too */
.type-chip,
.ext-chip {
  margin: 0 auto 0.5rem;
}

/* Center the arrow icon on link-cards */
.link-out {
  align-self: center;
  margin-top: 0.5rem;
}/* Restore arrow to top-right corner */
.link-card {
  position: relative;
}

.link-out {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  margin: 0;  /* remove centering */
  align-self: auto;
}
.link-card .link-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.doc-card {
	  display: flex;
  flex-direction: column;
  align-items: center; /* centers everything inside */
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}
.doc-actions .btn {
  min-width: 7rem;      /* adjust 6.5–8rem to taste */
  text-align: center;

}
/* ===== Virtual Intake Form Styling ===== */

.intake-wrapper {
  margin-top: 3rem; /* Add this line */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: #f5eedd;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.intake-wrapper h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.intake-wrapper .intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.intake-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-label {
  margin-top: 1rem;
  font-weight: 700;
  color: #333;
  text-align: left;
  border-bottom: 2px solid #ff6f61;
  padding-bottom: .25rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.intake-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: .95rem;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  margin-top: .35rem;
  padding: .75rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  border-color: #ff6f61;
  box-shadow: 0 0 0 3px rgba(255, 111, 97, 0.25);
  outline: none;
}

.intake-success,
.intake-error {
  text-align: center;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1.5rem;
  font-weight: 600;
}

.intake-success {
  color: #2e7d32;
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
}

.intake-error {
  color: #b00020;
  background-color: #fdecea;
  border: 1px solid #f5c2c7;
}

.hidden {
  display: none;
}

@media (max-width: 700px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}
#intake-section {
  padding-top: 3rem !important;
}
