/* =========================================================
   MJ STUDIO65
   INFORMATION PAGES
   ========================================================= */


/* =========================================================
   PAGE HERO
   ========================================================= */

.mj-info-hero {
    padding: 86px 0 62px;

    border-bottom: 1px solid var(--mj-border);

    background: var(--mj-surface-soft);
}


.mj-info-hero__inner {
    max-width: 900px;
}


.mj-info-hero__eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--mj-orange);

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.mj-info-hero h1 {
    margin: 0;

    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1;

    letter-spacing: -0.04em;
}


.mj-info-hero__intro {
    max-width: 760px;

    margin: 24px 0 0;

    color: var(--mj-text-secondary);

    font-size: 1.08rem;
    line-height: 1.7;
}



/* =========================================================
   PAGE LAYOUT
   ========================================================= */

.mj-info-page {
    padding: 68px 0 92px;
}


.mj-info-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 820px)
        minmax(240px, 300px);

    justify-content: space-between;

    gap: 72px;

    align-items: start;
}


.mj-info-main {
    min-width: 0;
}



/* =========================================================
   INFORMATION CONTENT
   ========================================================= */

.mj-info-content {
    font-size: 1.02rem;
    line-height: 1.8;
}


.mj-info-content > *:first-child {
    margin-top: 0;
}


.mj-info-content p {
    margin: 0 0 1.5em;

    color: var(--mj-text-secondary);
}


.mj-info-content h2 {
    margin: 2.15em 0 0.75em;

    font-size: clamp(1.6rem, 3vw, 2.15rem);
    line-height: 1.2;

    letter-spacing: -0.02em;

    scroll-margin-top: 110px;
}


.mj-info-content h3 {
    margin: 1.8em 0 0.65em;

    font-size: 1.3rem;
    line-height: 1.3;

    scroll-margin-top: 110px;
}


.mj-info-content ul,
.mj-info-content ol {
    margin: 0 0 1.5em;

    padding-left: 24px;
}


.mj-info-content li {
    margin: 8px 0;

    color: var(--mj-text-secondary);
}


.mj-info-content a {
    color: var(--mj-orange);

    text-underline-offset: 3px;
}

.mj-info-content .mj-button {
    color: #ffffff;
    text-decoration: none;
}


.mj-info-content .mj-button:hover {
    color: #ffffff;
}


/* =========================================================
   INFO PAGE TOPIC CARDS
   ========================================================= */

.mj-info-content {
    background: transparent;
}


/* Each direct section becomes its own card */
.mj-info-content > section {
    margin-bottom: 24px;
    padding: 34px 36px;

    background: var(--mj-surface);

    border: 1px solid var(--mj-border);
    border-radius: 18px;
}


/* Last card */
.mj-info-content > section:last-child {
    margin-bottom: 0;
}


/* Remove oversized top spacing inside each card */
.mj-info-content > section > h2:first-child {
    margin-top: 0;
}


/* Keep final paragraph from adding too much bottom space */
.mj-info-content > section > *:last-child {
    margin-bottom: 0;
}



/* =========================================================
   SIDEBAR
   ========================================================= */

.mj-info-sidebar {
    position: sticky;
    top: 110px;
}


.mj-info-toc {
    padding: 24px;

    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius-md);

    max-height: calc(100vh - 140px);
    overflow-y: auto;

    background: var(--mj-surface);   
}


.mj-info-toc h2 {
    margin: 0 0 16px;

    font-size: 0.92rem;

    letter-spacing: 0.04em;
    text-transform: uppercase;
}


.mj-info-toc nav {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


.mj-info-toc a {
    color: var(--mj-text-secondary);

    font-size: 0.84rem;
    line-height: 1.4;

    text-decoration: none;
}


.mj-info-toc a:hover {
    color: var(--mj-orange);
}



/* =========================================================
   MJ STUDIO65 BRAND CARD
   ========================================================= */

.mj-info-brand-card {
    margin-top: 24px;

    padding: 28px;

    border-radius: var(--mj-radius-md);

    background: var(--mj-dark);

    color: #ffffff;
}


.mj-info-brand-card__name {
    display: block;

    font-size: 1.35rem;
    font-weight: 800;
}


.mj-info-brand-card__name span {
    color: var(--mj-orange);
}


.mj-info-brand-card__sub {
    display: block;

    margin-top: 2px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.64rem;
    font-weight: 700;

    letter-spacing: 0.14em;
}


.mj-info-brand-card p {
    margin: 24px 0;

    color: rgba(255, 255, 255, 0.74);

    font-size: 0.9rem;
    line-height: 1.7;
}


.mj-info-brand-card a {
    color: var(--mj-orange);

    font-size: 0.82rem;
    font-weight: 750;

    text-decoration: none;
}



/* =========================================================
   RELATED INFORMATION
   ========================================================= */

.mj-info-related {
    margin-top: 72px;
    padding-top: 48px;

    border-top: 1px solid var(--mj-border);
}


.mj-info-related-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;
}


.mj-info-related-card {
    padding: 24px;

    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius-md);

    background: var(--mj-surface);

    text-decoration: none;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}


.mj-info-related-card:hover {
    border-color: var(--mj-orange);

    transform: translateY(-2px);
}


