/* ====================================================================== *
 * File: landing_editorial_redesign.css
 * Location: static/css/landing_editorial_redesign.css
 * Description: Premium editorial redesign for all landing content after the preserved Fereshte hero.
 * Version: 1.0.0
 * Last Modified: Sun Aug 16 2026 - 23:12
 * Dependencies: landing-course-portfolio.css, specialist_comments.css, commerce_reveal.js
 * ====================================================================== */

/* -------------------------------------------------------------------------- *
 * 1. Shared post-hero design system
 * -------------------------------------------------------------------------- */

:root {
  --fereshte-navy-950: #06152f;
  --fereshte-navy-900: #082044;
  --fereshte-navy-800: #0b2b57;
  --fereshte-navy-700: #123e74;
  --fereshte-gold-500: #c69236;
  --fereshte-gold-400: #ddb45f;
  --fereshte-ink: #0b2345;
  --fereshte-muted: #637289;
  --fereshte-surface: #ffffff;
  --fereshte-page: #f6f8fb;
  --fereshte-border: rgba(11, 35, 69, 0.095);
  --fereshte-shadow: 0 16px 42px rgba(7, 27, 58, 0.075);
  --fereshte-shadow-hover: 0 22px 52px rgba(7, 27, 58, 0.115);
  --fereshte-radius-lg: 24px;
  --fereshte-radius-md: 18px;
  --fereshte-radius-sm: 13px;
}

.landing-content-flow {
  position: relative;
  margin-top: -1px;
  overflow: clip;
  background:
    radial-gradient(circle at 8% 7%, rgba(198, 146, 54, 0.055), transparent 23%),
    radial-gradient(circle at 92% 24%, rgba(41, 92, 166, 0.045), transparent 28%),
    var(--fereshte-page) !important;
  color: var(--fereshte-ink);
}

.landing-content-flow::before {
  display: none !important;
}

.landing-editorial-section {
  position: relative;
  width: 100%;
  padding: clamp(52px, 6vw, 82px) 22px;
}

.landing-editorial-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.landing-editorial-heading {
  max-width: 760px;
  margin: 0 auto clamp(26px, 3vw, 38px);
  text-align: center;
}

.landing-editorial-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #9c6f22;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.landing-editorial-heading > span::before,
.landing-editorial-heading > span::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 146, 54, 0.72));
}

.landing-editorial-heading > span::after {
  transform: scaleX(-1);
}

.landing-editorial-heading h2 {
  margin: 0;
  color: var(--fereshte-ink);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 850;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.landing-editorial-heading p {
  max-width: 640px;
  margin: 10px auto 0;
  color: var(--fereshte-muted);
  font-size: 0.86rem;
  line-height: 1.95;
}

.landing-editorial-heading-compact {
  margin-bottom: 28px;
}

/* -------------------------------------------------------------------------- *
 * 2. Benefits — first section after hero
 * -------------------------------------------------------------------------- */

.landing-benefit-section {
  padding-top: clamp(36px, 4.5vw, 58px);
  padding-bottom: clamp(46px, 5.5vw, 70px);
  background: #fff;
}

.landing-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.landing-benefit-card {
  position: relative;
  min-height: 190px;
  padding: 24px 22px 22px;
  overflow: hidden;
  border: 1px solid var(--fereshte-border);
  border-radius: var(--fereshte-radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 146, 54, 0.075), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--fereshte-shadow);
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.landing-benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 146, 54, 0.23);
  box-shadow: var(--fereshte-shadow-hover);
}

.landing-benefit-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border: 1px solid rgba(198, 146, 54, 0.24);
  border-radius: 17px;
  background: linear-gradient(145deg, #fffaf0, #f8f2e4);
  color: #a67624;
  transition: transform 220ms ease, background 220ms ease;
}

