/* === FULL SITE === */

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 75% 125%;
    font-style: normal;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
}

main p {
    text-align: center;
}

main h1 {
    text-align: center;
}
main h2 {
    text-align: center;
}

a {
    color: #009086;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #952121;
}

p {
    color: #474747;
    font-size: 1em;
}

/* === HEADER === */

.header {
    background-color: #fff;
}

.headNavBar {
    display: flex;
    align-items: center;
	padding:15px;
}

.siteBrand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.siteLogo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.siteTitle {
    font-size: 1.8rem;
    font-weight: 800;
    color: #009086;
    line-height: 1;
}

.headNavBarLinks {
    display: flex;
    list-style: none;
    margin-left: auto;
    padding: 0;
}

.headNavBarLinks a {
    color: #535353;
}

.headNavBarLinks a:hover {
    color: #952121;
}

.headNavBarLinks li {
    margin-left: 30px;
    text-transform: uppercase;
}

.navUser {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.navUser a {
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 6px;
}

.navUserCollection,
.navUserLogin {
    background: #f2f2f2;
    color: #333;
}

.navUserRegister {
    background: #009086;
    color: #fff;
    font-weight: 700;
}

.navUserLogout {
    color: #666;
}

.toolsNavBar {
    width: 100%;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.toolsNavBarLinks {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding-left: 20px;
	padding-right:20px;
}

.toolsNavBarLinks a {
    color: #474747;
}

.toolsNavBarLinks li {
    list-style: none;
    text-transform: uppercase;
    padding: 10px 15px;
    position: relative;
}

.toolsNavBarLinks .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
    z-index: 9999;
}

.toolsNavBarLinks .dropdown li {
    list-style: none;
    margin: 0;
    padding: 0;
    text-transform: none;
}

.toolsNavBarLinks .dropdown a {
    display: block;
    padding: 12px 15px;
    color: #474747 !important;
    white-space: nowrap;
}

.toolsNavBarLinks li:hover > .dropdown,
.toolsNavBarLinks li:focus-within > .dropdown {
    display: block;
}

.toolsNavBarLinks .dropdown li:hover,
.toolsNavBarLinks li:hover {
    background-color: #009086;
}



/* === FOOTER === */

footer {
    background-color: #009086;
    color: #fff;
    margin-top: 40px;
    padding-top: 18px;
}

.column-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    background-color: #009086;
    color: #fff;
}

.column-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0 25px;
    width: 30%;
    color: #fff;
}

.column-wrapper ul:nth-child(2) {
    text-align: center;
}

.column-wrapper ul:nth-child(3) {
    text-align: right;
    margin-right: 25px;
}

.column-wrapper li {
    padding: 3px;
}

.column-wrapper ul a {
    color: #fff;
}

.column-wrapper ul a:hover {
    color: #e8f7f6;
    text-decoration: underline;
}

.footerHeader {
    font-size: 1.3em;
    font-weight: bold;
}

.socials {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 14px;
}

.socials img {
    width: 30px;
    height: 30px;
    padding: 10px;
}

.copyright {
    text-align: center;
    color: #fff;
    margin: 0;
    padding: 8px 10px 16px;
    font-size: 0.9em;
}

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

.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    color: #009086;
}

.hamburger:hover {
    color: #952121;
}

.mobileDrawer {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    width: 280px;
    height: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    z-index: 9999;
}

.mobileDrawer.open {
    transform: translateX(0);
}

.mobileDrawer ul {
    display: block;
}

.mobileDrawer li {
    padding: 12px 0;
}

.mobileDrawer .dropdown {
    display: block;
    position: static;
    min-width: auto;
    border: none;
    background: transparent;
    padding-left: 15px;
    margin-top: 6px;
}

.mobileDrawer .dropdown li {
    padding: 6px 0;
    background: transparent;
}

.mobileDrawer .dropdown a {
    padding: 0;
    font-size: 14px;
    color: #474747;
}

.mobileNavUser {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
}

.mobileNavUser a {
    text-decoration: none;
    color: #333;
    font-weight: 300;
}

/* === BACK TO TOP === */

#backToTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

#backToTopBtn svg {
    width: 50px;
    height: 50px;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

#backToTopBtn:hover svg {
    transform: translateY(-4px) scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}

/* === AUTH FORMS === */

