
.whimsy-archive,
.whimsy-archive * { box-sizing: border-box; }

.whimsy-archive {
    width: 100vw;
    max-width: none;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    color: #211b38;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}

.wrba-hero {
    background: linear-gradient(135deg, #faf7ff 0%, #f4efff 50%, #fbf9ff 100%);
    border-bottom: 1px solid #eee7f8;
    padding: 58px 24px 54px;
    text-align: center;
}

.wrba-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.wrba-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #7046d8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.wrba-hero h1 {
    margin: 0;
    color: #211b38;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.08;
    font-weight: 700;
}

.wrba-line {
    width: 52px;
    height: 3px;
    margin: 20px auto 17px;
    background: #7046d8;
    border-radius: 10px;
}

.wrba-hero p {
    max-width: 700px;
    margin: 0 auto 28px;
    color: #625d70;
    font-size: 15px;
    line-height: 1.7;
}

.wrba-search {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
}

.wrba-search input {
    width: 100%;
    height: 52px;
    padding: 0 52px 0 23px;
    border: 1px solid #e3dbf2;
    border-radius: 30px;
    outline: none;
    background: #fff;
    color: #342c48;
    box-shadow: 0 8px 28px rgba(70, 45, 120, .08);
    font-size: 14px;
}

.wrba-search input:focus {
    border-color: #b89be9;
}

.wrba-search button {
    position: absolute;
    top: 50%;
    right: 17px;
    width: 34px;
    height: 34px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #7046d8;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.wrba-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.wrba-cats {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.wrba-cats a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 18px;
    border: 1px solid #e5dcf3;
    border-radius: 24px;
    background: #fff;
    color: #5f5870;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .2s ease;
}

.wrba-cats a:hover,
.wrba-cats a.active {
    border-color: #dfd0f8;
    background: #f5efff;
    color: #7046d8;
}

.wrba-grid {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 24px 55px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.wrba-card {
    overflow: hidden;
    border: 1px solid #e8e0f3;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(47, 32, 80, .055);
    transition: transform .2s ease, box-shadow .2s ease;
}

.wrba-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(47, 32, 80, .11);
}

.wrba-image {
    display: block;
    height: 250px;
    overflow: hidden;
    background: #f4efff;
    text-decoration: none;
}

.wrba-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.wrba-placeholder {
    height: 100%;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f3edff;
    color: #7046d8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
}

.wrba-body {
    padding: 20px 21px 22px;
}

.wrba-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.wrba-cat {
    padding: 6px 10px;
    border-radius: 6px;
    background: #f3edff;
    color: #7046d8;
    font-size: 11px;
    font-weight: 700;
}

.wrba-meta time {
    color: #827b90;
    font-size: 11px;
}

.wrba-body h2 {
    margin: 0 0 9px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.28;
}

.wrba-body h2 a {
    color: #211b38;
    text-decoration: none;
}

.wrba-body h2 a:hover {
    color: #7046d8;
}

.wrba-body p {
    margin: 0 0 17px;
    color: #6d6878;
    font-size: 13px;
    line-height: 1.65;
}

.wrba-more {
    color: #7046d8;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.wrba-more span {
    margin-left: 4px;
}

.wrba-pagination {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.wrba-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5dcf3;
    border-radius: 50%;
    color: #625d70;
    text-decoration: none;
    font-size: 13px;
}

.wrba-pagination .page-numbers.current,
.wrba-pagination .page-numbers:hover {
    border-color: #7046d8;
    background: #7046d8;
    color: #fff;
}

.wrba-empty {
    grid-column: 1 / -1;
    padding: 70px 20px;
    text-align: center;
}

.wrba-empty h2 {
    font-family: Georgia, "Times New Roman", serif;
}

.wrba-empty p {
    color: #6d6878;
}

.wrba-empty a {
    color: #7046d8;
}

@media (max-width: 900px) {
    .wrba-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wrba-image {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .wrba-hero {
        padding: 42px 20px 40px;
    }

    .wrba-hero h1 {
        font-size: 40px;
    }

    .wrba-cats {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wrba-grid {
        grid-template-columns: 1fr;
        padding-left: 16px;
        padding-right: 16px;
        gap: 18px;
    }

    .wrba-image {
        height: 240px;
    }

    .wrba-body {
        padding: 18px;
    }
}
