/* Home news cards load after home.css and the RTL replacement stylesheet. */
body .news-section {
    position: relative;
    isolation: isolate;
    padding: clamp(72px, 8vw, 120px) 0 !important;
    overflow: hidden;
    background: #111214;
}

body .news-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 760' preserveAspectRatio='none'%3E%3Cpath d='M-40 526C188 406 350 656 580 512S956 280 1174 420s360 38 786-158' fill='none' stroke='%23c8a870' stroke-opacity='.28' stroke-width='1'/%3E%3Cpath d='M-50 572C178 452 366 700 596 556s378-232 596-92 374 36 778-154' fill='none' stroke='%23c8a870' stroke-opacity='.14' stroke-width='1'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

body .news-section .container-fluid {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 1840px !important;
    margin-inline: auto;
    padding-inline: clamp(20px, 3vw, 72px) !important;
}

body .news-section .news-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(32px, 4vw, 52px);
}

body .news-section .news-section-title {
    max-width: none;
    margin: 0;
    color: #f4f2ef !important;
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 400;
    line-height: 1.08;
    white-space: nowrap;
}

body .news-section .news-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid rgba(200, 168, 112, 0.62);
    border-radius: 6px;
    background: transparent;
    color: #f4f2ef;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

body .news-section .news-view-all:hover,
body .news-section .news-view-all:focus-visible {
    border-color: #c8a870;
    background: #c8a870;
    color: #111214;
}

body .news-section .news-grid { margin: 0; }

body .news-section .news-grid .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 1.8vw, 28px);
}

body .news-section .news-grid .swiper-slide {
    width: auto;
    min-width: 0;
    padding: 0;
}

@media (min-width: 769px) {
    body .news-section .news-grid .swiper-slide { width: 100% !important; }
}

body .news-section .news-item {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #191a1d;
    transition: border-color 0.28s ease, background-color 0.28s ease;
}

body .news-section .news-item:hover {
    border-color: rgba(200, 168, 112, 0.7);
    border-radius: 8px;
    background: #1c1d20;
    transform: none !important;
}

body .news-section .news-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0b0b0c;
}

body .news-section .news-image > a,
body .news-section .news-image img {
    display: block;
    width: 100%;
    height: 100%;
}

body .news-section .news-image img {
    object-fit: cover;
    transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body .news-section .news-item:hover .news-image img { transform: scale(1.04); }

body .news-section .news-category {
    position: absolute;
    inset-block-start: 14px !important;
    inset-block-end: auto !important;
    inset-inline-start: 14px !important;
    inset-inline-end: auto !important;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    width: max-content !important;
    height: auto !important;
    max-width: calc(100% - 70px);
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(17, 18, 20, 0.82);
    color: #f4f2ef;
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

body .news-section .share-wrapper {
    position: absolute;
    top: auto !important;
    right: 12px !important;
    bottom: 12px !important;
    left: auto !important;
    z-index: 2;
    align-items: end;
}

body .news-section .share-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(17, 18, 20, 0.82);
    color: #f4f2ef;
    transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

body .news-section .share-main-btn:hover,
body .news-section .share-main-btn:focus-visible {
    border-color: #c8a870;
    background: #c8a870;
    color: #111214;
}

body .news-section .share-icons {
    display: none;
    grid-template-columns: repeat(2, 28px);
    gap: 4px;
    margin-bottom: 8px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    background: #111214;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

body .news-section .share-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: 4px;
    color: #f4f2ef;
    font-size: 13px;
    transition: background-color 0.28s ease, color 0.28s ease;
}

body .news-section .share-icons a:hover {
    background: rgba(200, 168, 112, 0.16);
    color: #c8a870;
}

body .news-section .news-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 22px 24px;
}

body .news-section .news-title {
    margin: 0 0 12px;
    color: #f4f2ef;
    font-size: clamp(17px, 1.2vw, 20px);
    font-weight: 400;
    line-height: 1.25;
}

body .news-section .news-title a {
    color: inherit;
    text-decoration: none;
}

body .news-section .news-text {
    display: -webkit-box;
    max-width: 36ch;
    margin: 0;
    overflow: hidden;
    color: rgba(244, 242, 239, 0.68);
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

body .news-section .news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    color: #c8a870;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: start;
    text-decoration: none;
}

body .news-section .news-read-icon { transition: transform 0.28s ease; }
body .news-section .news-link:hover .news-read-icon { transform: translateX(4px); }

.rtl body .news-section .news-read-icon,
[dir="rtl"] body .news-section .news-read-icon { transform: rotate(180deg); }

.rtl body .news-section .news-link:hover .news-read-icon,
[dir="rtl"] body .news-section .news-link:hover .news-read-icon { transform: rotate(180deg) translateX(4px); }

@media (min-width: 992px) and (max-width: 1279px) {
    body .news-section .news-grid .swiper-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 769px) and (max-width: 991px) {
    body .news-section .news-grid .swiper-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    body .news-section .news-grid .swiper-wrapper {
        display: flex;
        grid-template-columns: none;
        gap: 0;
    }
}

@media (max-width: 575px) {
    body .news-section .news-section-header { align-items: flex-start; flex-direction: column; }
    body .news-section .news-view-all { min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    body .news-section .news-item,
    body .news-section .news-image img,
    body .news-section .news-read-icon { transition: none; }
}