/**
 * plugins/themes/jmlr/styles/index.less
 *
 * Custom styles for the JMLR theme to match the parchment and dark brown aesthetic.
 */

@jmlr-dark-brown: #2c251c;
@jmlr-light-brown: #5c4d3c;
@jmlr-tan: #e8dbcd;
@jmlr-gold: #c39a5c;
@jmlr-text-color: #333333;
@jmlr-blue: #1c2331;
@jmlr-header-bg: #2d261e;

body {
    background-color: #e8dbcd;
    color: #333333;
    font-family: "Georgia", serif;
    margin: 0;
    padding: 0;
    /* Adding a simulated parchment texture via radial gradient */
    background-image: radial-gradient(circle at center, #f5ecd8 0%, #d8c3a5 100%);
    background-attachment: fixed;
}

/* Header */
.pkp_structure_head {
    background-color: #111820;
    color: #ffffff;
    border-top: 2px dashed #5c4d3c;
    border-bottom: 2px dashed #5c4d3c;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.pkp_structure_head .pkp_navigation_primary {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pkp_structure_head .pkp_navigation_primary a {
    color: #ebdcb9;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95em;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.pkp_structure_head .pkp_navigation_primary a i {
    margin-left: 6px;
    font-size: 0.85em;
}

/* Dropdown styling */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    background-color: #e8dbcd;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 100;
    top: 100%;
    left: 15px;
    border-radius: 4px;
    padding: 10px 0;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    color: #000000 !important;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    margin: 0 !important;
    font-size: 0.9em !important;
    text-transform: none !important;
    font-weight: normal !important;
}

.nav-dropdown-content a:hover {
    background-color: #d8c3a5;
    color: #000000 !important;
}

.pkp_structure_head .pkp_navigation_primary a:hover {
    color: #ffffff;
}

.pkp_structure_head .submit-btn {
    background-color: #6a4f3b;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #8e735b;
    font-weight: bold;
    font-style: normal;
}

.pkp_structure_head .submit-btn:hover {
    background-color: #553e2e;
}

/* Page Layout */
/* Omitted max-width so the page index takes full width for the blue block */
.pkp_structure_page {
    padding: 0;
}

