@charset "UTF-8";
/* ==========================================================================
   WZ-COURSE-001 (채움결클래스 — The7 Online Courses / Seven Ecourses 한국형 템플릿)
   Custom Stylesheet — Built from scratch for WZ-COURSE-001
   ========================================================================== */

@import url("../vendor/pretendard/1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("../vendor/gfonts/2026-11-17/css/manrope-38465b.css");

:root {
  --ec-mint: #21bda1;
  --ec-mint-hover: #1aa38a;
  --ec-mint-soft: #e8f8f5;
  --ec-deep-green: #0d5c46;
  --ec-deep-green-dark: #084a37;
  --ec-deep-green-mid: #0a523e;
  --ec-ice-top: #dce5ea;
  --ec-ice-mid: #e8eff2;
  --ec-ice-soft: #f3f7f9;
  --ec-dark: #222222;
  --ec-text: #666666;
  --ec-muted: #999999;
  --ec-border: #eaeef1;
  --ec-bg: #ffffff;
  --ec-badge-red: #ff3b30;
  --ec-container: 1220px;
  --ec-radius: 4px;
  --ec-font: 'Manrope', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ec-font);
  color: var(--ec-text);
  background-color: var(--ec-bg);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--ec-mint);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ec-mint);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--ec-radius);
  z-index: 9999;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

.ec-container {
  width: 100%;
  max-width: var(--ec-container);
  margin: 0 auto;
  padding: 0 30px;
}

/* ==========================================================================
   1. MEMBER BAR (TPL-001 4-1절: 시안 A / B)
   ========================================================================== */
.member-bar {
  background-color: #f4f7f9;
  border-bottom: 1px solid #e3eaee;
  font-size: 12.5px;
  color: #5a6670;
  height: 36px;
  display: flex;
  align-items: center;
}

html.no-member-bar .member-bar {
  display: none !important;
}

.member-bar__inner {
  width: 100%;
  max-width: var(--ec-container);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.member-bar__info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.member-bar__info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.member-bar__links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.member-bar__links a {
  color: #445058;
  font-weight: 500;
}

.member-bar__links a:hover {
  color: var(--ec-mint);
}

.member-bar__divider {
  width: 1px;
  height: 11px;
  background-color: #cfd8de;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.ec-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  height: 86px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.25s ease;
}

.ec-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ec-header__inner {
  width: 100%;
  max-width: var(--ec-container);
  margin: 0 auto;
  padding: 0 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo (seven ecourses style -> WEBZLE e클래스) */
.ec-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  user-select: none;
}

.ec-logo__top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 23px;
  font-weight: 500;
  color: var(--ec-dark);
  letter-spacing: -0.02em;
}

.ec-logo__top svg {
  width: 24px;
  height: 24px;
  color: var(--ec-mint);
  transform: translateY(-1px);
}

.ec-logo__bottom {
  font-size: 24px;
  font-weight: 800;
  color: var(--ec-dark);
  letter-spacing: -0.02em;
}

.ec-logo__bottom em {
  font-style: normal;
  color: var(--ec-mint);
}

.ec-logo--light .ec-logo__top,
.ec-logo--light .ec-logo__bottom {
  color: #ffffff;
}

/* Desktop Navigation */
.ec-nav {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: auto;
}

.ec-nav__list {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}

.ec-nav__item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.ec-nav__link {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ec-dark);
  padding: 0 2px;
}

.ec-nav__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--ec-mint);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.ec-nav__item.is-active > .ec-nav__link,
.ec-nav__item:hover > .ec-nav__link {
  color: var(--ec-mint);
}

.ec-nav__item.is-active > .ec-nav__link::before,
.ec-nav__item:hover > .ec-nav__link::before {
  transform: scaleX(1);
}

.ec-nav__caret {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
  transition: transform 0.2s ease;
}

.ec-nav__item:hover .ec-nav__caret {
  transform: rotate(180deg);
}

