/* ==========================================================================
   News & Events Section (Bootstrap 5 Integrated, Figma Spec Matched)
   Matching Figma Nodes: 68:94, 68:105, 68:99-100, 68:95-98, 85:409-440
   ========================================================================== */

.gr-news-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 70px 0 90px 0;
    box-sizing: border-box;
}

.gr-news-container {
    max-width: 1600px;
    padding-left: 31px;
    padding-right: 31px;
    margin: 0 auto;
}

/* Header Title (Node 68:94: 40px Instrument Sans) */
.gr-news-title {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.22;
    color: #000000;
    margin: 0;
    letter-spacing: -0.01em;
}

/* View all Button (139px x 46px, Node 68:105) */
.gr-news-viewall-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 139px;
    height: 46px;
    background-color: transparent;
    color: var(--gr-primary-blue, #2A3EC0);
    border: 1px solid var(--gr-primary-blue, #2A3EC0);
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 17.5px;
    font-weight: 400;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.gr-news-viewall-btn:hover {
    background-color: var(--gr-primary-blue, #2A3EC0);
    color: #FFFFFF;
}

/* Carousel Arrow Buttons (46px x 46px, Node 68:99, 68:100) */
.gr-news-arrow-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    color: var(--gr-primary-blue, #2A3EC0);
    border: 1px solid var(--gr-primary-blue, #2A3EC0);
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.gr-news-arrow-btn:hover {
    background-color: var(--gr-primary-blue, #2A3EC0);
    color: #FFFFFF;
}

.gr-news-arrow-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Full-bleed Photo Card with Dark Gradient (Figma Rectangle 40-43 + 59-62) */
.gr-news-card {
    position: relative;
    width: 100%;
    height: 437px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: #1E1E1E;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gr-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

/* Full Coverage Background Image */
.gr-news-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
    transition: transform 0.4s ease;
}

.gr-news-card:hover .gr-news-card-bg {
    transform: scale(1.05);
}

/* Linear Dark Gradient Overlay (Node 85:409 / 422 / 431 / 436) */
.gr-news-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0) 25%, rgba(30, 30, 30, 0.65) 60%, rgba(30, 30, 30, 0.95) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Card Content Floating Over Dark Gradient */
.gr-news-card-content {
    position: relative;
    z-index: 3;
    padding: 24px 24px 20px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Headline Text (20px Instrument Sans, Color: White, Node 85:423) */
.gr-news-card-title {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.25;
    color: #FFFFFF;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* White Divider Line (Vector 11-14, Node 85:425 / 430 / 435 / 440) */
.gr-news-card-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

/* Bottom Meta Row (View more >> | 06 Aug 2026) */
.gr-news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.gr-news-card-link {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
}

.gr-news-card-date {
    font-family: var(--gr-font-family, 'Instrument Sans', sans-serif);
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
}

/* Responsive */
@media (max-width: 991px) {
    .gr-news-card {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .gr-news-title {
        font-size: 32px;
    }

    .gr-news-card {
        height: 380px;
    }
}
