.rainy-posts-header {
    padding: 20px;
    border-bottom: 1px solid rgba(138, 185, 205, 0.3);
    background: rgba(138, 185, 205, 0.15);
    color: #fff;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.rainy-posts-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 185, 205, 0.08) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 12px 12px 0 0;
}

.rainy-posts-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}

.rainy-posts-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.rainy-posts-list {
    padding: 0;
}

.rainy-post-item {
    padding: 20px;
    border-bottom: 1px solid rgba(138, 185, 205, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    gap: 20px;
    background: rgba(138, 185, 205, 0.12);
    color: #fff;
    border: 1px solid rgba(138, 185, 205, 0.2);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.rainy-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.rainy-post-item:hover {
    background: rgba(138, 185, 205, 0.18);
    transform: translateX(3px);
    border-color: rgba(138, 185, 205, 0.35);
    box-shadow: 0 4px 15px rgba(138, 185, 205, 0.2);
}

.rainy-post-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(138, 185, 205, 0.8), rgba(138, 185, 205, 0.5));
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 8px 0 0 8px;
}

.rainy-post-item:hover::before {
    transform: scaleY(1);
}

.rainy-post-top {
    border: 2px solid rgba(74, 144, 226, 0.7);
    background: rgba(74, 144, 226, 0.12);
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.25);
}

.rainy-post-top::before {
    background: linear-gradient(to bottom, rgba(74, 144, 226, 0.8), rgba(74, 144, 226, 0.6));
}

.rainy-top-badge {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.85) 0%, rgba(138, 185, 205, 0.85) 100%);
    color: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 6px rgba(74, 144, 226, 0.3);
}

.rainy-post-image {
    flex: 0 0 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(138, 185, 205, 0.08);
    position: relative;
    border: 1px solid rgba(138, 185, 205, 0.2);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rainy-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.05) saturate(0.9);
}

.rainy-post-item:hover .rainy-post-image img {
    transform: scale(1.05);
    opacity: 1;
    filter: brightness(1.15) contrast(1.1) saturate(1);
}

.rainy-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 185, 205, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rainy-post-item:hover .rainy-post-overlay {
    opacity: 1;
}

