article {
  --img-scale: 1.001;
  --title-color: $black;
  --link-icon-translate: -20px;
  --link-icon-opacity: 0;
  position: relative;
  border-radius: 16px;
  box-shadow: none;
  background: #fff;
  transform-origin: center;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

.w-25 {
  width: 33% !important;
}

.fa-solid {
  padding: 5px;
  margin-right: 10px;
}

/* basic article elements styling */
article h2 {
  margin: 0 0 18px 0;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: var(--title-color);
  transition: color 0.3s ease-out;
}

figure {
  margin: 0;
  padding: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
}

article img {
  width: 100%;
  transform-origin: center;
  transform: scale(var(--img-scale));
  transition: transform 0.4s ease-in-out;
}

.article-body {
  padding: 24px;
}

.article-body .content {
  text-align: justify;
}

.article-body .social-links {
  position: relative;
  z-index: 99;
  display: flex;
  justify-content: center;
}
.article-body .social-links a {
  margin-right: 10px;
}
.article-body .social-links .fa-facebook-f {
  color: #3b5999;
}
.article-body .social-links .fa-facebook-f:hover {
  background: #3b5999;
}
.article-body .social-links .fa-twitter {
  color: #14171A;
}
.article-body .social-links .fa-twitter:hover {
  background: #14171A;
}
.article-body .social-links .fa-linkedin-in {
  color: #0077b5;
}
.article-body .social-links .fa-linkedin-in:hover {
  background: #0077b5;
}
.article-body .social-links .fa-instagram {
  color: #e4405f;
}
.article-body .social-links .fa-instagram:hover {
  background: #e4405f;
}
.article-body .social-links i {
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 20px;
  border-radius: 5px;
  transition: 0.3s all ease;
  background-color: #fff;
}
.article-body .social-links i:hover {
  color: #fff;
}
.article-body .social-links i:last-child {
  margin-right: 0;
}

.article-body .social-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: black;
}
.article-body .social-links a:hover {
  color: rgba(15, 118, 44, 0.6);
}

article a:focus {
  outline: 1px dotted #28666e;
}

article a .icon {
  min-width: 24px;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  transform: translateX(var(--link-icon-translate));
  opacity: var(--link-icon-opacity);
  transition: all 0.3s;
}

/* using the has() relational pseudo selector to update our custom properties */
article:has(:hover, :focus) {
  --img-scale: 1.1;
  --title-color: $text-color46;
  --link-icon-translate: 0;
  --link-icon-opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.6) 0px 0px 0px 1px;
}

/************************ 
  Generic layout (demo looks)
  **************************/
*,
*::before,
*::after {
  box-sizing: border-box;
}

.articles {
  display: grid;
  margin-inline: auto;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 50px;
  margin-bottom: 50px;
}

@media screen and (max-width: 960px) {
  article {
    container: card/inline-size;
  }
}
@container card (min-width: 380px) {
  .article-wrapper {
    display: grid;
    gap: 16px;
  }
  figure {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  figure img {
    height: 100%;
    aspect-ratio: 1;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#show-more {
  width: 10%;
  border: 2px solid black;
}
@media screen and (max-width: 1199.8px) {
  #show-more {
    width: 12% !important;
  }
}
@media screen and (max-width: 991.8px) {
  #show-more {
    width: 15% !important;
  }
}
@media screen and (max-width: 767.8px) {
  #show-more {
    width: 20% !important;
  }
}
@media screen and (max-width: 536.8px) {
  #show-more {
    width: 22% !important;
  }
}
@media screen and (max-width: 488.8px) {
  #show-more {
    width: 25% !important;
  }
}
@media screen and (max-width: 429.8px) {
  #show-more {
    width: 28% !important;
  }
}
@media screen and (max-width: 383.8px) {
  #show-more {
    width: 34% !important;
  }
}
@media screen and (max-width: 316.8px) {
  #show-more {
    width: 36% !important;
  }
}
#show-more:hover {
  background-color: black;
  border-color: black;
}

#show-less {
  width: 10%;
  border: 2px solid black;
}
@media screen and (max-width: 1199.8px) {
  #show-less {
    width: 12% !important;
  }
}
@media screen and (max-width: 991.8px) {
  #show-less {
    width: 15% !important;
  }
}
@media screen and (max-width: 767.8px) {
  #show-less {
    width: 20% !important;
  }
}
@media screen and (max-width: 536.8px) {
  #show-less {
    width: 22% !important;
  }
}
@media screen and (max-width: 488.8px) {
  #show-less {
    width: 25% !important;
  }
}
@media screen and (max-width: 429.8px) {
  #show-less {
    width: 28% !important;
  }
}
@media screen and (max-width: 383.8px) {
  #show-less {
    width: 34% !important;
  }
}
@media screen and (max-width: 316.8px) {
  #show-less {
    width: 36% !important;
  }
}
#show-less:hover {
  background-color: black;
  border-color: black;
}/*# sourceMappingURL=social-media.css.map */