/* Dropdown Submenu */
.ec-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 210px;
  background: #ffffff;
  border-radius: 0 0 var(--ec-radius) var(--ec-radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-top: 2px solid var(--ec-mint);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1010;
}

.ec-nav__item:hover > .ec-dropdown,
.ec-nav__item:focus-within > .ec-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ec-dropdown a {
  display: block;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ec-dark);
  white-space: nowrap;
}

.ec-dropdown a:hover,
.ec-dropdown a.is-active {
  color: var(--ec-mint);
  background-color: #f8fbfc;
}

/* Header Utilities */
.ec-header__utils {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 26px;
  padding-left: 26px;
  border-left: 1px solid #e5eaee;
}

.ec-util-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #777777;
  transition: color 0.2s ease;
}

.ec-util-btn:hover {
  color: var(--ec-mint);
}

.ec-util-btn svg {
  width: 19px;
  height: 19px;
}

.ec-cart-count {
  position: absolute;
  top: 1px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--ec-mint);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Mobile Hamburger */
.ec-burger {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--ec-dark);
  margin-left: 10px;
}

/* ==========================================================================
   3. WAVE HEROES (HOME HERO & SUBPAGE HERO)
   ========================================================================== */
.ec-page-hero {
  position: relative;
  background: linear-gradient(180deg, #dde6eb 0%, #edf2f5 48%, #ffffff 100%);
  padding: 58px 0 48px;
  overflow: hidden;
}

.ec-page-hero__waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px;
  pointer-events: none;
  z-index: 0;
}

.ec-page-hero .ec-container {
  position: relative;
  z-index: 1;
}

.ec-page-hero__title {
  font-size: 36px;
  font-weight: 600;
  color: var(--ec-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Home Hero */
.ec-home-hero {
  position: relative;
  background: linear-gradient(180deg, #dbe5ea 0%, #ebf1f4 65%, #f7f9fb 100%);
  padding: 64px 0 70px;
  overflow: hidden;
}

.ec-home-hero__bg-waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ec-home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 48px;
  align-items: center;
}

.ec-home-hero__title {
  font-size: 46px;
  font-weight: 700;
  color: var(--ec-dark);
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.ec-home-hero__desc {
  font-size: 16.5px;
  color: var(--ec-text);
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 500px;
}

.ec-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--ec-radius);
  transition: all 0.2s ease;
  cursor: pointer;
  line-height: 1.2;
}

.ec-btn--primary {
  background-color: var(--ec-mint);
  color: #ffffff;
  border: 1px solid var(--ec-mint);
}

.ec-btn--primary:hover {
  background-color: var(--ec-mint-hover);
  border-color: var(--ec-mint-hover);
  color: #ffffff;
}

.ec-btn--ghost {
  background-color: transparent;
  color: var(--ec-mint);
  border: 1px solid transparent;
  padding-left: 14px;
  padding-right: 14px;
}

.ec-btn--ghost:hover {
  color: var(--ec-mint-hover);
}

.ec-btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* Home Hero 4-Cut Collage */
.ec-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}

.ec-collage__col-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ec-collage__col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
}

.ec-collage__card {
  position: relative;
  border-radius: var(--ec-radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17, 36, 48, 0.09);
  background: #fff;
}

.ec-collage__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ec-collage__card:hover img {
  transform: scale(1.03);
}

.ec-collage__card--1 { aspect-ratio: 4 / 3; }
.ec-collage__card--2 { aspect-ratio: 1 / 1; width: 82%; }
.ec-collage__card--3 { aspect-ratio: 1 / 1; width: 78%; margin-left: auto; }
.ec-collage__card--4 { aspect-ratio: 4 / 3; }

.ec-like-badge {
  position: absolute;
  top: 22%;
  right: 28%;
  background: var(--ec-badge-red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 6px 16px rgba(255, 59, 48, 0.35);
  z-index: 3;
}

.ec-like-badge::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 10px;
  border-width: 5px 5px 0 0;
  border-style: solid;
  border-color: var(--ec-badge-red) transparent transparent transparent;
}

