/* assets/css/style.css */

.cohsar-footer {
    padding: 40px 0;
    width: 100%;
    box-sizing: border-box;
}

.cohsar-footer *,
.cohsar-footer *::before,
.cohsar-footer *::after {
    box-sizing: inherit;
}

.cohsar-footer-inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-custom-text-top {
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
}

.footer-custom-text-top img {
    max-width: 100%;
    height: auto;
}

.cohsar-footer-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}

.cohsar-footer-rich-text-middle {
    width: 100%;
    margin: 30px 0;
}

.cohsar-footer-rich-text-middle img {
    max-width: 100%;
    height: auto;
}

/* Columns */
.footer-col {
    flex: 1;
    min-width: 170px;
}

.footer-col-logo {
    flex-grow: 0;
    min-width: 150px;
    flex-basis: 150px;
}

.footer-col img {
    max-width: 150px;
    margin-bottom: 0;
    height: auto;
}

.footer-col h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Content inside rich text columns */
.footer-col-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col-content ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.footer-col-content li {
    margin-bottom: 6px;
}

.footer-col-content p {
    margin-bottom: 10px;
}

.footer-col-content a {
    text-decoration: none;
    transition: opacity 0.3s;
    display: block; /* Stack links vertically */
    margin-bottom: 8px;
}

.footer-col-content a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Bottom Areas */
.footer-social,
.footer-copy,
.footer-custom-text-bottom {
    text-align: center;
    width: 100%;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    margin: 0 10px;
    font-size: 20px;
    transition: opacity 0.3s;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-copy {
    margin-top: 30px;
    font-size: 0.9rem;
}

.footer-custom-text-bottom {
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .cohsar-footer-wrap {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .footer-col {
        flex-basis: 100%;
        min-width: 0;
        text-align: center;
    }

    .footer-col-logo {
        flex-basis: auto;
    }
}