.rs-blog-hero {
    position: relative;
    padding: 120px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(13, 110, 253, 0.14), transparent 30%),
        radial-gradient(circle at 88% 22%, rgba(100, 177, 255, 0.22), transparent 34%),
        linear-gradient(135deg, #f8fbff 0%, #edf6ff 48%, #f9fcff 100%);
}

.rs-blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 110, 253, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 110, 253, 0.04) 1px, transparent 1px);
    background-size: 70px 70px;
    pointer-events: none;
}

.rs-blog-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.rs-blog-hero-card {
    position: relative;
    min-height: 390px;
    padding: 72px 64px;
    overflow: hidden;
    border-radius: 26px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.62) 43%, rgba(255,255,255,0.2) 100%),
        rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: 0 28px 80px rgba(31, 88, 160, 0.14);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.rs-blog-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 64% 42%, rgba(13, 110, 253, 0.22), transparent 34%),
        linear-gradient(to right, rgba(255,255,255,0.35), transparent 58%);
    pointer-events: none;
    z-index: 1;
}

.rs-blog-hero-content {
    position: relative;
    z-index: 4;
    max-width: 560px;
}

.rs-blog-badge {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--color2);
    font-size: 14px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 34px rgba(13, 110, 253, 0.1);
    backdrop-filter: blur(16px);
    animation: rsBlogFadeUp 0.75s ease both;
}

.rs-blog-hero-content h1 {
    margin: 0 0 22px;
    font-size: clamp(38px, 5vw, 52px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -2.5px;
    color: var(--color1);
    animation: rsBlogFadeUp 0.75s ease 0.12s both;
}

.rs-blog-hero-content h1 span {
    color: var(--color2);
}

.rs-blog-hero-content p {
    max-width: 560px;
    margin: 0;
    font-size: 17px;
    line-height: 1.85;
    font-weight: 300;
    color: #243653;
    animation: rsBlogFadeUp 0.75s ease 0.24s both;
}

.rs-blog-hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 63%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.rs-blog-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.36) 28%, transparent 58%),
        linear-gradient(0deg, rgba(255,255,255,0.16), transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.rs-blog-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center right;
    filter: saturate(1.08) contrast(1.02);
}

@keyframes rsBlogFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199.98px) {
    .rs-blog-hero-card {
        padding: 62px 48px;
    }

    .rs-blog-hero-visual {
        width: 66%;
    }
}

@media (max-width: 991.98px) {
    .rs-blog-hero {
        padding: 110px 0 60px;
    }

    .rs-blog-hero-card {
        min-height: auto;
        padding: 48px 38px min(100%, 420px);
    }

    .rs-blog-hero-content {
        max-width: 100%;
    }

    .rs-blog-hero-visual {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: 420px;
    }

    .rs-blog-hero-visual::after {
        background:
            linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.36) 38%, transparent 74%),
            linear-gradient(90deg, rgba(255,255,255,0.28), transparent 55%);
    }
}

@media (max-width: 767.98px) {
    .rs-blog-hero {
        padding: 100px 0 52px;
    }

    .rs-blog-hero-card {
        padding: 36px 26px calc(100% - 52px);
        border-radius: 22px;
    }

    .rs-blog-hero-content h1 {
        letter-spacing: -1.4px;
    }

    .rs-blog-hero-content p {
        font-size: 15px;
        line-height: 1.75;
    }

    .rs-blog-hero-visual {
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: none;
    }

    .rs-blog-hero-visual img {
        width: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center top;
    }
}

@media (max-width: 575.98px) {
    .rs-blog-hero-card {
        padding: 32px 22px calc(100% - 44px);
    }

    .rs-blog-badge {
        font-size: 13px;
    }

    .rs-blog-hero-visual {
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* CONTENTS SECTION */
.rs-blog-content {
    position: relative;
    padding: 10px 0 80px;
}

.rs-blog-content .container {
    max-width: 1400px;
}

.rs-blog-main-card {
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(237, 247, 255, 0.5)),
        rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 24px 70px rgba(31, 88, 160, 0.12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.rs-blog-section-head,
.rs-sidebar-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.rs-blog-section-head h2,
.rs-sidebar-title h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--color1);
}

.rs-sidebar-title h3 {
    font-size: 18px;
}

.rs-blog-list-page {
    display: grid;
    gap: 28px;
}

.rs-blog-post-card {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 30px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 46px rgba(31, 88, 160, 0.08);
    transition: 0.35s ease;
    animation: rsBlogCardFade 0.75s ease both;
}

.rs-blog-post-card:hover {
    transform: translateY(-7px);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 28px 70px rgba(13, 110, 253, 0.15);
}

.rs-blog-post-img {
    display: block;
    height: 205px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(13, 110, 253, 0.08);
}

.rs-blog-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.45s ease;
}