.landing-benefit-card:hover .landing-benefit-icon {
  transform: translateY(-2px) scale(1.025);
  background: linear-gradient(145deg, #fff8e8, #f5ead4);
}

.landing-benefit-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-benefit-card h3 {
  margin: 0;
  color: var(--fereshte-ink);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.65;
}

.landing-benefit-card p {
  margin: 8px auto 0;
  color: var(--fereshte-muted);
  font-size: 0.78rem;
  line-height: 1.85;
}

/* -------------------------------------------------------------------------- *
 * 3. Courses — complete four-column grid, never clipped
 * -------------------------------------------------------------------------- */

.landing-course-portfolio {
  width: 100%;
  padding: clamp(54px, 6vw, 78px) 22px !important;
  background:
    linear-gradient(180deg, #f6f8fb 0%, #f8fafc 100%);
  color: var(--fereshte-ink) !important;
}

.landing-course-portfolio-shell {
  width: min(1240px, 100%) !important;
}

.landing-course-portfolio-heading {
  padding: 0 !important;
  text-align: center !important;
}

.landing-course-portfolio-heading h2 {
  color: var(--fereshte-ink) !important;
}

.landing-course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  align-items: stretch;
}

.landing-course-card {
  display: flex;
  min-width: 0 !important;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--fereshte-border) !important;
  border-radius: var(--fereshte-radius-lg) !important;
  background: var(--fereshte-surface) !important;
  box-shadow: var(--fereshte-shadow) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.landing-course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 146, 54, 0.24) !important;
  box-shadow: var(--fereshte-shadow-hover) !important;
}

.landing-course-card .commerce-card-link {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  text-decoration: none;
}

.landing-course-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  background: #eaf0f7;
}

.landing-course-card-media img,
.landing-course-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-course-card-media img {
  filter: saturate(0.96) contrast(0.98);
  transform: scale(1.002);
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.landing-course-card:hover .landing-course-card-media img {
  filter: saturate(1.02) contrast(1);
  transform: scale(1.035);
}

.landing-course-card-shade {
  background: linear-gradient(180deg, transparent 68%, rgba(5, 21, 47, 0.14) 100%) !important;
}

.landing-course-card-body {
  display: flex;
  flex: 1;
  min-height: 258px !important;
  flex-direction: column;
  padding: 20px 20px 18px !important;
  background: #fff !important;
}

.landing-course-card-main {
  min-height: 128px;
}

.landing-course-card-body h3 {
  display: -webkit-box;
  min-height: 3.25em;
  margin: 0;
  overflow: hidden;
  color: var(--fereshte-ink) !important;
  font-size: 0.98rem !important;
  font-weight: 850;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.landing-course-card-body p {
  display: -webkit-box;
  min-height: 4.6em !important;
  margin: 8px 0 0 !important;
  overflow: hidden;
  color: var(--fereshte-muted) !important;
  font-size: 0.76rem !important;
  line-height: 1.82 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.landing-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 15px;
}

.landing-course-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border: 1px solid rgba(156, 111, 34, 0.16);
  border-radius: 999px;
  padding: 4px 8px;
  background: #fffaf0;
  color: #7c5a22;
  font-size: 0.66rem;
  font-weight: 750;
  white-space: nowrap;
}

.landing-course-meta strong {
  margin-left: 3px;
  font-weight: 900;
}

.landing-course-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  margin-top: 14px;
  border-top: 1px solid rgba(11, 35, 69, 0.075);
  padding-top: 12px;
  color: #8a611d;
  font-size: 0.75rem;
  font-weight: 850;
}

.landing-course-action b {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.landing-course-card:hover .landing-course-action b {
  transform: translateX(-3px);
}

/* -------------------------------------------------------------------------- *
 * 4. Specialist social proof — early, bright and compact
 * -------------------------------------------------------------------------- */

.landing-testimonials-section,
.commerce-testimonials-transition.landing-testimonials-section {
  position: relative;
  padding: 0 22px clamp(50px, 5.5vw, 70px);
  background: #f8fafc !important;
}

.landing-testimonials-section .specialist-comments-section {
  width: min(1240px, 100%);
  margin: 0 auto !important;
  overflow: hidden;
  border: 1px solid var(--fereshte-border) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 146, 54, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff, #fbfcfe) !important;
  box-shadow: var(--fereshte-shadow);
  color: var(--fereshte-ink) !important;
}

.landing-testimonials-section .specialist-comments-section::before {
  display: none !important;
}

.landing-testimonials-section .specialist-comments-shell {
  width: 100%;
  padding: clamp(34px, 4vw, 48px) 24px clamp(34px, 4vw, 46px);
}

.landing-testimonials-section .specialist-comments-heading {
  margin-bottom: 24px;
}

.landing-testimonials-section .specialist-comments-heading h2 {
  color: var(--fereshte-ink) !important;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
}

.landing-testimonials-section .specialist-comments-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  padding: 4px 0 0;
}

