/* =========================================
   Joomla Ham Suite Main Banner Navigation
   Banner 2.0 - Product Navigation
   ========================================= */

.jhs-banner-map {
    position: relative;
    width: 100%;
    max-width: 2048px;
    margin: 0 auto;
}

.jhs-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

.jhs-hotspot {
    position: absolute;
    display: block;
    z-index: 10;
    cursor: pointer;
}

/* Main artwork / title area = HOME */
.jhs-banner-map .jhs-home {
    left: 0;
    top: 0;
    width: 100%;
    height: 58%;
}

/* Product navigation strip */
.jhs-banner-map .jhs-weather {
    left: 0%;
    top: 58%;
    width: 17%;
    height: 42%;
}

.jhs-banner-map .jhs-nets {
    left: 17%;
    top: 58%;
    width: 17%;
    height: 42%;
}

.jhs-banner-map .jhs-members {
    left: 34%;
    top: 58%;
    width: 17%;
    height: 42%;
}

.jhs-banner-map .jhs-command {
    left: 51%;
    top: 58%;
    width: 17%;
    height: 42%;
}

.jhs-banner-map .jhs-respond {
    left: 68%;
    top: 58%;
    width: 17%;
    height: 42%;
}

.jhs-banner-map .jhs-login {
    left: 85%;
    top: 58%;
    width: 15%;
    height: 42%;
}
/* =========================================
   JHS Banner - Compact Responsive Layout
   ========================================= */

/* Limit desktop banner to approximately 300px tall */
.jhs-banner-map {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Scale image and clickable regions together */
.jhs-banner-map img {
    display: block;
    width: 100%;
    height: auto;
}

/* Preserve full width on smaller screens */
@media (max-width: 600px) {
    .jhs-banner-map {
        max-width: 100%;
    }
}


/* JHS Banner 3.0 - Compact Navigation */

.jhs-banner-map {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.jhs-banner-map img {
    display: block;
    width: 100%;
    height: auto;
}

/* Home link: upper artwork */
.jhs-banner-map .jhs-home {
    left: 0;
    top: 0;
    width: 100%;
    height: 70%;
}

/* Six navigation buttons across bottom */
.jhs-banner-map .jhs-weather,
.jhs-banner-map .jhs-nets,
.jhs-banner-map .jhs-members,
.jhs-banner-map .jhs-command,
.jhs-banner-map .jhs-respond,
.jhs-banner-map .jhs-login {
    top: 70%;
    width: 16.6667%;
    height: 30%;
}

.jhs-banner-map .jhs-weather { left: 0%; }
.jhs-banner-map .jhs-nets { left: 16.6667%; }
.jhs-banner-map .jhs-members { left: 33.3333%; }
.jhs-banner-map .jhs-command { left: 50%; }
.jhs-banner-map .jhs-respond { left: 66.6667%; }
.jhs-banner-map .jhs-login { left: 83.3333%; }


/* ==========================================
   JHS Command Cards - Article Presentation
   ========================================== */

/* Narrower article area beneath main banner */
.container-component {
    width: 100%;
    box-sizing: border-box;
    max-width: 1000px;
    margin: 28px auto 50px;
    padding: 0 12px;
}

/* Article panel */
.com-content-article,
.com-users-login,
.com-users-registration,
.com-users-profile {
    background: linear-gradient(
        145deg,
        #ffffff 0%,
        #f0f5fa 100%
    );

    border: 1px solid #c7d7e7;
    border-top: 5px solid #d6a936;
    border-radius: 14px;

    padding: 30px 36px;

    box-shadow:
        0 8px 24px rgba(10, 42, 75, 0.10),
        0 2px 6px rgba(10, 42, 75, 0.05);
}

/* Headings */
.com-content-article h1,
.com-content-article h2,
.com-content-article h3 {
    color: #12385d;
}

/* Main article heading accent */
.com-content-article h1 {
    padding-bottom: 12px;
    border-bottom: 2px solid #d6a936;
    margin-bottom: 24px;
}

/* Comfortable article typography */
.com-content-article p {
    line-height: 1.75;
}

/* Mobile adjustments */
@media (max-width: 700px) {

    .container-component {
        margin-top: 18px;
        padding: 0 10px;
    }

    .com-content-article,
    .com-users-login,
    .com-users-registration,
    .com-users-profile {
        padding: 20px;
        border-radius: 10px;
    }
}


/* ==========================================
   JHS Article Cards - Width Refinement
   ========================================== */

/* Keep ordinary articles narrower than banner */
.com-content-article {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Login and registration cards */
.com-users-login,
.com-users-registration,
.com-users-profile {
    width: 100%;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Avoid oversized article images */
.com-content-article img {
    max-width: 100%;
    height: auto;
}

/* Maintain comfortable spacing on phones */
@media (max-width: 850px) {
    .com-content-article,
    .com-users-login,
    .com-users-registration,
    .com-users-profile {
        width: 100%;
        padding: 20px;
    }
}



/* JHS - Full Width Article Refinement */
.container-component {
    padding-left: 0;
    padding-right: 0;
}

.com-content-article {
    padding-left: 14.4px;
    padding-right: 14.4px;
}

@media (max-width: 700px) {
    .container-component {
        padding-left: 10px;
        padding-right: 10px;
    }
}


/* JHS - Reduce Banner to Body Gap */
.container-component {
    margin-top: 0 !important;
}

.site-grid {
    row-gap: 15px;
}


/* JHS - Compact Inner Content */
.com-content-article {
    padding: 12px !important;
}

.com-content-article > :first-child,
.com-content-article__body > :first-child,
.com-content-article .page-header,
.com-content-article .page-header h1,
.com-content-article .page-header h2 {
    margin-top: 0 !important;
}
