/* ===== CONTROLLED HEADER SIZE (DESKTOP + MOBILE BALANCE) ===== */

/* Desktop */
.pkp_site_name .is_img img {
    display: block;
    width: auto;
    height: auto;
    max-width: 900px;   /* prevents over-expansion */
    max-height: 110px;  /* keeps header compact */
}

/* Tablet */
@media (max-width: 992px) {
    .pkp_site_name .is_img img {
        max-width: 100%;
        max-height: 95px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .pkp_site_name {
        text-align: center;
    }

    .pkp_site_name .is_img img {
        max-width: 100%;
        max-height: 75px;
        margin: 0 auto;
    }
}

.pkp_structure_head {
    padding-top: 8px;
    padding-bottom: 8px;
}















@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
    --brand-blue: #1d3c6a;
    --brand-green: #38761d;
    --light-bg: #f1f8f5;
    /* Eye-catching Charcoal Navy for strips */
    --accent-strip: #0f172a; 
    --darker-strip: #020617;
}

.site-footer {
    width: 100%;
    line-height: 1.6;
    font-family: 'Lato', sans-serif;
    margin-top: 0; /* Ensures no space above footer */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Top Strip - No top space */
.footer-top-strip {
    background-color: var(--accent-strip);
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
    opacity: 0.8;
}

/* 2. Main Footer Area */
.footer-main {
    background-color: var(--light-bg);
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 15px 0;
    font-weight: 700;
}

/* Unifying "Advances" and "in" to the same blue */
.text-blue { color: var(--brand-blue); }
.text-green { color: var(--brand-green); }

.mission-text {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 15px;
}

.issn-plain-text {
    font-size: 0.9rem;
    color: #555;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.footer-email {
    display: block;
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 20px;
    text-decoration: none;
}

/* Legal Blocks */
.license-block {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

/* Added space between License and Preservation */
.preservation-block {
    margin-top: 25px; 
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.license-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-blue);
    margin: 0 0 5px 0;
    font-weight: 700;
}

.license-text {
    font-size: 0.85rem;
    color: #555;
    margin: 0;
}

/* Column 2 List - No partition lines */
.col-heading {
    color: var(--brand-green);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li { margin-bottom: 10px; }
.footer-list a { color: #333; text-decoration: none; font-size: 0.95rem; }

/* 3. Publisher Strip */
.publisher-strip {
    background-color: var(--darker-strip);
    color: #adb5bd;
    padding: 30px 0;
}

.publisher-flex-end {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pub-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.pub-right-group {
    display: flex;
    align-items: stretch;
    gap: 25px;
    text-align: right;
}

.pub-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.pub-name { color: #fff; font-weight: 700; font-size: 1.1rem; }
.pub-slogan { color: #cbd5e1; font-style: italic; font-size: 0.9rem; }
.pub-address { font-size: 0.8rem; color: #94a3b8; }
.pub-copyright { font-size: 0.75rem; color: #64748b; margin-top: 5px; }

.footer-pub-logo {
    height: 100%;
    max-height: 75px;
    width: auto;
    filter: brightness(0) invert(1);
}

.utility-col {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

/* Force the PKP Brand to the top right */
.pkp_brand_footer {
    position: absolute !important;
    top: 80px !important; /* Matches the padding of your custom footer */
    right: 0 !important;
    margin: 0 !important;
    width: 250px !important; /* Adjust width as needed */
    z-index: 999;
}

/* Ensure the image inside the brand looks correct */
.pkp_brand_footer img {
    width: 100% !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .publisher-flex-end { flex-direction: column; align-items: flex-start; gap: 20px; }
    .pub-right-group { text-align: left; flex-direction: column-reverse; align-items: flex-start; }
}