/* ==========================================
   CORE VALUES GRID STYLING
   ========================================== */

/* The outer grid container */
.values-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
    margin: 30px 0 50px 0;
}

/* Individual value boxes */
.value-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color, #e8e2d5);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    transition: transform 0.2s ease;
}

/* Subtle motion on hover */
.value-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-gold, #c59b4e);
}

/* Visual Anchor Emoji Styling */
.value-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

/* Align the icon and text horizontally */
.value-item h3 {
    font-family: "Georgia", serif;
    color: var(--primary-blue, #1a365d);
    font-size: 1.25rem;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    
    display: flex;
    align-items: center; /* Vertically centers the emoji with the letters */
    gap: 10px;           /* Gives a clean space between the emoji and the text */
}

/* Optional: Slight size adjustment for the embedded icon */
.value-item h3 span {
    font-size: 1.4rem;  /* Keeps the emoji crisp and slightly prominent */
    flex-shrink: 0;     /* Prevents the emoji from squishing on tight phone screens */
}


/* Paragraph adjustment inside the items */
.value-item p {
    font-size: 0.95rem;
    color: var(--text-dark, #233142);
    margin-bottom: 0 !important; /* Removes default paragraph gaps */
    line-height: 1.5;
}

/* Responsive Desktop Switch */
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr 1fr 1fr; /* Splts into 3 perfectly equal columns */
    }
}
/* Folder Title Headers Layout */
.folder-header {
    border-bottom: 1px solid var(--border-color, #e8e2d5);
    padding-bottom: 10px;
    margin-bottom: 18px;
}

/* Parks the emoji and text tightly together on the exact same line */
.folder-header h3 {
    font-family: "Georgia", serif;
    color: var(--primary-blue, #1a365d);
    font-size: 1.3rem;
    margin: 0 !important;
    
    display: flex;
    align-items: center; /* Centers the icon perfectly with the capital letters */
    gap: 8px;            /* Tight spacing between the icon and title text */
}

/* Fine-tune the nested emoji */
.folder-header h3 span {
    font-size: 1.4rem;  /* Keeps the emoji clean and visually balanced */
    flex-shrink: 0;     /* Ensures the emoji never squishes down on small screens */
}