.rs-blog-post-card:hover .rs-blog-post-img img {
    transform: scale(1.07);
}

.rs-blog-post-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rs-blog-post-category {
    width: max-content;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--color2);
    font-size: 12px;
    font-weight: 900;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.12);
}

.rs-blog-post-body h3 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.rs-blog-post-body h3 a {
    color: var(--color1);
    transition: 0.3s ease;
}

.rs-blog-post-body h3 a:hover {
    color: var(--color2);
}

.rs-blog-post-body p {
    max-width: 560px;
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.75;
    font-weight: 300;
    color: #3b4d6b;
}

.rs-blog-post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: #3b4d6b;
    font-size: 13px;
    font-weight: 800;
}

.rs-blog-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.rs-blog-post-meta i {
    color: var(--color2);
}

.rs-blog-detail-card {
    overflow: hidden;
}

.rs-blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    color: #3b4d6b;
    font-size: 13px;
    font-weight: 800;
}

.rs-blog-detail-meta span:not(.rs-blog-post-category) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rs-blog-detail-meta i,
.rs-blog-detail-author i {
    color: var(--color2);
}

.rs-blog-detail-card > h2 {
    max-width: 840px;
    margin: 0 0 20px;
    color: var(--color1);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -1.6px;
}

.rs-blog-detail-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.rs-blog-detail-author > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #263657;
    font-size: 13px;
    font-weight: 900;
}

.rs-blog-detail-cover {
    margin: 0 0 34px;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: 0 22px 58px rgba(31, 88, 160, 0.12);
}

.rs-blog-detail-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.rs-blog-article {
    color: #263657;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 400;
}

.rs-blog-article p {
    margin: 0 0 22px;
}

.rs-blog-article h3 {
    margin: 34px 0 16px;
    color: var(--color1);
    font-size: 24px;
    line-height: 1.3;
    font-weight: 950;
    letter-spacing: -0.5px;
}

.rs-blog-article blockquote {
    position: relative;
    margin: 32px 0;
    padding: 28px 30px 28px 76px;
    border-radius: 20px;
    color: #102750;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 800;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(235, 247, 255, 0.58)),
        rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 46px rgba(31, 88, 160, 0.1);
}

.rs-blog-article blockquote::before {
    content: "\f10d";
    position: absolute;
    left: 26px;
    top: 28px;
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    color: var(--color2);
}

.rs-blog-article ul {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.rs-blog-article li {
    position: relative;
    padding-left: 30px;
}

.rs-blog-article li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color2);
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.08);
}

.rs-blog-detail-share-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding: 18px 20px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(237, 247, 255, 0.48)),
        rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 42px rgba(31, 88, 160, 0.08);
}

.rs-blog-coffee-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 16px;
    border: 0;
    border-radius: 999px;
    color: #7c4a03;
    font-size: 13px;
    font-weight: 950;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.5), transparent 30%),
        linear-gradient(135deg, #fde047 0%, #facc15 100%);
    box-shadow:
        0 14px 28px rgba(245, 158, 11, 0.18),
        0 0 0 4px rgba(255, 183, 3, 0.08);
    transition: 0.3s ease;
}

.rs-blog-coffee-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 34px rgba(245, 158, 11, 0.25),
        0 0 0 5px rgba(255, 183, 3, 0.1);
}

