/* ── CCSavès Extranet Entreprises – front-end styles ── */

.ent-login-wrap,
.ent-register-wrap {
    margin: 30px auto 40px;
}

.text-center {
    text-align: center;
}

.ent-tab-panel {
    background-color: #f4f4f4;
    border-radius: 4px;
    padding: 20px;
}

.ent-login-wrap p {
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.ent-login-wrap h1 {
    text-align: center;
    line-height: 1;
}

.forms-tabs {
    max-width: 460px;
    margin: 0 auto;
}

.form-register-bloc {
    border-radius: 10px;
    box-shadow: -2px 2px 10px 0 rgba(0, 0, 0, 0.25);
    padding: 20px;
}

@media(min-width:768px) {
    .ent-register-wrap {
        margin: 50px auto 120px;
    }

    .ent-login-wrap {
        margin: 100px auto 120px;
    }

    .ent-tab-panel {
        padding: 32px;
    }

    .form-register-bloc {
        padding: 40px;
    }
}

@media(min-width:1280px) {
    .ent-login-wrap {
        margin: 100px auto 180px;
    }

    .ent-register-wrap {
        width: 85%;
    }
}

@media(min-width:1536px) {
    .ent-register-wrap {
        width: 75%;
    }
}

/* Tabs */
.ent-tabs {
    display: flex;
    gap: 0;
}

.ent-tab {
    padding: .6rem 1.25rem;
    background: none;
    border: none !important;
    border-radius: 4px 4px 0 0 !important;
    cursor: pointer;
    font-size: .9rem !important;
    font-weight: 500;
    transition: color .15s, border-color .15s;
    width: 50% !important;
    opacity: 0.7;
    white-space: normal !important;
}

@media(min-width:768px) {
    .ent-tab {
        font-size: 1rem !important;
    }
}

@media(min-width:1280px) {
    .ent-tab {
        font-size: 1.15rem !important;
    }
}

.ent-tab:hover {
    background-color: transparent !important;
    opacity: 1;
    color: #2F3841 !important;
}

.ent-tab--active {
    background-color: #f4f4f4 !important;
    color: #2F3841 !important;
    opacity: 1
}

.ent-tab-panel {
    display: none;
}

.ent-tab-panel--active {
    display: block;
}

/* Alerts */
.ent-alert {
    padding: .75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.ent-alert--error {
    background: #fdecea;
    color: #b00020;
    border: 1px solid #b00020;
}

.ent-alert--warning {
    background: #fff4e5;
    color: #ff9800;
    border: 1px solid #ff9800;
}

.ent-alert--success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #1b5e20;
}

/* Buttons */
.ent-btn {
    display: inline-flex;
    align-items: center;
    padding: .45rem 1rem;
    border-radius: 4px;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.ent-btn--primary {
    background: #155F93 !important;
    color: #fff !important;
    border: none !important;
}

.ent-btn--primary:hover {
    background: #2F3841 !important;
    border: none !important;
}

.ent-btn--secondary {
    background: #fff;
    color: #2F3841 !important;
    border-color: #2F3841 !important;
    padding: 8px 15px !important;
}

.ent-btn--secondary:hover {
    background: #f5f5f5;
}

.ent-btn--small {
    padding: .3rem .75rem;
    font-size: .8125rem;
}

.ee-btn-logout {
    border-radius: 10px 10px 0 0;
    background: #E55759;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out;
}

.ee-btn-logout:hover {
    background: #d14d4f;
}

@media(min-width:768px) {
    .ee-btn-logout {
        font-size: 16px;
        padding: 12px 18px;
    }
}

@media(min-width:1280px) {
    .ee-btn-logout {
        font-size: 17px;
        padding: 16px 25px;
    }
}

/* Forms */
.login-form {
    max-width: 560px;
}

.ent-edit-form {
    max-width: 100%;
}

.ent-field {
    margin-bottom: 1.1rem;
}

.ent-field label,
.ent-field .ent-field__label {
    display: block;
    margin-bottom: .3rem;
    font-weight: 500;
    color: #000;
}

.ent-field input[type="text"],
.ent-field input[type="email"],
.ent-field input[type="password"],
.ent-field input[type="tel"],
.ent-field input[type="url"],
.ent-field input[type="number"],
.ent-field select,
.ent-field textarea {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid #000;
    border-radius: 30px;
    font-size: .95rem;
}


.ent-password-wrap {
    position: relative;
}

.ent-password-wrap input[type="password"],
.ent-password-wrap input[type="text"] {
    padding-right: 2.5rem;
}

.ent-password-toggle {
    position: absolute !important;
    right: .75rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    color: #555 !important;
    display: flex !important;
    align-items: center !important;
}

.ent-password-toggle:hover {
    color: #000;
}

.ent-field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(/wp-content/uploads/2026/04/down.svg);
    background-repeat: no-repeat;
    background-position: 97% 52% !important;
    padding-right: 40px !important;
    cursor: pointer;
}

.ent-field input[readonly] {
    background: #f5f5f5;
    color: #666;
}

.ent-field--error input,
.ent-field--error select,
.ent-field--error textarea {
    border-color: #b00020;
}

.ent-field__msg {
    display: block;
    color: #b00020;
    font-size: .8rem;
    margin-top: .25rem;
}

.ent-field__hint {
    color: #666;
    font-size: .8rem;
    margin: .25rem 0 1rem;
}

.ent-field--radio label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-right: 1.2rem;
    font-weight: 400;
    cursor: pointer;
}

