/* Page Brezhoneg : tous les styles restent dans .fisel-breton. */
.fisel-breton {
    background: #fff;
    color: var(--fisel-text);
}

.fisel-breton .fisel-breton-inner {
    width: min(900px, calc(100% - 40px));
    margin-inline: auto;
}

.fisel-breton .fisel-breton-hero {
    padding: 48px 0 40px;
    background: linear-gradient(135deg, var(--fisel-teal-dark), var(--fisel-teal));
    color: #fff;
}

.fisel-breton .fisel-breton-kicker {
    color: var(--fisel-yellow);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fisel-breton .fisel-breton-hero h1 {
    margin: 12px 0 16px;
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.fisel-breton .fisel-breton-hero p {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
}

.fisel-breton .fisel-breton-content {
    display: flow-root;
    font-size: 1.125rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.fisel-breton .fisel-breton-content:not(:empty) {
    padding-block: 36px 48px;
}

.fisel-breton .fisel-breton-content p,
.fisel-breton .fisel-breton-content ul,
.fisel-breton .fisel-breton-content ol {
    margin-block: 0 1.25em;
}

.fisel-breton .fisel-breton-content h2,
.fisel-breton .fisel-breton-content h3 {
    color: var(--fisel-teal-dark);
    line-height: 1.25;
    margin-block: 1.5em .65em;
}

.fisel-breton .fisel-breton-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.3rem);
}

.fisel-breton .fisel-breton-content h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

.fisel-breton .fisel-breton-content ul,
.fisel-breton .fisel-breton-content ol {
    padding-inline-start: 1.5em;
}

.fisel-breton .fisel-breton-content li + li {
    margin-top: .35em;
}

.fisel-breton .fisel-breton-content a:not(.wp-block-button__link) {
    color: var(--fisel-teal-dark);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.fisel-breton .fisel-breton-content a:not(.wp-block-button__link):hover {
    text-decoration-thickness: 2px;
}

.fisel-breton .fisel-breton-content img,
.fisel-breton .fisel-breton-content video {
    max-width: 100%;
    height: auto;
}

.fisel-breton .fisel-breton-content iframe {
    max-width: 100%;
}

.fisel-breton .fisel-breton-content .alignwide,
.fisel-breton .fisel-breton-content .alignfull {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}

.fisel-breton .fisel-breton-content figcaption {
    color: #626b6d;
    font-size: .9rem;
    line-height: 1.5;
}

.fisel-breton .fisel-breton-content .wp-block-group {
    padding: clamp(20px, 3vw, 28px);
    margin-block: 24px;
    border-radius: 18px;
}

.fisel-breton .fisel-breton-content .wp-block-group:not(.has-background) {
    background: var(--fisel-light);
}

.fisel-breton .fisel-breton-content .wp-block-columns {
    gap: 24px;
    margin-block: 24px;
}

.fisel-breton .fisel-breton-content .wp-block-column {
    min-width: 0;
}

.fisel-breton .fisel-breton-content > :first-child,
.fisel-breton .wp-block-group > :first-child,
.fisel-breton .wp-block-column > :first-child {
    margin-top: 0;
}

.fisel-breton .wp-block-group > :last-child,
.fisel-breton .wp-block-column > :last-child {
    margin-bottom: 0;
}

.fisel-breton .fisel-breton-content blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-inline-start: 4px solid var(--fisel-orange);
    background: var(--fisel-light);
    color: var(--fisel-teal-dark);
}

.fisel-breton .fisel-breton-content blockquote > :last-child {
    margin-bottom: 0;
}

.fisel-breton .fisel-breton-content .wp-block-buttons {
    gap: 12px;
    margin-block: 24px;
}

.fisel-breton .fisel-breton-content .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--fisel-orange);
    color: var(--fisel-teal-dark);
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none;
    white-space: normal;
}

.fisel-breton .fisel-breton-content .wp-block-button__link:hover {
    background: var(--fisel-teal-dark);
    color: #fff;
}

.fisel-breton a:focus-visible {
    outline: 3px solid var(--fisel-teal-dark);
    outline-offset: 4px;
}

