/* Legendy Plugin Styles */

.legends__container {
    margin: -152px auto 0;
    max-width: 1330px;
    position: relative;
    z-index: 1;
}

.legends__map-section {
    margin-bottom: 56px;
}

.papirus-gora, .papirus-dol {
    display: block;
    height: auto;
    margin: 0 auto;
    width: 1311px;
}

.papirus-gora-wrapper {
    box-shadow: 0 58px 16px 0 rgba(53, 23, 3, 0.00), 0 37px 15px 0 rgba(53, 23, 3, 0.03), 0 21px 12px 0 rgba(53, 23, 3, 0.10), 0 9px 9px 0 rgba(53, 23, 3, 0.17), 0 2px 5px 0 rgba(53, 23, 3, 0.20);
    height: 50px;
    position: relative;
}

.item-list-gora, .item-list-dol {
    display: block;
    height: auto;
    margin: 0 auto;
    width: 100%;
}

.item-list-gora-wrapper {
    height: 50px;
    position: relative;
}

.item-list-dol-wrapper {
    height: 50px;
    margin: -50px 0;
    position: relative;
}

.item-list-content {
    background-image: url('../imgaes/item-list-srodek.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: -40px auto 0;
    max-width: 100%;
    max-width: 264px;
    min-height: 480px;
    padding: 15px 20px 0;
}

.legend-single__content-wrapper {
    background-image: url('../imgaes/tlo-srodek.svg');
    background-position: center;
    background-repeat: repeat-y;
    background-size: 1280px auto;
}

.legends__content {
    background-image: url('../imgaes/tlo-srodek.svg');
    background-position: center;
    background-repeat: repeat-y;
    background-size: 1280px auto;
    box-shadow: 0 27px 8px 0 rgba(157, 100, 36, 0.01), 0 17px 7px 0 rgba(157, 100, 36, 0.06), 0 10px 6px 0 rgba(157, 100, 36, 0.20), 0 4px 4px 0 rgba(157, 100, 36, 0.34), 0 1px 2px 0 rgba(157, 100, 36, 0.39);
    margin: -32px auto 0;
    max-width: 1280px;
    padding: 0 64px 64px;
}

.legends__item {
    padding-bottom: 56px;
}

.legends__main-title {
    align-items: center;
    background-position: bottom;
    background-size: cover;
    display: flex;
    height: 415px;
    justify-content: center;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
}

.legends__main-title h1 {
    color: #FFF;
    font-family: Caudex;
    font-size: 62px;
    font-weight: 700;
    line-height: 63.72px;
    margin: -152px 0 0;
    max-width: 1280px;
    position: relative;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    text-transform: capitalize;
    width: 100%;
    z-index: 2;
}

.legends__main-title div {
    color: #FFF;
    font-family: Caudex;
    font-size: 62px;
    font-weight: 700;
    line-height: 63.72px;
    margin: -152px 0 0;
    max-width: 1280px;
    position: relative;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    text-transform: capitalize;
    width: 100%;
    z-index: 2;
}

.legends__breadcrumbs {
    align-items: center;
    color: #41271B;
    display: flex;
    font-family: Alegreya;
    font-size: 18px;
    font-weight: 500;
    gap: 10px;
    justify-content: flex-start;
    line-height: 26px;
    padding: 88px 0 24px;
    /* margin-bottom: 32px;
    margin-top: 88px; */
}

.legends__breadcrumbs a {
    color: #41271B;
    font-family: Alegreya;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    text-decoration: none;
}

.legends__breadcrumbs a:hover {
    text-decoration: underline;
}

.legend-single__breadcrumbs {
    align-items: center;
    color: #41271B;
    display: flex;
    font-family: Alegreya;
    font-size: 18px;
    font-weight: 500;
    gap: 10px;
    justify-content: flex-start;
    line-height: 26px;
    padding: 88px 0 24px;
}

.legend-single__breadcrumbs a {
    color: #41271B;
    font-family: Alegreya;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    text-decoration: none;
}

.legend-single__breadcrumbs a:hover {
    text-decoration: underline;
}

.legends__breadcrumbs a {
    color: #41271B;
    text-decoration: none;
}

.legends__breadcrumbs a:hover {
    text-decoration: underline;
}

.legends__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, 1fr);
}