.ent-field--check label {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-weight: 400;
    cursor: pointer;
}

.ent-field--check input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: .2rem;
}

.ent-check {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

.register-form {
    display: flex;
    flex-wrap: wrap;
    column-gap: 15px;
    row-gap: 8px;
    justify-content: space-between;
}

.register-form .ent-field.w-full,
.register-form .ent-field.w-50,
.register-form .ent-field.w-30,
.register-form .ent-field.w-70 {
    width: 100%;
}

@media(min-width:1024px) {
    .register-form .ent-field.w-25 {
        width: calc(25% - 10px);
    }

    .register-form .ent-field.w-30 {
        width: calc(30% - 10px);
    }

    .register-form .ent-field.w-50 {
        width: calc(50% - 10px);
    }

    .register-form .ent-field.w-60 {
        width: calc(60% - 10px);
    }

    .register-form .ent-field.w-70 {
        width: calc(70% - 10px);
    }
}

/* Dashboard */
.ent-dashboard {
    margin-bottom: 50px;
}

.ent-dashboard__header {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-top: 40px;
}

.ent-dashboard__header::before {
    content: "";
    background: url(/wp-content/uploads/2026/03/points-gris.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0px;
    right: 5%;
    display: inline-block
}

.ent-dashboard__header h1 {
    line-height: 1;
    margin-bottom: 15px;
}

.ent-dashboard__header .intro {
    padding-bottom: 10px;
    font-size: 18px;
}

@media(min-width:768px) {
    .ent-dashboard {
        margin-bottom: 100px;
    }

    .ent-dashboard__header .intro {
        width: 70%;
    }

    .ent-dashboard__header {
        justify-content: space-between;
        gap: 1rem;
    }
}

@media(min-width:1024px) {
    .ent-dashboard__header .intro {
        width: 60%;
    }

    .ent-dashboard__header::before {
        right: 20%;
    }
}

@media(min-width:1280px) {
    .ent-dashboard__header::before {
        width: 220px;
        height: 220px;
        top: 75px;
        right: 25%;
    }

    .ent-dashboard__header .intro {
        width: 50%;
    }
}

@media(min-width:1536px) {
    .ent-dashboard__header.intro {
        width: 40%;
    }

    .ent-dashboard__header::before {
        width: 250px;
        height: 300px;
        right: 29%;
        top: 65px;
    }
}

.ent-block {
    border-radius: 10px;
    background: #FFF;
    padding: 16px;
    box-shadow: -2px 2px 10px 0 rgba(0, 0, 0, 0.25);
    margin-bottom: 2.5rem;
}

.ent-block__title {
    font-size: 24px !important;
    color: #155F93 !important;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px 0 !important;
}

.ent-block__title span {
    flex: 1;
}

@media(max-width:767px) {
    .ent-block__title {
        font-size: 19px !important;
    }

    .ent-block__title svg {
        display: none;
    }
}

@media(min-width:768px) {
    .ent-block {
        padding: 24px;
    }
}

/* Company card */
.top-form {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.top-form button {
    background-color: #155F93 !important;
    border: none !important;
    color: #fff !important;
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 11px 20px !important;
    transition: all 0.3s ease-in-out;
    font-size: 17px !important;
}

.top-form button:hover {
    background-color: #2F3841 !important;
}

/* Accordion */
.ee-accordion__item {
    border-radius: 10px;
    border: 1px solid #155F93;
    margin-bottom: 20px;
    overflow: hidden;
}

.ee-accordion__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .85rem 1rem;
    border: none !important;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400 !important;
    text-align: left;
    font-family: "Paytone One", Sans-serif;
}

.ee-accordion__trigger:hover,
.ee-accordion__trigger:focus {
    background-color: #fff !important;
}

.ee-accordion__icon {
    width: 14px;
    height: 14px;
    position: relative;
    flex-shrink: 0;
}

.ee-accordion__icon::before,
.ee-accordion__icon::after {
    content: '';
    position: absolute;
    background: #555;
    border-radius: 1px;
    transition: transform .2s;
}

.ee-accordion__icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

.ee-accordion__icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.ee-accordion__trigger[aria-expanded="true"] .ee-accordion__icon::after {
    transform: scaleY(0);
}

.ee-accordion__panel {
    overflow: hidden;
    transition: height .3s ease;
    box-sizing: border-box;
}

.ee-accordion__panel>div {
    padding: 0 1rem 1rem;
}

/*---------------------------------*/

.middle-form {
    border-top: 2px solid #F4F4F4;
    border-bottom: 2px solid #F4F4F4;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.middle-form>div {
    display: flex;
    column-gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
}

.ent-edit-form h2 {
    margin-bottom: 0 !important;
}

.ent-edit-form .w-full,
.ent-edit-form .w-50,
.ent-edit-form .w-33,
.ent-edit-form .w-30,
.ent-edit-form .w-70 {
    width: 100%
}

.ent-edit-form textarea {
    border-radius: 20px;
}

.ent-edit-form .ent-btn--secondary {
    background-color: #f4f4f4 !important;
    padding: 5px 15px !important;
    font-size: 16px !important;
    border-color: #2F384126 !important;
    margin-bottom: 15px !important;
}

.media-frame-title h1 {
    font-size: 25px !important;
}

#wp-media-modal h2 {
    font-size: 18px !important;
}

.media-attachments-filter-heading {
    font-size: 18px !important;
}

.media-modal-close {
    border: 1px solid #2F3841 !important;
    padding: 3px 9px 6px 9px !important;
    height: auto;
    top: 7px;
    right: 7px;
}

.media-modal-close:hover {
    background-color: #2F3841 !important;
}

.media-modal-content .media-frame select.attachment-filters {
    width: 364px !important;
}

.media-modal .media-toolbar .spinner {
    margin-top: 6px !important;
}

.media-router button {
    border-radius: 4px 4px 0px 0 !important;
}

.ent-btn.js-ent-media-multi {
    width: 100%;
    border: 1px dashed #444 !important;
    padding: 24px !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    transition: all 0.3s ease-in-out;
    color: #444 !important;
    font-weight: 400 !important;
    display: flex;
    flex-direction: column;
}

.ent-btn.js-ent-media-multi span {
    white-space: break-spaces;
}

.ent-btn.js-ent-media-multi:hover {
    background-color: #f4f4f4 !important;
}

.lien-annuaire {
    background-color: #155F93 !important;
    border-radius: 10px !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    transition: all 0.3s ease-in-out;
}

.lien-annuaire span {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: break-spaces;
}

.lien-annuaire:hover {
    background-color: #2F3841 !important;
}

.ent-company-card__logo {
    max-height: 80px;
    display: block;
    margin-bottom: .75rem;
}

.ent-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .25rem .75rem;
    font-size: .9rem;
    margin: 0;
}

