﻿/* =========================================================
   Site Page Details
   موسسه آموزش عالی جهاد دانشگاهی استان کرمانشاه
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --page-navy: #071126;
    --page-navy-2: #0d1b36;
    --page-blue: #2563eb;
    --page-blue-dark: #1d4ed8;
    --page-blue-light: #eff6ff;
    --page-cyan: #0891b2;
    --page-text: #172033;
    --page-muted: #64748b;
    --page-border: #dfe6ef;
    --page-background: #f3f6fa;
    --page-white: #ffffff;
    --page-width: 1180px;
}


/* =========================================================
   BASE
   ========================================================= */

.site-page-wrapper {
    direction: rtl;
    min-height: 100vh;
    background: var(--page-background);
    color: var(--page-text);
    font-family: 'B Mitra', Tahoma, Arial, sans-serif;
}


.page-container {
    width: min( var(--page-width), calc(100% - 32px) );
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.page-site-header {
    position: relative;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid #d8e0ea;
    box-shadow: 0 5px 22px rgba(15, 23, 42, .09);
}


.page-header-inner {
    width: 100%;
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
}


/* =========================================================
   HEADER BRAND
   ========================================================= */

.page-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
    color: var(--page-navy);
    text-decoration: none;
}


.page-brand-image {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #d6dfe9;
    background: #f8fafc;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .10);
}


    .page-brand-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }


.page-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}


    .page-brand-text strong {
        display: block;
        color: var(--page-navy);
        font-family: 'B Titr', 'B Mitra', Tahoma, sans-serif;
        font-size: 20px;
        font-weight: 700;
        white-space: nowrap;
    }


    .page-brand-text span {
        display: block;
        margin-top: 3px;
        color: var(--page-muted);
        font-size: 14px;
        white-space: nowrap;
    }


/* =========================================================
   HEADER NAVIGATION
   ========================================================= */

.page-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    min-width: 0;
}


    .page-main-nav a {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 11px 13px;
        border-radius: 9px;
        color: #475569;
        text-decoration: none;
        white-space: nowrap;
        font-size: 14px;
        font-weight: 600;
        transition: background-color .2s ease, color .2s ease, transform .2s ease;
    }


        .page-main-nav a:hover {
            color: var(--page-blue);
            background: var(--page-blue-light);
            transform: translateY(-1px);
        }


/* =========================================================
   HEADER LOGIN BUTTON
   ========================================================= */

.page-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 43px;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--page-navy);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(7, 17, 38, .17);
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}


    .page-login-button:hover {
        background: var(--page-blue);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(37, 99, 235, .23);
    }


/* =========================================================
   HERO
   ========================================================= */

.page-hero {
    position: relative;
    width: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background-color: var(--page-navy);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}


.page-hero-inner {
    position: relative;
    z-index: 2;
    width: min( var(--page-width), calc(100% - 32px) );
    margin-left: auto;
    margin-right: auto;
    padding: 30px 0 45px;
    box-sizing: border-box;
}


/* =========================================================
   HERO BREADCRUMB
   ========================================================= */

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 55px;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
}


    .page-breadcrumb a {
        color: #ffffff;
        text-decoration: none;
        transition: color .2s ease;
    }


        .page-breadcrumb a:hover {
            color: #93c5fd;
        }


/* =========================================================
   HERO CONTENT
   ========================================================= */

.page-hero-content {
    display: flex;
    align-items: flex-end;
}


.page-hero-text {
    max-width: 820px;
}


.page-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: #bfdbfe;
    font-size: 15px;
}


    .page-label span {
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
        border-radius: 50%;
        background: #38bdf8;
        box-shadow: 0 0 12px rgba(56, 189, 248, .7);
    }


.page-hero h1 {
    margin: 0;
    color: #ffffff;
    font-family: 'B Titr', 'B Mitra', Tahoma, sans-serif;
    font-size: clamp( 30px, 4.2vw, 48px );
    line-height: 1.45;
    font-weight: 700;
    text-shadow: 0 3px 15px rgba(0, 0, 0, .35);
}


.page-subtitle {
    margin: 8px 0 0;
    color: #e2e8f0;
    font-size: 19px;
    line-height: 1.9;
}


