#tab2 img {
  display: block;
  margin: 0 auto 40px;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 30px;
}

#tab4 img {
  display: block;
  margin: 0 auto 20px;
  max-width: 100%;
  height: auto;
  max-height: 300px;
}

#tab4 table {
  line-height: 1.75;
  margin: 0 auto;
}

#tab4 th {
  padding-right: 1.45rem;
}

#tab4 .button {
  display: block;
  background: var(--primary-color, #324f8b);
  width: 22rem;
  padding: 1rem;
  border-radius: 10px;
  color: #FFF;
  text-align: center;
  text-decoration: none;
  letter-spacing: .1rem;
  transition: .5s;
  margin: 20px auto;
  opacity: 0.8;
}

#tab4 .button:hover {
  background: var(--accent-color, #7a64d1);
}


/* Tab 5  */
.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.video-item {
  flex: 0 0 calc(50% - 15px);
  min-width: 300px;
  margin-bottom: 20px;
}

.video_box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: #000;
}

.video_box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.content_title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-color, #324f8b);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.content_title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--accent-color, #7a64d1);
  border-radius: 2px;
}

@media screen and (max-width: 767px) {

  #tab4 .button{
    width: 15rem;
    font-size: 0.95rem;
    max-width: 100%;
  }
  .video-grid {
    gap: 20px;
  }

  .video-item {
    flex: 1 1 100%;
    min-width: 100%;
  }
}