.ent-dl dt {
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.ent-dl dd {
    margin: 0;
}

.ent-photos {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .75rem;
}

.ent-photos img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.ent-actions {
    display: none;
}

@media(min-width:768px) {
    .top-form {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .ent-edit-form .w-full {
        width: 100%
    }

    .ent-edit-form .w-50 {
        width: 49%
    }

    .ent-edit-form .w-33 {
        width: 50%
    }

    .ent-edit-form .w-30 {
        width: 29%
    }

    .ent-edit-form .w-70 {
        width: 69%
    }
}

@media(min-width:1280px) {
    .lien-annuaire.btn-mobile {
        display: none
    }

    .ent-actions {
        display: block;
    }

    .row-accordion {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 20px;
    }

    .row-accordion .col-33 {
        grid-column: span 2 / span 2;
    }

    .row-accordion .col-66 {
        grid-column: span 3 / span 3;
    }

    .middle-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .lien-annuaire {
        width: 100%;
        display: flex;
        font-size: 18px !important;
    }

    .ent-edit-form .w-33 {
        width: 32%
    }
}

/*----Section newsletter--------*/
.bloc-newsletter {
    background: #155F93;
    padding: 20px;
    color: #fff;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.bloc-newsletter h2 {
    font-size: 28px !important;
    color: #fff !important;
}

.bloc-newsletter .ent-check {
    font-size: 20px;
    margin-bottom: 25px;
}

.bloc-newsletter .ent-field__hint {
    color: #fff !important;
    font-size: 15px;
    margin-bottom: 25px;
}

.bloc-newsletter .ent-field__hint a {
    color: #fff !important;
    text-decoration: underline;
    font-weight: 600;
}

.bloc-newsletter .choix-newsletter {
    color: #fff !important;
    border: none !important;
    background: #2F3841 !important;
    transition: all 0.3s ease-in-out;
}

.bloc-newsletter .choix-newsletter:hover {
    background: #fff !important;
    color:#2F3841 !important;
}

.bloc-newsletter input {
    accent-color: #2F3841;
}

@media(min-width:768px) {
    .bloc-newsletter h2 {
        font-size: 30px !important;
    }

    .bloc-newsletter {
        padding: 40px;
    }

    .bloc-newsletter>div {
        width: 70%;
    }

    .bloc-newsletter::after {
        content: "";
        width: 200px;
        height: 200px;
        background: url(../images/points-newsletter.svg);
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        right: -60px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media(min-width:1280px) {
    .bloc-newsletter::after {
        width: 240px;
        height: 240px;
        right: -28px;
    }

    .bloc-newsletter h2 {
        font-size: 40px !important;
    }

    .bloc-newsletter .ent-check {
        font-size: 25px;
    }

    .bloc-newsletter {
        padding: 80px;
    }

    .bloc-newsletter>div {
        width: 55%;
    }
}

/* Carousel */
.ent-carousel {
    margin: 1rem 0;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4;
    line-height: 0;
}

.ent-carousel__slides {
    display: block;
}

.ent-carousel__slide {
    display: none;
}

.ent-carousel__slide--active {
    display: block;
}

.ent-carousel__slide img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    display: block;
    cursor: zoom-in;
}

.ent-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.ent-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, .6);
    cursor: default;
}

/* All important to override elementor style */
.ent-lightbox__close {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    background: rgba(255, 255, 255, .15) !important;
    color: #fff !important;
    border: none !important;
    font-size: 2rem !important;
    line-height: 1 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.ent-lightbox__close:hover,
.ent-lightbox__close:focus {
    background: rgba(255, 255, 255, .3);
}

.ent-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #2F3841;
    border: none !important;
    font-size: 20px !important;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    z-index: 2;
    padding: 3px 8px !important;
    border-radius: 0 !important;
}

.ent-carousel__btn--prev {
    left: 0
}

.ent-carousel__btn--next {
    right: 0;
}

.ent-carousel__btn:hover,
.ent-carousel__btn:focus {
    color: #2F3841 !important;
    background: rgba(0, 0, 0, .85);
}

.ent-carousel__counter {
    position: absolute;
    bottom: .4rem;
    right: .6rem;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: .75rem;
    line-height: 1;
    padding: .2rem .45rem;
    border-radius: 3px;
}

.ent-docs {
    list-style: none;
    margin: .75rem 0 0;
    padding: 0;
}

.ent-docs li a {
    font-size: .875rem;
    color: #155F93;
}

/* Media lists (photos & documents in edit form) */
.ent-media-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .5rem;
}

