@media screen and (max-width:1024px) {
    .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-blog-offer {
        margin: 0 -20px 80px;
        padding: 30px 20px 60px;
    }

    .contry-job {
        gap: 20px;
        margin-bottom: 20px;
    }

    .contry-job h3 img {
        width: 40px !important;
    }

    .cat-grid a {
        width: calc(100% / 3);
    }

    .banner-main {
        margin: 80px 0;
    }
    
    .relevant-posts .wp-block-column {
        padding: 50px 30px 10px;
    }

    .footer-top .menu a {
        font-size: 13px;
    }

    .post-job-title {
        margin: 0 -20px 80px;
        padding: 1px 20px;
    }

    .post-job-row {
        gap: 30px;
    }

    .post-job-content {
        width: calc(100% - 330px);
    }

    .job-item {
        gap: 30px;
    }

    #lk-content {
        margin-left: 30px;
    }
}

@media screen and (max-width:992px) {
    .contry-job h3 {
        font-size: 18px;
    }

    .head-col .menu li {
        padding: 15px;
    }
}

@media screen and (max-width:767px) {
    h1 br,
    .mobile-hidden {
        display: none;
    }

    .open-popup-button{
	display: flex;	
    }

    .home-blog-offer {
        min-height: 300px;
    }

    .home-blog-offer .wp-block-cover__image-background {
        left: auto;
        width: auto;
    }

    .contry-job h3 {
        font-size: 20px;
    }

    .contry-job h3 img {
        width: 50px !important;
    }

    .contry-job .wp-block-column:empty {
        display: none;
    }

    .home-blog-offer .wp-block-image {
        text-align: center;
    }

    .head-row .head-col:last-child {
        display: flex;
    }

    .toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #55A747;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        margin-left: 20px;
    }

    .head-col .menu {
        position: absolute;
        display: none;
        background: #1f1f1f;
        top: 55px;
        right: 20px;
        padding: 10px 0;
        z-index: 999;
    }

    .head-col .menu li {
        padding: 5px 20px;
    }

    .head-col .menu>li>a {
        color: #fff;
    }

    .head-col .menu li.menu-item-has-children>a {
        display: none;
    }

    .head-col .menu li ul {
        width: 100%;
        z-index: 1;
        position: static;
        visibility: visible;
        opacity: 1;
        background-color: transparent;
        padding: 0;
    }

    .head-col .menu li ul li {
        display: block;
        padding: 0;
    }

    .cat-grid a {
        width: calc(100% / 2);
    }

    .footer-top .menu {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 20px 30px;
    }

    .footer-top .menu a {
        font-size: 14px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom .copy {
        font-size: 12px;
    }

    .footer-bottom .copy img {
        width: 100px;
        margin-left: 7px;
    }

    .post-job-title {
        margin-bottom: 50px;
    }

    .post-job-row {
        flex-direction: column;
        gap: 40px;
    }

    .post-job-content,
    .post-job-sidebar {
        width: 100%;
    }
    
    .job-item .prise-info {
        font-size: 16px;
    }

    .post-job-sidebar .cat-item-list a {
        margin: 5px 0;
    }

    .cab_lt_sidebar {
        float: none;
        width: 100%;
        margin-bottom: 40px;
    }

    #lk-content {
        margin-left: 0;
    }

    .rcl-table__not-header .rcl-table__row {
        border: 0;
        border-bottom: 1px solid #f0f1f2;
        background-color: transparent !important;
        margin: 0;
    }

    .rcl-table__row-header~.rcl-table__row .rcl-table__cell::before {
        color: #55A747;
        text-align: left;
        font-weight: 600;
    }

    .page-template-page-favorites .post-job-sidebar .cat-item-list {
        display: none;
    }

    .popup_modal {
        overflow-y: auto;
    }

    .win_modal {
        top: 30px;
        transform: translate(-50%, 0);
    }

    .win_modal.city {
        max-height: none;
        overflow-y: visible;
        top: 30px;
    }
	
	.faq-cat-grid a {
		width: calc((100% - 20px) / 2);
	}	

	.child-cat a {
		width: calc(100% / 2);
	}
    
    /* Реклама */
     .casino-card {
        width: calc(38% - 12px);
    }
}

