/*
Theme Name: Custom Clean Theme
Author: Gemini
*/

/* ===== BASE ===== */

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #f4f7f6;
}


.content {
	max-width: 980px;
	margin: 0px auto;
	background: white;
	padding: 35px 8px 15px 20px;
	margin-top: 7px;
	color: #2d3436;
	font-size: 1.125rem;
	line-height: 1.7;
    font-family: 'Plus Jakarta Sans', sans-serif;
}


.category-archive {
    padding: 60px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.post-card {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    transition: 0.3s ease;
    background: #fff;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.post-card h2 {
    font-size: 20px;
    margin: 15px 0;
}

.post-card a {
    text-decoration: none;
    color: inherit;
}




h1 {
            font-size: 2.5rem;
            line-height: 1;
        
}
/* ===== HEADER ===== */

.hero-header {
    background: #fff;
    color: #111;
}

.compact-header {
    background: white;
    color: #111;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 16px;
}

/* ===== BRAND ===== */

.brand {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;              
    gap: 12px;
    white-space: nowrap;
}

.brand-logo {
    flex-shrink: 0;
}

.brand-logo a {
    display: flex;
    align-items: center;
}

.brand-logo img {
    display: block;
    max-height: 120px;
    width: auto;
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
}


    .brand-tagline {
        font-size: 0.95rem;
    }



/* ===== NAV ===== */

.main-nav ul {
    display: flex;                  
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
    position: relative; /* needed for submenus */
}

.main-nav a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

/* ===== DESKTOP SUBMENUS ===== */

.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
    display: block;
}

.main-nav .sub-menu li a {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
}

/* optional: add dropdown arrow */
.menu-item-has-children > a::after {
    content: "▾";
    margin-left: 6px;
    font-size: 0.7em;
}

/* ===== MOBILE TOGGLE ===== */

.mobile-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;

    position: absolute;
  top: 1px;
  right: 17px;
  font-size: 28px;

}

/* ===== HERO ===== */

   .main-nav {
margin: 0px 0px 30px 37px;
   }



.topHeaders {
    background: rgb(5 150 105);
    padding: 10px 40px 11px 40px;
    margin: 0px 0px 0px 0px;
}

.topHeaders_heading {
    color: white;
    font-size: 2.5rem;
        line-height: 1;
}

/* ===== MOBILE ===== */

@media (max-width: 795px) {

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #111;
        color: white;
        transition: right 0.3s ease;
        z-index: 2000;
        /* MAKE IT SCROLLABLE */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    }
    

    .main-nav.active {
        right: 0;
        background: white;

    }

    .main-nav ul {
        flex-direction: column;
        padding: 80px 20px 20px;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        color: #6a6a6a;
        padding: 12px 0;
        display: block;
    }

.sub-menu {
    background: white;
}

    .main-nav .sub-menu {
        position: static;
        display: none;
        background: none;
        box-shadow: none;
        padding-left: 16px;
    }

    /* open children on mobile */
    .main-nav li.open > .sub-menu {
        display: block;
    }

    .mobile-toggle {
        display: block;
        flex-shrink: 0;
    }


}

@media (max-width: 640px) {


    .brand-logo img {
        max-height: 60px;
    }

    .brand-name {
        font-size: 1.95rem;
    }

    .brand-tagline {
        font-size: 0.95rem;
    }
}


@media (max-width: 480px) {


    .brand-logo img {
        max-height: 60px;
    }

    .brand-name {
        font-size: 1.2rem;
            }

    .brand-tagline {
        font-size: 0.95rem;
                display: none;
                    }

.topHeaders {
    background: rgb(5 150 105);
    padding: 1px 5px 4px 20px;
    margin: 0px 0px 0px 0px;
}

.topHeaders_heading {
    color: white;
    font-size: 1.5rem;
    line-height: 1;
}

}




@media (max-width: 380px) {


    .brand-logo img {
        max-height: 60px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-tagline {
        font-size: 0.95rem;
                display: none;
    }
}




@media (max-width: 339px) {


    .brand-logo img {
        max-height: 60px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-tagline {
        font-size: 0.95rem;
        display: none;
            }
}



.wp-block-quote {
    position: relative;
    padding: 20px 30px;
    margin: 20px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #333;
    background: #f9f9f9;
    border-left: 6px solid #ff6f61; /* accent color */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    line-height: 1.6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Optional hover “lift” effect */
.wp-block-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Quote mark */
.wp-block-quote::before {
    content: "“";
    font-size: 3rem;
    color: #ff6f61;
    position: absolute;
    left: 10px;
    top: -10px;
    font-family: serif;
}

/* Footer / author (if any) */
.wp-block-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-style: normal;
    color: #666;
}

