/* Blog archive taxonomy filter */
.gcr-archive-filter {
    margin: 0 0 28px;
    padding: 22px;
    border: 1px solid #dfe7f1;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96)),
        #ffffff;
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.06),
        0 1px 2px rgba(15, 23, 42, 0.04);
}

.gcr-archive-filter__head {
    display: flex;
    gap: 10px 16px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f7;
}

.gcr-archive-filter__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef4fa;
    color: #5f7189;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gcr-archive-filter h2 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: 0;
}

.gcr-archive-filter__section + .gcr-archive-filter__section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e5edf5;
}

.gcr-archive-filter__label {
    display: block;
    margin-bottom: 9px;
    color: #66758b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gcr-archive-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gcr-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid #dce6f1;
    border-radius: 999px;
    background: #ffffff;
    color: #233049;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.gcr-filter-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #edf3f8;
    color: #5e7189;
    font-size: 11px;
    font-weight: 800;
}

.gcr-filter-chip:hover,
.gcr-filter-chip:focus {
    border-color: #c8d6e5;
    background: #f7fafc;
    color: #0f172a;
    text-decoration: none;
    transform: translateY(-1px);
}

.gcr-filter-chip.is-all,
.gcr-filter-chip.is-active {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.gcr-filter-chip.is-all span,
.gcr-filter-chip.is-active span {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.gcr-filter-chip.is-tag {
    min-height: 30px;
    padding: 6px 10px;
    background: #f8fbfe;
    color: #43536b;
    font-size: 12px;
    font-weight: 700;
}

.gcr-filter-chip.is-tag::before {
    content: "#";
    color: #7d8da3;
    font-weight: 800;
}

.gcr-filter-chip.is-tag.is-active::before {
    color: #ffffff;
}

/* Blog archive taxonomy chips */
.blog .site-main article,
.archive .site-main article,
.category .site-main article,
.tag .site-main article {
    position: relative;
}

.gcr-archive-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    margin: -8px 0 18px;
    color: #475569;
    font-size: 13px;
    line-height: 1.35;
}

.gcr-archive-terms__group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.gcr-archive-terms__label {
    color: #748197;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gcr-archive-term {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.gcr-archive-term:hover,
.gcr-archive-term:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.gcr-archive-term.is-category {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.gcr-archive-term.is-category:hover,
.gcr-archive-term.is-category:focus {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
}

.gcr-archive-term.is-tag {
    background: #f6f9fc;
    border-color: #dfe7f1;
    color: #334155;
}

.gcr-archive-term.is-tag:hover,
.gcr-archive-term.is-tag:focus {
    background: #edf4fb;
    border-color: #cbd8e6;
    color: #0f172a;
}

.blog .dynamic-content-template .inside-article,
.archive .dynamic-content-template .inside-article,
.category .dynamic-content-template .inside-article,
.tag .dynamic-content-template .inside-article {
    height: 100%;
}

.blog .dynamic-content-template .gb-container-d2cafe96,
.archive .dynamic-content-template .gb-container-d2cafe96,
.category .dynamic-content-template .gb-container-d2cafe96,
.tag .dynamic-content-template .gb-container-d2cafe96 {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e2e9f2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.07),
        0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog .dynamic-content-template .gb-container-d2cafe96:hover,
.archive .dynamic-content-template .gb-container-d2cafe96:hover,
.category .dynamic-content-template .gb-container-d2cafe96:hover,
.tag .dynamic-content-template .gb-container-d2cafe96:hover {
    border-color: #ccd8e6;
    box-shadow:
        0 22px 52px rgba(15, 23, 42, 0.10),
        0 1px 2px rgba(15, 23, 42, 0.05);
    transform: translateY(-2px);
}

.blog .dynamic-content-template .gb-media-647b3234,
.archive .dynamic-content-template .gb-media-647b3234,
.category .dynamic-content-template .gb-media-647b3234,
.tag .dynamic-content-template .gb-media-647b3234 {
    display: block;
}

.blog .dynamic-content-template .gb-element-941b36e5,
.archive .dynamic-content-template .gb-element-941b36e5,
.category .dynamic-content-template .gb-element-941b36e5,
.tag .dynamic-content-template .gb-element-941b36e5 {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

@media (max-width: 640px) {
    .gcr-archive-filter {
        margin-bottom: 22px;
        padding: 18px;
        border-radius: 16px;
    }

    .gcr-archive-filter__head {
        display: block;
    }

    .gcr-archive-filter h2 {
        margin-top: 10px;
        font-size: 21px;
    }

    .gcr-filter-chip {
        min-height: 32px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .gcr-archive-terms {
        gap: 9px;
        margin-top: 10px;
    }

    .gcr-archive-terms__group {
        width: 100%;
    }

    .gcr-archive-terms__label {
        flex: 0 0 64px;
    }

    .gcr-archive-term {
        min-height: 30px;
        padding: 6px 10px;
    }
}
