/* 마린시티 승마교실 — 브로슈어 브랜드(딥 틸 + 골드) */
.mcea-page {
  --mcea-ink: #0f2a2a;
  --mcea-teal: #1a3d3a;
  --mcea-teal-mid: #245550;
  --mcea-gold: #c9a24a;
  --mcea-gold-soft: #e8d5a3;
  --mcea-sand: #f3efe6;
  --mcea-white: #ffffff;
}

/* 헤더: 상단바·본헤더 겹침/대각 클리핑 방지 */
.mcea-page .header-top-section-3 {
  position: relative;
  z-index: 10001;
  overflow: hidden;
}

.mcea-page .header-1.header-2 {
  z-index: 10000;
  background-color: var(--bg-3, #fff) !important;
}

.mcea-page .header-1.header-2 .header-main {
  align-items: center;
  min-height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.mcea-page .header-main .header-right {
  align-items: center;
}

.mcea-page .header-main .header-right .header-btn {
  align-items: center;
  gap: 16px;
}

.mcea-page .header-main .header-right .header-btn .sidebar__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.mcea-page .header-1.header-2.sticky {
  z-index: 10002;
}

.mcea-page .breadcrumb-wrapper {
  min-height: 320px;
}

.mcea-hero {
  position: relative;
  background: #0f2a2a;
  color: var(--mcea-white);
  overflow: hidden;
}

.mcea-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 42, 42, 0.55) 0%,
    rgba(15, 42, 42, 0.28) 45%,
    rgba(15, 42, 42, 0.12) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.mcea-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mcea-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.mcea-hero__inner {
  position: relative;
  z-index: 2;
  padding: 90px 0 80px;
}

.mcea-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mcea-gold-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 18px;
}

.mcea-hero h1 {
  color: var(--mcea-white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
  margin-bottom: 18px;
  max-width: 12em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.mcea-hero h1 br {
  display: none;
}

@media (max-width: 575px) {
  .mcea-hero h1 br {
    display: inline;
  }
}

.mcea-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 28px;
}

.mcea-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.mcea-pill {
  background: rgba(201, 162, 74, 0.18);
  border: 1px solid rgba(201, 162, 74, 0.55);
  color: var(--mcea-gold-soft);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
}

.mcea-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mcea-hero__actions .theme-btn {
  background: var(--mcea-gold);
  color: var(--mcea-ink);
  border-color: var(--mcea-gold);
}

.mcea-hero__actions .theme-btn:hover {
  background: var(--mcea-gold-soft);
  color: var(--mcea-ink);
}

.mcea-hero__actions .link-btn {
  color: var(--mcea-white);
  align-self: center;
}

.mcea-section-title .sub-title {
  color: var(--mcea-teal-mid);
}

.mcea-greeting {
  background: linear-gradient(180deg, #f7f4ee 0%, #ffffff 100%);
}

.mcea-greeting__row {
  align-items: stretch;
}

.mcea-greeting__photo {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 42, 42, 0.16);
  background: #0b1c3a;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mcea-greeting__photo img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  display: block;
  object-fit: contain;
  object-position: center top;
}

.mcea-greeting__content {
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 0;
}

.mcea-greeting__body {
  display: grid;
  gap: 18px;
  flex: 1 1 auto;
  align-content: center;
}

.mcea-greeting__body p {
  margin: 0;
  color: #4a524e;
  font-size: 1.05rem;
  line-height: 1.9;
}

.mcea-greeting__lead {
  color: var(--mcea-ink) !important;
  font-size: 1.2rem !important;
  font-weight: 700;
}

.mcea-greeting__sign {
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 61, 58, 0.12);
  display: grid;
  gap: 6px;
}

.mcea-greeting__sign strong {
  color: var(--mcea-ink);
  font-size: 1.2rem;
}

.mcea-greeting__sign span {
  color: #6a736e;
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .mcea-greeting__photo {
    max-width: 380px;
    margin: 0 auto;
    height: auto;
  }

  .mcea-greeting__photo img {
    height: auto;
    max-height: 480px;
  }

  .mcea-greeting__content {
    gap: 22px;
    padding: 0;
  }
}

.mcea-values {
  background: #f3f5f7;
}

.mcea-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 991px) {
  .mcea-value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .mcea-value-grid {
    grid-template-columns: 1fr;
  }
}

.mcea-service-card {
  --mcea-card: var(--mcea-teal);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  height: 100%;
  padding: 28px 24px 22px;
  border-radius: 18px;
  background: var(--mcea-card);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 42, 42, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mcea-service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 34px rgba(15, 42, 42, 0.28);
}

.mcea-service-card h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.mcea-service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1 1 auto;
}

.mcea-service-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.mcea-service-card__foot a {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 1px;
}

.mcea-service-card__foot a:hover {
  border-bottom-color: #fff;
}

.mcea-service-card__foot i {
  font-size: 1.55rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
}


.mcea-flow-list {
  display: grid;
  gap: 14px;
}

.mcea-flow-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--mcea-white);
  border: 1px solid rgba(26, 61, 58, 0.12);
  padding: 18px 20px;
}

