details {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin: 10px 0 0 0;
    background-color: #f9f9f9;
    color: #222a35;
    transition: all 0.3s ease;
}
    

summary {
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #364e72;
    list-style: none;
    margin: 0 0 0 20px;
    outline: none;
    transition: color 0.3s ease;
}



details ul {
    margin: 10px 0 0 20px;
}


details details {
    border: none;
    background-color: transparent; 
    padding: 0 0 0 10px;
}

details details summary {
  margin: 0 0 0 20px;
}

details details ul {
 margin: 10px 0 0 20px;
}


.jm-buttons .readmore-small {
    margin: 30px 0 0
}

#jm-allpage .readmore-small {
    display: block;
    padding: 15px 40px 15px 17px;
    border: 2px solid #364e72;
    color: #364e72;
    border-radius: 2px;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.1;
    text-decoration: none;
    position: relative
}

#jm-allpage .readmore-small [class^="icon-"],#jm-allpage .readmore-small [class*=" icon-"] {
    position: absolute;
    top: 0;
    right: 35px;
    left: auto;
    padding: 15px 0
}

#jm-allpage .readmore-small:hover {
    color: #364e72;
    background: rgba(54,78,114,0.05);
    -webkit-transition: all .2s ease;
    transition: all .2s ease
    text-transform: uppercase;
}

#jm-allpage .readmore-small:hover [class^="icon-"],#jm-allpage .readmore-small:hover [class*=" icon-"] {
    right: 25px
}

#jm-top3 .readmore-small,#jm-footer-mod .readmore-small {
    color: #fff;
    border-color: #fff
}

#jm-top3 .readmore-small:hover,#jm-footer-mod .readmore-small:hover {
    color: #fff;
    background: rgba(255,255,255,0.05)
}

#jm-allpage .jm-module.color2-ms .readmore-small {
    color: #364e72;
    border-color: #364e72
}

#jm-allpage .jm-module.color2-ms .readmore-small:hover {
    color: #fff;
    background: rgba(54,78,114,0.05)
}

#jm-allpage .jm-module.color1-ms .readmore-small {
    color: #fff;
    border-color: #fff
}

#jm-allpage .jm-module.color1-ms .readmore-small:hover {
    color: #fff;
    background: rgba(255,255,255,0.05)
}

#jm-allpage .jm-module.color3-ms .readmore-small {
    color: #fff;
    border-color: #fff
}

#jm-allpage .jm-module.color3-ms .readmore-small:hover {
    color: #fff;
    background: rgba(255,255,255,0.05)
}

#jm-allpage .jm-module.color4-ms .readmore-small {
    color: #fff;
    border-color: #fff
}

#jm-allpage .jm-module.color4-ms .readmore-small:hover {
    color: #fff;
    background: rgba(255,255,255,0.05)
}

#jm-allpage .jm-module.color5-ms .readmore-small {
    color: #fff;
    border-color: #fff
}

#jm-allpage .jm-module.color5-ms .readmore-small:hover {
    color: #fff;
    background: rgba(255,255,255,0.05)
}

.admissions-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            font-family: Arial, Helvetica, sans-serif;
        }
        