.ent-media-list--docs {
    flex-direction: column;
    gap: .35rem;
}

.ent-media-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ent-media-list--photos .ent-media-item img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    display: block;

    @media(min-width:1280px) {
        width: 120px;
        height: 90px;
    }
}

.ent-media-item__name {
    font-size: .9rem;
    color: #2F3841;
    font-weight: 700;
}

.ent-media-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    padding: 0;
    background: #155F93;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: .75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ent-media-list--docs .ent-media-remove {
    position: static;
    margin-left: .5rem;
    flex-shrink: 0;
}

.ent-media-remove:hover {
    background: #155F93;
}

/* Directory */
.ee-dashboard__header {
    padding-top: 40px;
}

.ee-dashboard__header::before {
    content: "";
    background: url(/wp-content/uploads/2026/03/points-gris.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0px;
    right: 5%;
    display: inline-block
}

.ee-dashboard__header h1 {
    line-height: 1;
    margin-bottom: 15px;
}

.ee-dashboard__header .intro {
    padding-bottom: 10px;
    font-size: 18px;
}

@media(min-width:1024px) {
    .ee-dashboard__header .intro {
        width: 68%;
    }

    .ee-dashboard__header::before {
        right: 10%;
    }
}

@media(min-width:1280px) {
    .ee-dashboard__header::before {
        width: 220px;
        height: 220px;
        top: 75px;
    }

    .ee-dashboard__header .intro {
        width: 60%;
    }
}

@media(min-width:1536px) {
    .ee-dashboard__header .intro {
        width: 50%;
    }

    .ee-dashboard__header::before {
        width: 250px;
        height: 300px;
        top: 65px;
        right: 15%;
    }
}

.ent-directory {
    margin-bottom: 100px;
}

.ent-search {
    border-radius: 4px;
    background-color: #f4f4f4;
    padding: 15px;
}

.ent-search__row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex-direction: column;
}

