/*
 Theme Name:   alien Child
 Theme URI:    https://doothemes.com/items/dooplay/
 Description:  DooPlay Child Theme
 Author:       alien
 Author URI:   https://doothemes.com/
 Template:     alien
 Version:      2.1.3
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         DooPlay child theme
 Text Domain:  mtms
*/


.wp-content h3 {
    font-size: 21px;
    color: #ebebeb;
}
header.responsive .logo {
    float: left;
    font-size: 32px;
    color: #81d742;
    font-weight: bold;
    height: 100%;
    align-items: center;
}
.dooplay_player span {
    font-size: 18px;
    font-weight: 500;
    width: 100%;
    float: left;
    padding: 20px 0px 0px;
}

.dooplay_player {
    border-bottom: 0px!important;
}
header.responsive .logo a{
	color: #81d742;
}

.login_box .box fieldset.user {
    margin-bottom: 10px;
}

header.main .hbox .logo a{
    color: #81d742;
}

header.main .hbox .logo {
    float: left;
    padding: 18px 17px 17px;
    font-size: 32px;
    color: #81d742;
    text-align: center;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
}

.head-main-nav ul.main-header li ul.sub-menu {
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    max-width: 700px;
    padding: 15px;
}

.head-main-nav ul.main-header li:hover ul.sub-menu {
    display: grid;
}

.head-main-nav ul.main-header li ul.sub-menu li{
    width: auto;
	border: 1px solid #262626;
}

.menuresp .menu ul.resp li ul.sub-menu li {
	width: 33.3%;
	border: 1px solid #262626;
}

.menuresp .menu ul.resp li ul.sub-menu li a{
    font-size: 14px;
    color: #ddd;
}


.head-main-nav ul.main-header li ul.sub-menu li a {
    text-align: center;
    font-size: 14px;
    color: #ddd;
    padding: 8px 10px;
}


.dtsingle .content.right {
    margin-right: 0px;
}

.dtsingle .content {
    width: auto;
    float: none;
}

#single .content .sbox {
    padding: 25px 25px;
}

.sheader {
    border-bottom: solid 1px rgba(255, 255, 255, .08);
}

.comments-area {
    padding: 35px 25px;
}


.sidebar {
    display: none;
}

.content.right {
    margin-right: 0 !important;
    width: 100% !important;
}

#single .content .sbox, .single_tabs {
    border-bottom: solid 1px rgba(255,255,255,.08)
}

/* Сетка эпизодов */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

/* Ссылка на всю карточку */
.episode-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Карточка эпизода */
.episode-card {
    background: #1e1e1e;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.episode-card:hover {
    transform: translateY(-2px);
}

/* Изображение эпизода */
.episode-image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.episode-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.module .content header h2 {
    border-left: 0;
    padding-left: 0;
}

/* Номер эпизода поверх изображения */
 .episode-number {
    color: #a7a7a7;
    width: 100%;
    background-color: #171717;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    line-height: 27px;
    padding: 0 10px;
        text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.pag_episodes .item a{
    background: transparent;
}
.pag_episodes {
    border-bottom: solid 1px #000;
    background: #1d2327;
}
/* Информация об эпизоде */
.episode-info {
       padding: 7px;
    background: #1d2327;
}

.episode-title {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    display: block;
}

.episode-link:hover .episode-title {
    color: #fcd224;
}

.episode-date {
    color: #888;
    font-size: 13px;
    font-weight: 400;
}

.wp-content {
    border-bottom: 0px;
    width: 100%;
    float: left;
    margin-bottom: 0;
    padding-bottom: 0;
}

footer.main .fcmpbox {
    padding: 0 25px;
}
/* Адаптивность */
@media (max-width: 768px) {
    .episodes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #single .content .sbox {
    padding: 25px 15px;
    }
    .episode-image {
            height: 120px;
    }
    .episode-info {
    padding: 10px;
    }
    .sheader {
    width: 100%;
    float: left;
    padding: 15px;
    overflow: hidden;
}
.sheader .data {
        width: 100%;
        margin-left: 0  ;
    }
    .sheader .data h1,.sbox h1 {
    font-size: 25px;
    font-weight: 600;
}
    .sheader .poster {
        width: 110px;
        display: none;
    }

}

.wp-content .date{
    margin-bottom: 10px;
    /* padding: 20px; */
    display: inline-block;
    color: #fcd224;
}
.full_width_layout {
    padding: 15px !important;
    margin-right: 0 !important;
}

.wp-content.home-intro-text, .wp-content.home-footer-text{
    padding: 10px!important;
}

.wp-content.home-intro-text h1, .wp-content.home-footer-text h2, .wp-content h2{
    color: #ffffff;
    line-height: 1.1;
    font-size: 18px;
}
.wp-content blockquote {
font-style: italic;
    border-left: 4px solid #fcd224;
    padding: 10px 0 10px 20px;
    margin-bottom: 20px;
    background: #2a2a2a;
    color: #ffffff;
    font-size: 16px;
}

/*! Pure v3.0.0 Copyright 2013 Yahoo! Licensed under the BSD License. https://github.com/pure-css/pure/blob/master/LICENSE */
.pure-table {
    empty-cells: show;
    width: 100%;
    border: 1px solid #404040;
    margin: 20px 0;
}

.pure-table caption {
    color: #000;
    font: italic 85%/1 arial,sans-serif;
    padding: 1em 0;
    text-align: center
}

.pure-table td,.pure-table th {
    border-left: 1px solid #404040;
    border-width: 0 0 0 1px;
    font-size: inherit;
    margin: 0;
    overflow: visible;
    padding: .9em 1em;
}

