/* Root Variables */
:root {
    --primary-color: #2d8b8f;
    --primary-dark: #1f6366;
    --primary-light: #4da5a9;
    --accent-color: #f4a261;
    --accent-dark: #e76f51;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e1e8ed;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    /* background-color: var(--bg-light); */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-link {
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    transition: var(--transition);
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-selector select {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.language-selector select option {
    color: var(--text-dark);
}

.header-main {
    padding: 25px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: white;
    padding: 5px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.journal-title h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.journal-title .subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    font-size: 0.95rem;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--primary-color);
}

.header-accent {
    height: 4px;
    background: linear-gradient(90deg,
            var(--primary-color) 0%,
            var(--accent-color) 50%,
            var(--primary-color) 100%);
}

/* Main Content Layout */
.main-content {
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
}

/* Sidebar Styles */
.sidebar {
    position: sticky;
    top: 180px;
    align-self: start;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sidebar-widget:hover {
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

/* Search Widget */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-form button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--primary-dark);
}

/* Current Issue Widget */
.current-issue {
    text-align: center;
}

.issue-cover {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.issue-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.issue-label {
    font-weight: 600;
    color: var(--text-dark);
}

.issue-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Quick Links */
.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
}

.quick-links a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

.quick-links i {
    color: var(--primary-color);
    width: 20px;
}

/* Metrics */
.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
}

.metric-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* Indexing Widget */
.indexing-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.index-badge {
    padding: 10px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-dark);
    transition: var(--transition);
}

.index-badge:hover {
    border-color: var(--primary-color);
    background: white;
}

/* Newsletter Widget */
.newsletter-widget p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    padding: 12px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent-dark);
}