.ent-search__input {
    flex: 2;
    min-width: 100%;
    padding: .65rem 1rem !important;
    border: 1px solid #000 !important;
    border-radius: 30px !important;
    font-size: .95rem;
}

.ent-search__select {
    flex: 1;
    min-width: 220px;
    padding: .65rem 1rem;
    border: 1px solid #000;
    border-radius: 30px !important;
    font-size: .95rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(/wp-content/uploads/2026/04/down.svg);
    background-repeat: no-repeat;
    background-position: 97% 52% !important;
    padding-right: 40px !important;
    cursor: pointer;
}

.ent-dir__count {
    font-size: .875rem;
    color: #555;
    margin-bottom: .75rem;
}

.ent-dir__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.ent-dir__card {
    border-radius: 6px;
    background: #FFF;
    box-shadow: -2px 2px 10px 0 rgba(0, 0, 0, 0.15);
    padding: 20px;
}

.ent-dir__card h3 {
    margin: 0 0 .4rem;
    font-size: 1rem;
    color: #155F93 !important;
}

.ent-dir__card p {
    margin: .2rem 0;
    font-size: 0.95rem;
}

.ent-dir__card a {
    color: #155F93;
    word-wrap: break-word;
}

.ent-dir__card button {
    font-size: 16px !important;
}

