.row-news__section {
  padding: 40px 0;
  margin-top: clamp(25px, 3vw, 50px);
}

.old-photos-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.row-news-container {
  flex: 1;
  width: 70%;
}

.row-news__section .row-wrapper {
  display: flex;
  background: #daeef980;
  width: 100%;
  padding: 20px;
  border-radius: 10px;
  margin-top: clamp(20px, 3vw, 40px);
}

.row-news__section .row-wrapper:first-child {
  margin-top: 0;
}

.row-news__section .row-wrapper .image-content {
  margin-right: 15px;
  max-width: 295px;
  width: 100%;
}

.row-news__section .row-wrapper .image-content img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.row-news__section .row-wrapper .entry-content {
  margin-top: clamp(20px, 2vw, 30px);
  padding-right: 20px;
}

.row-news__section .entry-content .entry-title-small {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 12px;
  color: #333;
  line-height: 1.4;
}

.row-news__section .entry-content p {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  color: #555;
}

.right-news-wrapper {
  width: 30%;
  top: 20px;
  height: fit-content;
}

.right-news-wrapper .entry-heading {
  display: flex;
  align-items: center;
}

.right-news-wrapper .entry-heading::before,
.right-news-wrapper .entry-heading::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #c9c9c9;
  margin: 0 15px;
}

.right-news-wrapper .entry-heading h2 {
  color: #d10404;
  font-size: clamp(24px, 2vw, 30px);
  margin: 0;
  text-align: center;
  font-weight: 600;
}
.right-news-wrapper .popular-news > div:not(:last-child) {
  margin-bottom: 30px;
}

.right-news-wrapper .entry-content {
  display: flex;
  align-items: center;
  /* margin-top: clamp(20px,3vw,40px); */
  position: relative;
  justify-content: space-between;
}

.right-news-wrapper .entry-content::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #c9c9c9;
  margin: 0 15px;
}

.right-news-wrapper .entry-content div {
  position: absolute;
  z-index: 1;
  right: 0;
  background: var(--light);
  padding-left: 10px;
}

.right-news-wrapper .entry-content h2 {
  color: #d10404;
  font-size: clamp(24px, 2vw, 30px);
  margin: 0;
  background: white;
  z-index: 1;
  padding-right: 10px;
  font-weight: 600;
}

.right-news-wrapper .popular-news {
  border: 1px solid #0000001a;
  padding: 20px;
  border-radius: 10px;
}
.right-news-wrapper .popular-news .entry-content::before{
  content: "";
  flex: 1;
  border-bottom: 1px solid #c9c9c9;
  margin: 0 15px;
}

.right-news-wrapper .popular-news .popular-post {
  display: flex;
  margin-top: 20px;
}
.old-photos-wrapper .right-news-wrapper .popular-news .popular-post > a {
  min-width: 150px;
  height: 140px;
  margin-right: 15px;
  width: 150px;
}

.right-news-wrapper .popular-news .popular-post a {
  min-width: 100px;
  height: 120px;
  margin-right: 15px;
}

.right-news-wrapper .popular-news .popular-post a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right-news-wrapper .popular-news .popular-post h3 {
  color: #253985;
  font-size: clamp(20px,3vw,28px);
  font-weight: 600;
}
.right-news-wrapper .popular-news .popular-post h3 a {
  display: -webkit-box; 
  line-clamp: 3;
}

.social-icons {
  display: flex;
  gap: 12px;
  padding: 20px;
}

.social-icons .social-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: calc(50% - 6px);
  padding: 12px 15px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  gap: 10px;
}

.social-icons .social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.social-icons .social-link i {
  font-size: 22px;
  flex-shrink: 0;
}

.social-icons .social-link .follower-count {
  font-size: 13px;
  line-height: 1.2;
  display: block;
}

.social-icons .social-link .follower-count small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.9;
}

.social-icons .social-link.facebook {
  background: #1877f2;
}
.social-icons .social-link.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}
.social-icons .social-link.twitter {
  background: #000000;
}
.social-icons .social-link.tiktok {
  background: #ff0050;
}
.social-icons .social-link.youtube {
  background: #ff1f1d;
}
.aanya-content .image-wrapper img {
  height: 250px;
}

.video-right .videos .video-wrapper {
  min-width: 200px;
  width: 200px;
}

.video-thumbnail-wrapper img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  /* border-top-left-radius: 10px;
    border-top-right-radius: 10px; */
}

.video-thumbnail-wrapper:hover img {
  transform: scale(1.05);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.play-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%) scale(1.12);
}

.play-btn svg {
  width: 100%;
  height: 100%;
}

.fancybox__container {
  z-index: 9999;
}

.photo-section,
.video-section {
  background: #ecf6fb;
  padding-bottom: clamp(20px, 3vw, 40px);
}

.video-section {
  margin-top: clamp(25px, 3vw, 50px);
}