.landing-testimonials-section .specialist-comment-card {
  min-width: 0;
  min-height: 235px;
  padding: 20px;
  border: 1px solid rgba(11, 35, 69, 0.085);
  border-radius: 20px;
  background: #f8fafc;
  box-shadow: none;
  color: var(--fereshte-ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.landing-testimonials-section .specialist-comment-card:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 146, 54, 0.22);
  box-shadow: 0 14px 30px rgba(7, 27, 58, 0.07);
}

.landing-testimonials-section .specialist-comment-name-line strong {
  color: var(--fereshte-ink);
}

.landing-testimonials-section .specialist-comment-medical-number {
  color: #748197;
}

.landing-testimonials-section .specialist-comment-text {
  display: -webkit-box;
  max-height: 10em;
  margin-top: 16px;
  overflow: hidden;
  color: #4f6078;
  font-size: 0.82rem;
  line-height: 1.95;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.landing-testimonials-section .specialist-comment-star {
  color: rgba(11, 35, 69, 0.16);
}

.landing-testimonials-section .specialist-comment-star.is-filled {
  color: #d6a43e;
}

.landing-testimonials-section .specialist-comment-card::after {
  color: rgba(198, 146, 54, 0.075);
}

/* -------------------------------------------------------------------------- *
 * 5. Learning structure — modern academic timeline
 * -------------------------------------------------------------------------- */

.landing-learning-section {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(64, 114, 196, 0.18), transparent 26%),
    radial-gradient(circle at 88% 72%, rgba(198, 146, 54, 0.13), transparent 24%),
    linear-gradient(135deg, #06152f 0%, #0a2953 58%, #101a3d 100%) !important;
  color: #fff;
}

.landing-learning-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10%;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(255, 223, 144, 0.85) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(184, 214, 255, 0.66) 0 0.9px, transparent 1.3px);
  background-position: 0 0, 38px 24px;
  background-size: 118px 118px, 173px 173px;
  animation: landingEditorialStars 42s linear infinite;
  pointer-events: none;
}

@keyframes landingEditorialStars {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-44px, 30px, 0); }
}

.landing-learning-heading > span,
.landing-learning-heading h2,
.landing-learning-heading p {
  color: #fff;
}

.landing-learning-heading > span {
  color: #e1bc70;
}

.landing-learning-heading p {
  color: rgba(235, 242, 251, 0.72);
}

.landing-learning-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-learning-timeline::before {
  content: "";
  position: absolute;
  top: 37px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, rgba(221, 180, 95, 0.16), rgba(221, 180, 95, 0.78), rgba(221, 180, 95, 0.16));
  transform-origin: right center;
  animation: landingTimelineDraw 1.1s ease both;
}

