

.content-page-container {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .content-grid {
        grid-template-columns: 280px 1fr;
        
        align-items: start;
    }
}


.content-sidebar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: sticky;
}

.content-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-sidebar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.content-sidebar-link:last-child {
    border-bottom: none;
}

.content-sidebar-link:hover {
    background-color: #f9f9f9;
    color: var(--color-primary);
    padding-left: 25px;
    
}

.content-sidebar-link.active {
    background-color: var(--color-primary);
    color: white;
    font-weight: 600;
}

.content-sidebar-link.active i {
    color: white;
}


.content-mobile-nav {
    display: block;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .content-mobile-nav {
        display: none;
    }

    .content-sidebar {
        display: block;
        
    }
}

@media (max-width: 991px) {
    .content-sidebar {
        display: none;
        
    }
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.stylish-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    font-size: 1rem;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.stylish-select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}


.content-main {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    
}

.content-main h1 {
    font-size: 2rem;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    color: #222;
}

.content-body {
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

.content-body p {
    margin-bottom: 1.5rem;
    overflow-wrap: break-word;
    
}


.content-body img,
.content-body video,
.content-body iframe {
    max-width: 100%;
    height: auto;
}

.content-body h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
    font-weight: 700;
}

.content-body ul {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.content-body li {
    margin-bottom: 0.8rem;
}


@media (max-width: 768px) {
    .content-page-container {
        padding: 20px 15px;
        
        width: 100%;
    }

    .content-main {
        padding: 25px;
    }

    .content-main h1 {
        font-size: 1.75rem;
    }
}