/*
 Theme Name: LoveSetMatch
 Theme URI: https://lovesetmatch.org
 Description: Child theme for Astra
 Author: Kevin Gonzalez
 Template: astra
 Version: 1.0.0
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* light green */
    --nav-bg: #134e2a;
    /* pale yellow */
    --nav-pill: #ffed9c;
    /* link hover */
    --nav-text: #f5f5f5;
    --nav-btn-text: black;
    --nav-accent: #51b069;

    /* Footer */
    --footer-bg: #134e2a;
    --footer-text: #f5f5f5;
    --footer-accent: #ffd76a;

    --brand-brown: #7a3b17;
    --header_color: #d5f2a5;

    --bg: #ffffff;
    --text: #222222;
    --muted: #777777;
    --border: #eeeeee;
    --divider: #f3f3f3;

    --hamburger-size: 25px;
    --hamburger-thickness: 2px;
    /* line width */
    --hamburger-gap: 7px;
    /* space between lines */
    --hamburger-color: rgb(25, 25, 25);
    --focus-color: #2e7d32;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global-Overwrites for Parent theme */ 
#home_hero_section{
	background-position:0;
}



/* Main Styles by pages */
body {
    font-family: 'Inter', 'Open Sans', sans-serif;
    background-color: var(--background_color);
    margin: 0 auto;
}

ul{
	margin:0;
}

/* NAVBAR (desktop base) */
header.navbar {
    background-color: #d4f2a2;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar_inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 101px;
}

.nav_left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav_logo img {
    height: 62px;
    width: 88px;
    display: block;
}

.nav_links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1rem;
}

.nav_links a {
    text-decoration: none;
    color: black;
    position: relative;
    padding: 0 10px;
}

.nav_links a.active {
    color: #51b069;
    font-weight: 600;
}

/* .nav_links a.has-sub::after {
    content: "▾";
    font-size: 0.7em;
    margin-left: 0.25rem;
} */

.nav_links a:hover {
    color: var(--nav-accent);
}

.nav_right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav_right a {
	color:black;
}

.nav_search_btn {
    border: none;
    background: transparent;
    font-size: 1.15rem;
    cursor: pointer;
}

.nav_pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 19px;
    border-radius: 999px;
    border: 1px solid #111;
    background-color: var(--nav-pill);
    color:black;
    font-weight: 400;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.nav_pill:hover {
    filter: brightness(0.96);
}

/* Mobile toggle (hidden by default on desktop) */
.nav_toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
}

.mob_btn_donate {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    background: var(--footer-accent);
    color: #1f2933;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

/* Sticky header wrapper */
.header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--header_color);
    border-bottom: 1px solid var(--border);
}

.logo img {
    height: 32px;
}

/* HAMBURGER */
.hamburger {
    background: transparent;
    border: 0;
    padding: 12px;
    cursor: pointer;
    color: var(--hamburger-color);
    -webkit-tap-highlight-color: transparent;
}

.hamburger:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: 2px;
}

.hamburger__lines {
    position: relative;
    display: block;
    width: var(--hamburger-size);
    height: var(--hamburger-thickness);
    background: var(--hamburger-color);
    border-radius: 1px;
    transition: background .2s ease;
}

.hamburger__lines::before,
.hamburger__lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: var(--hamburger-size);
    height: var(--hamburger-thickness);
    background: var(--hamburger-color);
    border-radius: 1px;
    transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.hamburger__lines::before {
    top: calc(var(--hamburger-gap) * -1);
}

.hamburger__lines::after {
    top: var(--hamburger-gap);
}

.hamburger,
.close_btn {
    font-size: 24px;
    line-height: 1;
    background: none;
    border: 0;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
}

.close_btn {
    color: black;
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

.content {
    padding: 24px;
    max-width: 720px;
    margin: auto;
}

/* DRAWER */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
	height:100dvh;
    flex-direction: column;
    background: var(--bg);
}

.drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.logo_sm {
    height: 32px;
	width:52px;
}

.drawer__ctas {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    display: grid;
    gap: 12px;
}

