/* =========================================================
   ACADEMIC LIBRARY
   CITY COLLEGE OF ORMOC

   Office Design System
   Matches Legal / GAD / Registrar Office Design
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --library-blue: #002D4F;

    --library-cyan: #7EC8E3;

    --library-light-blue: #A9D6F5;

    --library-pale-blue: #D6EAF7;

    --library-background: #F7F9FB;

    --library-white: #FFFFFF;

    --library-text: #31465A;

    --library-border: rgba(0, 45, 79, 0.12);

}


/* =========================================================
   PAGE
   ========================================================= */

.library-page {

    width: 100%;

    overflow: hidden;

    background:
        var(--library-background);

    color:
        var(--library-text);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

}


.library-page *,
.library-page *::before,
.library-page *::after {

    box-sizing: border-box;

}


/* =========================================================
   CONTAINER
   ========================================================= */

.library-container,
.library-hero-inner {

    width:
        calc(100% - 2in);

    margin-left:
        auto;

    margin-right:
        auto;

}


/* =========================================================
   HERO
   ========================================================= */

.library-hero {

    position:
        relative;

    min-height:
        430px;

    display:
        flex;

    align-items:
        center;

    background:
        var(--library-blue);

    color:
        var(--library-white);

    overflow:
        hidden;

}


.library-hero-inner {

    position:
        relative;

    min-height:
        430px;

    display:
        flex;

    align-items:
        center;

}


.library-hero-content {

    position:
        relative;

    z-index:
        2;

    max-width:
        850px;

    padding:
        55px 0 70px;

}


/* =========================================================
   BACK BUTTON
   ========================================================= */

.library-back-button {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    margin-bottom:
        28px;

    padding:
        9px 15px;

    border:
        1px solid rgba(255, 255, 255, .28);

    border-radius:
        6px;

    background:
        rgba(255, 255, 255, .06);

    color:
        #FFFFFF;

    font-size:
        11px;

    font-weight:
        600;

    line-height:
        1;

    text-decoration:
        none;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;

}


.library-back-arrow {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    font-size:
        17px;

    line-height:
        1;

    transition:
        transform .25s ease;

}


.library-back-button:hover {

    background:
        var(--library-light-blue);

    border-color:
        var(--library-light-blue);

    color:
        var(--library-blue);

    transform:
        translateX(-2px);

}


.library-back-button:hover
.library-back-arrow {

    transform:
        translateX(-3px);

}


/* =========================================================
   HERO EYEBROW
   ========================================================= */

.library-eyebrow {

    display:
        block;

    margin-bottom:
        20px;

    color:
        var(--library-cyan);

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        2.5px;

    text-transform:
        uppercase;

}


/* =========================================================
   HERO TITLE
   ========================================================= */

.library-hero h1 {

    max-width:
        1000px;

    margin:
        0;

    color:
        #FFFFFF;

    font-size:
        clamp(54px, 6vw, 88px);

    line-height:
        .92;

    letter-spacing:
        -4px;

    font-weight:
        750;

}


.library-hero h1 span {

    display:
        block;

    color:
        var(--library-light-blue);

}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.library-hero p {

    max-width:
        680px;

    margin:
        30px 0 0;

    color:
        rgba(255, 255, 255, .86);

    font-size:
        14px;

    line-height:
        1.7;

}


/* =========================================================
   HERO DECORATIONS
   ========================================================= */

.library-hero-decoration {

    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;

}


.library-circle {

    position:
        absolute;

    display:
        block;

    border:
        1px solid
        rgba(126, 200, 227, .22);

    border-radius:
        50%;

}


.library-circle-one {

    width:
        360px;

    height:
        360px;

    top:
        -155px;

    right:
        60px;

}


.library-circle-two {

    width:
        150px;

    height:
        150px;

    top:
        -50px;

    right:
        165px;

    background:
        rgba(126, 200, 227, .035);

}


.library-circle-three {

    width:
        190px;

    height:
        190px;

    bottom:
        -135px;

    right:
        270px;

}


/* =========================================================
   HERO NUMBER
   ========================================================= */