.photo-section .photo-heading,
.video-section .photo-heading {
  display: flex;
  align-items: center;
  position: relative;
  padding-top: clamp(20px, 2vw, 30px);
  justify-content: space-between;
}

.photo-section .photo-heading h2,
.video-section .photo-heading h2 {
  color: #d10404;
  font-size: clamp(30px, 2vw, 48px);
  margin: 0;
  background: #ecf6fb;
  z-index: 1;
  position: relative;
  padding-right: 10px;
  font-weight: 700;
}

.photo-section .photo-heading::after,
.video-section .photo-heading::after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  height: 1px;
  background: #c9c9c9;
}

.photo-section .photo-heading div,
.video-section .photo-heading div {
  position: absolute;
  z-index: 1;
  right: 0;
  background: #ecf6fb;
  padding-left: 10px;
}

.photo-section .photo-gallery-wrapper,
.video-section .video-gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.photo-section .photo-gallery {
  position: relative;
}
.photo-gallery .image-wrapper img {
  width: 100%;
  height: 373px;
  object-fit: cover;
}
@media (max-width: 770px) {
  .photo-gallery .image-wrapper img {
    height: 250px;
  }
  .photo-heading svg{
    width: 30px;
  }

}

.photo-section .photo-gallery .photo-content {
  max-width: 270px;
  margin: 0 auto;
  position: absolute;
  color: var(--light);
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
}

.photo-section .photo-gallery .photo-content h3 {
  color: var(--light);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
}

.video-section .photo-gallery .photo-content {
  padding: 20px;
}
.video-section .photo-gallery {
  background: var(--light);
  border-radius: 15px ;
}

.video-section .photo-gallery .photo-content h3 {
  color: var(--text-1);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  max-width: 350px;
}

.video-section .video-gallery-wrapper .image-wrapper {
  position: relative;
}

.video-section .video-gallery-wrapper .image-wrapper div {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (max-width: 1290px) {
  .video-right .videos .video-wrapper {
    min-width: 145px;
    width: 145px;
  }
}
@media (max-width: 1130px) {
  .photo-section .photo-gallery-wrapper,
  .video-section .video-gallery-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 1024px) {
  .old-photos-wrapper {
    flex-direction: column;
  }
  .row-news-container {
    width: 100%;
  }
  .right-news-wrapper {
    width: 100%;
    position: relative;
    margin-top: unset;
  }
  .row-news__section .row-wrapper {
    width: 100%;
  }
}

@media (max-width: 769px) {
  .row-news__section .row-wrapper .image-content {
    padding: 20px 20px 0;
  }
  .row-news__section .row-wrapper .image-content img {
    width: 100%;
    height: 350px;
    object-fit: cover;
  }
  .row-news__section .row-wrapper .entry-content {
    padding: 0 20px 0;
  }
  .row-news__section {
    margin-top: unset;
  }
}

@media (max-width: 768px) {
  .row-news__section .row-wrapper {
    flex-direction: column;
  }
  .row-news__section .row-wrapper .image-content {
    max-width: 100%;
  }
  .social-icons .social-link {
    width: 100%;
  }
  .play-btn {
    width: 60px;
    height: 60px;
  }
  .video-right .videos .video-wrapper {
    min-width: 200px;
    width: 200px;
  }
}

@media (max-width: 576px) {
  .play-btn {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 560px) {
  .photo-section .photo-gallery .image-wrapper img,
  .video-section .photo-gallery .image-wrapper img {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .social-icons {
    gap: 10px;
    padding: 15px;
  }
  .social-icons .social-link {
    padding: 10px 12px;
  }
  .social-icons .social-link i {
    font-size: 20px;
  }
}

@media (max-width: 460px) {
  .row-news__section .row-wrapper .image-content img {
    height: 300px;
  }
}

@media (max-width: 410px) {
  .right-news-wrapper .popular-news .popular-post h3 {
    font-size: clamp(15px, 3vw, 20px);
  }
}

@media (max-width: 380px) {
  .row-news__section .row-wrapper .image-content img {
    height: 250px;
  }
}

.custom-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.custom-video-modal.active {
  display: flex !important;
}

.custom-video-modal iframe {
  width: 90%;
  max-width: 1100px;
  height: 80vh;
  max-height: 680px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.9);
  background: #000;
}

.custom-video-modal::before {
  content: "×";
  position: absolute;
  top: 20px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 44px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100000;
  transition: 0.3s;
  backdrop-filter: blur(10px);
}

.custom-video-modal::before:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2) rotate(90deg);
}

@media (max-width: 768px) {
  .custom-video-modal {
    padding: 10px;
  }
  .custom-video-modal iframe {
    width: 90%;
    height: 70vh;
    border-radius: 14px;
  }
  .custom-video-modal::before {
    width: 40px;
    height: 40px;
    font-size: 42px;
    top: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .custom-video-modal iframe {
    height: 60vh;
  }
}
