.cbmg-theme-footer {
    background: var(--cbmg-theme-primary);
    border-top: 1px solid rgba(244,242,238,.12);
    color: #FFFFFF;
}

.cbmg-theme-footer .cbmg-theme-logo-link,
.cbmg-theme-footer a { color: #FFFFFF; }
.cbmg-theme-footer a:hover { color: var(--cbmg-theme-secondary); }

.cbmg-theme-footer__inner {
    display: grid;
    grid-template-columns: minmax(180px, 260px) 1fr;
    gap: 24px;
    padding-block: 28px;
}

.cbmg-theme-footer__bottom {
    border-top: 1px solid rgba(244,242,238,.12);
    color: rgba(244,242,238,.78);
    font-size: 13px;
    padding-block: 12px;
}
.cbmg-theme-footer__bottom p { margin: 0; }

.cbmg-theme-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
}

.cbmg-theme-cookie__inner {
    width: min(100%, 760px);
    margin-inline: auto;
    background: var(--cbmg-theme-surface);
    border: 1px solid var(--cbmg-theme-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--cbmg-theme-text);
}

.cbmg-theme-cookie__button {
    border: 0;
    border-radius: 8px;
    background: var(--cbmg-theme-secondary);
    color: #fff;
    padding: 10px 18px;
    cursor: pointer;
}


.cbmg-theme-footer__top {
    border-bottom: 1px solid rgba(244,242,238,.12);
    background: rgba(0,0,0,.08);
}
.cbmg-theme-footer__top-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 28px;
    align-items: center;
    padding-block: 34px;
}
.cbmg-theme-footer__intro h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.25;
    font-weight: 600;
}
.cbmg-theme-footer__intro p {
    margin: 10px 0 0;
    color: rgba(244,242,238,.78);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
}
.cbmg-theme-footer__subscribe {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
}
.cbmg-theme-social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.cbmg-theme-social-link {
    inline-size: 38px;
    block-size: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(244,242,238,.08);
    color: #FFFFFF;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.cbmg-theme-social-link:hover {
    transform: translateY(-2px);
    background: #FFFFFF;
    color: var(--cbmg-theme-primary);
}
.cbmg-theme-social-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}
@media (max-width: 768px) {
    .cbmg-theme-footer__top-inner { grid-template-columns: 1fr; }
    .cbmg-theme-footer__subscribe,
    .cbmg-theme-social-links { align-items: flex-start; justify-content: flex-start; }
}

@media (max-width: 768px) {
    .cbmg-theme-footer__inner { grid-template-columns: 1fr; }
    .cbmg-theme-cookie__inner { flex-direction: column; align-items: flex-start; }
}
