/* ========================================
   WHY BUY FROM US PAGE STYLES (Custom HTML Redesign)
   ======================================== */

/* ----------------------------------------
   1. PAGE CANVAS overrides
   ---------------------------------------- */
body.page-id-265 .page-header,
body.page-id-265 .entry-header {
    display: none !important;
}

body.page-id-265 #content-wrap,
body.page-id-265 #primary,
body.page-id-265 .content-area,
body.page-id-265 .entry-content {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-id-265 #primary {
    border: 0 !important;
}

body.page-template-default .safebox2u-wbfu-page,
.safebox2u-wbfu-page {
    background: #f8faf9;
    color: #3d4f46;
    font-family: var(--font-body);
    overflow: hidden;
    padding-bottom: 0;
}

.safebox2u-wbfu-page *,
.safebox2u-wbfu-page *::before,
.safebox2u-wbfu-page *::after {
    box-sizing: border-box;
}

.safebox2u-wbfu-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Hide page title generated by theme (if any) */
.safebox2u-wbfu-page .page-header {
    display: none !important;
}

.page-header {
    display: none !important;
}

.page-header .entry-header {
    display: none !important;
}

/* ----------------------------------------
   ANIMATION KEYFRAMES
   ---------------------------------------- */
@keyframes wbfu-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wbfu-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ----------------------------------------
   2. HERO HEADER
   ---------------------------------------- */
.safebox2u-wbfu-hero {
    background: linear-gradient(135deg, #0f261a 0%, #1e4030 40%, #3F6A54 100%);
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    text-align: center;
}

.safebox2u-wbfu-hero::after {
    animation: wbfu-fade-in 0.8s 1.2s ease 1 both;
    background: linear-gradient(90deg, #FFD700, rgba(255, 215, 0, 0.2), rgba(255, 255, 255, 0));
    bottom: 0;
    content: "";
    height: 5px;
    left: 0;
    position: absolute;
    right: 0;
}

.safebox2u-wbfu-hero h1 {
    animation: wbfu-fade-up 0.7s 0.2s ease both;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 auto 20px;
    max-width: 860px;
}

.safebox2u-wbfu-lede {
    animation: wbfu-fade-up 0.7s 0.5s ease both;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 auto 16px;
    max-width: 800px;
}

.safebox2u-wbfu-lede-sub {
    animation: wbfu-fade-up 0.7s 0.7s ease both;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto 30px;
    max-width: 760px;
}

.safebox2u-wbfu-hero-actions {
    animation: wbfu-fade-up 0.7s 0.9s ease both;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.safebox2u-wbfu-btn-primary,
.safebox2u-wbfu-btn-secondary {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-size: 16px;
    font-weight: 800;
    justify-content: center;
    min-height: 52px;
    padding: 14px 32px;
    text-decoration: none !important;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.safebox2u-wbfu-btn-primary {
    background: linear-gradient(135deg, #ffe566 0%, #FFD700 45%, #e6a800 100%);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.32);
    color: #1a1a1a !important;
}

.safebox2u-wbfu-btn-primary:hover {
    background: linear-gradient(135deg, #ffd200 0%, #e6a800 100%);
    box-shadow: 0 12px 32px rgba(255, 180, 0, 0.4);
    transform: translateY(-2px);
}

.safebox2u-wbfu-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #ffffff !important;
}

.safebox2u-wbfu-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ----------------------------------------
   3. THE 8-CARD GRID
   ---------------------------------------- */
.safebox2u-wbfu-grid-section {
    padding: 60px 0 80px;
}

.safebox2u-wbfu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.safebox2u-wbfu-card {
    background: #ffffff;
    border: 1px solid #e8ede9;
    border-top: 4px solid #3F6A54;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 38, 26, 0.06);
    padding: 32px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.safebox2u-wbfu-card:hover {
    border-top-color: #FFD700;
    box-shadow: 0 18px 40px rgba(15, 38, 26, 0.12);
    transform: translateY(-5px);
}

.safebox2u-wbfu-icon-wrap {
    align-items: center;
    background: #f8faf9;
    border: 1px solid #e8ede9;
    border-radius: 50%;
    display: flex;
    height: 64px;
    justify-content: center;
    margin-bottom: 20px;
    width: 64px;
}

.safebox2u-wbfu-icon {
    display: block;
    height: 36px;
    width: 36px;
    object-fit: contain;
}

.safebox2u-wbfu-card h2 {
    color: #1a1a1a;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.safebox2u-wbfu-card p {
    color: #5a6b62;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex-grow: 1;
    /* Pushes list to the bottom if present */
}

.safebox2u-wbfu-card a {
    color: #3F6A54;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(63, 106, 84, 0.3);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.safebox2u-wbfu-card a:hover {
    color: #2d5a3f;
    text-decoration-color: #2d5a3f;
}

/* Bulleted Lists inside cards */
.safebox2u-wbfu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: auto;
    /* Aligns to bottom */
}

.safebox2u-wbfu-list li {
    background: #f8faf9;
    border: 1px solid #e8ede9;
    border-radius: 6px;
    color: #3d4f46;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 10px 14px;
    position: relative;
    padding-left: 36px;
}

.safebox2u-wbfu-list li:last-child {
    margin-bottom: 0;
}

.safebox2u-wbfu-list li::before {
    content: "✓";
    color: #3F6A54;
    font-weight: 800;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

/* ----------------------------------------
   4. OUTRO BANNER
   ---------------------------------------- */
.safebox2u-wbfu-outro {
    background: linear-gradient(180deg, #f8faf9 0%, #ffffff 100%);
    border-top: 1px solid #e8ede9;
    padding: 70px 0;
    text-align: center;
}

.safebox2u-wbfu-outro h2 {
    color: #1a1a1a;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 16px 0;
}

.safebox2u-wbfu-outro p {
    color: #5a6b62;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 auto 30px;
    max-width: 680px;
}

/* ----------------------------------------
   5. MOBILE RESPONSIVE
   ---------------------------------------- */
@media (max-width: 1024px) {
    .safebox2u-wbfu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .safebox2u-wbfu-hero {
        padding: 50px 0;
    }

    .safebox2u-wbfu-hero h1 {
        font-size: 32px;
    }

    .safebox2u-wbfu-lede {
        font-size: 17px;
    }

    .safebox2u-wbfu-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .safebox2u-wbfu-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .safebox2u-wbfu-hero-actions a {
        width: 100%;
    }
}