.pure-table thead {
    background-color: #fcd224;
    color: #000;
    text-align: left;
    vertical-align: bottom
}

.pure-table-odd td,.pure-table-striped tr:nth-child(2n-1) td {
    background-color: #f2f2f2
}

.pure-table-bordered td {
    border-bottom: 1px solid #404040
}

.pure-table-bordered tbody>tr:last-child>td,.pure-table-horizontal tbody>tr:last-child>td {
    border-bottom-width: 0
}

.pure-table-horizontal td,.pure-table-horizontal th {
    border-width: 0 0 1px;
    border-bottom: 1px solid #404040
}

@media only screen and (max-width: 760px),(min-device-width:768px) and (max-device-width:1024px) {
    .nav-fixed,.pure-table table {
        width:100%
    }

    .pure-table table,.pure-table tbody,.pure-table td,.pure-table th,.pure-table thead,.pure-table tr {
        display: block
    }

    .pure-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px
    }

    .pure-table tr {
        border: 1px solid #404040
    }

    .pure-table td {
        border: none;
        border-bottom: 1px solid #404040;
        position: relative
    }

    .pure-table td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        content: attr(data-column);
        color: #000;
        font-weight: 700
    }

    }
.limda {
            margin: 20px 0 0;
    display: inline-block;
    }


.episode-title .fa{
    font-size: 12px;
    vertical-align: middle;
    margin-right: 5px;
    color: #fcd224;
    }    

/* Для мобильных скрываем все абзацы кроме первого */
@media (max-width: 767px) {
    /* Скрываем только P теги начиная со второго */
    .wp-content:has(.read-more-btn) p:nth-of-type(n+2) {
        display: none;
    }
    
    .wp-content.expanded p {
        display: block !important;
    }
    
    .read-more-btn {
        background: #4e4e4e;
        color: white;
        border: none;
        padding: 4px 12px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 12px;
        margin-top: 10px;
        display: block;
    }
}

.faq-section {
    background: #292929;
    padding: 30px;
    margin: 40px 0;
    border-radius: 5px;
}

.faq-section h2 {
    color: #ca1515!important;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: bold;
}

/* Каждый вопрос */
.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

/* Вопрос */
.faq-question, h3.faq-question {
    background: #111111;
    color: white;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    border: none;
    width: 100%;
    text-align: left;
    transition: background 0.3s ease;
}

.faq-question:hover, h3.faq-question:hover {
    background: #ca1515;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active, h3.faq-question.active {
    background: #ca1515;
}

.faq-question.active::after, p.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

/* Ответ */
.faq-answer, p.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
    color: #333;
    line-height: 1.6;

        margin-bottom: 0;
    font-size: 16px;
}

.faq-answer.show, p.faq-answer.show {
    padding: 20px;
    max-height: 150px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .faq-section {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .faq-question, h3.faq-question {
        padding: 15px;
        font-size: 16px;
    }
    
    .faq-answer, p.faq-answer{
        padding: 15px;
        max-height: 120px;
        margin-bottom: 0;
    }
    
    .faq-question::after, h3.faq-question::after  {
        right: 15px;
        font-size: 20px;
    }
}

footer.main {
margin-bottom: 0;
}

.module .content .items .item .poster:hover > img,
.module .content .items .item .poster a:hover img {
    transform: scale(1.2);
    filter: blur(2px) brightness(.3);
}

.se .poster:hover .season_m span,
.se .poster a:hover .season_m span {
    opacity: 1;
    /* другие стили если есть */
}

.se .poster a:hover .season_m {
    opacity: 1;

}



.module .content .items .item a:hover .season_m .see{
    opacity: 1;
}
.module .content .items .item .poster a:hover .season_m .see {

    opacity: 1;
}


.module .content .items .item.seasons .poster {
    padding-top: 150%;
}

.module .content .items .item.seasons .poster img {
    margin-top: -150%
}

.episode-title .fa, .module .content .items .item .data h3 .fa{
    font-size: 12px;
    vertical-align: middle;
    margin-right: 5px;
    color: #fcd224;
}
.episode-title .fa{
    color: #ca1515;
}

.module .content header span a.see-all{
    background: #ca1515!important;
}

.module .content.full_width_layout .items {
    border-bottom: solid 0px;
}

.module .content .items .item .data {
    float: left;
    width: 100%;
    background: #242424;
    padding: 7px;
    margin-bottom: 0px;
    margin-top: 0px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    display: block;
}

.module .content.full_width_layout .items .item.seasons {
    width: calc(100% / 5);
}

@media only screen and (max-width: 424px) {
    .module .content.full_width_layout .items .item.seasons {
        width: calc(100% / 3);
    }
}


.se .poster .season_m {
    padding: 50% 0;
}

.module .content .items.full .episodes{
    transition: transform 0.2s ease;
}

.module .content .items.full .episodes:hover {
    transform: translateY(-2px);
}

header.main .hbox .logo img {
    width: auto;
    vertical-align: bottom;
}

header.main .hbox .logo {
        background: #1d2327;
}

.wp-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.posts header.pos h1.titl {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
}

.posts .meta {
    border-bottom: solid 1px rgba(255, 255, 255, .08);
}

@media (max-width: 768px) {
    #single .content .sbox {
        padding: 25px 15px;
        display: none;
    }
}


.tax_post .tax_box .title {
    border-right: solid 0px rgba(255, 255, 255, .08); 
}

.tax_post .tax_box .title {
    position: absolute;
    left: 0;
    background: #404142;
    top: 10px;
    text-align: initial;
    width: auto;
    text-transform: uppercase;
    font-size: 12px;
    padding: 5px 10px;
}

.tax_post {

    margin-top: 10px;
}