/* ==========================================
   Google Font: Poppins
   Applied globally to all elements
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

html, body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #222222;
    font-weight: 400;
    margin: 0;
    padding: 0;
}


/* ===== Heading Styles ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #0F0999; /* Theme blue */
    line-height: 1.3;
    margin-top: 0.8em;
    margin-bottom: 0.5em;
}
/* ===== Paragraphs ===== */
p {
    margin: 0 0 1em 0;
    text-align: justify;
}

/* ==========================================
   Logo & Page Margins
   ========================================== */

.pkp_site_name .is_img img {
    display: inline-block;
    max-height: 120px;      /* Comfortable desktop logo size */
    max-width: 100%;            /* Full width */
    width: auto;
	height: auto;
    object-fit: contain;
}

.pkp_structure_page {
    margin-top: 0px;
    margin-bottom: 0px;
}

/* ==========================================
   Header / Navigation Bar
   ========================================== */
.pkp_navigation_primary,
.pkp_site_nav_menu {
    width: 100%;
	background-color: #FFFFFF  !important; /* Header color */
}

/* Top-level menu links */
.pkp_navigation_primary > li > a {
    color: #0F0999 !important;
    text-decoration: none;
    text-transform: none !important; /* Normal-case text */
    transition: color 0.2s ease, background 0.2s ease;
}

/* Top-level menu hover/focus */
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    background-color: #4868B7  !important; /* Darker hover */
    color: #ffffff !important;
}

/* Submenu container */
.pkp_navigation_primary li ul {
    background-color: #C2CDE7 !important; /* Submenu background */
    border: none;
    padding: 0;
    margin: 0;
}

/* Submenu links */
.pkp_navigation_primary li ul li a {
    color: #0F0999 !important; /* Default submenu text */
    transition: color 0.2s ease, background 0.2s ease;
}

/* Submenu hover/focus */
.pkp_navigation_primary li ul li a:hover,
.pkp_navigation_primary li ul li a:focus {
    background-color: #0F0999 !important; /* Hover background */
    color: #ffffff !important;            /* Hover text */
}

/* ==========================================
   Footer Styling
   ========================================== */
.pkp_structure_footer_wrapper {
    background-color: #0F0999; /* Same as header */
    color: #ffffff;
    padding: 15px 0;
    text-align: center;
}

.pkp_structure_footer_wrapper a {
    color: #38b6ff;
    text-decoration: none;
}

.pkp_structure_footer_wrapper a:hover {
    color: #f7bc4a; /* Accent color */
}

/* ==========================================
   Article / ORCID / DOI Links
   ========================================== */
.obj_article_details .abstract,
.obj_article_details .item > :last-child {
    text-align: justify;
    font-size: 15px;
    line-height: 1.7;
    color: #222222;
    margin-bottom: 1em;
}

.obj_article_summary > .title a,
.obj_article_details .orcid a,
.obj_article_details .doi a,
.obj_announcement_summary .read_more,
a {
    color: #0F0999;
    transition: color 0.2s ease;
}

a:hover, .obj_announcement_summary .read_more:hover {
    color: #38b6ff;
}

a:focus, .obj_announcement_summary .read_more:focus {
    color: #0F0999;
}

/* ==========================================
   Tables Styling
   ========================================== */
.table-box {
    border: 2px solid #0F0999;
    padding: 5px;
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 10px;
    width: 100%;
}

.hover {
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* Table header */
.hover th {
    height: 35px;
    background-color: #0F0999;
    color: #ffffff;
    border-radius: 5px;
}

/* Table cells */
.hover td {
    height: 30px;
    padding-top: 3px;
    vertical-align: middle;
    text-align: center;
    background-color: #D8DBE4;
    color: #0F0999;
    border-radius: 5px;
    border-bottom: 1px solid #dddddd;
}

/* Links inside table cells */
.hover td a {
    display: block;
    width: 100%;
    color: #02141F; /* Black link text */
}

.hover td a:hover {
    color: #0F0999;
}

/* Row hover effect */
.hover tr:hover {
    background-color: #7badc9;
    color: #0F0999;
}

/* ==========================================
   Blinking Notification
   ========================================== */
.blink {
    animation: blinker 1s linear infinite;
    color: #FFFFFF;
    font-weight: bold;
}

@keyframes blinker {
    50% { opacity: 0; }
}