@keyframes landingTimelineDraw {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.landing-learning-timeline li {
  position: relative;
  z-index: 1;
  padding: 0 18px;
  text-align: center;
}

.landing-learning-step {
  position: absolute;
  top: 25px;
  right: calc(50% - 34px);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #0a2851;
  border-radius: 50%;
  background: #d8a748;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
}

.landing-learning-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border: 1px solid rgba(225, 188, 112, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
  color: #e4c47d;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 220ms ease, background 220ms ease;
}

.landing-learning-timeline li:hover .landing-learning-icon {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
}

.landing-learning-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-learning-timeline h3 {
  margin: 0;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.7;
}

.landing-learning-timeline p {
  margin: 7px auto 0;
  color: rgba(232, 240, 250, 0.7);
  font-size: 0.75rem;
  line-height: 1.9;
}

/* -------------------------------------------------------------------------- *
 * 6. FAQ — clean controlled accordion
 * -------------------------------------------------------------------------- */

.landing-faq-section {
  background:
    radial-gradient(circle at 88% 8%, rgba(198, 146, 54, 0.055), transparent 24%),
    #f7f9fc !important;
}

.landing-faq-shell {
  width: min(940px, 100%);
}

.landing-faq-list {
  display: grid;
  gap: 10px;
}

.landing-faq-item {
  overflow: hidden;
  border: 1px solid var(--fereshte-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(7, 27, 58, 0.035);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.landing-faq-item.is-open {
  border-color: rgba(198, 146, 54, 0.23);
  box-shadow: 0 12px 30px rgba(7, 27, 58, 0.055);
}

.landing-faq-item h3 {
  margin: 0;
}

.landing-faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  padding: 17px 19px;
  background: transparent;
  color: var(--fereshte-ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.75;
  text-align: right;
  cursor: pointer;
}

.landing-faq-trigger i {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(11, 35, 69, 0.1);
  border-radius: 50%;
  background: #f6f8fb;
}

.landing-faq-trigger i::before,
.landing-faq-trigger i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: #8c6420;
  transform: translate(-50%, -50%);
  transition: transform 220ms ease;
}

.landing-faq-trigger i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.landing-faq-trigger[aria-expanded="true"] i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.landing-faq-answer {
  overflow: hidden;
  height: 0;
  transition: height 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.landing-faq-answer > div {
  border-top: 1px solid rgba(11, 35, 69, 0.065);
  padding: 0 19px 18px;
}

.landing-faq-answer p {
  margin: 15px 0 0;
  color: #596a81;
  font-size: 0.8rem;
  line-height: 2;
}

/* -------------------------------------------------------------------------- *
 * 7. Final CTA — strong, compact, close to footer
 * -------------------------------------------------------------------------- */

.landing-final-cta {
  display: flex;
  width: min(1120px, calc(100% - 44px));
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 12px auto 24px;
  border: 1px solid rgba(221, 180, 95, 0.28);
  border-radius: 22px;
  padding: 22px 26px;
  background:
    radial-gradient(circle at 90% 15%, rgba(221, 180, 95, 0.13), transparent 28%),
    linear-gradient(135deg, #071a39, #0b2a54);
  box-shadow: 0 16px 38px rgba(6, 21, 47, 0.12);
  color: #fff;
}

.landing-final-cta > div > span {
  display: block;
  color: #deb866;
  font-size: 0.69rem;
  font-weight: 800;
}

.landing-final-cta h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: clamp(0.92rem, 1.6vw, 1.12rem);
  font-weight: 800;
  line-height: 1.75;
}

.landing-final-cta > a {
  flex: 0 0 auto;
  border: 1px solid rgba(226, 190, 111, 0.62);
  border-radius: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.045);
  color: #f0cf88;
  font-size: 0.77rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.landing-final-cta > a:hover {
  transform: translateY(-2px);
  border-color: rgba(238, 207, 139, 0.84);
  background: rgba(255, 255, 255, 0.08);
}

/* -------------------------------------------------------------------------- *
 * 8. Professional landing footer
 * -------------------------------------------------------------------------- */

.fereshte-landing-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 0%, rgba(42, 91, 164, 0.14), transparent 28%),
    linear-gradient(150deg, #06142d 0%, #071a38 58%, #091f42 100%);
  color: rgba(239, 245, 253, 0.82);
}

.fereshte-landing-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(222, 183, 99, 0.62), transparent);
}

.fereshte-landing-footer-shell {
  display: grid;
  width: min(1240px, calc(100% - 44px));
  grid-template-columns: 1.35fr repeat(3, minmax(150px, 0.8fr));
  gap: clamp(28px, 4vw, 56px);
  margin: 0 auto;
  padding: 48px 0 34px;
}

.fereshte-footer-brand {
  max-width: 330px;
}

.fereshte-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.fereshte-footer-brand-row img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
}

.fereshte-footer-brand-row strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 850;
}

.fereshte-footer-brand-row small {
  display: block;
  margin-top: 2px;
  color: #d6b468;
  font-size: 0.68rem;
}

.fereshte-footer-brand p {
  margin: 16px 0 0;
  color: rgba(229, 237, 248, 0.66);
  font-size: 0.76rem;
  line-height: 2;
}

.fereshte-footer-column h2 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 850;
}

.fereshte-footer-column nav,
.fereshte-footer-column .fereshte-footer-links {
  display: grid;
  gap: 8px;
}

