/* Wrapper section */
.latest-articles-block {
    color: #ffffff;
    font-family: inherit;
}

.latest-articles-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Header */
.latest-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.latest-articles-heading {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
}

.latest-articles-heading-prefix {
    margin-right: 0.35em;
    font-weight: 400;
}

.latest-articles-heading-main {
    font-weight: 700;
}

.latest-articles-view-all {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    padding-right: 18px;
	float: right;
}

.latest-articles-view-all::after {
    content: "→";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Grid */
.latest-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

@media (max-width: 900px) {
    .latest-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .latest-articles-grid {
        grid-template-columns: 1fr;
    }

    .latest-articles-inner {
        padding: 40px 20px;
    }

    .latest-articles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Cards */
.latest-articles-item {
    display: flex;
    flex-direction: column;
}

.latest-articles-image-link {
    display: block;
    margin-bottom: 20px;
}

.latest-articles-image {
	width: 372px;
    height: 372px !important;
    display: block;
    object-fit: cover;
}

/* Content */
.latest-articles-content-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.latest-articles-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
}

.latest-articles-title-link {
    text-decoration: none;
    color: inherit;
}

.latest-articles-title-link:hover {
    text-decoration: underline;
}

.latest-articles-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #ffe9df; /* slightly lighter for contrast */
}

/* Buttons */
.latest-articles-button {
    align-self: flex-end;
    padding: 10px 28px;
    border-radius: 0px;
    background-color: #D86949;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
}

.latest-articles-button:hover {
    filter: brightness(1.05);
	background-color: #ffffff;
	color: #AF4F39;
}