@media (max-width: 781px) {
    .fisel-breton .fisel-breton-hero {
        padding: 32px 0;
    }

    .fisel-breton .fisel-breton-content {
        font-size: 1.0625rem;
    }

    .fisel-breton .fisel-breton-content:not(:empty) {
        padding-block: 24px 36px;
    }

    .fisel-breton .fisel-breton-content .wp-block-columns {
        flex-direction: column;
        gap: 20px;
    }

    .fisel-breton .fisel-breton-content .wp-block-column {
        flex-basis: auto !important;
        width: 100%;
    }

    .fisel-breton .fisel-breton-content .wp-block-button {
        max-width: 100%;
    }
}

/* Trois premières rangées : niveaux puis informations pratiques. */
.fisel-breton .fisel-breton-content > :nth-child(-n+3 of .wp-block-columns) {
    align-items: stretch;
    margin-block: 32px;
}

.fisel-breton .fisel-breton-content > :nth-child(-n+3 of .wp-block-columns) > .wp-block-column {
    display: flex;
    flex-direction: column;
}

.fisel-breton .fisel-breton-content > :nth-child(-n+3 of .wp-block-columns) > .wp-block-column > .wp-block-group {
    flex: 1;
    box-sizing: border-box;
    width: 100%;
    margin-block: 0;
    padding: clamp(24px, 3vw, 32px);
    background: var(--fisel-light);
    border: 1px solid rgba(46, 139, 143, .18);
    border-top: 3px solid var(--fisel-teal);
}

.fisel-breton .fisel-breton-content > :nth-child(1 of .wp-block-columns) > .wp-block-column > .wp-block-group {
    border-top: 6px solid var(--level-accent, var(--fisel-teal));
}

.fisel-breton .fisel-breton-content > :nth-child(1 of .wp-block-columns) > .wp-block-column:nth-child(2) {
    --level-accent: var(--fisel-orange);
}

.fisel-breton .fisel-breton-content > :nth-child(1 of .wp-block-columns) > .wp-block-column:nth-child(3) {
    --level-accent: var(--fisel-yellow);
}

.fisel-breton .fisel-breton-content > :nth-child(-n+3 of .wp-block-columns) :is(h2, h3) {
    font-weight: 800;
    line-height: 1.2;
}

.fisel-breton .fisel-breton-content > :nth-child(1 of .wp-block-columns) :is(h2, h3) {
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}

.fisel-breton .fisel-breton-content > :nth-child(n+2 of .wp-block-columns):nth-child(-n+3 of .wp-block-columns) p {
    color: var(--fisel-teal-dark);
    font-size: 1.125rem;
    line-height: 1.65;
}

.fisel-breton .fisel-breton-content > :nth-child(n+2 of .wp-block-columns):nth-child(-n+3 of .wp-block-columns) strong {
    font-weight: 800;
}

/* Dernier groupe de premier niveau : invitation avant le lien RAOK. */
.fisel-breton .fisel-breton-content > :nth-last-child(1 of .wp-block-group) {
    margin-block: 40px 28px;
    padding: clamp(28px, 5vw, 44px);
    border-top: 5px solid var(--fisel-yellow);
    border-radius: 22px;
    background: var(--fisel-teal-dark);
    color: #fff;
}

.fisel-breton .fisel-breton-content > :nth-last-child(1 of .wp-block-group) :is(h2, h3, p, li) {
    color: #fff;
}

.fisel-breton .fisel-breton-content > :nth-last-child(1 of .wp-block-group) a:not(.wp-block-button__link) {
    color: var(--fisel-yellow);
}

.fisel-breton .fisel-breton-content > :nth-last-child(1 of .wp-block-group) .wp-block-button__link {
    background: var(--fisel-orange);
    color: var(--fisel-teal-dark);
}

.fisel-breton .fisel-breton-content > :nth-last-child(1 of .wp-block-group) .wp-block-button__link:hover {
    background: var(--fisel-yellow);
    color: var(--fisel-teal-dark);
}

.fisel-breton .fisel-breton-content > :nth-last-child(1 of .wp-block-group) a:focus-visible {
    outline-color: var(--fisel-yellow);
}

@media (max-width: 781px) {
    .fisel-breton .fisel-breton-content > :nth-child(-n+3 of .wp-block-columns) {
        margin-block: 28px;
    }

    .fisel-breton .fisel-breton-content > :nth-last-child(1 of .wp-block-group) .wp-block-button,
    .fisel-breton .fisel-breton-content > :nth-last-child(1 of .wp-block-group) .wp-block-button__link {
        box-sizing: border-box;
        width: 100%;
    }
}
