/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #FFFFFF;
    color: #2B2B2B;
    line-height: 1.7;
}

a {
    color: #006D77;
    text-decoration: none;
}

a:hover {
    color: #2A9D8F;
    text-decoration: underline;
}

/* ===== HEADER ===== */
.pkp_structure_head {
    background: linear-gradient(90deg, #006D77, #2A9D8F);
    border-bottom: none;
}

.pkp_site_name {
    padding: 20px 0;
}

.pkp_site_name a {
    color: #FFFFFF;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pkp_site_name .is_img img {
    max-height: 150px;
}

/* ===== NAVIGATION MENU ===== */
.pkp_site_nav_menu {
    background: #005B63;
}

.pkp_navigation_primary {
    background-color: #005B63;
}

.pkp_navigation_primary>li>a {
    color: #FFFFFF;
    font-weight: 600;
    padding: 12px 16px;
}

.pkp_navigation_primary>li>a:hover {
    background-color: #2A9D8F;
    color: #FFFFFF;
}

/* ===== PAGE TITLES ===== */
.page_title,
.current_issue_title {
    color: #020202;
    font-weight: 700;
    /* border-bottom: 3px solid #2A9D8F; */
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* ===== CONTENT BOXES ===== */
.obj_article_summary,
.obj_issue_toc,
.pkp_block {
    background-color: #FFFFFF;
    border: 1px solid #DDEEEE;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* ===== ARTICLE TITLES ===== */
.obj_article_summary .title a {
    font-size: 18px;
    font-weight: 700;
    color: #006D77;
}

.obj_article_summary .title a:hover {
    color: #2A9D8F;
}

/* ===== BUTTONS ===== */
.pkp_button,
button,
input[type="submit"] {
    background: linear-gradient(135deg, #006D77, #2A9D8F);
    color: #FFFFFF;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pkp_button:hover,
button:hover,
input[type="submit"]:hover {
    background: linear-gradient(135deg, #2A9D8F, #006D77);
    transform: translateY(-1px);
}

/* ===== SIDEBAR ===== */
.pkp_structure_sidebar {
    background-color: #E0F4F1;
    padding: 15px;
    border-radius: 8px;
}

.pkp_structure_sidebar h2 {
    color: #006D77;
    font-size: 16px;
    border-bottom: 2px solid #2A9D8F;
    padding-bottom: 6px;
}

/* ===== ENHANCED FOOTER ===== */
.pkp_brand_footer {
    padding: 0;
}

.pkp_brand_footer img {
    display: none;
}

.pkp_structure_footer_wrapper {
    background: linear-gradient(135deg, #005B63 0%, #007B7F 50%, #2A9D8F 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* Decorative overlay pattern */
.pkp_structure_footer_wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(42, 157, 143, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 91, 99, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Top decorative border */
.pkp_structure_footer_wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            #2A9D8F 0%,
            #4ECDC4 25%,
            #2A9D8F 50%,
            #4ECDC4 75%,
            #2A9D8F 100%);
    box-shadow: 0 2px 8px rgba(42, 157, 143, 0.3);
}

.pkp_structure_footer_wrapper a {
    color: #B8E6E0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.pkp_structure_footer_wrapper a:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}

.pkp_structure_footer_wrapper a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4ECDC4;
    transition: width 0.3s ease;
}

.pkp_structure_footer_wrapper a:hover::after {
    width: 100%;
}

.journal-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    position: relative;
    z-index: 1;
}

.footer-column {
    animation: fadeInUp 0.6s ease-out backwards;
}

.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journal-footer-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.journal-footer-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 111px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4ECDC4, #2A9D8F);
    border-radius: 2px;
}

.journal-footer-content p,
.journal-footer-content li {
    font-size: 14px;
    line-height: 1.8;
    color: #E0F4F1;
    margin-bottom: 10px;
}

.journal-footer-content p {
    opacity: 0.95;
}

.journal-footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.journal-footer-content ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

/* .journal-footer-content ul li::before {
    content: '→';
    position: absolute;
    left: 50px;
    color: #4ECDC4;
    font-weight: bold;
    transition: transform 0.3s ease;
} */

.journal-footer-content ul li:hover::before {
    transform: translateX(3px);
}

/* Contact column special styling */
.footer-column:last-child p {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid #4ECDC4;
    margin-bottom: 12px;
}

.footer-column:last-child a[href^="mailto:"] {
    font-weight: 600;
    color: #4ECDC4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 8px 0;
    color: #B8E6E0;
}

.footer-bottom a {
    color: #4ECDC4;
    font-weight: 600;
}

/* Accessibility improvements */
.pkp_structure_footer_wrapper a:focus {
    outline: 2px solid #4ECDC4;
    outline-offset: 3px;
    border-radius: 2px;
}

/* Print styles */
@media print {
    .pkp_structure_footer_wrapper {
        background: #005B63 !important;
        color: #000;
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
    .pkp_site_name a {
        font-size: 24px;
    }

    .pkp_site_name .is_img img {
        max-height: 120px;
    }

    .obj_article_summary .title a {
        font-size: 17px;
    }

    .journal-footer-content {
        gap: 30px;
    }
}

/* Tablets and Mobile (768px and below) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    /* Header */
    .pkp_site_name {
        padding: 15px 10px;
        text-align: center;
    }

    .pkp_site_name a {
        font-size: 22px;
    }

    .pkp_site_name .is_img img {
        max-height: 100px;
        margin: 0 auto;
    }

    /* Navigation */
    .pkp_navigation_primary>li {
        display: block;
        width: 100%;
    }

    .pkp_navigation_primary>li>a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }

    /* Page Titles */
    .page_title,
    .current_issue_title {
        font-size: 1.5em;
        padding-bottom: 6px;
        margin-bottom: 15px;
    }

    /* Content Boxes */
    .obj_article_summary,
    .obj_issue_toc,
    .pkp_block {
        padding: 12px;
        margin-bottom: 15px;
        border-radius: 6px;
    }

    /* Article Titles */
    .obj_article_summary .title a {
        font-size: 16px;
        line-height: 1.4;
    }

    /* Buttons */
    .pkp_button,
    button,
    input[type="submit"] {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
        display: block;
        margin-bottom: 10px;
    }

    /* Sidebar */
    .pkp_structure_sidebar {
        padding: 12px;
        margin-top: 20px;
    }

    .pkp_structure_sidebar h2 {
        font-size: 15px;
    }

    /* Footer */
    .pkp_structure_footer_wrapper {}

    .journal-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .journal-footer-content h3 {
        font-size: 16px;
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 20px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    /* Header */
    .pkp_site_name {
        padding: 10px 5px;
    }

    .pkp_site_name a {
        font-size: 18px;
    }

    .pkp_site_name .is_img img {
        max-height: 80px;
    }

    /* Navigation */
    .pkp_navigation_primary>li>a {
        padding: 12px 15px;
        font-size: 14px;
    }

    /* Page Titles */
    .page_title,
    .current_issue_title {
        font-size: 1.3em;
    }

    /* Content Boxes */
    .obj_article_summary,
    .obj_issue_toc,
    .pkp_block {
        padding: 10px;
        margin-bottom: 12px;
    }

    /* Article Titles */
    .obj_article_summary .title a {
        font-size: 15px;
    }

    /* Buttons */
    .pkp_button,
    button,
    input[type="submit"] {
        padding: 10px 16px;
        font-size: 14px;
    }

    /* Sidebar */
    .pkp_structure_sidebar {
        padding: 10px;
    }

    .pkp_structure_sidebar h2 {
        font-size: 14px;
    }

    /* Footer */
    .pkp_structure_footer_wrapper {}

    .journal-footer-content {
        gap: 25px;
        padding: 0 10px;
    }

    .journal-footer-content h3 {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .journal-footer-content p,
    .journal-footer-content li {
        font-size: 13px;
        line-height: 1.6;
    }

    .journal-footer-content ul li {
        margin-bottom: 10px;
        padding-left: 18px;
    }

    .footer-column:last-child p {
        padding: 10px 12px;
    }

    .footer-bottom {
        margin-top: 25px;
        padding-top: 15px;
        font-size: 12px;
    }
}

img {
    height: 400px;
    width: 300px;
}

/* Extra small devices (360px and below) */
@media (max-width: 360px) {
    .pkp_site_name a {
        font-size: 16px;
    }

    .pkp_site_name .is_img img {
        max-height: 70px;
    }

    .pkp_navigation_primary>li>a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .obj_article_summary .title a {
        font-size: 14px;
    }

    .journal-footer-content h3 {
        font-size: 14px;
    }

    .journal-footer-content p,
    .journal-footer-content li {
        font-size: 12px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .pkp_site_name {
        padding: 10px 0;
    }

    .pkp_site_name .is_img img {
        max-height: 60px;
    }

    .pkp_navigation_primary>li>a {
        padding: 8px 12px;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive tables */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Responsive iframes and embeds */
iframe,
embed,
object,
video {
    max-width: 100%;
}




/* ===== CUSTOM HEADER STYLES ===== */

/* Header wrapper adjustments */
.pkp_site_name_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    gap: 20px;
}

/* Site name container with logo and title */
.pkp_site_name {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

/* Logo styling */
.pkp_site_name .is_img img {
    max-height: 150px;
    width: auto;
    transition: transform 0.3s ease;
}

.pkp_site_name .is_img:hover img {
    transform: scale(1.05);
}

/* Custom header title next to logo */
.custom-header-title {
    color: #FFFFFF;
    text-align: left;
    flex: 1;
}

.custom-header-title h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #FFFFFF;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.custom-header-title p {
    font-size: 14px;
    margin: 0;
    color: #E0F4F1;
    font-weight: 400;
    line-height: 1.4;
}

/* ===== LOGIN AND REGISTER BUTTONS ===== */
.header-auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}

/* Button base styles */
.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-header .fa {
    font-size: 16px;
}

/* Login button */
.btn-login {
    background: #FFFFFF;
    color: #006D77;
    border: 2px solid #FFFFFF;
}

.btn-login:hover {
    background: #006D77;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

/* Register button */
.btn-register {
    background: linear-gradient(135deg, #006D77, #2A9D8F);
    color: #FFFFFF;
    border: 2px solid transparent;
}

.btn-register:hover {
    background: linear-gradient(135deg, #2A9D8F, #006D77);
    color: #FFFFFF;
}

/* Dashboard button (when logged in) */
.btn-dashboard {
    background: linear-gradient(135deg, #4ECDC4, #2A9D8F);
    color: #FFFFFF;
    border: 2px solid transparent;
}

.btn-dashboard:hover {
    background: linear-gradient(135deg, #2A9D8F, #4ECDC4);
    color: #FFFFFF;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
    .pkp_site_name_wrapper {
        padding: 15px;
        gap: 15px;
    }

    .pkp_site_name {
        gap: 20px;
    }

    .pkp_site_name .is_img img {
        max-height: 120px;
    }

    .custom-header-title h2 {
        font-size: 20px;
    }

    .custom-header-title p {
        font-size: 13px;
    }

    .btn-header {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Tablets and Mobile (768px and below) */
@media (max-width: 768px) {
    .pkp_site_name_wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 10px;
        gap: 15px;
    }

    .pkp_site_name {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        width: 100%;
    }

    .pkp_site_name .is_img img {
        max-height: 100px;
    }

    .custom-header-title {
        text-align: center;
        width: 100%;
    }

    .custom-header-title h2 {
        font-size: 18px;
    }

    .custom-header-title p {
        font-size: 12px;
    }

    /* Stack buttons vertically on mobile */
    .header-auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-left: 0;
    }

    .btn-header {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .pkp_site_name_wrapper {
        padding: 10px 5px;
    }

    .pkp_site_name .is_img img {
        max-height: 80px;
    }

    .custom-header-title h2 {
        font-size: 16px;
    }

    .custom-header-title p {
        font-size: 11px;
    }

    .btn-header {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Extra small devices (360px and below) */
@media (max-width: 360px) {
    .pkp_site_name .is_img img {
        max-height: 70px;
    }

    .custom-header-title h2 {
        font-size: 14px;
    }

    .custom-header-title p {
        font-size: 10px;
    }

    .btn-header {
        padding: 8px 12px;
        font-size: 13px;
        gap: 6px;
    }

    .btn-header .fa {
        font-size: 14px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .pkp_site_name_wrapper {
        padding: 10px;
    }

    .pkp_site_name .is_img img {
        max-height: 60px;
    }

    .custom-header-title h2 {
        font-size: 16px;
    }

    .custom-header-title p {
        font-size: 11px;
    }
}

/* ===== ACCESSIBILITY ===== */
.btn-header:focus {
    outline: 2px solid #4ECDC4;
    outline-offset: 3px;
}

/* Screen reader only text for icons */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== PRINT STYLES ===== */
@media print {
    .header-auth-buttons {
        display: none !important;
    }
}

.pkp_site_name {
    padding: 0;
    gap: 0
}

.pkp_site_name_wrapper {
    padding: 0;
    gap: 0
}

.pkp_footer_content {
    padding: 0;
    text-align: center;
}

.pkp_navigation_user.pkp_navigation_user {
    /* display: none; */
}

/* Target Login link */
.pkp_navigation_user a[href*="login"] {
    background: #FFFFFF;
    color: #006D77;
    /* Styled like a button */
}

/* Target Register link */
.pkp_navigation_user a[href*="register"] {
    background: linear-gradient(135deg, #006D77, #2A9D8F);
    color: #FFFFFF;
}

/* Add icons via CSS */
.pkp_navigation_user a[href*="login"]::before {
    content: '\f090';
    /* FontAwesome sign-in icon */
}

.journal-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-column img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-column img:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

.name {
    display: none;
}