/*
Theme Name: Hope Now
Theme URI: https://www.webtaculos.com
Description: Hope Now Theme
Author: Alex Burdulea
Author URI: https://www.webtaculos.com
Version: 1.0.0.1
*/
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  text-align: center;
  max-width: 100%;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 12px;
  line-height: 18px;
  margin: 0;
  padding: 5px 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

body, html {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  background-color: #fff;
}

.template-homepage body,
html.template-homepage,
.archive-page body,
html.archive-page {
  height: 100%;
  overflow: hidden;
}

h1 {
  margin-bottom: 1.7rem;
  font-weight: bold;
}

.main-container {
  display: flex;
  height: 100%;
}

.sidebar {
  width: 250px;
  background-color: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  padding: 20px;
  justify-content: space-between;
}

.logo {
  display: block;
  width: 120px;
  margin-bottom: 30px;
}

.menu ul {
  list-style: none;
  padding: 0;
}

.menu li {
  margin: 15px 0;
}

.menu a {
  text-decoration: none;
  font-size: 24px;
  color: #000;
  font-weight: bold;
  font-family: "Open Sans", sans-serif;
  text-decoration: none;
}

.menu li.active a,
.menu a:hover {
  text-decoration: none;
  color: #6EC6D1;
}

.sidebar-bottom .menu a {
  font-size: 18px;
  font-weight: 500;
  color: #888;
}

.video-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  overflow-x: hidden;
}

.section-style {
  width: 90%;
  padding-top: 100px;
  padding-left: 50px;
  box-sizing: border-box;
}

.buttons-holder {
  margin-left: 20px;
  align-self: flex-end;
  margin-bottom: 2.5%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-wrapper {
  height: 100vh;
  min-height: 99vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  position: relative;
  padding-right: 0;
  /* Added to handle more-info padding */
  transition: padding-right 0.3s;
  /* Smooth transition for padding */
}

.tag-cloud-link {
  display: inline-block;
  flex-grow: 1;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 20px;
  margin: 5px 5px 0px 0px;
  text-decoration: none;
  background-color: var(--base-5);
  color: var(--base-3);
  font: "Oxygen", "Arial", Sans-Serif;
  text-transform: uppercase;
  border-radius: 20px;
  line-height: initial;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
  background: rgba(100, 100, 100, 0.1);
  max-width: 100%;
  white-space: nowrap;   /* Prevent text from wrapping */
  overflow: hidden;      /* Hide overflowing text */
  text-overflow: ellipsis; /* Add "..." at the end */
}

.tag-cloud-link:hover {
  background: rgba(100, 100, 100, 0.2);
}

.video-holder {
  height: 95%;
  position: relative;
}

.video-holder .plyr {
  border-radius: 20px;
  overflow: hidden;
}

.plyr {
  height: 100%;
  width: auto;
}

.info {
  text-align: left;
  margin-top: 10px;
  bottom: 60px;
  position: absolute;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  transition: opacity 0.3s;
  border-radius: 0 0 20px 20px;
  width: 100%;
  padding-bottom: 0;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  box-sizing: border-box;
}

.video-holder .plyr::after {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  height: 180px;
  content: '';
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0.01) 21%, rgba(0, 0, 0, 0.02) 29%, rgba(0, 0, 0, 0.03) 35%, rgba(0, 0, 0, 0.04) 40%, rgba(0, 0, 0, 0.06) 45%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.1) 52%, rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.14) 60%, rgba(0, 0, 0, 0.16) 65%, rgba(0, 0, 0, 0.18) 71%, rgba(0, 0, 0, 0.2) 79%, rgba(0, 0, 0, 0.22) 88%, rgba(0, 0, 0, 0.24) 100%);
}

.more-info-btn {
  font-size: 28px;
  margin-top: 10px;
  padding: 20px;
  background-color: #E6E6E6;
  color: #000;
  border: none;
  cursor: pointer;
  border-radius: 100%;
  width: 74px;
  height: 74px;
  box-sizing: border-box;
}

