.videos-page { background: #fff; }

.videos-hero {
  position: relative;
  min-height: 565px;
  display: flex;
  align-items: center;
  padding: 86px 0 145px;
  overflow: hidden;
  background: var(--cream);
}
.videos-hero-image,.videos-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.videos-hero-image { object-fit: cover; object-position: center; }
.videos-hero-shade { background: linear-gradient(90deg,rgba(251,248,242,.99) 0%,rgba(251,248,242,.95) 34%,rgba(251,248,242,.62) 57%,rgba(7,59,58,.08) 100%); }
.videos-hero::after {
  display: none;
}
.videos-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.videos-orb-one { width: 180px; height: 180px; left: -92px; bottom: 22px; background: rgba(232,121,101,.08); }
.videos-orb-two { width: 46px; height: 46px; left: 49%; top: 72px; border: 11px solid rgba(232,121,101,.15); }
.videos-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; align-items: center; }
.videos-hero-copy { max-width: 800px; }
.videos-hero h1 {
  margin: 20px 0 22px;
  color: var(--green-950);
  font: 800 clamp(44px, 5vw, 68px)/1.04 "Manrope", sans-serif;
  letter-spacing: -.05em;
}
.videos-hero h1 em { color: var(--coral-dark); font-style: normal; }
.videos-hero-copy > p { max-width: 700px; margin: 0; color: var(--ink-soft); font-size: 18px; line-height: 1.75; }
.videos-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 31px; }
.youtube-link { display: inline-flex; align-items: center; gap: 10px; color: var(--green-900); font-size: 14px; font-weight: 800; }
.youtube-mark, .channel-mark {
  display: grid;
  place-items: center;
  background: #e5483d;
  color: #fff;
  box-shadow: 0 8px 20px rgba(229,72,61,.22);
}
.youtube-mark { width: 39px; height: 29px; border-radius: 8px; }
.youtube-mark .material-symbols-rounded, .channel-mark .material-symbols-rounded { font-variation-settings: "FILL" 1; }
.videos-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(7,59,58,.12); }
.videos-trust > span { display: inline-flex; align-items: center; gap: 7px; color: var(--green-900); font-size: 13px; font-weight: 700; }
.videos-trust .material-symbols-rounded { color: var(--coral-dark); font-size: 20px; }

.hero-feature {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px 28px 28px 7px;
  background: var(--green-900);
  box-shadow: 0 35px 75px rgba(7,59,58,.22);
  cursor: pointer;
}
.hero-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hero-feature:hover > img { transform: scale(1.035); }
.hero-feature-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,31,30,.94), rgba(4,31,30,.02) 68%); }
.featured-label { position: absolute; top: 24px; left: 24px; padding: 7px 12px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--green-900); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.hero-play {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 6px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: var(--coral);
  color: white;
  box-shadow: 0 14px 32px rgba(0,0,0,.24);
  transition: transform .2s, background .2s;
}
.hero-feature:hover .hero-play { transform: translate(-50%, -50%) scale(1.08); background: var(--coral-dark); }
.hero-play .material-symbols-rounded { font-size: 36px; font-variation-settings: "FILL" 1; }
.hero-feature-caption { position: absolute; left: 29px; right: 29px; bottom: 25px; color: white; }
.hero-feature-caption p { margin: 0 0 7px; color: #9dddd4; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.hero-feature-caption h2 { max-width: 510px; margin: 0; font: 700 clamp(21px, 2.5vw, 29px)/1.25 "Manrope", sans-serif; letter-spacing: -.02em; text-transform: none; }
.watch-now { position: absolute; right: 0; bottom: 4px; display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: 13px; font-weight: 800; }
.watch-now .material-symbols-rounded { font-size: 17px; }

.video-search-bridge { position: relative; z-index: 8; height: 0; }
.video-search-card {
  transform: translateY(-50%);
  padding: 23px 27px 18px;
  border: 1px solid rgba(7,59,58,.08);
  border-radius: 20px;
  background: white;
  box-shadow: 0 24px 65px rgba(7,59,58,.14);
}
.video-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; }
.video-search > .material-symbols-rounded { color: var(--green-700); font-size: 28px; }
.video-search input { min-width: 0; height: 52px; padding: 0 4px; border: 0; outline: 0; color: var(--ink); font-size: 16px; }
.video-search input::placeholder { color: #8a9a99; }
.quick-video-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0 42px; color: var(--muted); font-size: 13px; }
.quick-video-filters button { padding: 6px 11px; border: 0; border-radius: 99px; background: var(--green-50); color: var(--green-800); font-size: 12px; font-weight: 700; }
.quick-video-filters button:hover { background: var(--green-100); }