.page-summary {
    max-width: 760px;
    margin-top: 12px;
    color: #dbeafe;
    font-size: 15px;
    line-height: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}


/* =========================================================
   MAIN
   ========================================================= */

.page-main {
    width: min(1500px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
    padding: 32px 0 70px;
    box-sizing: border-box;
}

.page-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 25px;
    align-items: start;
}


/* =========================================================
   CONTENT CARD
   ========================================================= */

.page-content-card {
    width: 100%;
    background: var(--page-white);
    border: 1px solid var(--page-border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .06);
    overflow: hidden;
    box-sizing: border-box;
}


.page-content {
    padding: 35px 40px;
    min-height: 200px;
    direction: rtl;
    text-align: right;
    overflow-wrap: anywhere;
    font-family: 'B Mitra', Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 2;
}


    /* =========================================================
   QUILL CONTENT
   ========================================================= */

    .page-content p {
        margin-top: 0;
        margin-bottom: 14px;
    }


    .page-content h1,
    .page-content h2,
    .page-content h3,
    .page-content h4 {
        font-family: 'B Titr', 'B Mitra', Tahoma, sans-serif;
        color: var(--page-navy);
        line-height: 1.8;
    }


    .page-content h1 {
        font-size: 30px;
    }


    .page-content h2 {
        font-size: 26px;
    }


    .page-content h3 {
        font-size: 22px;
    }


    .page-content h4 {
        font-size: 19px;
    }


    .page-content img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }


    .page-content video {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }


    .page-content iframe {
        max-width: 100%;
    }


    .page-content a {
        color: var(--page-blue);
    }


    .page-content blockquote {
        margin: 20px 0;
        padding: 14px 20px;
        border-right: 4px solid var(--page-blue);
        background: var(--page-blue-light);
        color: #334155;
    }


    .page-content pre {
        direction: ltr;
        text-align: left;
        overflow-x: auto;
        padding: 15px;
        border-radius: 10px;
        background: #0f172a;
        color: #e2e8f0;
    }


    /* =========================================================
   QUILL FONT SIZES
   ========================================================= */

    .page-content .ql-size-10px {
        font-size: 10px;
    }

    .page-content .ql-size-11px {
        font-size: 11px;
    }

    .page-content .ql-size-12px {
        font-size: 12px;
    }

    .page-content .ql-size-13px {
        font-size: 13px;
    }

    .page-content .ql-size-14px {
        font-size: 14px;
    }

    .page-content .ql-size-15px {
        font-size: 15px;
    }

    .page-content .ql-size-16px {
        font-size: 16px;
    }

    .page-content .ql-size-18px {
        font-size: 18px;
    }

    .page-content .ql-size-20px {
        font-size: 20px;
    }

    .page-content .ql-size-22px {
        font-size: 22px;
    }

    .page-content .ql-size-24px {
        font-size: 24px;
    }

    .page-content .ql-size-28px {
        font-size: 28px;
    }

    .page-content .ql-size-32px {
        font-size: 32px;
    }

    .page-content .ql-size-36px {
        font-size: 36px;
    }


    /* =========================================================
   QUILL FONTS
   ========================================================= */

    .page-content .ql-font-b-mitra {
        font-family: 'B Mitra', Tahoma, sans-serif;
    }

    .page-content .ql-font-b-nazanin {
        font-family: 'B Nazanin', Tahoma, sans-serif;
    }

    .page-content .ql-font-b-roya {
        font-family: 'B Roya', Tahoma, sans-serif;
    }

    .page-content .ql-font-b-titr {
        font-family: 'B Titr', Tahoma, sans-serif;
    }

    .page-content .ql-font-b-yagut {
        font-family: 'B Yagut', Tahoma, sans-serif;
    }

    .page-content .ql-font-b-zar {
        font-family: 'B Zar', Tahoma, sans-serif;
    }

    .page-content .ql-font-tahoma {
        font-family: Tahoma, sans-serif;
    }


/* =========================================================
   SIDEBAR
   ========================================================= */

.page-sidebar {
    position: sticky;
    top: 25px;
    width: 100%;
}


.sidebar-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--page-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .05);
}


.sidebar-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px;
    border-bottom: 1px solid var(--page-border);
}


.sidebar-title-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    border-radius: 11px;
    background: var(--page-blue-light);
    color: var(--page-blue);
    font-size: 17px;
}


