/* source: /assets/css/footer.css */
@media (max-width: 768px) {
    .bp-social-icon svg {
        width: 40px !important;
        height: 40px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet-specific overrides: remove flex:1 1 auto on .bp-footer-links and
       ensure .bp-footer-content is not center-justified for tab view */
    .bp-footer-links {
        flex: 0 0 auto !important;
    }

    .bp-footer-content {
        justify-content: center !important;
    }
}
.bp-footer-main {
    padding: 0 0;
    background-color: #212127;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.bp-footer-main .container {
    position: relative;
    z-index: 1;
}

.bp-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.bp-footer-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bp-footer-logo .custom-logo-link {
    display: inline-block;
    flex-shrink: 0;
}

.bp-footer-logo .custom-logo {
    max-height: 110px !important;
    height: auto !important;
    width: auto !important;
}

.bp-footer-logo .bp-footer-site-title {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.bp-footer-logo .bp-footer-site-title a {
    color: #fff;
    font-size: 22px !important;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.bp-footer-logo .bp-footer-site-title a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.bp-footer-links {
    display: flex;
    gap: 50px;
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.bp-footer-categories,
.bp-footer-pages,
.bp-footer-connect,
.bp-footer-newsletter {
    flex: 0 0 auto;
}

.bp-footer-links-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-top: 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bp-footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bp-footer-links-list li {
    margin: 0 0 10px 0;
    padding: 0;
}

.bp-footer-links-list li:last-child {
    margin-bottom: 0;
}

.bp-footer-links-list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
}

.bp-footer-links-list a:hover,
.bp-footer-links-list a:focus {
    color: rgba(255, 255, 255, 0.9);
}

.bp-footer-connect {
    flex: 0 0 auto;
}

.bp-footer-social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}
@media (max-width: 768px) {
    .bp-footer-social-icons {
        justify-content: center;
    }
}
.bp-social-icon {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
    /* min-width: 48px;
    min-height: 48px; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.bp-social-icon:hover,
.bp-social-icon:focus {
    transform: translateY(-3px);
    opacity: 1;
}

.bp-social-icon svg {
    width: 30px;
    height: 30px;
    display: block;
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.bp-social-icon:hover svg,
.bp-social-icon:focus svg {
    fill: rgba(255, 255, 255, 0.9);
}

.bp-footer-newsletter {
    flex: 0 0 auto;
    min-width: 250px;
}

.bp-footer-newsletter-form {
    margin-top: 0;
    position: relative;
}

.bp-footer-newsletter-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.bp-footer-newsletter-form input[type="email"] {
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.bp-footer-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.15);
}

.bp-footer-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.bp-footer-newsletter-form input[type="submit"],
.bp-footer-newsletter-form button[type="submit"] {
    padding: 10px 20px;
    background-color: #fff;
    color: #1a1a1f;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bp-footer-newsletter-form input[type="submit"]:hover,
.bp-footer-newsletter-form button[type="submit"]:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.bp-footer-newsletter-form .mc4wp-response {
    margin: 0 0 10px 0;
    padding: 0;
    min-height: 0;
}

.bp-footer-newsletter-form .mc4wp-alert {
    margin: 0;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.4;
    border-radius: 4px;
    background-color: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81c784;
}

.bp-footer-newsletter-form .mc4wp-alert p {
    margin: 0;
    padding: 0;
}

.bp-footer-newsletter-form .mc4wp-alert.mc4wp-success {
    background-color: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
    color: #81c784;
}

.bp-footer-newsletter {
    display: flex;
    flex-direction: column;
}

.bp-footer-newsletter .bp-footer-links-title {
    margin-bottom: 15px;
}

.bp-footer-copyright {
    padding: 25px 0;
    background-color: #1a1a1f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bp-copyright-content {
    text-align: center;
}

.bp-footer-copyright .copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

@media (max-width: 768px) {
    /* Compact stacked footer cards for small screens */
    .bp-footer-main {
        padding: 24px 0;
    }

    .bp-footer-content {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
        max-width: 420px;
        margin: 0 auto;
        padding: 0 12px;
    }

    .bp-footer-logo {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .bp-footer-logo .custom-logo {
        max-height: 80px !important;
    }

    .bp-footer-logo .bp-footer-site-title a {
        font-size: 20px !important;
    }

    /* Make each footer section look like a card with a header row */
    .bp-footer-categories,
    .bp-footer-pages,
    .bp-footer-connect,
    .bp-footer-newsletter {
        width: 100%;
        background: rgba(10,12,16,0.55);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 6px 18px rgba(2,6,23,0.35);
        border: 1px solid rgba(255,255,255,0.03);
    }

    .bp-footer-links-title {
        background: rgba(255,255,255,0.03);
        padding: 12px 14px;
        margin: 0;
        font-size: 14px;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Add a small chevron on the right to mimic collapsible header look */
    .bp-footer-links-title::after {
        content: '\25BE';
        font-size: 14px;
        color: rgba(255,255,255,0.6);
        margin-left: 10px;
        transform: rotate(0deg);
        display: none;
    }

    .bp-footer-card-body,
    .bp-footer-links-list,
    .bp-footer-newsletter-form {
        padding: 12px 14px 16px 14px;
        background: transparent;
    }

    .bp-footer-links-list li {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }

    .bp-footer-links-list li:last-child {
        border-bottom: none;
    }

    /* Social/connect area centered and spaced */
    .bp-footer-connect .bp-footer-card-body {
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 16px;
        padding: 18px 14px;
    }

    /* Newsletter: input + button on one row for compact layout */
    .bp-footer-newsletter-form form {
        display: block;
        width: 100%;
        text-align: center;
    }

    .bp-footer-newsletter-form input[type="email"] {
        display: block;
        width: 100%;
        margin: 0 0 10px 0;
        padding: 10px 12px;
        border-radius: 6px;
        box-sizing: border-box;
        background: transparent;
    }

    .bp-footer-newsletter-form input[type="submit"],
    .bp-footer-newsletter-form button[type="submit"] {
        display: inline-block;
        margin: 0 auto;
        padding: 10px 24px;
        border-radius: 6px;
        background: #ffffff;
        color: #111;
        font-weight: 700;
        border: 1px solid rgba(0,0,0,0.06);
        text-align: center;
    }

    .bp-footer-newsletter-form .sib_loader {
        border-radius: 6px;
    }

    /* Center social media icons in the connect card */
    .bp-footer-connect .bp-footer-card-body {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 18px 14px;
    }

    .bp-social-icon {
        min-width: 48px;
        min-height: 48px;
    }

    .bp-footer-copyright {
        padding: 18px 0;
    }

}

@media (max-width: 480px) {
    .bp-footer-main {
        padding: 25px 0;
    }

    .bp-footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .bp-footer-copyright {
        padding: 20px 0;
    }

    .bp-footer-logo .custom-logo {
        max-height: 80px !important;
    }

    .bp-footer-logo .bp-footer-site-title a {
        font-size: 18px !important;
    }
}

.no-sidebar .entry-header,
.no-sidebar .entry-summary,
.no-sidebar .entry-content,
.no-sidebar .entry-footer,
.no-sidebar .author-info,
.no-sidebar .post-navigation,
.no-sidebar .comments-area,
.no-sidebar .pagination,
.no-sidebar:not(.error404):not(.search-no-results) .page-header {
    max-width: unset !important;
}

.no-sidebar .site-main>article {
    max-width: unset !important;
}

/* Brevo newsletter loader — overlay on submit button, black spinner on white button */
.bp-footer-newsletter-form .bp-newsletter-submit-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.bp-footer-newsletter-form .sib_loader {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    z-index: 1;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 4px;
    pointer-events: none;
}

.bp-footer-newsletter-form .sib_loader[style*="display: block"],
.bp-footer-newsletter-form .sib_loader[style*="display:block"],
.bp-footer-newsletter-form .sib_signup_form.sib_processing .sib_loader {
    display: flex !important;
}

.bp-footer-newsletter-form .sib_loader img {
    display: none;
}

.bp-footer-newsletter-form .sib_loader::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid rgba(26, 26, 31, 0.2);
    border-top-color: #1a1a1f;
    border-radius: 50%;
    animation: bp-footer-newsletter-spin 0.75s linear infinite;
}

@keyframes bp-footer-newsletter-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Brevo newsletter messages — match dark footer (override plugin light-green defaults) */
.bp-footer-newsletter-form .sib_msg_disp {
    margin: 0;
    width: 100%;
}

.bp-footer-newsletter-form .sib_msg_disp p.sib-alert-message {
    margin: 0 0 10px 0;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.4;
    border-radius: 4px;
    box-sizing: border-box;
}

.bp-footer-newsletter-form .sib_msg_disp .sib-alert-message-success {
    background-color: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81c784;
}

.bp-footer-newsletter-form .sib_msg_disp .sib-alert-message-error {
    background-color: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #e57373;
}

.bp-footer-newsletter-form .sib_msg_disp .sib-alert-message-warning {
    background-color: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffd54f;
}
/* source: /assets/css/community.css */
.bp-community-section {
    width: 100%;
    margin: 20px 0 40px 0;
    padding: 14px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: rgba(243, 237, 253, 0.68);
    border: 1px solid rgba(186, 167, 223, 0.7);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65); */
}

.bp-community-card {
    position: relative;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(250, 248, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.75) 100%);
    border: 2px solid rgba(118, 75, 162, 0.2);
    border-radius: 12px;
    padding: 25px 30px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    width: 100%;
}

.bp-community-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 25%,
            rgba(255, 255, 255, 0.4) 45%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.4) 55%,
            transparent 75%);
    animation: shineDiagonal 6s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shineDiagonal {
    0% {
        transform: translateX(-100%) translateY(100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(-100%) translateY(100%) rotate(45deg);
    }
}

.bp-community-title {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(118, 75, 162, 0.95);
    margin: 0 0 12px 0;
    text-shadow: none;
    letter-spacing: -0.5px;
}

.bp-community-description-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    margin-bottom: 18px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 992px) {

    .no-sidebar.single .site-main,
    .no-sidebar.page .site-main {
        background-color: transparent !important;
    }

    .no-sidebar.single .site-main>article,
    .no-sidebar.page .site-main>article {
        background: rgba(255, 255, 255, 0.6) !important;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(8px);
    }
}

