

/* externship page css */

/* =========================================
   EXTERNSHIP REPORTS PAGE
   Query Loop Grid Layout UI
========================================= */

.ex,
.ex * {
    box-sizing: border-box;
}

/* Main Section */

.ex {
    position: relative !important;

    width: 100% !important;

    padding: 80px 30px !important;
    margin-top: 50px !important;

    overflow: hidden !important;

    border-radius: 34px !important;

    background:
        radial-gradient(circle at top left, rgba(250,204,21,0.16), transparent 30%),
        radial-gradient(circle at top right, rgba(249,115,22,0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(34,197,94,0.12), transparent 30%),
        linear-gradient(
            135deg,
            #fffdf7,
            #fff7ed,
            #f0fdf4,
            #f8fafc
        ) !important;

    border: 1px solid rgba(255,255,255,0.55) !important;

    box-shadow:
        0 16px 42px rgba(15,23,42,0.06),
        inset 0 1px 0 rgba(255,255,255,0.7) !important;

    font-family: 'Poppins', sans-serif !important;
}

/* Decorative Background Glow */

.ex::before,
.ex::after {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    filter: blur(100px);

    z-index: 0;
}

.ex::before {
    top: -130px;
    left: -110px;

    background: rgba(250,204,21,0.18);
}

.ex::after {
    bottom: -150px;
    right: -120px;

    background: rgba(34,197,94,0.14);
}

/* Keep Content Above Glow */

.ex > * {
    position: relative;
    z-index: 2;
}

/* Main Heading */

.ex h1 {
    text-align: center !important;

    font-size: 3rem !important;
    font-weight: 800 !important;

    margin-bottom: 20px !important;

    line-height: 1.2 !important;

    background:
        linear-gradient(
            90deg,
            #f59e0b,
            #f97316,
            #22c55e
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    letter-spacing: 0.5px !important;
}

/* Heading Underline */

.ex h1::after {
    content: "";

    display: block;

    width: 140px;
    height: 6px;

    margin: 18px auto 0;

    border-radius: 50px;

    background:
        linear-gradient(
            90deg,
            #facc15,
            #f97316,
            #22c55e
        );

    box-shadow:
        0 5px 14px rgba(249,115,22,0.25);
}

/* Section Heading */

.ex h2 {
    position: relative;

    width: 92% !important;
    max-width: 1100px !important;

    margin: 55px auto 18px !important;

    padding-left: 18px !important;

    font-size: 2rem !important;
    font-weight: 700 !important;

    color: #0f172a !important;

    line-height: 1.3 !important;
}

/* Accent Line */

.ex h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 4px;

    width: 6px;
    height: 82%;

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            #facc15,
            #f97316,
            #22c55e
        );
}

/* Paragraphs */

.ex p {
    width: 92% !important;
    max-width: 1100px !important;

    margin: 0 auto 28px !important;

    padding: 18px 22px !important;

    font-size: 1.04rem !important;

    line-height: 2 !important;

    color: #475569 !important;

    text-align: justify !important;

    background: rgba(255,255,255,0.42);

    backdrop-filter: blur(8px);

    border-radius: 18px !important;

    border: 1px solid rgba(255,255,255,0.45);

    box-shadow:
        0 5px 14px rgba(15,23,42,0.03);
}

/* =========================================
   QUERY LOOP GRID
========================================= */

.ex .wp-block-query,
.ex .reports-grid {
    width: 95% !important;

    max-width: 1350px !important;

    margin: 55px auto 0 !important;
}

/* Grid Layout */

.ex .wp-block-post-template,
.ex .reports-grid {
    display: grid !important;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr)) !important;

    gap: 34px !important;

    list-style: none !important;

    padding: 0 !important;
}

/* =========================================
   REPORT CARD
========================================= */

.ex .wp-block-post,
.ex .report-card {
    position: relative !important;

    overflow: hidden !important;

    padding: 30px 26px !important;

    border-radius: 28px !important;

    background: rgba(255,255,255,0.82) !important;

    backdrop-filter: blur(12px) !important;

    border: 1px solid rgba(255,255,255,0.55) !important;

    box-shadow:
        0 14px 35px rgba(15,23,42,0.08),
        0 8px 22px rgba(249,115,22,0.08),
        inset 0 1px 0 rgba(255,255,255,0.7) !important;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease !important;
}