.cmf-auth-form {
    max-width: 420px;
    margin: 25px auto;
    padding: 22px;
    border: 1px solid #d6d6d6;
    border-radius: 14px;
    background: #fff;
}

.cmf-auth-form label {
    display: block;
    margin-bottom: 14px;
    font-weight: 700;
}

.cmf-auth-form input {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.cmf-auth-form button {
    width: 100%;
    margin-top: 8px;
}

/* === RESPONSIVE === */

@media (max-width: 1200px) {
    .headNavBarLinks,
    .toolsNavBar {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .navUser {
        display: none !important;
    }

    .headNavBar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .siteLogo {
        width: 42px;
        height: 42px;
    }

    .siteTitle {
        font-size: 1.45rem;
    }
}

@media (max-width: 768px) {
    .column-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .column-wrapper ul {
        width: 100%;
        margin: 0 !important;
        text-align: center !important;
    }

    #backToTopBtn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}
.homeHero {
    text-align: center;
    margin: 40px 0 30px;
}

.homeHero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.homeHero p {
    font-size: 1.1rem;
    color: #555;
}

.homeTools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.toolCard {
    display: block;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background: #fff;
    transition: all 0.2s ease;
}

.toolCard h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.toolCard p {
    font-size: 0.95rem;
    color: #666;
}

.toolCard:hover {
    border-color: #009086;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .homeTools {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .homeTools {
        grid-template-columns: 1fr;
    }
}
.toolCard img {
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}
/* === SECTION HUBS === */

.sectionHub {
    max-width: 1100px;
    margin: 30px auto;
}

.sectionHubHero {
    text-align: center;
    margin-bottom: 28px;
}

.sectionHubHero h1 {
    margin-bottom: 10px;
}

.sectionHubHero p {
    max-width: 720px;
    margin: 0 auto;
    color: #555;
    font-size: 1.05rem;
}

.sectionHubGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sectionHubCard {
    display: block;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    color: #333;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sectionHubCard:hover {
    transform: translateY(-3px);
    border-color: #009086;
}

.sectionHubCard img {
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
	margin-top: 12px;
}

.sectionHubCardBody {
    padding: 18px;
}

.sectionHubCard h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
	
}

.sectionHubCard p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .sectionHubGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sectionHubGrid {
        grid-template-columns: 1fr;
    }
}
.homeSection {
    margin-top: 40px;
}

.homeSectionTitle {
    text-align: center;
    margin-bottom: 20px;
}
.sectionHubIntro {
    max-width: 850px;
    margin: 0 auto 30px;
    text-align: center;
}

.sectionHubIntro p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}
.hubLinks {
    max-width: 1000px;
    margin: 35px auto 0;
    text-align: center;
}

.hubLinks p {
    color: #555;
}
/* === ARTICLE STYLE === */
.articleStyle1 {
    max-width: 950px;
    margin: 35px auto;
    padding: 0 22px;
    line-height: 1.75;
    font-size: 18px;
    color: #2b2b2b;
}

.articleStyle1 p {
    margin: 0 0 22px;
}

.articleStyle1 h2 {
    margin: 42px 0 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid #009086;
    color: #952121;
    font-size: 30px;
    line-height: 1.25;
}

.articleStyle1 hr {
    margin: 34px 0;
    border: 0;
    border-top: 1px solid #ddd;
}

.articleStyle1 a {
    color: #00776f;
    font-weight: 700;
    text-decoration: none;
}

.articleStyle1 a:hover {
    text-decoration: underline;
}

.articleStyle1 img {
    max-width: 300px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.16);
    margin: 6px 24px 18px 0;
    float: left;
    background: #fff;
}

.articleStyle1 h2:nth-of-type(even) + a img {
    float: right;
    margin: 6px 0 18px 24px;
}

.articleStyle1 div[style*="clear"] {
    clear: both;
}

.articleStyle1::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 700px) {
    .articleStyle1 {
        font-size: 17px;
        padding: 0 16px;
        margin: 24px auto;
    }

    .articleStyle1 h2 {
        font-size: 25px;
        margin-top: 34px;
    }

    .articleStyle1 img,
    .articleStyle1 h2:nth-of-type(even) + a img {
        float: none;
        display: block;
        max-width: 100%;
        margin: 14px auto 22px;
    }
}