/* Custom Sections */
/* Modern Hero Section */
.new-hero-container {
    padding: 80px 40px;
    display: flex;
    gap: 40px;
    align-items: center;
    background: radial-gradient(circle at center, #f5ecd8 0%, #e8dbcd 100%);
    overflow: hidden;
}

.new-hero-left {
    flex: 1.15;
    padding-right: 20px;
}

.hero-overline {
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 2px;
    color: #634731;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-family: 'Segoe UI', Arial, sans-serif;
    animation: slideUpFade 0.8s ease-out forwards;
    opacity: 0;
}

.hero-line {
    width: 40px;
    height: 1px;
    background-color: #634731;
    margin-right: 15px;
}

.hero-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.4em;
    font-weight: normal;
    color: #463023;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: -1px;
    animation: slideUpFade 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-italic {
    font-style: italic;
    color: #9f5b3d;
}

.hero-subtitle {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.95em;
    color: #314457;
    line-height: 1.5;
    margin-bottom: 40px;
    animation: slideUpFade 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    animation: slideUpFade 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-buttons a {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.05em;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-solid {
    background-color: #6a4430;
    color: #fff !important;
}

.btn-solid:hover {
    background-color: #553525;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 68, 48, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #463023 !important;
    border: 1px solid #bbaaa1;
}

.btn-outline:hover {
    background-color: #e5d8c3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hero-meta {
    font-size: 0.9em;
    color: #7b7875;
    font-family: 'Segoe UI', Arial, sans-serif;
    animation: slideUpFade 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

.new-hero-right {
    flex: 0.85;
    position: relative;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -30px;
    animation: slideInRightFade 1s ease-out 0.5s forwards;
    opacity: 0;
}

/* Background graphics & Animations */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInRightFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes slowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes floatDot {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        box-shadow: 0 0 0px rgba(164, 109, 74, 0);
    }

    50% {
        transform: translateY(-15px) scale(1.1);
        box-shadow: 0 0 15px rgba(164, 109, 74, 0.6);
    }
}

@keyframes floatCardDark {

    0%,
    100% {
        transform: rotate(-3deg) translateY(0px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    }

    50% {
        transform: rotate(-2deg) translateY(-18px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    }
}

@keyframes floatCardLight {

    0%,
    100% {
        transform: rotate(5deg) translateY(0px);
        box-shadow: -5px 15px 30px rgba(0, 0, 0, 0.15);
    }

    50% {
        transform: rotate(6deg) translateY(-14px);
        box-shadow: -10px 25px 45px rgba(0, 0, 0, 0.1);
    }
}

.hero-graphic-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: -35px;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-outline {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1px solid #dcd0bd;
    animation: slowSpin 60s linear infinite;
}

.hero-dot {
    position: absolute;
    border-radius: 50%;
    background-color: #a46d4a;
    animation: floatDot 5s ease-in-out infinite;
}

.dot-1 {
    top: 12%;
    right: 12%;
    width: 14px;
    height: 14px;
}

.dot-2 {
    bottom: 12%;
    left: 12%;
    width: 8px;
    height: 8px;
    animation-delay: -2.5s;
}

.dot-3 {
    display: none;
}

/* Dark card */
.hero-card-dark {
    position: relative;
    z-index: 1;
    background-color: #24303c;
    color: #fff;
    padding: 18px 30px 40px 40px;
    border-radius: 3px;
    transform: rotate(-3deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    width: 100%;
    max-width: 310px;
    left: -40px;
    animation: floatCardDark 6s ease-in-out infinite;
}

.hero-card-dark::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 45px;
    bottom: 45px;
    width: 1.5px;
    background-color: #cca466;
}

.card-overline {
    color: #cca466;
    font-size: 0.8em;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
}

.card-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.8em;
    font-weight: normal;
    margin: 0 0 30px 0;
    line-height: 1.1;
    color: #fff;
}

.card-footer {
    font-size: 0.85em;
    color: #9cb2c4;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Light card overlapping */
.hero-card-light {
    position: absolute;
    z-index: 2;
    bottom: -20px;
    right: -5px;
    background-color: #fffdf9;
    padding: 12px 20px;
    box-shadow: -5px 15px 30px rgba(0, 0, 0, 0.15);
    transform: rotate(5deg);
    max-width: 240px;
    border: 1px solid #f1ece4;
    animation: floatCardLight 7s ease-in-out infinite;
}

.card-subtitle {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #9f5b3d;
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: normal;
}

.hero-card-light p {
    color: #000000;
    font-size: 0.85em;
    line-height: 1.5;
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.jmlr-reasons-section {
    text-align: center;
}

.jmlr-reasons-section h2 {
    font-size: 2em;
    margin-bottom: 30px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
}

.jmlr-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 10px;
}

.jmlr-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
}

.icon-placeholder {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #e3c494, #a67c4d);
    border-radius: 50%;
    border: 2px solid #5c4d3c;
    margin-bottom: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.jmlr-stats {
    background: #f8f4e6;
    padding: 20px;
    border: 1px solid #d8c3a5;
    box-shadow: inset 0 0 0 3px #f8f4e6, inset 0 0 0 4px #d8c3a5, 0 5px 15px rgba(0, 0, 0, 0.1);
}

.jmlr-stats h3 {
    text-align: center;
    font-size: 1.8em;
    margin-top: 0;
    font-family: 'Times New Roman', Times, serif;
}

.jmlr-stats table {
    width: 100%;
    border-collapse: collapse;
}

.jmlr-stats th,
.jmlr-stats td {
    padding: 8px 12px;
    border: 1px solid #d1bba4;
    font-size: 0.9em;
}

.jmlr-stats .wood-row {
    background: linear-gradient(to right, #5c3b2e, #855b46, #5c3b2e);
    color: white;
}

.jmlr-blue-block {
    background-color: #1a2232;
    border-top: 3px solid #111;
    border-bottom: 3px solid #111;
}

.jmlr-benefits h3 {
    color: #ebdcb9;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: none;
    padding-bottom: 0;
}

.jmlr-benefit-paper {
    flex: 1;
    background: #fdfaf3;
    padding: 15px 25px;
    position: relative;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    margin: 0 10px;
    /* space for the pseudo torn edges */
}

/* Torn left edge */
.jmlr-benefit-paper::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(-45deg, #fdfaf3 6px, transparent 0), linear-gradient(45deg, #fdfaf3 6px, transparent 0);
    background-position: left center;
    background-size: 12px 12px;
}

/* Torn right edge */
.jmlr-benefit-paper::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(135deg, #fdfaf3 6px, transparent 0), linear-gradient(225deg, #fdfaf3 6px, transparent 0);
    background-position: right center;
    background-size: 12px 12px;
}

.jmlr-benefit-paper ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.9em;
}

.jmlr-benefit-paper ul li {
    padding: 10px 0 10px 25px;
    border-bottom: 1px solid #d5c3aa;
    position: relative;
    color: #444;
}

.jmlr-benefit-paper ul li:last-child {
    border-bottom: none;
}

.jmlr-benefit-paper ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 14px;
    height: 14px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%23c39a5c"><path d="M495.9 16.1C508.8 35.1 498.4 62 481.5 73.1c-16.1 10.6-26.6 27-29.3 46.1-4 28.5 7.6 57 26.7 78 12.8 14 11.2 35.9-3.2 48.1l-10.4 8.8c-12 10.1-29.7 9.8-41.5-.7l-15.6-14c-20.9-18.7-50.6-22-74.8-8.2L179.9 319.4c-20.9 11.9-46.7 9.8-65.7-5.5L78.6 286c-19-15.3-21.1-43-4.7-60.7l228.3-247c13.8-15 34.6-21.7 54.9-17.5 17.7 3.6 36.1-2 49.6-15.1l11.4-11.2c13.2-12.9 34.2-13.8 48.4-2.1l29.4 23.7z"/></svg>') no-repeat center;
    background-size: contain;
}

.jmlr-commitment h2 {
    color: #ebdcb9;
    margin-top: 0;
    font-size: 1.8em;
    font-family: 'Times New Roman', Times, serif;
    border-bottom: none;
    padding-bottom: 0;
}

.jmlr-commitment p {
    color: #e5dccf;
    font-size: 1em;
    line-height: 1.6;
}

.jmlr-community .submit-research-btn {
    background-color: transparent;
    border: 2px solid #ebdcb9;
    color: #ebdcb9;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jmlr-community .submit-research-btn:hover {
    background-color: #ebdcb9;
    color: #4a3b2c;
}

/* Footer */
.pkp_structure_footer {
    background-color: #111820;
    color: #9ab0c5;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.footer-top {
    padding: 70px 20px 40px 20px;
}

.pkp_structure_footer .footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col-brand {
    flex: 0 0 35%;
}

.footer-col {
    flex: 0 1 auto;
}

.footer-brand-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.8em;
    color: #fff;
    font-weight: normal;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.footer-brand-desc {
    font-size: 0.95em;
    line-height: 1.6;
    color: #9ab0c5;
    margin: 0;
}

.footer-col h4 {
    color: #dfa467;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2em;
    font-weight: normal;
    margin: 0 0 20px 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9ab0c5;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 25px 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9em;
    color: #9ab0c5;
}

.footer-meta {
    color: #9ab0c5;
}

/* About JMLR Section */
.jmlr-about-wrapper {
    background-color: #fffdf9;
    padding: 80px 40px;
}

.jmlr-about-section {
    display: flex;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-left {
    flex: 1;
}

.about-right {
    flex: 1.2;
}

.about-overline {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c47f51;
    /* Matching orange-brown from image */
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.5em;
    /* Reduced as requested */
    color: #17232e;
    line-height: 1.2;
    margin: 0;
    font-weight: bold;
}

.about-lead {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.25em;
    /* Slightly bigger than regular text */
    color: #3f4756;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 25px;
}

.about-right p:not(.about-lead) {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.95em;
    /* Small text as requested */
    color: #727a85;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-right p:last-child {
    margin-bottom: 0;
}


/* Why Publish Section */
.jmlr-why-wrapper {
    background-color: #efe6d5;
    /* Light warm beige */
    padding: 80px 40px;
}

.jmlr-why-header {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    align-items: center;
}

.why-header-left {
    flex: 1.2;
}

.why-header-right {
    flex: 1;
}

.why-overline {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b56730;
    /* Orange/brown from image */
    margin-bottom: 20px;
    text-transform: uppercase;
}

.why-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.8em;
    color: #1a2430;
    line-height: 1.2;
    margin: 0;
}

.why-header-right p {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.05em;
    color: #64707e;
    line-height: 1.6;
    margin: 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background-color: #fffdf9;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(220, 208, 189, 0.4);
    overflow: hidden;
}

.why-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.why-icon {
    font-size: 1.4em;
    color: #b56730;
}

.why-card-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2em;
    color: #1a2430;
    margin: 0;
    font-weight: normal;
}

.why-card p {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.9em;
    color: #727a85;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

.why-card-decorator {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 45px;
    height: 45px;
    background-color: #dfcdb3;
    border-top-left-radius: 100%;
    z-index: 1;
}


/* Benefits Section */
.jmlr-benefits-wrapper {
    background-color: #151c24;
    /* Dark background */
    padding: 80px 40px;
    color: #fff;
}

.benefits-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.benefits-left {
    flex: 0.85;
}

.benefits-right {
    flex: 1.15;
}

.benefits-overline {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b56730;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.benefits-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.6em;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 25px 0;
}

.benefits-desc {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.05em;
    color: #9ab0c5;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.benefit-item {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 4px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.95em;
    color: #dde5ed;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    transition: background-color 0.3s, border-color 0.3s;
}

.benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.2);
}

.benefit-arrow {
    color: #e3a985;
    /* Orange arrow */
    font-weight: bold;
    font-size: 1.1em;
}

/* Glance Card */
.glance-card {
    background-color: #fffdf9;
    padding: 20px;
    border-radius: 8px;
    color: #1a2430;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.glance-overline {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b56730;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.glance-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.2em;
    color: #463023;
    margin: 0 0 20px 0;
}

.glance-table {
    width: 100%;
    border-collapse: collapse;
}

.glance-table td {
    padding: 7px 15px;
    border: 1px solid #e2d7c1;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.9em;
    color: #5d6771;
    line-height: 1.5;
}

.glance-table .glance-label {
    background-color: #efe6d5;
    font-weight: 600;
    color: #463023;
    width: 35%;
}


/* Commitment Section */
.commitment-section {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    background-color: #1e2630;
    /* Slightly lighter dark blue/gray */
    padding: 50px 60px;
    border-left: 4px solid #dfa467;
    /* Orange/gold border */
    border-radius: 4px;
}

.commitment-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.2em;
    color: #dfa467;
    /* Light orange/gold */
    margin: 0 0 25px 0;
}

.commitment-section p {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.05em;
    color: #dde5ed;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.commitment-section p:last-child {
    margin-bottom: 0;
}


/* Call to Action Section */
.jmlr-cta-wrapper {
    background-color: #fffdf9;
    /* Match background color */
    padding: 50px 20px;
    border-top: 1px solid #e2d7c1;
}

.jmlr-cta-section {
    display: flex;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.cta-left {
    flex: 1;
}

.cta-right {
    flex: 1.1;
}

.cta-overline {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b56730;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.5em;
    color: #463023;
    /* Dark brown */
    line-height: 1.2;
    margin: 0;
    font-weight: normal;
}

.cta-right p {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.05em;
    color: #64707e;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

.cta-button {
    display: inline-block;
    background-color: #6d422a;
    /* Brown color */
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.05em;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.cta-button:hover {
    background-color: #55321f;
    color: #fff;
    text-decoration: none;
}

/* Wider Conversation Section */
.jmlr-wider-conversation-wrapper {
    background-color: #3b2b21;
    padding: 70px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.jmlr-wider-conversation-wrapper::before {
    content: "";
    position: absolute;
    top: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.jmlr-wider-conversation-wrapper::after {
    content: "";
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.wider-conversation-section {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.wider-overline {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b56730;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.wider-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.5em;
    color: #ebdcb9;
    line-height: 1.2;
    margin: 0 0 25px 0;
    font-weight: normal;
}

.wider-desc {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.9em;
    color: #dde5ed;
    line-height: 1.6;
    margin: 0 auto 35px auto;
    max-width: 700px;
}

.wider-button {
    display: inline-block;
    background-color: #a46d4a;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.05em;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wider-button:hover {
    background-color: #8c5b3b;
    color: #fff;
    text-decoration: none;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-info .contact-icon {
    margin-top: 3px;
    flex-shrink: 0;
    color: #9ab0c5;
}

.footer-contact-info .contact-text {
    line-height: 1.5;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ebdcb9;
    font-size: 1.8em;
    cursor: pointer;
    padding: 10px;
}

/* Responsive Styles for Phone View */
@media screen and (max-width: 768px) {
    .pkp_head_wrapper {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .pkp_structure_head .pkp_navigation_primary {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 15px;
        flex-wrap: nowrap;
    }

    .pkp_structure_head .pkp_navigation_primary.is-open {
        display: flex;
    }

    .pkp_structure_head .pkp_navigation_primary a {
        margin: 10px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-divider {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-dropdown-content {
        display: none;
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        background-color: transparent;
        text-align: left;
    }

    .nav-dropdown-content.show {
        display: flex;
        flex-direction: column;
    }

    .new-hero-container {
        flex-direction: column;
        padding: 50px 20px;
        gap: 50px;
        overflow: hidden;
    }

    .new-hero-right {
        padding: 20px 0;
        margin-top: 20px;
        width: 100%;
    }

    .hero-card-dark {
        left: 0;
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-card-light {
        position: absolute;
        bottom: -15px;
        right: 0;
        max-width: 80%;
    }

    .hero-title {
        font-size: 2.2em;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-solid,
    .btn-outline {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .jmlr-about-section {
        flex-direction: column;
        gap: 20px;
    }

    .about-title {
        font-size: 2em;
    }

    .jmlr-why-header {
        flex-direction: column;
        gap: 20px;
    }

    .why-title {
        font-size: 2.2em;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .benefits-container {
        flex-direction: column;
        gap: 40px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .jmlr-cta-section {
        flex-direction: column;
        gap: 30px;
    }

    .cta-title {
        font-size: 2.2em;
    }

    .cta-button {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .pkp_structure_footer .footer-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 40px 0;
    }

    .footer-col-brand,
    .footer-col:last-child {
        flex: 0 0 100%;
    }

    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        flex: 0 0 50%;
    }

    .wider-title {
        font-size: 2em;
    }
}

/* About Page Styles */
.jmlr-about-page {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #463023;
    line-height: 1.8;
    padding: 10px 0 40px;
}

.jmlr-about-page p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #000000;
}

.about-page-section {
    margin-top: 50px;
}

.about-section-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.2em;
    color: #463023;
    margin-bottom: 25px;
    font-weight: normal;
    border-bottom: 2px solid #e2d7c1;
    padding-bottom: 10px;
}

.about-mission-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-mission-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #000000;
}

.about-mission-list li::before,
.about-mission-list li i {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: #a46d4a;
    font-size: 1.2em;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background: #fffdf9;
    border: 1px solid #e2d7c1;
    border-radius: 6px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.feature-icon {
    background-color: #f5ecd8;
    color: #8c5b3b;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    flex-shrink: 0;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.feature-card:nth-child(1) .feature-icon::before { content: "\f0ac"; }
.feature-card:nth-child(2) .feature-icon::before { content: "\f21b"; }
.feature-card:nth-child(3) .feature-icon::before { content: "\f542"; }
.feature-card:nth-child(4) .feature-icon::before { content: "\f560"; }
.feature-card:nth-child(5) .feature-icon::before { content: "\f201"; }
.feature-card:nth-child(6) .feature-icon::before { content: "\f4c4"; }
.feature-card:nth-child(7) .feature-icon::before { content: "\f24e"; }
.feature-card:nth-child(8) .feature-icon::before { content: "\f0c0"; }

.feature-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.3em;
    color: #463023;
    margin: 0 0 10px 0;
    font-weight: normal;
}

.feature-desc {
    margin: 0 !important;
    font-size: 0.95em !important;
    line-height: 1.6;
}

/* Fix OJS Breadcrumbs */
body .pkp_structure_page .cmp_breadcrumbs {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 20px 20px 0 !important;
    box-sizing: border-box !important;
}

.cmp_breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.9em;
    color: #64707e;
}

.cmp_breadcrumbs ol li {
    display: inline-flex;
    align-items: center;
}

.cmp_breadcrumbs ol li::before {
    display: none !important; /* Hide standard browser or theme numbering/bullets */
}

.cmp_breadcrumbs a {
    color: #a46d4a;
    text-decoration: none;
}

.cmp_breadcrumbs a:hover {
    text-decoration: underline;
}

.cmp_breadcrumbs .separator {
    margin: 0 5px;
    color: #9ab0c5;
}

/* Fix OJS Page Title Alignment */
.pkp_structure_page .page_title,
.pkp_structure_page .page > h1,
.pkp_structure_page .page_header h1 {
    display: inline-block;
    margin: 20px 15px 10px 0;
    padding: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.8em;
    color: #463023;
    font-weight: bold;
}

/* Transform frontend edit links into icons */
.pkp_structure_page .cmp_edit_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background-color: #f5ecd8;
    color: #a46d4a !important;
    text-decoration: none !important;
    font-size: 0; /* Hides the original text */
    vertical-align: super;
    transition: background-color 0.3s ease;
}

.pkp_structure_page .cmp_edit_link::before {
    content: "\f044"; /* FontAwesome edit icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
}

.pkp_structure_page .cmp_edit_link:hover {
    background-color: #e2d7c1;
    color: #463023 !important;
}

/* Privacy Page Styles */
.privacy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
}

.privacy-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #000000;
}

.privacy-list li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: #a46d4a;
    font-size: 1.2em;
}

.privacy-list li:nth-child(1)::before { content: "\f3ed"; } /* fa-shield-alt */
.privacy-list li:nth-child(2)::before { content: "\f56c"; } /* fa-file-contract */
.privacy-list li:nth-child(3)::before { content: "\f21b"; } /* fa-user-secret */
.privacy-list li:nth-child(4)::before { content: "\f023"; } /* fa-lock */

/* Generic Inner Page Wrapper Constraints */
.pkp_structure_page .page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #000000;
}

.pkp_structure_page .page a {
    color: #a46d4a;
    text-decoration: none;
}

.pkp_structure_page .page a:hover {
    text-decoration: underline;
}

.page_contact .contact_section {
    background: #fffdf9;
    border: 1px solid #e2d7c1;
    border-radius: 6px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.page_contact .contact_section h3 {
    margin-top: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    border-bottom: 1px solid #e2d7c1;
    padding-bottom: 10px;
    color: #463023;
}

/* Submission Guidelines Styles */
.submission-checklist {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
}

.submission-checklist li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 1.05em;
    color: #000000;
}

.submission-checklist li::before {
    content: "\f00c"; /* fa-check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: #a46d4a;
    font-size: 1.1em;
}

.submission-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.step-card {
    background: #fffdf9;
    border: 1px solid #e2d7c1;
    border-radius: 8px;
    padding: 25px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.step-number {
    display: inline-block;
    background-color: #f5ecd8;
    color: #8c5b3b;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: bold;
    font-size: 0.85em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.step-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.3em;
    color: #463023;
    margin: 0 0 10px 0;
}

.step-desc {
    margin: 0 !important;
    font-size: 0.95em !important;
    line-height: 1.6;
    color: #000000;
}

/* Arrow List Styles */
.arrow-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
}

.arrow-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1.05em;
    color: #000000;
}

.arrow-list li::before {
    content: "\f105"; /* fa-angle-right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: #a46d4a;
    font-size: 1.1em;
}

/* Scroll Reveal Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.is-visible,
.fade-left.is-visible,
.fade-right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger Children Animation */
.stagger-section > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-section.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger-section.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-section.is-visible > *:nth-child(2) { transition-delay: 0.3s; }
.stagger-section.is-visible > *:nth-child(3) { transition-delay: 0.5s; }
.stagger-section.is-visible > *:nth-child(4) { transition-delay: 0.7s; }
.stagger-section.is-visible > *:nth-child(5) { transition-delay: 0.9s; }