.library-hero-number {

    position:
        absolute;

    right:
        6%;

    bottom:
        5px;

    z-index:
        1;

    color:
        rgba(126, 200, 227, .08);

    font-size:
        clamp(110px, 12vw, 190px);

    line-height:
        .8;

    font-weight:
        800;

    letter-spacing:
        -8px;

}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.library-overview,
.library-office-head,
.library-personnel,
.library-functions {

    padding:
        95px 0;

}


/* =========================================================
   SECTION BACKGROUNDS
   ========================================================= */

.library-overview {

    background:
        var(--library-white);

}


.library-office-head {

    background:
        var(--library-background);

}


.library-personnel {

    background:
        var(--library-white);

}


.library-functions {

    background:
        var(--library-background);

}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.library-section-heading {

    display:
        grid;

    grid-template-columns:
        70px
        760px;

    margin-bottom:
        45px;

}


.library-section-number {

    padding-top:
        3px;

    color:
        var(--library-cyan);

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        2px;

}


.library-kicker {

    display:
        block;

    margin-bottom:
        13px;

    color:
        var(--library-cyan);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        2px;

    text-transform:
        uppercase;

}


.library-section-heading h2 {

    margin:
        0;

    color:
        var(--library-blue);

    font-size:
        clamp(38px, 4vw, 57px);

    line-height:
        1;

    letter-spacing:
        -2px;

    font-weight:
        750;

}


.library-section-heading p {

    max-width:
        700px;

    margin:
        18px 0 0;

    color:
        var(--library-text);

    font-size:
        14px;

    line-height:
        1.75;

}


/* =========================================================
   OVERVIEW CONTENT
   ========================================================= */

.library-overview-content {

    display:
        grid;

    grid-template-columns:
        70px
        760px;

    margin-left:
        70px;

}


.library-overview-line {

    width:
        1px;

    min-height:
        165px;

    background:
        var(--library-light-blue);

}


.library-overview-text {

    padding-left:
        35px;

}


.library-overview-text p {

    max-width:
        760px;

    margin:
        0 0 20px;

    color:
        var(--library-text);

    font-size:
        14px;

    line-height:
        1.8;

}


.library-overview-text p:last-child {

    margin-bottom:
        0;

}


/* =========================================================
   OFFICE HEAD CARD
   ========================================================= */

.library-head-card {

    min-height:
        310px;

    display:
        grid;

    grid-template-columns:
        35%
        1fr;

    margin-left:
        70px;

    background:
        var(--library-white);

    border:
        1px solid
        var(--library-border);

    border-radius:
        8px;

    overflow:
        hidden;

    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;

}


.library-head-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(126, 200, 227, .5);

    box-shadow:
        0 18px 35px
        rgba(0, 45, 79, .09);

}


/* =========================================================
   OFFICE HEAD IMAGE
   ========================================================= */

.library-head-image {

    min-height:
        310px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        var(--library-light-blue);

    overflow:
        hidden;

}


.library-head-image img {

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        contain;

    object-position:
        center center;

}


.library-image-placeholder {

    width:
        100%;

    min-height:
        310px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        linear-gradient(
            135deg,
            var(--library-light-blue),
            var(--library-pale-blue)
        );

}


.library-image-placeholder span {

    color:
        rgba(0, 45, 79, .55);

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        2px;

}


/* =========================================================
   OFFICE HEAD CONTENT
   ========================================================= */

.library-head-content {

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        42px;

}


.library-head-role {

    display:
        block;

    margin-bottom:
        10px;

    color:
        var(--library-cyan);

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        1.5px;

    text-transform:
        uppercase;

}


.library-head-content h3 {

    margin:
        0;

    color:
        var(--library-blue);

    font-size:
        clamp(25px, 3vw, 36px);

    line-height:
        1.1;

    font-weight:
        700;

}


.library-head-line {

    width:
        32px;

    height:
        2px;

    margin:
        18px 0;

    background:
        var(--library-cyan);

}


.library-head-content > p {

    margin:
        0;

    color:
        var(--library-text);

    font-size:
        12px;

    line-height:
        1.6;

}


.library-head-description {

    margin-top:
        20px;

    padding-top:
        18px;

    border-top:
        1px solid
        var(--library-border);

}


.library-head-description span {

    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--library-blue);

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        1.5px;

}


