/* ===================================================
 * ROAYATY LATEST NEWS SECTION (EXACT MATCH TO DESIGN)
 * =================================================== */

:root {
    --gold-primary: #b88a3e;
    --gold-dark: #9e7029;
    --bg-light: #fbfbf9;
    --card-bg: #ffffff;
    --text-dark: #221c14;
    --border-color: #eae7e1;
    --radius-card: 12px;
}

.roayaty-latest-news-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    width: 100%;
    box-sizing: border-box;
}

.news-container {
    max-width: 1320px;
    margin: 0 auto;
}

/* Section Header */
.news-section-title {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 35px 0;
}

/* 4-Column Grid Layout on Desktop: 3 Cards + 1 Side Card */
.news-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 110px;
    gap: 16px;
    align-items: stretch; /* Forces equal height across the row */
}

/* Horizontal Article Card */
.news-horizontal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    display: flex;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.news-horizontal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(184, 138, 62, 0.12);
    border-color: var(--gold-primary);
}

/* Left Content Body */
.news-card-body {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.news-card-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.45;
    margin: 0 0 14px 0;
}

/* Read More Link */
.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-primary) !important;
    text-decoration: none !important;
    font-size: 0.82rem;
    font-weight: 600;
    transition: gap 0.25s ease;
}

.news-read-more i {
    font-size: 0.75rem;
}

.news-read-more:hover {
    color: var(--gold-dark) !important;
    gap: 9px;
}

/* Right Image Thumbnail */
.news-card-thumb {
    width: 125px;
    height: 100%;
    min-height: 110px;
    flex-shrink: 0;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right-Side Card Container */
.news-side-card {
    display: flex;
    height: 100%;
}

/* Tall Vertical Button (Centered Text & Full Height) */
.view-all-side-btn {
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: var(--gold-primary) !important;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.3;
    text-align: center;
    padding: 12px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.view-all-side-btn:hover {
    background: var(--gold-primary);
    color: #ffffff !important;
    border-color: var(--gold-primary);
    box-shadow: 0 6px 18px rgba(184, 138, 62, 0.25);
}

/* ===================================================
 * RESPONSIVE BREAKPOINTS
 * =================================================== */

@media (max-width: 1100px) {
    /* Stack side button into a full-width bottom bar on tablets */
    .news-grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-side-card {
        grid-column: 1 / -1;
        margin-top: 10px;
    }

    .view-all-side-btn {
        flex-direction: row;
        gap: 8px;
        padding: 12px;
    }
}

@media (max-width: 900px) {
    .news-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .roayaty-latest-news-section {
        padding: 40px 16px;
    }

    .news-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .news-card-thumb {
        width: 110px;
    }

    .news-card-body {
        padding: 14px;
    }
}

html[dir="rtl"] .news-horizontal-card,
body.rtl .news-horizontal-card {
    text-align: right;
}