body {
    font-family: Helvetica Neue;
    color: #000;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    letter-spacing: 1.1px;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 10px;
    background-color: #fff;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-right: -50px; 
}

.logo {
    height: 150px; 
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 50px;
}

.divider {
    width: 2px;
    height: 40px;
    background-color: #000;
    display: inline-block;
    margin-left: 25px;
    margin-right: 20px;
}

.program-name {
    text-align: center;
    margin: 50px 30px;
    font-size: 1.5em;
    font-weight: 600;
    letter-spacing: 2px;
}

.content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 20px; 
    margin: 0 auto;
    max-width: 1150px;
    padding: 0;
    justify-items: center;
}


.content-box {
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    width: 330px;
    padding: 0;
    margin: 0 auto 10px; 
    text-align: center;
    position: relative;
}

.content-box img {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
}


.content-box .label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    padding: 7px 22px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.content-box h3 {
    margin: 20px 0 40px;
    font-size: 18px;
    text-align: center;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
    z-index: 2; 
    opacity: 0;
    visibility: hidden;
}

.image-container:hover .play-button {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1); 
}

.image-container:hover .play-button:hover {
    transform: translate(-50%, -50%) scale(1.2); 
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
}


.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000; 
    overflow: visible; 
    transition: width 0.3s, height 0.3s;
}


.popup.video {
    width: 800px; 
    height: 450px; 
}


.popup.audio {
    width: 800px; 
    height: 450px; 
}

.popup.pdf {
    width: 50%;
    height: 85%;
    padding: 20px; 
}

.popup.info {
    width: 40%;
    height: 95%;
}

.popup iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.popup.vertical-video {
    width: 360px; 
    height: 640px; 
}

.popup.slides {
    width: 960px;
    height: 540px; 
}

.popup-overlay.active,
.popup.active {
    display: block;
}

.view-programs {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.view-programs button {
    padding: 15px 25px;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid #000;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.view-programs button:hover {
    background-color: #000;
    color: #fff;
}

.close-button {
    position: absolute;
    top: -35px; 
    right: -35px; 
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 1001; 
    padding: 5px 10px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden; 
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); 
    transition: background 0.3s ease; 
    z-index: 1; 
    pointer-events: none; 
}

.image-container:hover::after {
    background: rgba(0, 0, 0, 0.2); 
}

.bold-numbers li::marker {
font-weight: bold;
}

.custom-letter-spacing {
letter-spacing: 1px;
}

.page-wrapper {
    max-width: 1150px; 
    margin: 0 auto; 
    padding: 0 24px; 
  }
  
          .page-title {
    margin: 0 auto;
    max-width: 1150px; 
    padding: 0;
  }
  
  .page-title h4 {
    color: #6c757d;
    font-size: 14px;
    margin: 20px 0; 
    text-align: left; 
  }
  .page-title-link {
    text-decoration: none; 
    color: inherit; 
  }
  
  .page-title-link:hover {
    text-decoration: underline; 
  }

  .footer {
  background-color: #111;
  color: #fff;
  padding: 30px 0;
  text-align: center;
  width: 100vw; 
  position: relative; 
  left: 0; 
  box-sizing: border-box; 
  margin-top: 80px
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer a:hover {
  color: #ddd;
}

  .active-tab {
    font-weight: bold;
    color: black;
    border: none;
  }
  .translation-tabs button {
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
  }
@media (max-width: 768px) {
    .program-name {
        margin: 40px 0;
    }
    .content-box.dummy {
        display: none;
    }
    .popup.video {
        width: 420px; 
        height: 236px; 
    }
    .popup.audio {
        width: 320px; 
        height: 180px; 
    }
    .popup.pdf {
width: 80%;
height: 75%;
}

.popup.info {
    width: 88%;
    height: 75%;
}
.popup.vertical-video {
    width: 320px; 
    height: 570px; 
}
.popup.slides {
    width: 90%; 
    height: 60%; 
}
.content-box h3 {
    margin: 20px 0;
    font-size: 18px;
    text-align: center;
}
.logo {
    margin-right: 35px;
}
}
