/***********************************************
 * ETJ Base Styling — DefaultTheme Enhancements
 ***********************************************/

/* Промяна на шрифта на Georgia */
body {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 17px;
    color: #111;
    line-height: 1.6;
}

/* Запазване на Open Sans за заглавията за контраст */
h1, h2, h3, h4, h5 {
    font-family: "Open Sans", sans-serif !important;
    font-weight: 600 !important;
}

/* Прилагане на по-компактна визия за страницата */
.pkp_structure_main {
    padding-top: 20px;
}

/***********************************************
 * Homepage — About the Journal
 ***********************************************/
.page_index_journal .homepage_about,
.homepage_about {
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.homepage_about h2 {
    font-size: 26px !important;
    font-weight: 600;
    margin-bottom: 20px;
}

.homepage_about p {
    font-size: 17px;
    margin-bottom: 18px;
}


/***********************************************
 * Homepage — Current Issue Block (Компактен изглед)
 ***********************************************/
.current_issue {
    max-width: 900px;
    margin: 30px 0 50px 0;
}

.current_issue .issue_details {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
}

.current_issue h2 {
    font-size: 26px !important;
    font-weight: 600;
    margin-bottom: 15px;
}

.current_issue .current_issue_title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.current_issue .cover {
    flex-shrink: 0;
    margin-right: 20px;
}

.current_issue .cover img {
    max-width: 150px;
    margin: 0;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.current_issue .issue_details > div:nth-child(2) {
    padding-top: 5px;
}

.current_issue .full_issue {
    text-align: left;
    margin-top: 15px;
}


.obj_issue_toc .sections h3 {
    margin-top: 40px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
    font-size: 22px;
    font-weight: 600;
}


/***************************************************
 * Article Summary (Списък със статии) - Двуколонен изглед
 ***************************************************/

.obj_article_summary {
    display: block;
    margin-bottom: 25px;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.obj_article_summary .cover {
    display: none;
}

.obj_article_summary .obj_article_details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.obj_article_summary .article_details {
    flex-grow: 1;
    margin-right: 20px;
}

.obj_article_summary h4.title {
    margin: 0 0 4px 0 !important;
}

.obj_article_summary h4.title a {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4;
    color: #000 !important;
}

.obj_article_summary .authors {
    font-size: 14px;
    margin-top: 2px;
    color: #555;
}

.obj_article_summary .galleys_links {
    flex-shrink: 0;
    white-space: nowrap;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.obj_article_summary .galleys_links a {
    color: #233b54 !important;
    font-weight: 600;
    border: 1px solid #233b54;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-size: 13px;
    margin-bottom: 5px;
}

.obj_article_summary .galleys_links a:hover {
    background: #233b54;
    color: #fff !important;
    text-decoration: none;
}

.obj_article_summary .pages {
    font-size: 13px;
    color: #555;
    margin-top: 3px;
}

.obj_article_details .meta:empty {
    margin: 0;
}


/***********************************************
 * Sidebar
 ***********************************************/
.pkp_structure_sidebar {
    margin-top: 30px;
}

.pkp_block .title {
    font-size: 18px;
    font-weight: 600;
    color: #233b54;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}


/***********************************************
 * Footer
 ***********************************************/
.pkp_structure_footer_wrapper {
    background: #233b54;
    padding: 30px 0;
}

.pkp_footer_content p {
    color: #ffffff !important;
    text-align: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.pkp_brand_footer img {
    filter: brightness(10);
    max-width: 150px;
}

/***********************************************
 * Read More / View All Issues link
 ***********************************************/
a.read_more, 
a.read_more:link {
    display: inline-block;
    margin: 20px 0;
    font-size: 16px;
    color: #233b54 !important;
    font-weight: 600;
}

a.read_more:hover {
    color: #1a2c3e !important;
    text-decoration: underline;
}


/***************************************************
 * RESPONSIVE ADJUSTMENTS (Mobile Devices)
 ***************************************************/

@media (max-width: 768px) {
    
    body {
        font-size: 15px;
    }

    .current_issue .issue_details {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .current_issue .cover {
        margin: 0 0 15px 0;
    }

    .current_issue .cover img {
        max-width: 120px;
    }
    
    .current_issue .full_issue {
        text-align: center;
    }

    .obj_article_summary .obj_article_details {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .obj_article_summary .article_details {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .obj_article_summary h4.title a {
        font-size: 15px !important;
    }

    .obj_article_summary .galleys_links {
        align-items: flex-start;
        text-align: left;
    }
    
    .obj_article_summary .galleys_links a {
        font-size: 14px;
        padding: 4px 10px;
    }
}