.section-header {
            background: linear-gradient(135deg, #364e72, #4a6491);
            color: white;
            padding: 20px;
            margin-bottom: 30px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(54, 78, 114, 0.3);
        }
        
.section-header h1 {
            margin: 0;
            font-size: 28px;
            font-weight: bold;
        }
.accordion-container {
            margin-bottom: 30px;
        }
        
.accordion-item {
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-bottom: 15px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
.accordion-item:hover {
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }
        
        .accordion-header {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            padding: 15px 20px;
            cursor: pointer;
            border: none;
            width: 100%;
            text-align: left;
            font-size: 16px;
            font-weight: bold;
            color: #364e72;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .accordion-header:hover {
            background: linear-gradient(135deg, #e9ecef, #dee2e6);
        }
        
        .accordion-header::after {
            content: '+';
            font-size: 20px;
            transition: transform 0.3s ease;
        }
        
        .accordion-header.active::after {
            transform: rotate(45deg);
        }
        
        .accordion-content {
            display: none;
            padding: 20px;
            font-size: 14px;
            background: #ffffff;
            border-top: 1px solid #eee;
        }
        
        .accordion-content.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .document-link {
            display: inline-block;
            background: linear-gradient(135deg, #364e72, #4a6491);
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            margin: 5px 10px 5px 0;
            transition: all 0.3s ease;
            font-weight: bold;
        }
        
        .document-link:hover {
            background: linear-gradient(135deg, #2c3e5a, #3a5380);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(54, 78, 114, 0.4);
            color: white;
            text-decoration: none;
        }
        
        .info-card {
            background: linear-gradient(135deg, #f8f9fa, #ffffff);
            border: 1px solid #e9ecef;
            border-radius: 10px;
            padding: 25px;
            margin: 20px 0;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        
        .working-hours {
            background: linear-gradient(135deg, #e3f2fd, #ffffff);
            border-left: 4px solid #364e72;
        }
        
        .contact-info {
            background: linear-gradient(135deg, #f3e5f5, #ffffff);
            border-left: 4px solid #9c27b0;
        }
        
        .info-card h3 {
            color: #364e72;
            margin-top: 0;
            margin-bottom: 15px;
            font-size: 20px;
        }
        
        .info-card p {
            margin: 8px 0;
            line-height: 1.6;
        }
        
        .highlight {
            font-weight: bold;
            color: #364e72;
        }
        
        .address {
            color: #d32f2f;
            font-size: 16px;
        }
        
        .phone {
            color: #388e3c;
            font-size: 16px;
        }
        
        .note-text {
            font-style: italic;
            color: #666;
            margin-top: 15px;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 5px;
        }
        
        @media (max-width: 768px) {
            .admissions-section {
                padding: 10px;
            }
            
            .section-header h1 {
                font-size: 22px;
            }
            
            .accordion-header {
                font-size: 14px;
                padding: 12px 15px;
            }
            
            .accordion-content {
                font-size: 12px;
                padding: 15px;
            }
            
            .document-link {
                display: block;
                margin: 10px 0;
                text-align: center;
            }
            
            .info-card {
                padding: 15px;
            }
        }

  .cards-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            font-family: 'Roboto', Arial, sans-serif;
        }
        
        .section-title {
            text-align: center;
            color: #364e72;
            font-size: 28px;
            font-weight: 500;
            margin-bottom: 40px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(135deg, #364e72, #4a6491);
            border-radius: 2px;
        }
        
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .material-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }
        
        .material-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, #364e72, #4a6491);
        }
        
        .material-card:hover {
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            transform: translateY(-4px);
        }
        
        .card-header {
            padding: 24px 24px 16px;
            background: linear-gradient(135deg, #f8f9fa, #ffffff);
            border-bottom: 1px solid #e9ecef;
        }
        
        .card-title {
            color: #364e72;
            font-size: 20px;
            font-weight: 500;
            margin: 0 0 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .card-icon {
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, #364e72, #4a6491);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            color: white;
            flex-shrink: 0;
        }
        
        .card-date {
            color: #6c757d;
            font-size: 13px;
            font-weight: 400;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .card-content {
            padding: 20px 24px 24px;
        }
        
        .buttons-container {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .level-button {
            background: linear-gradient(135deg, #364e72, #4a6491);
            color: white;
            border: none;
            padding: 14px 20px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .level-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }
        
        .level-button:hover::before {
            left: 100%;
        }
        
        .level-button:hover {
            background: linear-gradient(135deg, #2c3e5a, #3a5380);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(54, 78, 114, 0.4);
        }
        
        .level-button:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(54, 78, 114, 0.3);
        }
        
        .button-icon {
            font-size: 16px;
        }
        
        .info-text {
            background: linear-gradient(135deg, #e3f2fd, #ffffff);
            border-left: 4px solid #2196f3;
            padding: 12px 16px;
            margin-top: 16px;
            border-radius: 0 8px 8px 0;
            font-size: 13px;
            color: #1565c0;
            line-height: 1.4;
        }
        
        /* Стилі для різних карток */
        .card-schedule .card-icon {
            background: linear-gradient(135deg, #4caf50, #66bb6a);
        }
        
        .card-schedule::before {
            background: linear-gradient(135deg, #4caf50, #66bb6a);
        }
        
        .card-results .card-icon {
            background: linear-gradient(135deg, #ff9800, #ffb74d);
        }
        
        .card-results::before {
            background: linear-gradient(135deg, #ff9800, #ffb74d);
        }
        
        .card-ratings .card-icon {
            background: linear-gradient(135deg, #9c27b0, #ba68c8);
        }
        
        .card-ratings::before {
            background: linear-gradient(135deg, #9c27b0, #ba68c8);
        }

        .card-other .card-icon {
          background: linear-gradient(135deg, #3f51b5, #00bcd4);

        }
        
        .card-other::before {
       background: linear-gradient(135deg, #3f51b5, #00bcd4);

        }
        
        /* Адаптивність */
        @media (max-width: 768px) {
            .cards-container {
                padding: 15px;
            }
            
            .cards-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .section-title {
                font-size: 24px;
                margin-bottom: 30px;
            }
            
            .card-header {
                padding: 20px 20px 14px;
            }
            
            .card-content {
                padding: 16px 20px 20px;
            }
            
            .level-button {
                padding: 12px 16px;
                font-size: 13px;
            }
        }
        
        /* Анімації */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .material-card {
            animation: fadeInUp 0.6s ease-out;
        }
        
        .material-card:nth-child(1) { animation-delay: 0.1s; }
        .material-card:nth-child(2) { animation-delay: 0.2s; }
        .material-card:nth-child(3) { animation-delay: 0.3s; }