@media screen and (max-width:480px) {
    h1 {
        font-size: 26px;
        padding: 35px 0;
    }

    h2 {
        font-size: 18px;
    }

    .home-blog-offer #region {
        width: 100%;
    }

    .home-blog-offer img {
        width: 200px;
    }

    .home-blog-offer {
        margin: 0 -20px 50px;
        padding: 30px 20px;
    }

    .win_modal {
        width: 100%;
        padding: 40px 20px;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .win_modal.city {
        top: 0;
    }

    .site-logo {
        width: 180px;
    }

    .is-search-form {
        width: 100% !important;
    }

    .cat-grid a {
        width: 100%;
        font-size: 14px;
        padding: 10px 30px 10px 10px;
    }

    .cat-grid a span {
        font-size: 12px;
        margin-top: 5px;
    }

    .banner-main {
        height: 280px;
        margin: 50px 0;
    }

    .banner-main .wp-block-group__inner-container {
        display: block;
        height: auto;
        padding: 20px;
    }

    .banner-main h2 {
        font-size: 26px;
    }

    .banner-main p {
        font-size: 16px;
    }

    .relevant-posts .wp-block-column {
        padding: 40px 20px 10px;
    }

    .job-item h2 {
        font-size: 16px;
    }

    .footer {
        margin-top: 50px;
    }

    .footer-top .menu {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .footer-bottom,
    .footer-top {
        padding: 30px 0;
    }

    .footer-bottom .copy {
        flex-wrap: wrap;
        justify-content: center;
    }

    ol {
        padding-left: 20px;
    }

    .job-rules {
        padding: 20px;
    }

    .no-items {
        font-size: 16px;
        text-align: center;
    }

    .post-job-title {
        text-align: center;
    }

    .job-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .job-item .user-info {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 10px;
    }

    .job-item .user-info img {
        margin-bottom: 0;
    }

    .close {
        top: 10px;
    }

    .lk-sidebar {
        display: block !important;
        float: none !important;
        width: 100% !important;
    }

    .cab_lt_sidebar {
        background: transparent;
        border-radius: 0;
        padding: 0;
    }

    #lk-menu.st_menu_moved.cab_lt_mobile {
        background: #313540;
        width: 100% !important;
        max-width: none;
    }

    #lk-menu.st_menu_moved {
        border: 0 !important;
        padding: 10px 20px 20px;
    }

    .cab_lt_mobile#lk-menu .recall-button {
        height: 40px;
        margin-top: 10px;
        align-items: center;
        justify-content: center;
    }

    .cab_lt_mobile#lk-menu .recall-button .rcli {
        display: none !important;
    }

    .cab_lt_mobile#lk-menu .recall-button span {
        width: auto !important;
    }

    #tab-profile .rcl-bttn {
        width: 100%;
    }

    .post-job-head {
        gap: 5px;
        flex-direction: column;
    }

    /*
    .job-related,
    .job-related-title {
        display: none;
    }
    */

    .post-job-title {
        background-size: cover;
    }
    
    .post-job-content .rcl-custom-fields .rcl-field:first-child .rcl-field-title {
        font-size: 18px;
    }
    
    .post-job-content .rcl-custom-fields .rcl-field:first-child .title-colon {
        font-size: 18px;
    }
    
    .post-job-content .rcl-custom-fields .rcl-field:first-child .rcl-field-value {
        font-size: 22px;
    }

    .rcl-public-box .submit-public-form {
        flex-direction: column;
    }

    #form-field-delete .rcl-bttn,
    #rcl-public-form-top-manager .rcl-bttn {
        width: 100%;
        margin-right: 0;
    }

    .page-not-found p {
        margin-bottom: 40px;
    }

    .page-not-found p br {
        display: none;
    }
    
    .dropdownlink {
        font-size: 16px;
    }
    
    .submenuItems {
        font-size: 14px;
    }
	
	.question-block {
		padding: 30px 20px;
	}

	.answer-block {
		flex-direction: column;
	}	

	.answer-block .answer:before {
		content: "";
		position: absolute;
		top: -12px;
		left: calc(50% - 6px);
		border-width: 0 9px 12px 9px;
		border-color: transparent transparent #fff transparent;
	}	

	.faq-form {
		display: block;
		padding: 30px 20px;
	}	

	.faq-form .col-left {
		display: block;
		width: 100%;
		margin-bottom: 30px;
	}	

	.faq-form .col-right {
		width: 100%;
	}	

	.faq-form .col-left img {
		width: 60px;
	}

	.faq-form [type="submit"] {
		width: 100%;
	}

	.faq-cat-grid a,
	.child-cat a {
		width: 100%;
	}
	
	.faq-item a {
		font-size: 18px;
	}
	
	.faq-section {
		margin-bottom: 50px;
	}
    
    /* Реклама */
     .casino-card {
        width: calc(65% - 12px);
    }
    
    /* Уникальные стили для всплывающего окна */
    
    .unique-popup-content h2 {
		font-size: 12px;
    }
    
    .unique-popup-content p {
    	font-size: 12px;
     }
    
    .unique-popup-content .popup-soc_btn {
    	padding: 35px;
        font-size: 18px;
    }
    
    .unique-popup-content img {
       	left: auto;
        right: auto;
        top: -15px;
    }
    
    .unique-subscribe-button {
        font-size: 14px;
    }
    
}