.elementor-7831 .elementor-element.elementor-element-160a549{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:10vw;--margin-bottom:0vw;--margin-left:0vw;--margin-right:0vw;}.elementor-7831 .elementor-element.elementor-element-8b50c17 > .elementor-widget-container{margin:0vw 0vw 02vw 012vw;}.elementor-7831 .elementor-element.elementor-element-8b50c17 .elementor-heading-title{color:#153D55;}.elementor-7831 .elementor-element.elementor-element-0370b79 > .elementor-widget-container{margin:0vw 0vw 02vw 012vw;}.elementor-7831 .elementor-element.elementor-element-0370b79 .elementor-heading-title{font-size:28px;color:#153D55;}.elementor-7831 .elementor-element.elementor-element-b5a25c2 > .elementor-widget-container{margin:0vw 12vw 0vw 012vw;}.elementor-7831 .elementor-element.elementor-element-1dac4c6e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-7831 .elementor-element.elementor-element-59fde013 > .elementor-widget-container{padding:02vw 0vw 0vw 0vw;}.elementor-7831 .elementor-element.elementor-element-59fde013 .elementor-nav-menu .elementor-item{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );}.elementor-7831 .elementor-element.elementor-element-59fde013 .elementor-nav-menu--main .elementor-item{color:var( --e-global-color-primary );fill:var( --e-global-color-primary );}.elementor-7831 .elementor-element.elementor-element-59fde013 .elementor-nav-menu--main .elementor-item:hover,
					.elementor-7831 .elementor-element.elementor-element-59fde013 .elementor-nav-menu--main .elementor-item.elementor-item-active,
					.elementor-7831 .elementor-element.elementor-element-59fde013 .elementor-nav-menu--main .elementor-item.highlighted,
					.elementor-7831 .elementor-element.elementor-element-59fde013 .elementor-nav-menu--main .elementor-item:focus{color:#34d49c;fill:#34d49c;}.elementor-7831 .elementor-element.elementor-element-292dcbe{width:100%;max-width:100%;}.elementor-7831 .elementor-element.elementor-element-292dcbe > .elementor-widget-container{margin:32px 32px 32px 32px;}.elementor-7831 .elementor-element.elementor-element-292dcbe img{width:20%;}@media(max-width:1024px){.elementor-7831 .elementor-element.elementor-element-160a549{--margin-top:012vw;--margin-bottom:0vw;--margin-left:0vw;--margin-right:0vw;}.elementor-7831 .elementor-element.elementor-element-8b50c17 > .elementor-widget-container{margin:0vw 0vw 02vw 4vw;}.elementor-7831 .elementor-element.elementor-element-0370b79 > .elementor-widget-container{margin:0vw 0vw 02vw 4vw;}.elementor-7831 .elementor-element.elementor-element-0370b79 .elementor-heading-title{font-size:24px;}.elementor-7831 .elementor-element.elementor-element-b5a25c2 > .elementor-widget-container{margin:0vw 04vw 0vw 4vw;}.elementor-7831 .elementor-element.elementor-element-59fde013 .elementor-nav-menu .elementor-item{font-size:var( --e-global-typography-accent-font-size );}}@media(max-width:767px){.elementor-7831 .elementor-element.elementor-element-160a549{--margin-top:020vw;--margin-bottom:0vw;--margin-left:0vw;--margin-right:0vw;}.elementor-7831 .elementor-element.elementor-element-0370b79 .elementor-heading-title{font-size:24px;}.elementor-7831 .elementor-element.elementor-element-b5a25c2 > .elementor-widget-container{margin:0vw 02vw 0vw 02vw;}.elementor-7831 .elementor-element.elementor-element-59fde013 > .elementor-widget-container{margin:20px 0px 0px 0px;}.elementor-7831 .elementor-element.elementor-element-59fde013 .elementor-nav-menu .elementor-item{font-size:var( --e-global-typography-accent-font-size );}.elementor-7831 .elementor-element.elementor-element-59fde013 .e--pointer-framed .elementor-item:before{border-width:30px;}.elementor-7831 .elementor-element.elementor-element-59fde013 .e--pointer-framed.e--animation-draw .elementor-item:before{border-width:0 0 30px 30px;}.elementor-7831 .elementor-element.elementor-element-59fde013 .e--pointer-framed.e--animation-draw .elementor-item:after{border-width:30px 30px 0 0;}.elementor-7831 .elementor-element.elementor-element-59fde013 .e--pointer-framed.e--animation-corners .elementor-item:before{border-width:30px 0 0 30px;}.elementor-7831 .elementor-element.elementor-element-59fde013 .e--pointer-framed.e--animation-corners .elementor-item:after{border-width:0 30px 30px 0;}.elementor-7831 .elementor-element.elementor-element-59fde013 .e--pointer-underline .elementor-item:after,
					 .elementor-7831 .elementor-element.elementor-element-59fde013 .e--pointer-overline .elementor-item:before,
					 .elementor-7831 .elementor-element.elementor-element-59fde013 .e--pointer-double-line .elementor-item:before,
					 .elementor-7831 .elementor-element.elementor-element-59fde013 .e--pointer-double-line .elementor-item:after{height:30px;}.elementor-7831 .elementor-element.elementor-element-59fde013 .elementor-nav-menu--main .elementor-item{padding-left:43px;padding-right:43px;padding-top:50px;padding-bottom:50px;}.elementor-7831 .elementor-element.elementor-element-59fde013{--e-nav-menu-horizontal-menu-item-margin:calc( 74px / 2 );}.elementor-7831 .elementor-element.elementor-element-59fde013 .elementor-nav-menu--main:not(.elementor-nav-menu--layout-horizontal) .elementor-nav-menu > li:not(:last-child){margin-bottom:74px;}.elementor-7831 .elementor-element.elementor-element-292dcbe img{width:40%;}}/* Start custom CSS for shortcode, class: .elementor-element-b5a25c2 *//* =========================================================== */
/* == CSS FOR "ZOZNAM INŠTITÚCIÍ" (INSTITUTIONS) PAGE == */
/* =========================================================== */

/* === Základné / Common Reusable Styles === */
.sr-only {
	border: 0; clip: rect(0,0,0,0); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px;
}

/* Common Filter Label Style for all filter components */
.filter-label, /* For text search */
.reusable-select-filter-component .select-filter-label { /* For select dropdowns */
    font-size: 0.9em; /* Consistent font size for labels */
    color: #555;
    margin-bottom: 8px; /* Increased space for better readability */
    display: block; /* Ensure label is on its own line */
    font-weight: 500; /* Slightly bolder label text */
}

/* === Reusable Search Component (for text input) === */
.reusable-search-component {
    display: flex; /* Allows label and input wrapper to be flex items */
    flex-direction: column; /* Stack label on top of input wrapper */
    /* width: 100%; Handled by parent flex container */
    /* gap: 10px; Handled by parent flex container */
    /* align-items: center; Handled by parent flex container */
}

.reusable-search-component .search-input-wrapper {
    flex-grow: 1; /* Input wrapper takes available space if component grows */
    /* min-width: 250px; Can be set on .reusable-search-component within .institution-controls-container */
}

div.reusable-search-component div.search-input-wrapper input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    line-height: normal;
    background-color: #fff;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

div.reusable-search-component div.search-input-wrapper input[type="text"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
    outline: none;
}

/* === Reusable Select Filter Component (for Legal Form) === */
.reusable-select-filter-component {
    display: flex;
    flex-direction: column; /* Label above dropdown */
    /* flex-grow: 1; Set by .institution-controls-container */
    /* min-width: 200px; Set by .institution-controls-container */
}

/* .reusable-select-filter-component .select-filter-label is covered by common .filter-label */

.reusable-select-filter-component .select-filter-dropdown {
    width: 100%;
    padding: 10px 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
   
    background-color: #fff;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%208l5%205%205-5z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
    padding-right: 30px; /* Space for the arrow */
}

.reusable-select-filter-component .select-filter-dropdown:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
    outline: none;
}


