/* Interior routes follow the shipped homepage (home.css), with Persian typography. */
:is(.internal-page, .not-found-page) {
  background: #fff;
  color: var(--ink);
}

:is(.internal-page, .not-found-page) .container { width: min(100% - 48px, 1200px); }

/* Interior actions and labels. */
:is(.internal-page, .not-found-page) .btn {
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: none;
  font-size: .9rem;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
:is(.internal-page, .not-found-page) .btn:hover { transform: none; box-shadow: none; }
:is(.internal-page, .not-found-page) .btn-primary { color: #fff; background: var(--blue); }
:is(.internal-page, .not-found-page) .btn-primary:hover { color: #fff; background: var(--accent-hover); }
:is(.internal-page, .not-found-page) .btn-outline { color: var(--ink); background: #fff; border-color: var(--line); }
:is(.internal-page, .not-found-page) .btn-outline:hover { background: var(--soft); border-color: #cbd5e1; }
:is(.internal-page, .not-found-page) .section-label,
.internal-page .inner-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  color: var(--muted);
  background: none;
  border-radius: 0;
  font-size: .79rem;
  font-weight: 700;
}
:is(.internal-page, .not-found-page) .section-label::before,
.internal-page .inner-page-eyebrow::before { width: 18px; height: 1px; content: ""; background: var(--blue); }

/* Centered introduction, readable article width, and natural line wrapping. */
.internal-page .inner-page-hero {
  display: block;
  min-height: 0;
  padding: 48px 0 64px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  text-align: center;
  overflow: visible;
}
.internal-page .inner-page-hero::after { display: none; }
.internal-page .breadcrumb { margin: 0 0 32px; }
.internal-page .breadcrumb ol { justify-content: center; color: var(--muted); font-size: .8rem; }
.internal-page .breadcrumb a { color: var(--muted); }
.internal-page .breadcrumb a:hover { color: var(--accent-hover); }
.internal-page .inner-page-hero h1 {
  max-width: 940px;
  margin-inline: auto;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.42;
  white-space: normal;
}
.internal-page .inner-page-lead {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.95;
  white-space: normal;
}
.internal-page .section-padding { padding-block: 80px; }
.internal-page .content-prose { max-width: 930px; }
.internal-page .content-prose :is(h2, h3) { color: var(--ink); letter-spacing: 0; white-space: normal; }
.internal-page .content-prose > h2 {
  margin-top: 48px;
  padding: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.5;
}
.internal-page .content-prose > h2:first-child { margin-top: 0; }
.internal-page.trust-page .content-prose > h2 { margin-top: 48px; }
.internal-page.trust-page .content-prose > h2:first-child { margin-top: 0; }
.internal-page .content-prose > p,
.internal-page .trust-intro p { max-width: 850px; color: var(--muted); font-size: .98rem; line-height: 2; }
.internal-page .seedling-options { gap: 16px; margin-block: 28px 8px; }
.internal-page .seedling-option {
  min-height: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}
.internal-page .seedling-option h3 { font-size: 1.1rem; }
.internal-page .seedling-option p:not(.section-label) { color: var(--muted); font-size: .9rem; line-height: 1.9; }
.internal-page .seedling-photo-grid { gap: 16px; margin-block: 32px 8px; }
.internal-page .seedling-photo-grid figure,
.internal-page .trust-intro figure { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-card); }
.internal-page .seedling-photo-grid img { aspect-ratio: 4 / 3; }
.internal-page .seedling-photo-grid figcaption,
.internal-page .trust-intro figcaption { min-height: 0; padding: 12px 16px; color: var(--muted); font-size: .82rem; }
.internal-page .seedling-related-links { gap: 10px; margin-top: 32px !important; }
.internal-page .seedling-related-links a {
  min-height: 44px;
  padding: 10px 14px;
  color: var(--accent-hover);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  line-height: 1.7;
}
.internal-page .seedling-related-links a:hover { color: var(--ink); background: var(--soft); border-color: #aec4b0; }
.internal-page .owner-confirmation {
  margin-block: 24px;
  padding: 16px 20px;
  color: var(--body);
  background: var(--blue-soft);
  border: 1px solid #d7e4d8;
  border-inline-start: 3px solid var(--blue);
  border-radius: 6px;
  line-height: 1.95;
}
.internal-page .cultivation-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.internal-page .cultivation-list li {
  min-height: 0;
  padding: 16px 40px 16px 16px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}
.internal-page .cultivation-list li::before { top: 24px; width: 7px; height: 7px; border-radius: 2px; }

/* FAQ matches the homepage's two-column hierarchy; native details retain keyboard support. */
.internal-page .seedling-faq { padding-block: 80px !important; background: var(--soft); border-color: var(--line); }
.internal-page .internal-faq-grid {
  display: grid;
  grid-template-columns: minmax(220px, .68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 64px;
  max-width: 1200px;
}
.internal-page .seedling-faq h2 { margin: 0; font-size: clamp(1.65rem, 2.8vw, 2.4rem); line-height: 1.5; white-space: normal; }
.internal-page .seedling-faq details { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-card); }
.internal-page .seedling-faq details + details { margin-top: 8px; }
.internal-page .seedling-faq details[open] { border-color: #bfd1c1; }
.internal-page .seedling-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 20px;
  font-size: .91rem;
  list-style: none;
}
.internal-page .seedling-faq summary::-webkit-details-marker { display: none; }
.internal-page .seedling-faq summary::after {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  height: 27px;
  content: "+";
  color: var(--accent-hover);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1.2rem;
  line-height: 1;
}
.internal-page .seedling-faq details[open] summary::after { content: "−"; }
.internal-page .seedling-faq details p { margin: 0; padding: 16px 20px 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.95; }

/* Calm, bordered call to action replaces the old dark panel. */
.internal-page .contact-cta { padding-block: 64px 80px; background: #fff; }
.internal-page .contact-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.internal-page .contact-cta h2 { color: var(--ink); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.5; letter-spacing: 0; white-space: normal; }
.internal-page .contact-cta p:not(.section-label) { color: var(--muted); }
.internal-page .contact-cta .btn-primary { color: #fff; background: var(--blue); }
.internal-page .contact-cta .btn-primary:hover { background: var(--accent-hover); }
.internal-page .resin-cta-actions { flex-direction: column; }
.internal-page .resin-whatsapp { color: var(--ink); background: #fff; border-color: var(--line); border-radius: 6px; font-size: .9rem; }
.internal-page .resin-whatsapp:hover { background: var(--blue-soft); border-color: #aec4b0; }
.internal-page .trust-intro { grid-template-columns: minmax(250px, .8fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.internal-page .trust-intro h2 { margin: 0; font-size: 1.6rem; line-height: 1.5; }
.internal-page .trust-intro p + h2 { margin-top: 32px; }
.internal-page .trust-facts { gap: 16px; margin-bottom: 48px; }
.internal-page .trust-facts section { min-height: 0; padding: 24px; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-card); }
.internal-page .trust-facts h2 { font-size: 1rem; line-height: 1.7; white-space: normal; }
.internal-page .trust-facts p { color: var(--muted); font-size: .9rem; }
.internal-page .trust-facts a { display: inline-block; padding-block: 6px; color: var(--accent-hover); }
.internal-page .trust-facts a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.not-found-page .not-found-main { padding: 64px 24px; background: var(--soft); }
.not-found-page .not-found-card { padding: 48px; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-card); }
.not-found-page .not-found-code { margin-bottom: 24px; color: var(--blue); }
.not-found-page .not-found-card h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: 0; line-height: 1.5; }
.not-found-page .not-found-lead { color: var(--muted); line-height: 1.95; }
.not-found-page .not-found-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.not-found-page .not-found-links a { display: flex; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.not-found-page .not-found-links a:hover { color: var(--accent-hover); background: var(--blue-soft); }
.not-found-page .not-found-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.not-found-page .not-found-contact a { color: var(--accent-hover); }

@media (max-width: 900px) {
  .internal-page .trust-intro { grid-template-columns: 1fr; gap: 32px; }
  .internal-page .trust-intro figure { width: min(100%, 520px); max-width: none; }
  .internal-page .internal-faq-grid { gap: 28px; }
  .internal-page .contact-cta-inner { grid-template-columns: 1fr; }
  .internal-page .contact-cta-inner > .btn { justify-self: start; }
  .internal-page .resin-cta-actions { flex-direction: row; }
}
@media (max-width: 768px) {
  :is(.internal-page, .not-found-page) .container { width: min(100% - 32px, 1200px); }
  :is(.internal-page, .not-found-page) .section-padding { padding-block: 64px; }
  .internal-page .inner-page-hero { padding: 36px 0 48px; }
  .internal-page .inner-page-hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); letter-spacing: 0; }
  .internal-page .inner-page-lead { font-size: 1rem; }
  .internal-page .inner-page-content.section-padding { padding-block: 64px; }
  .internal-page .seedling-options,
  .internal-page .seedling-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .internal-page .seedling-option { padding: 20px; }
  .internal-page .seedling-faq { padding-block: 64px !important; }
  .internal-page .internal-faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .internal-page .contact-cta { padding-block: 48px 64px; }
  .internal-page .contact-cta-inner { padding: 24px; }
  .internal-page .trust-facts { grid-template-columns: 1fr; }
  .internal-page .cultivation-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :is(.internal-page, .not-found-page) .container { width: min(100% - 28px, 1200px); }
  .internal-page .seedling-options,
  .internal-page .seedling-photo-grid { grid-template-columns: 1fr; }
  .internal-page .content-prose > h2 { margin-top: 36px; }
  .internal-page .seedling-related-links { flex-direction: column; }
  .internal-page .seedling-related-links a { justify-content: center; }
  .internal-page .contact-cta-inner { gap: 24px; }
  .internal-page .contact-cta-inner > .btn { justify-self: stretch; }
  .internal-page .resin-cta-actions { flex-direction: column; }
  .not-found-page .not-found-main { padding: 40px 14px; }
  .not-found-page .not-found-card { padding: 32px 20px; }
  .not-found-page .not-found-links ul { grid-template-columns: 1fr; }
  .not-found-page .not-found-actions { flex-direction: column; }
}
