/*
Theme Name: Camellie WP
Theme URI: http://localhost:8080
Author: OpenAI Codex
Description: WordPress local theme for the Camellie website, preserving the current static design and assets.
Version: 0.1.0
Text Domain: camellie-wp
*/

.camellie-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}

.camellie-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(31, 42, 68, 0.14);
    border-radius: 999px;
    background: #fff;
    color: #1f2a44;
    text-decoration: none;
    transition: all 0.2s ease;
}

.camellie-pagination .page-numbers.current,
.camellie-pagination .page-numbers:hover {
    background: #e4007f;
    border-color: #e4007f;
    color: #fff;
}

.camellie-empty-state {
    padding: 28px 32px;
    border-left: 4px solid #e4007f;
    background: #faf8fb;
    color: #4c5673;
}

.news-index-layout {
    width: min(1240px, 92vw);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 52px;
    align-items: start;
}

.news-index-main {
    min-width: 0;
}

.news-index-main .news-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-index-sidebar {
    display: grid;
    gap: 34px;
    align-content: start;
}

.news-index-sidebar .news-filter,
.news-index-sidebar .news-article__aside-box,
.news-article__aside > .news-filter {
    padding: 30px;
    border-radius: 24px;
    background: #faf8fb;
    border: 1px solid rgba(31, 42, 68, 0.08);
}

.news-index-sidebar .news-filter__header h3,
.news-index-sidebar .news-article__aside-box h3,
.news-article__aside > .news-filter .news-filter__header h3 {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 14px;
    color: #1f2a44;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.news-index-sidebar .news-filter__header h3::after,
.news-index-sidebar .news-article__aside-box h3::after,
.news-article__aside > .news-filter .news-filter__header h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    background: #e4007f;
}

.news-filter {
    display: grid;
    gap: 22px;
}

.news-filter__header {
    display: grid;
    gap: 10px;
}

.news-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.news-filter__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(31, 42, 68, 0.14);
    background: #fff;
    color: #4c5673;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-filter__chip strong {
    color: #9097aa;
    font-size: 13px;
    font-weight: 600;
}

.news-filter__chip:hover,
.news-filter__chip.is-current {
    border-color: #e4007f;
    background: #fff3fa;
    color: #e4007f;
}

.news-filter__chip:hover strong,
.news-filter__chip.is-current strong {
    color: #e4007f;
}

.news-filter--sidebar .news-filter__chips {
    display: grid;
    gap: 12px;
}

.news-filter--sidebar .news-filter__chip {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: initial;
    border-radius: 12px;
    border-color: rgba(228, 0, 127, 0.18);
    background: #fff;
}

.news-filter--sidebar .news-filter__chip span {
    min-width: 0;
}

.news-filter--sidebar .news-filter__chip strong {
    min-width: 34px;
    justify-self: end;
    text-align: right;
}

.news-article__section-body > *:first-child {
    margin-top: 0;
}

.news-article__section-body > *:last-child {
    margin-bottom: 0;
}

.news-article__section-body p,
.news-article__section-body ul,
.news-article__section-body ol,
.news-article__section-body blockquote {
    margin: 0 0 16px;
    color: #4c5673;
    line-height: 2;
}

.news-article__section-body ul,
.news-article__section-body ol {
    padding-left: 22px;
}

.news-article__section-body a {
    color: #e4007f;
}

.news-article__section-body img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.news-article__section-body h4 {
    margin: 0 0 12px;
    color: #1f2a44;
    font-size: 22px;
}

.news-article__categories li {
    padding: 0;
}

.news-article__categories li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 12px 0;
    color: #4c5673;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-article__categories li a::after {
    content: "→";
    color: #9097aa;
    font-weight: 500;
}

.news-article__categories li a:hover,
.news-article__categories li.is-current a {
    color: #e4007f;
}

.news-article__categories li.is-current a::after,
.news-article__categories li a:hover::after {
    color: #e4007f;
}

.contact-direct {
    margin: 0;
    font-style: normal;
    text-align: left;
}

.contact-direct p {
    margin: 0;
}

.contact-direct .contact-phone {
    font-size: 14px;
    font-weight: 400;
}

.contact-direct .contact-phone span,
.contact-direct .contact-phone a {
    font-family: "Montserrat", sans-serif;
    font-size: var(--fs-17);
    font-weight: 500;
    line-height: 1.6;
    color: #53565a;
    text-decoration: none;
}

.contact-direct .contact-mail {
    margin-top: 10px;
    font-size: var(--fs-17);
}

.contact-direct .contact-mail a {
    color: #ffffff;
    text-decoration: none;
    line-height: 1.6;
}

.contact-direct .contact-hours {
    margin-top: 10px;
    color: #53565a;
    font-size: 14px;
    line-height: 1.7;
}

.contact-form__notice {
    margin: 0 0 20px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;
    line-height: 1.7;
}

.contact-form__notice--error {
    border: 1px solid rgba(228, 0, 127, 0.28);
    background: rgba(228, 0, 127, 0.08);
    color: #b10062;
}

@media only screen and (max-width: 736px) {
    .news-index-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .news-index-main .news-grid {
        grid-template-columns: 1fr;
    }

    .news-index-sidebar .news-filter,
    .news-index-sidebar .news-article__aside-box,
    .news-article__aside > .news-filter {
        padding: 24px;
    }

    .news-filter__chips {
        gap: 10px;
    }

    .news-filter__chip {
        padding: 10px 14px;
    }

    .contact-direct {
        text-align: left;
    }

    .contact-direct .contact-mail,
    .contact-direct .contact-hours {
        margin-top: 8px;
    }
}
