:root {
    --primary: #00213f;
    --secondary: #0090d4;
    --accent: #00b4f2;
    --light: #f8fcff;
    --lighter: #e8f0fc;
    --white: #ffffff;
    --gray: #6c757d;
    --shadow: rgba(0, 33, 63, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rka-scope {
    font-family: "Inter", sans-serif;
    background: var(--light);
    color: var(--gray);
    line-height: 1.7;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.rka-scope h1,
.rka-scope h2,
.rka-scope h3,
.rka-scope h4 {
    font-family: "Lora", serif;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.2px;
}

.section-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Blog Hero Section */
.blog-hero-section {
    position: relative;
    height: 80vh;
    min-height: 550px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(0, 33, 63, 0.8),
        rgba(0, 144, 212, 0.7)
    );
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
            circle,
            rgba(0, 180, 242, 0.15) 0%,
            transparent 60%
        ),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" opacity="0.1"><circle cx="10" cy="10" r="2" fill="white"/><circle cx="40" cy="10" r="2" fill="white"/><circle cx="70" cy="10" r="2" fill="white"/><circle cx="10" cy="40" r="2" fill="white"/><circle cx="40" cy="40" r="2" fill="white"/><circle cx="70" cy="40" r="2" fill="white"/><circle cx="10" cy="70" r="2" fill="white"/><circle cx="40" cy="70" r="2" fill="white"/><circle cx="70" cy="70" r="2" fill="white"/></svg>')
            repeat;
    animation: wave 10s infinite ease-in-out;
}

@keyframes wave {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

.blog-hero-content {
    text-align: center;
    max-width: 900px;
    width: 90%;
    padding: 2.5rem;
    color: var(--white);
    background: rgba(0, 33, 63, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 33, 63, 0.2);
    position: relative;
}

.blog-hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.8rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 8px rgba(0, 33, 63, 0.3);
}

.blog-hero-content p {
    font-size: clamp(0.9rem, 3vw, 1.25rem);
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Blog Articles Section */
.blog-articles-section,
.contribute-section {
    padding: 5rem 0;
    background: var(--white);
}

.blog-articles-section h2,
.contribute-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 1.5rem;
}

.blog-articles-section .lead,
.contribute-section .lead {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    font-weight: 400;
    color: var(--gray);
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: center;
    line-height: 1.6;
}

.blog-card,
.contribute-card {
    background: linear-gradient(145deg, var(--white), var(--lighter));
    border: 2px solid transparent;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    min-height: 280px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover,
.contribute-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 33, 63, 0.3);
}

/* Blog Image Styles */
.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

/* Blog Meta Styles */
.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.blog-meta .author,
.blog-meta .date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-meta .author::before {
    content: "👤";
    font-size: 0.8rem;
}

.blog-meta .date::before {
    content: "📅";
    font-size: 0.8rem;
}

.blog-card .content,
.contribute-card .content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* No blogs message styles */
.no-blogs-message {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow);
}

.no-blogs-message i {
    margin-bottom: 1rem;
}

.no-blogs-message h3 {
    margin-bottom: 1rem;
}

.blog-card h3,
.contribute-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 0.8rem;
}