.btn {
    display: block;
    text-align: center;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.btn--primary {
    background: var(--focus-color);
    color: #fff;
}

.btn--outline {
    background: #fff;
    color: var(--brand-brown);
    border: 2px solid var(--brand-brown);
}

.drawer__nav {
    padding: 8px 16px;
    overflow: auto;
    background-color: white;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu__item {
    display: grid;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--divider);
}

.menu__link {
    flex: 1;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
}

.submenu-toggle {
    margin-left: 8px;
    padding: 8px;
    border: 0;
    background: none;
    font-size: 18px;
    cursor: pointer;
}

.submenu_dropdown {
    width: 94vw;
    display: flex;
    justify-content: space-between;
}

.submenu {
    list-style: none;
    margin: 0 0 8px 0;
    padding: 0 0 8px 12px;
    border-left: 2px solid #eaeaea;
}

.submenu>li>a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #555;
    font-size: 16px;
}

.drawer__footer {
    padding: 16px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
}

.social {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social a i {
    color: var(--brand-brown);
}

.backdrop {
    position: fixed;
    inset: 0;
    background-color:white;
    z-index: -9998;
	display:none;
	height:100%dvh;
}

.dropdown {
    align-items: center;
    text-align: justify;
}

.aboutus_drpdwn,
.program_drpdwn {
    width: fit-content;
    height: fit-content;
}

.aboutus_drpdwn:hover,
.program_drpdwn:hover {
    color: #51b069;
    fill: #51b069;
}

.aboutus_drpdwn:hover .about_dropdown,
.program_drpdwn:hover .program_dropdown {
    display: flex;
    z-index: 999;
    position: fixed;
}

.about_dropdown,
.program_dropdown {
    background-color: #d4f2a2;
    display: none;
}

.about_dropdown ul,
.program_dropdown ul {
    list-style-type: none;
    margin-top: 20px;
}

.about_dropdown li,
.program_dropdown li {
    padding: 10px;
    cursor: pointer;
}

.about_dropdown li:hover,
.program_dropdown li:hover {}

.site-search {
    display: inline-flex;
    align-items: center;
    position: relative;
    flex-direction: row-reverse;
}

/* hide checkbox */
.site-search__toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.site-search__icon {
    cursor: pointer;
    background: none;
    border: 0;
}

/* collapsed */
.site-search__field {
    width: 0;
    opacity: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
    transition: all .25s ease;
}

/* when checkbox is checked, expand */
.site-search__toggle:checked~.site-search__field {
    width: 235px;
    height: 52px;
    opacity: 1;
    padding: .25rem .5rem;
    border: 1px solid #ccc;
    pointer-events: auto;
}



/* Motion */
@media (prefers-reduced-motion: no-preference) {
    .drawer {
        animation: slideIn .18s ease-out;
    }

    @keyframes slideIn {
        from {
            transform: translateY(8px);
            opacity: .85;
        }

        to {
            transform: none;
            opacity: 1;
        }
    }
}

/* FOOTER (desktop base) */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 1.5rem 2rem;
}

.footer_inner {
    max-width: 1100px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
}

.footer_col h3 {
    font-size: 1.1rem;
    margin: 0 0 1rem;
}

.footer_col p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0.25rem 0;
}

