/* ============================
   ARTICLE CARDS (reusable)
   ============================ */
.article-card {
    display: flex;
    text-decoration: none;
    color: inherit;
    background: transparent;
}

.article-card-btn {
    display: inline-flex;
    align-items: center;
    width: max-content;
    height: 48px;
    gap: 8px;
    border-radius: 100px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

.article-card-btn span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #1C2E56;
}

.article-card-btn img {
    width: 24px;
    height: 24px;
    display: block;
}

/* Main card */
.article-card--main {
    width: 100%;
    height: 317px;
    gap: 24px;
    padding: 24px;
    background: #FCFCFC;
    align-items: stretch;
    box-sizing: border-box;
}

.article-card--main .article-card-image {
    width: 40%;
    height: 270px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.article-card--main .article-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.article-card--main .article-card-date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0;
    color: #A4A4A4;
    margin-bottom: 8px;
}

.article-card--main .article-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    color: #03221B;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card--main .article-card-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #727272;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-card--main .article-card-btn {
    margin-top: auto;
}

/* Regular card */
.article-card--regular {
    width: 100%;
    height: 515px;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.article-card--regular .article-card-image {
    width: 100%;
    height: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.article-card--regular .article-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.article-card--regular .article-card-date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0;
    color: #A4A4A4;
    margin-bottom: 8px;
}

.article-card--regular .article-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0;
    color: #03221B;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card--regular .article-card-desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0;
    color: #606060;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-card--regular .article-card-btn {
    margin-top: auto;
}

/* Mobile: main card uses regular layout */
@media (max-width: 991px) {
    .article-card--main {
        flex-direction: column;
        height: 515px;
        padding: 0;
        background: transparent;
    }

    .article-card--main .article-card-image {
        width: 100%;
        height: 50%;
    }

    .article-card--main .article-card-date {
        text-align: center;
    }
}

/* ============================
   SKELETON
   ============================ */
.skeleton-block {
    background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card-main {
    width: 100%;
    height: 317px;
    padding: 24px;
    background: #FCFCFC;
    display: flex;
    gap: 24px;
    box-sizing: border-box;
}

.skeleton-card-main .skeleton-img {
    width: 40%;
    height: 270px;
}

.skeleton-card-main .skeleton-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-card-regular {
    width: 100%;
    height: 515px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skeleton-card-regular .skeleton-img {
    width: 100%;
    height: 50%;
}

.skeleton-card-regular .skeleton-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 4px;
}

.skeleton-line {
    height: 16px;
    width: 100%;
}

.skeleton-line--short {
    width: 40%;
}

.skeleton-line--title {
    height: 28px;
}

.skeleton-line--btn {
    height: 48px;
    width: 160px;
    border-radius: 100px;
}

@media (max-width: 991px) {
    .skeleton-card-main {
        flex-direction: column;
        height: 515px;
        padding: 0;
        background: transparent;
    }

    .skeleton-card-main .skeleton-img {
        width: 100%;
        height: 50%;
    }
}
