/*
Theme Name:  Hello Elementor Child
Template: 	 hello-elementor
Theme URI:	 https://wordpress.org/themes/hello-elementor/
Author:		 Vahid - Keystone Studio
Author URI:	 #
Version:	 1.0.0
License:	 GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:    	 opensource
Text Domain: helloelementorchild
*/

h1 b,
h2 b,
h3 b,
h4 b {
    font-weight: 700;
    font-style: italic;
}

/* Give the transparent fixed header a visible background ONLY inside the Elementor editor */
body.elementor-editor-active .header-fixed {
    /* background-color: #1a1a1a;  pick any color you can see against the editor */
}

.cst-span {
    color: #3ea1b5;
    font-weight: 500;
}

.cst-post-content strong, .cst-post-content b{
	font-weight:500;
}
.header-fixed.scrolled {
    background: #184E61;
}

.mob-menu li a {
    justify-content: center;
}

.mob-menu li .sub-menu li a {
    font-weight: 400 !important;
}

.faq .e-n-accordion-item[open]>.e-n-accordion-item-title {
    border-color: transparent !important;
}

.cst-tabs button.e-n-tab-title {
    padding: 8px;
}

.cst-about-us-faq .e-n-accordion-item-title-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cst-about-us-faq .e-n-accordion-item-title-text::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background-color: #3A9FB5;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12.5l4 4 9-9'/%3E%3Cpath d='M11 15.5l1 1 9-9'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12.5l4 4 9-9'/%3E%3Cpath d='M11 15.5l1 1 9-9'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* CF7 */

.cf7-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: inherit;
}

.cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cf7-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cf7-field label {
    font-size: 16px;
    color: #1a2340;
    line-height: 1.4;
}

.cf7-req {
    color: #5ec4d6;
}

.cf7-field .wpcf7-form-control-wrap {
    display: block;
}

.cf7-contact input[type="text"],
.cf7-contact input[type="email"],
.cf7-contact input[type="tel"],
.cf7-contact textarea {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    padding: 10px 14px;
    font-size: 15px;
    color: #1a2340;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.cf7-contact textarea {
    height: 80px;
    min-height: 80px;
    resize: vertical;
}

.cf7-contact input:focus,
.cf7-contact textarea:focus {
    border-color: #5ec4d6;
    box-shadow: 0 0 0 3px rgba(94, 196, 214, .15);
}

.cf7-submit {
    display: flex;
    justify-content: center;
    position: relative;
}

.cf7-contact .cf7-btn {
    background: #fde5b9;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .10), 0 1px 2px rgba(0, 0, 0, .06);
    transition: background .2s;
}

.cf7-contact .cf7-btn:hover {
    background: #fbd68f;
}

/* CF7 spinner – keep it from shifting the centered button */
.cf7-submit .wpcf7-spinner {
    position: absolute;
    left: calc(50% + 100px);
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

/* Validation messages */
.cf7-contact .wpcf7-not-valid {
    border-color: #e53e3e !important;
}

.cf7-contact .wpcf7-not-valid-tip {
    font-size: 13px;
    margin-top: 4px;
}

/* Mobile: stack columns */
@media (max-width: 640px) {
    .cf7-row {
        grid-template-columns: 1fr;
    }
}

/* end of CF7 */

.cst-cat li {
    padding: 2px 8px !important;
    background-color: #E4FEFD;
    border-radius: 4px;
    margin: 0 !important;
}


/* Blog category filter [ascot_blog_filter] */

.ascot-bf {
    --bf-accent: #1f4e63;
    --bf-text: #6b7280;
    --bf-border: #d9dde3;
    margin: 0;
}

.ascot-bf .ascot-bf__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ascot-bf .ascot-bf__title {
    font-weight: 700;
    font-size: 16px;
    color: #111827;
}

.ascot-bf .ascot-bf__clear {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #111827 !important;
    cursor: pointer;
}

.ascot-bf .ascot-bf__clear:hover {
    text-decoration: underline;
}

.ascot-bf .ascot-bf__search {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--bf-border);
    border-radius: 2px;
    padding: 0 12px;
    margin-bottom: 18px;
}

.ascot-bf .ascot-bf__search:focus-within {
    border-color: var(--bf-accent);
}

.ascot-bf .ascot-bf__search svg {
    width: 15px;
    height: 15px;
    flex: none;
    fill: none;
    stroke: #111827;
    stroke-width: 2.2;
}

.ascot-bf .ascot-bf__search input {
    border: 0 !important;
    outline: 0;
    box-shadow: none !important;
    padding: 7px 0 !important;
    width: 100%;
    font-size: 14px;
    background: transparent;
}

.ascot-bf .ascot-bf__list {
    list-style: none;
    margin: 0;
    padding: 0 0 4px;
    border-bottom: 1px solid var(--bf-border);
}

.ascot-bf .ascot-bf__list li {
    margin: 0 0 16px;
}

.ascot-bf .ascot-bf__list li[hidden],
.ascot-bf .ascot-bf__empty[hidden] {
    display: none;
}

