.feature-section {
    position: relative;
    padding-top: 32px;
    padding-bottom: 32px;
    background-size: cover;
    background-position: center;
}

.feature-section .container {
    max-width: 1074px;
}

.feature-section__title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

.feature-section__grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 1024px) {
    .feature-section {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .feature-section__title {
        font-size: 42px;
    }

    .feature-section__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

.feature-item {
    background-color: #fff;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.feature-item__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.feature-item__icon-wrapper {
    background-color: #f2f2f2;
    width: 72px;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 4px;
}

.feature-item__icon-wrapper img {
    display: block;
    width: 40px;
    flex: 0 0 40px;
    height: 40px;
    object-fit: contain;
}

.feature-item__text {
    font-size: 12px;
    margin: 0;
}

.feature-item__button {
    width: 100%;
    margin-top: auto;
}

.fancybox-close-small {
    color: red !important;
}

.fancybox-modal {
    padding: 24px;
}

@media (min-width: 1024px) {
    .fancybox-modal {
        padding: 32px 64px;
        max-width: 920px;
    }
}

.fancybox-modal__title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 32px;
}

@media (min-width: 1024px) {
    .fancybox-modal__title {
        font-size: 34px;
    }
}

.fancybox-modal__tabs {
    margin-bottom: 32px;
}

@media (min-width: 1024px) {
    .fancybox-modal__tabs {
        display: flex;
        gap: 0;
        align-items: flex-start;
    }
}

.fancybox-modal__tabs .tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    border: 1px solid #D9D9D9;
    border-radius: 6px;
    height: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
    .fancybox-modal__tabs .tabs-nav {
        flex-direction: column;
        width: 200px;
        height: auto;
        border: 1px solid #D9D9D9;
        border-radius: 0;
        margin-bottom: 0;
        background: #F3F3F3;
        overflow-x: hidden;
        flex-shrink: 0;
    }
}

.fancybox-modal__tabs .tabs-nav li {
    margin: 0;
    flex-shrink: 0;
}

.fancybox-modal__tabs .tabs-nav li a {
    display: flex;
    align-items: center;
    padding: 0 12px;
    height: 100%;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .fancybox-modal__tabs .tabs-nav li a {
        width: 100%;
        height: 38px;
        padding: 0 24px;
        font-weight: 700;
        border: none;
        border-bottom: 1px solid #D9D9D9;
    }
}

.fancybox-modal__tabs .tabs-nav li.active a {
    background: #fff;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .fancybox-modal__tabs .tabs-nav li.active a {
        position: relative;
        border-right: 1px solid #fff;
        margin-right: -1px;
        z-index: 2;
    }
}

@media (min-width: 1024px) {
    .fancybox-modal__tabs .tabs-nav li:last-child a {
        border-bottom: none;
    }
}

@media (min-width: 1024px) {
    .fancybox-modal__tabs .tabs-content {
        flex-grow: 1;
        border-radius: 6px;
        border: 1px solid #D9D9D9;
        margin-left: -1px;
        min-height: 100%;
    }
}

.fancybox-modal__tabs .tabs-content-item {
    display: none;
    padding: 24px;
    border-radius: 6px;
    border: 1px solid #D9D9D9;
    margin-top: -1px;
}

@media (min-width: 1024px) {
    .fancybox-modal__tabs .tabs-content-item {
        border: none;
        margin-top: 0;
    }
}

.fancybox-modal__tabs .tabs-content-item h1,
.fancybox-modal__tabs .tabs-content-item h2,
.fancybox-modal__tabs .tabs-content-item h3,
.fancybox-modal__tabs .tabs-content-item h4,
.fancybox-modal__tabs .tabs-content-item h5,
.fancybox-modal__tabs .tabs-content-item h6 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
}

.fancybox-modal__tabs .tabs-content-item h1 {
    font-size: 2em;
}

.fancybox-modal__tabs .tabs-content-item h2 {
    font-size: 1.5em;
}

.fancybox-modal__tabs .tabs-content-item h3 {
    font-size: 1.17em;
}

.fancybox-modal__tabs .tabs-content-item h4 {
    font-size: 1em;
}

.fancybox-modal__tabs .tabs-content-item h5 {
    font-size: 0.83em;
}

.fancybox-modal__tabs .tabs-content-item h6 {
    font-size: 0.67em;
}

.fancybox-modal__tabs .tabs-content-item p {
    margin-bottom: 16px;
    overflow-wrap: break-word;
}

.fancybox-modal__tabs .tabs-content-item ul,
.fancybox-modal__tabs .tabs-content-item ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.fancybox-modal__tabs .tabs-content-item li {
    margin-bottom: 8px;
}

.fancybox-modal__tabs .tabs-content-item a {
    color: #007bff;
    text-decoration: underline;
}

.fancybox-modal__tabs .tabs-content-item a:hover {
    color: #0056b3;
}

.fancybox-modal__tabs .tabs-content-item img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.fancybox-modal__tabs .tabs-content-item strong {
    font-weight: 600;
}

.fancybox-modal__tabs .tabs-content-item.active {
    display: block;
}

.fancybox-modal__content {
    margin-bottom: 20px;
}

.fancybox-modal__content h1,
.fancybox-modal__content h2,
.fancybox-modal__content h3,
.fancybox-modal__content h4,
.fancybox-modal__content h5,
.fancybox-modal__content h6 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 600;
}

.fancybox-modal__content h1 {
    font-size: 2em;
}

.fancybox-modal__content h2 {
    font-size: 1.5em;
}

.fancybox-modal__content h3 {
    font-size: 1.17em;
}

.fancybox-modal__content h4 {
    font-size: 1em;
}

.fancybox-modal__content h5 {
    font-size: 0.83em;
}

.fancybox-modal__content h6 {
    font-size: 0.67em;
}

.fancybox-modal__content p {
    margin-bottom: 16px;
}

.fancybox-modal__content ul,
.fancybox-modal__content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.fancybox-modal__content li {
    margin-bottom: 8px;
}

.fancybox-modal__content a {
    color: #007bff;
    text-decoration: underline;
}

.fancybox-modal__content a:hover {
    color: #0056b3;
}

.fancybox-modal__content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.fancybox-modal__content strong {
    font-weight: 600;
}

.fancybox-modal__note {
    margin-top: 20px;
    background: #DFDFDF;
    border-radius: 4px;
    padding: 16px 64px;
    font-size: 16px;
    text-align: center;
}

@media (max-width: 767px) {
    .fancybox-modal__note {
        padding: 16px;
    }
}

/* WordPress Image Alignment */
.alignleft {
    float: left;
    margin: 0.5em 1.5em 1em 0;
}

.alignright {
    float: right;
    margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

img.alignleft {
    float: left;
    margin: 0.5em 1.5em 1em 0;
}

img.alignright {
    float: right;
    margin: 0.5em 0 1em 1.5em;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.5em;
    margin-bottom: 1em;
}