.fereshte-footer-column a,
.fereshte-footer-column span {
  width: fit-content;
  color: rgba(229, 237, 248, 0.66);
  font-size: 0.72rem;
  line-height: 1.8;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.fereshte-footer-column a:hover {
  color: #e5c77f;
  transform: translateX(-2px);
}

.fereshte-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.fereshte-footer-social {
  display: grid;
  place-items: center;
  width: 34px !important;
  height: 34px;
  border: 1px solid rgba(230, 195, 116, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: #dfbd72 !important;
}

.fereshte-footer-social:hover {
  transform: translateY(-2px) !important;
  background: rgba(255, 255, 255, 0.07);
}

.fereshte-footer-social svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fereshte-footer-bottom {
  display: flex;
  width: min(1240px, calc(100% - 44px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  padding: 18px 0 max(22px, env(safe-area-inset-bottom));
  color: rgba(229, 237, 248, 0.48);
  font-size: 0.65rem;
}

.fereshte-footer-bottom span:last-child {
  color: rgba(222, 188, 112, 0.62);
}

/* -------------------------------------------------------------------------- *
 * 9. Responsive hierarchy
 * -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .landing-benefit-grid,
  .landing-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-testimonials-section .specialist-comments-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fereshte-landing-footer-shell {
    grid-template-columns: 1.2fr repeat(2, minmax(150px, 0.8fr));
  }

  .fereshte-footer-brand {
    grid-row: span 2;
  }
}

@media (max-width: 760px) {
  .landing-editorial-section {
    padding: 44px 16px;
  }

  .landing-benefit-section {
    padding-top: 32px;
  }

  .landing-benefit-grid,
  .landing-course-grid,
  .landing-testimonials-section .specialist-comments-track {
    grid-template-columns: 1fr;
  }

  .landing-benefit-card {
    min-height: 0;
    padding: 20px;
  }

  .landing-course-portfolio {
    padding: 46px 16px !important;
  }

  .landing-course-card-body {
    min-height: 230px !important;
  }

  .landing-course-card-main {
    min-height: 112px;
  }

  .landing-testimonials-section {
    padding: 0 16px 44px;
  }

  .landing-testimonials-section .specialist-comments-shell {
    padding: 34px 16px;
  }

  .landing-testimonials-section .specialist-comment-card {
    min-height: 0;
  }

  .landing-learning-timeline {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .landing-learning-timeline::before {
    top: 36px;
    right: 37px;
    bottom: 36px;
    left: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(221, 180, 95, 0.16), rgba(221, 180, 95, 0.72), rgba(221, 180, 95, 0.16));
    transform-origin: center top;
    animation-name: landingTimelineDrawVertical;
  }

  @keyframes landingTimelineDrawVertical {
    from { transform: scaleY(0); opacity: 0; }
    to { transform: scaleY(1); opacity: 1; }
  }

  .landing-learning-timeline li {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 0;
    text-align: right;
  }

  .landing-learning-step {
    top: 25px;
    right: 49px;
  }

  .landing-learning-icon {
    margin: 0;
  }

  .landing-learning-timeline p {
    margin-right: 0;
  }

  .landing-final-cta {
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 18px;
    padding: 19px;
  }

  .landing-final-cta > a {
    text-align: center;
  }

  .fereshte-landing-footer-shell {
    width: calc(100% - 32px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
    padding-top: 38px;
  }

  .fereshte-footer-brand {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: none;
  }

  .fereshte-footer-bottom {
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .landing-editorial-heading h2 {
    font-size: 1.42rem;
  }

  .landing-editorial-heading p {
    font-size: 0.78rem;
  }

  .landing-benefit-grid,
  .landing-course-grid {
    gap: 13px;
  }

  .landing-course-card {
    border-radius: 20px !important;
  }

  .landing-course-card-body {
    padding: 18px !important;
  }

  .landing-faq-trigger {
    gap: 12px;
    padding: 15px 16px;
    font-size: 0.8rem;
  }

  .landing-faq-answer > div {
    padding-inline: 16px;
  }

  .fereshte-landing-footer-shell {
    grid-template-columns: 1fr;
  }

  .fereshte-footer-brand,
  .fereshte-footer-column {
    grid-column: 1;
  }
}

/* -------------------------------------------------------------------------- *
 * 10. Motion accessibility
 * -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .landing-benefit-card,
  .landing-benefit-icon,
  .landing-course-card,
  .landing-course-card-media img,
  .landing-course-action b,
  .specialist-comment-card,
  .landing-learning-icon,
  .landing-faq-answer,
  .landing-faq-trigger i::before,
  .landing-faq-trigger i::after,
  .landing-final-cta > a,
  .fereshte-footer-column a,
  .fereshte-footer-social {
    transition: none !important;
  }

  .landing-learning-section::before,
  .landing-learning-timeline::before {
    animation: none !important;
  }
}

/* ============================= End of landing_editorial_redesign.css ============================= */
