/* ==========================================================
   AARAI PUBLICATIONS
   THESIS & DISSERTATION STYLES
   ========================================================== */


/* ==========================================================
   MAIN CONTAINER
   ========================================================== */

.aarai-single-thesis {
    width: 100%;
    padding: 50px 20px 70px;
    box-sizing: border-box;
}

.aarai-thesis-container {
    max-width: 1000px;
    margin: 0 auto;
}


/* ==========================================================
   HEADER
   ========================================================== */

.aarai-thesis-header {
    margin-bottom: 45px;
}

.aarai-thesis-label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 4px;
    background: #f0f4f8;
    color: #34495e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.aarai-thesis-title {
    margin: 0;
    max-width: 950px;
    color: #172b4d;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 700;
}


/* ==========================================================
   GENERAL SECTIONS
   ========================================================== */

.aarai-thesis-section {
    margin-bottom: 42px;
}

.aarai-thesis-section h2 {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e7ebef;
    color: #172b4d;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}


/* ==========================================================
   THESIS INFORMATION
   ========================================================== */

.aarai-thesis-information {
    border: 1px solid #e5e9ed;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.aarai-thesis-information-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 25px;
    padding: 15px 20px;
    border-bottom: 1px solid #edf0f2;
    line-height: 1.6;
}

.aarai-thesis-information-row:last-child {
    border-bottom: none;
}

.aarai-thesis-information-row strong {
    color: #34495e;
    font-weight: 700;
}

.aarai-thesis-information-row span {
    color: #4a5568;
}


/* ==========================================================
   ABSTRACT
   ========================================================== */

.aarai-thesis-abstract {
    color: #333333;
    font-size: 17px;
    line-height: 1.85;
}

.aarai-thesis-abstract p {
    margin: 0 0 18px;
}

.aarai-thesis-abstract p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   KEYWORDS
   ========================================================== */

.aarai-thesis-keywords {
    padding: 16px 20px;
    border-left: 4px solid #34495e;
    background: #f7f9fb;
    color: #4a5568;
    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   CITATION
   ========================================================== */

.aarai-thesis-citation {
    padding: 20px 22px;
    border: 1px solid #e5e9ed;
    border-radius: 8px;
    background: #fafbfc;
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
}

.aarai-thesis-citation p {
    margin: 0 0 12px;
}

.aarai-thesis-citation p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   DOI
   ========================================================== */

.aarai-thesis-doi {
    margin: 0;
}

.aarai-thesis-doi a {
    color: #1f6f8b;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.aarai-thesis-doi a:hover {
    text-decoration: underline;
}


/* ==========================================================
   PDF ACCESS
   ========================================================== */

.aarai-thesis-access {
    margin-top: 50px;
    padding: 30px;
    border-radius: 10px;
    background: #f5f7f9;
}

.aarai-thesis-access h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.aarai-thesis-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.aarai-thesis-buttons a {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.aarai-thesis-read {
    background: #1f6f8b;
    color: #ffffff !important;
}

.aarai-thesis-read:hover {
    background: #15566d;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.aarai-thesis-download {
    background: #172b4d;
    color: #ffffff !important;
}

.aarai-thesis-download:hover {
    background: #0f1e36;
    color: #ffffff !important;
    transform: translateY(-1px);
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .aarai-single-thesis {
        padding: 35px 16px 50px;
    }

    .aarai-thesis-header {
        margin-bottom: 35px;
    }

    .aarai-thesis-title {
        font-size: 29px;
        line-height: 1.3;
    }

    .aarai-thesis-section {
        margin-bottom: 35px;
    }

    .aarai-thesis-section h2 {
        font-size: 21px;
    }

    .aarai-thesis-information-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 14px 16px;
    }

    .aarai-thesis-abstract {
        font-size: 16px;
        line-height: 1.75;
    }

    .aarai-thesis-access {
        padding: 24px 20px;
    }

    .aarai-thesis-buttons {
        flex-direction: column;
    }

    .aarai-thesis-buttons a {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

    .aarai-single-thesis {
        padding: 25px 14px 40px;
    }

    .aarai-thesis-title {
        font-size: 25px;
    }

    .aarai-thesis-label {
        font-size: 11px;
        padding: 6px 10px;
    }

}