/* ========================================
   SAFE CATEGORIES PAGE REDESIGN
   ======================================== */

/* 1. Remove OceanWP and Elementor Gaps */
.page-id-11290 #main,
.page-id-11290 #content-wrap,
.page-id-11290 #primary,
.page-id-11290 .elementor-section,
.page-id-11290 .elementor-section-wrap,
.page-id-11290 .elementor-container,
.page-id-11290 .elementor-column,
.page-id-11290 .elementor-widget-wrap,
.page-id-11290 .elementor-widget,
.page-id-11290 .elementor-widget-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 80px !important; /* Increased padding */
    overflow: visible !important;   /* Kill the clipping line globally on this page */
}

.page-id-11290 #site-header {
    margin-bottom: 0 !important;
}

/* ----------------------------------------
   SAFE CATEGORIES HERO BANNER
   ---------------------------------------- */
.safebox2u-categories-hero {
    background: linear-gradient(135deg, #0f261a 0%, #1e4030 100%);
    border-radius: 0;
    margin: 0 0 40px 0;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-shadow: 0 10px 30px rgba(15, 38, 26, 0.15);
}

.safebox2u-categories-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,215,0,0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* Gold Accent Line */
.safebox2u-categories-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
    z-index: 10;
}

.safebox2u-categories-hero-content {
    position: relative;
    z-index: 2;
}

.safebox2u-categories-hero-title {
    color: #ffffff;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: safebox2u-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.safebox2u-categories-hero-desc {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: safebox2u-fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0; /* Hidden before animation */
}

@keyframes safebox2u-fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------------------
   CATEGORY GRID REFINEMENT
   ---------------------------------------- */
.page-id-11290 .elementor-widget-container {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-id-11290 .elementor-column:hover .elementor-widget-container {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.page-id-11290 h2 {
    color: #1e4030;
    font-weight: 700;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-id-11290 .elementor-column:hover h2 {
    color: #3F6A54;
}
