/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ---------------- BASE ---------------- */
.serie-wrapper{
	width: 100%;	
	padding: 100px 60px;
	background-color: #EFEFEF;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center
}

.serie-grid {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 0;
	    width: 100%;
    max-width: 1140px;
	margin: 0 auto
}

/* Desktop Only */
.desktop-only { display: block; }
.mobile-only { display: none; }

/* ---------------- TABS (DESKTOP) ---------------- */

.serie-wrapper .title{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
	position: relative
}

.serie-wrapper .title::before{
    content: '';
    position: absolute;
    background-color: #942431;
    width: 121px;
    height: 2px;
    margin: 0 auto;
    top: -10px;
}
.serie-wrapper .title h2 {
    font-family: 'Montserrat';
    color: #000000;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4em;
}

.serie-tabs {
    padding-right: 20px;
}

.serie-tab {
    padding: 25px 0;
    cursor: pointer;
    border-bottom: 1px solid #eaeaea;
}

.serie-tab h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #6d6d6d;
}

.serie-tab.active h3,
.serie-tab:hover h3 {
    color: #000;
}

.serie-tab.active {
    border-bottom: 4px solid #8A0000;
    background: #efefef;
    color: #8A0000;
}

.serie-content-item {
    display: none;
    background-color: white;
}

.serie-content-item.active {
    display: block;
}

/* ---------------- CONTENT ---------------- */
.serie-image img {
    width: 100%;
    border-radius: 4px;
}

.serie-texto {
    padding: 30px;
}

.serie-texto h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.serie-texto p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.serie-texto li {
    font-family: 'Montserrat';
}

/* ---------------- MOBILE ACCORDION ---------------- */
.serie-accordion {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.serie-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Montserrat';
}

.acc-arrow {
    transition: transform 0.3s ease;
}

.acc-arrow.rotate {
    transform: rotate(90deg);
}

.acc-arrow.rotate svg path {
    stroke: #a71930;
}

.serie-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding-bottom: 10px;
}

/* ---------------- MOBILE FIXES ---------------- */
@media (max-width: 900px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }

    .serie-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Remove borda/linha abaixo da imagem dentro do accordion */
    .serie-accordion-content,
    .serie-accordion-content .serie-image,
    .serie-accordion-content img {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .serie-accordion-content img {
        display: block !important;
    }
	
	.serie-wrapper{
	max-width: 100%;
	padding: 50px 30px
}
}

@media (max-width: 500px){
	.serie-wrapper .title h2{
    font-size: 28px
}
	serie-wrapper{
	max-width: 100%;
	padding: 50px 15px
}

	.serie-texto {
    padding: 10px;
}
}