.ascot-bf .ascot-bf__empty {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--bf-text);
}

.ascot-bf .ascot-bf__list label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--bf-text);
    font-size: 16px;
    line-height: 1.5;
}

.ascot-bf .ascot-bf__list em {
    font-style: normal;
    font-size: .85em;
    opacity: .75;
}

.ascot-bf .ascot-bf__list input {
    appearance: none;
    -webkit-appearance: none;
    flex: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid var(--bf-border);
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
}

.ascot-bf .ascot-bf__list input:checked {
    background: var(--bf-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat;
    border-color: var(--bf-accent);
}

.ascot-bf .ascot-bf__list input:checked+span {
    color: #111827;
}

.ascot-bf-loading {
    opacity: .4;
    pointer-events: none;
    transition: opacity .2s;
}

/* Popup-only parts, hidden on desktop */
.ascot-bf-wrap .ascot-bf__bar,
.ascot-bf .ascot-bf__close,
.ascot-bf .ascot-bf__actions {
    display: none;
}

/* Tablet & mobile: "Categories" bar + full-screen popup (same 992px breakpoint as live) */
@media (max-width: 991px) {
    html.ascot-bf-lock,
    html.ascot-bf-lock body {
        overflow: hidden;
    }

    /* The Shortcode widget shrinks to its content inside a row container; make it full width */
    .elementor-widget-shortcode:has(.ascot-bf-wrap) {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .ascot-bf-wrap .ascot-bf__bar {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        color: #1b1e1e;
    }

    .ascot-bf-wrap .ascot-bf__open,
    .ascot-bf .ascot-bf__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: none;
        width: 40px;
        height: 40px;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 9999px !important;
        background: #116266 !important;
        cursor: pointer;
    }

    .ascot-bf-wrap .ascot-bf__open svg {
        width: 20px;
        height: 20px;
        fill: #fff;
    }

    .ascot-bf .ascot-bf__close svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #fff;
        stroke-width: 2;
        stroke-linecap: round;
    }

    .ascot-bf {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 100000;
        flex-direction: column;
        background: #fff;
    }

    .ascot-bf.is-open {
        display: flex;
    }

    .ascot-bf .ascot-bf__head {
        flex: none;
        margin: 0;
        padding: 12px 16px;
        border-bottom: 1px solid #e2e8f0;
    }

    .ascot-bf .ascot-bf__head .ascot-bf__clear {
        display: none;
    }

    .ascot-bf .ascot-bf__title {
        font-size: 14px;
    }

    .ascot-bf .ascot-bf__search {
        flex: none;
        margin: 12px 16px;
    }

    .ascot-bf .ascot-bf__list {
        flex: 1;
        overflow-y: auto;
        padding: 0 16px;
        border-bottom: 0;
    }

    .ascot-bf .ascot-bf__list li {
        margin-bottom: 12px;
    }

    .ascot-bf .ascot-bf__list label {
        font-size: 14px;
    }

    .ascot-bf .ascot-bf__empty {
        padding: 0 16px;
    }

    .ascot-bf .ascot-bf__actions {
        display: flex;
        flex: none;
        gap: 12px;
        padding: 12px 16px;
        border-top: 1px solid #e2e8f0;
    }

    .ascot-bf .ascot-bf__actions button {
        flex: 1;
        height: 48px;
        padding: 0 16px !important;
        border-radius: 9999px !important;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
    }

    .ascot-bf .ascot-bf__reset {
        background: transparent !important;
        border: 1px solid #116266 !important;
        color: #116266 !important;
    }

    .ascot-bf .ascot-bf__apply {
        background: #116266 !important;
        border: 1px solid #116266 !important;
        color: #fff !important;
    }
}

/* Blog pagination (rendered under the ascot_blog Loop Grid) */

.ascot-bf-grid .elementor-pagination {
    display: none !important;
}

nav.ascot-bf-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

nav.ascot-bf-pager a,
nav.ascot-bf-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #4a5568;
    text-decoration: none;
    transition: background-color .15s;
}

nav.ascot-bf-pager a:hover {
    background: rgba(62, 161, 181, .1);
    color: #050e11;
}

nav.ascot-bf-pager .is-current {
    background: rgba(62, 161, 181, .2);
    color: #050e11;
}

nav.ascot-bf-pager .ascot-bf-pager__dots {
    width: auto;
    color: #050e11;
}

nav.ascot-bf-pager .ascot-bf-pager__arrow svg {
    width: 20px;
    height: 20px;
    fill: #050e11;
}

nav.ascot-bf-pager .ascot-bf-pager__arrow.is-next svg {
    transform: scaleX(-1);
}

nav.ascot-bf-pager .ascot-bf-pager__arrow.is-disabled svg {
    fill: #a0aec0;
}

@media (max-width: 480px) {
    nav.ascot-bf-pager {
        gap: 4px;
    }

    nav.ascot-bf-pager a,
    nav.ascot-bf-pager span {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* end of Blog category filter */