/* ============================================
   Modern Journal Menu Styling
   ResearchPubX - 2026
   ============================================ */

/* ========== HEADER SECTION ========== */
header.autoshow {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0;
}

header.autoshow .container-fluid {
    padding: 0 30px;
}

header.autoshow .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

header.autoshow #logo {
    flex-shrink: 0;
    padding: 12px 0;
    float: right;
}

header.autoshow #logo a {
    display: inline-block;
    line-height: 1;
}

header.autoshow #logo img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

header.autoshow .menus_list {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* ========== MAIN MENU (HAMBURGER OVERLAY) ========== */
.main-hamburger-container {
    display: inline-block;
    margin-right: 15px;
}

.site-hamburger {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.site-hamburger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.site-hamburger i {
    font-size: 18px;
}

.menu-text {
    font-size: 14px;
    font-weight: 600;
}

/* Overlay Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow-y: auto;
}

.overlay-menu.active {
    display: flex;
    opacity: 1;
}

.overlay-close {
    position: absolute;
    top: 25px;
    right: 35px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-close:hover {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-color: #10b981;
    transform: rotate(90deg);
}

.overlay-header {
    text-align: center;
    padding: 30px 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.overlay-logo img {
    max-width: 250px;
    height: auto;
}

.overlay-left {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.overlay-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay-nav>li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-nav>li>a {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.overlay-nav>li>a:hover {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    padding-left: 35px;
}

.overlay-nav .dropdown-menu {
    display: none;
    list-style: none;
    padding: 15px 0 15px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 10px;
}

.overlay-nav .dropdown.active .dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
}

.overlay-nav .dropdown-menu li {
    margin-bottom: 8px;
}

.overlay-nav .dropdown-menu a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.overlay-nav .dropdown-menu a:hover {
    color: #fff;
    background: rgba(102, 126, 234, 0.3);
    padding-left: 30px;
}

.overlay-nav .dropdown-menu a i {
    color: #10b981;
    font-size: 16px;
    width: 20px;
}

.submenu-banner-li {
    margin-bottom: 20px;
}

.submenu-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.submenu-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%);
    padding: 20px;
    color: #fff;
}

.banner-text p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.6;
}

.banner-text strong {
    font-size: 18px;
    color: #10b981;
}

/* ========== JOURNAL MENU STYLES ========== */
.max-container {
    position: relative;
    width: 100%;
    padding: 0 30px;
    margin-bottom: 20px;
}

/* Hide "Journal menu" label on desktop */
.Journal-menu {
    display: none;
}

/* Hide toggle button on desktop */
.navbar-toggler-child-menu {
    display: none;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.navbar-toggler-child-menu:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.navbar-toggler-child-menu i {
    font-size: 18px;
}

/* Journal Navigation Bar */
.journal_navbar {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    width: 100%;
}

.journal_navbar .container {
    max-width: 100%;
    padding: 0;
}

/* Show navbar-collapse by default on desktop */
.journal_navbar .navbar-collapse {
    display: block !important;
}

/* Journal Menu List */
.jnl-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.jnl-menu>li {
    position: relative;
}

.jnl-menu>li>a {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.jnl-menu>li>a:hover,
.jnl-menu>li>a:focus {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.jnl-menu>li>a i.fa-home {
    font-size: 16px;
}

.jnl-menu>li>a i.fa-caret-down {
    margin-left: 5px;
    font-size: 12px;
}

/* Dropdown Menu */
.jnl-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-width: 260px;
    padding: 10px 0;
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.jnl-menu .dropdown:hover .dropdown-menu,
.jnl-menu .dropdown.show .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.jnl-menu .dropdown-menu li {
    list-style: none;
}

.jnl-menu .dropdown-menu a {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jnl-menu .dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #10b981;
    padding-left: 25px;
}

/* ========== SCROLL BEHAVIOR ========== */
header.autoshow.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

header.autoshow.scrolled #logo img {
    max-height: 45px;
}

/* ========== ACTIVE MENU ITEM ========== */
.jnl-menu>li.active>a,
.jnl-menu>li>a.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.overlay-nav>li.active>a,
.overlay-nav .dropdown-menu a.active {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
}

/* ========== ACCESSIBILITY ========== */
.site-hamburger:focus,
.navbar-toggler-child-menu:focus,
.overlay-close:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

.jnl-menu a:focus,
.overlay-nav a:focus {
    outline: 2px solid #10b981;
    outline-offset: -2px;
}

/* ========== PRINT STYLES ========== */
@media print {

    header.autoshow,
    .journal_navbar,
    .overlay-menu {
        display: none !important;
    }
}

/* ========== JOURNAL HERO BANNER ========== */
.journal-hero-banner {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    padding: 100px 0 20px;
    position: relative;
    overflow: hidden;
}

.journal-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.journal-hero-overlay {
    position: relative;
    z-index: 1;
}

/* Journal Logo Card */
.journal-logo-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 0px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    width: 220px;
}

.journal-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

/* Journal Title Section */
.journal-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.open-access-badge {
    width: 140px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.journal-main-title {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

/* Meta Badges */
.journal-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.meta-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.meta-badge:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.meta-badge i {
    font-size: 15px;
    flex-shrink: 0;
}

.meta-badge span {
    white-space: nowrap;
}

.whatsapp-badge {
    background: rgba(37, 211, 102, 0.3);
    border-color: rgba(37, 211, 102, 0.5);
}

.whatsapp-badge a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-badge:hover {
    background: rgba(37, 211, 102, 0.5);
    border-color: #25D366;
}

/* Quick Action Buttons */
.journal-action-buttons {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-btn {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 35px rgba(102, 126, 234, 0.6);
    color: #fff;
}

.action-btn i {
    font-size: 24px;
    margin-bottom: 4px;
}

.action-btn span {
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.submit-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 6px 25px rgba(240, 147, 251, 0.5);
}

.submit-btn:hover {
    box-shadow: 0 8px 35px rgba(240, 147, 251, 0.6);
}

.mail-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 6px 25px rgba(79, 172, 254, 0.5);
}

.mail-btn:hover {
    box-shadow: 0 8px 35px rgba(79, 172, 254, 0.6);
}

.apc-btn {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 6px 25px rgba(67, 233, 123, 0.5);
}

.apc-btn:hover {
    box-shadow: 0 8px 35px rgba(67, 233, 123, 0.6);
}

.peer-btn {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 6px 25px rgba(250, 112, 154, 0.5);
}

.peer-btn:hover {
    box-shadow: 0 8px 35px rgba(250, 112, 154, 0.6);
}

.tracker-btn {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.tracker-btn:hover {
    box-shadow: 0 8px 35px rgba(102, 126, 234, 0.6);
}

/* Mail Modal */
.journal-mail-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.mail-modal-content {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideDown 0.4s ease;
}

.mail-modal-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mail-modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.mail-close {
    color: #fff;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.mail-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.mail-modal-body {
    padding: 30px;
}

.mail-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.mail-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.mail-item:last-child {
    margin-bottom: 0;
}

.mail-item label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

.mail-email {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    word-break: break-all;
}

.mail-copy-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mail-copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.mail-copy-btn.copied {
    background: #43e97b;
    border-color: #43e97b;
}

.custom-mobile-reverse {
    display: flex;
    flex-direction: column-reverse;
}

.card.shadow-sm .idx,
.card.shadow-sm .usf {
    border: 1px solid #055cb0;
    float: left;
    width: 100%;
    padding: 15px;
    height: 280px;
    overflow: auto;
}

.usf span {
    display: block;
    line-height: 36px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 2px;
    max-width: 234px;
}

.card.shadow-sm h4 {
    /* border: 1px dashed; */
    color: #ffffff;
    font-weight: bold;
    background: #17a075;
    padding-left: 15px;
    float: left;
    width: 100%;
    margin-bottom: 0;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    border-bottom: none;
}

.card.shadow-sm .usf.cate li {
    list-style: none;
    color: #047857;
    background: #cbffd685;
}

.usf.cate ul li {
    padding: 0px 40px;
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgb(24, 119, 242);
    border-radius: 25px;
    outline: none;
    overflow: hidden;
    color: rgb(24, 119, 242);
    transition: color 0.3s 0.1s ease-out;
    text-align: center;
    margin-bottom: 10px;
}

.card.shadow-sm {
    margin-bottom: 5px;
}

.card-body.impress-container .dock-type .file-type img {
    height: 27px;
}

.dock-type i img {
    width: 26px;
    height: 26px;
}

/* ========== RESPONSIVE DESIGN FOR JOURNAL MENU ========== */
@media (max-width: 1200px) {
    .jnl-menu>li>a {
        padding: 18px 15px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {

    /* Show "Journal menu" label on mobile */
    .Journal-menu {
        display: inline-block;
        color: #10b981;
        font-weight: 600;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-right: 10px;
    }

    /* Show toggle button on mobile */
    .navbar-toggler-child-menu {
        display: block;
        float: right;
        padding: 8px 15px;
    }

    .max-container {
        position: relative;
        padding: 0 15px;
    }

    /* Position navbar absolutely for mobile dropdown */
    .journal_navbar {
        position: absolute;
        top: 50px;
        right: 0;
        width: 100%;
        max-width: 350px;
        z-index: 9998;
        border-radius: 0 0 10px 10px;
    }

    /* Hide navbar-collapse by default on mobile */
    .journal_navbar .navbar-collapse {
        display: none !important;
    }

    /* Show when toggled */
    .journal_navbar .navbar-collapse.show {
        display: block !important;
    }

    /* Stack menu items vertically */
    .jnl-menu {
        flex-direction: column;
    }

    .jnl-menu>li>a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Dropdown menu adjustments for mobile */
    .jnl-menu .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0;
        transform: none;
        opacity: 1;
        display: none;
    }

    .jnl-menu .dropdown.show .dropdown-menu {
        display: block;
    }

    .jnl-menu .dropdown-menu a {
        color: #fff;
        padding: 12px 20px 12px 40px;
        font-size: 13px;
    }

    .jnl-menu .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }
}

@media (max-width: 767px) {
    .max-container {
        padding: 0 10px;
    }

    .journal_navbar {
        max-width: 320px;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.card.shadow-sm.flyer {
    margin-top: 90px;
}

/* Translate Widget */
.translate-widget {
    position: absolute;
    /* bottom: 20px; */
    margin-top: 0px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 991px) {
    .journal-hero-banner {
        padding: 120px 0 40px;
    }

    .journal-logo-wrapper {
        min-height: 180px;
        margin-bottom: 30px;
    }

    .journal-main-title {
        font-size: 32px;
    }

    .journal-action-buttons {
        right: 15px;
        gap: 10px;
    }

    .action-btn {
        width: 60px;
        height: 60px;
    }

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

    .action-btn span {
        font-size: 9px;
    }
}

@media (max-width: 767px) {

    /* Header layout fixes */
    .menu_button .journal_navbar .navbar-nav {
        width: 100% !important;
    }

    .autoshow.journal-header .logo {
        float: left;
    }

    .autoshow.journal-header .menu_button {
        float: right;
    }

    header.autoshow #logo {
        float: left;
        padding: 5px 0;
        margin-left: 0;
    }

    header.autoshow #logo img {
        max-height: 45px;
        width: auto;
    }

    header.autoshow .max-container {
        padding: 0 5px 0 0 !important;
        margin-bottom: 0 !important;
    }

    .navbar-toggler-child-menu {
        margin-top: 5px;
        margin-bottom: 5px;
        float: right;
    }

    .journal-hero-banner {
        padding: 90px 0 30px;
    }

    .journal-logo-wrapper {
        margin: 0 auto 25px;
        width: 160px;
        min-height: 160px;
        padding: 15px;
    }

    .journal-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .journal-main-title {
        font-size: 26px;
        text-align: center;
        width: 100%;
    }

    .journal-title-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }


    .journal-meta-badges {
        gap: 10px;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    .meta-badge {
        font-size: 13px;
        padding: 8px 16px;
        margin-bottom: 5px;
    }

    .journal-action-buttons {
        position: static;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
        padding: 0 5px;
        width: 100%;
        right: auto;
        gap: 10px;
    }

    .action-btn {
        width: calc(33.33% - 15px);
        height: auto;
        padding: 10px 5px;
        border-radius: 12px;
        min-height: 65px;
    }

    .action-btn i {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .action-btn span {
        font-size: 9px;
    }

    .translate-widget {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
    }
}

@media (max-width: 575px) {
    .journal-main-title {
        font-size: 24px;
    }

    .journal-meta-badges {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .mail-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .mail-modal-header {
        padding: 20px;
    }

    .mail-modal-body {
        padding: 20px;
    }
}