.semya-page {
    padding: 0 0 40px 0;
}

.semya-banner {
    margin-top: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.semya-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.semya-links {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.semya-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    background: linear-gradient(135deg, #e8f4fd 0%, #d0eaf8 100%);
    border-left: 4px solid #00aeef;
    border-radius: 4px;
    padding: 18px 20px;
    text-decoration: none;
    color: #083865;
    font: 14px/1.5 Arial, Tahoma, Verdana;
    font-weight: 600;
    transition: all 0.3s ease;
}

.semya-link:hover {
    background: linear-gradient(135deg, #d0eaf8 0%, #b8dff5 100%);
    border-left-color: #0a3b66;
    color: #0a3b66;
    text-decoration: none;
}

.semya-link-icon {
    font-size: 20px;
    color: #00aeef;
    line-height: 1.4;
    flex-shrink: 0;
    font-weight: bold;
}

.semya-link:hover .semya-link-icon {
    color: #0a3b66;
}

.semya-link-text {
    line-height: 1.5;
}

.semya-children {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.semya-child-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex: 1 1 calc(50% - 15px);
    min-width: 220px;
    background: #fff;
    border: 1px solid #d6eaf5;
    border-top: 3px solid #00aeef;
    border-radius: 4px;
    padding: 18px 20px;
    text-decoration: none;
    color: #083865;
    font: bold 14px/1.4 Arial, Tahoma, Verdana;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.semya-child-card:hover {
    background: #e8f4fd;
    border-top-color: #0a3b66;
    color: #0a3b66;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.semya-child-title {
    flex: 1;
    line-height: 1.4;
}

.semya-child-arrow {
    font-size: 18px;
    color: #00aeef;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.semya-child-card:hover .semya-child-arrow {
    color: #0a3b66;
    transform: translateX(4px);
}

.semya-content {
    font: 14px/1.7 Arial, Tahoma, Verdana;
    color: #333;
}

.semya-content .title {
    font: bold 22px/1.3 Arial, Tahoma, Verdana;
    color: #083865;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #00aeef;
}
