/* 
Project Version: 1.7.0
Last modified: 20260428154500
Description: Resources page mobile refinements (Hero order & Stacked Slider).
*/

/* --- Hero Section Refinements --- */
.resources-hero {
    padding: 100px 0;
    color: #000;
}

.resources-hero--text-white {
    color: #fff;
}

.resources-hero__layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.resources-hero__content {
    max-width: 600px;
}

.resources-hero__subtitle {
    display: block;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: inherit;
}

.resources-hero__title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 25px;
    color: inherit;
}

.resources-hero__intro {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: inherit;
}

.resources-hero__btn {
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
}

.resources-hero--text-black .resources-hero__btn {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
}

.resources-hero--text-black .resources-hero__btn:hover {
    background-color: transparent;
    color: #000;
}

.resources-hero--text-white .resources-hero__btn {
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
}

.resources-hero--text-white .resources-hero__btn:hover {
    background-color: transparent;
    color: #fff;
}

/* --- How It Works Refinements --- */
.resources-how-to {
    padding: 80px 0;
    background: #fff;
}

.resources-how-to__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 50px;
}

.resources-how-to__step {
    text-align: left;
}

.resources-how-to__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #121212;
}

.resources-how-to__number {
    font-size: 1.1em;
    font-weight: 800;
    color: #000;
    display: inline-block;
    margin-right: 5px;
}

.resources-how-to__text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* --- Links List Refinements --- */
.resources-links {
    padding: 60px 0;
    background: #fff;
}

.resources-links__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.resources-links__link {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 150%;
    text-align: center;
    text-decoration: underline;
    color: #6E91D6;
    transition: color 0.3s ease;
}

.resources-links__link:hover {
    color: #121212;
}

/* --- Share Slider Refinements --- */
.resources-slider {
    padding: 80px 0;
}

.resources-slider__intro {
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-container-resources .swiper-slide {
    height: auto;
    display: flex;
}

.resource-card {
    background: transparent;
    padding: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.resource-card__image {
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 20px;
}

.resource-card__image img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.resource-card__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.resource-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-card__footer {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.resource-card__footer .btn {
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 6px 15px;
    border-radius: 2px;
    text-transform: uppercase;
    font-weight: 700;
    border: none;
}

.resource-card__footer .btn:hover {
    background: #333;
}

.resources-slider .swiper-scrollbar {
    margin-top: 60px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 0;
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
}

.resources-slider .swiper-scrollbar-drag {
    background: #000;
    border-radius: 0;
}

/* --- CTA Box Refinements --- */
.resources-cta {
    padding: 100px 0;
    background: #fff;
    color: #121212;
}

.resources-cta .section-title.with-decor {
    margin-bottom: 30px;
}

.resources-cta .section-title.with-decor h2 {
    color: #121212;
}

.resources-cta .section-title.with-decor h2:before,
.resources-cta .section-title.with-decor h2:after {
    color: #6e91d6;
}

.resources-cta__text {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 30.0499px;
    line-height: 115%;
    text-align: center;
    color: #6E91D6;
    margin-bottom: 40px;
}

.resources-cta__btn {
    background-color: #6e91d6;
    color: #fff;
    border: 1px solid #6e91d6;
    padding: 15px 35px;
    font-size: 18px;
    border-radius: 5px;
}

.resources-cta__btn:hover {
    background-color: #121212;
    border-color: #121212;
    color: #fff;
}

/* --- Responsive Refinements (v1.7.0) --- */
@media (max-width: 1024px) {
    .resources-hero__title { font-size: 48px; }
    .resources-how-to__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .resource-card__image { height: 250px; }
    .resources-how-to__title { font-size: 28px; }
    .resources-links__link { font-size: 24px; }
    .resources-cta__text { font-size: 24px; }
}

@media (max-width: 767px) {
    /* Hero Mobile Refinements */
    .resources-hero__layout { 
        flex-direction: column-reverse; /* Image stacking first */
        text-align: left; /* All text left-aligned */
    }
    .resources-hero__content { 
        max-width: 100%; 
    }
    .resources-hero__title { font-size: 36px; }
    .resources-hero__btn-wrap { text-align: left; }

    /* How It Works Mobile */
    .resources-how-to__grid { grid-template-columns: 1fr; gap: 30px; }
    .resources-how-to__title { font-size: 24px; margin-bottom: 20px; }

    /* Slider to Stacked List on Mobile */
    .swiper-container-resources .swiper-wrapper {
        flex-direction: column;
        height: auto;
        gap: 40px;
    }
    .swiper-container-resources .swiper-slide {
        width: 100% !important;
        height: auto;
    }
    .resources-slider .swiper-scrollbar {
        display: none; /* Hide scrollbar on mobile stacked list */
    }
    .resource-card__image { height: auto; max-height: 350px; min-height: 150px; }
    .resource-card__image img { max-height: 350px; }

    /* Links & CTA Mobile */
    .resources-links__link { font-size: 20px; }
    .resources-cta__text { font-size: 20px; }
}
