/**
 * Kitchen recipe library styles.
 */

.page-kitchen-library #library-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page-kitchen-library #library-view-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.page-kitchen-library #library-view-header h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    letter-spacing: 0.05em;
    color: #0f172a;
}

.page-kitchen-library #library-view-header p {
    margin: 0;
    color: rgba(71, 85, 105, 0.85);
}

.page-kitchen-library .library-locale-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.page-kitchen-library .library-locale-switcher__btn {
    border-radius: 999px;
    padding: 0.5rem 1.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #c3f0e1, #a0d9ff);
    color: #0f172a;
    box-shadow: 0 10px 20px -12px rgba(14, 116, 144, 0.6);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-kitchen-library .library-locale-switcher__btn.is-active {
    background: #0f766e;
    color: #ffffff;
    box-shadow: 0 14px 26px -12px rgba(15, 118, 110, 0.55);
}

.page-kitchen-library .library-locale-switcher__btn:hover {
    background: linear-gradient(135deg, #aef1dc, #8ed0ff);
    transform: translateY(-1px);
}

.page-kitchen-library .library-grid {
    display: grid;
    gap: clamp(0.85rem, 2.2vw, 1.4rem);
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.page-kitchen-library .library-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
    padding: clamp(1rem, 2.2vw, 1.4rem);
    border-radius: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.65);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 38px -28px rgba(148, 163, 184, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-kitchen-library .library-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -28px rgba(148, 163, 184, 0.7);
    border-color: rgba(251, 191, 36, 0.5);
}

.page-kitchen-library .library-card__number {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(120, 53, 15, 0.8);
    text-transform: uppercase;
}

.page-kitchen-library .library-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
}

.page-kitchen-library .library-card__description {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(71, 85, 105, 0.8);
}

.page-kitchen-library .library-card__link {
    font-weight: 600;
    color: #2355bf;
    text-decoration: none;
    border-bottom: 1px solid rgba(35, 85, 191, 0.3);
    padding-bottom: 0.1rem;
}

.page-kitchen-library .library-card__link:hover {
    text-decoration: none;
    border-bottom-color: rgba(35, 85, 191, 0.5);
}
