/* Industry pages (11/26): law firm websites, Google Ads for therapists, therapist websites.
   Everything else on these pages comes from site.css (hero, trust strip, plans, cards, cost rows). */

/* Mali 11/26: the box sits level with the middle of the heading and text, not up at the top. */
.niche-list { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.niche-list h2 { font-size: var(--h1); margin-bottom: 24px; }
.niche-list .sense .checks { margin-top: 18px; }

.plans.niche-plans { margin-top: 56px; }
.niche-plans-head { max-width: 760px; }
.niche-plans-head h2 { margin-bottom: 20px; }

.niche-updates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 28px; }

/* One portfolio card next to a few lines of text */
.niche-work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.niche-work .pf-card { list-style: none; }
/* A smaller card (dentists page): Mali didn't want that example shown big. */
@media (min-width: 901px) { .niche-work.small { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); } }
.niche-work-text p + p { margin-top: 16px; }
.niche-work-text h2 { margin-bottom: 24px; }
.niche-work-text .more { margin-top: 26px; font-weight: 600; }
.niche-work-text .more a { box-shadow: 0 2px 0 var(--accent); padding-bottom: 2px; }

/* Small round photo of Mali beside her intro line (dentists page, Mali 11/26). No ring or frame. */
.hero-text .meet { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.hero-text .meet img { flex: none; width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }

/* A booking strip in the middle of the page, right after the prices. */
.book-strip { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 38px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.book-strip h3 { font-size: calc(var(--h3) + 1px); margin-bottom: 6px; }
.book-strip p { font-size: 17.5px; }
.book-strip .btn { flex: none; }

/* Privacy note on the ads page */
.niche-note { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.niche-note h3 { font-size: calc(var(--h3) + 3px); }
.niche-note p + p { margin-top: 12px; }

/* Example card, with a website strip under it (ads page) */
.niche-example { display: grid; gap: 28px; }
.link-strip { background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.link-strip h3 { font-size: calc(var(--h3) + 4px); margin-bottom: 10px; }
.link-strip em { color: var(--accent); }
.link-strip p { font-size: 17.5px; max-width: 36em; }
.link-strip .btn { flex: none; background: var(--accent); color: #1c1d20; }
.link-card { background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 44px 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.link-card h3 { font-size: calc(var(--h3) + 6px); margin-bottom: 16px; }
.link-card em { color: var(--accent); }
.link-card p { font-size: 17.5px; }
.link-card .btn { margin-top: 30px; align-self: flex-start; background: var(--accent); color: #1c1d20; }

/* Short tips on the therapist page */
.tips { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 56px; }
.tip { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px 36px; }
.tip .n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green-soft); color: var(--dark); font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.tip h3 { margin-bottom: 12px; }
.tip p { font-size: 17px; }
.tips-photo { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 6; }
.tips-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

/* Questions and answers */
.niche-faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 80px; align-items: start; }
/* Mali 11/26: each question opens and closes, so the page is shorter. The answers stay in the page for Google. */
.faq-items { display: grid; border-bottom: 1px solid var(--line); }
.faq-q { border-top: 1px solid var(--line); }
.faq-q:first-child { border-top: 0; }
.faq-q summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q:first-child summary { padding-top: 0; }
.faq-q h3 { font-size: calc(var(--h3) - 2px); }
.faq-q summary::after { content: ""; flex: none; width: 18px; height: 18px; margin-top: 7px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%232F5443' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M9 2.5v13M2.5 9h13'/%3E%3C/svg%3E"); transition: transform .25s ease; }
.faq-q[open] summary::after { transform: rotate(45deg); }
.faq-q p { font-size: 17.5px; max-width: 40em; padding: 0 46px 28px 0; margin-top: -8px; }
@media (prefers-reduced-motion: no-preference) {
  .faq-q { interpolate-size: allow-keywords; }
  .faq-q::details-content { block-size: 0; overflow: clip; transition: block-size .28s ease, content-visibility .28s allow-discrete; }
  .faq-q[open]::details-content { block-size: auto; }
}
.faq-q a, .niche-list a, .niche-note a { box-shadow: 0 1px 0 var(--accent); }

/* Website-in-a-Day page (11/26): three even cards for before, on and after the build day. */
.tips.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.after-note { margin-top: 22px; font-size: 17px; }
.after-note a, .ucard a { box-shadow: 0 1px 0 var(--accent); }
.ucard.plan-note { display: flex; flex-direction: column; justify-content: center; }
.ucard.plan-note h3 { margin-bottom: 14px; }

@media (max-width: 900px) {
  .niche-list, .niche-work, .niche-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .niche-list h2 { font-size: var(--h2); margin-bottom: 18px; }
  .niche-updates, .tips, .tips.three { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .niche-note { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 26px 22px 28px; }
  .link-card { padding: 30px 22px 32px; }
  .link-strip { flex-direction: column; align-items: flex-start; gap: 22px; padding: 30px 22px 32px; }
  .book-strip { flex-direction: column; align-items: flex-start; gap: 20px; padding: 26px 22px 28px; }
  .hero-text .meet { gap: 14px; }
  .hero-text .meet img { width: 60px; height: 60px; }
  .tip { padding: 26px 22px 28px; }
  .tips { margin-top: 36px; }
  .tips-photo { aspect-ratio: 16 / 10; }
  .faq-q summary { padding: 20px 0; gap: 18px; }
  .faq-q p { padding: 0 0 24px; }
}