.sidebar-title strong {
    display: block;
    font-size: 16px;
}


.sidebar-title small {
    display: block;
    margin-top: 2px;
    color: var(--page-muted);
    font-size: 11px;
}


.sidebar-items {
    padding: 7px;
}


.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 9px;
    border-radius: 10px;
    color: var(--page-text);
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}


    .sidebar-item:hover {
        background: #f1f5f9;
        color: var(--page-blue);
    }


    .sidebar-item > span:nth-child(2) {
        flex: 1;
        min-width: 0;
        font-size: 14px;
    }


    .sidebar-item b {
        min-width: 26px;
        padding: 2px 7px;
        text-align: center;
        border-radius: 20px;
        background: #f1f5f9;
        color: var(--page-muted);
        font-size: 11px;
    }


.sidebar-item-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}


.image-icon {
    background: #eff6ff;
    color: #2563eb;
}


.video-icon {
    background: #ecfeff;
    color: #0891b2;
}


.pdf-icon {
    background: #fef2f2;
    color: #dc2626;
}


/* =========================================================
   MEDIA SECTION
   ========================================================= */

.media-section {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid var(--page-border);
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
    scroll-margin-top: 25px;
    box-sizing: border-box;
}


.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}


.section-heading-title {
    display: flex;
    align-items: center;
    gap: 12px;
}


.section-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border-radius: 12px;
    font-size: 18px;
}


.image-section-icon {
    background: #eff6ff;
    color: #2563eb;
}


.video-section-icon {
    background: #ecfeff;
    color: #0891b2;
}


.pdf-section-icon {
    background: #fef2f2;
    color: #dc2626;
}


.section-heading h2 {
    margin: 0;
    font-family: 'B Titr', 'B Mitra', Tahoma, sans-serif;
    font-size: 21px;
    color: var(--page-navy);
}


.section-heading p {
    margin: 2px 0 0;
    color: var(--page-muted);
    font-size: 12px;
}


.section-count {
    padding: 5px 11px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
}


/* =========================================================
   IMAGE GALLERY
   ========================================================= */

.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}


.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
    text-decoration: none;
}


    .gallery-item img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .35s ease;
    }


    .gallery-item:hover img {
        transform: scale(1.06);
    }


.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 17, 38, .38);
    opacity: 0;
    transition: opacity .25s ease;
}


.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


.gallery-overlay span {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--page-blue);
}


.gallery-caption {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 8px 10px;
    color: #ffffff;
    background: linear-gradient( transparent, rgba(0, 0, 0, .7) );
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   VIDEO
   ========================================================= */

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


.video-card {
    overflow: hidden;
    border: 1px solid var(--page-border);
    border-radius: 13px;
    background: #f8fafc;
}


.video-wrapper {
    background: #020617;
    aspect-ratio: 16 / 9;
}


    .video-wrapper video {
        width: 100%;
        height: 100%;
        display: block;
    }


.video-title {
    padding: 11px 13px;
    color: #334155;
    font-size: 13px;
}


    .video-title i {
        margin-left: 6px;
        color: var(--page-cyan);
    }


/* =========================================================
   DOCUMENTS
   ========================================================= */

.document-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.document-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--page-border);
    border-radius: 12px;
    background: #f8fafc;
    transition: border-color .2s ease, background-color .2s ease;
}


    .document-item:hover {
        border-color: #bfdbfe;
        background: #f8fbff;
    }


.document-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 22px;
}


