/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Block scroll when mobile menu is open */
html.alselec-menu-open,
body.alselec-menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    touch-action: none !important;
}

/* Reduce spacing between search icon and contact button in header */
.alselec-search-icon-wrapper {
    margin-right: 10px !important;
}

/* Adjust button spacing if needed */
.elementor-widget-button {
    margin-left: 0 !important;
}

/* Menu item ::after spacing */
.elementor-item::after {
    bottom: -31px !important;
}

/* Also target menu items directly */
.menu-item a::after,
.menu-item::after {
    bottom: -31px !important;
}

/* Submit Button Styles */
#alselec-submit-button {
    width: 175px;
    height: 50px;
    margin: 20px 0;
    padding: 14px 65px 15px 66px;
    background-color: var(--cobalt-blue, #0047AB);
    border: none;
    cursor: pointer;
    box-sizing: border-box;

    /* Text styles */
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.31;
    letter-spacing: normal;
    text-align: center;
    color: var(--white, #FFFFFF);
}

#alselec-submit-button:hover {
    background-color: var(--cobalt-blue-dark, #003380);
}

#alselec-submit-button:focus {
    outline: 2px solid var(--cobalt-blue, #0047AB);
    outline-offset: 2px;
}

/* Ensure the button respects the specified dimensions */
.elementor-button#alselec-submit-button,
.elementor-field-type-submit #alselec-submit-button {
    width: 175px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 14px 65px 15px 66px !important;
    background-color: var(--cobalt-blue, #0047AB) !important;

    /* Text styles with !important for Elementor override */
    font-family: 'Red Hat Text', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.31 !important;
    letter-spacing: normal !important;
    text-align: center !important;
    color: var(--white, #FFFFFF) !important;
}

/* Icon Link Widget Styles */
.alselec-icon-link-wrapper {
    display: inline-block;
}

.alselec-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.alselec-icon-link.icon-top {
    flex-direction: column;
    align-items: center;
}

.alselec-icon-link.icon-top .alselec-icon-link-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.alselec-icon-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.alselec-icon-link-icon svg {
    display: block;
}

.alselec-icon-link-text {
    display: inline-block;
}

/* Single Post Template Styles */
.alselec-single-post-wrapper {
    margin: 0 auto;
    padding: 40px 20px;
}

/* Post Header */
.alselec-post-header {
    max-width: 868px;
    margin: 50px auto 40px;
}

.alselec-post-meta-top {
    margin-bottom: 16px;
}

.alselec-post-category {
    display: inline-block;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.28;
    letter-spacing: normal;
    text-align: left;
    color: var(--azure, #1E90FF);
    text-transform: uppercase;
}

.alselec-post-title {
    margin: 0 0 30px 0;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 48px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: left;
    color: var(--cobalt-blue, #0047AB);
}

.alselec-post-meta-bottom {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 18px;
    margin-bottom: 0;
    border-bottom: solid 1px var(--warm-grey, #999999);
}

.alselec-post-location,
.alselec-post-date,
.alselec-post-project {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: var(--black, #000000);
}

.alselec-post-project {
    margin-left: 30px;
}

.alselec-post-share,
.alselec-post-share-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.alselec-post-share .share-label,
.alselec-post-share-footer .share-label {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
}

.alselec-post-share a,
.alselec-post-share-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.alselec-post-share a svg,
.alselec-post-share-footer a svg {
    width: 16.6px;
    height: 16.6px;
    object-fit: contain;
    fill: var(--black, #000000);
    transition: fill 0.3s ease;
}

.alselec-post-share a:hover svg,
.alselec-post-share-footer a:hover svg {
    fill: var(--azure, #1E90FF);
}

/* Specific sizing for each social icon to match Zeplin */
.alselec-post-share .share-facebook svg,
.alselec-post-share-footer .share-facebook svg {
    width: 17px;
    height: 17px;
}

.alselec-post-share .share-twitter svg,
.alselec-post-share-footer .share-twitter svg {
    width: 16.077px;
    height: 14.533px;
}

.alselec-post-share .share-linkedin svg,
.alselec-post-share-footer .share-linkedin svg {
    width: 15.648px;
    height: 15.647px;
}

.alselec-post-share .share-whatsapp svg,
.alselec-post-share-footer .share-whatsapp svg {
    width: 16.57px;
    height: 16.57px;
}

/* Post Content */
.alselec-post-content {
    max-width: 868px;
    margin: 40px auto;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 18px;
    line-height: 1.67;
    color: #333333;
    box-sizing: border-box;
}

.alselec-post-content p {
    margin-bottom: 20px;
}

.alselec-post-content h2,
.alselec-post-content h3,
.alselec-post-content h4 {
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 700;
    color: var(--cobalt-blue, #0047AB);
    margin: 32px 0 16px 0;
}

.alselec-post-content h2 {
    font-size: 36px;
    line-height: 1.22;
}

.alselec-post-content h3 {
    font-size: 28px;
    line-height: 1.29;
}

.alselec-post-content h4 {
    font-size: 24px;
    line-height: 1.33;
}

/* Job Application Form */
.alselec-job-application-form {
    max-width: 868px;
    margin: 100px auto 0;
}

/* Form Messages */
.alselec-form-message {
    padding: 16px 24px;
    margin-bottom: 32px;
    border-radius: 4px;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.alselec-form-message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alselec-form-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alselec-form-separator {
    border: none;
    border-top: solid 1px var(--warm-grey, #999999);
    margin: 0 0 40px 0;
}

.alselec-form-title {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 30px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: left;
    color: var(--black, #000000);
    margin: 0 0 18px 0;
}

.alselec-form-subtitle {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.5;
    color: #333333;
    margin: 0 0 32px 0;
}

.alselec-job-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alselec-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.alselec-form-field input[type="text"],
.alselec-form-field input[type="email"],
.alselec-form-field textarea {
    width: 100%;
    height: 50px;
    padding: 14px 24px 15px;
    border: solid 1px var(--warm-grey, #999999);
    border-radius: 0;
    background-color: var(--white, #FFFFFF);
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: #333333;
    box-sizing: border-box;
}

.alselec-form-field textarea {
    height: auto;
    min-height: 120px;
}

.alselec-form-field input::placeholder,
.alselec-form-field textarea::placeholder {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: var(--warm-grey, #999999);
}

.alselec-form-field input:focus,
.alselec-form-field textarea:focus {
    outline: none;
    border-color: var(--cobalt-blue, #0047AB);
}

.alselec-file-upload-area {
    border: 2px dashed #E0E0E0;
    border-radius: 4px;
    padding: 40px 20px;
    text-align: center;
    background-color: #FAFAFA;
}

.alselec-file-upload-area p {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    color: #666666;
    margin: 8px 0;
}

.alselec-file-select-btn {
    display: inline-block;
    width: 186px;
    height: 50px;
    padding: 14px 24px 15px;
    background-color: transparent !important;
    border: solid 1px #0047AB !important;
    border-radius: 0 !important;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.31;
    letter-spacing: normal;
    text-align: left;
    color: #0047AB !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.alselec-file-select-btn:hover {
    background-color: #0047AB !important;
    border-color: #0047AB !important;
    color: #FFFFFF !important;
}

.alselec-file-name {
    display: block;
    margin-top: 12px;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 14px;
    color: #666666;
}

.alselec-submit-btn {
    width: 175px !important;
    height: 50px !important;
    padding: 14px 65px 15px 66px !important;
    background-color: #0047AB !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: 'Red Hat Text', sans-serif !important;
    font-size: 16px !important;
    font-weight: normal !important;
    font-stretch: normal !important;
    font-style: normal !important;
    line-height: 1.31 !important;
    letter-spacing: normal !important;
    text-align: left !important;
    color: #FFFFFF !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.alselec-submit-btn:hover {
    background-color: #0099e6 !important;
}

.alselec-form-field.error input,
.alselec-form-field.error textarea {
    border-color: #dc3545 !important;
}

.alselec-form-field.error .alselec-file-upload-area {
    border-color: #dc3545 !important;
}

.alselec-field-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 0;
    display: none;
}

.alselec-form-field.error .alselec-field-error {
    display: block;
}

/* Post Footer */
.alselec-post-footer {
    max-width: 868px;
    margin: 60px auto 0;
    padding-top: 0;
}

/* Footer spacing adjustment when job form is present */
.category-busqueda-laboral .alselec-post-footer {
    margin-top: 100px;
}

.alselec-post-separator {
    border: none;
    border-top: solid 1px var(--warm-grey, #999999);
    margin: 0 0 18px 0;
}

.alselec-post-share-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

/* Related Posts Section - "Tal vez le interese" */
.alselec-related-posts {
    background-color: #FFFFFF;
    padding: 80px 20px;
}

.alselec-related-posts-container {
    max-width: 1200px;
    margin: 0 auto;
}

.alselec-related-posts-title {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 30px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: left;
    color: var(--black, #000000);
    margin: 0 0 30px 0;
}

.alselec-related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.alselec-related-post-item {
    background-color: #FFFFFF;
    overflow: hidden;
}

.alselec-related-post-image {
    width: 100%;
    height: 238px;
    overflow: hidden;
}

.alselec-related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alselec-related-post-content {
    padding: 30px;
}

.alselec-related-post-category {
    display: inline-block;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: var(--azure, #1E90FF);
    margin-bottom: 15px;
}

.alselec-related-post-title {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.33;
    color: var(--black, #000000);
    margin: 0 0 20px 0;
}

.alselec-related-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.alselec-related-post-title a:hover {
    color: var(--cobalt-blue, #0047AB);
}

.alselec-related-post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--cobalt-blue, #0047AB);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.alselec-related-post-link:hover {
    gap: 12px;
}

.alselec-related-post-link svg {
    width: 20px;
    height: 20px;
    stroke: var(--cobalt-blue, #0047AB);
}

/* Mobile Menu - Border bottom on each item */
@media (max-width: 1024px) {
    /* Ensure header stays on top when menu is open */
    body.alselec-menu-open header.elementor-location-header,
    body.alselec-menu-open .elementor-location-header,
    html.alselec-menu-open header.elementor-location-header,
    html.alselec-menu-open .elementor-location-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 10001 !important;
        background-color: #FFFFFF !important;
    }

    /* Nav dropdown container */
    nav.elementor-nav-menu--dropdown {
        padding-left: 12px !important;
        padding-right: 12px !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        padding-top: 40px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        z-index: 10000 !important;
        background-color: #FFFFFF !important;
        border: none !important;
        border-top: none !important;
    }

    /* Remove any margin/padding from inner ul */
    nav.elementor-nav-menu--dropdown > ul.elementor-nav-menu {
        margin: 0 !important;
        padding: 0 !important;
    }

    nav.elementor-nav-menu--dropdown > ul.elementor-nav-menu > li.menu-item {
        border-bottom: 1px solid #000000 !important;
        padding-bottom: 0 !important;
        margin-bottom: 16px !important;
        position: relative !important;
    }

    nav.elementor-nav-menu--dropdown > ul.elementor-nav-menu > li.menu-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Menu item link styles */
    nav.elementor-nav-menu--dropdown > ul.elementor-nav-menu > li.menu-item > a {
        padding-left: 0 !important;
        padding-bottom: 16px !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Submenu arrow icon position */
    nav.elementor-nav-menu--dropdown > ul.elementor-nav-menu > li.menu-item .sub-arrow {
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    /* Submenu items - remove extra padding/margin */
    nav.elementor-nav-menu--dropdown ul.sub-menu li.menu-item {
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: none !important;
    }

    nav.elementor-nav-menu--dropdown ul.sub-menu li.menu-item a {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    /* Mobile menu extras - button and links */
    .alselec-mobile-menu-extras {
        padding-top: 32px !important;
        margin-top: 16px !important;
        border-bottom: none !important;
    }

    .alselec-mobile-connect-btn {
        display: block !important;
        width: 100% !important;
        height: 50px !important;
        padding: 14px 0 15px !important;
        background-color: var(--cobalt-blue, #0047AB) !important;
        color: var(--white, #FFFFFF) !important;
        font-family: 'Red Hat Text', sans-serif !important;
        font-size: 16px !important;
        font-weight: normal !important;
        font-stretch: normal !important;
        font-style: normal !important;
        line-height: 1.31 !important;
        letter-spacing: normal !important;
        text-align: center !important;
        text-decoration: none !important;
        margin-bottom: 40px !important;
        box-sizing: border-box !important;
    }

    .alselec-mobile-connect-btn:hover {
        background-color: #0099e6;
    }

    .alselec-mobile-extra-links {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 !important;
        margin: 0 !important;
    }

    .alselec-mobile-extra-links a {
        font-family: 'Red Hat Text', sans-serif;
        font-size: 16px;
        font-weight: normal;
        color: #000000 !important;
        text-decoration: none;
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .alselec-mobile-extra-links a:hover {
        color: #0047AB !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .alselec-post-title {
        font-size: 32px;
    }

    .alselec-post-meta-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .alselec-post-share,
    .alselec-post-share-footer {
        margin-left: 0;
    }

    .alselec-post-content {
        font-size: 16px;
    }

    .alselec-post-content h2 {
        font-size: 28px;
    }

    .alselec-post-content h3 {
        font-size: 24px;
    }

    .alselec-related-posts {
        padding: 60px 20px;
    }

    .alselec-related-posts-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .alselec-related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .alselec-post-content h4 {
        font-size: 20px;
    }
}

/* Job Opportunities Widget */
.alselec-job-opportunities-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.alselec-job-opportunities-title {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 48px;
    font-weight: normal;
    line-height: 1.33;
    color: var(--cobalt-blue, #0047AB);
    text-align: center;
    margin: 0 0 60px 0;
}

.alselec-job-opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.alselec-job-opportunity-card {
    background: var(--white, #FFFFFF);
    border: 1px solid #E0E0E0;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: border-color 0.3s ease;
}

.alselec-job-sector-badge {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: var(--azure, #1E90FF);
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.alselec-job-title {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.33;
    color: var(--black, #000000);
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.alselec-job-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.38;
    color: var(--cobalt-blue, #0047AB);
    text-decoration: none;
    transition: gap 0.3s ease;
    margin: 0;
    padding: 0;
}

.alselec-job-link:hover {
    gap: 12px;
}

.alselec-job-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.alselec-no-jobs-message {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 18px;
    line-height: 1.67;
    color: #666666;
    text-align: center;
    padding: 40px 20px;
}

/* Responsive for Job Opportunities */
@media (max-width: 768px) {
    .alselec-job-opportunities-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .alselec-job-opportunities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .alselec-job-opportunity-card {
        padding: 30px 20px;
    }

    .alselec-job-title {
        font-size: 20px;
    }
}

/* Search Results Page */
.alselec-search-results-wrapper {
    width: 100%;
    max-width: 868px;
    margin: 0;
    margin-left: 27px;
    padding: 60px 0;
}

@media (min-width: 1366px) {
    .alselec-search-results-wrapper {
        margin-left: calc((100vw - 1366px) / 2 + 27px);
    }
}

@media (max-width: 768px) {
    .alselec-search-results-wrapper {
        margin-left: 0;
        padding: 40px 20px;
    }
}

.alselec-search-header,
.alselec-no-results-header {
    margin-bottom: 30px;
}

.alselec-search-title,
.alselec-no-results-title {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 30px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: left;
    color: var(--black, #000000);
    margin: 0 0 30px 0;
}

.alselec-search-title span {
    color: var(--black, #000000);
}

.alselec-no-results-title span {
    color: var(--cobalt-blue, #0047AB);
}

.alselec-search-header {
    margin-top: 50px;
}

/* Search Results */
.alselec-search-results {
    margin-bottom: 40px;
}

.alselec-search-result-item {
    padding: 30px;
    border: 1px solid transparent;
    border-bottom-color: #9b9898;
    background-color: var(--white, #ffffff);
    transition: border-color 0.3s ease;
}

.alselec-search-result-item:hover {
    border-color: var(--azure, #0099e6);
}

.alselec-search-result-item:hover .alselec-result-title a {
    color: var(--azure, #0099e6);
}

.alselec-result-title {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 24px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: left;
    color: var(--black, #000000);
    margin: 0 0 18px 0;
    padding-left: 27px;
    padding-right: 0;
}

.alselec-result-title a {
    color: var(--black, #000000);
    text-decoration: none;
    transition: color 0.3s ease;
}

.alselec-result-title a:hover {
    color: var(--cobalt-blue, #0047AB);
}

.alselec-result-excerpt {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: var(--black, #000000);
    margin: 0;
    padding-left: 27px;
    padding-right: 0;
}

.alselec-result-meta {
    display: flex;
    gap: 20px;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 14px;
    line-height: 1.38;
    color: #999999;
}

/* Search Form in Results */
.alselec-results-search-form {
    margin: 30px 0 60px 0;
}

/* Search Pagination */
.alselec-search-pagination {
    margin: 60px 0 0 0;
    width: 100%;
    max-width: 868px;
}

.alselec-search-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.alselec-search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    padding: 0;
    font-family: 'Red Hat Text', sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 1;
    color: var(--black, #000000);
    text-decoration: none;
    border: none;
    background-color: transparent;
    transition: all 0.3s ease;
}

.alselec-search-pagination .page-numbers:hover {
    color: var(--azure, #0099e6);
}

.alselec-search-pagination .page-numbers.current {
    color: #032ca6;
    border: 1px solid #032ca6;
}

.alselec-search-pagination .page-numbers.prev,
.alselec-search-pagination .page-numbers.next {
    min-width: 50px;
    height: 50px;
    border: 1px solid transparent;
}

.alselec-search-pagination .page-numbers.prev:hover,
.alselec-search-pagination .page-numbers.next:hover {
    background-color: var(--azure, #0099e6);
    border-color: var(--azure, #0099e6);
    color: #ffffff;
}

.alselec-search-pagination .page-numbers.prev:hover svg path,
.alselec-search-pagination .page-numbers.next:hover svg path {
    fill: #ffffff;
}

/* Image Carousel Widget */
.alselec-image-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.alselec-carousel-images {
	position: relative;
	width: 100%;
}

.alselec-carousel-slide {
	display: none;
	width: 100%;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.alselec-carousel-slide.active {
	display: block;
	opacity: 1;
}

.alselec-carousel-slide img {
	width: 100%;
	height: auto;
	display: block;
}

.alselec-carousel-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
}

.alselec-carousel-prev,
.alselec-carousel-next {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--warm-grey, #999999);
	transition: color 0.3s ease;
}

.alselec-carousel-prev:hover,
.alselec-carousel-next:hover {
	color: var(--black, #000000);
	background: transparent;
}

.alselec-carousel-prev:focus,
.alselec-carousel-next:focus {
	color: var(--warm-grey, #999999);
	background: transparent;
	outline: none;
}

.alselec-carousel-prev svg,
.alselec-carousel-next svg {
	width: 24px;
	height: 24px;
}

.alselec-carousel-counter {
	width: 46px;
	height: 21px;
	margin: 0 30.8px;
	font-family: 'Red Hat Text', sans-serif;
	font-size: 16px;
	font-weight: normal;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.38;
	letter-spacing: normal;
	text-align: center;
	color: var(--black, #000000);
}

.alselec-carousel-counter .current {
	font-weight: normal;
}

/* No Results */
.alselec-search-no-results {
    max-width: 800px;
    margin: 0 auto;
}

.alselec-no-results-content {
    text-align: left;
}

.alselec-no-results-message {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 48px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: left;
    color: var(--cobalt-blue, #0047AB);
    margin: 30px 0;
}

.alselec-no-results-suggestion {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: var(--black, #000000);
    margin: 30px 0 20px;
}

/* Search Form in No Results */
.alselec-no-results-search-form {
    margin: 0 0 60px 0;
}

.alselec-search-form {
    display: flex;
    width: 100%;
    max-width: 868px;
    gap: 0 !important;
}

.alselec-search-field {
    flex: 1;
    height: 50px;
    padding: 14px 24px 15px;
    border: solid 1px var(--warm-grey, #999999);
    border-right: none;
    border-radius: 0 !important;
    background-color: var(--white, #FFFFFF);
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    line-height: 1.38;
    color: #333333;
    margin: 0;
    outline: none !important;
    box-shadow: none !important;
}

.alselec-search-field:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--warm-grey, #999999);
}

.alselec-search-field::placeholder {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: var(--warm-grey, #999999);
}

/* Ocultar botón de limpiar en inputs de tipo search */
.alselec-search-field::-webkit-search-cancel-button,
input[type="search"].alselec-search-field::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.alselec-search-field::-webkit-search-decoration,
input[type="search"].alselec-search-field::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.alselec-search-field::-moz-search-clear-button,
input[type="search"].alselec-search-field::-moz-search-clear-button {
    display: none;
}

.alselec-search-submit {
    width: 50px !important;
    height: 50px !important;
    padding: 14px !important;
    background-color: var(--cobalt-blue, #0047AB) !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    margin: 0;
}

.alselec-search-submit:hover {
    background-color: var(--azure, #1E90FF) !important;
}

.alselec-search-submit svg {
    width: 22px !important;
    height: 22px !important;
    stroke: white !important;
}

/* Help Section */
.alselec-no-results-help {
    margin-top: 50px;
}

.alselec-help-question {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.33;
    color: var(--black, #000000);
    margin: 0 0 18px 0;
}

.alselec-help-text {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.38;
    color: var(--black, #000000);
    margin: 0;
}

.alselec-contact-link {
    color: var(--cobalt-blue, #0047AB);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.alselec-contact-link:hover {
    color: var(--azure, #1E90FF);
}

.alselec-help-footer {
    font-family: 'Red Hat Text', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.38;
    color: var(--black, #000000);
    margin: 0;
}

/* Responsive for Search */
@media (max-width: 768px) {
    .alselec-search-title,
    .alselec-no-results-title {
        font-size: 20px;
    }

    .alselec-no-results-message {
        font-size: 24px;
    }

    .alselec-result-title {
        font-size: 22px;
        padding-left: 0;
        padding-right: 0;
    }

    .alselec-result-excerpt {
        padding-left: 0;
        padding-right: 0;
    }

    .alselec-search-result-item {
        padding-left: 0;
        padding-right: 0;
    }

    .alselec-result-meta {
        flex-direction: column;
        gap: 8px;
    }

    .alselec-search-form {
        max-width: 100%;
    }

    /* Pagination mobile */
    .alselec-search-pagination .nav-links {
        gap: 10px;
    }

    .alselec-search-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .alselec-search-pagination .page-numbers.prev,
    .alselec-search-pagination .page-numbers.next {
        min-width: 40px;
        height: 40px;
    }
}