﻿:root {
    /* Using the same color variables from stfmhome.css */
    --fellowship-light-bg: #f8f9fa;
    --fellowship-accent: rgba(0, 150, 210, 0.1); /* Lighter version of tertiary */
}

.conference-offerings-redesigned {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Experience row layout */
.experience-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

    .experience-row:last-child {
        margin-bottom: 0;
    }

/* Base item styling */
.experience-item {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    padding: 1.75rem 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .experience-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

a.experience-item,
a.experience-item:hover,
a.experience-item:focus {
    text-decoration: none !important;
}


/* Content styling */
.item-content {
    flex: 1;
    z-index: 1;
}

.experience-title {
    font-family: var(--stfm-heading-font);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: var(--stfm-primary);
}

.experience-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: var(--stfm-text);
}

/* Icon styling */
.item-icon-wrapper {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    margin: 0 1.25rem;
    position: relative;
    z-index: 1;
    background-color: #f5f7fa;
    color: var(--stfm-secondary);
    transition: transform 0.3s ease;
}

.experience-item:hover .item-icon-wrapper {
    transform: scale(1.1);
}

/* Color accent strip */
.color-accent {
    position: absolute;
    width: 6px;
    height: 70%;
    top: 15%;
    left: 0;
    border-radius: 3px;
}

.primary-accent {
    background-color: var(--stfm-primary);
}

.secondary-accent {
    background-color: var(--stfm-secondary);
}

/* Ensure alternating layout for items */
.experience-row .experience-item:nth-child(even) {
    flex-direction: row-reverse;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    text-decoration: none;
}

    .benefit-item::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 0;
        bottom: 0;
        left: 0;
        background-color: var(--fellowship-accent);
        z-index: -1;
        transition: height 0.3s ease;
    }

    .benefit-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        text-decoration: none;
    }

        .benefit-item:hover::before {
            height: 100%;
        }

.benefit-icon {
    font-size: 1.8rem;
    color: var(--stfm-tertiary);
    flex-shrink: 0;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-content h3 {
    color: var(--stfm-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #555555;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.benefits-image {
    margin-top: 3rem;
    text-align: center;
    position: relative;
}

/* Responsive styles */
@media (max-width: 991.98px) {
    .experience-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .experience-item {
        width: 100%;
        padding: 1.5rem;
    }

    .item-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 767.98px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .experience-item {
        flex-direction: column !important; /* Override the row-reverse for even items */
        text-align: center;
        padding: 1.75rem 1.25rem;
    }

    .item-content {
        order: 2;
        margin-top: 1rem;
    }

    .item-icon-wrapper {
        order: 1;
        margin: 0.5rem 0;
    }

    /* Reposition color accent for mobile */
    .color-accent {
        width: 70%;
        height: 6px;
        top: 0;
        left: 15%;
        border-radius: 3px;
    }
    .benefit-item .benefit-icon {
        display: none;
    }
}