/* ==========================================================
   LINKEDIN ARTICLES PAGE
   Mohammed Shahin
========================================================== */


/* ==========================================================
   PAGE
========================================================== */

.linkedin-articles-page {
    background: #f7f9f8;
    min-height: 100vh;
    overflow-x: hidden;
}


/* ==========================================================
   HERO
========================================================== */

.linkedin-hero {
    padding: 90px 0 70px;
    background:
        radial-gradient(
            circle at top right,
            rgba(212, 157, 38, 0.08),
            transparent 35%
        ),
        #ffffff;
}

.linkedin-hero .container {
    max-width: 1200px;
}

.linkedin-hero .section-title {
    display: inline-block;

    color: #c99525;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.linkedin-hero h1 {
    max-width: 850px;

    margin: 0 0 20px;

    color: #075f50;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 800;
}

.linkedin-hero h1 span {
    color: #c99525;
}

.linkedin-hero p {
    max-width: 760px;

    margin: 0;

    color: #61716f;

    font-size: 18px;
    line-height: 1.8;
}


/* ==========================================================
   ARTICLES SECTION
========================================================== */

.linkedin-articles {
    background: #f7f9f8;

    padding-top: 80px;
    padding-bottom: 100px;
}


/* ==========================================================
   SECTION HEADER
========================================================== */

.linkedin-articles .section-header {
    margin-bottom: 55px;
}

.linkedin-articles .section-title {
    display: inline-block;

    color: #c99525;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 12px;
}

.linkedin-articles .heading {
    color: #075f50;

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.2;

    margin: 0 0 14px;
}

.linkedin-articles .subtitle {
    max-width: 700px;

    margin: 0 auto;

    color: #657571;

    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================
   ARTICLE GRID
========================================================== */

.linkedin-articles .insight-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 30px;

    align-items: stretch;

    width: 100%;
}


/* ==========================================================
   ARTICLE CARD
========================================================== */

.linkedin-articles .insight-card {
    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #e1e9e6;

    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(5, 55, 47, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.linkedin-articles .insight-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(5, 55, 47, 0.12);
}


/* ==========================================================
   LINKEDIN PLACEHOLDER
========================================================== */

.linkedin-articles .linkedin-image {

    /* IMPORTANT */
    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    justify-content: center !important;

    flex-shrink: 0 !important;

    width: 100% !important;

    height: 220px !important;

    min-height: 220px !important;

    max-height: 220px !important;

    margin: 0 !important;

    padding: 0 !important;

    gap: 14px !important;

    box-sizing: border-box !important;

    background: #f5f7fa !important;

    color: #0a66c2 !important;

    text-align: center !important;

    overflow: hidden !important;
}


/* ==========================================================
   LINKEDIN LOGO
========================================================== */

.linkedin-articles .linkedin-image .linkedin-icon {

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 58px !important;

    height: 58px !important;

    min-width: 58px !important;

    min-height: 58px !important;

    max-width: 58px !important;

    max-height: 58px !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;

    background: #0a66c2 !important;

    color: #ffffff !important;

    border-radius: 5px !important;

    font-family: Arial, sans-serif !important;

    font-size: 34px !important;

    font-weight: 700 !important;

    line-height: 1 !important;

    text-align: center !important;
}


/* ==========================================================
   LINKEDIN LABEL
========================================================== */

.linkedin-articles .linkedin-image span {

    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #0a66c2 !important;

    font-size: 16px !important;

    font-weight: 500 !important;

    line-height: 1.4 !important;

    text-align: center !important;
}


/* ==========================================================
   ARTICLE CONTENT
========================================================== */

.linkedin-articles .insight-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    min-width: 0;

    padding: 26px 28px 28px;
}


/* ==========================================================
   CATEGORY
========================================================== */

.linkedin-articles .category {

    align-self: flex-start;

    display: inline-block;

    margin: 0 0 18px;

    padding: 7px 15px;

    background: #eef7f4;

    color: #075f50;

    border-radius: 30px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


/* ==========================================================
   ARTICLE TITLE
========================================================== */

.linkedin-articles .insight-content h3 {

    margin: 0 0 18px;

    color: #075f50;

    font-size: 24px;

    line-height: 1.45;

    font-weight: 700;
}


/* ==========================================================
   ARTICLE DESCRIPTION
========================================================== */

.linkedin-articles .insight-content p {

    margin: 0 0 25px;

    color: #657571;

    font-size: 16px;

    line-height: 1.8;
}


/* ==========================================================
   LINK
========================================================== */

.linkedin-articles .insight-content a {

    display: inline-block;

    margin-top: auto;

    color: #c99525;

    font-size: 16px;

    font-weight: 700;

    text-decoration: none;

    transition: color 0.25s ease;
}

.linkedin-articles .insight-content a:hover {
    color: #075f50;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .linkedin-hero {
        padding: 70px 0 55px;
    }

    .linkedin-articles {
        padding-top: 65px;
    }

    .linkedin-articles .insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 24px;
    }

    .linkedin-articles .insight-content {
        padding: 24px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 680px) {

    .linkedin-hero {
        padding: 55px 0 45px;
    }

    .linkedin-hero h1 {
        font-size: 38px;

        line-height: 1.12;
    }

    .linkedin-hero p {
        font-size: 16px;

        line-height: 1.7;
    }


    .linkedin-articles {
        padding-top: 50px;
        padding-bottom: 70px;
    }


    .linkedin-articles .section-header {
        margin-bottom: 38px;
    }


    .linkedin-articles .heading {
        font-size: 32px;
    }


    .linkedin-articles .subtitle {
        font-size: 15px;
    }


    .linkedin-articles .insight-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .linkedin-articles .insight-card {
        border-radius: 20px;
    }


    .linkedin-articles .linkedin-image {

        height: 190px !important;

        min-height: 190px !important;

        max-height: 190px !important;
    }


    .linkedin-articles .linkedin-image .linkedin-icon {

        width: 54px !important;
        height: 54px !important;

        min-width: 54px !important;
        min-height: 54px !important;

        max-width: 54px !important;
        max-height: 54px !important;

        font-size: 30px !important;
    }


    .linkedin-articles .linkedin-image span {

        font-size: 15px !important;
    }


    .linkedin-articles .insight-content {

        padding: 23px 22px 25px;
    }


    .linkedin-articles .insight-content h3 {

        font-size: 21px;

        line-height: 1.45;
    }


    .linkedin-articles .insight-content p {

        font-size: 15px;

        line-height: 1.7;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 400px) {

    .linkedin-hero h1 {
        font-size: 34px;
    }


    .linkedin-articles .linkedin-image {

        height: 175px !important;

        min-height: 175px !important;

        max-height: 175px !important;
    }


    .linkedin-articles .insight-content h3 {

        font-size: 20px;
    }

}