.ec-play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--ec-mint);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(33, 189, 161, 0.45);
  transition: transform 0.25s ease, background-color 0.25s ease;
  z-index: 2;
}

.ec-play-circle:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background-color: var(--ec-mint-hover);
}

.ec-play-circle svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

/* Home Hero 5 Feature Strip */
.ec-hero-features {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.ec-hero-feature {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ec-hero-feature__icon {
  width: 38px;
  height: 38px;
  color: var(--ec-mint);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ec-hero-feature__icon svg {
  width: 30px;
  height: 30px;
}

.ec-hero-feature__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ec-dark);
  line-height: 1.3;
}

/* ==========================================================================
   4. SECTIONS & TYPOGRAPHY
   ========================================================================== */
.ec-section {
  padding: 84px 0;
}

.ec-section--pt-sm {
  padding-top: 36px;
}

.ec-section--border-top {
  border-top: 1px solid var(--ec-border);
}

.ec-sec-head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.ec-sec-head__title {
  font-size: 32px;
  font-weight: 600;
  color: var(--ec-dark);
  letter-spacing: -0.02em;
}

.ec-sec-head__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ec-mint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ec-sec-head__link:hover {
  color: var(--ec-mint-hover);
  text-decoration: underline;
}

/* Filter Category Tabs (Courses, Free Courses, Blog, News, Magazine) */
.ec-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-bottom: 42px;
}

.ec-filter-tab {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ec-dark);
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ec-filter-tab:hover,
.ec-filter-tab.is-active {
  color: var(--ec-mint);
  border-bottom-color: var(--ec-mint);
}

/* ==========================================================================
   5. COURSE CARDS & GRIDS (3-COLUMN)
   ========================================================================== */
.ec-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 36px;
  row-gap: 48px;
}

.ec-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  row-gap: 54px;
}

.ec-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 32px;
  row-gap: 48px;
}

.ec-course-card {
  display: flex;
  flex-direction: column;
}

.ec-course-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10.6;
  background-color: #f2f5f7;
  overflow: hidden;
  margin-bottom: 18px;
}

.ec-course-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ec-course-card:hover .ec-course-card__thumb img {
  transform: scale(1.04);
}

.ec-sale-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--ec-mint);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  letter-spacing: -0.02em;
}

.ec-card-cart-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  color: #777777;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ec-card-cart-btn:hover {
  color: var(--ec-mint);
  background-color: #f9fcfb;
}

.ec-card-cart-btn svg {
  width: 17px;
  height: 17px;
}

.ec-course-card__title {
  font-size: 18.5px;
  font-weight: 600;
  color: var(--ec-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}

.ec-course-card__title a:hover {
  color: var(--ec-mint);
}

.ec-course-card__price {
  font-size: 14.5px;
  color: var(--ec-text);
  font-weight: 500;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ec-course-card__price del {
  color: #aaaaaa;
  font-weight: 400;
}

.ec-course-card__price ins {
  text-decoration: none;
  color: var(--ec-mint);
  font-weight: 600;
}

.ec-stars {
  color: var(--ec-mint);
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}

.ec-course-card__meta {
  font-size: 13.5px;
  color: var(--ec-muted);
}

.ec-course-card__excerpt {
  font-size: 14.5px;
  color: var(--ec-text);
  line-height: 1.7;
  margin-top: 10px;
  margin-bottom: 16px;
}

/* Magazine 1-Column List */
.ec-magazine-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.ec-magazine-item {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}

.ec-magazine-item__thumb {
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #f2f5f7;
}

.ec-magazine-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ec-magazine-item:hover .ec-magazine-item__thumb img {
  transform: scale(1.03);
}

.ec-magazine-item__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--ec-dark);
  line-height: 1.38;
  margin-bottom: 10px;
}

.ec-magazine-item__title a:hover {
  color: var(--ec-mint);
}

/* Pagination */
.ec-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 56px;
}

