/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
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 */
h1, h2, h3, h4, h5, h6, p, div, span, li, a {
    font-family: "Quicksand", Sans-serif !important;
}
.columns-2 .cpt-custom-card {
    width: calc(50% - 15px) !important;
}
.cpt-custom-content, .cpt-custom-image {
    flex: 0 0 50% !important;
}
.cpt-custom-image img {
    object-fit: cover;
    height: 100% !important;
}
iframe.schedule {
    height: 1650px !important;
}
ul {
    margin-bottom: 20px;
}
.cpt-custom-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 20px 0;
}

/* GRID COLUMNS */
.cpt-custom-grid.columns-1 .cpt-custom-card { width: 100%; }
.cpt-custom-grid.columns-2 .cpt-custom-card { width: calc(50% - 15px); }
.cpt-custom-grid.columns-3 .cpt-custom-card { width: calc(33.333% - 20px); }
.cpt-custom-grid.columns-4 .cpt-custom-card { width: calc(25% - 23px); }

/* LIST VIEW */
.cpt-custom-list .cpt-custom-card {
    width: 100%;
    display: flex;
    gap: 20px;
}
.cpt-custom-list .cpt-custom-image {
    flex: 0 0 350px;
}
.cpt-custom-list .cpt-custom-content {
    flex: 1;
}

/* MASONRY */
.cpt-custom-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* CARD */
.cpt-custom-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.cpt-custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* IMAGE */
.cpt-custom-image {
    position: relative;
    overflow: hidden;
}
.cpt-custom-image img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}
.cpt-custom-card:hover .cpt-custom-image img {
    transform: scale(1.1);
}

/* OVERLAY BUTTON */
.cpt-custom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 115, 170, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cpt-custom-card:hover .cpt-custom-overlay {
    opacity: 1;
}

.cpt-custom-link {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    border: 2px solid #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}
.cpt-custom-link:hover {
    background: #fff;
    color: #0073aa;
}

/* CONTENT */
.cpt-custom-content {
    padding: 20px;
}
.cpt-custom-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
}
.cpt-custom-title a {
    color: #333;
    text-decoration: none;
}
.cpt-custom-title a:hover {
    color: #0073aa;
}

.cpt-custom-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* NORMAL BUTTON */
.cpt-btn-link {
    display: inline-block;
    padding: 10px 25px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.cpt-btn-link:hover {
    background: #005177;
    transform: translateY(-2px);
}
a.cpt-btn-link {
    color: #fff;
    width: auto;
    margin-top: auto;
    align-self: flex-start;
}
span.cpt-term {
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 5px;
    margin-bottom: 5px;
    display: inline-block;
}
.cpt-custom-content {
    height: 100%;
    justify-content: space-between !important;
    display: flex;
    flex-direction: column;
}
.auto-height .cpt-custom-content {
    height: auto;
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .cpt-custom-wrapper .cpt-custom-card {
        width: 100% !important;
    }
    .cpt-custom-list .cpt-custom-card {
        flex-direction: column;
    }
    .cpt-custom-list .cpt-custom-image {
        flex: 1;
    }
}

@media (max-width: 767px) {
	iframe.schedule {
		height: 1900px !important;
	}
}