/* =========================================
   LATEST ARTICLES
   ========================================= */

.sahadev-latest-articles {
    width: 100%;
    color: #f3eee5;
}

.sahadev-articles-heading {
    margin: 0 0 32px;
}

.sahadev-articles-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #f3eee5;
    font-family: 'Cinzel', serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .2px;
}

.sahadev-articles-heading h2 span {
    color: #e1a925;
    font-family: Arial, sans-serif;
    font-size: 31px;
    line-height: 1;
}


/* =========================================
   GRID
   ========================================= */

.sahadev-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================
   CARD
   ========================================= */

.sahadev-article-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: hsl(20 10% 10%);
    border: 1px solid hsl(20 8% 18%);
    border-radius: 8px;
}

.sahadev-article-card:hover {
    box-shadow: 0 0 40px #ed851d26;
    border-color: hsl(30deg 85% 52% / 40%);
}

.sahadev-article-card:hover .sahadev-article-title {
    color: hsl(30 85% 52%);
    transition: 0.3s;
}


/* =========================================
   IMAGE
   ========================================= */

.sahadev-article-image-link {
    display: block;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
}

.sahadev-article-image {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform .35s ease;
    object-position: center;
}

.sahadev-article-card:hover .sahadev-article-image {
    transform: scale(1.05);
}

.sahadev-article-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #25211e;
    color: #e1a925;
    font-size: 36px;
}


/* =========================================
   CONTENT
   ========================================= */

.sahadev-article-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}


/* =========================================
   META
   ========================================= */

.sahadev-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 13px;
    color: rgba(168, 158, 138, 1);
    font-family: 'Lora', serif;
    font-size: 11px;
    line-height: 1.5;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

.sahadev-article-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 20px;
    background: #312318;
    color: rgba(237, 133, 29, 1) !important;
    text-decoration: none !important;
    white-space: nowrap;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

.sahadev-article-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #292015;
    color: #e1a925;
    white-space: nowrap;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

.sahadev-article-reading {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    color: #aaa29a;
}

.sahadev-article-tag span,
.sahadev-article-location span,
.sahadev-article-reading span {
    font-family: Arial, sans-serif;
    font-size: 11px;
}


/* =========================================
   TITLE
   ========================================= */

.sahadev-article-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 11px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    transition: 0.3s;
}

.sahadev-article-title a {
    color: #f3eee5;
    text-decoration: none !important;
}

.sahadev-article-title a:hover {
    color: #e1a925;
}


/* =========================================
   EXCERPT
   ========================================= */

.sahadev-article-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 19px;
    color: hsl(40 15% 60%);
    font-family: 'Lora', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.75px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


/* =========================================
   FOOTER
   ========================================= */

.sahadev-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
}

.sahadev-article-date {
    color: rgba(168, 158, 138, 1);
    font-family: 'Lora', serif;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
}

.sahadev-article-read {
    color: rgba(237, 133, 29, 1) !important;
    font-family: 'Lora', serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none !important;
    white-space: nowrap;
}

.sahadev-article-read span {
    margin-left: 2px;
    font-size: 14px;
}

.sahadev-article-read:hover {
    color: #e1a925 !important;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 991px) {

    .sahadev-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .sahadev-articles-heading {
        margin-bottom: 24px;
    }

    .sahadev-articles-heading h2 {
        font-size: 21px;
    }

    .sahadev-articles-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sahadev-article-image-link {
        height: 220px;
    }

    .sahadev-article-content {
        padding: 16px;
    }

    .sahadev-article-title {
        font-size: 16px;
    }

}