/* === Reusable Reset Button === */
.reusable-search-reset-button {
    padding: 0px 40px !important;
    font-size: 0.9em !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #153D55;
    background: #153D55;
    color: #ffffff !important;
    box-shadow: none;
    transition: background .1s ease-in-out, opacity .1s ease-in-out;
    line-height: normal;
    height: 40px;
    display: inline-flex; /* Changed to inline-flex */
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
}
.reusable-search-reset-button:hover,
.reusable-search-reset-button:focus {
    background: #112e42 !important;
    opacity: 0.9;
}

/* === Error & Warning Messages === */
.api-error, .api-warning {
    padding: 12px 15px; margin: 20px 0; border-radius: 5px; font-size: 0.95em;
    width: 100%;
    box-sizing: border-box;
}
.api-error { color: #721c24; background-color: #f8d7da; border: 1px solid #f5c6cb; }
.api-warning { color: #856404; background-color: #fff3cd; border: 1px solid #ffeeba; }


/* === Filter Toggle Button and Panel (Mobile Collapsible) - FOR INSTITUTIONS === */
.filters-toggle-wrapper { /* This general class can be used for both program and institution toggles */
    margin-bottom: 15px;
}

.filters-toggle-button { /* This general class can be used for both program and institution toggles */
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 0.95em;
    font-weight: 600;
    color: #153D55;
    background-color: #f0f0f0;
    border: 1px solid #153D55;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: background-color 0.2s;
    position: relative;
}

.filters-toggle-button:hover,
.filters-toggle-button:focus {
    background-color: #e0e0e0;
}

.filters-toggle-button .toggle-arrow {
    display: inline-block;
    margin-left: auto;
    transition: transform 0.2s ease-in-out;
    font-size: 1.2em;
}

.filters-panel { /* This general class can be used for both program and institution panels */
    display: block;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out, margin 0.3s ease-out, border-width 0.3s ease-out;
}

.filters-panel.filters-panel-open {
    display: block;
}


/* === Institution Controls Container (Search + Select + Reset) === */
.institution-controls-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjusted gap to match program filters */
    align-items: flex-end;
    padding: 15px; /* Added padding for consistency */
    background-color: #f9f9f9; /* Added background for consistency */
    border: 1px solid #e0e0e0; /* Added border for consistency */
    border-radius: 8px; /* Added border-radius for consistency */
    margin-bottom: 25px; /* Original margin-bottom */
}

.institution-controls-container .reusable-search-component,
.institution-controls-container .reusable-select-filter-component {
    flex-grow: 1;
    min-width: 220px; /* Consistent min-width */
    margin-bottom: 0;
}

.institution-controls-container .search-reset-button-wrapper {
    flex-shrink: 0;
    margin-bottom: 0;
    display: flex;
    align-items: flex-end;
}

/* === Mobile Styles (e.g., less than 768px) for Institution Filters === */
@media (max-width: 767px) {
    .filters-toggle-wrapper { /* Show toggle for all filter sections */
        display: block;
    }

    /* Specifically target institution filter panel */
    #institutionFiltersPanel:not(.filters-panel-open) {
        display: none;
        max-height: 0;
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-top:0;
        margin-bottom:0;
        border-width: 0;
    }
    #institutionFiltersPanel.filters-panel-open {
        display: block;
        max-height: 1000px; /* Adjust if content is taller */
        opacity: 1;
    }

    .institution-controls-container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 10px; /* Slightly less padding on mobile */
    }

    .institution-controls-container .reusable-search-component,
    .institution-controls-container .reusable-select-filter-component {
        min-width: 100%;
    }

    .institution-controls-container .search-reset-button-wrapper {
        width: 100%;
        margin-left: 0;
    }
    .institution-controls-container .reusable-search-reset-button {
        width: 100%;
    }
}