.share-video-btn {
  font-size: 28px;
  margin-top: 10px;
  padding: 20px;
  background-color: #E6E6E6;
  color: #000;
  border: none;
  cursor: pointer;
  border-radius: 100%;
  width: 74px;
  height: 74px;
  box-sizing: border-box;
}

.more-info-btn:hover {
  background-color: #555;
}

.more-info {
  position: absolute;
  top: 50%;
  right: -33vw;
  /* Start off-screen */
  width: 33vw;
  background-color: #F7F7F7;
  border: 1px solid #eee;
  color: #000;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  transition: right 0.3s ease-in-out;
  /* Animate the right property */
  transform: translateY(-50%);
}

.more-info-author {
  background: #eee;
  font-weight: bold;
  padding: 10px 15px;
  display: flex;
  align-content: center;
  align-items: center;
  position: relative;
}

.more-info-author img {
  border-radius: 100%;
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.more-info-description {
  padding: 15px 15px;
}

.more-info-description a.video-tag {
  color: #777;
  font-weight: 600;
  text-decoration: underline;
}

.more-info-more {
  padding: 35px 15px 25px;
  background: #FFF;
}

.more-info-more a {
  font-weight: 600;
  color: #000;
}

.more-info-description p:last-child {
  margin-bottom: 0;
}

.tags {
  margin-bottom: 10px;
}

.tags a {
  font-size: 16px;
  font-weight: bold;
  color: #FFF;
  text-decoration: none;
}

.tags a:hover {
  text-decoration: underline;
}

.video-wrapper.expanded-padding {
  padding-right: 20%;
}

.more-info.expanded {
  right: 2vw;
  /* Adjust the position when expanded */
  /* Add additional styles for the expanded state if needed */
}

.more-info-btn.active {
  /* Customize button appearance when active */
  background-color: #f0f0f0;
  border-color: #ccc;
}

.video-wrapper.exp {
  padding-right: 20%;
}

.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  padding-bottom: 120px;
}

.column-section {
  border: 2px solid #D1D1D1;
  height: 100%;
  display: block;
  text-decoration: none;
  color: #212529;
  position: relative;
}

.column-icon-holder {
  background: #D1D1D1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
}

.column-icon {
  max-width: 100px;
  width: 80%;
}

.section-style .main-width {
  max-width: 1400px;
}

.column-icon-content {
  padding: 10px;
}

.column-icon-content p {
  margin-bottom: 0;
}

.column-icon-content h3 {
  font-weight: bold;
}

.icon-section {
  display: flex;
  height: 100%;
  align-items: center;
  border: 2px solid #D1D1D1;
}

.icon-section-icon-holder {
  width: 80px;
  background: #D1D1D1;
  padding: 10px;
  height: 100%;
  align-content: center;
  justify-content: center;
  display: flex;
  align-items: center;
}

.icon-section-icon-content {
  padding: 10px 15px;
}

.icon-section-icon-content p {
  margin-bottom: 0;
}

.icon-section-icon-content h3 {
  font-weight: bold;
}

.icon-section-icon {
  width: 40px;
}

.section-long-video {
  width: 100%;
}

.long-video-holder iframe {
  border-radius: 20px;
}

.long-video-description {
  padding-top: 20px;
}

.close-btn-mobile {
  position: absolute;
  right: 30px;
  top: 50%;
  cursor: pointer;
  font-size: 30px;
  text-align: center;
  transform: translateY(-50%);
  display: none;
}

.mobile-logo {
  display: none;
}

.mobile-menu {
  display: none;
}

.m-menu ul {
  display: flex;
  gap: 25px;
  justify-content: space-between;
  padding: 10px 20px;
  list-style: none;
  margin-bottom: 0;
  flex-direction: column;
  font-size: 26px;
}

.m-menu ul li {
  padding: 4px 0 0 0;
}

.m-menu ul li a {
  text-decoration: none;
  color: #FFF;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: bold;
  /* Optional: Centers the text and icon */
}

