/* ==========================================================================
   Monster of News — Bento / app-style footer (CRVS-604)
   Archetype: row of rounded SaaS-style cards (newsletter / categories / recent),
   then a brand row (logo + social), thin divider, copyright.
   Accent: indigo (#6266ea) on dark (#15151f). Font: Open Sans.
   ========================================================================== */

.crvs-footer{
    clear:both;
    width:100%;
    box-sizing:border-box;
    --crvs-accent:#6266ea;
    --mon-bg:#15151f;
    --mon-panel:#1e1e2c;
    --mon-line:rgba(255,255,255,.08);
    --mon-text:#ececf6;
    --mon-muted:#9a9ab8;
    background:var(--mon-bg);
    color:var(--mon-text);
    font-family:"Open Sans", Arial, sans-serif;
    margin-top:48px;
}

.crvs-footer *{box-sizing:border-box;}
.crvs-footer a{text-decoration:none;color:inherit;}

.crvs-footer__inner{
    max-width:1140px;
    margin:0 auto;
    padding:56px 24px 0;
}

/* --- bento card row --- */
.crvs-bento{
    display:grid;
    grid-template-columns:1.3fr 1fr 1.2fr;
    gap:22px;
    align-items:stretch;
}

.crvs-card{
    background:var(--mon-panel);
    border:1px solid var(--mon-line);
    border-radius:18px;
    box-shadow:0 18px 40px rgba(0,0,0,.28);
    padding:28px;
    display:flex;
    flex-direction:column;
}

.crvs-card__title{
    color:#fff;
    font-size:15px;
    font-weight:600;
    letter-spacing:.3px;
    margin:0 0 6px;
}

/* --- card 1: newsletter CTA --- */
.crvs-card--cta .crvs-card__sub{
    color:var(--mon-muted);
    font-size:13px;
    line-height:1.5;
    margin:0 0 20px;
}
.crvs-news{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:auto;
}
.crvs-news__input{
    width:100%;
    background:rgba(255,255,255,.04);
    border:1px solid var(--mon-line);
    border-radius:12px;
    color:#fff;
    font-family:inherit;
    font-size:14px;
    padding:13px 15px;
    outline:none;
    transition:border-color .2s ease;
}
.crvs-news__input::placeholder{color:#71718f;}
.crvs-news__input:focus{border-color:var(--crvs-accent);}
.crvs-news__btn{
    width:100%;
    background:var(--crvs-accent);
    border:0;
    border-radius:12px;
    color:#fff;
    cursor:pointer;
    font-family:inherit;
    font-size:14px;
    font-weight:600;
    letter-spacing:.3px;
    padding:13px 16px;
    transition:background .2s ease, transform .2s ease;
}
.crvs-news__btn:hover{background:#7276ec;transform:translateY(-1px);}

/* --- card 2: categories --- */
.crvs-cats{list-style:none;margin:8px 0 0;padding:0;}
.crvs-cats li{border-bottom:1px solid var(--mon-line);}
.crvs-cats li:last-child{border-bottom:0;}
.crvs-cats a{
    display:block;
    color:#dcdceb;
    font-size:14px;
    padding:11px 0;
    transition:color .2s ease, padding-left .2s ease;
}
.crvs-cats a:hover{color:var(--crvs-accent);padding-left:6px;}

/* --- card 3: recent posts --- */
.crvs-card--recent .crvs-post{
    display:flex;
    align-items:center;
    gap:13px;
    padding:10px 0;
    border-bottom:1px solid var(--mon-line);
}
.crvs-card--recent .crvs-post:first-of-type{padding-top:6px;}
.crvs-card--recent .crvs-post:last-child{border-bottom:0;padding-bottom:0;}
.crvs-post__img{
    flex:0 0 70px;
    width:70px;
    height:52px;
    object-fit:cover;
    border-radius:10px;
}
.crvs-post__title{
    color:#d7d7ea;
    font-size:13px;
    font-weight:600;
    line-height:1.45;
    transition:color .2s ease;
}
.crvs-post:hover .crvs-post__title{color:var(--crvs-accent);}

/* --- brand row: logo left, social right --- */
.crvs-footer__brand{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-top:40px;
}
.crvs-footer__logo{display:inline-flex;align-items:center;line-height:0;}
.crvs-footer__logo img{height:46px;width:auto;display:block;max-width:240px;}
/* filled rounded-square bento tiles, indigo tint -> solid accent on hover */
.crvs-social{display:flex;align-items:center;gap:10px;}
.crvs-social a{
    width:44px;
    height:44px;
    border-radius:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:rgba(98,102,234,.16);
    border:0;
    font-size:19px;
    line-height:1;
    transition:background .2s ease, transform .2s ease;
}
.crvs-social a:hover{
    background:var(--crvs-accent);
    transform:translateY(-3px);
}

/* --- thin divider --- */
.crvs-footer__divider{
    height:1px;
    width:100%;
    background:var(--mon-line);
    margin:32px 0 0;
}

/* --- copyright --- */
.crvs-footer__copy{
    color:var(--mon-muted);
    font-size:13px;
    padding:22px 24px 28px;
    text-align:center;
}

.crvs-footer #translate-wrapper{
    text-align:center;
    padding-bottom:18px;
}

/* ==========================================================================
   Responsive — cards stack, single column, no horizontal overflow
   ========================================================================== */
@media (max-width:900px){
    .crvs-bento{grid-template-columns:1fr;gap:18px;}
}
@media (max-width:767px){
    .crvs-footer__inner{padding:44px 18px 0;}
    .crvs-card{padding:24px;}
    .crvs-footer__brand{
        flex-direction:column;
        align-items:center;
        gap:20px;
        text-align:center;
        margin-top:32px;
    }
}