.ec-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 30px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ec-dark);
  border-bottom: 2px solid transparent;
}

.ec-page-num.is-active,
.ec-page-num:hover {
  color: var(--ec-mint);
  border-bottom-color: var(--ec-mint);
}

/* ==========================================================================
   6. DEEP GREEN TESTIMONIAL WAVE BANNER
   ========================================================================== */
.ec-testimonial-wave {
  position: relative;
  background-color: var(--ec-deep-green);
  color: #ffffff;
  padding: 88px 0 96px;
  overflow: hidden;
}

.ec-testimonial-wave__svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  z-index: 0;
}

.ec-testimonial-slider {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  padding: 0 54px;
}

.ec-testimonial-slide {
  display: none;
  animation: ecFadeIn 0.35s ease;
}

.ec-testimonial-slide.is-active {
  display: block;
}

@keyframes ecFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.ec-testimonial-slide__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.ec-testimonial-slide__quote {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.65;
  color: #ffffff;
  margin-bottom: 24px;
}

.ec-testimonial-slide__author {
  font-size: 16px;
  font-weight: 600;
  color: var(--ec-mint);
  margin-bottom: 2px;
}

.ec-testimonial-slide__role {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}

.ec-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.ec-slider-arrow:hover {
  color: #ffffff;
}

.ec-slider-arrow--prev { left: 0; }
.ec-slider-arrow--next { right: 0; }

.ec-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.ec-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  transition: all 0.2s ease;
}

.ec-slider-dot.is-active {
  background-color: var(--ec-mint);
  transform: scale(1.25);
}

/* ==========================================================================
   7. VIDEO GUIDE & ABOUT STORY 2-COLUMN SECTIONS
   ========================================================================== */
.ec-split-2 {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.ec-split-2__eyebrow {
  font-size: 16px;
  font-weight: 600;
  color: var(--ec-mint);
  margin-bottom: 12px;
}

.ec-split-2__title {
  font-size: 32px;
  font-weight: 600;
  color: var(--ec-dark);
  line-height: 1.32;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.ec-split-2__text {
  font-size: 15.5px;
  color: var(--ec-text);
  line-height: 1.78;
  margin-bottom: 18px;
}

.ec-split-2__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ec-mint);
  margin-top: 10px;
}

.ec-split-2__link:hover {
  color: var(--ec-mint-hover);
}

.ec-video-box {
  position: relative;
  border-radius: var(--ec-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.ec-video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Overlapping 2-Cut Images */
.ec-overlap-photos {
  position: relative;
  padding-bottom: 48px;
}

.ec-overlap-photos__main {
  width: 78%;
  margin-left: auto;
  border-radius: var(--ec-radius);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.ec-overlap-photos__sub {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56%;
  border-radius: var(--ec-radius);
  overflow: hidden;
  border: 6px solid #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* About 6 Experience Items */
.ec-exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 44px;
}

.ec-exp-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.ec-exp-item__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--ec-mint);
  color: var(--ec-mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.ec-exp-item__title {
  font-size: 19px;
  font-weight: 600;
  color: var(--ec-dark);
  margin-bottom: 10px;
}

.ec-exp-item__desc {
  font-size: 14.5px;
  color: var(--ec-text);
  line-height: 1.72;
}

/* ==========================================================================
   8. INSTRUCTORS (CIRCULAR CARDS, CAROUSEL, ACCORDION, SINGLE)
   ========================================================================== */
.ec-instructor-card {
  text-align: center;
}

.ec-instructor-card__avatar {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background-color: #f0f4f6;
}

.ec-instructor-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ec-instructor-card:hover .ec-instructor-card__avatar img {
  transform: scale(1.05);
}

.ec-instructor-card__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ec-dark);
  margin-bottom: 4px;
}

.ec-instructor-card__name a:hover {
  color: var(--ec-mint);
}

.ec-instructor-card__role {
  font-size: 13.5px;
  color: var(--ec-muted);
}

/* Partners Row */
.ec-partners-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  align-items: center;
  text-align: center;
}

