/* ============================ */
/*    Section Title Blog Section */
/* ============================ */

.section-title-container {
  background: linear-gradient(180deg, #14131b 25%, #004aad25 100%);
}

/* ============================ */
/*    Blog Section */
/* ============================ */

.blog-content-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 1rem 2rem 4rem 2rem;
    gap: 1rem;
    min-height: 57.5vh;
    background: linear-gradient(360deg, #14131b 20%, #004aad25 100%);
}
.blog-content-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-image: url(../../assets/photos/grid-bg.png);
  background-size: cover;
  background-position: center;
  opacity: 10%;
}

/* Featured Blog Post */
.blog-content-featured {
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 1500px;
    height: 400px;
    border-radius: 25px;
    border: solid 1px #004bad00;
    background-color: #1b2c4283;
    transition: all 0.25s ease-in-out;
}
.blog-content-featured:hover {
    transform: scale(1.01);
    border: solid 1px #004aadaa;
    box-shadow: 0 4px 15px rgba(0, 24, 54, 0.4);
    background-color: #1b2c42be;
}
.blog-content-featured-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 60%;
    min-width: 0;
    height: 100%;
}
.blog-content-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.blog-content-featured-image h3 {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 0.25rem 0.75rem;
    font-size: 1rem;
    color: #ffffff;
    border-radius: 50px;
    background-color: #004aadcc;
}
.blog-content-featured-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 1rem;
    gap: 1rem;
    width: auto;
    height: 100%;
    flex: 0 0 360px;
    max-width: 40%;
}
.blog-content-featured-text h4 {
    text-align: start;
    font-size: 1.75rem;
    color: white;
}
.blog-content-featured-text p {
    text-align: start;
    font-size: 1.25rem;
    line-height: 1.25;
    font-family: "Quicksand", sans-serif;
    color: rgba(255, 255, 255, 0.7);
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-content-box-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
}
.blog-content-box-footer h5 {
    font-size: 0.9rem;
    font-family: "Quicksand", sans-serif;
    color: rgba(255, 255, 255, 0.7);
}
.blog-content-box-footer h6 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.1rem 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #4c98ff;
    transition: all 0.2s ease-in-out;
}
.blog-content-featured:hover .blog-content-box-footer h6{
    border-radius: 25px;
    background-color: #4c98ff;
    color: white;
}

/* Content Blog Post Header */
.blog-content-wrap-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-top: 1rem;
    width: 100%;
    height: 100%;
    max-width: 1500px;
}
.blog-content-wrap-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}
.blog-content-wrap-header span {
  color: #4c98ff;
}
.blog-content-wrap-header p {
    font-size: 1.2rem;
    line-height: 1.4;
    font-family: "Quicksand", sans-serif;
    color: rgba(255, 255, 255, 0.8);
}

/* Blog Content Grid/Wrap */
.blog-content-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 1.5rem;
    width: 100%;
    max-width: 1500px;
    height: 100%;
}
.blog-content-box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    padding: 0.75rem;
    gap: 0.5rem;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: #004aad65;
    background-color: #004aad35;
    transition: all 0.25s ease-in-out;
}
.blog-content-box:hover {
    background-color: #004aadaa;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.4);
}
.blog-content-box-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.blog-content-box-image {
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: start;
    align-items: start;
    width: 100%;
    height: 350px;
    border-radius: 25px;
}
.blog-content-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.blog-content-box-image h3 {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 0.25rem 0.75rem;
    background-color: #004aadcc;
    color: #ffffff;
    font-size: 1rem;
    border-radius: 50px;
}
.blog-content-box h4 {
    text-align: start;
    font-size: 1.5rem;
    color: white;
}
.blog-content-box p {
    text-align: start;
    font-size: 1.1rem;
    line-height: 1.25;
    font-family: "Quicksand", sans-serif;
    color: rgba(255, 255, 255, 0.7);
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-content-box-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0.5rem;
}
.blog-content-box-footer h5 {
    font-size: 0.9rem;
    font-family: "Quicksand", sans-serif;
    color: rgba(255, 255, 255, 0.7);
}
.blog-content-box-footer h6 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.1rem 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #4c98ff;
    transition: all 0.2s ease-in-out;
}
.blog-content-box:hover .blog-content-box-footer h6{
    border-radius: 25px;
    background-color: #4c98ff;
    color: white;
}
.scroll-controls {
    display: none;
}

@media (max-width: 1200px) {
  .blog-content-wrap {
    grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 900px) {
    .blog-content-featured {
        flex-direction: column;
        height: auto;
    }
    .blog-content-featured-image {
        flex: 0 0 auto;
        width: 100%;
        height: 300px;
    }
    .blog-content-featured-text {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }
}
@media (max-width: 750px) {
.blog-content-container {
    padding: 0.5rem 1rem 0rem 1rem;
}
.blog-content-featured {
    margin-top: 0.5rem;
}
.blog-content-wrap-header {
    margin-top: 2rem;
}
.blog-content-wrap {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: stretch;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 0.5rem 0rem;
    -webkit-overflow-scrolling: touch;
}
.blog-content-wrap::-webkit-scrollbar {
  display: none;
}
.blog-content-box {
    min-width: 325px;
    width: 325px;
    align-self: stretch;
}
.blog-content-box-image {
    height: 250px;
}
.scroll-controls {
    display: flex;
}
[data-animate="opacity-fade-in"] {
  opacity: 1;
}
}