.elementor-2171 .elementor-element.elementor-element-0c1d8cc{--display:flex;}/* Start custom CSS for html, class: .elementor-element-cd76916 */.ifria-videos-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  background: #fff;
}

.ifria-videos-header {
  text-align: center;
  margin-bottom: 40px;
}

.ifria-videos-header h2 {
  margin: 0;
  line-height: 1.1;
}

.ifria-videos-header .line1,
.ifria-videos-header .line2 {
  display: block;
  font-family: "K2D", sans-serif;
}

.ifria-videos-header .line1 {
  font-size: 52px;
  font-weight: 800;
  text-transform: uppercase;
  color: #f55a2b;
}

.ifria-videos-header .line2 {
  font-size: 28px;
  font-weight: 400;
  color: #161922;
  margin-top: 6px;
}

.ifria-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ifria-video-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid #f1f1f1;
}

.ifria-video-thumb {
  position: relative;
  overflow: hidden;
}

.ifria-video-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.ifria-video-btn {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #f97316 0%, #f44336 100%);
  box-shadow: 0 8px 20px rgba(244, 67, 54, 0.28);
  white-space: nowrap;
}

.ifria-video-btn:hover {
  opacity: 0.92;
  color: #fff;
}

.ifria-video-content {
  padding: 18px 18px 20px;
}

.ifria-video-card h3 {
  margin: 0 0 10px;
  font-family: "K2D", sans-serif;
  font-size: 19px;
  line-height: 1.3;
  text-transform: uppercase;
  color: #161922;
}

.ifria-video-card p {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #626262;
}

@media (max-width: 1024px) {
  .ifria-videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ifria-videos-header .line1 {
    font-size: 38px;
  }

  .ifria-videos-header .line2 {
    font-size: 22px;
  }

  .ifria-videos-grid {
    grid-template-columns: 1fr;
  }

  .ifria-video-thumb img {
    height: 210px;
  }
}/* End custom CSS */