.ec-partner-item {
  padding: 16px 10px;
  color: #444444;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ec-partner-item:hover {
  transform: translateY(-3px);
}

.ec-partner-item__logo {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #2b333a;
}

.ec-partner-item__name {
  font-size: 13px;
  color: var(--ec-muted);
}

/* Accordion (Instructors Join Team & Course Curriculum) */
.ec-accordion {
  border-top: 1px solid var(--ec-border);
}

.ec-accordion__item {
  border-bottom: 1px solid var(--ec-border);
}

.ec-accordion__trigger {
  width: 100%;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ec-dark);
  transition: color 0.2s ease;
}

.ec-accordion__trigger:hover,
.ec-accordion__item.is-open .ec-accordion__trigger {
  color: var(--ec-mint);
}

.ec-accordion__icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.ec-accordion__item.is-open .ec-accordion__icon {
  transform: rotate(180deg);
}

.ec-accordion__body {
  display: none;
  padding: 0 0 20px;
  font-size: 14.5px;
  color: var(--ec-text);
  line-height: 1.75;
}

.ec-accordion__item.is-open .ec-accordion__body {
  display: block;
}

/* ==========================================================================
   9. DETAIL PAGES (product011, post001, person009, post014)
   ========================================================================== */
.ec-detail-hero {
  position: relative;
  background: linear-gradient(180deg, #dde6eb 0%, #eef3f6 72%, #ffffff 100%);
  padding: 54px 0 64px;
}

.ec-detail-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.ec-detail-hero__thumb {
  position: relative;
  border-radius: var(--ec-radius);
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}

.ec-detail-hero__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--ec-mint);
  font-weight: 500;
  margin-bottom: 14px;
}

.ec-detail-hero__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--ec-dark);
  line-height: 1.28;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.ec-detail-hero__lead {
  font-size: 15.5px;
  color: var(--ec-text);
  line-height: 1.75;
  margin-bottom: 24px;
}

.ec-detail-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--ec-mint);
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ec-detail-price del {
  font-size: 18px;
  font-weight: 400;
  color: #999999;
}

.ec-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ec-qty-input {
  width: 68px;
  height: 44px;
  border: 1px solid #d8e0e5;
  border-radius: var(--ec-radius);
  text-align: center;
  font-weight: 600;
}

.ec-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.ec-meta-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 42px;
}

.ec-meta-box {
  background-color: #f4fbf9;
  border: 1px solid #dcf2ec;
  border-radius: var(--ec-radius);
  padding: 18px 20px;
}

.ec-meta-box__label {
  font-size: 12.5px;
  color: var(--ec-muted);
  margin-bottom: 4px;
}

.ec-meta-box__val {
  font-size: 15px;
  font-weight: 700;
  color: var(--ec-dark);
}

.ec-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 36px;
}

.ec-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ec-text);
}

.ec-check-list li svg {
  width: 18px;
  height: 18px;
  color: var(--ec-mint);
  flex-shrink: 0;
  margin-top: 4px;
}

.ec-quote-box {
  background-color: #ebf9f6;
  border-radius: var(--ec-radius);
  padding: 40px 36px;
  text-align: center;
  margin: 34px 0;
}

.ec-quote-box__mark {
  font-size: 42px;
  line-height: 1;
  color: var(--ec-mint);
  font-weight: 800;
  margin-bottom: 12px;
}

.ec-quote-box__text {
  font-size: 19px;
  font-weight: 600;
  color: var(--ec-dark);
  margin-bottom: 12px;
}

.ec-quote-box__cite {
  font-size: 14px;
  color: var(--ec-muted);
}

/* Sidebar Widgets */
.ec-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ec-promo-card {
  position: relative;
  border-radius: var(--ec-radius);
  overflow: hidden;
  color: #ffffff;
  padding: 36px 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #1b2832;
}

.ec-promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.ec-promo-card__content {
  position: relative;
  z-index: 1;
}