.mj-info-related-card span {
    color: var(--mj-orange);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}


.mj-info-related-card h3 {
    margin: 8px 0 0;

    color: var(--mj-text);

    font-size: 1.02rem;
    line-height: 1.35;
}


/* =========================================================
   AUTHOR PAGE
   ========================================================= */

.mj-author-profile {
    display: grid;

    grid-template-columns: 120px minmax(0, 1fr);

    gap: 34px;

    align-items: center;
}

.mj-author-profile__mark {
    width: 120px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;

    background: var(--mj-dark);

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);

    color: #ffffff;

    font-size: 1.8rem;
    font-weight: 800;

    letter-spacing: -0.03em;
}

.mj-author-profile__photo {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;
}


.mj-author-topics {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 20px;
}


.mj-author-topics span {
    padding: 8px 13px;

    border: 1px solid var(--mj-border);
    border-radius: 999px;

    background: var(--mj-surface);

    color: var(--mj-text-secondary);

    font-size: 0.78rem;
    font-weight: 650;
}



/* =========================================================
   AUTHOR ARTICLES
   ========================================================= */

.mj-author-articles {
    margin-top: 72px;
    padding-top: 48px;

    border-top: 1px solid var(--mj-border);
}


.mj-author-article-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;
}


.mj-author-article-card {
    overflow: hidden;

    border: 1px solid var(--mj-border);
    border-radius: var(--mj-radius-md);

    background: var(--mj-surface);
}


.mj-author-article-card__image {
    display: block;

    height: 210px;

    overflow: hidden;

    background: var(--mj-dark);
}


.mj-author-article-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}


.mj-author-article-card:hover
.mj-author-article-card__image img {
    transform: scale(1.025);
}


.mj-author-article-card__content {
    padding: 20px;
}


.mj-author-article-card__content h3 {
    margin: 8px 0 14px;

    font-size: 1.05rem;
    line-height: 1.4;
}


.mj-author-article-card__content h3 a {
    color: var(--mj-text);

    text-decoration: none;
}


.mj-author-article-card__content h3 a:hover {
    color: var(--mj-orange);
}


.mj-author-article-card__date {
    color: var(--mj-text-light);

    font-size: 0.72rem;
}


/* =========================================================
   INFO PAGE BOX RADIUS
   ========================================================= */

.mj-info-hero,
.mj-info-content,
.mj-info-toc,
.mj-info-brand-card {
    border-radius: 18px;
    overflow: hidden;
}

.about-hero,
.about-introduction,
.about-cover-section,
.about-mission,
.about-more,
.about-philosophy,
.about-looking-ahead,
.about-closing,
.about-contact {
    border-radius: 18px;
    overflow: hidden;
}

/* =========================================================
   AUTHOR HERO CARD
   ========================================================= */

.mj-author-hero {
    background: transparent;
}

.mj-author-hero > .mj-container {
    padding-top: 46px;
    padding-bottom: 46px;
    padding-left: 40px;
    padding-right: 40px;

    background: var(--mj-surface);

    border-radius: 18px;
    overflow: hidden;
}


/* =========================================================
   INFO PAGE HERO CARD
   ========================================================= */

.mj-info-hero {
    background: transparent;
}

.mj-info-hero > .mj-container {
    padding-top: 54px;
    padding-bottom: 54px;
    padding-left: 40px;
    padding-right: 40px;

    background: var(--mj-surface);

    border-radius: 18px;
    overflow: hidden;
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .mj-info-layout {
        grid-template-columns: minmax(0, 1fr) 250px;

        gap: 42px;
    }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .mj-info-hero {
        padding: 62px 0 46px;
    }


    .mj-info-page {
        padding: 48px 0 70px;
    }


    .mj-info-layout {
        display: block;
    }

    .mj-info-toc {
        max-height: none;
        overflow-y: visible;
    }


    .mj-info-sidebar {
        position: static;

        margin-top: 48px;
    }


    .mj-info-related-grid {
        grid-template-columns: 1fr;
    }

    .mj-author-profile {
        grid-template-columns: 82px minmax(0, 1fr);

        gap: 22px;
    }


    .mj-author-profile__mark {
        width: 82px;
        height: 82px;

        font-size: 1.3rem;
    }


    .mj-author-article-grid {
        grid-template-columns: 1fr;
    }

    .mj-author-hero > .mj-container {
        padding-top: 34px;
        padding-bottom: 34px;
        padding-left: 20px;
        padding-right: 20px;

        border-radius: 12px;
    }

    .mj-info-content > section {
        margin-bottom: 18px;
        padding: 24px 22px;

        border-radius: 12px;
    }
    

}



/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .mj-info-hero {
        padding: 50px 0 38px;
    }


    .mj-info-hero__intro {
        font-size: 1rem;
    }


    .mj-info-content {
        font-size: 1rem;
        line-height: 1.75;
    }


    .mj-info-toc,
    .mj-info-brand-card {
        padding: 20px;
    }

    .mj-author-profile {
        display: block;
    }


    .mj-author-profile__mark {
        margin-bottom: 24px;
    }


    .mj-author-article-card__image {
        height: 190px;
    }

}