@media screen and (max-width: 1200px) {
    .big-video-container {
        /* margin-top: 5rem; */
        height: 400px;
    }
    
}

@media screen and (min-width: 1200px){
    .nav-link{
    font-size: 20px;
    }
}
@media (max-width: 768px) {


    .header-title{
        font-size: 2rem;
    }
    .banner-module {
        height: 300px;
        background-size: cover;
    }

    .single-post-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-text {
        min-width: 100%;
    }

    .post-image {
        max-width: 100%;
    }

    .post-text-after-image {
        order: 0;
    }

    .news-card {
        width: calc(50% - 10px);
    }

    .phone-and-soc {
        font-size: 1rem !important;
    }

    .container {
        padding: 0 10px;
    }

    .legal-consultation .row {
        flex-direction: column-reverse;
    }

    .services-list span {
        width: 100%;
    }

    .legal-consultation img {
        margin-bottom: 20px;
    }

    .won-cases-container {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        margin: 20px 0;
    }

    .footer-contacts {
        text-align: center;
    }

    .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .lawyer-module .row {
        flex-direction: column;
    }

    .lawyer-module .text-container {
        padding-left: 0;
        margin-top: 20px;
    }

    .video-container {
        margin-bottom: 20px;
    }

    .won-cases-container {
        flex-direction: column-reverse;
    }

    .col-md-6 {
        width: 100%;
    }

    .cases-list {
        padding-right: 0;
        padding-top: 1rem;
    }

    .blog-controls {
        justify-content: space-around;
    }

    .more-blog-link {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        margin: 20px 0;
    }

    .footer-contacts {
        text-align: center;
    }

    .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .blog-post-title {
    font-size: 1.5rem !important;
    }

    .service-link{
        font-size: 1rem;
    }

    .case-description{
        font-size: 1rem;
    }
    .btn-gold-image span {
    
    font-size: 1rem;

    }

    .blog-post-excerpt{
        font-size: 1rem;
    }
    
    .banner-module h1{
        font-size: 1.5rem;
    }

    .post-text, .seo-text {
        font-size: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1rem !important;
    }

    p, span, div, section, li {
        font-size: 1rem;
    }

    .consultation-form-container{
        margin: 0;
    }
    .form-group {
        flex-direction: column;
        gap: 15px;
    }
    .section-title {
        font-size: 2rem;
    }
    .input-double {
        flex-direction: column;
    }

    .form-button {
        width: 100%;
    }

    .tbl th, .tbl td {
        font-size: 12px;
    }

    .tbl {
        font-size: 14px;
    }

    .case-list {
        gap: 1rem;
    }

    .service-card {
        height: 15rem;
    }

}

@media (max-width: 576px) {
    .news-card {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .single-post-container {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 992px) {
    
    .phone-number{
        font-size: 1rem;
    }


    .navbar-brand img {
        max-width: 50px;
    }

    .phone-and-soc{
        align-items: center;

    }

    .header-phone{
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }

    .phone-and-soc .social-icons a:first-child,
    .social-icons a:first-child{
        margin-left: 0;
    }{
        margin-left: 0;
    }

    .legal-consultation::after,
    .lawyer-module::after,
    .services-module::after,
    .won-cases-module::after,
    .blog-module::after {
        display: none !important;
    }

    .image-container {
        display: none;
    }

    .more-blog-big-link {
        font-size: 1.5rem;
        width: 90%;
    }

    .module-title-box {
        position: relative !important;
        display: contents;
    }

    .text-container {
        top: 2rem;
    }

    .benefit-item {
        margin-bottom: 1rem;
    }
/*      .navbar-brand img{
        width: 50%;
    }
*/


}

@media screen and (min-width: 992px){

}


@media (max-width: 600px) {
    /* Снижаем размеры еще больше */
    .team-member {
        width: 200px;
        height: 300px;
    }

    .team-member-photo img {
        padding: 0.25rem;
    }

    /* Уменьшаем размер шрифтов */
    .card-body .card-title {
        font-size: 0.9rem;
    }

    .card-body .card-text {
        font-size: 0.8rem;
    }

    /* Обновление для секции */
    .team-section {
        min-height: 400px;
    }
}