.ec-promo-card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ec-promo-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.ec-widget-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ec-mint);
  margin-bottom: 18px;
}

.ec-mini-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ec-mini-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ec-mini-item img {
  width: 68px;
  height: 52px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.ec-mini-item__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ec-dark);
  line-height: 1.35;
  margin-bottom: 3px;
}

.ec-mini-item__title a:hover {
  color: var(--ec-mint);
}

.ec-mini-item__meta {
  font-size: 12.5px;
  color: var(--ec-muted);
}

/* ==========================================================================
   10. CONTACT, MY ACCOUNT, CART, CHECKOUT, TERMS, 404
   ========================================================================== */
.ec-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.ec-contact-col__head {
  font-size: 18px;
  font-weight: 600;
  color: var(--ec-mint);
  margin-bottom: 32px;
}

.ec-contact-block {
  margin-bottom: 36px;
}

.ec-contact-block__icon {
  color: var(--ec-mint);
  margin-bottom: 12px;
}

.ec-contact-block__icon svg {
  width: 24px;
  height: 24px;
}

.ec-contact-block__main {
  font-size: 17px;
  font-weight: 600;
  color: var(--ec-dark);
  margin-bottom: 6px;
  line-height: 1.45;
}

.ec-contact-block__sub {
  font-size: 14px;
  color: var(--ec-muted);
}

/* Forms (Login, Checkout, Comments, Reviews) */
.ec-form-group {
  margin-bottom: 22px;
}

.ec-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ec-dark);
  margin-bottom: 8px;
}

.ec-label .req {
  color: var(--ec-mint);
}

.ec-input,
.ec-select,
.ec-textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #dce3e8;
  border-radius: var(--ec-radius);
  background-color: #ffffff;
  font-size: 14.5px;
  color: var(--ec-dark);
  transition: border-color 0.2s ease;
}

.ec-textarea {
  height: auto;
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.ec-input:focus,
.ec-select:focus,
.ec-textarea:focus {
  outline: none;
  border-color: var(--ec-mint);
}

/* Cart & Checkout Tables */
.ec-cart-layout {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.ec-table {
  width: 100%;
  border-collapse: collapse;
}

.ec-table th,
.ec-table td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--ec-border);
  text-align: left;
  font-size: 14.5px;
}

.ec-table th {
  font-weight: 600;
  color: var(--ec-dark);
  background-color: #f9fbfc;
}

.ec-summary-box {
  background-color: #f8fafb;
  border: 1px solid var(--ec-border);
  border-radius: var(--ec-radius);
  padding: 32px;
}

.ec-summary-box__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ec-dark);
  margin-bottom: 20px;
}

.ec-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--ec-border);
  font-size: 14.5px;
}

.ec-summary-row--total {
  font-size: 18px;
  font-weight: 700;
  color: var(--ec-dark);
  border-bottom: none;
  padding-top: 18px;
}

/* 404 Page */
.ec-404-wrap {
  position: relative;
  padding: 110px 0 130px;
  text-align: center;
  overflow: hidden;
}

.ec-404-watermark {
  font-size: clamp(160px, 28vw, 350px);
  font-weight: 800;
  color: #f3f6f8;
  line-height: 0.85;
  user-select: none;
  pointer-events: none;
}

.ec-404-content {
  position: relative;
  z-index: 1;
  margin-top: -195px;
}

.ec-404-title {
  font-size: 26px;
  font-weight: 600;
  color: var(--ec-dark);
  margin: 26px 0 28px;
}

/* Terms Prose */
.ec-prose h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ec-dark);
  margin: 36px 0 14px;
}
.ec-prose h2:first-child {
  margin-top: 0;
}
.ec-prose h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ec-dark);
  margin: 24px 0 10px;
}
.ec-prose p, .ec-prose li {
  font-size: 14.5px;
  color: var(--ec-text);
  line-height: 1.8;
  margin-bottom: 12px;
}
.ec-prose ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 18px;
}