.document-info {
    min-width: 0;
    flex: 1;
}


    .document-info strong {
        display: block;
        color: var(--page-text);
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


    .document-info span {
        display: block;
        margin-top: 3px;
        color: var(--page-muted);
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


.document-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 9px;
    background: var(--page-blue);
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    white-space: nowrap;
    transition: background-color .2s ease;
}


    .document-button:hover {
        background: var(--page-blue-dark);
        color: #ffffff;
    }


/* =========================================================
   EMPTY CONTENT
   ========================================================= */

.empty-content {
    padding: 60px 20px;
    text-align: center;
    color: #94a3b8;
}


    .empty-content i {
        display: block;
        font-size: 40px;
        margin-bottom: 12px;
    }


/* =========================================================
   FOOTER
   ========================================================= */

.page-site-footer {
    margin-top: 0;
    background: linear-gradient( 135deg, #071126, #0b1830 );
    color: #cbd5e1;
}


.page-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.1fr 1fr;
    gap: 40px;
    padding: 45px 0 35px;
}


.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


    .footer-column h3 {
        margin: 0 0 15px;
        color: #ffffff;
        font-family: 'B Titr', 'B Mitra', Tahoma, sans-serif;
        font-size: 18px;
    }


    .footer-column > a {
        margin-bottom: 7px;
        color: #aebbd0;
        text-decoration: none;
        font-size: 13px;
        transition: color .2s ease, padding-right .2s ease;
    }


        .footer-column > a:hover {
            color: #ffffff;
            padding-right: 4px;
        }


    .footer-column p {
        margin: 0;
        color: #9eacc1;
        font-size: 12px;
        line-height: 2;
    }


/* =========================================================
   FOOTER BRAND
   ========================================================= */

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}


.footer-brand-image {
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
    overflow: hidden;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .15);
}


    .footer-brand-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }


.footer-brand strong {
    display: block;
    color: #ffffff;
    font-family: 'B Titr', 'B Mitra', Tahoma, sans-serif;
    font-size: 15px;
}


.footer-brand span {
    display: block;
    margin-top: 2px;
    color: #93c5fd;
    font-size: 12px;
}


.footer-about p {
    max-width: 330px;
}


/* =========================================================
   FOOTER CONTACT
   ========================================================= */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


    .footer-contact > div {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #aebbd0;
        font-size: 12px;
    }


    .footer-contact i {
        width: 20px;
        color: #60a5fa;
        text-align: center;
    }


/* =========================================================
   FOOTER ADMIN LINK
   ========================================================= */

.footer-admin-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    margin-top: 14px !important;
    padding: 8px 13px;
    border: 1px solid rgba(147, 197, 253, .3);
    border-radius: 8px;
    color: #dbeafe !important;
    background: rgba(37, 99, 235, .12);
    transition: background-color .2s ease, color .2s ease;
}


    .footer-admin-link:hover {
        padding-right: 13px !important;
        color: #ffffff !important;
        background: rgba(37, 99, 235, .25);
    }


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.page-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
    color: #8190a6;
    font-size: 11px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.page-back-to-top {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 43px;
    height: 43px;
    border: 0;
    border-radius: 12px;
    background: var(--page-navy);
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s ease;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(7, 17, 38, .2);
    z-index: 100;
}


    .page-back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


    .page-back-to-top:hover {
        background: var(--page-blue);
    }


/* =========================================================
   RESPONSIVE - 1100
   ========================================================= */

@media (max-width: 1100px) {

    .page-header-inner {
        gap: 18px;
    }


    .page-main-nav {
        gap: 0;
    }


        .page-main-nav a {
            padding-left: 8px;
            padding-right: 8px;
            font-size: 12px;
        }


    .page-brand-text strong {
        font-size: 17px;
    }


    .page-brand-text span {
        font-size: 12px;
    }
}


/* =========================================================
   RESPONSIVE - 992
   ========================================================= */

@media (max-width: 992px) {

    .page-layout {
        grid-template-columns: 1fr;
    }


    .page-sidebar {
        position: static;
        order: -1;
    }


    .sidebar-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }


    .page-header-inner {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }


    .page-main-nav {
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-top: 6px;
        border-top: 1px solid #eef2f7;
        scrollbar-width: thin;
    }


    .page-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   RESPONSIVE - 768
   ========================================================= */

