.videos-page .video-main {padding-block: 3rem 4rem;}
.videos-page .video-intro {max-width: 48rem; margin-bottom: 2rem;}
.videos-page .video-intro h1 {font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.4; margin: .6rem 0 1rem;}
.videos-page .video-intro p {color: var(--muted, #59656a); line-height: 1.9;}
.videos-page .library-notice {display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding: 1.25rem 1.5rem; border: 1px solid var(--border, #deded6); border-radius: 1rem; background: var(--white, #fff); margin-bottom: 1.5rem;}
.videos-page .library-notice p {margin: 0; flex: 1 1 20rem; line-height: 1.8;}
.videos-page #library-status[data-state="error"], .videos-page #library-status[data-state="delayed"] {color: #854512;}
.videos-page .channel-link {color: var(--green, #24645a); font-weight: 700; text-decoration: underline; text-underline-offset: .3em;}
.videos-page #youmax {width: 100%; max-width: 1080px !important; margin-inline: auto; box-sizing: border-box; border-radius: 1.25rem; overflow: hidden; direction: rtl; text-align: right; background: var(--white, #fff) !important; color: var(--ink, #1b3035);}
.videos-page #youmax input, .videos-page #youmax select, .videos-page #youmax button, .videos-page #youmax div, .videos-page #youmax span, .videos-page #youmax p {font-family: inherit;}
.videos-page #youmax #youmax-header {min-height: 12rem; height: auto; background-color: #183a36 !important;}
.videos-page #youmax #youmax-header-wrapper {padding: 1.5rem; height: auto; background: rgba(9, 32, 30, .72);}
.videos-page #youmax #youmax-header-wrapper > a {width: 100%; display: flex; gap: 1.25rem; align-items: center; height: auto; color: #fff;}
.videos-page #youmax .youmax-channel-icon {width: auto; float: none; flex: 0 0 auto; height: auto;}
.videos-page #youmax .youmax-channel-icon img {height: 5rem; width: 5rem; margin: 0; border-radius: 50%;}
.videos-page #youmax .youmax-channel-data-holder {display: block !important; float: none; width: auto; max-width: none; margin: 0; overflow: visible;}
.videos-page #youmax .youmax-channel-title {float: none; height: auto; max-height: none; line-height: 1.6; font-size: 1.4rem; width: auto; padding: 0; overflow: visible; white-space: normal;}
.videos-page #youmax #youmax-header-counts {width: auto; display: flex; flex-wrap: wrap; gap: 1rem; padding: .75rem 0 0; margin: 0;}
.videos-page #youmax .youmax-header-posts, .videos-page #youmax .youmax-header-followers {margin: 0;}
.videos-page #youmax .youmax-subscribe {position: static; width: auto; height: auto; display: block; margin-top: 1rem;}
.videos-page #youmax .youmax-select-box-wrapper {margin: 1.5rem;}
.videos-page #youmax #youmax-select-box {display: flex !important; height: auto; border-radius: .75rem; margin: 0; background: #fff; overflow: visible;}
.videos-page #youmax #youmax-search-holder {display: flex; align-items: center; float: none; width: 65%; height: auto; min-height: 3.5rem; position: relative;}
.videos-page #youmax #youmax-search-box {width: 100%; height: 3.5rem; box-sizing: border-box; padding: .65rem 1rem .65rem 3rem; margin: 0; font-size: 1rem; line-height: 1.5; text-align: right; border: 0; border-radius: .75rem 0 0 .75rem;}
.videos-page #youmax .youmax-search-icon {position: absolute; left: .6rem; right: auto; top: 50%; transform: translateY(-50%); cursor: pointer; padding: .55rem; color: #245a51; font-size: 1.15rem;}
.videos-page #youmax #youmax-select {float: none; width: 35%; height: auto; min-height: 3.5rem; margin: 0; padding: .6rem .9rem; font-size: 1rem; border: 0; border-right: 1px solid #d9e0da; border-left: 0; border-radius: .75rem; background: #f8faf7; color: #183a36; direction: rtl;}
.videos-page #youmax #youmax-select-box > .fa-caret-down {display: none;}
.videos-page #youmax #youmax-video-list-div {padding-top: 1.25rem; background: #f6f7f3 !important;}
.videos-page #youmax .youmax-title-desc-holder {text-align: right; direction: rtl;}
.videos-page #youmax .youmax-video-list-title {line-height: 1.75; height: auto; min-height: 3.5rem; font-size: 1rem;}
.videos-page #youmax .youmax-video-list-date {direction: rtl;}
.videos-page #youmax .youmax-main-thumbnail {cursor: pointer;}
.videos-page #youmax .youmax-not-found {padding: 3rem 1rem; text-align: center; line-height: 1.9;}
.videos-page #youmax .youmax-title-desc-holder, .videos-page #youmax .youmax-thumbnail-image-wrapper {border-radius: .7rem;}
.videos-page #youmax #youmax-load-more-div {width: auto; min-width: 10rem; max-width: calc(100% - 2rem); border-radius: .75rem; font-size: 1rem; height: auto; min-height: 3rem; padding: .75rem 1.5rem; box-sizing: border-box; background: #245a51; color: #fff;}
.videos-page #youmax input:focus-visible, .videos-page #youmax select:focus-visible, .videos-page #youmax [role="button"]:focus-visible {outline: 3px solid #dcac65; outline-offset: 3px;}
.videos-page .mfp-wrap {direction: rtl;}
.videos-page .photo-popup-title, .videos-page .photo-popup-description {direction: rtl; text-align: right; font-family: inherit;}
@media (max-width: 620px) {
  .videos-page .video-main {padding-block: 2rem 3rem;}
  .videos-page .library-notice {padding: 1rem;}
  .videos-page #youmax #youmax-header-wrapper {padding: 1.25rem;}
  .videos-page #youmax #youmax-header-wrapper > a {align-items: flex-start; gap: .8rem;}
  .videos-page #youmax .youmax-channel-icon img {height: 3.5rem; width: 3.5rem; margin: .3rem 0 0;}
  .videos-page #youmax .youmax-channel-title {font-size: 1.1rem;}
  .videos-page #youmax #youmax-header-counts {gap: .7rem;}
  .videos-page #youmax .youmax-count {font-size: .8rem;}
  .videos-page #youmax .youmax-select-box-wrapper {margin: 1rem;}
  .videos-page #youmax #youmax-select-box {flex-direction: column; overflow: hidden;}
  .videos-page #youmax #youmax-search-holder, .videos-page #youmax #youmax-select {width: 100%;}
  .videos-page #youmax #youmax-select {border-right: 0; border-top: 1px solid #d9e0da; border-radius: 0;}
  .videos-page #youmax .youmax-grid-item {width: 96% !important; margin-inline: 2% !important;}
  .videos-page #youmax .youmax-video-list-title {font-size: 1rem;}
}