.library-head-description p {

    margin:
        0;

    color:
        var(--library-text);

    font-size:
        11px;

    line-height:
        1.6;

}


/* =========================================================
   PERSONNEL GRID
   ========================================================= */

.library-members-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        16px;

    margin-left:
        70px;

}


/* =========================================================
   PERSONNEL CARD
   ========================================================= */

.library-member-card {

    min-width:
        0;

    background:
        var(--library-white);

    border:
        1px solid
        var(--library-border);

    border-radius:
        8px;

    overflow:
        hidden;

    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;

}


.library-member-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(126, 200, 227, .55);

    box-shadow:
        0 18px 35px
        rgba(0, 45, 79, .09);

}


/* =========================================================
   MEMBER IMAGE
   ========================================================= */

.library-member-image {

    width:
        100%;

    height:
        250px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        var(--library-light-blue);

    overflow:
        hidden;

}


.library-member-image img {

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        contain;

    object-position:
        center center;

}


/* =========================================================
   MEMBER CONTENT
   ========================================================= */

.library-member-content {

    min-height:
        115px;

    padding:
        20px;

    background:
        var(--library-white);

}


.library-member-role {

    display:
        block;

    margin-bottom:
        8px;

    color:
        var(--library-cyan);

    font-size:
        7px;

    line-height:
        1.5;

    font-weight:
        700;

    letter-spacing:
        1.2px;

    text-transform:
        uppercase;

}


.library-member-content h3 {

    margin:
        0;

    color:
        var(--library-blue);

    font-size:
        14px;

    line-height:
        1.25;

    font-weight:
        700;

}


/* =========================================================
   CORE FUNCTIONS
   SAME 2 x 2 CARD SYSTEM AS LEGAL OFFICE
   ========================================================= */

.library-function-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        16px;

    margin-left:
        70px;

}


/* =========================================================
   FUNCTION CARD
   ========================================================= */

.library-function-card {

    min-height:
        190px;

    padding:
        30px;

    display:
        flex;

    flex-direction:
        column;

    background:
        var(--library-white);

    border:
        1px solid
        var(--library-border);

    border-radius:
        8px;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

}


.library-function-card:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(126, 200, 227, .55);

    box-shadow:
        0 16px 35px
        rgba(0, 45, 79, .08);

}


/* =========================================================
   FUNCTION NUMBER
   ========================================================= */

.library-function-number {

    margin-bottom:
        25px;

    color:
        var(--library-cyan);

    font-size:
        9px;

    line-height:
        1;

    font-weight:
        700;

    letter-spacing:
        2px;

}


/* =========================================================
   FUNCTION CONTENT
   ========================================================= */

.library-function-content {

    display:
        flex;

    flex-direction:
        column;

}


.library-function-kicker {

    display:
        block;

    margin-bottom:
        11px;

    color:
        var(--library-cyan);

    font-size:
        8px;

    line-height:
        1.3;

    font-weight:
        700;

    letter-spacing:
        1.8px;

    text-transform:
        uppercase;

}


.library-function-content h3 {

    margin:
        0 0 12px;

    color:
        var(--library-blue);

    font-size:
        20px;

    line-height:
        1.2;

    letter-spacing:
        -.4px;

    font-weight:
        700;

}


.library-function-content p {

    max-width:
        650px;

    margin:
        0;

    color:
        var(--library-text);

    font-size:
        12px;

    line-height:
        1.7;

}


/* =========================================================
   CLOSING
   ========================================================= */

.library-closing {

    position:
        relative;

    padding:
        110px 0;

    background:
        var(--library-blue);

    overflow:
        hidden;

}


.library-closing-kicker {

    display:
        block;

    margin-bottom:
        20px;

    color:
        var(--library-cyan);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        2px;

}


.library-closing h2 {

    position:
        relative;

    z-index:
        2;

    max-width:
        900px;

    margin:
        0;

    color:
        #FFFFFF;

    font-size:
        clamp(40px, 5vw, 70px);

    line-height:
        .98;

    letter-spacing:
        -3px;

    font-weight:
        750;

}


.library-closing h2 span {

    display:
        block;

    color:
        var(--library-light-blue);

}


