@font-face {
    font-family: 'ReadexPro';
    src: url('../fonts/ReadexPro-Regular.ttf') format('truetype');
    font-weight: normal;
}
@font-face {
    font-family: 'ReadexPro';
    src: url('../fonts/ReadexPro-Bold.ttf') format('truetype');
    font-weight: bold;
}
.bg-magenta {background-color: #A31AA3;}
.bg-lightmagenta {background-color: #ECDAFF;}
.bg-orange {background-color: #F58E2A;}
.bg-lightorange {background-color: #FFD6AE;}
/*
.kongres2027 .c-magenta {color: #A31AA3;}
.kongres2027 .c-lightmagenta {color: #ECDAFF;}
.kongres2027 .c-orange {color: #F58E2A;}
.kongres2027 .c-lightorange {color: #FFD6AE;}
*/

.grid-wrapper {display: flex;flex-wrap: wrap;}
.grid-item {margin-bottom: 30px;height: stretch;}
.grid-item-inner {display: flex;flex-direction: column;height: 100%;}
.grid-foto {width: 100%;aspect-ratio: 300 / 450;object-fit: cover;object-position: center top;border-radius: 10px;display: block;}
.grid-meno { font-weight: bold; padding: 25px 0; font-size: 1.1rem; text-align: center; }

.grid-baner-wrapper {display: flex;width: 100%;gap: 10px;margin-top: auto;}
.baner-item {display: flex;align-items: center;justify-content: center;flex: 1 1 0;min-width: 0;box-sizing: border-box;padding: 10px 10px;color: #000!important;background: #f7f7f7;border: 1px solid #999;border-radius: 25px;text-align: center;cursor: pointer;transition: background 0.2s ease,color 0.2s ease;text-decoration: none!important;max-width: 500px;}
.skupina-lekarky-a-lekari .baner-item:hover, .baner-item:hover {background: #A31AA3;color: #fff!important;border: 1px solid #A31AA3;}
.skupina-asistentky-a-dentalne-hygienicky .grid-baner-wrapper .baner-item:hover {background: #F58E2A;color: #fff!important;border: 1px solid #F58E2A;}


.kongres2027 p, .kongres2027 li {font-size: 16px;font-weight: normal;line-height: 1.25;font-family: 'ReadexPro', sans-serif;}
.kongres2027 li {padding: 4px 0;}

.kongres2027 h1 {font-size: 38px;font-weight: 700;line-height: 1.5;font-family: 'ReadexPro';color: #A31AA3;}
.kongres2027 h2 {font-size: 30px;font-weight: 700;line-height: 1.5;font-family: 'ReadexPro';}
.kongres2027 h3 {font-size: 25px;font-weight: 700;line-height: 1.25;font-family: 'ReadexPro';}
.kongres2027 h4 {font-size: 20px;font-weight: 700;line-height: 1.25;font-family: 'ReadexPro';}

.kongres2027 .leftbar h2 {padding: 25px 0 15px;margin-bottom: 0;}
.kongres2027 .leftbar h3 {padding: 25px 0 15px;}
.kongres2027 .leftbar h4 {padding: 25px 0 15px;}
.kongres2027 .leftbar a {color: #A31AA3;text-decoration: underline;}
.kongres2027 .leftbar a:hover {color: #000;}
.kongres2027 .leftbar .breadcrumbs a {text-decoration: none;}

.kongres2027 .sidebar-menu-box a {color: #A31AA3!important;font-family: 'ReadexPro';}
.kongres2027 .sidebar-menu-box .menu-item:hover a {color: #fff!important;background-color: #A31AA3;text-decoration: none!important;}
.kongres2027 .sidebar-menu-box ul li.current-menu-item a {color: #000!important;}

.kongres2027 .partneri h3 {margin-bottom: 25px;}
.kongres2027 .logos-container {display: flex;flex-wrap: wrap;}
.kongres2027 .logo-item {padding: 10px 15px;height: 100px;display: flex;align-items: center;justify-content: center;border: 0px solid #999;}
.kongres2027 .logos-separator {border-bottom: 1px solid #999;margin-bottom: 50px;padding-bottom: 25px;}
.kongres2027 .logos-separator .col-lg-3 {padding-left: 0;}

.kongres2027 hr  {margin: 50px 0 25px;}

.kongres2027 table.program {width: 100%;border-collapse: collapse;}
.kongres2027 table.program tr {border-top: 7px solid #fff;border-bottom: 7px solid #fff;}
.kongres2027 table.program td, .kongres2027 table.program th {border: 0px solid #ccc;padding: 13px;color: #000;}
.kongres2027 table.program th.day-header {text-align: left;color: #fff;padding: 17px 13px;border-top: 20px solid #fff;}
.kongres2027 table.program td:first-child {white-space: nowrap;}

.kongres2027 .prednasajuci-item {position: relative;overflow: hidden;}
.kongres2027 .prednasajuci-foto {width: 100%;height: 250px;object-fit: cover;display: block;}


/* --- Modálne okno --- */
.custom-modal { display: none; position: fixed; z-index: 99999; top: 0; left: 0; width: 100%; height: 100%; }
.custom-modal.active { display: block; }
.custom-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 99999; }
.custom-modal-content { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; max-width: 500px; width: calc(100% - 40px); padding: 50px; border-radius: 8px; z-index: 100000; max-height: 80vh; overflow-y: auto; }
.custom-modal-img { width: 100%; border-radius: 6px; margin-bottom: 15px; }
.custom-modal-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 28px; cursor: pointer; line-height: 1; z-index: 100001; }

.grid-popup-wrapper { display: none; position: fixed; z-index: 99999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); }
.contact-popup-wrapper { display: none; position: fixed; z-index: 99999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); }
.popup-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; max-width: 600px; width: calc(100% - 40px); padding: 30px; border-radius: 8px; z-index: 100000; max-height: 80vh; overflow-y: auto; }
.close-popup { position: absolute; top: 10px; right: 15px; font-size: 28px; cursor: pointer; line-height: 1; }

.popup-content img {width: 50px;aspect-ratio: 300 / 450;object-fit: cover;object-position: left top;border-radius: 7px;display: block;margin: 0 20px 20px 0;}
.popup-content h4 {}
