/*
Theme Name:   Saved Child (VTC)
Theme URI:    https://churchthemes.com/themes/saved/
Description:  Saved Child Theme incorporating the VTC Global Design System
Author:       VTC Admin
Template:     saved
Version:      1.0.0
Text Domain:  saved-child
*/

/* Import Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Apply Inter font globally across the theme */
body, h1, h2, h3, h4, h5, h6, p, a, span, .vtc-global-section {
    font-family: 'Inter', sans-serif;
}

/* =========================================================
   VTC GLOBAL DESIGN SYSTEM
   ========================================================= */

/* 1. GLOBAL VARIABLES */
:root {
    --vtc-blue: #2260E0;
    --vtc-dark: #151515;
    --vtc-text: #5F6470;
    --vtc-light: #F4F5F7;
    --vtc-white: #FFFFFF;
    --vtc-container-width: 1180px;
    --vtc-side-space: 50px;
}

/* 2. FULL WIDTH SECTION OVERRIDE
.vtc-global-section {
    position: relative;
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 110px 0 !important;
    box-sizing: border-box;
}
 */


/* 2. FULL WIDTH SECTION OVERRIDE */
.vtc-global-section {
    position: relative;
    padding: 110px 0 !important;
    box-sizing: border-box;

    /* Default to safe, native boundaries for Mobile and Tablet */
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Only apply the 100vw breakout on Desktop screens */
@media (min-width: 1001px) {
    .vtc-global-section {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }
}

/* 3. SHARED CONTENT CONTAINER */
.vtc-global-container {
    width: min(
        var(--vtc-container-width),
        calc(100% - (var(--vtc-side-space) * 2))
    ) !important;
    max-width: var(--vtc-container-width) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* 4. SHARED TYPOGRAPHY */
.vtc-section-label {
    display: block;
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: var(--vtc-blue);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Updated Title */
.vtc-global-content h2,
.vtc-section-heading h2 {
    margin: 0 0 22px !important;
    padding: 0 !important;
    color: var(--vtc-dark);
    font-size: 43px !important;
    line-height: 1.12;
    font-weight: 700 !important;
    box-sizing: border-box;
}

/* Updated Description */
.vtc-global-content p,
.vtc-section-heading p {
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: var(--vtc-text);
    font-size: 16px !important;
    line-height: 1.8;
    font-weight: 400 !important;
    box-sizing: border-box;
}

.vtc-global-content p:last-child {
    margin-bottom: 0 !important;
}

/* 5. SHARED IMAGE HANDLING */
.vtc-global-image {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.vtc-global-image img {
    display: block;
    width: 100% !important;
    height: 470px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}
.vtc-global-image::before {
    display: none !important;
}

/* 6. LAYOUT GRIDS */
.vtc-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.vtc-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.vtc-4col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.vtc-card {
    padding: 30px;
    background: var(--vtc-white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-sizing: border-box;
}



/* 7. RESPONSIVE RULES */
html, body {
    overflow-x: hidden;
}

@media (max-width: 1000px) {
    :root { --vtc-side-space: 35px; }
    .vtc-global-section { padding: 85px 0 !important; }
    .vtc-split-grid { gap: 50px; }
    .vtc-global-image img { height: 420px !important; }
    .vtc-3col-grid, .vtc-4col-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    :root { --vtc-side-space: 20px; }
    .vtc-global-section { padding: 65px 0 !important; }
    .vtc-global-content h2, .vtc-section-heading h2 { font-size: 32px !important; line-height: 1.18; }
    .vtc-split-grid, .vtc-3col-grid, .vtc-4col-grid { grid-template-columns: 1fr; gap: 35px; }
    .vtc-global-image img { height: 330px !important; }
}