.blog-card p,
.contribute-card p {
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    color: var(--gray);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-card .btn-blog,
.contribute-card .btn-contribute,
.cta-section .btn-cta-filled {
    font-family: "Inter", sans-serif;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 600;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--secondary), #00ccff);
    color: var(--white);
    border: none;
    box-shadow: 0 6px 20px rgba(0, 144, 212, 0.3);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.blog-card .btn-blog:hover,
.contribute-card .btn-contribute:hover,
.cta-section .btn-cta-filled:hover {
    background: linear-gradient(90deg, #00ccff, var(--secondary));
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 144, 212, 0.3);
}

.blog-card .btn-blog i,
.contribute-card .btn-contribute i,
.cta-section .btn-cta-filled i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.blog-card .btn-blog:hover i,
.contribute-card .btn-contribute:hover i,
.cta-section .btn-cta-filled:hover i {
    transform: translateX(4px);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-section .lead {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.6;
}

.cta-section .d-flex {
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

/* Responsive */
@media (min-width: 1400px) {
    .section-container {
        max-width: 1320px;
    }
    .blog-articles-section {
        padding: 5rem 0;
        margin-left: -5rem;
    }
    .contribute-section {
        padding: 5rem 0;
        margin-left: -5rem;
    }
}

@media (max-width: 991px) {
    .blog-hero-section {
        height: 75vh;
        min-height: 500px;
    }
    .blog-hero-content {
        padding: 2rem;
    }
    .blog-hero-content h1 {
        font-size: clamp(1.8rem, 5vw, 3.2rem);
    }
    .blog-hero-content p {
        font-size: clamp(0.85rem, 2.8vw, 1.1rem);
    }
    .blog-articles-section,
    .contribute-section,
    .cta-section {
        padding: 4rem 0;
    }
    .blog-articles-section h2,
    .contribute-section h2,
    .cta-section h2 {
        font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    }
    .blog-articles-section .lead,
    .contribute-section .lead,
    .cta-section .lead {
        font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    }
    .blog-card,
    .contribute-card {
        min-height: 260px;
    }
    .blog-card .content,
    .contribute-card .content {
        padding: 1.2rem;
    }
    .blog-card h3,
    .contribute-card h3 {
        font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    }
    .blog-card p,
    .contribute-card p {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }
    .blog-card .btn-blog,
    .contribute-card .btn-contribute,
    .cta-section .btn-cta-filled {
        padding: 0.5rem 1.4rem;
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    }
}

@media (max-width: 767px) {
    .blog-hero-section {
        height: 65vh;
        min-height: 450px;
    }
    .blog-hero-content {
        padding: 1.5rem;
    }
    .blog-hero-content h1 {
        font-size: clamp(1.6rem, 4.5vw, 2.8rem);
    }
    .blog-hero-content p {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
    }
    .blog-articles-section,
    .contribute-section,
    .cta-section {
        padding: 3.5rem 0;
    }
    .blog-articles-section h2,
    .contribute-section h2,
    .cta-section h2 {
        font-size: clamp(1.5rem, 3.2vw, 2rem);
    }
    .blog-articles-section .lead,
    .contribute-section .lead,
    .cta-section .lead {
        font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    }
    .blog-card,
    .contribute-card {
        min-height: 240px;
    }
    .blog-card .content,
    .contribute-card .content {
        padding: 1rem;
    }
    .blog-card h3,
    .contribute-card h3 {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }
    .blog-card p,
    .contribute-card p {
        font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    }
    .blog-card .btn-blog,
    .contribute-card .btn-contribute,
    .cta-section .btn-cta-filled {
        padding: 0.5rem 1.3rem;
        font-size: clamp(0.75rem, 1.8vw, 0.85rem);
        width: 100%;
        max-width: 240px;
    }
    .cta-section .d-flex {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    .cta-section .btn-cta-filled {
        margin: 0 auto;
        width: fit-content;
    }
}

@media (max-width: 576px) {
    .blog-hero-section {
        height: 60vh;
        min-height: 400px;
    }
    .blog-hero-content {
        padding: 1.2rem;
        margin: 0 auto;
    }
    .blog-hero-content h1 {
        font-size: clamp(1.4rem, 4vw, 2.2rem);
    }
    .blog-hero-content p {
        font-size: clamp(0.75rem, 2.2vw, 0.9rem);
    }
    .blog-articles-section,
    .contribute-section,
    .cta-section {
        padding: 3rem 0;
    }
    .blog-articles-section h2,
    .contribute-section h2,
    .cta-section h2 {
        font-size: clamp(1.4rem, 3.2vw, 1.8rem);
    }
    .blog-articles-section .lead,
    .contribute-section .lead,
    .cta-section .lead {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }
    .blog-card,
    .contribute-card {
        min-height: 220px;
    }
    .blog-card .content,
    .contribute-card .content {
        padding: 0.8rem;
    }
    .blog-card h3,
    .contribute-card h3 {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }
    .blog-card p,
    .contribute-card p {
        font-size: clamp(0.7rem, 1.6vw, 0.8rem);
    }
    .blog-card .btn-blog,
    .contribute-card .btn-contribute,
    .cta-section .btn-cta-filled {
        padding: 0.4rem 1.2rem;
        font-size: clamp(0.7rem, 1.6vw, 0.8rem);
        max-width: 220px;
    }
    .cta-section .d-flex {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    .cta-section .btn-cta-filled {
        margin: 0 auto;
        width: fit-content;
    }
    .section-container {
        padding: 0 12px;
    }
}