/* === Desktop Styles (e.g., 768px and up) for Institution Filters === */
@media (min-width: 768px) {
    /* Hide toggle button if it's specific to institution filters (using ID for button if necessary) */
    #toggleInstitutionFiltersButton {
        /* display: none; */ /* If using separate toggle buttons */
    }
    .filters-toggle-wrapper:has(#toggleInstitutionFiltersButton) { /* If toggle button is inside general wrapper */
       display: none;
   }


    #institutionFiltersPanel,
    #institutionFiltersPanel.filters-panel-open {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
        padding: 15px; /* Ensure padding is restored */
        margin-bottom: 25px; /* Ensure margin is restored */
        border-width: 1px; /* Ensure border is restored */
    }

    .institution-controls-container {
        flex-direction: row;
        align-items: flex-end;
        gap: 20px; /* Restore original gap */
    }
     .institution-controls-container .reusable-search-component,
    .institution-controls-container .reusable-select-filter-component {
        min-width: 220px; /* Restore original min-width */
    }
    .institution-controls-container .search-reset-button-wrapper {
        width: auto; /* Restore original width */
    }
     .institution-controls-container .reusable-search-reset-button {
        width: auto;
    }
}


/* === Institution Cards Grid === */
.institution-cards-container-v2 {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .institution-cards-container-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .institution-cards-container-v2 {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* === Individual Institution Card === */
.institution-card-v2, .institution-card-no-link-v2 { /* Combined rule as they share most styles */
    display: flex; flex-direction: column; border: 2px solid #153d56; border-radius: 8px;
    padding: 15px; background-color: #fff; text-decoration: none; color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    height: 100%;
}
.institution-card-v2:hover, .institution-card-v2:focus-within { /* Use focus-within for linked cards */
    transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    outline: none;
}

.institution-card-no-link-v2 { /* Specific for non-linked cards */
    cursor: default;
}
.institution-card-no-link-v2:hover,
.institution-card-no-link-v2:focus {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08); /* Revert to base shadow */
}


.institution-hero-logo-wrapper {
    text-align: center;
    margin-bottom: 12px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.institution-hero-logo {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
}
.institution-hero-logo-placeholder {
    width: 50px;
    height: 50px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.8em;
    text-align: center;
    line-height: 1.2;
    padding: 5px;
    box-sizing: border-box;
}

.institution-content-v2 {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    text-align: center;
}

.institution-name-v2 {
    font-size: 1.15em;
    font-weight: 600;
    color: #222;
    margin: 0 0 5px;
    line-height: 1.3;
}

.institution-legal-form {
    font-size: 0.85em;
    color: #666;
    margin: 0;
}/* End custom CSS */