/*
Theme Name: My Custom Theme
Theme URI: https://katana-web.kz
Author: Nariman Aliakbarov
Author URI: https://katana-web.kz
Description: Тема для новостного сайта
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
*/
body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #29294b;
    text-align: left;
    background-color: #f0f1f5;
}
a {
    text-decoration: none;
    color: initial;
	color: #29294b;
}
a:hover {
    color: #0d5c32;
}
.container {
    width: 1200px;
    margin: 0 auto;
}
header .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 5px 0;
    gap: 30px;
}
header .wrapper {
    background: #f7f7fa;
    box-shadow: 0 0 10px rgb(191 191 191 / 50%);
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
}
.logo img {
    width: 85px;
    vertical-align: middle;
    padding: 5px;
    box-sizing: border-box;
}
header .container .logo {
    flex: 2;
}
header .container .menu {
    flex: 70%;
}
header .container .header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.menu ul {
    display: flex;
    justify-content: flex-start;
    list-style-type: none;
    padding: 0;
    gap: 30px;
}
.header-nav ul, ul.soc-header {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
    gap: 6px;
}
.menu ul a {
    font-weight: 500;
    font-size: 18px;
}
ul.soc-header li a {
    border-radius: 30px 30px 30px 30px;
    color: #fff;
    background: #0d5c32;
    padding: 18px 18px 18px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 0;
    width: 0;
}
ul.soc-header li a:hover {
    background: #383838;
}
.wp-block-embed__wrapper {
    padding-top: 56%;
    position: relative;
}

.wp-block-embed__wrapper iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.main-banner {
    background: url(/wp-content/themes/your-theme/img/fon.jpg) 50% 37% no-repeat;
    background-size: cover;
    padding: 100px 0;
    text-align: center;
}

.main-banner p {
    padding: 20vh;
    font-size: 115px;
    font-weight: bold;
    width: 55%;
    margin: 0 auto;
    color: #0d5c32;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
    line-height: 1;
}
.main-banner p span {
    font-size: 39px;
}



