:root {
    --be-font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    --be-heading-font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
    --be-ink: #273940;
    --be-muted: #697b83;
    --be-grid: rgba(39, 57, 64, .085);
}

body, body p, body li, body a, body button, body input, body select,
body textarea, body label, body h1, body h2, body h3, body h4, body h5,
body h6, body .h1, body .h2, body .h3, body .h4, body .h5, body .h6,
body .under_tit, body .under-tit, body .similar_meta, body #cn-notice-text,
body .fat-event-container, body .fat-event-title, body .fat-event-meta-title,
body .fat-event-meta-time, body .fat-event-meta-date, body .fat-event-meta-location,
body .fat-event-popup-time, body .fat-event-popup-location,
body .fc, body .fc-title, body .fc-time, body .fc-day-number, body .fc th, body .fc td {
    font-family: var(--be-font) !important;
}

body { color: var(--be-ink); font-weight: 400; }
body h1, body h2, body h3, body h4, body h5, body h6,
body .h1, body .h2, body .h3, body .h4, body .h5, body .h6,
body .home-tit, body .top-tit, body .titleg, body .titlep,
body .widget-title, body .title-foot, body .fat-event-meta-title,
body .fat-event-title, body .fat-event-title a {
    font-family: var(--be-heading-font) !important;
    font-weight: 500;
    letter-spacing: -.015em;
}
body h1, body .h1, body .top-tit, body .home-tit, body .slide_content h2 { font-weight: 600; }
body :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) a {
    font-family: inherit !important;
    font-weight: inherit;
}
body p { font-weight: 400; }
body strong, body b, body p strong, body h1 strong, body h2 strong,
body h3 strong { font-weight: 600; }
.menu-glowne-menu-container > ul > li > a { font-weight: 500; }
body button, body input[type="submit"], body .button-w, body .more { font-weight: 500; }
body .slide_content p { font-weight: 400; }
body .widget-foot p, body .widget-foot li { font-weight: 400; }

