/*
Theme Name: NTMomineen Child
Theme URI: https://wpastra.com/
Description: Child theme for NTMomineen
Author: SoftCript
Author URI: https://softcript.com
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ntmomineen-child
*/

/* Import parent theme styles */
@import url("../astra/style.css");

/* Font Face Declarations */
@font-face {
    font-family: 'Libre Baskerville';
    src: url('fonts/LibreBaskerville-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url('fonts/LibreBaskerville-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url('fonts/LibreBaskerville-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Jost Font Declarations */
@font-face {
    font-family: 'Jost';
    src: url('fonts/Jost/Jost-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('fonts/Jost/Jost-Italic-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Apply font family to theme elements */
body,
.site-title,
.site-description,
.entry-title,
.entry-content,
.widget-title,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
strong {
    font-family: 'Libre Baskerville', serif;
}





/* Custom styles for single event page */
.single-upcoming-events .event-details {
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.single-upcoming-events .event-meta {
    margin-bottom: 1.5rem;
}

.single-upcoming-events .event-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.single-upcoming-events .event-meta-item i {
    margin-right: 10px;
    color: #666;
}

.single-upcoming-events .event-images {
    margin-top: 2rem;
}

.single-upcoming-events .event-images img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.single-upcoming-events .event-content {
    margin-top: 2rem;
    line-height: 1.6;
}

/* Additional font-specific styles */
.entry-title {
    font-weight: bold;
    letter-spacing: -0.02em;
}

.entry-content {
    font-size: 1.1em;
    line-height: 1.8;
}

.widget-title {
    font-weight: bold;
    letter-spacing: -0.01em;
}

/* Event specific typography */
.single-upcoming-events .event-meta-item span {
    font-size: 1.1em;
}

.single-upcoming-events .event-images h3 {
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.thm-btn {
    display: inline-block;
    vertical-align: middle;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Libre Baskerville', serif;
    padding: 16.5px 39.5px !important;
    line-height: 20px !important;
    transition: .5s;
    background-color: #fcad30;
    color: #fff;
    border-bottom-left-radius: 31.5px;
    border-top-left-radius: 31.5px;
    text-decoration: none !important;
}

/* Don't Remove this CSS; this is written by CodeCript */

.max-width-header-links {
    max-width: 275px;
}

.max-width-fit-to-content {
    max-width: fit-content !important;
}


.codecript-carousel h1 {
    font-size: 90px !important;
    line-height: 96px;
    letter-spacing: 5px;
    font-family: inherit;
    color: white !important;
}

.codecript-carousel .caption {
    display: flex;
    flex-direction: column !important;
    justify-content: end;
    align-items: end;
    /* height: 1100px; */
}

.metaslider.ms-theme-draxler .flexslider .caption-wrap .caption {
    background: unset !important;
    /* position: absolute !important; */
}

#metaslider-id-165 .flexslider .caption-wrap {
    height: 100% !important;
    display: flex;
    align-items: end;
    justify-content: end;

}

.tnp-field.tnp-field-email label {
    display: none;
}

#tnp-1 {
    width: 100%;
    height: 63px;
    background-color: var(--thm-black2);
    border: 1px solid hsla(0, 0%, 100%, .1);
    color: var(--thm-text-dark);
    font-size: 14px;
    font-weight: 500;
    padding-left: 39px;
    margin-top: 16px;
    margin-bottom: 10px;
    border-bottom-left-radius: 31.5px;
    border-top-left-radius: 31.5px;
}

input.tnp-submit {
    width: 100%;
    height: 63px;
    background-color: #fcad30 !important;
    border: 1px solid hsla(0, 0%, 100%, .1);
    color: #fcad30;
    font-size: 14px;
    font-weight: 500;
    padding-left: 39px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-top: 16px;
    margin-bottom: 10px;
    border-bottom-left-radius: 31.5px;
    border-top-left-radius: 31.5px;
    font-size: 17px !important;
}

.tnp-field.tnp-field-button {
    text-align: right !important;
}




/* Layout Rows and Columns */
.cf7-custom-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0px !important;
    gap: 20px;
}

.cf7-custom-col {
    flex: 1 1 calc(50% - 10px);
}

.cf7-custom-full {
    flex: 1 1 100%;
}

.height-fit-to-cotnent {
    height: fit-content !important;
}

/* Input and Textarea Styles */
.cf7-input,
.cf7-textarea {
    display: block !important;
    width: 100% !important;
    height: 73px !important;
    border-radius: 36.5px !important;
    background-color: #f1f1f1 !important;
    color: #7e7e7e !important;
    font-size: 16px !important;
    font-weight: 500;
    border: none !important;
    outline: none !important;
    padding-left: 30px !important;
}

.cf7-textarea {
    border-radius: 30px;
    min-height: 160px;
    resize: vertical;
}

/* Submit Button */
.cf7-submit {
    display: inline-block;
    vertical-align: middle;
    border: none;
    outline: none;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: var(--thm-font);
    padding: 25.5px 39.5px !important;
    transition: .5s;
    background-color: #fcad30 !important;
    ;
    color: #fff;
    border-bottom-left-radius: 31.5px !important;
    border-top-left-radius: 31.5px !important;
}


.cf7-submit:hover {
    background-color: #e09d27 !important;
}

.cf7-custom-col p {
    margin-bottom: 10px;
}

.contact-details {

    width: 164px !important;
    height: 164px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;

    font-size: 64px !important;
    background-color: #fff !important;
    border-radius: 50% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.main-details {
    border-top-left-radius: 220.5px !important;
    border-top-right-radius: 220.5px !important;
    background-repeat: no-repeat !important;
    width: 100%;
    background-position: 100% 0;
    min-height: 442px !important
}

.ntm-events-pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0 20px 0;
}

.ntm-events-pagination ul {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ntm-events-pagination li {
    display: inline-block;
}

.ntm-events-pagination a,
.ntm-events-pagination span {
    display: inline-block;
    min-width: 36px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f7b32b;
    color: #fff;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-size: 1.1em;
}

.ntm-events-pagination .current,
.ntm-events-pagination a:hover {
    background: #e67e22;
    color: #fff;
}

.ntm-events-pagination .dots {
    background: none;
    color: #888;
    padding: 8px 10px;
}



.man-header-banner {
    position: relative !important;
    top: -300px;
}

@media (max-width: 1024px) {
    .metaslider.ms-theme-draxler .flexslider .caption-wrap .caption {}

    .codecript-carousel h1 {
        font-size: 60px !important;
        line-height: 65px;
    }
}

@media (max-width: 850px) {
    .codecript-carousel h1 {
        font-size: 40px !important;
        line-height: 45px;
    }
}

@media (max-width: 768px) {
    .metaslider.ms-theme-draxler .flexslider .caption-wrap .caption {
        padding: 80px 20px !important;
    }

    .metaslider .slides img {
        height: 700px !important;
    }

    a.ntm-event-card-link {
        width: 100vw;
    }
    .elementor-element.elementor-element-616ad14.e-con-full.e-flex.e-con.e-child {
        position: absolute;
        top: -163px;
        right: 16px;
    }
    .elementor-element.elementor-element-402702c.e-con-full.e-flex.e-con.e-child
     {
        padding: 25px;
    }
    .cf7-custom-row{
        flex-direction: column !important;
        gap: unset !important;
    }
    
}


@media (max-width: 768px) {
    .ntm-event-card{
         padding: 20px 10px !important;
   }
       .swiper-slide.swiper-slide-duplicate.swiper-slide-next.swiper-slide-duplicate-prev{
   width : 290px;}
       .ntm-event-card h2{
           font-size: 32px !important;
       }
       a.ntm-event-card-link {
           width: 94vw !important;
       }
   }