.dynamic-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 0 auto;
    width: 65%;
  }
  h2.links-grid-title{
    text-align: center;
    margin-bottom: 60px;
    font-size: 40px;

  }
  .grid-item {
    border-top: 3px solid #111636;
    padding: 1.5rem 0;
    border-radius: 6px;
  }
  
  .category-name {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #111636;
    padding-bottom: 0.3rem;
  }
  
  .item-title {
    margin: 0 0 0.5rem;
    color: #1f5da6;
    font-family: 'Inter' !important;
    font-weight: 700;
    font-size: 35px !important;
  }
  
  .item-excerpt, .learn-more-link {
    font-size: 20px;
    font-weight: 500;
    color: #111636;
  }
  
  .learn-more-link {

    text-decoration: underline;
    cursor: pointer;
  }

.item-video.video-popup{
    cursor: pointer;
    /* height: 300px; */
    background-size: cover;
    background-position: center;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: flex-end;
    /* padding-bottom: 20%; */
    text-align: center;
}
.sound-module-container{
  display: flex;
  justify-content: center;
  align-items: center;
}
.item-video.video-popup:not(.sound-audio-to-click)::before{
    content: "";
    font-weight: 400;
    display: block;
    width: 30%;
    height: 30%;
    position: absolute;
    margin: 0 auto;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 35%);
    background: url('/wp-content/uploads/2025/07/play-video-grey.svg') no-repeat !important;
    background-position: center !important;
}
.item-video.video-popup.sound-audio-to-click{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lg-video-span{
    font-size: 35px;
    text-decoration: none;
    font-weight: 700;
    color: #d37230;
}


@keyframes ring {
  0%   {
    -webkit-transform: rotate(-15deg);
    -ms-transform: rotate(-15deg);
    transform: rotate(-15deg);
  }
  1%   {
    -webkit-transform: rotate(15deg);
    -ms-transform: rotate(15deg);
    transform: rotate(15deg);
  }
  2%   {
    -webkit-transform: rotate(-18deg);
    -ms-transform: rotate(-18deg);
    transform: rotate(-18deg);
  }
  3%   {
    -webkit-transform: rotate(18deg);
    -ms-transform: rotate(18deg);
    transform: rotate(18deg);
  }
  4%   {
    -webkit-transform: rotate(-22deg);
    -ms-transform: rotate(-22deg);
    transform: rotate(-22deg);
  }
  5%  {
    -webkit-transform: rotate(22deg);
    -ms-transform: rotate(22deg);
    transform: rotate(22deg);
  }
  6%  {
    -webkit-transform: rotate(-18deg);
    -ms-transform: rotate(-18deg);
    transform: rotate(-18deg);
  }
  7%  {
    -webkit-transform: rotate(18deg);
    -ms-transform: rotate(18deg);
    transform: rotate(18deg);
  }
  8%  {
    -webkit-transform: rotate(-12deg);
    -ms-transform: rotate(-12deg);
    transform: rotate(-12deg);
  }
  9%  {
    -webkit-transform: rotate(12deg);
    -ms-transform: rotate(12deg);
    transform: rotate(12deg);
  }
  10%  {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

.sound-play-icon{
  width: 90px;
}
.sound-play-icon:hover{
  -webkit-animation: ring 5s ease infinite; 
  animation: ring 5s ease infinite;
}
@media only screen and (max-width:1440px){
  .item-title{
    font-size: 35px !important;
  }
  .item-excerpt, .learn-more-link {
    font-size: 18px;
  }
  .dynamic-links-grid {
    gap: 2rem;
  }
}
@media only screen and (max-width:1199px){
  .item-title{
    font-size: 30px !important;
  }
  .item-excerpt, .learn-more-link {
    font-size: 16px;
  }
  .lg-video-span {
    font-size: 30px;
  }
}

@media only screen and (max-width:1024px){
  .sound-play-icon{
    width: 75px;
  }
}

@media only screen and (max-width:900px){
  .dynamic-links-grid {
    width: 75%;
  }
}

@media only screen and (max-width:767px){
  .dynamic-links-grid {
    display: block;
    gap: 0;
  }
  .grid-item{
    display: inline-block;
    width: 100%;
  }
}