/* Keep the existing light calendar grid; make text and controls easier to scan. */
.fat-event-container.event-timetable.fc { color: var(--be-ink); line-height: 1.45; }
.fat-event-container.event-timetable.fc .fc-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}
.fat-event-container.event-timetable.fc .fc-toolbar > .fc-left,
.fat-event-container.event-timetable.fc .fc-toolbar > .fc-right,
.fat-event-container.event-timetable.fc .fc-toolbar > .fc-center {
    float: none;
    display: flex;
    align-items: center;
}
.fat-event-container.event-timetable.fc .fc-toolbar > .fc-left { order: 1; }
.fat-event-container.event-timetable.fc .fc-toolbar > .fc-center { order: 2; }
.fat-event-container.event-timetable.fc .fc-toolbar > .fc-right { order: 3; }
.fat-event-container.event-timetable.fc .fc-toolbar .fc-clear { display: none; }
.fat-event-container.event-timetable.fc .fc-toolbar h2 {
    margin: 0;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.035em;
}
.fat-event-container.event-timetable.fc .fc-button {
    height: auto;
    min-height: 35px;
    padding: 7px 11px;
    border: 1px solid #e4eaed;
    border-radius: 7px;
    background: #fff;
    background-image: none;
    color: #52656e;
    box-shadow: none;
    text-shadow: none;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    transition: background-color .15s ease, color .15s ease;
}
.fat-event-container.event-timetable.fc .fc-button:hover,
.fat-event-container.event-timetable.fc .fc-button.fc-state-active {
    background: #edf4f6;
    color: #27596c;
    border-color: #e0ebef;
    box-shadow: none;
}
.fat-event-container.event-timetable.fc .fc-button:disabled {
    color: #7d8b92;
    opacity: .6;
    background: #fafbfc;
}
.fat-event-container.event-timetable.fc .fc-button:focus-visible,
.fat-event-container.event-timetable.fc .fc-event:focus-visible {
    outline: 2px solid #4a8da6;
    outline-offset: 2px;
}
.fat-event-container.event-timetable.fc .fc-button-group {
    display: inline-flex;
    gap: 4px;
}
.fat-event-container.event-timetable.fc .fc-button-group .fc-button {
    margin-left: 0;
    border-radius: 7px;
}
.fat-event-container.event-timetable.fc .fc-widget-header,
.fat-event-container.event-timetable.fc .fc-widget-content,
.fat-event-container.event-timetable.fc .fc-divider,
.fat-event-container.event-timetable.fc .fc-row,
.fat-event-container.event-timetable.fc td,
.fat-event-container.event-timetable.fc th {
    border-color: var(--be-grid);
    border-width: 1px;
}
.fat-event-container.event-timetable.fc .fc-head .fc-day-header {
    padding: 13px 4px;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--be-muted);
}
.fat-event-container.event-timetable.fc .fc-head .fc-day-header a {
    color: inherit;
    font-weight: 600;
}
.fat-event-container.event-timetable.fc .fc-day-number {
    margin: 2px 1px 5px;
    padding: 2px 4px;
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: #52636b;
}
.fat-event-container.event-timetable.fc .fc-day-top:not(.fc-other-month) a {
    color: #52636b;
}
.fat-event-container.event-timetable.fc .fc-other-month { opacity: .45; }
.fat-event-container.event-timetable.fc .fc-day.fc-today { background: #f3f8fa; }
.fat-event-container.event-timetable.fc .fc-day-top.fc-today .fc-day-number {
    background: #e1eff4;
    border-radius: 5px;
    color: #28647a;
    font-weight: 600;
}
.fat-event-container.event-timetable.fc a.fc-day-grid-event {
    position: relative;
    margin: 3px 1px;
    padding: 5px 6px 5px 13px;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-radius: 5px;
    background: #f3f6f7 !important;
    background: color-mix(in srgb, var(--be-event-color, #4d8797) 8%, white) !important;
    color: #293b42 !important;
    box-shadow: none;
    line-height: 1.35;
    text-decoration: none;
}
.fat-event-container.event-timetable.fc a.fc-day-grid-event::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--be-event-color, #4d8797);
}
.fat-event-container.event-timetable.fc a.fc-day-grid-event:hover {
    background: #ecf2f4 !important;
    background: color-mix(in srgb, var(--be-event-color, #4d8797) 14%, white) !important;
}
.fat-event-container.event-timetable.fc .fc-day-grid-event .fc-content { white-space: normal; }
.fat-event-container.event-timetable.fc .fc-day-grid-event .fc-time {
    display: block;
    margin-bottom: 2px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .015em;
    font-variant-numeric: tabular-nums;
    color: #5c6d75;
}
.fat-event-container.event-timetable.fc .fc-day-grid-event .fc-title {
    font-family: var(--be-heading-font) !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}
.fat-event-container.event-timetable.fc .fc-more {
    display: inline-block;
    padding: 3px 1px;
    color: #3e7185;
    font-size: 11px;
    font-weight: 500;
}
.fat-event-container.event-timetable.fc .fc-more:hover { text-decoration: underline; }
.fat-event-container.event-timetable.fc .fc-popover {
    border: 1px solid #e8edf0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(34, 59, 70, .08);
}
.fat-event-container.event-timetable.fc .fc-popover .fc-header {
    padding: 10px;
    background: #f7fafb;
    color: #52656e;
    font-size: 12px;
    font-weight: 500;
}
.fat-event-container.event-timetable.fc .fc-list-view { border-color: var(--be-grid); }
.fat-event-container.event-timetable.fc .fc-list-heading td {
    background: #f6f9fa;
    color: #52656e;
    font-weight: 500;
}
.fat-event-container.event-timetable.fc .fc-list-item td {
    padding: 10px 8px !important;
    border-color: var(--be-grid);
    font-size: 12px;
}
.fat-event-container.event-timetable.fc .fc-list-item:hover td { background: #f8fafb; }

@media (max-width: 680px) {
    .fat-event-container.event-timetable.fc .fc-toolbar { gap: 14px 8px; margin-bottom: 16px; }
    .fat-event-container.event-timetable.fc .fc-toolbar > .fc-center {
        order: 0;
        flex-basis: 100%;
        justify-content: center;
    }
    .fat-event-container.event-timetable.fc .fc-button { padding: 7px 9px; font-size: 10px; }
    .fat-event-container.event-timetable.fc .fc-view-container { overflow-x: auto; overscroll-behavior-inline: contain; }
    .fat-event-container.event-timetable.fc .fc-month-view { min-width: 680px; }
}

/* Home hero and the three feature tiles: a restrained size increase. */
body.home #slider .slide_content h2 {
    font-family: var(--be-heading-font) !important;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: .005em;
}
body.home .top3s .box_3_content .h3 {
    font-family: var(--be-heading-font) !important;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.005em;
}
@media (min-width: 1480px) {
    body.home #slider .slide_content h2 { font-size: 44px; }
}
@media (max-width: 1095px) {
    body.home #slider .slide_content h2 { font-size: 32px; }
}
@media (max-width: 910px) {
    body.home #slider .slide_content h2 { font-size: 22px; line-height: 1.18; }
}
@media (max-width: 740px) {
    body.home .top3s .box_3_content .h3 { font-size: 19px; }
}

/* Four training categories: consistent photo crops and quiet typography. */
body.home .circle-slide .content_in { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; float: none; margin: 36px 0; }
body.home .circle-slide .col-cir { width: auto; min-width: 0; text-align: left; }
body.home .circle-slide .circle { width: 100%; height: auto; aspect-ratio: 4/5; border-radius: 10px; background: #f4f6f5; }
body.home .circle-slide .circle picture { position: absolute; inset: 0; display: block; }
body.home .circle-slide .circle img { width: 100%; height: 100%; max-width: 100%; max-height: none; min-height: 0; object-fit: cover; transition: transform .35s ease; }
body.home .circle-slide .col-cir:hover .circle img { transform: scale(1.025); }
body.home .circle-slide .cir_cont { width: 100%; margin: 16px 0 0; }
body.home .circle-slide .cir_cont h2 { font-family: var(--be-heading-font) !important; font-size: 21px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; margin: 0; }
body.home .circle-slide .cir_cont p:empty { display: none; }
body.home .be-academy { margin: 32px auto 12px; max-width: 1120px; }
body.home .be-academy-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
body.home .be-academy-photo { margin: 0; }
body.home .be-academy-photo img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
body.home .be-academy-photo figcaption { font-size: 11px; color: #777; margin-top: 6px; text-align: left; }
body.home .be-academy h2 { font-size: clamp(26px,2.4vw,34px); line-height: 1.18; font-weight: 500; letter-spacing: -.015em; margin: 0 0 20px; }
body.home .be-academy p { font-size: 15px; line-height: 1.8; margin: 0 0 16px; }
body.home .be-academy .be-eyebrow { color: #408d8d; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
body.home .be-academy .be-academy-link { display: inline-block; margin-top: 6px; color: #277f80; font-weight: 500; border-bottom: 1px solid #b8d7d5; padding-bottom: 4px; }
body.home .be-academy-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 36px; margin-top: 48px; padding-top: 32px; border-top: 1px solid #e8eceb; }
body.home .be-academy h3 { font-size: 21px; font-weight: 500; line-height: 1.25; margin: 0 0 12px; }
body.home .be-academy-features p { font-size: 14px; margin: 0; }
body.home .be-academy-contact { margin-top: 32px; color: #52615e; }
@media (max-width: 1000px) {
 body.home .circle-slide .content_in { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
 body.home .be-academy-intro { gap: 28px; }
 body.home .be-academy-features { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
 body.home .be-academy-intro { grid-template-columns: 1fr; gap: 24px; }
 body.home .be-academy-features { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; padding-top: 24px; }
 body.home .circle-slide .content_in { gap: 24px 16px; margin: 24px 0; }
 body.home .circle-slide .cir_cont h2 { font-size: 18px; }
 body.home .circle-slide .cir_cont { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { body.home .circle-slide .circle img { transition: none; } body.home .circle-slide .col-cir:hover .circle img { transform: none; } }

/* Clearer header actions, restrained navigation and stronger editorial headings. */
body header .top-info ul { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
body header .top-info ul li { float: none; border: 0; padding: 0; }
body header .top-info .mobilecal { order: 0; }
body header .top-info .phoTop { order: 1; padding: 0 7px; }
body header .top-info .zapis { order: 2; }
body header .top-info a.cal, body header .top-info .zapis a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 15px; border-radius: 7px; float: none; font-family: var(--be-heading-font) !important; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: 0; transition: background-color .2s ease, color .2s ease; }
body header .top-info a.cal { gap: 9px; background: #307d78; color: #fff; }
body header .top-info a.cal p { display: inline; margin: 0; font-family: var(--be-heading-font) !important; font-size: 15px; font-weight: 500; line-height: 1.3; color: inherit; }
body header .top-info a.cal::before { float: none; flex: 0 0 17px; width: 17px; height: 17px; margin: 0; filter: brightness(0) invert(1); }
body header .top-info .zapis a { background: #e8f1ed; color: #285d57; font-size: 14px; }
body header .top-info a.cal:hover { background: #266b66; }
body header .top-info .zapis a:hover { background: #d9e9e1; color: #214e49; }
body header .top-info .phoTop p { font-size: 13px; color: #52635f; }
body header .menu-glowne-menu-container > ul > li > a { font-family: var(--be-heading-font) !important; font-size: 18px; font-weight: 500; letter-spacing: .005em; color: #263d3a; transition: color .2s ease; }
body header .menu-glowne-menu-container > ul > li > a::before { display: none; }
body header .menu-glowne-menu-container > ul > li > a:hover, body header #menu-glowne-menu > li.current-menu-item > a { color: #307d78; }
body header .top-info a:focus-visible, body header #right_menu a:focus-visible { outline: 2px solid #307d78 !important; outline-offset: 4px; }

body h2, body h3, body .titleg, body .top-tit, body .home-tit { font-weight: 600; }
body.home #slider .slide_content h2 { font-size: 46px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
body.home .home-tit { font-size: 30px; line-height: 1.25; margin-bottom: 28px; }
body.home .box_all > .titlep { font-size: 21px; font-weight: 500; color: #526b65; line-height: 1.4; margin-bottom: 8px; }
body.home .box_all > .titleg { font-size: 44px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
body .new-content h5 { font-family: var(--be-heading-font) !important; font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: #263d3a; margin: 3px 0 12px; }
body .box-news-home .new-content, body .box-news .new-content { padding: 20px; }
body .box-news-home:hover, body .box-news:hover { box-shadow: none; }

body #footer { background: #153b3c; padding-top: 50px; padding-bottom: 28px; }
body #footer .title-foot { font-family: var(--be-heading-font) !important; font-size: 23px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 21px; }
body #footer .widget-foot li { font-size: 15px; font-weight: 500; line-height: 2; }
body #footer .widget-foot li a { color: #dbe8e4; transition: color .2s ease; }
body #footer .widget-foot p { width: 88%; font-size: 14px; line-height: 1.85; color: #dbe8e4; }
body #footer .widget-foot p a { color: #a9dcd2; font-weight: 500; }
body #footer .widget-foot a:hover { color: #fff; }
body #footer a:focus-visible { outline: 2px solid #a9dcd2 !important; outline-offset: 4px; }
body #foot_bottom { margin-top: 28px; font-size: 12px; line-height: 1.6; padding: 0 15px; }
@media(min-width:1480px) { body.home #slider .slide_content h2 { font-size: 50px; } }
@media(max-width:1199px) and (min-width:911px) { body header .menu-glowne-menu-container > ul > li > a { font-size: 17px; padding-right: 12px; padding-left: 12px; } }
@media(max-width:1095px) { body.home #slider .slide_content h2 { font-size: 36px; } }
@media(max-width:910px) {
 body.home #slider .slide_content h2 { font-size: 26px; line-height: 1.15; }
 body header .menu-glowne-menu-container > ul > li > a { font-size: 18px; }
 body #footer .title-foot { font-size: 22px; }
}
@media(max-width:740px) {
 body header .top-info ul { gap: 8px; padding: 0 12px; }
 body header .top-info a.cal, body header .top-info .zapis a { min-height: 38px; padding: 9px 12px; }
 body header .top-info a.cal p { font-size: 14px; }
 body header .top-info .zapis a { font-size: 13px; }
 body.home #slider .slide_content h2 { font-size: 24px; }
 body.home .home-tit { font-size: 27px; }
 body.home .box_all > .titlep { font-size: 19px; }
 body.home .box_all > .titleg { font-size: 36px; }
 body .new-content h5 { font-size: 22px; }
 body #footer { padding-top: 38px; }
}
@media(max-width:465px) { body.home #slider .slide_content h2 { font-size: 22px; } body #footer .widget-foot p { width: 100%; } }
@media(max-width:360px) { body header .top-info ul { gap: 6px; padding: 0 9px; } body header .top-info a.cal, body header .top-info .zapis a { padding: 9px 9px; } body header .top-info a.cal p { font-size: 13px; } body header .top-info .zapis a { font-size: 12px; } }
@media(prefers-reduced-motion:reduce) { body header .top-info a, body header .menu-glowne-menu-container a, body #footer .widget-foot a { transition: none !important; } }
/* Give the three populated footer columns space; hide empty widget headings. */
body #footer > .content { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr; gap: 42px; }
body #footer > .content::before, body #footer > .content::after { display: none; }
body #footer .widget-foot { float: none; width: auto; margin: 0; min-width: 0; }
body #footer .widget-foot:not(:has(p, li, a, img, form)) { display: none; }
@media(max-width:910px) { body #footer > .content { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; } }
@media(max-width:600px) { body #footer > .content { grid-template-columns: 1fr; gap: 30px; } }

/* A quieter secondary action, a clearer phone and balanced heading sizes. */
body header .top-info .zapis a { background: #f5f7f6; color: #586d67; font-size: 13px; }
body header .top-info .zapis a:hover { background: #edf2ef; color: #36564f; }
body header .top-info .phoTop a { display: inline-flex; align-items: center; min-height: 40px; }
body header .top-info .phoTop p { font-family: var(--be-heading-font) !important; font-size: 17px; font-weight: 500; color: #213f3c; letter-spacing: .005em; }
body.home #slider .slide_content h2 { font-size: 41px; font-weight: 500; line-height: 1.14; letter-spacing: 0; }
body.home .box_all > .titlep { font-size: 18px; font-weight: 500; }
body.home .box_all > .titleg { font-size: 36px; font-weight: 500; letter-spacing: -.015em; }
body .new-content h5 { font-size: 19px; font-weight: 500; line-height: 1.35; letter-spacing: -.005em; }
@media(min-width:1480px) { body.home #slider .slide_content h2 { font-size: 45px; } }
@media(max-width:1095px) { body.home #slider .slide_content h2 { font-size: 32px; } }
@media(max-width:910px) { body.home #slider .slide_content h2 { font-size: 23px; } }
@media(max-width:740px) {
 body header .top-info .zapis a { font-size: 12px; }
 body.home #slider .slide_content h2 { font-size: 22px; }
 body.home .box_all > .titlep { font-size: 17px; }
 body.home .box_all > .titleg { font-size: 32px; }
 body .new-content h5 { font-size: 20px; }
}
@media(max-width:465px) { body.home #slider .slide_content h2 { font-size: 20px; } }

/* Match all three top-bar labels in size and weight. */
body header .top-info a.cal, body header .top-info a.cal p,
body header .top-info .zapis a, body header .top-info .phoTop p {
 font-family: var(--be-heading-font) !important;
 font-size: 15px;
 font-weight: 500;
 line-height: 1.3;
 letter-spacing: 0;
}
@media(max-width:740px) {
 body header .top-info a.cal, body header .top-info a.cal p,
 body header .top-info .zapis a, body header .top-info .phoTop p { font-size: 13px; }
}

/* Pair the training actions, with contact details on the right. */
body header .top-info ul { display: grid; grid-template-columns: minmax(0,1fr) auto auto auto; grid-template-rows: 20px 20px; column-gap: 12px; row-gap: 0; }
body header .top-info .mobilecal { grid-column: 2; grid-row: 1 / 3; align-self: center; order: initial; }
body header .top-info .zapis { grid-column: 3; grid-row: 1 / 3; align-self: center; order: initial; }
body header .top-info .phoTop { grid-column: 4; grid-row: 1; justify-self: end; align-self: center; padding: 0; order: initial; }
body header .top-info .phoTop a { min-height: 0; }
body header .top-info .phoTop p { display: inline; margin: 0; }
body header .top-info .be-top-address { grid-column: 4; grid-row: 2; justify-self: end; align-self: center; line-height: 1.3; }
body header .top-info .be-top-address a { display: inline; font-family: var(--be-font) !important; font-size: 11px; font-weight: 400; color: #5b716a; line-height: 1.3; white-space: nowrap; }
body header .top-info .be-top-address a:hover { color: #307d78; }
body header .top-info .be-top-address span { margin: 0 3px; }
@media(max-width:910px) {
 body header { position: relative; }
 body header .top-info ul { grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 7px; padding: 0 12px 3px; }
 body header .top-info .mobilecal { grid-column: 1; grid-row: 1; justify-self: start; }
 body header .top-info .zapis { grid-column: 2; grid-row: 1; justify-self: end; }
 body header .top-info ul li.phoTop { display: flex !important; grid-column: 2; grid-row: 2; }
 body header .top-info .be-top-address { grid-column: 1; grid-row: 2; justify-self: start; }
 body header .menu-glowne-menu-container > ul { top: 100%; }
}
@media(max-width:360px) { body header .top-info ul { padding-right: 9px; padding-left: 9px; column-gap: 6px; } body header .top-info .be-top-address a { font-size: 10px; } body header .top-info .be-top-address span { margin: 0 1px; } }

/* Treat phone and location as one aligned contact group. */
body header .top-info .phoTop, body header .top-info .be-top-address { justify-self: start; margin-left: 16px; }
body header .top-info .phoTop a { gap: 8px; }
body header .top-info .phoTop a::before { content: ""; display: block; width: 14px; height: 14px; flex: 0 0 14px; background-color: #487c73; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2A19.8 19.8 0 0 1 3.1 5.2 2 2 0 0 1 5.1 3h3l2 5-2 2a16 16 0 0 0 6 6l2-2 5 2z'/%3E%3C/svg%3E") center / contain no-repeat; }
body header .top-info .be-top-address a { display: inline-block; position: relative; padding-left: 22px; font-family: var(--be-heading-font) !important; font-size: 13px; font-weight: 500; color: #5d716b; }
body header .top-info .be-top-address a::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; background-color: #487c73; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media(max-width:910px) {
 body header .top-info .phoTop, body header .top-info .be-top-address { margin-left: 0; }
 body header .top-info .phoTop { justify-self: end; }
 body header .top-info .be-top-address a { font-size: 11px; padding-left: 18px; }
 body header .top-info .be-top-address a::before { width: 12px; height: 12px; }
}
@media(max-width:360px) { body header .top-info .be-top-address a { font-size: 10px; } }

/* Matching section hierarchy: a quiet label and a medium-weight title. */
body.home .box_all > :is(.under-tit, .titlep) { display: block; font-family: var(--be-heading-font) !important; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: .01em; color: #5d7770; text-align: center; margin: 0 0 8px; }
body.home .box_all > :is(h4, .titleg) { font-family: var(--be-heading-font) !important; font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.015em; text-align: center; margin: 0 0 28px; }
@media(max-width:740px) {
 body.home .box_all > :is(.under-tit, .titlep) { font-size: 15px; }
 body.home .box_all > :is(h4, .titleg) { font-size: 28px; }
}

/* Rebalance the existing desktop header around its logo, without changing markup. */
@media(min-width:911px) {
 body header.top { display: grid; grid-template-columns: minmax(20px,1fr) minmax(0,240px) minmax(0,940px) minmax(20px,1fr); grid-template-rows: auto auto; padding-top: 28px; }
 body header .top-menu, body header .top-menu > .content { display: contents; }
 body header .top-menu > .content::before, body header .top-menu > .content::after { display: none; }
 body header .logo { grid-column: 2; grid-row: 1; display: block; align-self: center; justify-self: start; width: 216px; line-height: 0; }
 body header .logo img { display: block; width: 216px; height: auto; position: static; top: auto; margin: 0; }
 body header .top-info { grid-column: 3; grid-row: 1; align-self: start; float: none; width: auto; min-width: 0; padding-top: 0 !important; margin-top: 10px; }
 body header .top-info > .content { width: auto; padding: 0; margin: 0; }
 body header .top-info ul { grid-template-rows: 22px 22px; column-gap: 14px; row-gap: 2px; }
 body header .top-info .phoTop, body header .top-info .be-top-address { margin-left: 24px; }
 body header .topRight { grid-column: 3; grid-row: 1; align-self: end; justify-self: end; float: none; margin: 0 0 7px; }
 body header .top_social { display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding: 0; margin: 0; }
 body header .top_social li { margin: 0; }
 body header .topRight .new_top:not(:has(li)) { display: none; }
 body header #right_menu { grid-column: 2 / 4; grid-row: 2; float: none; width: 100%; margin: 18px 0 6px; }
 body header #right_menu > .content { width: 100%; padding: 0; margin: 0; }
}
@media(max-width:910px) {
 body header.top { padding-top: 18px; padding-bottom: 12px; }
 body header .top-info { padding-top: 0 !important; margin-bottom: 12px; }
 body header .top-info ul { row-gap: 10px; padding-bottom: 6px; }
 body header .logo img { margin-top: 0; }
 body header .topRight { margin-top: 0; }
}

/* Consistent content headings on pages and blog articles. */
body.page:not(.home) .top_page .top-tit { font-size: 34px; font-weight: 500; line-height: 1.2; margin-bottom: 10px; }
body.page:not(.home) .top_page .under_tit { font-size: 15px; line-height: 1.5; }
body.page:not(.home) .left > :is(h1,h2,h3,h4), body.single-post .left > :is(h2,h3,h4), body.page:not(.home) .wp-block-heading { font-family: var(--be-heading-font) !important; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; color: var(--be-ink); margin-top: 30px; margin-bottom: 16px; }
body.page:not(.home) .left > :is(h1,h2,h3,h4)::after, body.single-post .left > :is(h2,h3,h4)::after { display: none; }
body.page:not(.home) .left > h1 { font-size: 30px; }
body.page:not(.home) .left > h2, body.single-post .left > h2, body.page:not(.home) h2.wp-block-heading { font-size: 28px; }
body.page:not(.home) .left > h3, body.single-post .left > h3 { font-size: 23px; }
body.page:not(.home) .left > h4, body.single-post .left > h4 { font-size: 21px; }

/* Model price list: clear prices, quiet row dividers and a readable mobile layout. */
body.page-id-34 .be-model-pricing { max-width: 1080px; margin: 0 auto; }
body.page-id-34 .be-price-intro { max-width: 720px; margin-bottom: 32px; }
body.page-id-34 .be-price-intro .be-price-eyebrow { font-family: var(--be-heading-font) !important; color: #5d7770; font-size: 16px; font-weight: 500; margin: 0 0 8px; }
body.page-id-34 .be-price-intro h2 { font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 18px; }
body.page-id-34 .be-price-intro p { font-size: 16px; line-height: 1.8; margin: 0 0 16px; }
body.page-id-34 .be-price-link { display: inline-block; font-size: 15px; font-weight: 500; color: #307d78; padding-bottom: 4px; }
body.page-id-34 .be-price-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; color: var(--be-ink); }
body.page-id-34 .be-price-table th, body.page-id-34 .be-price-table td { border: 0; border-bottom: 1px solid #e4ebe7; padding: 21px 22px; text-align: left; vertical-align: top; line-height: 1.6; }
body.page-id-34 .be-price-table thead th { background: #f0f5f2; font-size: 14px; font-weight: 500; }
body.page-id-34 .be-price-table thead th:first-child { width: 48%; border-radius: 9px 0 0 0; }
body.page-id-34 .be-price-table thead th:last-child { border-radius: 0 9px 0 0; }
body.page-id-34 .be-price-table tbody th { font-family: var(--be-heading-font) !important; font-size: 18px; font-weight: 500; }
body.page-id-34 .be-price-table td { font-size: 15px; color: #61716b; }
body.page-id-34 .be-price-table .be-training-price { font-size: 16px; font-weight: 500; color: #286b65; }
body.page-id-34 .be-price-detail { display: block; font-family: var(--be-font) !important; font-size: 12px; font-weight: 400; color: #6e7d77; line-height: 1.5; margin-top: 7px; }
body.page-id-34 .be-price-contact { max-width: 1080px; margin: 48px auto 0; padding: 32px; border-radius: 12px; background: #f5f8f6; scroll-margin-top: 24px; }
body.page-id-34 .be-price-contact h2.wp-block-heading { margin: 0 0 14px; }
body.page-id-34 .be-price-contact p { font-size: 15px; line-height: 1.8; }
body.page-id-34 .be-price-contact .nf-form-title { display: none; }
body.page-id-34 .be-price-contact .nf-form-content { max-width: 100%; }
body.page-id-34 .be-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* One form style, shared by the existing Ninja Forms across the site. */
body .nf-form-cont .nf-form-content label { font-family: var(--be-font) !important; font-size: 14px !important; font-weight: 500; color: #314842; }
body .nf-form-cont .nf-field-element :is(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=hidden]),textarea,select) { border: 1px solid #d6e0db; border-radius: 7px; background: #fff; color: #273d36; padding: 12px 14px; font-family: var(--be-font) !important; font-size: 15px; box-shadow: none; }
body .nf-form-cont .nf-field-element :is(input[type=button],input[type=submit],button) { border: 0; border-radius: 7px; background: #307d78; color: #fff; font-family: var(--be-font) !important; font-size: 14px; font-weight: 500; padding: 12px 22px; min-height: 44px; cursor: pointer; }
body .nf-form-cont .nf-field-element :is(input[type=button],input[type=submit],button):hover { background: #266b66; }
body .nf-form-cont :is(input,textarea,select,button):focus-visible { outline: 2px solid #307d78 !important; outline-offset: 3px; }
body .nf-form-cont .nf-form-fields-required { color: #64766f; font-size: 12px; line-height: 1.6; }
@media(max-width:740px) {
 body.page:not(.home) .top_page .top-tit { font-size: 29px; }
 body.page:not(.home) .left > h2, body.single-post .left > h2, body.page:not(.home) h2.wp-block-heading { font-size: 25px; }
 body.page-id-34 .be-price-intro h2 { font-size: 28px; }
 body.page-id-34 .be-price-contact { padding: 24px 20px; margin-top: 32px; }
 body.page-id-34 .be-price-table, body.page-id-34 .be-price-table tbody { display: block; width: 100%; }
 body.page-id-34 .be-price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
 body.page-id-34 .be-price-table tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 20px 0; border-bottom: 1px solid #e4ebe7; }
 body.page-id-34 .be-price-table tbody th { display: block; grid-column: 1 / -1; border: 0; padding: 0 0 14px; }
 body.page-id-34 .be-price-table tbody td { display: block; border: 0; padding: 0 10px 0 0; font-size: 15px; }
 body.page-id-34 .be-price-table tbody td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 400; color: #6e7d77; margin-bottom: 6px; }
}

/* Consistent form rhythm, including late-rendered Ninja Forms fields. */
body .nf-form-cont .nf-field-container { margin-bottom: 24px !important; }
body .nf-form-cont .nf-field-label { margin-bottom: 8px !important; }
body .nf-form-cont .nf-form-content { max-width: 100%; }
body .nf-form-cont .nf-form-content .nf-field-element :is(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=hidden]),textarea,select) { display: block; width: 100%; box-sizing: border-box; min-height: 48px; border: 1px solid #d5e0da; border-radius: 8px; background: #fff; padding: 12px 14px; font-size: 15px; line-height: 1.5; }
body .nf-form-cont .nf-field-element textarea { min-height: 160px; height: 160px; resize: vertical; }
body .nf-form-cont .nf-form-content .nf-field-label label { font-size: 13px !important; font-weight: 500 !important; line-height: 1.5; }
body .nf-form-cont .checkbox-wrap { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 10px; align-items: start; }
body .nf-form-cont .checkbox-wrap .nf-field-label { grid-column: 2; grid-row: 1; width: auto; float: none; margin: 0 !important; padding: 0; text-align: left; }
body .nf-form-cont .checkbox-wrap .nf-field-label label { display: block; font-size: 12px !important; font-weight: 400 !important; line-height: 1.7; color: #586d65; padding: 0; margin: 0; }
body .nf-form-cont .checkbox-wrap .nf-field-label label::before, body .nf-form-cont .checkbox-wrap .nf-field-label label::after { display: none !important; content: none !important; }
body .nf-form-cont .checkbox-wrap .nf-field-element { grid-column: 1; grid-row: 1; width: 20px; float: none; margin: 0; }
body .nf-form-cont .checkbox-wrap input[type=checkbox] { appearance: auto !important; position: static !important; opacity: 1 !important; display: block !important; width: 18px !important; height: 18px !important; margin: 2px 0 0 !important; accent-color: #307d78; cursor: pointer; }
body .nf-form-cont .checkbox-wrap .nf-error-wrap { grid-column: 1 / -1; }
body .nf-form-cont .nf-form-content .nf-field-element :is(input[type=button],input[type=submit],button) { display: inline-block; width: auto; min-width: 158px; min-height: 48px; padding: 13px 26px; border-radius: 8px; background: #307d78; color: #fff; font-size: 14px; font-weight: 500; border: 0; }
body .nf-form-cont .nf-form-content .nf-field-element :is(input[type=button],input[type=submit],button):hover { background: #266b66; }
body .nf-form-cont .nf-form-fields-required { font-size: 12px; margin-bottom: 24px; }
body .nf-form-cont .nf-error-msg { font-size: 12px; line-height: 1.5; margin-top: 6px; }
body .nf-form-cont .recaptcha-container { max-width: 100%; overflow-x: auto; }

/* Existing contact form: two short-field columns; message and consents span both. */
body #nf-form-2-cont .nf-form-content nf-fields-wrap { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 26px; row-gap: 22px; align-items: start; }
body #nf-form-2-cont .nf-form-content nf-field { display: block; min-width: 0; grid-column: 1 / -1; }
body #nf-form-2-cont .nf-form-content nf-field:has(:is(.firstname-container,.email-container,.phone-container,.textbox-container)) { grid-column: auto; }
body #nf-form-2-cont .nf-field-container { margin-bottom: 0 !important; }
body #nf-form-2-cont .submit-container { margin-top: 4px; }
body.page-id-34 .be-price-contact { padding: 36px; }
body.page-id-34 .be-price-contact > p { max-width: 660px; margin-bottom: 28px; color: #596f66; }
body.page-id-34 .be-price-contact .nf-form-wrap { margin-top: 20px; }
@media(max-width:640px) {
 body #nf-form-2-cont .nf-form-content nf-fields-wrap { grid-template-columns: 1fr; row-gap: 20px; }
 body #nf-form-2-cont .nf-form-content nf-field:has(:is(.firstname-container,.email-container,.phone-container,.textbox-container)) { grid-column: 1 / -1; }
 body .nf-form-cont .nf-form-content .nf-field-element :is(input[type=button],input[type=submit],button) { width: 100%; }
 body.page-id-34 .be-price-contact { padding: 26px 20px; }
}

/* A single hierarchy: light descriptive labels, medium-weight main headings. */
body .top_page .under_tit, body .titlep, body .under-tit, body .be-eyebrow,
body.home .box_all > :is(.under-tit,.titlep), body.home .be-academy .be-eyebrow,
body.page-id-34 .be-price-intro .be-price-eyebrow, body.page-id-36 .be-contact-grid .be-eyebrow {
 font-family: var(--be-font) !important; font-weight: 400 !important; font-size: 15px; line-height: 1.5; letter-spacing: 0; text-transform: none;
}
/* Ninja Forms marks submit and captcha as textbox containers too: keep both full width. */
body #nf-form-2-cont .nf-form-content nf-field:has(:is([data-nf-field-type="submit"],[data-nf-field-type="recaptcha"])) { grid-column: 1 / -1; }
body.page-id-36 .be-contact-page > .content { max-width: 1210px; width: 100%; padding-left: 24px; padding-right: 24px; }
body.page-id-36 .be-contact-page .box_all { margin: 52px 0; float: none; }
body.page-id-36 .be-contact-grid { display: grid; grid-template-columns: minmax(280px,.85fr) minmax(0,1.65fr); gap: 48px; align-items: start; }
body.page-id-36 .be-contact-grid .be-eyebrow { margin: 0 0 10px; color: #5d7770; }
body.page-id-36 .be-contact-grid h2, body.page-id-36 .be-contact-form h2.wp-block-heading { font-size: 30px; font-weight: 500; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 22px; }
body.page-id-36 .be-contact-intro { font-size: 15px; color: #596e66; line-height: 1.8; margin: 0 0 28px; }
body.page-id-36 .be-contact-item { margin-top: 26px; }
body.page-id-36 .be-contact-label { display: block; font-family: var(--be-font) !important; font-size: 12px; font-weight: 400; color: #667a71; line-height: 1.5; margin-bottom: 7px; }
body.page-id-36 .be-contact-item > a { display: block; width: fit-content; }
body.page-id-36 .be-contact-phone { font-family: var(--be-heading-font) !important; font-size: 27px; font-weight: 500; line-height: 1.25; color: #276f68; }
body.page-id-36 .be-contact-secondary { font-size: 16px; color: #344f45; margin-top: 9px; }
body.page-id-36 .be-contact-email { font-size: 17px; font-weight: 500; color: #276f68; overflow-wrap: anywhere; }
body.page-id-36 .be-contact-item address { font-family: var(--be-font) !important; font-style: normal; font-size: 16px; line-height: 1.7; color: #344f45; }
body.page-id-36 .be-contact-directions { margin-top: 12px; font-size: 14px; font-weight: 500; color: #276f68; }
body.page-id-36 .be-contact-directions span { margin-left: 8px; }
body.page-id-36 .be-contact-map iframe { display: block; width: 100%; height: 540px; border: 0; border-radius: 12px; background: #eef3ef; }
body.page-id-36 .be-contact-form { margin-top: 52px; padding: 36px; background: #f5f8f6; border-radius: 12px; }
body.page-id-36 .be-contact-form > p { font-size: 15px; line-height: 1.8; color: #596e66; margin-bottom: 28px; }
body.page-id-36 .be-contact-form .nf-form-title { display: none; }
body.page-id-36 .be-contact-company { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 36px; margin-top: 12px; color: #64766d; }
body.page-id-36 .be-contact-company h2 { font-size: 22px; font-weight: 500; line-height: 1.3; margin: 0 0 14px; }
body.page-id-36 .be-contact-company p { font-size: 13px; line-height: 1.85; margin: 0 0 12px; }
body.page-id-36 .be-contact-company > div:last-child { align-self: end; }
body.page-id-36 .be-contact-company strong { font-weight: 500; }
body.page-id-36 .be-contact-company a { font-size: 13px; color: #276f68; }
body.page-id-36 .be-contact-page a:focus-visible { outline: 2px solid #307d78 !important; outline-offset: 4px; }
@media(max-width:850px) {
 body.page-id-36 .be-contact-grid { grid-template-columns: 1fr; gap: 36px; }
 body.page-id-36 .be-contact-map iframe { height: 430px; }
 body.page-id-36 .be-contact-page .box_all { margin: 36px 0; }
}
@media(max-width:640px) {
 body .top_page .under_tit, body.home .box_all > :is(.under-tit,.titlep), body.page-id-34 .be-price-intro .be-price-eyebrow, body.page-id-36 .be-contact-grid .be-eyebrow { font-size: 14px; }
 body.page-id-36 .be-contact-page > .content { padding: 0 18px; }
 body.page-id-36 .be-contact-grid h2, body.page-id-36 .be-contact-form h2.wp-block-heading { font-size: 27px; }
 body.page-id-36 .be-contact-map iframe { height: 360px; }
 body.page-id-36 .be-contact-form { margin-top: 36px; padding: 26px 20px; }
 body.page-id-36 .be-contact-company { grid-template-columns: 1fr; gap: 12px; }
}

/* A quieter location line; retain its current sizes and alignment. */
body header .top-info .be-top-address a { font-family: var(--be-font) !important; font-weight: 400; letter-spacing: 0; }

/* Training catalogue: a real responsive grid, independent of Masonry's inline positioning. */
body.page-id-2000 .back1 { padding: 48px 24px; background-attachment: scroll; background-image: linear-gradient(110deg,rgba(18,63,65,.88),rgba(34,102,102,.64)),url("https://beautyestetic.pl/wp-content/themes/beautyestetic/images/back2.webp"); }
body.page-id-2000 .back1 .top-tit { font-size: 36px; font-weight: 500; line-height: 1.2; margin: 0; }
body.page-id-2000 .all_course { background: #fff; padding-top: 44px; padding-bottom: 56px; }
body.page-id-2000 .all_course > .content { width: min(1180px,calc(100% - 48px)); max-width: 100%; padding: 0; }
body.page-id-2000 .all_course > .content > h2 { font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 16px; }
body.page-id-2000 .all_course > .content > h2 strong { font-weight: inherit; }
body.page-id-2000 .all_course > .content > p { max-width: 760px; margin: 0 auto 32px; font-size: 16px; line-height: 1.75; color: #5c7168; }
body.page-id-2000 .all_course > .content > p strong { font-weight: 400; }
body.page-id-2000 .all_course > .content > p a { color: #286e66; font-weight: 500; }
body.page-id-2000 .all_course > .content > .wp-block-spacer { display: none; }
body.page-id-2000 .fat-event-container[data-layout="grid"] { width: 100%; max-width: 100%; min-width: 0; padding: 0; margin: 0; }
body.page-id-2000 .fat-event-container[data-layout="grid"] .event-masonry { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 24px; height: auto !important; margin: 0 !important; width: 100% !important; }
body.page-id-2000 .event-masonry::before, body.page-id-2000 .event-masonry::after { display: none !important; }
body.page-id-2000 .event-masonry > .fat-event-item { position: static !important; inset: auto !important; transform: none !important; width: 100% !important; max-width: 100%; min-width: 0; margin: 0 !important; padding: 0 !important; float: none !important; opacity: 1 !important; visibility: visible !important; animation: none !important; }
body.page-id-2000 .fat-event-item .fat-event-item-inner { display: flex; flex-direction: column; min-height: 0; height: 100%; width: 100%; border: 0 !important; border-radius: 12px; background: #f5f8f6; overflow: hidden; box-shadow: none; }
body.page-id-2000 .fat-event-thumb { position: relative; width: 100%; height: auto; aspect-ratio: 16/10; flex-shrink: 0; border-radius: 0; overflow: hidden; }
body.page-id-2000 .fat-event-thumb picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
body.page-id-2000 .fat-event-thumb img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; transition: none; transform: none !important; }
body.page-id-2000 .fat-event-title { flex: 0 0 auto; padding: 20px 22px 16px !important; margin: 0; height: auto !important; }
body.page-id-2000 .fat-event-title h2 { font-family: var(--be-heading-font) !important; font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: #273f38; height: auto !important; min-height: 0; margin: 0; white-space: normal; overflow-wrap: anywhere; }
body.page-id-2000 .fat-event-title a { display: block; color: inherit; }
body.page-id-2000 .fat-event-title a:hover h2 { color: #286e66; }
body.page-id-2000 .fat-event-meta { display: flex; flex-direction: column; gap: 8px; position: static !important; bottom: auto; margin-top: auto; padding: 0 22px 22px !important; width: 100%; height: auto; font-size: 14px !important; }
body.page-id-2000 .fat-event-meta > div { display: flex; align-items: center; gap: 7px; float: none !important; width: 100% !important; padding: 0; margin: 0; text-align: left; line-height: 1.5; white-space: normal; }
body.page-id-2000 .fat-event-meta-date { order: 0; color: #286e66; font-weight: 500; }
body.page-id-2000 .fat-event-meta-time { order: 1; color: #60746b; font-weight: 400; }
body.page-id-2000 .fat-event-meta i { flex: 0 0 16px; width: 16px; font-size: 14px; color: #487c73; }
body.page-id-2000 .fat-event-hover { display: block; position: absolute; inset: 0; width: 100%; height: 100%; background: transparent !important; opacity: 1 !important; }
body.page-id-2000 .fat-event-hover-inner { position: static; display: block; width: 100%; height: 100%; transform: none; }
body.page-id-2000 .fat-event-hover-inner a { display: block; position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent !important; }
body.page-id-2000 .fat-event-hover-inner a i { display: none; }
body.page-id-2000 .fat-event-item a:focus-visible { outline: 2px solid #307d78 !important; outline-offset: -3px; }
body.page-id-2000 .fat-paging-navigation-wrap { margin-top: 36px; }
body.page-id-2000 .paging-navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
body.page-id-2000 .paging-navigation > .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; margin: 0; border: 0; border-radius: 8px; background: #eff4f1; color: #34574b; font-size: 14px; line-height: 1; }
body.page-id-2000 .paging-navigation > .current { background: #307d78; color: #fff; }
body.page-id-2000 .paging-navigation > a:hover { background: #e0ece5; }
body.page-id-2000 .paging-navigation > .dots { background: transparent; }
@media(max-width:1000px) { body.page-id-2000 .fat-event-container[data-layout="grid"] .event-masonry { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:620px) {
 body.page-id-2000 .back1 { padding: 36px 18px; }
 body.page-id-2000 .back1 .top-tit { font-size: 30px; }
 body.page-id-2000 .all_course { padding-top: 30px; padding-bottom: 40px; }
 body.page-id-2000 .all_course > .content { width: calc(100% - 36px); }
 body.page-id-2000 .all_course > .content > h2 { font-size: 28px; }
 body.page-id-2000 .all_course > .content > p { font-size: 15px; margin-bottom: 26px; }
 body.page-id-2000 .fat-event-container[data-layout="grid"] .event-masonry { grid-template-columns: minmax(0,1fr); gap: 22px; }
 body.page-id-2000 .fat-event-title { padding: 19px 20px 15px !important; }
 body.page-id-2000 .fat-event-title h2 { font-size: 22px; }
 body.page-id-2000 .fat-event-meta { padding: 0 20px 20px !important; }
}

/* Funding page: readable cards and numbered steps, replacing the old full-width stripes. */
body.page-id-1191 .be-funding-page { background: #fff; color: #52685f; font-family: var(--be-font); font-size: 16px; line-height: 1.8; }
body.page-id-1191 .be-funding-wrap { width: min(1180px,calc(100% - 48px)); max-width: 100%; margin: 0 auto; }
body.page-id-1191 .be-funding-hero { background: #eff5f2; padding: 42px 0 46px; text-align: center; }
body.page-id-1191 .be-funding-page .be-funding-eyebrow { font-family: var(--be-font); font-size: 14px; font-weight: 400; letter-spacing: .02em; line-height: 1.6; color: #648074; margin: 0 0 10px; text-transform: none; }
body.page-id-1191 .be-funding-page h1, body.page-id-1191 .be-funding-page h2, body.page-id-1191 .be-funding-page h3 { font-family: var(--be-heading-font); font-weight: 500; color: #283f37; background: none; border: 0; padding: 0; text-transform: none; letter-spacing: -.015em; line-height: 1.2; }
body.page-id-1191 .be-funding-page h1::before, body.page-id-1191 .be-funding-page h2::before, body.page-id-1191 .be-funding-page h3::before, body.page-id-1191 .be-funding-page h1::after, body.page-id-1191 .be-funding-page h2::after, body.page-id-1191 .be-funding-page h3::after { display: none; }
body.page-id-1191 .be-funding-page h1 { font-size: 38px; margin: 0; }
body.page-id-1191 .be-funding-page h2 { font-size: 32px; margin: 0; }
body.page-id-1191 .be-funding-overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; padding-top: 42px; }
body.page-id-1191 .be-funding-info { padding: 26px 28px; border-radius: 12px; background: #f6f8f7; min-width: 0; }
body.page-id-1191 .be-funding-info h2 { font-size: 23px; margin-bottom: 16px; }
body.page-id-1191 .be-funding-page p { font-size: inherit; line-height: inherit; margin: 0 0 14px; }
body.page-id-1191 .be-funding-page p:last-child { margin-bottom: 0; }
body.page-id-1191 .be-funding-note { max-width: 960px; margin: 22px auto 0; font-size: 14px; line-height: 1.8; color: #6a7e75; text-align: center; }
body.page-id-1191 .be-funding-process { padding-top: 56px; max-width: 920px; margin: 0 auto; }
body.page-id-1191 .be-funding-section-title { text-align: center; margin-bottom: 30px; }
body.page-id-1191 .be-funding-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
body.page-id-1191 .be-funding-step { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 20px; padding: 26px 28px; margin: 0; background: #f6f8f7; border-radius: 12px; list-style: none; min-width: 0; }
body.page-id-1191 .be-funding-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #e4eee8; color: #30756b; font-family: var(--be-heading-font); font-size: 19px; font-weight: 500; line-height: 1; }
body.page-id-1191 .be-funding-step-body { min-width: 0; }
body.page-id-1191 .be-funding-step h3 { font-size: 23px; margin: 4px 0 15px; }
body.page-id-1191 .be-funding-step-copy { text-align: left; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
body.page-id-1191 .be-funding-step-copy strong, body.page-id-1191 .be-funding-step-copy b { font-weight: 500; }
body.page-id-1191 .be-funding-page a { color: #2e7469; text-underline-offset: 4px; }
body.page-id-1191 .be-funding-step-copy a { text-decoration: underline; }
body.page-id-1191 .be-funding-step-copy iframe { max-width: 100%; width: 100%; height: auto; aspect-ratio: 16/9; border: 0; border-radius: 8px; }
body.page-id-1191 .be-funding-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 48px 0 28px; padding: 30px 32px; border-radius: 12px; background: #edf4f0; }
body.page-id-1191 .be-funding-cta h2 { font-size: 28px; }
body.page-id-1191 .be-funding-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; flex-shrink: 0; }
body.page-id-1191 .be-funding-page .be-funding-button { display: inline-flex; align-items: center; justify-content: center; background: #307d78; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; min-height: 46px; padding: 12px 20px; border-radius: 8px; text-decoration: none; text-align: center; }
body.page-id-1191 .be-funding-page .be-funding-button:hover { background: #266b66; }
body.page-id-1191 .be-funding-text-link { font-size: 14px; font-weight: 500; }
body.page-id-1191 .be-funding-categories { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; padding: 0 0 42px; }
body.page-id-1191 .be-funding-categories a { font-size: 13px; line-height: 2; }
body.page-id-1191 .be-funding-page a:focus-visible { outline: 2px solid #307d78; outline-offset: 4px; }
@media(max-width:900px) {
 body.page-id-1191 .be-funding-overview { gap: 14px; }
 body.page-id-1191 .be-funding-info { padding: 22px 20px; }
 body.page-id-1191 .be-funding-info h2 { font-size: 21px; }
 body.page-id-1191 .be-funding-page { font-size: 15px; }
}
@media(max-width:700px) {
 body.page-id-1191 .be-funding-wrap { width: calc(100% - 36px); }
 body.page-id-1191 .be-funding-hero { padding: 30px 0 34px; }
 body.page-id-1191 .be-funding-page h1 { font-size: 31px; }
 body.page-id-1191 .be-funding-page h2 { font-size: 28px; }
 body.page-id-1191 .be-funding-overview { grid-template-columns: minmax(0,1fr); padding-top: 26px; }
 body.page-id-1191 .be-funding-info { padding: 22px; }
 body.page-id-1191 .be-funding-info h2 { font-size: 23px; margin-bottom: 12px; }
 body.page-id-1191 .be-funding-note { text-align: left; margin-top: 20px; }
 body.page-id-1191 .be-funding-process { padding-top: 36px; }
 body.page-id-1191 .be-funding-section-title { margin-bottom: 24px; }
 body.page-id-1191 .be-funding-step { grid-template-columns: 30px minmax(0,1fr); gap: 12px; padding: 22px 18px; }
 body.page-id-1191 .be-funding-number { width: 30px; height: 30px; font-size: 16px; }
 body.page-id-1191 .be-funding-step h3 { font-size: 22px; margin-top: 1px; }
 body.page-id-1191 .be-funding-step-copy { font-size: 15px; }
 body.page-id-1191 .be-funding-cta { flex-direction: column; align-items: stretch; padding: 26px 22px; gap: 24px; margin-top: 32px; }
 body.page-id-1191 .be-funding-cta h2 { font-size: 27px; }
 body.page-id-1191 .be-funding-actions { align-items: stretch; text-align: center; }
 body.page-id-1191 .be-funding-categories { justify-content: flex-start; gap: 5px 22px; padding-bottom: 30px; }
}

@media(max-width:700px){body.page-id-1191 .be-funding-step-body{display:contents;}body.page-id-1191 .be-funding-step h3{margin:1px 0 0;}body.page-id-1191 .be-funding-step-copy{grid-column:1/-1;}body.page-id-1191 .be-funding-step{gap:14px 12px;}}

/* Clear the floated theme header before painting the funding section. */
body.page-id-1191 .be-funding-page { clear: both; display: flow-root; }
body.page-id-1191 > header.top { background: #fff; }
body.page-id-1191 .be-funding-hero { background: #f6f8f7; padding: 32px 0; text-align: left; }
body.page-id-1191 .be-funding-hero > .be-funding-wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,440px); gap: 48px; align-items: center; }
body.page-id-1191 .be-funding-hero-copy { min-width: 0; }
body.page-id-1191 .be-funding-hero-image { display: block; width: 100%; height: auto; aspect-ratio: 3/2; border-radius: 12px; }
@media(max-width:900px) { body.page-id-1191 .be-funding-hero > .be-funding-wrap { grid-template-columns: minmax(0,1fr) minmax(0,340px); gap: 28px; } }
@media(max-width:700px) {
 body.page-id-1191 .be-funding-hero { padding: 28px 0; text-align: center; }
 body.page-id-1191 .be-funding-hero > .be-funding-wrap { grid-template-columns: minmax(0,1fr); gap: 24px; }
 body.page-id-1191 .be-funding-hero-image { max-width: 440px; margin: 0 auto; }
}