@media (max-width: 768px) {

    .page-container,
    .page-hero-inner {
        width: min( 1180px, calc(100% - 22px) );
    }


    /* -------------------------
       Header
       ------------------------- */

    .page-header-inner {
        min-height: auto;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }


    .page-brand-image {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
        border-radius: 12px;
    }


    .page-brand-text strong {
        font-size: 15px;
    }


    .page-brand-text span {
        font-size: 11px;
    }


    .page-login-button {
        margin-right: auto;
        min-height: 38px;
        padding: 8px 12px;
        font-size: 11px;
    }


    .page-main-nav {
        scrollbar-width: thin;
    }


        .page-main-nav a {
            padding: 8px 10px;
            font-size: 12px;
        }


    /* -------------------------
       Hero
       ------------------------- */

    .page-hero {
        min-height: 300px;
        background-position: center center;
    }


    .page-hero-inner {
        padding: 20px 0 35px;
    }


    .page-breadcrumb {
        margin-bottom: 40px;
        font-size: 11px;
    }


    .page-hero-content {
        display: block;
    }


    .page-hero h1 {
        font-size: 29px;
    }


    .page-subtitle {
        font-size: 16px;
    }


    .page-summary {
        font-size: 13px;
    }


    /* -------------------------
       Main
       ------------------------- */

    .page-main {
        padding-top: 20px;
        padding-bottom: 45px;
    }


    .page-content {
        padding: 25px 20px;
    }


    .media-section {
        padding: 18px;
        border-radius: 14px;
    }


    .image-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .video-grid {
        grid-template-columns: 1fr;
    }


    .sidebar-items {
        grid-template-columns: 1fr;
    }


    .section-heading {
        align-items: flex-start;
    }


    .section-count {
        display: none;
    }


    .document-item {
        align-items: flex-start;
    }


    .document-button {
        padding: 8px 10px;
        font-size: 11px;
    }


    /* -------------------------
       Footer
       ------------------------- */

    .page-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 35px 0 25px;
    }


    .page-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}


/* =========================================================
   RESPONSIVE - 480
   ========================================================= */

@media (max-width: 480px) {

    .page-brand-text {
        max-width: 190px;
    }


        .page-brand-text strong {
            font-size: 12px;
        }


        .page-brand-text span {
            font-size: 10px;
        }


    .page-login-button {
        font-size: 10px;
        padding-left: 9px;
        padding-right: 9px;
    }


    .page-hero {
        min-height: 270px;
    }


        .page-hero h1 {
            font-size: 24px;
        }


    .page-label {
        font-size: 12px;
    }


    .page-breadcrumb {
        margin-bottom: 32px;
    }


    .page-content {
        padding: 20px 15px;
    }


    .image-gallery {
        grid-template-columns: 1fr;
    }


    .document-item {
        flex-wrap: wrap;
    }


    .document-info {
        width: calc(100% - 65px);
    }


    .document-button {
        width: 100%;
        justify-content: center;
    }


    .page-back-to-top {
        left: 15px;
        bottom: 15px;
    }
}
/* =========================================================
   PROFESSIONAL DOCUMENTS / PDF LIST
   ========================================================= */

.professional-documents-section {
    margin-top: 36px;
}


/* ---------------------------------------------------------
   Section Heading
   --------------------------------------------------------- */

.professional-documents-heading {
    margin-bottom: 20px;
}

    .professional-documents-heading .section-heading-title {
        display: flex;
        align-items: center;
        gap: 14px;
    }

        .professional-documents-heading .section-heading-title h2 {
            margin: 0;
        }

        .professional-documents-heading .section-heading-title p {
            margin: 5px 0 0;
        }


/* ---------------------------------------------------------
   Count
   --------------------------------------------------------- */