.news-list-item {
    background-color: #ffffff;
    border-radius: 10px 10px 10px 10px;
    padding: 30px 30px 30px 30px;
    box-shadow: #7272ff1f 0px 5px 20px 0px;
    display: flex;
    gap: 20px;
}
.container.main-contanier {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.wrapper.main-wrapper {
	padding: 90px 0 60px;
}
.news-list-block {
    flex: 5;
    display: flex;
    gap: 30px;
    flex-direction: column;
}
.asside {
    flex: 2;
    background: #ffffff;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 20px;
}
.asside-item-title h2 {
    text-align: center;
    margin: 15px 0;
    font-size: 28px;
}
.news-related-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news_block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
span.entry-date {
    opacity: 0.8;
    font-size: 85%;
}
.article-page-item h1 {
    line-height: 1.2;
    margin: 10px 0;
}
.article-page-item-meta {
    padding-bottom: 10px;
}

.news-list {
	gap: 30px;
    display: flex;
    flex-direction: column;
}
.news-list-item-img img, .asside-item-list-item-img img {
    width: 100%;
	height: auto;
    border-radius: 10px;
    vertical-align: top;
}
.news-list-item-card {
    flex: 5;
}
.news-list-item-img {
    flex: 2;
}
.asside-item-list-item-img {
    flex: 2;
}
span.news-list-item-card-cat a {
    background: #404040;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 30px;
    color: #fff;
}
.news-list-item-card h4 {
    font-size: 18px;
    margin: 10px 0;
}
.news-list-item-card-desc {
    font-size: 14px;
    margin: 10px 0;
}
.news-list-item-card-meta {
    font-size: 12px;
}
h3.block-title {
    text-align: center;
    font-size: 40px;
    margin: 10px 0;
}

span.news-list-item-card-cat {
    background: #404040;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 30px;
    color: #fff;
}
.main-contacts {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.main-contacts-block {
    width: 100%;
}
.main-contacts-block {
    width: 100%;
    background: #0d5c32;
    color: #fff;
	display: flex;
    align-items: center;
    justify-content: center;
}
.main-contacts-block-text h4 {
    font-size: 26px;
    margin: 0;
}
.copyright {
    background: #032f17;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}
.article-img img {
    width: 100%;
	height: auto;
}
.mob-menu-block {
    display: none;
}

.mob_menu-ul {
    padding: 0;
    list-style-type: none;
    text-align: center;
}
.mob_menu-ul a {
    color: #f7f7fa;
    font-size: 23px;
    font-weight: bold;
}



@media (max-width:560px) {
.container {
    width: 100%;
    margin: 0 auto;
}
.container.main-contanier, .news-list-item, footer .container, .article-page-item-meta, .article-page .news-list-block {
	flex-direction: column;
}
header .menu {
    display: none;
}
.gooey {
    margin: -5px 0 0 -71px;
}
header .container {
	padding: 0 15px;
	box-sizing: border-box;
	gap: 0;
	justify-content: space-between;
	background: #f7f7fa;
}
ul.soc-header li a {
	padding: 13px;
	font-size: 13px;
}
.header-nav .search input.inputbox {
	background-size: 12px;
	width: 26px;
	height: 26px;
}
.footer-block {
    padding: 0 15px;
}
.article-page h1 {
    font-size: 24px;
}
.article-page-item img{
    width: 100%;
}
    .article-page-item iframe {
        width: 100% !important;
        margin: 10px 0 !important;
        box-sizing: border-box;
        min-width: auto !important;
    }
	.article-page-item p {
    font-size: 14px;
}
.logo img {
    width: 70px;
}
.news-list-item {
    padding: 20px;
}
header .container .header-nav {
    gap: 4px;
}
.mob-menu-block {
	display: block;
	flex: 0;
	padding-left: 20px;
}
header .container .logo {
    flex: 10%;
}
.header-nav {
	flex: 80%;
}
.header-nav .search {
	position: relative;
}
a.search-mob-btn {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.news-list-block h1 {
    font-size: 22px;
    margin-top: 0;
}
.article-page-item blockquote {
        background: #cccccc17 url(https://tv7.kz/wp-content/themes/tv7/img/quotes.png) no-repeat 50% 20px;
        padding: 100px 20px 20px;
        background-size: 56px;
    }

    .main-banner p span {
        font-size: 4vw;
    }
.main-banner p {
        padding: 15vh 0 9vh;
        font-size: 11vw;
        font-weight: bold;
        width: 100%;
}
.main-banner {
    padding:20px 0;
}
.wrapper.main-wrapper {
    padding: 20px;
}
.main-contacts {
    flex-direction: column;
}
.main-contacts-block {
    justify-content: flex-start;
}

.main-contacts-block-text {
    padding: 20px;
    font-size: 14px;
}
.wrapper.main-wrapper.article-page {
    padding-top: 100px;
}
.news-list-block-cat {
    margin-top: 90px;
}




}








/* Theming */

:root{
    --white: #f9f9f9;
    --black: #36383F;
    --grey: #85888C;
}


ul.mob-menu {
    width: 100%;
    padding: 0;
}
/* Nav menu */
.nav {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--black);
    overflow: hidden;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
	z-index: -1;
}

.mob-menu a{
    display: block;
    padding: 30px;
    color: var(--white);

}

.mob-menu a:hover{
    background-color: var(--grey);
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Menu Icon */

.hamb{
    cursor: pointer;
    float: right;
    padding: 0;
}


.hamb-line {
    background: var(--black);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    
}

.hamb-line::before,
.hamb-line::after{
    background: var(--black);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}


.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}


/* Responsiveness */

@media (min-width: 768px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;

    }

    .mob-menu li{
        float: left;
    }

    .mob-menu a:hover{
        background-color: transparent;
        color: var(--grey);
        
    }
    
    .hamb{
        display: none;
    }
	

}
#selector {
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    width: 100%;
    z-index: 1000000;
    position: relative;
}

    .selector-table {
      display: none;
    }

    .selector-table.active {
      display: block;
    }