.library-closing-mark {

    position:
        absolute;

    right:
        6%;

    bottom:
        15px;

    color:
        rgba(126, 200, 227, .07);

    font-size:
        clamp(90px, 12vw, 180px);

    line-height:
        .8;

    font-weight:
        800;

    letter-spacing:
        -8px;

}


/* =========================================================
   1200px
   ========================================================= */

@media (max-width: 1200px) {

    .library-container,
    .library-hero-inner {

        width:
            calc(100% - 80px);

    }

}


/* =========================================================
   900px
   ========================================================= */

@media (max-width: 900px) {

    .library-container,
    .library-hero-inner {

        width:
            calc(100% - 40px);

    }


    .library-hero,
    .library-hero-inner {

        min-height:
            400px;

    }


    .library-hero-content {

        padding:
            50px 0 60px;

    }


    .library-hero h1 {

        font-size:
            clamp(48px, 8vw, 72px);

    }


    .library-section-heading {

        grid-template-columns:
            1fr;

        gap:
            14px;

    }


    .library-overview-content {

        margin-left:
            0;

        grid-template-columns:
            1px
            minmax(0, 1fr);

    }


    .library-head-card {

        margin-left:
            0;

    }


    .library-members-grid {

        margin-left:
            0;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .library-function-grid {

        margin-left:
            0;

    }

}


/* =========================================================
   650px
   ========================================================= */

@media (max-width: 650px) {

    .library-container,
    .library-hero-inner {

        width:
            calc(100% - 30px);

    }


    .library-hero,
    .library-hero-inner {

        min-height:
            440px;

    }


    .library-hero-content {

        padding:
            40px 0 55px;

    }


    .library-back-button {

        margin-bottom:
            24px;

        padding:
            8px 12px;

        font-size:
            10px;

    }


    .library-back-arrow {

        font-size:
            15px;

    }


    .library-eyebrow {

        font-size:
            8px;

        letter-spacing:
            1.7px;

    }


    .library-hero h1 {

        font-size:
            50px;

        letter-spacing:
            -2.5px;

    }


    .library-hero p {

        font-size:
            12px;

    }


    .library-hero-number {

        font-size:
            100px;

    }


    /* =====================================================
       SECTIONS
       ===================================================== */

    .library-overview,
    .library-office-head,
    .library-personnel,
    .library-functions {

        padding:
            70px 0;

    }


    .library-section-heading {

        margin-bottom:
            35px;

    }


    .library-section-heading h2 {

        font-size:
            38px;

        letter-spacing:
            -1.5px;

    }


    .library-section-heading p {

        font-size:
            13px;

    }


    /* =====================================================
       OVERVIEW
       ===================================================== */

    .library-overview-text {

        padding-left:
            22px;

    }


    .library-overview-text p {

        font-size:
            13px;

    }


    /* =====================================================
       OFFICE HEAD
       ===================================================== */

    .library-head-card {

        grid-template-columns:
            1fr;

    }


    .library-head-image,
    .library-image-placeholder {

        min-height:
            300px;

        height:
            300px;

    }


    .library-head-content {

        padding:
            28px;

    }


    .library-head-content h3 {

        font-size:
            25px;

    }


    /* =====================================================
       PERSONNEL
       ===================================================== */

    .library-members-grid {

        grid-template-columns:
            1fr;

        gap:
            12px;

    }


    .library-member-image {

        height:
            300px;

    }


    .library-member-content {

        min-height:
            0;

        padding:
            20px;

    }


    .library-member-content h3 {

        font-size:
            15px;

    }


    /* =====================================================
       CORE FUNCTIONS
       ===================================================== */

    .library-function-grid {

        grid-template-columns:
            1fr;

        gap:
            12px;

    }


    .library-function-card {

        min-height:
            175px;

        padding:
            24px;

    }


    .library-function-number {

        margin-bottom:
            22px;

    }


    .library-function-content h3 {

        font-size:
            18px;

    }


    .library-function-content p {

        font-size:
            12px;

    }


    /* =====================================================
       CLOSING
       ===================================================== */

    .library-closing {

        padding:
            80px 0;

    }


    .library-closing h2 {

        font-size:
            42px;

        letter-spacing:
            -1.5px;

    }

}