@font-face {
    font-family: 'El Messiri';
    src: url('https://www.sult4n.com/shop/assets/css/fonts/ElMessiri-Medium.woff2') format('woff2'),
        url('https://www.sult4n.com/shop/assets/css/fonts/ElMessiri-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
.video-cards {
    display: grid;
    gap: 20px;
    padding: 15px;
}

.card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card h2 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #333;
    text-align: center;
}

.video-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.5%; /* نسبة 16:9 للفيديو */
    border-radius: 10px;
    overflow: hidden;
}

.video-box iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    border: 0;
    border-radius: 10px;
}

/* على الشاشات الكبيرة (جوال ↗ كمبيوتر) */
@media (min-width: 700px) {
    .video-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .video-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.main {text-align: center;}
h1 {
  color: #252122;
  font-weight: 700;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'El Messiri';
  vertical-align: baseline;
  text-align: center;
}
h2 {
  color: #252122;
  font-weight: 700;
  margin: 0;
  padding: 0;
  border: 0;
  margin: 10px 0px;
  font-family: 'El Messiri';
  vertical-align: baseline;
  text-align: center;
}
@media only screen and (max-width: 768px) {
  h1 {
    color: #252122;
    font-weight: 700;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: 'El Messiri';
    vertical-align: baseline;
  }
  h2,
  h3,
  h4 {
    color: #252122;
    font-weight: 700;
    margin: 0;
    padding: 0;
    border: 0;
    margin: 10px 0px;
    font-family: 'El Messiri';
    vertical-align: baseline;
  }
}
.all {
  background: #1d9dc4;
  color: #fff;
  padding: 5px 15px;
  display: inline-block;
  border-radius: 5px;
  margin: 10px auto;
}
.image-wrapper {
  width: 330px;
  position: relative;
  display: inline-block;
}
.image-wrapper.unavailable img {
  /*filter: grayscale(100%);
  */
  opacity: 0.7;
}
.unavailable-overlay {
  position: absolute;
  top: 16px;
  left: 1px;
  background-color: rgba(255, 0, 0, 0.9);
  /* أحمر شفاف */
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 5px;
}