/* Main Column */
.main-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-primary {
    padding: 14px 32px;
    background: var(--accent-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    padding: 14px 32px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Announcements */
.announcements-section {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.announcements {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.announcement-item {
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.announcement-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.announcement-item.featured {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe0b2 100%);
    border-left-color: var(--accent-color);
    position: relative;
}

.announcement-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.announcement-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.announcement-item p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.announcement-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
}

.announcement-date i {
    margin-right: 5px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Featured Articles */
.featured-articles {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.article-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 25px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.article-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.article-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.article-type {
    padding: 5px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-access {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--border-color);
    color: var(--text-dark);
}

.article-access.open-access {
    background: #4caf50;
    color: white;
}

.article-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-authors {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.article-excerpt {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-link:hover {
    color: var(--primary-dark);
}

.article-link i {
    transition: var(--transition);
}

.article-link:hover i {
    transform: translateX(5px);
}

.view-more {
    text-align: center;
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a4d4f 100%);
    color: white;
    margin-top: 60px;
    position: relative;
}

/* .footer-wave {
    height: 80px;
    background: var(--bg-light);
    position: relative;
}

.footer-wave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%231f6366'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
} */

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 10px 15px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    padding: 5px;
}

.footer-logo h3 {
    font-size: 1.3rem;
    color: white;
}

.footer-description {
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-details p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.contact-details i {
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.issn-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom-content p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.powered-by {
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .contact-info span {
        margin-right: 0;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 30px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .announcements-section,
    .featured-articles {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .journal-title h1 {
        font-size: 1.4rem;
    }

    .main-nav ul {
        gap: 10px;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

.pkp_brand_footer {
    a {
        img {
            display: none;
        }
    }
}

.pkp_structure_footer_wrapper {
    background: #1C5659;
}

.pkp_brand_footer {
    padding: 0;
}

/* ========================================
   ENHANCED OJS HEADER STYLES - UPDATED
   Profile in top right, navbar below logo, non-fixed header
   ======================================== */

/* Root Variables - Customize these colors */
:root {
    --primary-color: #2d8b8f;
    --primary-dark: #1f6366;
    --primary-light: #4da5a9;
    --accent-color: #f4a261;
    --accent-dark: #e76f51;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-white: #ffffff;
    --border-color: #e1e8ed;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
}

/* ========================================
   ENHANCED HEADER STRUCTURE (NON-FIXED)
   ======================================== */

.enhanced-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: relative;
    /* Changed from sticky to relative */
    z-index: 100;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   TOP HEADER BAR - WITH USER PROFILE
   ======================================== */

.header-top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    transition: var(--transition);
}

.contact-item:hover {
    opacity: 0.8;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item i {
    font-size: 0.9rem;
}

/* Right side - Submit Link and Profile */
.header-actions-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-link {
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.header-link i {
    font-size: 0.9rem;
}

/* User Navigation in Top Bar */
.header-top-bar .pkp_navigation_user_wrapper_top,
.header-top-bar .pkp_navigation_user_wrapper {
    display: flex;
    align-items: center;
}

.header-top-bar .pkp_navigation_user_top,
.header-top-bar .pkp_navigation_user,
.header-top-bar #navigationUserTop {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-top-bar .pkp_navigation_user_top li a,
.header-top-bar .pkp_navigation_user li a,
.header-top-bar #navigationUserTop li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: var(--transition);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.header-top-bar .pkp_navigation_user_top li a:hover,
.header-top-bar .pkp_navigation_user li a:hover,
.header-top-bar #navigationUserTop li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.header-top-bar .pkp_navigation_user_top li.profile a,
.header-top-bar .pkp_navigation_user li.profile a,
.header-top-bar #navigationUserTop li.profile a {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.header-top-bar .pkp_navigation_user_top li.profile a:hover,
.header-top-bar .pkp_navigation_user li.profile a:hover,
.header-top-bar #navigationUserTop li.profile a:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Language toggle in top bar */
.language-toggle-wrapper {
    display: flex;
    align-items: center;
}

.language-toggle-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.language-toggle-menu li a {
    padding: 6px 12px;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.language-toggle-menu li a:hover,
.language-toggle-menu li.current a {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   LOGO AND TITLE SECTION
   ======================================== */

.logo-title-section {
    /* padding: 25px 0; */
    background: var(--bg-white);
}

.enhanced-logo-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-title-container {
    display: flex;
    align-items: center;
}

.logo-title-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-title-link:hover {
    transform: translateY(-2px);
}

/* Logo Styling */
.journal-logo {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: white;
    /* padding: 5px; */
    transition: var(--transition);
    animation: fadeIn 0.6s ease;
}

.journal-logo:hover {
    box-shadow: var(--shadow-lg);
    transform: rotate(5deg) scale(1.05);
}

.journal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Title Styling */
.journal-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    animation: fadeInRight 0.7s ease;
}

.journal-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
    transition: var(--transition);
}

.logo-title-link:hover .journal-title {
    color: var(--primary-dark);
}

.journal-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    font-weight: 300;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   HAMBURGER MENU BUTTON
   ======================================== */

.pkp_site_nav_toggle {
    display: none;
    background: var(--primary-color);
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.pkp_site_nav_toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.pkp_site_nav_toggle.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.pkp_site_nav_toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.pkp_site_nav_toggle.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* ========================================
   NAVIGATION - BELOW LOGO/TITLE
   ======================================== */

.enhanced-nav {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 0;
}

.pkp_navigation_primary_row {
    padding: 0;
}

.pkp_navigation_primary_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 12px 0;
}

.pkp_navigation_primary {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.pkp_navigation_primary>li {
    position: relative;
}

.pkp_navigation_primary>li>a {
    display: block;
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.pkp_navigation_primary>li>a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 10%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    /* background: var(--primary-color); */
    transition: var(--transition);
}

.pkp_navigation_primary>li>a:hover {
    color: var(--primary-color);
    background: rgba(45, 139, 143, 0.08);
}

.pkp_navigation_primary>li>a:hover::after {
    /* width: 60%; */
}

.pkp_navigation_primary>li.current>a {
    color: var(--primary-color);
    background: rgba(45, 139, 143, 0.1);
}

.pkp_navigation_primary>li.current>a::after {
    width: 60%;
}

/* Dropdown Menu Styling */
.pkp_navigation_primary li ul {
    position: absolute;
    top: 100% !important;
    left: 0;
    min-width: 200px;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.pkp_navigation_primary li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pkp_navigation_primary li ul li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.pkp_navigation_primary li ul li a:hover {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   ENHANCED SEARCH
   ======================================== */

.pkp_navigation_search_wrapper {
    margin-left: auto;
}

.enhanced-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white !important;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.enhanced-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.enhanced-search i {
    font-size: 1rem;
}

/* ========================================
   DECORATIVE ACCENT LINE
   ======================================== */

.header-accent-line {
    height: 4px;
    background: linear-gradient(90deg,
            var(--primary-color) 0%,
            var(--accent-color) 50%,
            var(--primary-color) 100%);
    animation: gradientShift 3s ease infinite;
    background-size: 200% 100%;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .pkp_navigation_primary {
        gap: 3px;
    }

    .pkp_navigation_primary>li>a {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .header-top-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .header-contact-info {
        justify-content: center;
    }

    .header-actions-right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .logo-title-section {
        padding: 20px 0;
    }

    .pkp_site_nav_toggle {
        display: block;
    }

    .enhanced-nav {
        padding: 0;
    }

    .pkp_navigation_primary_row {
        display: none;
        width: 100%;
        background: white;
        border-radius: 8px;
        box-shadow: var(--shadow-md);
        margin: 15px 0;
        padding: 15px;
    }

    .pkp_navigation_primary_row.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .pkp_navigation_primary_wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .pkp_navigation_primary {
        flex-direction: column;
        width: 100%;
    }

    .pkp_navigation_primary>li>a {
        padding: 12px 20px;
    }

    .pkp_navigation_primary>li>a::after {
        display: none;
    }

    .pkp_navigation_primary li ul {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
        margin-top: 5px;
    }

    .pkp_navigation_search_wrapper {
        margin-left: 0;
        width: 100%;
    }

    .enhanced-search {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-top-bar {
        font-size: 0.8rem;
        padding: 8px 0;
    }

    .header-contact-info {
        flex-direction: column;
        gap: 8px;
    }

    .header-actions-right {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .header-link {
        font-size: 0.85rem;
        padding: 5px 12px;
    }

    .logo-title-section {
        padding: 15px 0;
    }

    .journal-logo {
        width: 60px;
        height: 60px;
    }

    .journal-title {
        font-size: 1.3rem;
    }

    .journal-subtitle {
        font-size: 0.85rem;
    }

    .logo-title-link {
        gap: 12px;
    }
}

@media (max-width: 576px) {

    .header-top-bar .pkp_navigation_user_top,
    .header-top-bar .pkp_navigation_user,
    .header-top-bar #navigationUserTop {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    .header-top-bar .pkp_navigation_user_top li a,
    .header-top-bar .pkp_navigation_user li a,
    .header-top-bar #navigationUserTop li a {
        justify-content: center;
        width: 100%;
    }

    .journal-logo {
        width: 50px;
        height: 50px;
    }

    .journal-title {
        font-size: 1.1rem;
    }

    .journal-subtitle {
        font-size: 0.8rem;
    }

    .enhanced-search {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Force display of user menu area even if empty */
.pkp_navigation_user_wrapper_top,
.header-top-bar .pkp_navigation_user_wrapper {
    min-width: 100px;
}

/* If user is not logged in, show login/register links */
.pkp_navigation_user_wrapper_top:empty::after {
    content: 'Login';
    padding: 6px 16px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    cursor: pointer;
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

.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;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to content link styling */
.pkp_skip_to_content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: var(--transition);
    z-index: 10000;
}

.pkp_skip_to_content:focus {
    top: 0;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {

    .header-top-bar,
    .pkp_site_nav_toggle,
    .pkp_navigation_search_wrapper,
    .header-accent-line,
    .pkp_navigation_user_wrapper {
        display: none;
    }

    .enhanced-header {
        box-shadow: none;
    }

    .logo-title-section {
        padding: 10px 0;
    }
}

/* ========================================
   FIX FOR USER MENU DROPDOWN - ADD THIS TO YOUR CSS
   ======================================== */

/* Show dropdown menu on hover/click */
.header-top-bar .pkp_navigation_user_top li,
.header-top-bar .pkp_navigation_user li,
.header-top-bar #navigationUserTop li {
    position: relative;
}

/* Style the dropdown container */
.header-top-bar .pkp_navigation_user_top li ul,
.header-top-bar .pkp_navigation_user li ul,
.header-top-bar #navigationUserTop li ul {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    list-style: none;
}

/* Show dropdown on hover */
.header-top-bar .pkp_navigation_user_top li:hover>ul,
.header-top-bar .pkp_navigation_user li:hover>ul,
.header-top-bar #navigationUserTop li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Style dropdown links */
.header-top-bar .pkp_navigation_user_top li ul li,
.header-top-bar .pkp_navigation_user li ul li,
.header-top-bar #navigationUserTop li ul li {
    margin: 0;
    padding: 0;
}

.header-top-bar .pkp_navigation_user_top li ul li a,
.header-top-bar .pkp_navigation_user li ul li a,
.header-top-bar #navigationUserTop li ul li a {
    display: block;
    padding: 10px 20px;
    color: #2c3e50 !important;
    text-decoration: none;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-top-bar .pkp_navigation_user_top li ul li a:hover,
.header-top-bar .pkp_navigation_user li ul li a:hover,
.header-top-bar #navigationUserTop li ul li a:hover {
    background: #2d8b8f !important;
    color: white !important;
    /* transform: translateX(5px); */
}

/* Add dropdown arrow indicator */
.header-top-bar .pkp_navigation_user_top li.profile>a::after,
.header-top-bar .pkp_navigation_user li.profile>a::after,
.header-top-bar #navigationUserTop li.profile>a::after {
    content: '▼';
    margin-left: 5px;
    font-size: 0.7rem;
}

/* Force display for nested menus */
.header-top-bar ul ul {
    display: block !important;
}

/* ========================================
   ENHANCED SIDEBAR STYLING
   Matches the journal's teal theme with unique design
   ======================================== */

/* Main Sidebar Container */
.pkp_structure_sidebar {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 0 0 0 4rem;
}

/* Sidebar Blocks */
.pkp_block {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.pkp_block:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-left-color: #2d8b8f;
    transform: translateX(3px);
}

/* Block Titles */
.pkp_block h2,
.pkp_block h3,
.pkp_block .title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d8b8f;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e1e8ed;
    position: relative;
}

.pkp_block h2::after,
.pkp_block h3::after,
.pkp_block .title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #2d8b8f, #f4a261);
}

/* Information Section */
.pkp_block.information,
.pkp_block:has(> h2:contains("Information")) {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9f9 100%);
}

/* Link Lists */
.pkp_block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkp_block ul li {
    margin-bottom: 12px;
    padding-left: 0;
}

.pkp_block ul li a {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pkp_block ul li a::before {
    content: '→';
    margin-right: 10px;
    color: #2d8b8f;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pkp_block ul li a:hover {
    background: rgba(45, 139, 143, 0.08);
    color: #2d8b8f;
    padding-left: 20px;
}

.pkp_block ul li a:hover::before {
    transform: translateX(5px);
}

/* Licensing Partners Section */
.pkp_block:has(img[src*="open"]),
.pkp_block:has(img[src*="cross"]),
.pkp_block.licensing {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border-left-color: #2d8b8f;
}

.pkp_block:has(img[src*="open"]) h2,
.pkp_block:has(img[src*="cross"]) h2 {
    color: #e76f51;
}

/* Logo Images in Sidebar */
.pkp_block img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pkp_block a:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Special styling for Open Access logo */
img[src*="open"] {
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Special styling for Crossref logo */
img[src*="cross"] {
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Sidebar Headings Enhancement */
.pkp_structure_sidebar h2 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Current Issue Block */
.pkp_block.current_issue,
.pkp_block:has(> h2:contains("Current")) {
    background: linear-gradient(135deg, #e8f5f5 0%, #d4eded 100%);
    border-left-color: #2d8b8f;
}

/* Search Block */
.pkp_block.search,
.pkp_block:has(input[type="search"]),
.pkp_block:has(input[type="text"][placeholder*="search"]) {
    background: linear-gradient(135deg, #f0f4f8 0%, #e1e8ed 100%);
}

.pkp_block input[type="search"],
.pkp_block input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.pkp_block input[type="search"]:focus,
.pkp_block input[type="text"]:focus {
    outline: none;
    border-color: #2d8b8f;
    box-shadow: 0 0 0 3px rgba(45, 139, 143, 0.1);
}

.pkp_block button[type="submit"],
.pkp_block input[type="submit"] {
    width: 100%;
    padding: 12px 20px;
    background: #2d8b8f;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.pkp_block button[type="submit"]:hover,
.pkp_block input[type="submit"]:hover {
    background: #1f6366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 139, 143, 0.3);
}

/* Make Submission Block */
.pkp_block:has(a[href*="submit"]),
.pkp_block.make_submission {
    background: linear-gradient(135deg, #fff3e6 0%, #ffe5cc 100%);
    border-left-color: #f4a261;
}

.pkp_block:has(a[href*="submit"]) a {
    display: block;
    padding: 15px 20px;
    background: #f4a261;
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pkp_block:has(a[href*="submit"]) a:hover {
    background: #e76f51;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(244, 162, 97, 0.4);
}

/* Announcements Block */
.pkp_block.announcements,
.pkp_block:has(> h2:contains("Announcement")) {
    background: linear-gradient(135deg, #fef9e7 0%, #fcf3cf 100%);
}

/* Subscription Block */
.pkp_block:has(a[href*="subscribe"]),
.pkp_block.subscribe {
    background: linear-gradient(135deg, #e8f8f5 0%, #d1f2eb 100%);
}

/* Language Selector in Sidebar */
.pkp_block.language {
    background: linear-gradient(135deg, #f4ecf7 0%, #e8daef 100%);
}

/* Social Media Links */
.pkp_block:has(a[href*="facebook"]),
.pkp_block:has(a[href*="twitter"]),
.pkp_block.social {
    background: linear-gradient(135deg, #ebf5fb 0%, #d6eaf8 100%);
}

.pkp_block:has(a[href*="facebook"]) a,
.pkp_block:has(a[href*="twitter"]) a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #2d8b8f;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.pkp_block:has(a[href*="facebook"]) a:hover,
.pkp_block:has(a[href*="twitter"]) a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 16px rgba(45, 139, 143, 0.3);
}

/* Decorative Elements */
.pkp_block::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(45, 139, 143, 0.05) 0%, transparent 100%);
    border-radius: 0 12px 0 100%;
    pointer-events: none;
}

/* Responsive Sidebar */
@media (max-width: 992px) {
    .pkp_structure_sidebar {
        margin-top: 30px;
    }

    .pkp_block {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {

    .pkp_block h2,
    .pkp_block h3,
    .pkp_block .title {
        font-size: 1.1rem;
    }

    .pkp_block {
        padding: 15px;
        margin-bottom: 15px;
    }
}

/* Animation on scroll */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pkp_block {
    animation: slideInRight 0.5s ease;
}

.pkp_block:nth-child(1) {
    animation-delay: 0.1s;
}

.pkp_block:nth-child(2) {
    animation-delay: 0.2s;
}

.pkp_block:nth-child(3) {
    animation-delay: 0.3s;
}

.pkp_block:nth-child(4) {
    animation-delay: 0.4s;
}

.pkp_block:nth-child(5) {
    animation-delay: 0.5s;
}

/* Hover Effect for Entire Block */
.pkp_block {
    position: relative;
    overflow: hidden;
}

.pkp_block::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2d8b8f, #f4a261);
    transition: all 0.3s ease;
}

.pkp_block:hover::after {
    left: 0;
}

/* Icon Styling (if Font Awesome is available) */
.pkp_block ul li a i,
.pkp_block ul li a .fa {
    margin-right: 10px;
    color: #2d8b8f;
    width: 20px;
    text-align: center;
}

/* Custom Scrollbar for Sidebar */
.pkp_structure_sidebar::-webkit-scrollbar {
    width: 8px;
}

.pkp_structure_sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.pkp_structure_sidebar::-webkit-scrollbar-thumb {
    background: #2d8b8f;
    border-radius: 10px;
}

.pkp_structure_sidebar::-webkit-scrollbar-thumb:hover {
    background: #1f6366;
}

/* Print Styles */
@media print {
    .pkp_structure_sidebar {
        display: none;
    }
}

.pkp_site_name>a {
    padding: 0;
}

/* ========================================
   REMOVE WHITE BACKGROUND FROM LOGO
   ======================================== */

/* Remove white background/padding from logo container */
.journal-logo {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Make logo image blend naturally */
.journal-logo img {
    background: transparent !important;
    mix-blend-mode: normal;
}

/* Alternative: If logo still has white background in the image itself */
.journal-logo img {
    /* This will make white areas transparent if the image supports it */
    background: transparent !important;
}

/* For the logo link wrapper */
.logo-title-link .journal-logo {
    background: none !important;
    box-shadow: none !important;
}

/* Remove any default OJS logo styling */
.pkp_site_name_wrapper .journal-logo,
.pkp_site_name .journal-logo,
.is_img .journal-logo {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* If you want to keep the circular shape but no white background */
.journal-logo-transparent {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent !important;
    box-shadow: 0 4px 16px rgba(45, 139, 143, 0.2);
    padding: 0 !important;
}

/* Apply to all logo variations */
.pkp_site_name img,
.pkp_site_name_wrapper img,
a.is_img img {
    background: transparent !important;
}

/* Hero Section with Image */
.hero-section-with-image {
    /* padding: 60px 0; */
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Left and Right Text Sections */
.hero-text {
    /* padding: 20px; */
}

.hero-text h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    color: #2d8b8f;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-text p {
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-features li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.hero-features li::before {
    content: '✓';
    color: #2d8b8f;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Center Image */
.hero-image-center {
    width: 350px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInScale 0.8s ease;
}

.hero-image-center img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-image-center img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 12px 40px rgba(45, 139, 143, 0.3);
}

/* Text Alignment */
.hero-text-left {
    text-align: center;
    animation: slideInLeft 0.8s ease;
}

.hero-text-right {
    text-align: left;
    animation: slideInRight 0.8s ease;
    padding: 0.5px 0 0 0;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        gap: 30px;
    }

    .hero-image-center {
        width: 300px;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text-left,
    .hero-text-right {
        text-align: center;
    }

    .hero-image-center {
        width: 400px;
        margin: 0 auto;
    }

    .hero-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section-with-image {
        padding: 40px 0;
    }

    .hero-image-center {
        width: 300px;
    }

    .hero-text h2 {
        font-size: 1.3rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-image-center {
        width: 250px;
    }

    .hero-container {
        gap: 30px;
    }
}

.has_site_logo .pkp_head_wrapper {
    padding-top: 0;
}

.pkp_footer_content {
    padding: 0;
}

.pkp_structure_footer {
    width: auto;
}

.additional_content {
    border-top: 0 !important;
}

.pkp_block .content ul li {
    padding: 0;
}