
/* =====================================================
   JSTA - CONTACT PAGE
   Journal of Scientific and Technological Advances
   Page-scoped stylesheet
   ===================================================== */

/* PAGE */

.jc-page {
    color: #23384a;
    background: #fff;
}

.jc-page * {
    box-sizing: border-box;
}

.jc-page .container {
    width: min(1140px, calc(100% - 40px));
    margin-inline: auto;
}

/* =====================================================
   FIRST SECTION - LIGHT HERO DESIGN
   Matches other JSTA pages
   ===================================================== */

.jc-page .jc-hero {
    background: linear-gradient(
        115deg,
        #edf6f8 0%,
        #f8fbfc 60%,
        #ffffff 100%
    );

    padding: 78px 0 80px;
    color: #12364c;
    border-bottom: 1px solid #dce8eb;
}

.jc-hero-inner {
    max-width: 1140px;
}

/* Hero small heading */

.jc-page .jc-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    color: #197f8b;
    margin-bottom: 17px;
}

/* Hero title */

.jc-page .jc-hero h1 {
    color: #12364c;
    font-size: clamp(34px, 5vw, 54px);
    letter-spacing: -.035em;
    line-height: 1.14;
    margin: 0 0 19px;
    font-weight: 700;
}

/* Hero description */

.jc-page .jc-hero p {
    max-width: 680px;
    font-size: 17px;
    line-height: 1.8;
    color: #43586b;
    margin: 0;
}

/* =====================================================
   CONTACT CONTENT
   ===================================================== */

.jc-section {
    padding: 70px 0 90px;
}

.jc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 62px;
    align-items: start;
}

/* Section labels */

.jc-label,
.jc-card-label {
    display: block;
    color: #217d88;
    font-weight: 750;
    font-size: 12px;
    letter-spacing: .12em;
}

/* Main heading */

.jc-main h2 {
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -.02em;
    line-height: 1.3;
    color: #12364c;
    margin: 12px 0 17px;
}

/* Introduction and contact details */

.jc-intro,
.jc-detail > p {
    line-height: 1.85;
    font-size: 16px;
    color: #516478;
    margin: 0 0 30px;
}

/* =====================================================
   CONTACT CARDS
   ===================================================== */

.jc-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.jc-card {
    border: 1px solid #e1eaee;
    border-radius: 12px;
    background: #f9fcfd;
    padding: 25px;
}

.jc-card h3 {
    font-size: 19px;
    color: #12364c;
    margin: 13px 0 10px;
}

.jc-card p {
    color: #526679;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.jc-muted {
    font-size: 13px;
    color: #718395;
}

/* =====================================================
   ADDITIONAL CONTACT INFORMATION
   ===================================================== */

.jc-detail {
    margin-top: 44px;
}

.jc-detail h2 {
    font-size: 25px;
}

/* Notice */

.jc-notice {
    border-left: 3px solid #197f8b;
    background: #eef7f8;
    padding: 20px 23px;
    border-radius: 0 9px 9px 0;
}

.jc-notice strong {
    color: #12364c;
}

.jc-notice p {
    color: #476273;
    font-size: 14px;
    line-height: 1.8;
    margin: 6px 0 0;
}

/* =====================================================
   RIGHT-SIDE INFORMATION PANEL
   ===================================================== */

.jc-aside {
    background: #f4f9fa;
    border: 1px solid #e0eaee;
    border-radius: 14px;
    padding: 31px 28px;
}

.jc-aside-top {
    color: #197f8b;
    letter-spacing: .12em;
    font-size: 11px;
    font-weight: 800;
}

.jc-aside h2 {
    font-size: 24px;
    color: #12364c;
    margin: 12px 0;
}

.jc-aside p {
    color: #566c7c;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 23px;
}

/* =====================================================
   BUTTONS AND LINKS
   ===================================================== */

.jc-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    background: #197f8b;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    padding: 14px 17px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.jc-button:hover,
.jc-button:focus-visible {
    background: #126673;
}

.jc-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 2px;
    border-bottom: 1px solid #dce8eb;
    color: #1d5469;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.jc-link:last-child {
    border-bottom: 0;
}

.jc-link:hover,
.jc-link:focus-visible {
    color: #0c818d;
}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 850px) {

    .jc-layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .jc-section {
        padding: 45px 0 65px;
    }
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 570px) {

    .jc-page .container {
        width: min(100% - 30px, 1140px);
    }

    .jc-page .jc-hero {
        padding: 58px 0;
    }

    .jc-page .jc-hero p {
        font-size: 15px;
    }

    .jc-contact-grid {
        grid-template-columns: 1fr;
    }

    .jc-aside {
        padding: 25px 21px;
    }
}
