

.news-info{
  width: 100%;
  padding: 50px 0 100px 0;
}
.news-info .inner{
    max-width: var(--wp--style--global--wide-size);
    padding: 70px calc(40px + 4vw) 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0px 70px;
    margin: 0 auto;
}
.news-info .inner h2{
  width: 100%;
  text-align: center;
  position: relative;
  margin-bottom: 74px 
}
.news-info .inner h2:after{
    content: "";
    width: 70px;
    height: 70px;
    background: url(/wp-content/themes/vGolf/blocks/news-info/images/vgolf-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: -90px;
    left: 50%;
    translate: -50% 0;
}
.news-list,
.info-faq-section {
  max-width: 800px;
  width: calc(50% - 35px);
}
.news-list ul{
  width: 100%;
  margin:30px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.news-list ul li{
  width: 100%; 
  background: var(--default-grey);
}

.news-list ul li{
  width: 100%; 
  margin-bottom: 20px;
}

.news-list ul li article{
  display: block;
  padding: 0px 0 30px;
  margin: 0;
  text-align: center;
  border: 1px solid #d1d1d1;
  background: var(--wp--preset--color--this-theme-white);
}

.news-list ul li article header{
  background: rgba(0, 0, 0, 0);
  margin: 0;
  width: 100%;
}
.news-list ul li article header picture{
  width: 100%;
  margin-bottom: 20px;
  position: relative;
  aspect-ratio: 4/2;
  display: block;
  overflow: hidden;
    max-height: 400px;
}
.news-list ul li article header picture img{
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  top: 50% ;
  left: 50% ;
  translate:-50% -50% ;
}

.news-list ul li article header h3,
.news-list ul li article header h3 a{
  width: 100%;
  color: var(--default-colour1);
  transition: all ease-in-out 0.4s;
  margin-top: 0px;
  line-height: 1.1em;
  font-size: 16px;
  display: block;
}
.news-list ul li article header h3{
    padding: 0px 50px;
}

.news-list ul li article p{
  width: 100%;
  color: var(--default-colour1);
  display: block;
}

.news-list ul li article footer {
  width: 100%;
}
.news-list ul li article footer a{
  padding: 10px 12px;
  color: #ffffff;
  background: var(--default-colour1);
  margin: 0 auto 0;
  display: inline-block;
  font-family: var(--titlefont);
    font-size: 11px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.news-list ul li article footer a:hover {
  background-color: var(--default-colour2);
  color: var(--default-colour1);
}

.info-faq-section {
  padding: 0;
  font-family: sans-serif;
}




.more-info{
  width: 100%;
  text-align: center;
  display: flex;
  padding-top: 60px;
}
.more-info a{
  padding: 20px;
  background:var(--default-colour1);
  color: var(--default-colour2);
  font-family: var(--titlefont);
  transition: all ease in-out 0.4s;
  margin: 0 auto;
}
.more-info a{
  background:var(--default-colour2);
  color: var(--default-colour1);
   -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.more-info a:hover {
  background: var(--default-colour1);
  color: #FFFFFF;
}

/*----- Overirde the FAQ styles --- */
.info-faq-section details {
  margin-bottom: 15px;
  border: 0px solid rgba(0,0,0,0);
  border-bottom: 2px solid var(--default-colour1);
  padding: 30px 0;
  background: #ffffff;
  transition: all 0.3s ease;
  line-height: 1.2em;
}

.info-faq-section summary {
  cursor: pointer;
  font-weight: bold;
  position: relative;
  padding:0px 50px 0 0 ;
  list-style: none;
  font-family: var(--titlefont);
  font-size: 16px;
}

.info-faq-section summary::-webkit-details-marker {
  display: none;
}

.info-faq-section summary::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 16px;
  height: 28px;
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.3s ease, background-image 0.3s ease;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 85.5 150'%3E%3Cpath fill='%23deec3a' d='M10.5,150c-2.69,0-5.37-1.02-7.42-3.08-4.1-4.1-4.1-10.75,0-14.85l57.08-57.07L3.08,17.93C-1.03,13.82-1.03,7.18,3.08,3.08,7.18-1.03,13.82-1.03,17.92,3.08l64.5,64.5c1.97,1.97,3.08,4.64,3.08,7.42s-1.11,5.46-3.08,7.42L17.92,146.92c-2.05,2.05-4.74,3.08-7.42,3.08Z'/%3E%3C/svg%3E");
}

.info-faq-section details[open] summary::before {
  transform: translateY(-50%) rotate(0deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 85.5 150'%3E%3Cpath fill='%23000000' d='M10.5,150c-2.69,0-5.37-1.02-7.42-3.08-4.1-4.1-4.1-10.75,0-14.85l57.08-57.07L3.08,17.93C-1.03,13.82-1.03,7.18,3.08,3.08,7.18-1.03,13.82-1.03,17.92,3.08l64.5,64.5c1.97,1.97,3.08,4.64,3.08,7.42s-1.11,5.46-3.08,7.42L17.92,146.92c-2.05,2.05-4.74,3.08-7.42,3.08Z'/%3E%3C/svg%3E");
}

.info-faq-section p {
  margin: 10px 0 0;
  line-height: 1.5;
  padding-right: 30px;
}
@media screen and (max-width: 950px){
.news-info .inner{
    padding: 70px 40px 0;
  }
}
@media screen and (max-width: 850px){
  .news-list,
  .info-faq-section {
    width: 100%;
  }
}
@media screen and (max-width: 650px){
  .news-info .inner{
    padding: 70px 20px 0;
  }
  .info-faq-section {
    padding-top: 70px;
  }
}