/* .legends__item {
    text-align: center;
} */

.legends__item img {
    display: block;
    height: auto;
    max-width: 100%;
    transition: opacity 0.3s ease;
}

.legends__item a {
    display: block;
    position: relative;
    text-decoration: none;
}

.legends__item-video {
    height: auto;
    left: 10px;
    max-height: 100%;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    top: 12px;
    transition: opacity 0.3s ease;
    width: 90%;
}

.legends__item:hover .legends__item-video {
    opacity: 1;
}

.legends__item:hover a img {
    opacity: 0;
}

.legends__item a h3 {
    color: #242424;
    font-family: Caudex;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin: 10px 0 0 0;
    padding: 0 10px;
    text-align: left;
}

.legends__item a:hover h3 {
    text-decoration: underline;
}

.legends__partners {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    justify-items: center;
    padding: 64px 0 72px;
}

.legends__partners img {
    height: auto;
    max-width: 100%;
}

/* Single Legend Styles */
.legend-single__container {
    margin: -152px auto 0;
    max-width: 1330px;
}

.legend-single__main-title {
    align-items: center;
    background-position: center;
    background-size: cover;
    display: flex;
    height: 416px;
    justify-content: center;
    text-align: center;
    width: 100%;
}


.legends__container h2,
.legend-single__container h2 {
    background-image: url('../imgaes/tlo-title.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    color: #5E3D2F;
    font-family: Caudex;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 26px;
    padding: 31px 30px;
    position: relative;
}

.legend-single__container h2 {
    font-size: 54px;
    line-height: 112%;
}

.legends__container h2::before,
.legend-single__container h2::before {
    background-image: url('../imgaes/przed-title.svg');
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    height: 100px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
}

.legend-single__container h2::before {
    left: -5px;
}

.legend-single__container h2::before {
    left: -5px;
    top: 51%;
}

.legends__container h2::after,
.legend-single__container h2::after {
    background-image: url('../imgaes/after-title.svg') !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    content: '' !important;
    height: 100px !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
}

.legend-single__container h2::after {
    right: -5px !important;
}

.legend-single__container h2::after {
    right: -25px !important;
    top: 51% !important;
}

.legends__container h1 {
    color: #5E3D2F;
    font-family: Caudex;
    font-size: 54px;
    font-style: normal;
    font-weight: 700;
    line-height: 112%;
    margin: 0;
    text-align: left;
}

.legend-single__breadcrumbs {
    margin-bottom: 15px;
}

.legend-single__content {
    background-image: url('../imgaes/tlo-srodek.svg');
    background-position: center;
    background-repeat: repeat-y;
    background-size: 1280px auto;
    margin: -32px auto 0;
    max-width: 1280px;
    padding: 0 64px 64px;
}

.legend-single__columns {
    display: flex;
    gap: 64px;
    margin-top: 12px;
}

.legend-single__left-column {
    flex: 2;
}

.legend-single__right-column {
    flex: 1;
}

.legend-single__places-list {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    list-style: none;
    margin-bottom: 34px;
    padding: 0;
}

.legend-single__places-list li {
    align-items: center;
    align-items: flex-start;
    display: flex;
    margin-bottom: 0;
    padding: 0;
}

.legend-single__places-list img {
    box-shadow: 0 18.923px 5.256px 0 rgba(157, 100, 36, 0.01), 0 11.564px 5.256px 0 rgba(157, 100, 36, 0.07), 0 6.308px 4.205px 0 rgba(157, 100, 36, 0.25), 0 3.154px 3.154px 0 rgba(157, 100, 36, 0.43), 0 1.051px 2.103px 0 rgba(157, 100, 36, 0.49);
    height: auto;
    left: 50%;
    margin: -6px 0 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
}

.place-image-wrapper {
    background-image: url('../imgaes/tlo-miejsca.png');
    background-position: center;
    background-position: 0px -2px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 16px;
    margin-top: 0px;
    padding: 5px 15px;
}

.place-image-inner {
    height: 114px;
    overflow: hidden;
    position: relative;
    width: 130px;
}

.legend-single__places-list a,
.legend-single__places-list span {
    color: #5E3D2F;
    font-family: Caudex;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 26.4px;
    padding: 8px 0;
    text-transform: capitalize;
}

.legend-single__download-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.papirus-gora {
    margin-top: -36px;
}

.papirus-dol {
    margin-top: -53px;
}

.legend-single__main-image {
    margin-bottom: 20px;
    margin-top: 70px;
    position: relative;
}

.legend-single__main-image img {
    display: block;
    height: auto;
    transition: opacity 0.3s ease;
    width: 100%;
}

.legend-single__image-video,
.legend-single__image-video-1,
.legend-single__image-video-2 {
    height: 92%;
    left: 18px;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    top: 20px;
    transition: opacity 0.3s ease;
    width: 90%;
}

.legend-single__main-image:hover .legend-single__image-video {
    opacity: 1;
}

.legend-single__main-image:hover img {
    opacity: 0;
}

@media (max-width: 768px) {
    .legends__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legend-single__columns {
        flex-direction: column;
    }

    .legends__partners {
        grid-template-columns: 1fr;
        padding: 56px 16px;
    }

    .legends__main-title h1,
    .legend-single__main-title h1 {
        font-size: 40px;
        line-height: 45px;
    }
}

/* Ukryj breadcrumbs dla legend */
.single-legend .breadcumb-wrapper,
.single-legend .breadcrumb-wrapper {
    display: none !important;
}

.location {
    align-items: center;
    color: #41271B;
    display: flex;
    flex-direction: row;
    font-family: Caudex;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    gap: 8px;
    justify-content: flex-start;
    line-height: 26px;
    margin: 24px 0;
    text-align: left;
    text-decoration-line: underline;
    text-decoration-skip-ink: auto;
    text-decoration-style: solid;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.location svg {
    flex-shrink: 0;
}

.location strong {
    font-weight: 700;
}

.legend-single__right-column h2 {
    background-size: inherit;
    color: #5E3D2F;
    font-family: Caudex;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 26.4px */
    margin: 56px 0 32px 0;
    text-transform: capitalize;
}

.audio-play-button {
    align-items: center;
    background: linear-gradient(180deg, #FF8668 0%, #AA1513 54.06%, #D44533 100%);
    border: 2px solid #FA6C41;
    border-radius: 52px;
    box-shadow: 0 26px 7px 0 rgba(145, 86, 18, 0.01), 0 17px 7px 0 rgba(145, 86, 18, 0.04), 0 9px 6px 0 rgba(145, 86, 18, 0.15), 0 4px 4px 0 rgba(145, 86, 18, 0.26), 0 1px 2px 0 rgba(145, 86, 18, 0.29);
    color: #FFEACA;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    font-family: Caudex;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    gap: 16px;
    justify-content: space-between;
    line-height: 120%;
    margin-bottom: 56px;
    margin-top: 56px;
    padding: 16px 29px;
}

.see-more-button {
    align-items: center;
    background: linear-gradient(180deg, #F9EEC8 0%, #F5D38A 55.29%, #FFE3AF 100%);
    border: 2px solid #CFB185;
    border-radius: 52px;
    box-shadow: 0 26px 7px 0 rgba(179, 114, 41, 0.00), 0 17px 7px 0 rgba(179, 114, 41, 0.03), 0 9px 6px 0 rgba(179, 114, 41, 0.10), 0 4px 4px 0 rgba(179, 114, 41, 0.17), 0 1px 2px 0 rgba(179, 114, 41, 0.20);
    color: #5E3D2F;
    display: flex;
    flex-direction: column;
    font-family: Caudex;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 24px */
    margin-bottom: 56px;
    padding: 16px 24px;
    text-decoration: none;
    width: 185px;
}

.detailed-content,
.detailed-content p {
    color: #41271B;
    font-family: "Alegreya", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
}

.detailed-content h2 {
    background-image: none !important;
    margin: 56px 0 40px;
    padding: 0 !important;
    position: static !important;
}

.detailed-content h2::before,
.detailed-content h2::after {
    display: none !important;
}

.detailed-content p:first-child::first-letter {
    color: #5E3D2F;
    float: left;
    font-size: 106px;
    font-weight: 400;
    line-height: 0.8;
    margin-right: 0.1em;
}

@media (max-width: 1220px) {
    .legends__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .audio-play-button {
        margin: 0 auto;
    }

    .papirus-gora-wrapper {
        height: 35px;
    }
    .legend-single__columns {
        flex-direction: column;
    }
    .legend-single__main-image-mobile {
        display: block;
    }
    .legend-single__main-image-desktop {
        display: none;
    }
    .legend-single__breadcrumbs {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 70px 0 24px;
    }
    .legends__container h1 {
        font-size: 42px;
        text-align: center;
    }
    .location {
        justify-content: center;
        margin: 24px 0 48px;
    }
    .papirus-dol {
        margin-top: -14px;
    }
}

@media (min-width: 1221px) {
    .legend-single__main-image-mobile {
        display: none;
    }
    .legend-single__main-image-desktop {
        display: block;
    }
}

.floating-audio-controls {
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #41271B;
    border-radius: 10px;
    bottom: 20px;
    bottom: 100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 10px;
    padding: 10px;
    position: fixed;
    right: 20px;
    z-index: 1000;
}

.close-audio {
    align-items: center;
    background: #41271B;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    height: 30px;
    justify-content: center;
    line-height: 1;
    width: 30px;
}

.close-audio:hover {
    background: #5E3D2F;
}

.audio-autoplay-notice {
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.audio-notice-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    padding: 30px;
    text-align: center;
    width: 100%;
}

.audio-notice-content h3 {
    color: #41271B;
    font-family: Caudex;
    font-size: 24px;
    margin: 0 0 15px;
}

.audio-notice-content p {
    color: #666;
    font-size: 16px;
    margin: 0 0 20px;
}

.start-audio-btn {
    background: #5E3D2F;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-family: Caudex;
    font-size: 16px;
    padding: 12px 24px;
    transition: background 0.3s;
}

.start-audio-btn:hover {
    background: #41271B;
}

@media (max-width: 768px) {
    .audio-notice-content {
        padding: 20px;
    }
    
    .audio-notice-content h3 {
        font-size: 20px;
    }
    
    .audio-notice-content p {
        font-size: 14px;
    }
    
    .floating-audio-controls {
        bottom: 10px;
        flex-direction: column;
        left: 10px;
        padding: 8px;
        right: 10px;
    }
    
    .floating-audio-controls audio {
        width: 100%;
    }
    
    .close-audio {
        align-self: flex-end;
        margin-bottom: 5px;
    }
}

.main-title-video {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: -44px;
    width: 100%;
    z-index: 1;
}

@media (max-width: 768px) {

    .legends__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .see-more-button {
        width: 100%;
    }

    .papirus-gora-wrapper {
        height: 20px;
    }

    .papirus-gora-wrapper img {
        transform: scale(2.5);
    }

    .papirus-dol {
        transform: scale(2.5);
    }

    .legends__content {
        padding: 0 20px 64px;
    }

    .legends__main-title div {
        font-size: 40px;
        line-height: 45px;
    }

    .audio-play-button {
        margin-bottom: 40px;
        margin-top: 40px;
        text-align: left;
    }

    .audio-play-button svg {
        width: 20px;
    }

    .legend-single__main-image {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .item-list-content {
        max-width: 94%;
        padding: 15px 20px 80px;
    }

    .item-list-dol-wrapper {
        height: 50px;
        margin: -64px 0;
    }

    .legends__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .legend-single__places-list li {
        align-items: center;
        flex-direction: column;
    }

    .legend-single__places-list li a {
        width: 90%;
    }

    .legends__container h2, .legend-single__container h2, .legend-single__right-column h2 {
        font-size: 32px;
    }

    .place-image-wrapper {
        background-position: 0px 6px;
        background-size: contain;
        background-size: 100% 110%;
        margin: 0;
        min-height: 260px;
        width: 100%;
    }

    .place-image-inner {
        display: block;
        height: 100%;
        padding: 34px 0;
        position: relative;
        width: 100%;
    }

    .place-image-inner img {
        display: block;
        position: relative;
        width: 90%;
    }
}

/* Pozostałe legendy - karuzela */
.other-legends {
    padding: 64px 0 0;
    width: 100%;
}

.other-legends__wrapper {
    background-image: url('../imgaes/legendy-karuzela.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    left: 50%;
    margin-left: -50vw;         /* full-bleed poza kontener */
    margin-right: -50vw;
    padding: 135px 0 86px;
    position: relative;
    right: 50%;
    width: 100vw;               /* pełna szerokość okna */
}

.other-legends__inner {
    margin: 0 auto;
    max-width: 1330px;          /* szerokość treści jak reszta strony */
    padding-left: 15px;
    padding-right: 15px;
}

.other-legends__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 46px;
}

.other-legends__arrows {
    align-items: center;
    display: flex;
    gap: 10px;
}

.other-legends__arrow {
    background: none;
    border: none;
    cursor: pointer;
    height: 40px;
    padding: 0;
    transition: transform 0.2s ease;
    width: 40px;
}

.other-legends__arrow:hover {
    transform: scale(1.1);
}

.other-legends__arrow img {
    display: block;
    height: 100%;
    width: 100%;
}

.other-legends__arrow:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.other-legends__arrow:disabled:hover {
    transform: scale(1);
}

.other-legends h2 {
    background-image: url('../imgaes/tlo-title.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    color: #5E3D2F;
    display: inline-block;
    font-family: Caudex;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin: 0;
    padding: 31px 30px;
    position: relative;
}

.other-legends h2::before {
    background-image: url('../imgaes/przed-title.svg');
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    height: 100px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
}

.other-legends h2::after {
    background-image: url('../imgaes/after-title.svg') !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    content: '' !important;
    height: 100px !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
}

.other-legends__carousel {
    cursor: grab;
    display: flex;
    gap: 12px;
    -ms-overflow-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.other-legends__carousel::-webkit-scrollbar {
    display: none;
}

.other-legends__carousel:active {
    cursor: grabbing;
}

.other-legends__item {
    flex: 0 0 auto;
    min-width: 250px;
    scroll-snap-align: start;
    width: calc((100% - 96px) / 4); /* adjusted for 32px gap */
}

.other-legends__item .item-list-wrapper {
    margin: 0 auto;
    max-width: 304px;
}

.other-legends__item .item-list-content {
    background-image: url('../imgaes/tlo-srodek.svg');
    background-position: center;
    background-repeat: repeat-y;
    background-size: 1280px auto;
    margin: -40px auto 0;
    max-width: 100%;
    min-height: 532px;
    padding: 15px 20px 0;
}

.other-legends__item a {
    cursor: pointer;
    display: block;
    position: relative;
    text-decoration: none;
}

.other-legends__item a > img {
    display: block;
    height: auto;
    max-width: 100%;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.other-legends__item-video {
    height: auto;
    left: 0;
    max-height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transition: opacity 0.3s ease;
    width: 100%;
}

.other-legends__item:hover .other-legends__item-video {
    opacity: 1;
}

.other-legends__item:hover a > img {
    opacity: 0;
}

.other-legends__item a h3 {
    color: #242424;
    font-family: Caudex;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin: 10px 0 0 0;
    padding: 0 10px;
    text-align: left;
}

.other-legends__item a:hover h3 {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .other-legends {
        padding: 40px 0;
    }
    
    .other-legends h2 {
        font-size: 32px;
    }
    
    .other-legends__carousel {
        gap: 20px;
    }
    
    .other-legends__item {
        min-width: 200px;
        width: calc((100% - 40px) / 2);
    }
}

/* Override: Pozostałe legendy heading without background and decorations */
.other-legends h2 {
    background: none !important;
    color: #242424;
    font-family: Caudex;
    font-size: var(--font-size-54, 54px);
    font-style: normal;
    font-weight: var(--font-weight-700, 700);
    line-height: var(--line-height-63_72, 63.72px);
    padding: 0; /* remove decorative padding */
    text-transform: capitalize;
}

.other-legends h2::before,
.other-legends h2::after {
    background: none !important;
    content: none !important;
    height: 0 !important;
    width: 0 !important;
}