.ent-empty {
    color: #888;
    font-style: italic;
}

#ent-search-btn {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background-color: #f4f4f4 !important;
    border-radius: 6px !important;
    padding: 10px !important;
}

.leaflet-popup-content {
    font-family: Quicksand;
    font-size: 0.90rem !important;
}

.leaflet-popup-content .name {
    color: #155F93 !important;
    font-family: "Paytone One";
    font-weight: 400;
    font-size: 1.2rem;
}

.leaflet-container a {
    color: #155F93 !important;
}

.view-website {
    display: inline-block;
    margin: 8px 0px;
}

@media(min-width:768px) {
    .ent-search__row {
        flex-direction: row;
    }
}

@media(min-width:1024px) {
    .ent-search__input {
        min-width: 220px;
    }
}

@media(min-width:1920px) {
    .ent-dir__list {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
}

/* Modal */
.ent-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ent-modal[hidden] {
    display: none;
}

.ent-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.ent-modal__inner {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 6px;
    width: min(92vw, 640px);
    max-height: 88vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ent-modal__close {
    position: absolute;
    top: .5rem;
    right: .75rem;
    background: none;
    border: none;
    font-size: 1rem !important;
    cursor: pointer;
    color: #555;
    z-index: 2;
    padding: 4px 10px !important;
}

.ent-modal__close:hover {
    color: #000;
}

.ent-modal__body {
    padding: 1.5rem;
}

/* Company detail popup */
.ent-popup {
    font-size: .9rem;
}

.ent-popup__logo {
    max-height: 80px;
    margin-bottom: .75rem;
}

.ent-popup__columns {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 20px;
    align-items: center;
}

.ent-popup__col-info {
    flex: 1;
    min-width: 0;
}

.ent-popup__col-photos {
    flex: 1;
    min-width: 0;
}

.ent-popup__col-photos .ent-carousel {
    margin: 0;
}

@media (max-width: 600px) {
    .ent-popup__columns {
        flex-direction: column;
        gap: .75rem;
        align-items: initial;
    }
}

.ent-popup h3 {
    margin: 0 0 .5rem;
    font-size: 1.1rem;
    color: #155F93 !important
}

.ent-popup p {
    margin: .2rem 0;
    color: #444;
}


.ent-popup__social {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
    flex-wrap: wrap;
    align-items: center;
}

.ent-popup__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #f0f0f0;
    color: #444;
    text-decoration: none;
    transition: background .2s, color .2s, transform .15s;
}

.ent-popup__social-link svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
    display: block;
    flex-shrink: 0;
}

.ent-popup__social-link:hover,
.ent-popup__social-link:focus-visible {
    color: #fff;
    transform: scale(1.1);
    outline: none;
}

ul.documents li a:after {
    content: "";
    width: 15px;
    height: 15px;
    background: url(../images/download.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;

}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body:not([class*=elementor-page-]) .site-main {
    max-width: 100% !important;
    padding: 0 25px !important;
}

@media (min-width: 768px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 100% !important;
        padding: 0 35px !important;
    }
}

@media (min-width: 1024px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 100% !important;
        padding: 0 4% !important;
    }
}

@media (min-width: 1536px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 100% !important;
        padding: 0 5% !important;
    }
}

@media (min-width: 1920px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 100% !important;
        padding: 0 6% !important;
    }
}