.video-library-section { padding: 155px 0 110px; }
.video-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.video-library-heading h2 { margin: 9px 0 8px; color: var(--green-950); font: 800 clamp(31px, 4vw, 45px)/1.15 "Manrope", sans-serif; letter-spacing: -.035em; }
.video-library-heading p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.video-library-heading > a { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: var(--green-700); font-size: 13px; font-weight: 800; }
.video-library-heading > a .material-symbols-rounded { font-size: 18px; }
.video-filter-bar { display: flex; gap: 9px; padding-bottom: 19px; overflow-x: auto; scrollbar-width: thin; }
.video-filter-bar button {
  min-height: 39px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: white;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}
.video-filter-bar button:hover, .video-filter-bar button.active { border-color: var(--green-900); background: var(--green-900); color: white; }
.video-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.library-status { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.library-status p { margin: 0; color: var(--muted); font-size: 13px; }
.library-status p strong { color: var(--green-950); }
.library-status label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; }
.library-status select { padding: 8px 31px 8px 10px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: white; color: var(--green-950); font-size: 13px; font-weight: 700; }
.library-status select:focus { border-color: var(--green-700); }
.video-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.library-video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.library-video-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lg); }
.video-thumbnail { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 0; background: var(--green-100); color: white; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.library-video-card:hover .video-thumbnail img { transform: scale(1.045); }
.video-thumbnail::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,31,30,.4), transparent 60%); opacity: .75; transition: opacity .2s; }
.library-video-card:hover .video-thumbnail::after { opacity: 1; }
.card-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(.88);
  border-radius: 50%;
  background: rgba(255,255,255,.93);
  color: var(--green-900);
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.library-video-card:hover .card-play, .video-thumbnail:focus .card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card-play .material-symbols-rounded { font-size: 29px; font-variation-settings: "FILL" 1; }
.video-duration { position: absolute; right: 10px; bottom: 9px; z-index: 3; padding: 3px 7px; border-radius: 5px; background: rgba(3,22,21,.9); color: white; font-size: 11px; font-weight: 700; }
.video-card-body { padding: 21px 21px 20px; }
.video-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.video-category { color: var(--coral-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.video-views { color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.video-card-body h3 { min-height: 52px; margin: 0 0 10px; color: var(--green-950); font: 700 17px/1.48 "Manrope", sans-serif; }
.video-card-body h3 a { color: inherit; text-align: left; text-decoration: none; }
.video-card-body h3 a:hover { color: var(--green-700); }
.video-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.video-card-foot span:last-child { display: inline-flex; align-items: center; gap: 4px; color: var(--green-700); font-weight: 800; }
.video-card-foot .material-symbols-rounded { font-size: 16px; }
.load-more-videos {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 34px auto 0;
  padding: 0 25px;
  border: 1px solid var(--green-900);
  border-radius: 11px;
  background: white;
  color: var(--green-900);
  font-weight: 800;
}
.load-more-videos:hover { background: var(--green-50); }
.video-empty { padding: 60px 25px; border: 1px dashed #bfd3cf; border-radius: 18px; background: var(--green-50); text-align: center; }
.video-empty > .material-symbols-rounded { color: var(--green-700); font-size: 48px; }
.video-empty h3 { margin: 13px 0 6px; color: var(--green-950); font: 700 22px "Manrope", sans-serif; }
.video-empty p { margin: 0 0 19px; color: var(--ink-soft); }

.video-sidebar { display: grid; gap: 22px; }
.sidebar-card { padding: 24px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: var(--shadow-sm); }
.sidebar-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sidebar-title > .material-symbols-rounded { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--coral-soft); color: var(--coral-dark); }
.sidebar-title small { display: block; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.sidebar-title h2, .sidebar-card > h2, .channel-card h2 { margin: 1px 0 0; color: var(--green-950); font: 700 19px/1.3 "Manrope", sans-serif; }
.popular-video { display: grid; grid-template-columns: 88px 1fr; gap: 11px; width: 100%; padding: 13px 0; border: 0; border-top: 1px solid var(--line); background: none; color:inherit; text-align: left; text-decoration:none; }
.popular-video:first-child { border-top: 0; }
.popular-video img { width: 88px; height: 54px; object-fit: cover; border-radius: 8px; }
.popular-video strong { display: block; color: var(--green-950); font: 700 12px/1.4 "Manrope", sans-serif; }
.popular-video small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.popular-video:hover strong { color: var(--green-700); }
.topic-request { border: 0; background: var(--green-900); color: white; }
.request-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 23px; border-radius: 14px; background: rgba(255,255,255,.12); color: #8addd1; font-size: 27px; }
.topic-request .kicker { color: #8addd1; }
.topic-request > h2 { margin: 8px 0 10px; color: white; font-size: 22px; }
.topic-request > p:not(.kicker) { margin: 0 0 20px; color: #c3d7d4; font-size: 13px; line-height: 1.65; }
.button-light { background: white; color: var(--green-900); }
.button-light:hover { background: var(--green-50); }
.topic-request .button { width: 100%; min-height: 46px; font-size: 13px; }
.channel-card { display: grid; gap: 15px; background: var(--cream); }
.channel-mark { width: 54px; height: 39px; border-radius: 11px; }
.channel-card p { margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; }
.channel-card .button { width: 100%; min-height: 46px; padding-inline: 14px; font-size: 12px; }

.videos-care-note { padding: 0 0 105px; }
.care-note-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 34px 38px; border-radius: 24px; background: var(--cream); }
.care-note-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; background: var(--coral-soft); color: var(--coral-dark); }
.care-note-icon .material-symbols-rounded { font-size: 32px; }
.care-note-inner h2 { margin: 4px 0 6px; color: var(--green-950); font: 700 23px/1.3 "Manrope", sans-serif; }
.care-note-inner p { max-width: 700px; margin: 0; color: var(--ink-soft); font-size: 14px; }

.video-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 25px; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.video-modal.open { visibility: visible; opacity: 1; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(2,21,20,.86); backdrop-filter: blur(10px); }
.video-modal-panel { position: relative; z-index: 1; width: min(100%, 980px); overflow: hidden; border-radius: 22px; background: white; box-shadow: 0 35px 100px rgba(0,0,0,.38); transform: translateY(18px) scale(.98); transition: transform .25s; }
.video-modal.open .video-modal-panel { transform: none; }
.video-modal-close { position: absolute; z-index: 3; top: 13px; right: 13px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(3,25,24,.78); color: white; }
.video-player { aspect-ratio: 16 / 9; background: #031817; }
.video-player iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-modal-copy { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 20px 24px 23px; }
.video-modal-copy span:first-child { color: var(--coral-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.video-modal-copy h2 { margin: 4px 0 0; color: var(--green-950); font: 700 20px/1.35 "Manrope", sans-serif; }
.video-modal-copy > a { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; color: var(--green-700); font-size: 12px; font-weight: 800; }
.video-modal-copy > a .material-symbols-rounded { font-size: 17px; }

@media (max-width: 1050px) {
  .videos-hero-grid { gap: 42px; }
  .hero-feature { min-height: 390px; }
  .video-content-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 25px; }
  .watch-now { display: none; }
}

@media (max-width: 880px) {
  .videos-hero { min-height: 700px; align-items: flex-end; padding: 70px 0 125px; }
  .videos-hero-image { object-position: 62% center; }
  .videos-hero-shade { background: linear-gradient(to top,rgba(251,248,242,.99) 4%,rgba(251,248,242,.95) 62%,rgba(251,248,242,.2) 100%); }
  .videos-hero-grid { grid-template-columns: 1fr; }
  .videos-hero-copy { max-width: 690px; }
  .hero-feature { min-height: 470px; }
  .video-content-layout { grid-template-columns: 1fr; }
  .video-sidebar { grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
  .most-watched { grid-column: 1 / -1; }
  .most-watched > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
  .popular-video { grid-template-columns: 1fr; padding-top: 0; border-top: 0; }
  .popular-video img { width: 100%; height: 100px; }
  .care-note-inner { grid-template-columns: auto 1fr; }
  .care-note-inner > .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 640px) {
  .videos-hero { min-height: 760px; padding: 58px 0 105px; }
  .videos-hero-image { object-position: 55% center; }
  .videos-hero h1 { font-size: clamp(39px, 12vw, 54px); }
  .videos-hero-copy > p { font-size: 17px; }
  .videos-hero-actions .button, .youtube-link { width: 100%; justify-content: center; }
  .videos-trust { gap: 13px 19px; }
  .hero-feature { min-height: 350px; border-radius: 22px 22px 22px 6px; }
  .hero-play { width: 62px; height: 62px; }
  .hero-feature-caption { left: 20px; right: 20px; bottom: 19px; }
  .video-search-card { padding: 18px; }
  .video-search { grid-template-columns: auto 1fr; }
  .video-search .button { grid-column: 1 / -1; width: 100%; }
  .quick-video-filters { margin-left: 0; }
  .video-library-section { padding-top: 175px; padding-bottom: 80px; }
  .video-library-heading { align-items: flex-start; flex-direction: column; }
  .video-card-grid { grid-template-columns: 1fr; }
  .library-status { align-items: flex-start; flex-direction: column; }
  .video-card-body h3 { min-height: 0; }
  .video-sidebar { grid-template-columns: 1fr; }
  .most-watched { grid-column: auto; }
  .most-watched > div:last-child { grid-template-columns: 1fr; }
  .popular-video { grid-template-columns: 88px 1fr; padding: 13px 0; border-top: 1px solid var(--line); }
  .popular-video:first-child { border-top: 0; }
  .popular-video img { width: 88px; height: 54px; }
  .care-note-inner { grid-template-columns: 1fr; padding: 28px 24px; }
  .care-note-inner > .button { grid-column: auto; justify-self: stretch; }
  .video-modal { padding: 12px; }
  .video-modal-panel { border-radius: 15px; }
  .video-modal-copy { align-items: flex-start; flex-direction: column; gap: 11px; padding: 16px 18px 19px; }
  .video-modal-copy h2 { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-feature > img, .library-video-card, .video-thumbnail img, .video-modal-panel { transition: none; }
}
