/* =========================================
   FitLegend Hero
========================================= */

.fitlegend-hero,
.fitlegend-hero *,
.fitlegend-hero *::before,
.fitlegend-hero *::after {
    box-sizing: border-box;
}

/* Външна Hero секция */
.fitlegend-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 28px clamp(24px, 4vw, 64px) 64px !important;
    overflow: hidden;
}

/* =========================================
   GLOBAL PAGE TITLE + TOP SPACING FIX
========================================= */

/* Скриваме автоматичното заглавие на всички страници */
body.page .wp-block-post-title {
    display: none !important;
}

/* Премахваме празното място, останало от заглавието */
body.page .wp-block-post-content {
    margin-top: -80px !important;
    margin-block-start: -80px !important;
}

/* Премахваме излишния padding на външния контейнер */
body.page .wp-block-post-content > .wp-block-group.alignfull {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Основен контейнер */
.fitlegend-hero-columns {
    width: 100% !important;
    max-width: 1540px !important;
    margin: 0 auto !important;
    padding: 0 !important;

    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(48px, 6vw, 100px) !important;
}

/* Лява колона */
.fitlegend-hero-columns > .fitlegend-hero-content {
    flex: 1 1 56% !important;
    width: auto !important;
    max-width: 790px !important;
    min-width: 0;
}

/* Дясна колона */
.fitlegend-hero-columns > .fitlegend-hero-visual {
    flex: 1 1 44% !important;
    width: auto !important;
    max-width: 620px !important;
    min-width: 0;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Заглавие */
.fitlegend-hero-content h1 {
    max-width: 790px;
    margin: 0 0 24px;
    font-size: clamp(48px, 5vw, 76px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

/* Описание */
.fitlegend-hero-content > p {
    max-width: 700px;
    margin: 0 0 34px;
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.6;
}

/* =========================================
   Бутони
========================================= */

.fitlegend-hero-buttons,
.fitlegend-hero-content .wp-block-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
}

.fitlegend-hero-buttons > .wp-block-button,
.fitlegend-hero-content .wp-block-buttons > .wp-block-button {
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.fitlegend-btn {
    margin: 0 !important;
}

.fitlegend-btn .wp-block-button__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    min-width: 205px;
    min-height: 56px;
    padding: 15px 30px;

    border-radius: 999px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

/* Основен бутон */
.fitlegend-btn.primary .wp-block-button__link {
    color: #ffffff;
    background: #22c55e;
    border: 1px solid #22c55e;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.24);
}

.fitlegend-btn.primary .wp-block-button__link:hover {
    background: #16a34a;
    border-color: #16a34a;
    box-shadow: 0 16px 36px rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}

/* Вторичен бутон */
.fitlegend-btn.secondary .wp-block-button__link {
    color: #111111;
    background: transparent;
    border: 1px solid #d1d5db;
}

.fitlegend-btn.secondary .wp-block-button__link:hover {
    border-color: #111111;
    transform: translateY(-2px);
}

/* =========================================
   Статистики
========================================= */

.fitlegend-stats {
    width: 100% !important;
    margin-top: 44px !important;
}

/* Хваща вътрешния блок с трите колони */
.fitlegend-stats > .wp-block-columns,
.fitlegend-stats .wp-block-columns {
    width: 100% !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px !important;
}

/* Всяка статистика */
.fitlegend-stats .wp-block-column {
    width: auto !important;
    min-width: 0;
    flex: none !important;
    text-align: left;
}

/* Числата */
.fitlegend-stats h4 {
    margin: 0 0 8px !important;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #111111;
    white-space: nowrap;
}

/* Описанията */
.fitlegend-stats p {
    margin: 0 !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    color: #6b7280;

    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* =========================================
   Телефон
========================================= */

.fitlegend-phone {
    width: 100% !important;
    max-width: 600px;
    margin: 0 auto !important;
    text-align: center;
    transform: translateX(-24px);
}

.fitlegend-phone img {
    display: block;
    width: 100% !important;
    max-width: 600px !important;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.15));
}

/* =========================================
   Tablet
========================================= */

@media (max-width: 1100px) {
    .fitlegend-hero {
        padding: 36px 28px 64px !important;
    }

    .fitlegend-hero-columns {
        max-width: 1040px !important;
        gap: 36px !important;
    }

    .fitlegend-hero-columns > .fitlegend-hero-content,
    .fitlegend-hero-columns > .fitlegend-hero-visual {
        flex-basis: 50% !important;
    }

    .fitlegend-btn .wp-block-button__link {
        min-width: 175px;
        padding-inline: 22px;
    }

    .fitlegend-stats > .wp-block-columns,
    .fitlegend-stats .wp-block-columns {
        gap: 18px !important;
    }

    .fitlegend-stats h4 {
        font-size: 34px;
    }

    .fitlegend-stats p {
        font-size: 14px;
    }

    .fitlegend-phone {
        max-width: 460px;
        transform: translateX(-10px);
    }

    .fitlegend-phone img {
        max-width: 460px !important;
    }
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 700px) {
    .fitlegend-hero {
        padding: 34px 20px 56px !important;
    }

    .fitlegend-hero-columns {
        flex-direction: column !important;
        gap: 40px !important;
        text-align: center;
    }

    .fitlegend-hero-columns > .fitlegend-hero-content,
    .fitlegend-hero-columns > .fitlegend-hero-visual {
        width: 100% !important;
        max-width: none !important;
        flex-basis: auto !important;
    }

    .fitlegend-hero-content h1,
    .fitlegend-hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .fitlegend-hero-buttons,
    .fitlegend-hero-content .wp-block-buttons {
        justify-content: center !important;
    }

    .fitlegend-btn {
        width: 100% !important;
        max-width: 320px;
    }

    .fitlegend-btn .wp-block-button__link {
        width: 100% !important;
        min-width: 0;
    }

    .fitlegend-stats {
        margin-top: 36px !important;
    }

    .fitlegend-stats > .wp-block-columns,
    .fitlegend-stats .wp-block-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px !important;
    }

    .fitlegend-stats .wp-block-column {
        text-align: center;
    }

    .fitlegend-stats h4 {
        font-size: 28px;
    }

    .fitlegend-stats p {
        font-size: 13px;
    }

    .fitlegend-phone {
        max-width: 370px;
        transform: none;
    }

    .fitlegend-phone img {
        max-width: 370px !important;
    }
}

/* =========================================
   FITLEGEND FOOTER - CLEAN COMPACT
========================================= */

.fitlegend-footer,
.fitlegend-footer *,
.fitlegend-footer *::before,
.fitlegend-footer *::after {
    box-sizing: border-box;
}


/* =========================================
   FOOTER WRAPPER
========================================= */

.fitlegend-footer {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    background: #f7faf8 !important;
    color: #111827;

    border-top: 1px solid #e5e7eb;
}


/* Премахваме големия WordPress padding */
.fitlegend-footer > .wp-block-group {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    padding:
        38px
        clamp(28px, 5vw, 80px)
        22px !important;
}


/* =========================================
   MAIN INNER CONTAINER
========================================= */

.fitlegend-footer > .wp-block-group > .wp-block-group {
    width: 100% !important;
    max-width: 1380px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* =========================================
   LOGO
========================================= */

.fitlegend-footer .wp-block-site-logo {
    margin: 0 0 24px !important;
}

.fitlegend-footer .wp-block-site-logo img,
.fitlegend-footer img {
    display: block;

    width: auto !important;
    max-width: 115px !important;
    height: auto !important;

    margin: 0 !important;
}


/* =========================================
   MAIN FOOTER ROW
========================================= */

.fitlegend-footer .wp-block-group.alignfull {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    display: grid !important;

    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(320px, 0.9fr);

    gap: clamp(50px, 7vw, 110px) !important;

    align-items: start !important;
}


/* =========================================
   TEXT / BRAND AREA
========================================= */

.fitlegend-footer .wp-block-columns {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 28px !important;
}

.fitlegend-footer .wp-block-column {
    min-width: 0 !important;
}

.fitlegend-footer h2 {
    margin: 0 0 12px !important;

    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;

    color: #111827 !important;
}

.fitlegend-footer h3,
.fitlegend-footer h4 {
    margin: 0 0 12px !important;

    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;

    color: #111827 !important;
}

.fitlegend-footer p {
    max-width: 620px !important;

    margin: 0 !important;

    font-size: 15px !important;
    line-height: 1.6 !important;

    color: #5b6472 !important;
}


/* =========================================
   NAVIGATION AREA
========================================= */

.fitlegend-footer .wp-block-group.alignfull > .wp-block-group {
    margin: 0 !important;
    padding: 0 !important;

    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(130px, 1fr));

    gap: 34px 60px !important;

    align-items: start !important;
}


.fitlegend-footer .wp-block-navigation {
    margin: 0 !important;
    padding: 0 !important;
}


.fitlegend-footer .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 14px !important;
}


.fitlegend-footer .wp-block-navigation-item {
    margin: 0 !important;
    padding: 0 !important;
}


.fitlegend-footer .wp-block-navigation-item__content {
    padding: 0 !important;

    font-size: 15px !important;
    line-height: 1.4 !important;

    color: #4b5563 !important;

    text-decoration: none !important;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.fitlegend-footer .wp-block-navigation-item__content:hover {
    color: #22c55e !important;

    transform: translateX(3px);
}


/* Първият линк във всяка колона:
   Продукт / Компания */
.fitlegend-footer
.wp-block-navigation
.wp-block-navigation-item:first-child
.wp-block-navigation-item__content {

    margin-bottom: 5px !important;

    font-weight: 700 !important;

    color: #111827 !important;
}


/* =========================================
   COPYRIGHT
========================================= */

.fitlegend-footer .fitlegend-footer-bottom {
    width: 100% !important;
    max-width: 1380px !important;

    margin:
        28px
        auto
        0 !important;

    padding-top: 16px !important;

    border-top: 1px solid #e5e7eb;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 20px !important;
}


.fitlegend-footer .fitlegend-footer-bottom p {
    margin: 0 !important;

    font-size: 13px !important;
    line-height: 1.4 !important;

    color: #6b7280 !important;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .fitlegend-footer > .wp-block-group {
        padding:
            34px
            28px
            20px !important;
    }

    .fitlegend-footer .wp-block-group.alignfull {
        grid-template-columns:
            minmax(0, 1.3fr)
            minmax(280px, 0.9fr);

        gap: 40px !important;
    }

    .fitlegend-footer h2 {
        font-size: 27px !important;
    }

    .fitlegend-footer p,
    .fitlegend-footer .wp-block-navigation-item__content {
        font-size: 14px !important;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .fitlegend-footer > .wp-block-group {
        padding:
            30px
            20px
            18px !important;
    }

    .fitlegend-footer .wp-block-site-logo {
        margin-bottom: 20px !important;
    }

    .fitlegend-footer .wp-block-site-logo img,
    .fitlegend-footer img {
        max-width: 105px !important;
    }

    .fitlegend-footer .wp-block-group.alignfull {
        grid-template-columns:
            1fr !important;

        gap: 30px !important;
    }

    .fitlegend-footer .wp-block-group.alignfull > .wp-block-group {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 26px !important;
    }

    .fitlegend-footer h2 {
        font-size: 25px !important;
    }

    .fitlegend-footer .fitlegend-footer-bottom {
        margin-top: 26px !important;

        padding-top: 14px !important;

        flex-direction: column !important;
        align-items: flex-start !important;

        gap: 8px !important;
    }
}


/* Много малки телефони */
@media (max-width: 460px) {

    .fitlegend-footer .wp-block-group.alignfull > .wp-block-group {
        grid-template-columns:
            1fr !important;

        gap: 22px !important;
    }
}
/* =========================================
   FITLEGEND FEATURES PAGE - CLEAN FINAL
========================================= */

.fitlegend-features,
.fitlegend-features *,
.fitlegend-features *::before,
.fitlegend-features *::after,
.fitlegend-features-hero,
.fitlegend-features-hero *,
.fitlegend-features-hero *::before,
.fitlegend-features-hero *::after {
    box-sizing: border-box;
}


/* =========================================
   FEATURES HERO
========================================= */

.fitlegend-features-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    padding: 72px clamp(24px, 5vw, 80px) 46px !important;

    background: #ffffff;
    text-align: center;
}

.fitlegend-features-hero > * {
    width: 100%;
    max-width: 900px;

    margin-left: auto !important;
    margin-right: auto !important;
}

.fitlegend-features-hero h1:first-child,
.fitlegend-features-hero h2:first-child {
    margin: 0 0 24px !important;

    font-size: 18px !important;
    line-height: 1.2;
    font-weight: 700;

    color: #22c55e;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.fitlegend-features-hero h1:not(:first-child),
.fitlegend-features-hero h2:not(:first-child) {
    max-width: 850px;

    margin-top: 0 !important;
    margin-bottom: 22px !important;

    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.06;

    font-weight: 700;
    letter-spacing: -0.04em;

    color: #111827;
}

.fitlegend-features-hero p {
    max-width: 760px;

    margin: 0 auto !important;

    font-size: clamp(18px, 1.45vw, 21px);
    line-height: 1.65;

    color: #5b6472;
}


/* =========================================
   FEATURES SECTION
========================================= */

.fitlegend-features {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    padding: 34px clamp(24px, 4vw, 64px) 72px !important;

    background: #ffffff;
}


/* =========================================
   FEATURES GRID
========================================= */

.fitlegend-features .wp-block-columns {
    width: 100% !important;
    max-width: 1280px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 28px !important;

    align-items: stretch !important;
}


/* =========================================
   FEATURE CARDS - DIRECT CLASSES
========================================= */

.fitlegend-features .feature-1,
.fitlegend-features .feature-2,
.fitlegend-features .feature-3,
.fitlegend-features .feature-4,
.fitlegend-features .feature-5,
.fitlegend-features .feature-6 {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    padding: 34px 30px !important;

    background: #f8faf9 !important;

    border: 1px solid #e5e7eb !important;
    border-radius: 26px !important;

    box-shadow:
        0 10px 30px rgba(17, 24, 39, 0.07) !important;

    display: flex !important;
    flex-direction: column !important;

    overflow: hidden !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* HOVER */

.fitlegend-features .feature-1:hover,
.fitlegend-features .feature-2:hover,
.fitlegend-features .feature-3:hover,
.fitlegend-features .feature-4:hover,
.fitlegend-features .feature-5:hover,
.fitlegend-features .feature-6:hover {
    transform: translateY(-5px);

    border-color: #86efac !important;

    box-shadow:
        0 18px 42px rgba(17, 24, 39, 0.10),
        0 8px 24px rgba(34, 197, 94, 0.10) !important;
}

/* =========================================
   FEATURE IMAGES
========================================= */

.fitlegend-features .feature-card figure {
    width: 100% !important;

    margin: 0 auto 26px !important;

    text-align: center;
}

.fitlegend-features .feature-card img {
    display: block;

    width: 100% !important;
    max-width: 220px !important;
    height: 170px !important;

    margin: 0 auto !important;

    object-fit: contain !important;
}


/* =========================================
   FEATURE TITLES
========================================= */

.fitlegend-features .feature-card h3,
.fitlegend-features .feature-card h4 {
    width: 100% !important;

    margin: 0 0 14px !important;

    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    color: #111827 !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}


/* =========================================
   FEATURE TEXT
========================================= */

.fitlegend-features .feature-card p {
    width: 100% !important;

    margin: 0 !important;

    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;

    color: #6b7280 !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}


/* =========================================
   INDIVIDUAL CARD IMAGE SIZES
========================================= */

/* Карта 1 - Персонални тренировъчни програми */
.fitlegend-features .feature-card.feature-1 img {
    max-width: 210px !important;
}

/* Карта 2 - Проследяване на прогреса */
.fitlegend-features .feature-card.feature-2 img {
    max-width: 215px !important;
}

/* Карта 3 - Библиотека с упражнения */
.fitlegend-features .feature-card.feature-3 img {
    max-width: 230px !important;
}

/* Карта 4 - Статистика и анализи */
.fitlegend-features .feature-card.feature-4 img {
    max-width: 215px !important;
}

/* Карта 5 - Тренировъчен календар */
.fitlegend-features .feature-card.feature-5 img {
    max-width: 225px !important;
}

/* Карта 6 - Достъп навсякъде */
.fitlegend-features .feature-card.feature-6 img {
    max-width: 235px !important;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .fitlegend-features-hero {
        padding: 58px 28px 42px !important;
    }

    .fitlegend-features {
        padding: 30px 28px 60px !important;
    }

    .fitlegend-features .wp-block-columns {
        max-width: 900px !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 24px !important;
    }

    .fitlegend-features .feature-card,
    .fitlegend-features .wp-block-column.feature-card {
        padding: 27px !important;
    }

    .fitlegend-features .feature-card img {
        height: 155px !important;
    }

    .fitlegend-features .feature-card h3,
    .fitlegend-features .feature-card h4 {
        font-size: 21px !important;
    }

    .fitlegend-features .feature-card p {
        font-size: 15px !important;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .fitlegend-features-hero {
        padding: 44px 20px 32px !important;
    }

    .fitlegend-features-hero h1:not(:first-child),
    .fitlegend-features-hero h2:not(:first-child) {
        font-size: 38px;
    }

    .fitlegend-features {
        padding: 26px 20px 50px !important;
    }

    .fitlegend-features .wp-block-columns {
        max-width: 440px !important;

        grid-template-columns:
            1fr !important;

        gap: 20px !important;
    }

    .fitlegend-features .feature-card,
    .fitlegend-features .wp-block-column.feature-card {
        padding: 24px !important;
    }

    .fitlegend-features .feature-card img {
        max-width: 175px !important;
        height: 140px !important;
    }

    .fitlegend-features .feature-card h3,
    .fitlegend-features .feature-card h4 {
        font-size: 21px !important;
    }

    .fitlegend-features .feature-card p {
        font-size: 15px !important;
    }
}

/* =========================================
   FITLEGEND PRICING PAGE
========================================= */

.fitlegend-pricing,
.fitlegend-pricing *,
.fitlegend-pricing *::before,
.fitlegend-pricing *::after,
.fitlegend-pricing-hero,
.fitlegend-pricing-hero *,
.fitlegend-pricing-hero *::before,
.fitlegend-pricing-hero *::after {
    box-sizing: border-box;
}


/* =========================================
   PRICING HERO
========================================= */

.fitlegend-pricing-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    padding: 64px clamp(24px, 5vw, 80px) 38px !important;

    text-align: center;
    background: #ffffff;
}

.fitlegend-pricing-hero > * {
    max-width: 850px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.fitlegend-pricing-hero h2 {
    margin-top: 0 !important;
    margin-bottom: 18px !important;

    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.035em;

    color: #111827;
}

.fitlegend-pricing-hero p {
    max-width: 720px;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    font-size: 18px;
    line-height: 1.65;

    color: #6b7280;
}


/* =========================================
   PRICING SECTION
========================================= */

.fitlegend-pricing {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    padding: 30px clamp(24px, 4vw, 64px) 80px !important;

    background: #ffffff;
}


/* =========================================
   3-COLUMN LAYOUT
========================================= */

.fitlegend-pricing .wp-block-columns {
    width: 100% !important;
    max-width: 1320px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(280px, 1fr)) !important;

    gap: 28px !important;

    align-items: stretch !important;
}


/* =========================================
   PRICING CARDS
========================================= */

.fitlegend-pricing .pricing-card {
    width: 100% !important;
    min-width: 0 !important;

    padding: 34px 30px !important;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 26px;

    display: flex !important;
    flex-direction: column !important;

    position: relative;

    box-shadow:
        0 14px 35px rgba(17, 24, 39, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.fitlegend-pricing .pricing-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 45px rgba(17, 24, 39, 0.08);
}


/* =========================================
   CARD TITLES
========================================= */

.fitlegend-pricing .pricing-card h3 {
    margin: 0 0 12px !important;

    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;

    color: #111827;
}


/* =========================================
   SHORT DESCRIPTION
========================================= */

.fitlegend-pricing .pricing-card > p:first-of-type {
    margin-top: 0 !important;
    margin-bottom: 18px !important;

    font-size: 15px;
    line-height: 1.55;

    color: #6b7280;
}


/* =========================================
   PRICE
========================================= */

.fitlegend-pricing .pricing-card .price,
.fitlegend-pricing .pricing-card h2,
.fitlegend-pricing .pricing-card h4 {
    margin: 0 0 18px !important;

    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;

    color: #111827;
}

/* Вторият ред с цената в другата валута */
.fitlegend-pricing .pricing-card .price-secondary {
    margin-top: -8px !important;
    margin-bottom: 18px !important;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;

    color: #6b7280;
}


/* =========================================
   FEATURE LIST
========================================= */

.fitlegend-pricing .pricing-card ul {
    margin: 0 0 28px !important;
    padding-left: 22px !important;

    color: #4b5563;
}

.fitlegend-pricing .pricing-card li {
    margin-bottom: 10px;

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================
   BUTTONS
========================================= */

.fitlegend-pricing .pricing-card .wp-block-buttons {
    margin-top: auto !important;
}

.fitlegend-pricing .pricing-card .wp-block-button {
    width: 100%;
}

.fitlegend-pricing .pricing-card .wp-block-button__link {
    width: 100%;

    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 22px;

    border-radius: 999px;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================
   FREE CARD
========================================= */

.fitlegend-pricing .pricing-card.free {
    background: #ffffff;
}

.fitlegend-pricing .pricing-card.free .wp-block-button__link {
    background: #111827;
    color: #ffffff;

    border: 1px solid #111827;
}

.fitlegend-pricing .pricing-card.free .wp-block-button__link:hover {
    background: #000000;
    transform: translateY(-2px);
}


/* =========================================
   PRO CARD - FEATURED
========================================= */

.fitlegend-pricing .pricing-card.pro {
    border: 2px solid #22c55e;

    background:
        linear-gradient(
            180deg,
            rgba(34, 197, 94, 0.07),
            #ffffff 32%
        );

    transform: translateY(-10px);

    box-shadow:
        0 22px 50px rgba(34, 197, 94, 0.15);
}

/* Етикет Най-популярен */
.fitlegend-pricing .pricing-card.pro::before {
    content: "Най-популярен";

    position: absolute;

    top: -14px;
    left: 50%;

    transform: translateX(-50%);

    padding: 7px 16px;

    border-radius: 999px;

    background: #22c55e;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}

.fitlegend-pricing .pricing-card.pro .wp-block-button__link {
    background: #22c55e;
    color: #ffffff;

    border: 1px solid #22c55e;

    box-shadow:
        0 12px 28px rgba(34, 197, 94, 0.22);
}

.fitlegend-pricing .pricing-card.pro .wp-block-button__link:hover {
    background: #16a34a;
    border-color: #16a34a;

    transform: translateY(-2px);
}


/* =========================================
   PREMIUM CARD
========================================= */

.fitlegend-pricing .pricing-card.premium {
    background: #fbfcfb;
}

.fitlegend-pricing .pricing-card.premium .wp-block-button__link {
    background: transparent;

    color: #111827;

    border: 1px solid #d1d5db;
}

.fitlegend-pricing .pricing-card.premium .wp-block-button__link:hover {
    border-color: #22c55e;
    color: #16a34a;

    transform: translateY(-2px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .fitlegend-pricing-hero {
        padding: 54px 28px 34px !important;
    }

    .fitlegend-pricing {
        padding: 26px 28px 60px !important;
    }

    .fitlegend-pricing .wp-block-columns {
        grid-template-columns:
            repeat(2, minmax(280px, 1fr)) !important;

        max-width: 900px !important;
    }

    .fitlegend-pricing .pricing-card.pro {
        transform: none;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .fitlegend-pricing-hero {
        padding: 42px 20px 28px !important;
    }

    .fitlegend-pricing-hero h2 {
        font-size: 38px;
    }

    .fitlegend-pricing-hero p {
        font-size: 16px;
    }

    .fitlegend-pricing {
        padding: 20px 20px 50px !important;
    }

    .fitlegend-pricing .wp-block-columns {
        grid-template-columns:
            1fr !important;

        max-width: 440px !important;

        gap: 24px !important;
    }

    .fitlegend-pricing .pricing-card {
        padding: 28px 24px !important;
    }

    .fitlegend-pricing .pricing-card.pro {
        transform: none;
    }

    .fitlegend-pricing .pricing-card h3 {
        font-size: 26px;
    }

    .fitlegend-pricing .pricing-card h2,
    .fitlegend-pricing .pricing-card h4 {
        font-size: 30px;
    }
}

/* =========================================
   FITLEGEND CONTACT PAGE - CLEAN VERSION
========================================= */

.fitlegend-contact,
.fitlegend-contact *,
.fitlegend-contact *::before,
.fitlegend-contact *::after,
.fitlegend-contact-hero,
.fitlegend-contact-hero *,
.fitlegend-contact-hero *::before,
.fitlegend-contact-hero *::after {
    box-sizing: border-box;
}


/* =========================================
   CONTACT HERO
========================================= */

.fitlegend-contact-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    padding: 64px clamp(24px, 5vw, 80px) 36px !important;

    background: #ffffff;
    text-align: center;
}

.fitlegend-contact-hero > * {
    width: 100%;
    max-width: 820px;

    margin-left: auto !important;
    margin-right: auto !important;
}

.fitlegend-contact-hero h2 {
    margin: 0 0 18px !important;

    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.035em;

    color: #111827;
}

.fitlegend-contact-hero p {
    max-width: 720px;

    margin: 0 auto !important;

    font-size: 18px;
    line-height: 1.65;

    color: #6b7280;
}


/* =========================================
   CONTACT SECTION
========================================= */

.fitlegend-contact {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    padding: 28px clamp(24px, 4vw, 64px) 80px !important;

    background: #ffffff;
}


/* =========================================
   TWO-COLUMN LAYOUT
========================================= */

.fitlegend-contact .wp-block-columns {
    width: 100% !important;
    max-width: 1320px !important;

    margin: 0 auto !important;

    display: grid !important;

    grid-template-columns:
        minmax(300px, 0.8fr)
        minmax(480px, 1.2fr) !important;

    gap: 64px !important;

    align-items: start !important;
}


/* =========================================
   LEFT COLUMN - CONTACT INFO
========================================= */

.fitlegend-contact .contact-info {
    width: 100% !important;
    min-width: 0 !important;

    padding: 20px 0 !important;
}

.fitlegend-contact .contact-info h3,
.fitlegend-contact .contact-info h4 {
    margin: 0 0 8px !important;

    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;

    color: #111827;
}

.fitlegend-contact .contact-info p {
    margin: 0 0 24px !important;

    font-size: 16px;
    line-height: 1.6;

    color: #5f6875;
}

.fitlegend-contact .contact-info a {
    color: #22c55e;
    text-decoration: none;
    font-weight: 600;
}

.fitlegend-contact .contact-info a:hover {
    color: #16a34a;
}


/* =========================================
   RIGHT COLUMN - FORM CARD
========================================= */

.fitlegend-contact .contact-form {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    padding: 34px !important;

    background: #f8faf9;

    border: 1px solid #e5e7eb;
    border-radius: 26px;

    box-shadow:
        0 18px 45px rgba(17, 24, 39, 0.06);
}


/* =========================================
   CONTACT FORM 7
========================================= */

.fitlegend-contact .contact-form .wpcf7,
.fitlegend-contact .contact-form .wpcf7 form {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
}

.fitlegend-contact .contact-form .wpcf7 p {
    margin: 0 0 20px !important;
}

.fitlegend-contact .contact-form label {
    display: block;

    width: 100%;

    margin-bottom: 8px;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;

    color: #111827;
}

.fitlegend-contact .contact-form .wpcf7-form-control-wrap {
    display: block;

    width: 100%;
}


/* =========================================
   FORM FIELDS
========================================= */

.fitlegend-contact .contact-form input[type="text"],
.fitlegend-contact .contact-form input[type="email"],
.fitlegend-contact .contact-form input[type="tel"],
.fitlegend-contact .contact-form input[type="url"],
.fitlegend-contact .contact-form textarea,
.fitlegend-contact .contact-form select {
    width: 100% !important;
    max-width: none !important;

    padding: 14px 16px !important;

    font-size: 15px;
    line-height: 1.4;

    color: #111827;
    background: #ffffff;

    border: 1px solid #d1d5db;
    border-radius: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.fitlegend-contact .contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

.fitlegend-contact .contact-form input:focus,
.fitlegend-contact .contact-form textarea:focus,
.fitlegend-contact .contact-form select:focus {
    border-color: #22c55e;

    box-shadow:
        0 0 0 4px rgba(34, 197, 94, 0.12);
}

.fitlegend-contact .contact-form ::placeholder {
    color: #9ca3af;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.fitlegend-contact .contact-form input[type="submit"] {
    width: 100% !important;

    min-height: 54px;

    padding: 14px 24px;

    border: 1px solid #22c55e;
    border-radius: 999px;

    background: #22c55e;
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 12px 28px rgba(34, 197, 94, 0.22);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.fitlegend-contact .contact-form input[type="submit"]:hover {
    background: #16a34a;
    border-color: #16a34a;

    transform: translateY(-2px);

    box-shadow:
        0 16px 34px rgba(34, 197, 94, 0.28);
}


/* =========================================
   VALIDATION / MESSAGES
========================================= */

.fitlegend-contact .wpcf7-not-valid-tip {
    margin-top: 6px;

    font-size: 13px;

    color: #dc2626;
}

.fitlegend-contact .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 12px 14px !important;

    border-radius: 12px;

    font-size: 14px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .fitlegend-contact-hero {
        padding: 54px 28px 34px !important;
    }

    .fitlegend-contact {
        padding: 24px 28px 60px !important;
    }

    .fitlegend-contact .wp-block-columns {
        grid-template-columns: 1fr !important;

        max-width: 760px !important;

        gap: 30px !important;
    }

    .fitlegend-contact .contact-info {
        padding: 0 !important;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .fitlegend-contact-hero {
        padding: 42px 20px 28px !important;
    }

    .fitlegend-contact-hero h2 {
        font-size: 38px;
    }

    .fitlegend-contact-hero p {
        font-size: 16px;
    }

    .fitlegend-contact {
        padding: 18px 20px 50px !important;
    }

    .fitlegend-contact .wp-block-columns {
        max-width: 440px !important;
    }

    .fitlegend-contact .contact-form {
        padding: 24px !important;
    }

    .fitlegend-contact .contact-form input[type="text"],
    .fitlegend-contact .contact-form input[type="email"],
    .fitlegend-contact .contact-form input[type="tel"],
    .fitlegend-contact .contact-form input[type="url"],
    .fitlegend-contact .contact-form textarea,
    .fitlegend-contact .contact-form select {
        font-size: 16px;
    }
}
/* =========================================
   CONTACT - FORCE WIDE DESKTOP LAYOUT
========================================= */

/* =========================================
   CONTACT - WIDE DESKTOP WITHOUT SCROLL
========================================= */

@media (min-width: 951px) {

    .fitlegend-contact {
        width: calc(100vw - 32px) !important;
        max-width: 1440px !important;

        position: relative;
        left: 50%;
        transform: translateX(-50%);

        padding-left: 40px !important;
        padding-right: 40px !important;

        overflow: hidden;
    }

    .fitlegend-contact .wp-block-columns {
        width: 100% !important;
        max-width: 1280px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        display: grid !important;

        grid-template-columns:
            minmax(300px, 0.85fr)
            minmax(500px, 1.15fr) !important;

        gap: 60px !important;
    }

    .fitlegend-contact .contact-info,
    .fitlegend-contact .contact-form {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .fitlegend-contact .contact-form {
        padding: 36px !important;
    }
}

/* =========================================
   FITLEGEND FAQ
========================================= */

.fitlegend-faq,
.fitlegend-faq *,
.fitlegend-faq *::before,
.fitlegend-faq *::after {
    box-sizing: border-box;
}

.fitlegend-faq {
    width: 100% !important;
    max-width: 980px !important;

    margin: 0 auto !important;

    padding: 36px 24px 72px !important;
}


/* =========================================
   DETAILS BLOCK
========================================= */

.fitlegend-faq details {
    width: 100%;

    margin: 0 0 18px !important;

    padding: 0;

    background: #f8faf9;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    overflow: hidden;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.fitlegend-faq details:hover {
    border-color: #bbf7d0;

    box-shadow:
        0 10px 28px rgba(17, 24, 39, 0.05);
}


/* =========================================
   QUESTION
========================================= */

.fitlegend-faq summary {
    position: relative;

    padding: 22px 58px 22px 24px;

    cursor: pointer;

    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;

    color: #111827;

    list-style: none;
}

/* маха стандартната стрелка */
.fitlegend-faq summary::-webkit-details-marker {
    display: none;
}

.fitlegend-faq summary::marker {
    display: none;
}


/* =========================================
   CUSTOM + ICON
========================================= */

.fitlegend-faq summary::after {
    content: "+";

    position: absolute;
    top: 50%;
    right: 22px;

    width: 30px;
    height: 30px;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #22c55e;
    color: #ffffff;

    font-size: 21px;
    font-weight: 500;
    line-height: 1;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}


/* когато е отворено */
.fitlegend-faq details[open] summary::after {
    content: "−";

    background: #16a34a;
}

.fitlegend-faq details[open] {
    border-color: #bbf7d0;

    box-shadow:
        0 12px 32px rgba(34, 197, 94, 0.08);
}


/* =========================================
   ANSWER
========================================= */

.fitlegend-faq details > *:not(summary) {
    margin-left: 24px !important;
    margin-right: 24px !important;
}

.fitlegend-faq details p {
    margin-top: 0 !important;
    margin-bottom: 22px !important;

    padding-top: 4px;

    font-size: 16px;
    line-height: 1.65;

    color: #5f6875;
}


/* разделител между въпрос и отговор */
.fitlegend-faq details[open] summary {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 18px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .fitlegend-faq {
        padding: 28px 18px 50px !important;
    }

    .fitlegend-faq details {
        margin-bottom: 14px !important;

        border-radius: 16px;
    }

    .fitlegend-faq summary {
        padding: 18px 54px 18px 18px;

        font-size: 17px;
    }

    .fitlegend-faq summary::after {
        right: 16px;

        width: 28px;
        height: 28px;

        font-size: 19px;
    }

    .fitlegend-faq details > *:not(summary) {
        margin-left: 18px !important;
        margin-right: 18px !important;
    }

    .fitlegend-faq details p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* FAQ – центриране */
.fitlegend-faq {
    width: calc(100% - 40px) !important;
    max-width: 900px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* не позволяваме на Gutenberg да измества групата */
.fitlegend-faq.wp-block-group {
    margin-inline: auto !important;
}

/* FAQ картите използват цялата ширина */
.fitlegend-faq details {
    width: 100% !important;
    max-width: none !important;
}

/* =========================================
   FITLEGEND BLOG GRID
========================================= */

.fitlegend-blog-grid,
.fitlegend-blog-grid *,
.fitlegend-blog-grid *::before,
.fitlegend-blog-grid *::after {
    box-sizing: border-box;
}


/* Основният Query Loop */
.fitlegend-blog-grid {
    width: 100% !important;
    max-width: 1280px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 20px 24px 72px !important;
}


/* Самата мрежа с публикациите */
.fitlegend-blog-grid .wp-block-post-template {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    gap: 28px !important;

    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}


/* =========================================
   BLOG CARD
========================================= */

.fitlegend-blog-grid .wp-block-post {
    min-width: 0 !important;

    padding: 30px !important;

    background: #f8faf9 !important;

    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;

    box-shadow:
        0 10px 30px rgba(17, 24, 39, 0.05) !important;

    display: flex !important;
    flex-direction: column !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.fitlegend-blog-grid .wp-block-post:hover {
    transform: translateY(-5px);

    border-color: #86efac !important;

    box-shadow:
        0 18px 40px rgba(17, 24, 39, 0.09),
        0 8px 22px rgba(34, 197, 94, 0.08) !important;
}


/* =========================================
   BLOG TITLE
========================================= */

.fitlegend-blog-grid .wp-block-post-title {
    margin: 0 0 16px !important;
}

.fitlegend-blog-grid .wp-block-post-title,
.fitlegend-blog-grid .wp-block-post-title a {
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    color: #111827 !important;

    text-decoration: none !important;
}


/* =========================================
   EXCERPT
========================================= */

.fitlegend-blog-grid .wp-block-post-excerpt {
    margin: 0 !important;
}

.fitlegend-blog-grid .wp-block-post-excerpt__excerpt {
    margin: 0 0 18px !important;

    font-size: 15px !important;
    line-height: 1.6 !important;

    color: #6b7280 !important;
}


/* =========================================
   READ MORE
========================================= */

.fitlegend-blog-grid .wp-block-post-excerpt__more-link {
    display: inline-block;

    margin-top: auto !important;

    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;

    color: #22c55e !important;

    text-decoration: none !important;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.fitlegend-blog-grid .wp-block-post-excerpt__more-link:hover {
    color: #16a34a !important;

    transform: translateX(3px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .fitlegend-blog-grid {
        max-width: 900px !important;

        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    .fitlegend-blog-grid .wp-block-post-template {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 24px !important;
    }

    .fitlegend-blog-grid .wp-block-post {
        padding: 26px !important;
    }

    .fitlegend-blog-grid .wp-block-post-title,
    .fitlegend-blog-grid .wp-block-post-title a {
        font-size: 22px !important;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .fitlegend-blog-grid {
        max-width: 440px !important;

        padding:
            16px
            20px
            50px !important;
    }

    .fitlegend-blog-grid .wp-block-post-template {
        grid-template-columns:
            1fr !important;

        gap: 20px !important;
    }

    .fitlegend-blog-grid .wp-block-post {
        padding: 24px !important;

        border-radius: 20px !important;
    }

    .fitlegend-blog-grid .wp-block-post-title,
    .fitlegend-blog-grid .wp-block-post-title a {
        font-size: 21px !important;
    }

    .fitlegend-blog-grid .wp-block-post-excerpt__excerpt {
        font-size: 15px !important;
    }
}
/* =========================================
   BLOG WIDTH FIX
========================================= */

.fitlegend-blog-grid {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    padding-left: 40px !important;
    padding-right: 40px !important;
}


/* Разпъваме самия шаблон с публикациите */
.fitlegend-blog-grid .wp-block-post-template {
    width: min(1280px, 100%) !important;
    max-width: 1280px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 28px !important;
}


/* Самите карти */
.fitlegend-blog-grid .wp-block-post {
    width: 100% !important;
    min-width: 0 !important;

    padding: 30px !important;

    background: #f8faf9 !important;

    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;

    box-shadow:
        0 10px 30px rgba(17, 24, 39, 0.06) !important;
}


/* Заглавия */
.fitlegend-blog-grid .wp-block-post-title,
.fitlegend-blog-grid .wp-block-post-title a {
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;

    color: #111827 !important;

    text-decoration: none !important;
}


/* Откъс */
.fitlegend-blog-grid .wp-block-post-excerpt__excerpt {
    font-size: 15px !important;
    line-height: 1.6 !important;

    color: #6b7280 !important;
}


/* Прочети повече */
.fitlegend-blog-grid .wp-block-post-excerpt__more-link {
    color: #22c55e !important;
    font-weight: 700 !important;

    text-decoration: none !important;
}


/* TABLET */
@media (max-width: 1000px) {

    .fitlegend-blog-grid .wp-block-post-template {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}


/* MOBILE */
@media (max-width: 700px) {

    .fitlegend-blog-grid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .fitlegend-blog-grid .wp-block-post-template {
        grid-template-columns:
            1fr !important;
    }
}
/* =========================================
   BLOG - FORCE FULL WIDTH
========================================= */

/* Самата страница Блог */
body.page-id-20 main,
body.page-id-20 .wp-site-blocks,
body.page-id-20 .entry-content,
body.page-id-20 .wp-block-post-content {
    max-width: none !important;
}

/* Нашият Query Loop */
body.page-id-20 .fitlegend-blog-grid {
    width: calc(100vw - 80px) !important;
    max-width: 1280px !important;

    margin-left: 50% !important;
    transform: translateX(-50%) !important;

    padding: 0 !important;
}

/* Трите публикации */
body.page-id-20 .fitlegend-blog-grid .wp-block-post-template {
    width: 100% !important;
    max-width: none !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    gap: 28px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Карти */
body.page-id-20 .fitlegend-blog-grid .wp-block-post {
    width: 100% !important;
    min-width: 0 !important;

    padding: 30px !important;

    background: #f8faf9 !important;

    border: 1px solid #e5e7eb !important;
    border-radius: 24px !important;

    box-shadow:
        0 10px 30px rgba(17, 24, 39, 0.06) !important;
}

/* Заглавие */
body.page-id-20 .fitlegend-blog-grid .wp-block-post-title,
body.page-id-20 .fitlegend-blog-grid .wp-block-post-title a {
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;

    color: #111827 !important;
    text-decoration: none !important;
}

/* Текст */
body.page-id-20 .fitlegend-blog-grid .wp-block-post-excerpt__excerpt {
    font-size: 15px !important;
    line-height: 1.6 !important;

    color: #6b7280 !important;
}

/* Прочети повече */
body.page-id-20 .fitlegend-blog-grid .wp-block-post-excerpt__more-link {
    color: #22c55e !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}


/* TABLET */
@media (max-width: 1000px) {

    body.page-id-20 .fitlegend-blog-grid {
        width: calc(100vw - 48px) !important;
    }

    body.page-id-20 .fitlegend-blog-grid .wp-block-post-template {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* MOBILE */
@media (max-width: 700px) {

    body.page-id-20 .fitlegend-blog-grid {
        width: calc(100vw - 32px) !important;
    }

    body.page-id-20 .fitlegend-blog-grid .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }
}