/* Equal size for indexing images only */
.pkp_block .content img {
  width: 180px !important;
  height: 70px !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
}
/* ===== Primary Navigation ===== */
#navigationPrimary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 999;
}

/* Top level items */
#navigationPrimary > li {
    position: relative;
}

/* Top level links */
#navigationPrimary > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #1f2937;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

/* Hover effect */
#navigationPrimary > li > a:hover,
#navigationPrimary > li:hover > a {
    color: #84201b;
    background: rgba(132, 32, 27, 0.08);
    transform: translateY(-2px);
}

/* Active underline effect */
#navigationPrimary > li > a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 2px;
    background: #84201b;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

#navigationPrimary > li > a:hover::after,
#navigationPrimary > li:hover > a::after {
    transform: scaleX(1);
}

/* Dropdown menu */
#navigationPrimary .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid rgba(132, 32, 27, 0.18);
    border-top: 3px solid #84201b;
    border-radius: 14px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    transition: all 0.28s ease;
    z-index: 9999;
}

/* Show dropdown on hover */
#navigationPrimary > li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown list items */
#navigationPrimary .dropdown-menu li {
    width: 100%;
}

/* Dropdown links */
#navigationPrimary .dropdown-menu li a {
    display: block;
    padding: 11px 18px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

/* Dropdown hover */
#navigationPrimary .dropdown-menu li a:hover {
    background: rgba(132, 32, 27, 0.07);
    color: #84201b;
    border-left: 3px solid #84201b;
    padding-left: 22px;
}

/* Small arrow for dropdown parents */
#navigationPrimary > li > a[aria-haspopup="true"]::before {
    content: "▾";
    font-size: 11px;
    margin-left: 8px;
    color: #84201b;
    order: 2;
    transition: transform 0.3s ease;
}

#navigationPrimary > li:hover > a[aria-haspopup="true"]::before {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 991px) {
    #navigationPrimary {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px;
    }

    #navigationPrimary > li {
        width: 100%;
    }

    #navigationPrimary > li > a {
        justify-content: space-between;
        width: 100%;
        padding: 14px 16px;
    }

    #navigationPrimary .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        border: 1px solid rgba(132, 32, 27, 0.12);
        margin-top: 6px;
        display: none;
    }

    #navigationPrimary > li:hover > .dropdown-menu {
        display: block;
    }
}

2nd for articles
/* ===== Article Summary Box ===== */
.obj_article_summary {
    background: #ffffff;
    padding: 16px;
    border: 1px solid #31d4ff;
    border-radius: 14px;
    box-shadow: 0 4px 8px rgba(49, 212, 255, 0.20);
    transition: none;
    position: relative;
}

/* Title */
.obj_article_summary .title a {
    color: #1f2937;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.obj_article_summary .title a:hover {
    color: #31d4ff;
}

/* Meta text */
.obj_article_summary .meta,
.obj_article_summary .subtitle,
.obj_article_summary .authors {
    color: #555;
}

/* ===== Stylish Galley Buttons ===== */
.obj_article_summary .galleys_links,
.obj_article_summary .galley_links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.obj_article_summary .galleys_links a,
.obj_article_summary .galley_links a,
.obj_article_summary .btn,
.obj_article_summary .file {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, #31d4ff, #12bfe8);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    box-shadow: 0 6px 14px rgba(49, 212, 255, 0.28);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Button shine effect */
.obj_article_summary .galleys_links a::before,
.obj_article_summary .galley_links a::before,
.obj_article_summary .btn::before,
.obj_article_summary .file::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-25deg);
    transition: left 0.7s ease;
}

.obj_article_summary .galleys_links a:hover,
.obj_article_summary .galley_links a:hover,
.obj_article_summary .btn:hover,
.obj_article_summary .file:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(49, 212, 255, 0.38);
    background: linear-gradient(135deg, #12bfe8, #31d4ff);
}

.obj_article_summary .galleys_links a:hover::before,
.obj_article_summary .galley_links a:hover::before,
.obj_article_summary .btn:hover::before,
.obj_article_summary .file:hover::before {
    left: 130%;
}