.professional-document-count {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   Intro Box
   --------------------------------------------------------- */

.documents-intro {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 15px 18px;
    background: linear-gradient( 135deg, #f8fafc, #f1f5f9 );
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.documents-intro-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff3cd;
    color: #d89b00;
    font-size: 18px;
}

.documents-intro-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

    .documents-intro-content strong {
        color: #0f172a;
        font-size: 14px;
        font-weight: 800;
    }

    .documents-intro-content span {
        color: #64748b;
        font-size: 12px;
        line-height: 1.8;
    }


/* ---------------------------------------------------------
   Document List
   --------------------------------------------------------- */

.professional-document-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* ---------------------------------------------------------
   Document Card
   --------------------------------------------------------- */

.professional-document-card {
    position: relative;
    display: grid;
    grid-template-columns: 38px 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 88px;
    padding: 13px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.035);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .professional-document-card:hover {
        transform: translateY(-2px);
        border-color: #cbd5e1;
        background: #fcfdff;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    }


/* ---------------------------------------------------------
   Number
   --------------------------------------------------------- */

.document-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}


/* ---------------------------------------------------------
   PDF Icon
   --------------------------------------------------------- */

.professional-document-icon {
    width: 50px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 11px;
    background: linear-gradient( 145deg, #fff1f2, #ffe4e6 );
    color: #dc2626;
    font-size: 25px;
    border: 1px solid #fecdd3;
}

    .professional-document-icon::after {
        content: "PDF";
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        font-family: Tahoma, Arial, sans-serif;
        font-size: 7px;
        font-weight: 900;
        letter-spacing: .3px;
        color: #b91c1c;
    }


/* ---------------------------------------------------------
   Document Information
   --------------------------------------------------------- */

.professional-document-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .professional-document-info h3 {
        margin: 0;
        color: #0f172a;
        font-size: 15px;
        font-weight: 800;
        line-height: 1.8;
        overflow-wrap: anywhere;
    }

.professional-document-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 15px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.7;
}

    .professional-document-meta span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        min-width: 0;
    }

    .professional-document-meta i {
        color: #94a3b8;
        font-size: 10px;
    }

.document-file-name {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.document-file-size {
    white-space: nowrap;
}

.document-file-type {
    color: #dc2626;
    font-weight: 700;
    white-space: nowrap;
}

    .document-file-type i {
        color: #dc2626;
    }


/* ---------------------------------------------------------
   Action Buttons
   --------------------------------------------------------- */

.professional-document-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.document-action-btn {
    min-width: 92px;
    height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 9px;
    text-decoration: none !important;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

    .document-action-btn:hover {
        transform: translateY(-1px);
    }

    .document-action-btn i {
        font-size: 11px;
    }


/* View */

.document-view-btn {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
}

    .document-view-btn:hover {
        background: #2563eb;
        border-color: #2563eb;
        color: #ffffff;
        box-shadow: 0 5px 14px rgba(37, 99, 235, .18);
    }


/* Download */

.document-download-btn {
    background: #0f172a;
    border: 1px solid #0f172a;
    color: #ffffff;
}

    .document-download-btn:hover {
        background: #1e293b;
        border-color: #1e293b;
        color: #ffffff;
        box-shadow: 0 5px 14px rgba(15, 23, 42, .18);
    }


/* ---------------------------------------------------------
   Responsive - Tablet
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .professional-document-card {
        grid-template-columns: 34px 52px minmax(0, 1fr) auto;
        gap: 11px;
        padding: 12px;
    }

    .professional-document-icon {
        width: 46px;
        height: 54px;
        font-size: 22px;
    }

    .professional-document-info h3 {
        font-size: 14px;
    }

    .document-action-btn {
        min-width: 82px;
        padding: 0 10px;
    }
}


/* ---------------------------------------------------------
   Responsive - Mobile
   --------------------------------------------------------- */

@media (max-width: 650px) {

    .professional-documents-section {
        margin-top: 26px;
    }


    .documents-intro {
        align-items: flex-start;
        padding: 13px;
        border-radius: 12px;
    }


    .documents-intro-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }


    .professional-document-card {
        grid-template-columns: 34px 48px minmax(0, 1fr);
        gap: 10px;
        padding: 13px;
        border-radius: 13px;
    }


    .document-number {
        width: 30px;
        height: 30px;
    }


    .professional-document-icon {
        width: 44px;
        height: 52px;
        font-size: 21px;
    }


    .professional-document-info {
        padding-left: 2px;
    }


        .professional-document-info h3 {
            font-size: 13px;
            line-height: 1.9;
        }


    .professional-document-meta {
        gap: 4px 10px;
        font-size: 10px;
    }


    .document-file-name {
        width: 100%;
    }


    .professional-document-actions {
        grid-column: 1 / -1;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 3px;
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
    }


    .document-action-btn {
        width: 100%;
        height: 38px;
    }
}


/* ---------------------------------------------------------
   Very Small Screens
   --------------------------------------------------------- */

@media (max-width: 380px) {

    .professional-document-card {
        grid-template-columns: 30px 44px minmax(0, 1fr);
        gap: 8px;
        padding: 11px;
    }


    .document-number {
        width: 27px;
        height: 27px;
        font-size: 10px;
    }


    .professional-document-icon {
        width: 42px;
        height: 50px;
        font-size: 19px;
    }


    .professional-document-info h3 {
        font-size: 12px;
    }


    .document-action-btn {
        font-size: 10px;
    }
}