.rainy-post-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(138, 185, 205, 0.15) 0%, rgba(138, 185, 205, 0.08) 100%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.rainy-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rainy-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.rainy-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(138, 185, 205, 0.15);
    padding: 4px 8px;
    border-radius: 10px;
    border: 1px solid rgba(138, 185, 205, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rainy-category-link {
    background: rgba(138, 185, 205, 0.2);
    color: rgba(138, 185, 205, 0.95);
    padding: 4px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 185, 205, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.rainy-category-link:hover {
    background: rgba(138, 185, 205, 0.7);
    color: rgba(44, 62, 80, 0.9);
    border-color: rgba(138, 185, 205, 0.7);
    transform: translateY(-1px);
    text-shadow: none;
}

.rainy-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.rainy-post-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rainy-post-title:hover,
.rainy-post-title a:hover {
    color: rgba(138, 185, 205, 0.95);
}

.rainy-post-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    background: rgba(138, 185, 205, 0.08);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(138, 185, 205, 0.15);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.rainy-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(138, 185, 205, 0.2);
}

.rainy-post-stats {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.rainy-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(138, 185, 205, 0.15);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(138, 185, 205, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.rainy-read-more-btn {
    color: rgba(138, 185, 205, 0.95);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid rgba(138, 185, 205, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(138, 185, 205, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.rainy-read-more-btn:hover {
    background: rgba(138, 185, 205, 0.7);
    color: rgba(44, 62, 80, 0.9);
    border-color: rgba(138, 185, 205, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(138, 185, 205, 0.3);
    text-shadow: none;
}

.rainy-category-list {
    list-style: none;
    padding: 10px;
}

.rainy-category-item {
    margin-bottom: 8px;
}

.rainy-category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(138, 185, 205, 0.08);
    border: 1px solid rgba(138, 185, 205, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.rainy-category-item a:hover {
    background: rgba(138, 185, 205, 0.2);
    color: rgba(138, 185, 205, 0.95);
    border-color: rgba(138, 185, 205, 0.3);
    transform: translateX(2px);
}

.rainy-category-list .rainy-active {
    background: rgba(138, 185, 205, 0.25);
    color: rgba(138, 185, 205, 0.95);
    font-weight: 600;
    border-color: rgba(138, 185, 205, 0.4);
    box-shadow: 0 2px 8px rgba(138, 185, 205, 0.2);
}

.rainy-category-count {
    background: rgba(138, 185, 205, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid rgba(138, 185, 205, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.rainy-hot-posts {
    list-style: none;
    padding: 10px;
}

.rainy-hot-post-item {
    margin-bottom: 12px;
    padding: 14px;
    border-bottom: 1px solid rgba(138, 185, 205, 0.15);
    background: rgba(138, 185, 205, 0.06);
    border-radius: 8px;
    border: 1px solid rgba(138, 185, 205, 0.15);
    transition: all 0.3s ease;
}

.rainy-hot-post-item:hover {
    background: rgba(138, 185, 205, 0.15);
    border-color: rgba(138, 185, 205, 0.25);
}

.rainy-hot-post-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.rainy-hot-post-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    line-height: 1.4;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.rainy-hot-post-title:hover {
    color: rgba(138, 185, 205, 0.95);
}

.rainy-hot-post-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(138, 185, 205, 0.1);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(138, 185, 205, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.rainy-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(138, 185, 205, 0.3) rgba(138, 185, 205, 0.1);
}

.rainy-archive-list::-webkit-scrollbar {
    width: 6px;
}

.rainy-archive-list::-webkit-scrollbar-track {
    background: rgba(138, 185, 205, 0.1);
    border-radius: 3px;
}

.rainy-archive-list::-webkit-scrollbar-thumb {
    background: rgba(138, 185, 205, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.rainy-archive-list::-webkit-scrollbar-thumb:hover {
    background: rgba(138, 185, 205, 0.5);
}

.rainy-archive-item {
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(138, 185, 205, 0.08);
    border: 1px solid rgba(138, 185, 205, 0.15);
    transition: all 0.3s ease;
}

.rainy-archive-item:last-child {
    margin-bottom: 0;
}

.rainy-archive-item:hover {
    background: rgba(138, 185, 205, 0.18);
    border-color: rgba(138, 185, 205, 0.3);
    transform: translateX(2px);
}

.rainy-archive-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
    display: block;
    padding: 12px 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.rainy-archive-item:hover a {
    color: rgba(138, 185, 205, 0.95);
}

.rainy-widget-title {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
}

.rainy-widget-title i {
    color: rgba(138, 185, 205, 0.9);
}

.rainy-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, rgba(138, 185, 205, 0.8), rgba(138, 185, 205, 0.3));
    border-radius: 1px;
}

.rainy-empty-state {
    padding: 60px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(138, 185, 205, 0.05);
    border-radius: 8px;
    border: 1px dashed rgba(138, 185, 205, 0.2);
}

.rainy-empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.4);
}

.rainy-empty-text {
    font-size: 16px;
    margin: 0;
}

.rainy-quote-card {
    background: rgba(138, 185, 205, 0.08);
    border: 1px solid rgba(138, 185, 205, 0.2);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.rainy-quote-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 60px;
    color: rgba(138, 185, 205, 0.3);
    font-family: serif;
    line-height: 1;
}

.rainy-quote-text {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.rainy-quote-author {
    color: rgba(138, 185, 205, 0.8);
    font-size: 14px;
    text-align: right;
    font-weight: 500;
}

.rainy-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rainy-tag-item {
    background: rgba(138, 185, 205, 0.15);
    color: rgba(138, 185, 205, 0.9);
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 185, 205, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.rainy-tag-item:hover {
    background: rgba(138, 185, 205, 0.3);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(138, 185, 205, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(138, 185, 205, 0.2);
}

@media (max-width: 768px) {
    .rainy-post-item {
        flex-direction: column;
        gap: 15px;
        background: rgba(138, 185, 205, 0.15);
        margin-bottom: 15px;
    }

    .rainy-post-image {
        flex: none;
        height: 160px;
        border-radius: 6px;
    }

    .rainy-post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rainy-post-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .rainy-meta-item,
    .rainy-stat-item {
        background: rgba(138, 185, 205, 0.18);
        padding: 3px 6px;
    }

    .rainy-category-item a {
        padding: 10px 12px;
        background: rgba(138, 185, 205, 0.12);
    }

    .rainy-archive-list {
        max-height: 300px;
    }

    .rainy-archive-item {
        margin-bottom: 6px;
    }

    .rainy-archive-item a {
        font-size: 12px;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .rainy-archive-list {
        max-height: 250px;
    }

    .rainy-archive-item {
        margin-bottom: 5px;
    }

    .rainy-archive-item a {
        font-size: 11px;
        padding: 8px 10px;
    }

    .rainy-tags-cloud {
        gap: 6px;
    }

    .rainy-tag-item {
        font-size: 11px;
        padding: 4px 8px;
    }
}

.rainy-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: rainy-fadeInUp 0.6s ease forwards;
}

@keyframes rainy-fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rainy-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    align-self: start;
}

.rainy-main-content {
    align-items: start;
    min-height: 100vh;
    overflow: visible;
}

.rainy-widget {
    background: rgba(138, 185, 205, 0.08);
    border: 1px solid rgba(138, 185, 205, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(138, 185, 205, 0.1);
}

.rainy-widget-content {
    padding: 15px 20px 20px;
}

.rainy-breadcrumb {
    margin-bottom: 20px;
    padding: 0 20px;
}

.rainy-breadcrumb-inner {
    background: rgba(138, 185, 205, 0.15);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(138, 185, 205, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.rainy-breadcrumb-inner a {
    color: rgba(138, 185, 205, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rainy-breadcrumb-inner a:hover {
    color: rgba(138, 185, 205, 1);
}

.rainy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 1024px) {
    .rainy-container {
        grid-template-columns: 1fr 250px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .rainy-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .rainy-sidebar {
        position: static;
        order: 2;
    }
}


.rainy-post-item::after {
    content: '';
    position: absolute;
    top: -5px;
    right: 10px;
    width: 2px;
    height: 20px;
    background: rgba(138, 185, 205, 0.6);
    border-radius: 0 0 50% 50%;
    opacity: 0;
    animation: rainy-drop 2s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes rainy-drop {

    0%,
    90% {
        opacity: 0;
        transform: translateY(-10px);
    }

    10%,
    80% {
        opacity: 1;
        transform: translateY(30px);
    }

    100% {
        opacity: 0;
        transform: translateY(40px);
    }
}

.rainy-post-item:nth-child(odd)::after {
    --delay: 0.5s;
    right: 20px;
}

.rainy-post-item:nth-child(even)::after {
    --delay: 1s;
    right: 30px;
}