/*
    Theme Name: forumcomunidade
    Theme URI:
    Description: This theme has been developed exclusively for forumcomunidade. Requires Wordpress 5.4.2 or higher.
    Author: Marley
    Author URI: marley@okn.com.br
    Version: 1.0.0
    Tags:
    License: Copyright
    Text Domain: wp-ks

    Don't add css in this file!
    The theme css is located at assets/css/style.css
*/

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow-y: auto;
}

.popup-overlay.active {
    display: flex;
}

.popup-modal {
    background: white;
    max-width: 960px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideUp 0.4s ease-out;
	height: 100%;
    max-height: 80%;
	position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-header {
    background: #bf2025;
    width: 100%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-divider {
    width: 100%;
    max-width: 456px;
    height: 4px;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
	margin-top: 30px;
}

.popup-title {
    font-family: 'Merriweather Sans', Helvetica, sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    line-height: normal;
    letter-spacing: 0;
}

.popup-subtitle {
    font-family: 'Merriweather Sans', Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    line-height: normal;
    letter-spacing: 0;
}

.pricing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 25px 0;
    width: 100%;
}

.pricing-plans {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: flex-start;
}

.plan-card {
    position: relative;
    border-radius: 24px;
    border: 2px solid #bf2025;
    background: #ffffff;
	width: 45%;
	height: 100%;
}

.plan-card.recommended .plan-content {
    padding-top: 25px;
}

.plan-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 35px 48px;
	justify-content: space-between;
    height: 100%;
}
.plan-content .inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.recommended-tag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 14px;
    background: #bf2025;
    border-radius: 20px 20px 0 0;
}

.recommended-tag span {
    font-family: 'Merriweather Sans', Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #141414;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.plan-title {
    font-family: 'Merriweather Sans', Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #bf2025;
    letter-spacing: 0;
    line-height: normal;
}

.plan-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}


.price-new-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.price-new {
    font-family: 'Merriweather Sans', Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #141414;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.price-period {
    font-family: 'Merriweather Sans', Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #141414;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
}

.plan-features {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-row img {
    width: 24px;
    height: 24px;
}

.feature-row span {
    font-size: 12px;
    font-weight: 300;
    color: #141414;
    letter-spacing: 0;
    line-height: normal;
}

.disclaimer {
    font-size: 12px;
    font-weight: 400;
    color: #141414;
    letter-spacing: 0;
    line-height: normal;
    align-self: flex-start;
    padding-left: 20px;
    width: 100%;
    text-align: center;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-bottom: 25px;
}

.btn-subscribe {
	display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: #bf2025;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Merriweather Sans', Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0;
    line-height: normal;
    width: 100%;
}

.btn-subscribe:hover {
    background: #a01c20;
}

.btn-close {
    background: white;
    border: none;
    cursor: pointer;
    padding: 5px;
	position: absolute;
	right: 0px;
    top: 0px;
}

.btn-close:hover {
    opacity: 0.7;
}

.btn-close img {
    width: 30px;
    height: 30px;
}

.btn-close span {
    font-family: 'Merriweather Sans', Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0;
    line-height: normal;
}

/* Responsividade - Tablets */
@media (max-width: 1440px) and (max-height: 750px) {

	.popup-modal{
		height: 100%!important;
		max-height: initial!important;
	}
}
@media (max-width: 1440px) {

	.popup-modal{
		height: 100%;
		max-height: 90%;
	}
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
	.popup-modal{
		height: 100%;
		max-height: 100%;
	}
    .demo-content {
        padding: 20px;
    }

    .popup-overlay {
        align-items: flex-start;
    }

    .popup-header {
        padding: 40px 20px;
        gap: 24px;
    }

    .header-divider {
        max-width: 280px;
    }

    .pricing-container {
        padding: 32px 16px;
    }


    .plan-card {
        width: 100%;
    }

    .plan-content {
        padding: 32px 24px;
    }

    .plan-card.recommended .plan-content {
        padding-top: 32px;
    }


    .feature-row img {
        width: 20px;
        height: 20px;
    }

    .btn-close img {
        width: 24px;
        height: 24px;
    }
}

/* Responsividade - Mobile Pequeno */
@media (max-width: 480px) {
	.popup-modal{
		height: auto;
		max-height: initial;
	}
    .popup-header {
        padding: 32px 16px;
        gap: 20px;
    }
	.header-content{
		margin-top: 0;
	}
	.popup-title{
		font-size: 36px;
	}
	.popup-subtitle{
		font-size: 16px;
	}

    .header-divider {
        max-width: 220px;
    }

	.pricing-plans{
		flex-wrap: wrap;
	}

    .pricing-container {
        padding: 24px 12px;
    }

    .plan-content {
        padding: 24px 16px;
    }

    .plan-card.recommended .plan-content {
        padding-top: 24px;
    }

    .recommended-tag {
        padding: 12px 10px;
    }

}

/* FórumPlay logo sizing: desktop and mobile share the same proportions. */
.header .header__logo { filter: none; flex-shrink: 0; }
.header .header__main { align-items: center; padding: 24px 0; }
.header__logo .logo, .footer__logo .logo { margin: 0; }
.footer .footer__logo .logo img { filter: brightness(0) invert(1); }
.header .header__logo .logo img, .footer .footer__logo .logo img {
    display: block;
    width: 229px;
    max-width: 100%;
    height: 78px;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.header .header__logo .logo img { width: 300px; height: auto; }
@media (max-width: 840px) {
    .header .header__main { padding: 18px 0; }
    .header .header__logo .logo img { width: 150px; }
}
