
/*-- SECTIONS --*/

body section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 15px;
    padding-top: 15px;
}


/*-- SECTIONS - Media Small Screens --*/

@media (max-width: 750px) {
    body section {
        flex-direction: column;
    }
}


/*-- SECTION 1 --*/

.section-listings-search-page {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    margin-top: 20px;
}

.section-listings-search-page .add-free-listings-btn { 
    align-self: flex-end;
    margin-right: 10%;
}

.section-listings-search-page h1 {
    font-size: 3.5rem;
    text-align: center;
}

.section-listings-search-page {
    flex-direction: column;
    padding: 0 5px;
}

.section-listings-search-page .topics-intro {
    max-width: min(100%, 500px);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.topics-intro .intro-text {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.topics-intro .list-of-topics {
    max-width: min(100%, 500px);
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
}

/* Cursive writting is difficult to read, especially on
mobile, so increase the font-size. */
.topics-intro .topic {
    font-family: cursive;
    font-size: 1rem;
    padding: 5px;
    background-color: #a887a4;
    text-decoration: none;
}

.topic:last-child {
    background-color: #dedac6;
}

.section-listings-search-page h2,
.section-listings-search-page .header-s {
    text-align: center;
}

.section-listings-search-page .scroll-img { 
    background-color: white;   
    font-size: 1.1rem;
    margin-bottom: 10px;
    height: 40px;
}

/* * This size ensures the image will not overlap the text on
the right as the screen size shrinks. */
.section-listings-search-page .background-img {
    width: 450px; /* See the note above */
    position: absolute;
    height: auto;
    top: 85px;
    bottom: 0;
    left: 10px;
    right: 0;
    mix-blend-mode: multiply; /* Removes the white background if wepb file does not load. */
    box-shadow: none; /* Remove the default style from main-styles.css */
    z-index: 0;
    border-radius: unset; /* Overrides the style applied from main-styles.css */
}

@media (max-width: 1400px) {

    .section-listings-search-page {
        padding-bottom: 0 !important;
    }

    /* This ensure the image will not overlap the text to the right */
    .section-listings-search-page .background-img {
        width: 300px;
    }
}


@media (max-width: 1150px) {

    /* This ensure the image will not overlap the text to the right */
    .section-listings-search-page .background-img {
        z-index: 1;
        position: initial;
    }
}


@media (max-width: 750px) {

    .section-listings-search-page .background-img {
        width: 75vw;
    }

    .section-listings-search-page .add-free-listings-btn { 
        display: none;
    }

    /* Cursive is difficult to read on mobile therfore, change the font style. */
    .topics-intro .topic {
        font-size: 0.95rem;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    }
}


/*-- SECTION 2 -- */
/* The rest of the css in .filter-results.css */

.section-listings-search {
    margin-bottom: 50px;
}

@media (max-width: 1150px) {

    .section-listings-search {
        padding-top: 0;
        margin-top: 0;
    }

    .section-listings-search {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {

    .section-listings-search-page .background-img {
        width: 99vw;
    }
}


/*-- SECTION 3 -- */
/* There is more default css in swiper-carousels.css for the stying
of the carousels. */

.section-carousel-listing-ideas,
.section-ev-carousel {
    flex-direction: column;
    box-shadow: 0 0px 1px rgb(41, 55, 73);
}

.section-ev-carousel {
    background-color: #d4c4d4;
}

.section-carousel-listing-ideas .idea-intro,
.section-ev-carousel .idea-intro {
    font-size: 1.1rem;
}

/* Override default css from swiper-carousels.css */
.section-carousel-listing-ideas .slider-inner-cont,
.section-ev-carousel .slider-inner-cont {
    justify-content: flex-start;
    margin: 2.5px;
    background-color: transparent;
}

.section-carousel-listing-ideas .category-header,
.section-ev-carousel .category-header {
    width: 100%; /* Ensures uniform highlight width across all header items. */
    text-decoration: none;
    margin: 5px 0;
    padding: 5px;
    font-size: 1.1rem;
    color: black;
    text-align: center;
}

.section-carousel-listing-ideas .category-header {
    background-color: #ca9dc5;
}

.section-ev-carousel .category-header {
    background-color: white;
}

.section-ev-carousel .special-event-date {
    font-size: 0.90rem;
    background-color: rgb(223, 213, 221);
    margin-top: 5px;
}

.slider-inner-cont .category-description {
    font-size: 0.90rem;
    text-align: center;
    background-color: rgb(228, 230, 231);
    margin-bottom: 10px;
}

.slider-inner-cont > * {
    background-color: transparent;
}

.slider-inner-cont .listing-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    text-align: center;
    color: white;
}

.section-carousel-listing-ideas .listing-img {
    height: 100px;
}

.section-carousel-listing-ideas .listing-img img {
    object-fit: cover;
    height: 100px;
}

/* Styles for the active bullets */
.section-carousel-listing-ideas .swiper-pagination-bullet.swiper-pagination-bullet-active,
.section-ev-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #a887a4;
}

@media (max-width: 750px) {

    /* Reduced the amount of line of text and therefore the height of the el. */
    .section-carousel-listing-ideas .category-header,
    .section-ev-carousel .category-header {
        font-size: 1rem;
    }    
}

/*-- SECTION 5 -- */
/*-- Check the service-highlights.css file */


/*-- SECTION 6 -- */
/* There is more default css in swiper-carousels.css */

.section-testimonials-carousel {
    background-color: rgba(240, 202, 202, 0.514);   
    text-align: center;
    flex-direction: column;
}

/* Override default css from swiper-carousels.css */
.section-testimonials-carousel .slider-inner-cont {
    justify-content: flex-start;
}

.section-testimonials-carousel .carousel-top-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.section-testimonials-carousel .listing-img {
    height: 100px;
}

.section-testimonials-carousel .listing-img img {
    object-fit: cover;
    height: 100px;
}

/* Styles for active bullet */
.section-testimonials-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #a887a4;
}

.person {
    text-align: center;
    color: rgb(122, 80, 131);
    margin-bottom: 30px;
}


/*-- SECTION 7 --*/

.section-txt-btns {
    width: 100%;
    flex-direction: column;
    margin: 20px 0 30px 0;
}

.section-txt-btns h4 {
    text-align: center;
}