.rs-blog-sidebar {
    display: grid;
    gap: 24px;
    position: sticky;
    top: 110px;
    padding: 22px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(237, 247, 255, 0.48)),
        rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 24px 70px rgba(31, 88, 160, 0.12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.rs-sidebar-card {
    padding: 26px;
    border-radius: 20px;
}

.rs-search-form {
    position: relative;
}

.rs-search-form input {
    width: 100%;
    height: 54px;
    padding: 0 54px 0 18px;
    border-radius: 15px;
    color: var(--color1);
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(13, 110, 253, 0.12);
    background: rgba(255, 255, 255, 0.72);
    outline: none;
}

.rs-search-form input:focus {
    border-color: rgba(13, 110, 253, 0.38);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.08);
}

.rs-search-form button {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    color: var(--color2);
    background: transparent;
    transition: 0.3s ease;
}

.rs-search-form button:hover {
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #0058df);
}

.rs-category-list {
    display: grid;
    gap: 12px;
}

.rs-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #263657;
    font-size: 13px;
    font-weight: 800;
    transition: 0.3s ease;
}

.rs-category-list a span {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.rs-category-list a i {
    width: 18px;
    color: var(--color2);
    text-align: center;
}

.rs-category-list a strong {
    min-width: 34px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color2);
    background: rgba(13, 110, 253, 0.08);
}

.rs-category-list a:hover {
    color: var(--color2);
    transform: translateX(5px);
}

.rs-sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--color2);
    font-size: 13px;
    font-weight: 900;
    transition: 0.3s ease;
}

.rs-sidebar-link:hover {
    transform: translateX(5px);
    color: var(--color1);
}

.rs-featured-list {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.rs-featured-list a {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 12px;
    color: #263657;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
    transition: 0.3s ease;
}

.rs-featured-list a i {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color2);
    background: rgba(13, 110, 253, 0.08);
}

.rs-featured-list a:hover {
    color: var(--color2);
    transform: translateX(5px);
}

@keyframes rsBlogCardFade {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rs-blog-post-card:nth-child(1) { animation-delay: 0.05s; }
.rs-blog-post-card:nth-child(2) { animation-delay: 0.12s; }
.rs-blog-post-card:nth-child(3) { animation-delay: 0.19s; }
.rs-blog-post-card:nth-child(4) { animation-delay: 0.26s; }
.rs-blog-post-card:nth-child(5) { animation-delay: 0.33s; }

@media (max-width: 1199.98px) {
    .rs-blog-post-card {
        grid-template-columns: 280px 1fr;
    }

    .rs-blog-post-body h3 {
        font-size: 22px;
    }

}

@media (max-width: 991.98px) {
    .rs-blog-content {
        padding: 60px 0 80px;
    }

    .rs-blog-sidebar {
        position: relative;
        top: auto;
        padding: 18px;
        border-radius: 24px;
    }

}

@media (max-width: 767.98px) {
    .rs-blog-sidebar {
        padding: 16px;
    }

    .rs-blog-main-card,
    .rs-sidebar-card {
        padding: 24px;
        border-radius: 22px;
    }

    .rs-blog-post-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .rs-blog-post-img {
        height: 230px;
    }

    .rs-blog-post-body h3 {
        font-size: 20px;
    }

    .rs-blog-post-body p {
        font-size: 14px;
    }

    .rs-blog-detail-author {
        align-items: flex-start;
        flex-direction: column;
    }

    .rs-blog-detail-share-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .rs-blog-article {
        font-size: 15px;
    }

    .rs-blog-article blockquote {
        padding: 24px 24px 24px 62px;
        font-size: 16px;
    }

    .rs-blog-article blockquote::before {
        left: 22px;
        top: 24px;
    }

}

@media (max-width: 575.98px) {
    .rs-blog-content {
        padding: 52px 0 70px;
    }

    .rs-blog-sidebar {
        padding: 14px;
        border-radius: 22px;
    }

    .rs-blog-main-card,
    .rs-sidebar-card {
        padding: 20px;
    }

    .rs-blog-section-head h2 {
        font-size: 23px;
    }

    .rs-blog-post-img {
        height: 190px;
    }

    .rs-blog-post-body h3 {
        font-size: 18px;
    }

    .rs-blog-detail-card > h2 {
        letter-spacing: -0.8px;
    }

    .rs-blog-detail-cover {
        border-radius: 18px;
    }

    .rs-blog-detail-cover img {
        aspect-ratio: 4 / 3;
    }

}