/* ==========================================================================
   11. DEEP GREEN FOOTER (ALL PAGES)
   ========================================================================== */
.ec-footer {
  position: relative;
  background-color: var(--ec-deep-green);
  color: #ffffff;
  padding: 74px 0 38px;
  overflow: hidden;
}

.ec-footer__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
  z-index: 0;
}

.ec-footer .ec-container {
  position: relative;
  z-index: 1;
}

.ec-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 48px;
}

.ec-footer__contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.ec-footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.ec-footer__contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--ec-mint);
}

.ec-footer__socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ec-footer__socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.ec-footer__socials a:hover {
  background-color: var(--ec-mint);
}

.ec-footer__mid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
}

.ec-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ec-footer__links a {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

.ec-footer__links a:hover {
  color: var(--ec-mint);
}

.ec-footer__heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--ec-mint);
  margin-bottom: 16px;
}

.ec-pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ec-pay-badge {
  background: #ffffff;
  color: #222222;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
}

.ec-footer__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.ec-footer__biz {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.ec-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   12. MODALS & DRAWERS (SEARCH, VIDEO LIGHTBOX, MINI CART, MOBILE MENU)
   ========================================================================== */
.ec-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 25, 32, 0.65);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.ec-modal-box {
  background: #ffffff;
  border-radius: var(--ec-radius);
  width: 92%;
  max-width: 640px;
  padding: 36px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.ec-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  color: var(--ec-dark);
  font-size: 22px;
}

/* Mobile Drawer */
.ec-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 86vw;
  height: 100vh;
  background: #ffffff;
  z-index: 2100;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
}

.ec-drawer.is-open {
  transform: translateX(0);
}

.ec-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ec-border);
  margin-bottom: 18px;
}

.ec-drawer__nav a {
  display: block;
  padding: 11px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ec-dark);
  border-bottom: 1px solid #f2f5f7;
}

.ec-drawer__nav a.sub {
  padding-left: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ec-text);
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS (1024px, 768px, 375px)
   ========================================================================== */
@media (max-width: 1024px) {
  .ec-nav {
    display: none;
  }
  .ec-burger {
    display: inline-flex;
  }
  .ec-home-hero__grid,
  .ec-split-2,
  .ec-detail-hero__grid,
  .ec-detail-layout,
  .ec-cart-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ec-hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .ec-grid-3,
  .ec-grid-4,
  .ec-exp-grid,
  .ec-contact-grid,
  .ec-footer__mid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ec-partners-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .ec-container {
    padding: 0 20px;
  }
  .member-bar__inner {
    padding: 0 16px;
  }
  .member-bar__info .hide-mobile {
    display: none;
  }
  .ec-header {
    height: 70px;
  }
  .ec-header__inner {
    padding: 0 20px;
  }
  .ec-header__utils {
    margin-left: auto;
    padding-left: 0;
    border-left: none;
    gap: 12px;
  }
  .ec-home-hero {
    padding: 40px 0 48px;
  }
  .ec-home-hero__title {
    font-size: 30px;
  }
  .ec-page-hero {
    padding: 38px 0 32px;
  }
  .ec-page-hero__title {
    font-size: 28px;
  }
  .ec-hero-features,
  .ec-grid-3,
  .ec-grid-2,
  .ec-grid-4,
  .ec-exp-grid,
  .ec-contact-grid,
  .ec-magazine-item,
  .ec-meta-boxes,
  .ec-footer__mid {
    grid-template-columns: 1fr;
  }
  .ec-partners-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .ec-section {
    padding: 56px 0;
  }
  .ec-sec-head__title,
  .ec-split-2__title,
  .ec-detail-hero__title {
    font-size: 25px;
  }
  .ec-testimonial-slider {
    padding: 0 16px;
  }
  .ec-testimonial-slide__quote {
    font-size: 17px;
  }
  .ec-slider-arrow {
    display: none;
  }
  .ec-404-content {
    margin-top: -90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