.m-menu ul li a i {
  font-size: 26px;
  margin-right: 20px;
}

.mobile-menu-open {
  display: none;
  position: fixed;
  right: 10px;
  top: 10px;
  z-index: 98;
  width: 56px;
  height: 56px;
  justify-content: center;
  font-size: 20px;
  background-color: #E6E6E6;
  color: #000;
  border-radius: 100%;
  justify-content: center;
  align-content: center;
  align-items: center;
  cursor: pointer;
}

.close-mobile-menu {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  position: absolute;
  top: 10px;
  right: 10px;
  color: #FFF;
  font-size: 30px;
  cursor: pointer;
  justify-content: center;
  align-content: center;
  display: flex;
  align-content: center;
  align-items: center;
}

.a2a_kit {
  display: none;
  position: fixed;
  background: white;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
}

.a2a_kit a {
  display: inline-block;
  font-size: 28px !important;
  /* Make icons larger */
  width: 50px;
  /* Adjust button size */
  height: 50px;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.a2a_kit .a2a_svg {
  width: 50px !important;
  height: 50px !important;
}

.a2a_kit a:hover {
  background: #ddd;
  /* Slightly darker hover effect */
}

.a2a-show {
  display: flex !important;
  /* Show when toggled */
  gap: 10px;
}

.section-page h1 {
  margin-bottom: 2rem;
}

.video-holder {
  position: relative;
}

.custom-mute-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 18px;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 56px;
}

.custom-mute-button i {
  font-size: 20px;
}

.custom-mute-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.video-tags-holeder {
  margin-top: 18px;
}

.external-link {
  position: absolute;
  right: 10px;
  top: 10px;
}

.box {
  display: block;
  position: absolute;
  bottom: 70px;
}

.box span {
  width: 20px;
  height: 20px;
  display: block;
  border-right: 2px solid #6ec6d1;
  border-bottom: 2px solid #6ec6d1;
  transform: rotate(45deg);
  margin: -10px;
  animation: animate 2s infinite;
}

.box span:nth-child(2) {
  animation-delay: -0.2s;
}

.box span:nth-child(3) {
  animation-delay: -0.4s;
}

.top-part-long-video {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.time-info {
  border-radius: 4px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.5);
  align-self: flex-start;
  color: #FFF;
  margin-left: 10px;
}

a.video-tag {
  background: rgba(100, 100, 100, 0.1);
  border-radius: 3px;
  padding: 4px 8px;
  margin-right: 5px;
  color: #212529;
  text-decoration: none;
}

a.video-tag:hover {
  background: rgba(100, 100, 100, 0.2);
}

.video-holder a.video-tag {
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.video-holder a.video-tag:hover {
  background: rgba(255, 255, 255, 0.9);
}

.tag-style {
  display: flex;
  font-size: 24px;
  font-weight: 600;
  padding: 5px 20px;
  margin: 5px 5px 0px 0px;
  text-decoration: none;
  border-radius: 20px;
  line-height: initial;
  background: rgba(100, 100, 100, 0.1);
  max-width: 95%;
}

.tag-style:hover {
  background: rgba(100, 100, 100, 0.2);
}
h1.tag-style{
  background: #EFEFEF;
}
.tag-style.fixed{
    position: fixed;
    top: 30px;
    padding: 5px 10px;
    z-index: 98;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.tag-style span{
  width: 100%;
  white-space: nowrap;   /* Prevent text from wrapping */
  overflow: hidden;      /* Hide overflowing text */
  text-overflow: ellipsis; /* Add "..." at the end */
}


@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}


.mute-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    z-index: 10;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease-in-out;
}

.mute-indicator.pulsing {
    animation: pulse 0.6s ease-in-out 2;
}



@keyframes animate {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
    transform: rotate(45deg) translate(10px, 10px);
  }

  100% {
    opacity: 0;
  }
}
.tag-style a{
  color: #000;
  display: none;
}
.tag-style.fixed a{
  display: inline-block;
  margin-left: 4px;
}
@media only screen and (max-width: 1800px) {
  .video-wrapper.exp {
    padding-right: 30vw;
  }
}

