.pkp_structure_page {
    margin: 0 auto;
    max-width: none;
}

/* ── REMOVE FOOTER SIDE MARGINS ──────────────────────────── */
#pkp_content_footer,
.pkp_structure_footer_wrapper {
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-bottom: none;
}

.pkp_structure_footer,
.pkp_footer_content {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --ink: #0e0e0e;
    --paper: #f7f6f5;
    --navy:#1A2744;
    --rule: #c8b98a;
    --muted: #7a7060;
    --accent: #1a1a2e;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --mono: 'Space Mono', monospace;
}

body {
    background: var(--ink);
}

/* ═══ FOOTER WRAPPER ═══ */
.f {
    /* background: var(--paper); */
    background: var(--navy);
    color: var(--paper);
    font-family: var(--mono);
    position: relative;
}

/* thin top border line */
.f-topline {
    height: 1px;
    background: var(--ink);
}

/* ═══ MASTHEAD BAND ═══ */
.f-masthead {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--ink);
}

.f-title-block {
    flex: 1;
    padding: 26px 30px;
    border-right: 1px solid var(--ink);
}

.f-journal-name {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.f-journal-name em {
    font-style: italic;
    color: var(--muted);
}

.f-subtitle {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 10px;
}

/* impact factor block — right side of masthead */
.f-if-block {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    text-align: center;
    gap: 4px;
}

.f-if-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.f-if-num {
    font-family: var(--serif);
    font-size: 52px;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
}

.f-if-suffix {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    color: var(--muted);
    text-transform: uppercase;
}

/* ═══ MAIN BODY ═══ */
.f-body {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    border-bottom: 1px solid var(--ink);
}

.f-divider-v {
    background: var(--ink);
    width: 1px;
}

/* each column */
.f-col {
    padding: 15px 30px;
}

.f-col-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.f-col-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rule);
}

/* LINKS column */
.f-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.f-links li {
    border-bottom: 1px solid rgba(14, 14, 14, 0.1);
}

.f-links li:last-child {
    border-bottom: none;
}

.f-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 300;
    color: var(--paper);
    text-decoration: none;
    transition: padding-left 0.2s, color 0.2s;
}

.f-links a:hover {
    padding-left: 8px;
    color: var(--muted);
}

.f-links a .arr {
    font-family: var(--mono);
    font-size: 10px;
    opacity: 0.35;
    transition: opacity 0.2s;
}

.f-links a:hover .arr {
    opacity: 1;
}

/* CONTACT column */
.f-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.f-ci {}

.f-ci-key {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.f-ci-val {
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 300;
    color: var(--paper);
    line-height: 1.5;
}

.f-ci-val a {
    color: var(--paper);
    text-decoration: underline;
    text-decoration-color: var(--rule);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: text-decoration-color 0.2s;
}

.f-ci-val a:hover {
    text-decoration-color: var(--ink);
}

/* ABOUT column */
.f-about-text {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--paper);
}

.f-about-text em {
    font-style: italic;
    color: var(--muted);
}

.f-template-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 9px 16px;
    border: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--paper);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.f-template-link:hover {
    background: var(--ink);
    color: var(--paper);
}

.f-template-link svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: fill 0.2s;
}

/* ═══ BASE / COPYRIGHT ═══ */
.f-base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 14px 40px;
    gap: 12px;
}

.f-copy {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.f-copy b {
    color: var(--ink);
    font-weight: 700;
}

.f-policy {
    display: flex;
    gap: 24px;
    list-style: none;
}

.f-policy a {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.f-policy a:hover {
    color: var(--ink);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 860px) {
    .f-masthead {
        flex-direction: column;
    }

    .f-title-block {
        border-right: none;
        border-bottom: 1px solid var(--ink);
    }

    .f-if-block {
        width: 100%;
        flex-direction: row;
        gap: 16px;
        justify-content: flex-start;
        padding: 20px 40px;
    }

    .f-if-num {
        font-size: 40px;
    }

    .f-body {
        grid-template-columns: 1fr;
    }

    .f-divider-v {
        display: none;
    }

    .f-col {
        border-bottom: 1px solid var(--ink);
        padding: 28px 24px;
    }

    .f-col:last-child {
        border-bottom: none;
    }

    .f-title-block {
        padding: 28px 24px;
    }

    .f-base {
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .f-base {
        flex-direction: column;
        align-items: flex-start;
    }

    .f-policy {
        gap: 16px;
    }

    .f-journal-name {
        font-size: clamp(28px, 9vw, 48px);
    }
}

.ijrdo-site-title{
    font-size: 20px !important;
}