/* Citra Journal footer: shop-matched scale.
   Loaded last in templates/blog/base.html.
   Scoped to .custom-footer: leaves the header and content untouched. */

.custom-footer {
    padding: 60px 5% 20px !important;
    border-top: 4px solid #197F45 !important;
    background: #08354A !important;
    color: #fff !important;
}
.custom-footer .footer-top-line { display: none !important; }

.custom-footer .footer-container {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    align-items: start !important;
}
.custom-footer .footer-col,
.custom-footer .footer-col.footer-about-col,
.custom-footer .footer-col.footer-links-col,
.custom-footer .footer-col.footer-contact-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: right !important;
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
}
.custom-footer .footer-col h3 {
    display: inline-block !important;
    align-self: flex-start !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    margin: 0 0 20px !important;
    padding: 0 0 8px !important;
}
.custom-footer .footer-col h3::after {
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    width: 50px !important;
    height: 3px !important;
    background: #197F45 !important;
}
.custom-footer .footer-about-col p {
    max-width: none !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    color: rgba(255,255,255,.85) !important;
    text-align: justify !important;
}
.custom-footer .quick-links {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.custom-footer .quick-links li { margin: 0 0 12px !important; }
.custom-footer .quick-links a {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    color: rgba(255,255,255,.85) !important;
}
.custom-footer .quick-links a:hover { color: #59c58b !important; }
.custom-footer .contact-info { margin: 0 !important; padding: 0 !important; width: 100% !important; }
.custom-footer .contact-info li {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    text-align: right !important;
    gap: 12px !important;
    margin: 0 0 15px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    color: rgba(255,255,255,.85) !important;
    overflow-wrap: anywhere;
}
.custom-footer .contact-info li i {
    font-size: 15px !important;
    min-width: 16px !important;
    margin: 5px 0 0 !important;
    color: #197F45 !important;
}
.custom-footer .phone-container { align-items: flex-start !important; gap: 8px !important; min-width: 0; }
.custom-footer .phone-title,
.custom-footer .footer-phone,
.custom-footer .footer-email {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    color: rgba(255,255,255,.85) !important;
}
.custom-footer .footer-phone { direction: ltr !important; text-align: left !important; white-space: nowrap; }
.custom-footer .footer-col.brand-col {
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    gap: 0 !important;
}
.custom-footer .footer-logo-link {
    display: inline-flex !important;
    justify-content: center !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
}
.custom-footer .footer-logo {
    width: 130px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}
.custom-footer .brand-desc {
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin: 0 0 10px !important;
    color: rgba(255,255,255,.95) !important;
}
.custom-footer .social-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    direction: ltr !important;
}
.custom-footer .social-links a {
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.custom-footer .social-links img {
    width: 34px !important;
    height: 34px !important;
    object-fit: contain !important;
}
.custom-footer .enamad-box {
    margin-top: 20px !important;
    background: #fff !important;
    padding: 10px !important;
    border-radius: 12px !important;
    display: inline-block !important;
    line-height: normal !important;
}
.custom-footer .enamad-box img {
    display: block;
    max-width: 100px !important;
    height: auto !important;
}
.custom-footer .footer-bottom {
    max-width: 1200px !important;
    margin: 40px auto 0 !important;
    padding: 20px 0 0 !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    text-align: center !important;
}
.custom-footer .footer-bottom p {
    margin: 0 !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    color: rgba(255,255,255,.7) !important;
}
@media (max-width: 1024px) {
    .custom-footer .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 40px !important;
    }
}
@media (max-width: 600px) {
    .custom-footer { padding: 45px 20px 20px !important; }
    .custom-footer .footer-container {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 35px !important;
    }
    .custom-footer .footer-col,
    .custom-footer .footer-col.footer-about-col,
    .custom-footer .footer-col.footer-links-col,
    .custom-footer .footer-col.footer-contact-col {
        align-items: center !important;
        text-align: center !important;
    }
    .custom-footer .footer-col h3 { align-self: center !important; }
    .custom-footer .footer-col h3::after {
        right: 50% !important;
        transform: translateX(50%) !important;
    }
    .custom-footer .footer-about-col p { text-align: center !important; }
    .custom-footer .contact-info li {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
    .custom-footer .contact-info li i { margin: 0 !important; }
    .custom-footer .phone-container { align-items: center !important; }
}