.mcea-flow-item__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mcea-teal);
  color: var(--mcea-gold-soft);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.mcea-flow-item h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.mcea-flow-item p {
  margin: 0;
  color: #5c655f;
  font-size: 0.95rem;
}

.mcea-flow-item__time {
  color: var(--mcea-teal);
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .mcea-flow-item {
    grid-template-columns: 56px 1fr;
  }

  .mcea-flow-item__time {
    grid-column: 2;
  }
}

.mcea-roadmap {
  background: var(--mcea-ink);
  color: var(--mcea-white);
}

.mcea-roadmap .section-title .sub-title,
.mcea-roadmap .section-title h2 {
  color: var(--mcea-white);
}

.mcea-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 991px) {
  .mcea-roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .mcea-roadmap-grid {
    grid-template-columns: 1fr;
  }
}

.mcea-roadmap-card {
  border: 1px solid rgba(201, 162, 74, 0.35);
  padding: 26px 20px;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
}

.mcea-roadmap-card em {
  display: block;
  color: var(--mcea-gold);
  font-style: normal;
  font-weight: 700;
  margin-bottom: 8px;
}

.mcea-roadmap-card h4 {
  color: var(--mcea-white);
  margin-bottom: 10px;
}

.mcea-roadmap-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.mcea-roadmap-card q {
  display: block;
  margin-top: 14px;
  color: var(--mcea-gold-soft);
  font-size: 0.92rem;
}

.mcea-safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 991px) {
  .mcea-safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .mcea-safety-grid {
    grid-template-columns: 1fr;
  }
}

.mcea-safety-item {
  background: var(--mcea-sand);
  padding: 22px 18px;
  height: 100%;
}

.mcea-safety-item i {
  color: var(--mcea-teal);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.mcea-safety-item h5 {
  margin-bottom: 8px;
}

.mcea-safety-item p {
  margin: 0;
  color: #55605a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.mcea-team-card {
  background: var(--mcea-white);
  border: 1px solid rgba(26, 61, 58, 0.1);
  height: 100%;
  padding: 28px 24px;
}

.mcea-team-card__role {
  color: var(--mcea-gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mcea-team-card h3 {
  margin: 6px 0 14px;
}

.mcea-team-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #55605a;
  line-height: 1.7;
}

.mcea-price-card {
  background: var(--mcea-teal);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 32px 26px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(15, 42, 42, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mcea-price-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 34px rgba(15, 42, 42, 0.28);
}

.mcea-price-card.is-featured {
  background: var(--mcea-ink);
}

.mcea-price-card.is-featured h3,
.mcea-price-card.is-featured p,
.mcea-price-card.is-featured .mcea-price {
  color: #fff;
}

.mcea-price-card h3 {
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
}

.mcea-price-card p {
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
}

.mcea-price {
  display: block;
  margin-top: 18px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.mcea-price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.mcea-price-card .mcea-service-card__foot {
  margin-top: 22px;
}

.mcea-note {
  margin-top: 18px;
  color: #5c655f;
  font-size: 0.95rem;
}

.mcea-gallery {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
}

.mcea-film {
  background:
    linear-gradient(180deg, rgba(243, 239, 230, 0.92), rgba(243, 239, 230, 0.92)),
    radial-gradient(circle at 20% 10%, rgba(201, 162, 74, 0.18), transparent 42%),
    radial-gradient(circle at 90% 80%, rgba(26, 61, 58, 0.1), transparent 40%);
}

.mcea-film .mcea-section-title p {
  max-width: 520px;
  margin: 12px auto 0;
  color: #5c655f;
}

.mcea-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
}

.mcea-video-card {
  overflow: hidden;
  background: var(--mcea-ink);
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  box-shadow: 0 14px 32px rgba(15, 42, 42, 0.16);
}

.mcea-video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 767px) {
  .mcea-video-grid {
    grid-template-columns: 1fr;
  }
}

.mcea-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mcea-gallery__wide {
  grid-row: 1 / span 2;
}

@media (max-width: 991px) {
  .mcea-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }

  .mcea-gallery__wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 575px) {
  .mcea-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .mcea-gallery a,
  .mcea-gallery img {
    min-height: 220px;
  }
}

.mcea-moment {
  height: 100%;
}

.mcea-moment img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}

.mcea-moment h4 {
  margin-bottom: 8px;
  color: var(--mcea-ink);
}

.mcea-moment p {
  margin: 0;
  color: #55605a;
  line-height: 1.6;
}

.mcea-cta {
  background:
    linear-gradient(120deg, rgba(15, 42, 42, 0.72), rgba(26, 61, 58, 0.55)),
    url("../img/riding-class/lesson-arena.jpg") center/cover no-repeat;
  color: var(--mcea-white);
  text-align: center;
  padding: 90px 0;
}

.mcea-cta h2 {
  color: var(--mcea-white);
  margin-bottom: 14px;
}

.mcea-cta p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 22px;
}

.mcea-cta__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  margin-bottom: 28px;
  color: var(--mcea-gold-soft);
  font-weight: 600;
}

.mcea-cta__meta a {
  color: var(--mcea-gold-soft);
}

.mcea-split-media {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .mcea-split-media {
    min-height: 280px;
  }
}