3rd card animation
#customblock-journal-information {
    background: #ffffff;
    border: 1px solid rgba(49, 212, 255, 0.35);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* only box animation */
#customblock-journal-information:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(49, 212, 255, 0.18);
    border-color: #31d4ff;
}

/* top accent line */
#customblock-journal-information::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #31d4ff;
}

/* title */
#customblock-journal-information .title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(49, 212, 255, 0.18);
}

/* content */
#customblock-journal-information .content {
    padding: 0;
}

/* list */
#customblock-journal-information .content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#customblock-journal-information .content ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
}

#customblock-journal-information .content ul li:last-child {
    border-bottom: none;
}

/* strong text */
#customblock-journal-information strong {
    color: #111827;
}

/* links */
#customblock-journal-information a {
    color: #009fca;
    text-decoration: none;
    font-weight: 600;
}

#customblock-journal-information a:hover {
    color: #31d4ff;
    text-decoration: underline;
}

4th
.custom-sidebar-card {
    background: #ffffff;
    border: 1px solid rgba(49, 212, 255, 0.35);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* only box animation */
.custom-sidebar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(49, 212, 255, 0.18);
    border-color: #31d4ff;
}

/* top accent line */
.custom-sidebar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #31d4ff;
}

/* title */
.custom-sidebar-card .sidebar-title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(49, 212, 255, 0.18);
}

/* content */
.custom-sidebar-card .sidebar-content {
    padding: 0;
}

/* menu list */
.custom-sidebar-card .sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-sidebar-card .sidebar-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.custom-sidebar-card .sidebar-menu li:last-child {
    border-bottom: none;
}

.custom-sidebar-card .sidebar-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 10px;
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
}

.custom-sidebar-card .sidebar-menu li a:hover {
    color: #31d4ff;
    background: rgba(49, 212, 255, 0.06);
}

5th hero banner


.sip-hero {
    width: 100%;
    background: linear-gradient(135deg, #0f2f46 0%, #1f6d8a 55%, #31d4ff 100%);
    border-radius: 22px;
    padding: 36px 0;
    margin: 20px 0 30px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.sip-hero-inner {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 34px;
    box-sizing: border-box;
}

.sip-hero,
.sip-hero h1,
.sip-hero p,
.sip-hero div,
.sip-hero span,
.sip-hero strong,
.sip-hero a {
    color: #ffffff !important;
}

.sip-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.30);
    border-radius: 30px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
    line-height: 1.4;
}

.sip-hero h1 {
    margin: 0 0 22px 0;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff !important;
    max-width: 780px;
}

.sip-hero p {
    margin: 0 0 18px 0;
    font-size: 15px;
    line-height: 1.95;
    color: #ffffff !important;
    max-width: 820px;
}

.sip-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0;
}

.sip-info-box {
    flex: 1 1 320px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 14px;
    padding: 18px 20px;
    box-sizing: border-box;
    line-height: 1.8;
}

.sip-info-box strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
}

.sip-buttons {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.sip-buttons a {
    display: inline-block;
    margin: 0;
    padding: 13px 26px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
}

.sip-buttons a:first-child {
    background: #ffffff;
    color: #0f2f46 !important;
}

.sip-buttons a:last-child {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .sip-hero {
        padding: 24px 0;
        border-radius: 18px;
    }

    .sip-hero-inner {
        padding: 0 18px;
    }

    .sip-badge {
        margin-bottom: 16px;
    }

    .sip-hero h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .sip-hero p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 14px;
    }

    .sip-info-row {
        gap: 14px;
        margin: 20px 0;
    }

    .sip-info-box {
        padding: 16px;
    }

    .sip-buttons {
        margin-top: 20px;
    }

    .sip-buttons a {
        width: 100%;
        text-align: center;
    }
}

.page_index_journal .sip-hero,
.pkp_page_index .sip-hero,
.sip-hero {
    background: linear-gradient(135deg, #0f2f46 0%, #1f6d8a 55%, #31d4ff 100%) !important;
}

.page_index_journal .sip-hero *,
.pkp_page_index .sip-hero *,
.sip-hero * {
    color: #ffffff !important;
}