@media only screen and (max-width: 1300px) {
  .video-wrapper.exp {
    padding-right: 35vw;
    height: 100vh;
  }

  .sidebar {
    width: 20vw;
  }
}

@media only screen and (max-width: 1100px) {
  .menu a {
    font-size: 20px;
  }
}

@media only screen and (max-width: 1000px) {
  .menu a {
    white-space: nowrap;
  }

  .sidebar {
    width: 15vw;
  }

  .video-wrapper.exp {
    padding-right: 0;
    height: 100vh;
  }

  .buttons-holder {
    margin-left: 20px;
    position: absolute;
    right: 10px;
  }

  .more-info.expanded {
    right: 1%;
    width: 99%;
    bottom: 0;
    top: auto;
    transform: none;
  }

  .more-info {
    bottom: 0;
    top: auto;
    right: -100vw;
    width: 100vw;
    transform: none;
  }

  .close-btn-mobile {
    display: block;
  }
}

@media only screen and (max-width: 900px) {
  .menu a {
    font-size: 18px;
  }
}

@media only screen and (max-width: 850px) {
  .custom-mute-button{
    display: none;

  }
  .tag-style.fixed {
    font-size: 20px;
    top: 20px;
  }
  h2 {
    font-size: 20px;
  }

  .page-template-template-page-builder .main-container {
    height: auto;
    display: block;
  }

  body.page-template-template-page-builder {
    height: auto;
    overflow: visible;
  }

  .page-content {
    display: block;
    padding-top: 80px;
    overflow-x: hidden;
  }

  .custom-mute-button {
    top: 50%;
    margin-top: -28px;
  }

  .mobile-menu-open {
    display: flex;
  }

  .section-style {
    width: 100%;
    padding-top: 100px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .mobile-logo {
    position: fixed;
    top: 10px;
    left: 10px;
    display: block;
    width: 90px;
    z-index: 98;
  }

  .mobile-logo img {
    transition: width 0.5s ease-in-out;
    width: 90px;
  }

  .mobile-logo.scrolled {
    width: 65px;
  }

  .mobile-logo.scrolled img {
    width: 100%;
  }

  .sidebar {
    display: none;
  }

  .video-wrapper {
    min-height: 100dvh;
    height: 100dvh;
  }

  .video-holder .plyr {
    border-radius: 0;
  }

  .video-holder {
    height: 100%;
  }

  .more-info {
    z-index: 999;
  }

  .more-info.expanded {
    width: 98%;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    bottom: 0;
    background: #6ec6d1;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 99;
    padding: 50px;
    justify-content: center;
    align-items: center;
  }

  .mobile-menu.active {
    display: flex;
  }

  .more-info-btn,
  .share-video-btn {
    width: 56px;
    height: 56px;
    font-size: 20px;
    padding: 5px;
    margin-top: 0;
  }

  .buttons-holder {
    margin: 0 0 50px 0;
  }
}

@media only screen and (max-width: 768px) {
  .section-style.section-long-video {
    padding-left: 0;
    padding-right: 0;
  }

  .long-video-description {
    padding-left: 20px;
    padding-right: 20px;
  }

  .long-video-holder iframe {
    border-radius: 0;
  }

  .section-style {
    padding-top: 50px;
  }

  .section-icon-lists .col-md-4,
  .section-columns .col-md-4 {
    margin-bottom: 20px;
  }

  .plyr {
    width: 100%;
  }

  .plyr video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }

  .video-holder {
    position: relative;
    width: 100%;
  }

  .sidebar {
    display: none;
  }
}
@media only screen and (max-width: 550px) {
  .tag-style{
    font-size: 20px;
  }
  .tag-style.fixed {
      font-size: 16px;
      top: 20px;
      max-width: calc(100% - 160px);

    }


}
