/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/


/* Post Styles */

body.wp-singular.single-post h1 {
    font-size: 28px;
    color: #F7CB00;
    line-height: 1.7;
}
body.wp-singular.single-post h2 {
    font-size: 22px;
    color: #2BCCD8;
    line-height: 1.7;
}
body.wp-singular.single-post h3 {
    font-size: 20px;
    color: #EE8C1C;
    line-height: 1.7;
}
body.wp-singular.single-post h4 {
    font-size: 18px;
    color: #2BCCD8;
    line-height: 1.7;
}
body.wp-singular.single-post h5 {
    font-size: 16px;
    color: #EE8C1C;
    line-height: 1.7;
}
body.wp-singular.single-post p {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
}
body.wp-singular.single-post th {
    font-size: 18px;
    color: #FFF;
    line-height: 1.7;
    background-color: #2BCCD8;
}
body.wp-singular.single-post td {
    font-size: 16px;
    line-height: 1.7;
}


/* School Ratings & Stars*/
.school-ratings {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 24px;
    color: #52565B;
}
.school-ratings .stars {
    display: flex;
    gap: 2px;
}
.school-ratings .stars svg {
    width: 16px !important;
    height: 16px !important;
}
.school-ratings .star.full path  { fill: #FFD700; }
.school-ratings .star.empty path { fill: #DDD; }
.school-ratings .star.half path  { fill: url(#half-grad); }
.school-ratings.star-sm {
    font-size: 13px;
    line-height: 20px;
}
.school-ratings.star-sm .stars svg {
    width: 14px !important;
    height: 14px !important;
}


/* Review List & Marquee */
.review-item {
    display: flex;
    align-items: center;
    color: #52565B;
    font-size: 14px;
    padding: 8px 12px;
    background-color: #ffffff99;
    border-radius: 6px;
    white-space: nowrap;
}
.review-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #52565B;
    transition: color .3s ease;
}
.review-item .school-ratings {
    font-size: 15px;
}
    /* marquee */
.marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.marquee__track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}
.marquee__group {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.review-item.layout-marquee {
    white-space: nowrap;
}
    /* list large */
.review-list.layout-list-large {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}
.review-item.layout-list-large {
    padding: 32px;
    border: 1px solid #CCC;
    border-radius: 16px;
    justify-content: center;
}
.review-item.layout-list-large .review-link {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
    text-align: center;
    background: #fff;
}
    /* list small */
.review-list.layout-list-small {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}
.review-item.layout-list-small {
    padding: 16px;
    border: 1px solid #CCC;
    border-radius: 0px;
    justify-content: flex-start;
}
.review-item.layout-list-small .review-link {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    text-align: left;
}
.review-item.layout-list-small .student-name,
.review-item.layout-list-small .school-ratings {
    width: auto;
}
.review-item.layout-list-small .student-review {
    width: 100%;
}
    /* cards */
.review-list.layout-list-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}
.review-item.layout-list-cards {
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 3px 8px rgba(0,0,0,.15);
    padding: 16px;
    width: 250px;
    border-radius: 12px;
}
.review-item.layout-list-cards .review-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}


/* Primary Category */
a.primary-category.category-item {
    padding: 4px 8px;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #FFF;
    background-color: #F7CB00;
    transition: all .2s ease;
}
a.primary-category.category-item:hover {
    background-color: #45B8E9;
}

/* All Categories List */
.all-categories-list {
    list-style: none;
    padding: 0 20px;
}
.all-categories-list .fa,
.all-categories-list .far,
.all-categories-list .fas {
    display: inline-block;
    min-width: 20px;
    text-align: center;
    font-family: "Font Awesome 5 Free";
    color: #F7CB00;
    transition: transform .3s ease;
}
.all-categories-list .fa,
.all-categories-list .far { font-weight: 400; }
.all-categories-list .fas { font-weight: 900; }
.all-categories-list .category-item:hover .fa,
.all-categories-list .category-item:hover .far,
.all-categories-list .category-item:hover .fas {
    transform: scale(1.2);
}
.all-categories-list .category-item:not(:first-child) {
    padding-top: 8px;
}
.all-categories-list .category-item:not(:last-child) {
    padding-bottom: 8px;
    border-bottom: 1px dashed #ddd;
}
.all-categories-list .category-link {
    font-size: 15px;
    color: #52565B;
    transition: color .3s ease;
}
.all-categories-list .category-link:hover {
    color: #F7CB00;
}

body.single-post .all-categories-list .fa,
body.single-post .all-categories-list .far,
body.single-post .all-categories-list .fas {
    color: #06BBCC;
}
body.single-post .all-categories-list .category-link:hover {
    color: #06BBCC;
}


/* Quick Nav */
#quick-nav-wrapper .fluentform .ff-t-container {
    flex-direction: column;
    gap: 0;
}
#quick-nav-wrapper .ff-t-container .ff-t-cell {
    width: 100% !important;
}
#quick-nav-wrapper .fluentform .ff-el-group {
    margin-bottom: 12px;
}
#quick-nav-wrapper .fluentform .ff-el-form-control {
    padding: 8px 10px;
}


/* Jet Filter */
.jet-filters-group {
    flex-wrap: wrap;
}
.jet-smart-filters-select {
    width: calc(50% - 8px);
}
.jet-smart-filters-select .jet-select__control {
    min-width: 166px;
}
@media(min-width: 768px) {
    .jet-filters-group {
        flex-wrap: nowrap;
    }
    .jet-smart-filters-select {
        width: auto;
    }
}