/* Top Gradient Border */

.ex .wp-block-post::before,
.ex .report-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 6px;

    background:
        linear-gradient(
            90deg,
            #facc15,
            #f97316,
            #22c55e
        );
}

/* Card Hover */

.ex .wp-block-post:hover,
.ex .report-card:hover {
    transform: translateY(-8px) !important;

    box-shadow:
        0 24px 50px rgba(15,23,42,0.12),
        0 14px 32px rgba(249,115,22,0.12),
        0 10px 24px rgba(34,197,94,0.10) !important;
}

/* =========================================
   PERSON NAME / POST TITLE
========================================= */

.ex .wp-block-post-title,
.ex .report-card h3 {
    margin-bottom: 16px !important;

    font-size: 1.45rem !important;
    font-weight: 700 !important;

    line-height: 1.3 !important;

    color: #0f172a !important;
}

.ex .wp-block-post-title a {
    text-decoration: none !important;

    color: inherit !important;

    transition: color 0.25s ease !important;
}

.ex .wp-block-post-title a:hover {
    color: #f97316 !important;
}

/* =========================================
   POST CONTENT
========================================= */

.ex .wp-block-post-excerpt,
.ex .wp-block-post-content,
.ex .report-card p {
    margin-bottom: 24px !important;

    font-size: 0.98rem !important;

    line-height: 1.9 !important;

    color: #64748b !important;

    background: transparent !important;

    padding: 0 !important;

    border: none !important;

    box-shadow: none !important;

    text-align: left !important;
}

/* =========================================
   REPORT IMAGE
========================================= */

.ex .wp-block-post-featured-image img,
.ex .report-card img {
    width: 100% !important;

    height: 220px !important;

    object-fit: cover !important;

    border-radius: 20px !important;

    margin-bottom: 22px !important;

    box-shadow:
        0 10px 24px rgba(15,23,42,0.10) !important;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease !important;
}

/* Image Hover */

.ex .wp-block-post:hover img,
.ex .report-card:hover img {
    transform: scale(1.03) !important;

    box-shadow:
        0 18px 36px rgba(15,23,42,0.16) !important;
}

/* =========================================
   BUTTONS
========================================= */

.ex .wp-block-button,
.ex .report-buttons {
    margin-top: 20px !important;
}

.ex .wp-block-button__link,
.ex .report-buttons a,
.ex button {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 13px 22px !important;

    border-radius: 16px !important;

    text-decoration: none !important;

    font-size: 0.95rem !important;
    font-weight: 600 !important;

    color: white !important;

    background:
        linear-gradient(
            135deg,
            #f59e0b,
            #f97316
        ) !important;

    box-shadow:
        0 10px 22px rgba(249,115,22,0.22) !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}

/* Button Hover */

.ex .wp-block-button__link:hover,
.ex .report-buttons a:hover,
.ex button:hover {
    transform: translateY(-3px) !important;

    box-shadow:
        0 16px 30px rgba(249,115,22,0.28) !important;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {

    .ex .wp-block-post-template,
    .ex .reports-grid {
        grid-template-columns:
            repeat(auto-fit, minmax(260px, 1fr)) !important;
    }
}

/* Mobile */

@media (max-width: 768px) {

    .ex {
        padding: 50px 16px !important;

        border-radius: 24px !important;
    }

    .ex h1 {
        font-size: 2.2rem !important;
    }

    .ex h2 {
        width: 100% !important;

        font-size: 1.5rem !important;

        margin-top: 42px !important;
    }

    .ex p {
        width: 100% !important;

        padding: 16px !important;

        font-size: 1rem !important;

        text-align: left !important;

        line-height: 1.85 !important;
    }

    .ex .wp-block-query,
    .ex .reports-grid {
        width: 100% !important;
    }

    .ex .wp-block-post-template,
    .ex .reports-grid {
        gap: 24px !important;
    }

    .ex .wp-block-post,
    .ex .report-card {
        padding: 24px 20px !important;
    }

    .ex .wp-block-post-featured-image img,
    .ex .report-card img {
        height: 200px !important;
    }

    .ex .wp-block-button__link,
    .ex .report-buttons a,
    .ex button {
        width: 100% !important;
    }
}