.csa-hero {
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

.csa-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.csa-hero-image img {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    transition: transform 0.5s ease;
}

.csa-hero-image img:hover {
    transform: scale(1.05);
}

.csa-hero-content {
    color: #fff;
}

.csa-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.csa-hero-subtitle {
    display: inline-block;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    font-weight: 500;
    transition: all 0.35s ease;
    cursor: default;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.csa-hero-subtitle:hover {
    background: rgba(255,255,255,0.28);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.3);
}

/* CONTENT */
.csa-content {
    max-width: 1100px;
    margin: -40px auto 60px;
    position: relative;
    z-index: 3;
}

.csa-content-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.1),
        0 8px 30px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.csa-content-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(0,0,0,0.15),
        0 12px 40px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Card Decoration */
.csa-card-decoration {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(48, 62, 157, 0.1), rgba(43, 144, 142, 0.1));
    z-index: 0;
}

.csa-decoration-1 {
    width: 120px;
    height: 120px;
    top: -40px;
    right: -40px;
    opacity: 0.6;
}

.csa-decoration-2 {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: -20px;
    opacity: 0.4;
}

.csa-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.csa-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #303E9D, #2B908E);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(48, 62, 157, 0.3);
    transition: transform 0.3s ease;
}

.csa-content-card:hover .csa-card-icon {
    transform: rotate(10deg) scale(1.1);
}

.csa-card-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 700;
}

.csa-card-tagline {
    color: #303E9D;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.9;
}

.csa-description {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.9;
    position: relative;
    z-index: 1;
    text-align: justify;
    padding: 0 10px;
}

.csa-highlight-box {
    background: linear-gradient(135deg, rgba(48, 62, 157, 0.08), rgba(43, 144, 142, 0.08));
    border-right: 4px solid #303E9D;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.csa-highlight-box:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(48, 62, 157, 0.1), transparent);
    border-radius: 0 0 0 60px;
}

.csa-highlight-box h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.csa-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.csa-feature-item {
    background: rgba(255,255,255,0.7);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(48, 62, 157, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.csa-feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(48, 62, 157, 0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.csa-feature-icon {
    color: #303E9D;
    font-size: 18px;
    background: rgba(48, 62, 157, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.csa-feature-text {
    flex: 1;
}

.csa-feature-text h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1rem;
}

.csa-feature-text p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* SLIDER */
.csa-slider {
    max-width: 1100px;
    margin: 90px auto;
    padding: 0 30px;
    text-align: center;
}

.csa-slider h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.csa-slider h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to left, #303E9D, #2B908E);
    border-radius: 2px;
}

.csa-empty-slider {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 60px 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.9);
}

.csa-empty-state {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.csa-empty-state i {
    font-size: 3.5rem;
    color: #303E9D;
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
}

/* Animations */
.csa-fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: csa-fadeUp 0.9s forwards;
}

.csa-delay-1 { animation-delay: 0.2s; }
.csa-delay-2 { animation-delay: 0.4s; }

@keyframes csa-fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scatter Line Styles */
.csa-molecular-scatter {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

.csa-molecular-line {
    position: absolute;
    width: 100%;
    height: 100%;
}

.csa-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    z-index: 2;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.csa-node:hover {
    transform: translate(-50%, -50%) scale(1.8);
    box-shadow: 0 0 20px rgba(255, 255, 255, 1);
}

.csa-connection {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    transform-origin: 0 0;
    z-index: 1;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
    .csa-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .csa-hero-content h1 {
        font-size: 2.4rem;
    }
    
    .csa-content-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .csa-card-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .csa-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   Archive Layout
================================ */

.csa-archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.csa-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===============================
   Card
================================ */

.csa-arch-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect */
.csa-arch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* ===============================
   Image
================================ */

.csa-arch-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.35s ease;
    margin-top: 20px;
}

.csa-arch-card:hover .csa-arch-card-image {
    transform: scale(1.05);
}

/* ===============================
   Meta (Top Labels)
================================ */

.csa-arch-card-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 13px;
    color: #777;
}

.csa-arch-card-meta-left,
.csa-arch-card-meta-right {
    background: #f3f3f3;
    padding: 4px 8px;
    border-radius: 6px;
}

/* ===============================
   Title
================================ */

.csa-arch-card-title {
    font-size: 18px;
    margin: 12px 0 8px;
    color: #222;
    transition: color 0.25s ease;
}

.csa-arch-card:hover .csa-arch-card-title {
    color: #2B908E;
}

/* ===============================
   Excerpt
================================ */

.csa-arch-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.6em * 3);
    margin-bottom: 12px;
    text-align: justify;
}

/* ===============================
   Actions / Button
================================ */

.csa-arch-card-actions {
    margin-top: auto;
    text-align: left;
}

.csa-arch-card-button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 8px;
    background: #2B908E;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.csa-arch-card:hover .csa-arch-card-button {
    background: #237a78;
    transform: translateX(-4px);
}

/* Smooth fade-in transition for new posts */
.csa-arch-card {
    animation: csa-fadeInCard 0.3s ease-in;
}

@keyframes csa-fadeInCard {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   Responsive
================================ */

@media (max-width: 1024px) {
    .csa-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .csa-archive-grid {
        grid-template-columns: 1fr;
    }
}


