/* ==========================================================================
   CP DYNAMIC FOOTER SITEMAP GRID
   ========================================================================== */

.cp-footer-menu-wrapper {
    width: 100%;
    background-color: #2E2320;
    padding-top: 60px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

/* Perfect 8-Column Desktop Layout */
.cp-footer-menu-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.cp-footer-menu-column {
    display: flex;
    flex-direction: column;
}

/* Category Title Styling */
.cp-footer-column-title {
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-secondary-font-weight);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.4;
    margin: 0 0 20px 0;
}

.cp-footer-column-title a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.cp-footer-column-title a:hover {
    color: #bca05c !important; /* Soft gold accent on hover */
}

/* Sub-links List */
.cp-footer-column-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Elegant vertical spacing between links */
}

.cp-footer-column-links li {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.cp-footer-column-links li a {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: var(--e-global-typography-text-font-weight);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75) !important; /* Elegant off-white text color */
    text-decoration: none !important;
    line-height: 1.4;
    transition: color 0.2s ease;
    display: inline-block;
}

.cp-footer-column-links li a:hover {
    color: #ffffff !important;
    transform: translateX(2px); /* Tiny interactive movement */
}

/* ==========================================================================
   RESPONSIVE LAYOUT TRACKS
   ========================================================================== */

/* Laptops & Small Desktops (Up to 1200px) */
@media (max-width: 1200px) {
    .cp-footer-menu-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)); /* Drops to 4 columns */
        gap: 30px;
    }
}

/* Tablets (Up to 768px) */
@media (max-width: 768px) {
    .cp-footer-menu-wrapper {
        padding: 40px 24px;
    }

    .cp-footer-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* Drops to 2 columns */
        row-gap: 40px;
        column-gap: 24px;
    }
}

/* Mobile Devices (Up to 480px) */
@media (max-width: 480px) {
    .cp-footer-menu-grid {
        grid-template-columns: 1fr; /* Single column layout for perfect mobile reading */
        row-gap: 35px;
    }

    .cp-footer-column-title {
        margin-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separation divider on mobile */
        padding-bottom: 8px;
    }
}