.contact_list,
.footer_links {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.contact_list li+li,
.footer_links li+li {
    margin-top: 0.4rem;
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.text_link {
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.25rem;
    opacity: 0.9;
}

.btn_donate {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    background: var(--footer-accent);
    color: #1f2933;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn_donate:hover {
    filter: brightness(0.95);
}

.badge {
    margin-top: 1.25rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    display: inline-block;
}

.badge img {
    display: block;
    max-width: 180px;
    height: auto;
}

.footer_bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    gap: 1rem;
}

.ast_arrow_svg {
    align-items: center;
    width: 10px;
}

svg:hover {
    fill: #51b069;
}

.ast_arrow_svg_active {
    align-items: center;
    width: 10px;
    fill: #51b069;
}


/* Tablet Responsive Designs */
@media (min-width: 720px) and (max-width: 1023px){
/*	global overwrites */
    .global_typography_p {
        padding: 0 3rem;
    }
	button:focus{
		border-color:initial;
		background-color:initial;
	}
		button:hover{
			background-color:initial ;
			cursor:initial;
		}
	/*Scrolling Behavior*/
	body{
		transform:translatex(0)
	}

    /* Navbar */
    .action_btn_donate_row {
        display: none;
    }
    

    .navbar_inner {
        flex-wrap: wrap;
        align-items: center;
    }

    .nav_left {
        width: 100%;
        justify-content: space-between;
			align-items:center;
    }

    .nav_links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding-top: 0.75rem;
    }

    .nav_links.open {
        display: flex;
    }

    .nav_toggle {
        display: block;
        color: black;
		font-size:25px;
		padding:0;
    }

    .nav_right {
        margin-left: auto;
        display: none;
    }
	.nav_logo img{
		width:78px;
		height:52px;
	}
	
	.drawer__header img{
		width:78px;
		height:52px;
	}
	.menu a{
		color:black;
		width: 95vw;
	}
	.drawer__ctas .btn  {
    	font-weight: 700;
		color:#7a3b17;
	}
	.drawer__ctas .btn--primary{
		font-weight: 700;
		color:white;
	}

    .page_content {
        padding: 0;
    }

    /* Footer */
    .footer_inner {
        place-items: center;
        grid-template-columns: 1fr;
    }

    .footer_col {
        display: grid;
        place-content: center;
    }

    .badge {
        width: fit-content;
    }

    .btn_donate {
        order: 3;
        width: fit-content;
    }

    .footer_bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .social {
        margin-top: 8px;
        display: flex;
        gap: 12px;
        justify-content: center;
    }

    .social a i {
        color: var(--brand-brown);
    }

    .backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .35);
        z-index: 999;
    }
}

@supports((height: 100dvh)){
	.drawer{
		height:100vh;
		height:100dvh;
	}
}

/* Phone Responsive Designs */
@media (max-width: 600px) {
	.drawer{
		height:100vh;
		height:100dvh;
}
	#menuOpen{
		height:100dvh;
		height:100%;
		height: -webkit-fill-available;
	}
	/*Global Rewrites*/
	button:focus{
		background-color:initial;
		border-color:initial;
	}
	button:hover{
			background-color:initial ;
		cursor:initial;
		}
	
	.nav_logo img{
		height:40px;
		width:58px
	}
    /* Navigational Bar  */
    .navbar_inner {
        flex-wrap: wrap;
    }

    .nav_left {
        width: 100%;
        justify-content: space-between;
    }
	.nav_left button{
		font-size:25px;
	}


    .nav_toggle {
        display: block;
		color:black;
		font-size: 25px !important;
    }

/*    .nav_links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding-top: 0.75rem;
    }
*/
    .nav_links.open {
        display: flex;
    }

    .nav_right {
        margin-left: auto;
        display: none;
    }

    /* Navbar */
    .navbar_inner {
        flex-wrap: wrap;
        height: 75px;
        align-items: center;
    }

    .nav_links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding-top: 0.75rem;
    }

    .nav_links.open {
        display: flex;
    }

    .nav_right {
        margin-left: auto;
        display: none;
    }
	.menu a{
		color:black;
		width:90vw;
	}
	.menu__item{
		width: 90vw;
	}
	.drawer__ctas .btn  {
    	font-weight: 700;
		color:#7a3b17;
	}
	.drawer__ctas .btn--primary{
		font-weight: 700;
		color:white;
	}

    /* Hero */
    .page_content {
        padding: 0;
    }

    /* Footer */
    .footer_inner {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .footer_col {
        display: grid;
        place-content: center;
    }

    .badge {
        width: fit-content;
    }

    .btn_donate {
        order: 3;
        width: fit-content;
    }

    .footer_links {
        text-align: center;
    }

    .footer_bottom {
        align-items: center;
        text-align: center;
        display: grid;
    }

    .footer_bottom p {
        text-align: center;
        width: 100%;
    }
	.social a i {
		color:#7a3b17;
	}
}