.home .post-card .byline,
.home article .byline,
.home .entry-footer-meta .byline,
.home .post-card .author,
.home article .author {
    display: none !important;
}

.home .post-card .entry-footer-meta .byline,
.home article .entry-footer-meta .byline {
    display: none !important;
}

.bp-community-description {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(118, 75, 162, 0.85);
    margin: 0;
    flex: 1;
    text-align: center;
    max-width: 725px;
}

.bp-community-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(118, 75, 162, 0.15);
    border: 2px solid rgba(118, 75, 162, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(118, 75, 162, 0.2);
    flex-shrink: 0;
}

.bp-community-icon svg {
    width: 32px;
    height: 32px;
    fill: rgba(118, 75, 162, 0.8);
    transition: all 0.3s ease;
}

.bp-community-icon:hover {
    background: rgba(118, 75, 162, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.bp-community-icon:hover svg {
    fill: rgba(118, 75, 162, 1);
    transform: scale(1.1);
}

.bp-community-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 0;
}

.bp-community-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bp-community-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 25%,
            rgba(255, 255, 255, 0.3) 45%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.3) 55%,
            transparent 75%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bp-community-btn:hover::before {
    opacity: 1;
    animation: shineButton 0.8s ease-in-out;
}

@keyframes shineButton {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.bp-community-btn {
    position: relative;
}

.bp-btn-whatsapp {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.bp-btn-whatsapp:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: #ffffff;
}

.bp-btn-telegram {
    background: rgba(118, 75, 162, 0.2);
    color: rgba(118, 75, 162, 0.95);
    border: 2px solid rgba(118, 75, 162, 0.5);
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
}

.bp-btn-telegram:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.7);
    color: rgba(118, 75, 162, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

@media (max-width: 768px) {
    .bp-community-card {
        padding: 20px 20px;
        width: 100%;
    }

    .bp-community-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .bp-community-description-wrapper {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    .bp-community-description {
        font-size: 1rem;
        order: 2;
    }

    .bp-community-icon {
        width: 48px;
        height: 48px;
    }

    .bp-community-icon svg {
        width: 28px;
        height: 28px;
    }

    .bp-icon-whatsapp {
        order: 1;
    }

    .bp-icon-telegram {
        order: 3;
    }

    .bp-community-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .bp-community-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.85rem;
        min-height: 48px;
    }
}

/*
 * Below-the-fold homepage community block only (see index.php).
 * Skips layout/paint until the user scrolls near this section.
 */
.bp-community-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 320px;
}
