/* 3D Cuboid Container & Animation */
.scene-container {
    perspective: 1200px;
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cuboid {
    position: relative;
    width: 260px;
    height: 320px;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    animation: continuousRotate 18s linear infinite;
}

.scene-container:hover .cuboid {
    animation-play-state: paused;
    transform: rotateX(-15deg) rotateY(405deg) scale(1.05);
}

@keyframes continuousRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(0deg) rotateY(360deg);
    }
}

.cuboid-face {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #155d49, #0d3a2e);
    border: 1px solid rgba(40, 150, 119, 0.4);
    border-radius: 1.25rem;
    padding: 1rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cuboid-face.front {
    transform: rotateY(0deg) translateZ(140px);
}

.cuboid-face.right {
    transform: rotateY(90deg) translateZ(140px);
}

.cuboid-face.back {
    transform: rotateY(180deg) translateZ(140px);
}

.cuboid-face.left {
    transform: rotateY(270deg) translateZ(140px);
}

/* --- Default OJS Pages Styling (for Tailwind reset) --- */

.page {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.page h1 {
    font-size: 2.25rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.page h2 {
    font-size: 1.875rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.page h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 1rem;
}

.page p {
    margin-bottom: 1rem;
    color: #475569;
    line-height: 1.6;
}

.page ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #475569;
}

/* Breadcrumbs Fix */
.cmp_breadcrumbs {
    margin-bottom: 1.5rem;
}

.cmp_breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.875rem;
    color: #64748b;
}

.cmp_breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cmp_breadcrumbs a {
    color: #289677;
    text-decoration: none;
    font-weight: 500;
}

.cmp_breadcrumbs a:hover {
    color: #1e7a60;
    text-decoration: underline;
}

.cmp_breadcrumbs .separator {
    color: #94a3b8;
}

.cmp_breadcrumbs .current {
    color: #334155;
    font-weight: 600;
}

/* Issue & Archives styling */
.page ul.issues_archive, .page ul.issues_archive li,
.issues_archive {
    list-style: none !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.obj_issue_summary {
    display: block;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.obj_issue_summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.obj_issue_summary .title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #155d49;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    display: block;
    margin-bottom: 0.5rem;
}

.obj_issue_summary .title:hover {
    text-decoration: underline;
}

.obj_issue_summary .series {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.obj_issue_summary .description {
    margin-top: 1rem;
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Issue TOC (Table of Contents) */
.issue-toc .heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    border-bottom: 2px solid #289677;
    padding-bottom: 0.75rem;
    color: #155d49;
}

.obj_article_summary {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.obj_article_summary:last-child {
    border-bottom: none;
}

.obj_article_summary .title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.obj_article_summary .title a {
    color: #0f172a;
    text-decoration: none;
}

.obj_article_summary .title a:hover {
    color: #289677;
}

.obj_article_summary .authors {
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
    margin-bottom: 1rem;
}

.obj_article_summary .pages {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.btn,
.obj_galley_link {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: #289677;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.375rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover,
.obj_galley_link:hover {
    background-color: #1e7a60;
}


/* ==========================================================================
   IJSF About Page Styles
   ========================================================================== */

:root {
    --ijsf-primary: #155d49;
    /* Deep Green */
    --ijsf-primary-light: #289677;
    /* Bright Green */
    --ijsf-secondary: #1a6e56;
    --ijsf-bg-light: #f0fbf8;
    /* Light green background */
    --ijsf-text-dark: #1f2937;
    --ijsf-text-muted: #4b5563;
    --ijsf-border: #e5e7eb;
}

.ijsf-about-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ijsf-text-dark);
    line-height: 1.7;
}

.ijsf-section {
    margin-bottom: 5rem;
    padding: 0 1.5rem;
}

.ijsf-section-header {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.ijsf-section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--ijsf-primary);
    margin: 0;
    font-family: 'Merriweather', Georgia, serif;
    letter-spacing: -0.025em;
}

.ijsf-section-header::after {
    content: \'\2713\';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--ijsf-primary-light);
    border-radius: 4px;
}

.ijsf-section-content p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    color: var(--ijsf-text-muted);
}

.ijsf-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.ijsf-grid-list li {
    position: relative;
    padding-left: 1.75rem;
    font-weight: 600;
    color: var(--ijsf-primary);
    font-size: 1.05rem;
    list-style: none !important;
}

.ijsf-grid-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--ijsf-primary-light);
    font-weight: 900;
}

.ijsf-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--ijsf-border);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ijsf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.ijsf-card h3 {
    font-size: 1.75rem;
    color: var(--ijsf-primary);
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.ijsf-bullet-list {
    list-style: none;
    padding: 0;
}

.ijsf-bullet-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: var(--ijsf-text-muted);
    font-size: 1.05rem;
    list-style: none !important;
}

.ijsf-bullet-list li::before {
    content: \'\2713\';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 10px;
    height: 10px;
    background-color: var(--ijsf-primary-light);
    border-radius: 50%;
}

.ijsf-highlight-box {
    background-color: var(--ijsf-bg-light);
    border-left: 5px solid var(--ijsf-primary-light);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
}

.ijsf-highlight-box p {
    color: var(--ijsf-primary);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.ijsf-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .ijsf-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.ijsf-accordion-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .ijsf-accordion-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ijsf-accordion-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ijsf-subject-card {
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--ijsf-border);
    transition: background-color 0.3s ease;
}

.ijsf-subject-card:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.ijsf-subject-card h4 {
    color: var(--ijsf-primary);
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--ijsf-border);
    font-weight: 700;
}

.ijsf-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ijsf-chip-list li {
    background-color: #ffffff;
    color: var(--ijsf-text-muted);
    font-size: 0.85rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid var(--ijsf-border);
    transition: all 0.25s ease;
    cursor: default;
    list-style: none !important;
}

.ijsf-chip-list li:hover {
    background-color: var(--ijsf-primary-light);
    color: #ffffff;
    border-color: var(--ijsf-primary-light);
    transform: translateY(-2px);
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 2rem;
}
/* ==========================================================================
   IJSF Author Guidelines Page Styles
   ========================================================================== */

.ijsf-guidelines-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ijsf-text-dark);
    line-height: 1.7;
}

.ijsf-lead-text {
    font-size: 1.25rem !important;
    font-weight: 500;
    color: var(--ijsf-primary);
}

.ijsf-structure-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    border-left: 3px solid var(--ijsf-primary-light);
    padding-left: 1.5rem;
}

.ijsf-structure-timeline .timeline-item {
    position: relative;
    padding: 0.75rem 1rem;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid var(--ijsf-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.ijsf-structure-timeline .timeline-item:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-color: var(--ijsf-primary-light);
    transform: translateX(4px);
}

.ijsf-structure-timeline .timeline-item::before {
    content: \'\2713\';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--ijsf-primary);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--ijsf-primary-light);
    margin-left: -1.5px;
}

.ijsf-structure-timeline .timeline-item span {
    font-weight: 600;
    color: var(--ijsf-primary);
}

.ijsf-structure-timeline .timeline-item small {
    color: var(--ijsf-primary-light);
    font-weight: 700;
    font-size: 0.8rem;
    background-color: var(--ijsf-bg-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.ijsf-format-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .ijsf-format-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ijsf-format-grid .format-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.95rem;
}

.ijsf-format-grid .format-item strong {
    color: var(--ijsf-primary-light);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bg-forest {
    background-color: var(--ijsf-primary) !important;
}

.text-white {
    color: #ffffff !important;
}

.border-t {
    border-top-width: 1px;
}

.border-emerald-800 {
    border-color: #124f3f;
}

.pt-4 {
    padding-top: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

/* ==========================================================================
   IJSF Review Guidelines Page Styles
   ========================================================================== */

.ijsf-review-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ijsf-text-dark);
    line-height: 1.7;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .ijsf-review-container {
        padding: 0 1.5rem;
    }
}

.ijsf-review-intro {
    font-size: 1.125rem;
    color: var(--ijsf-primary);
    margin-bottom: 2rem;
    font-weight: 500;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid var(--ijsf-border);
}

.ijsf-guideline-block {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--ijsf-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .ijsf-guideline-block {
        padding: 2.5rem;
    }
}

.ijsf-guideline-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -5px rgba(0, 0, 0, 0.04);
}

.ijsf-guideline-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--ijsf-bg-light);
    padding-bottom: 1rem;
}

.ijsf-guideline-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background-color: var(--ijsf-primary);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(21, 93, 73, 0.2);
}

.ijsf-guideline-title {
    font-size: 1.5rem;
    color: var(--ijsf-primary);
    margin: 0;
    font-weight: 700;
    align-self: center;
}

.ijsf-guideline-content p {
    margin-bottom: 1rem;
    color: var(--ijsf-text-muted);
}

.ijsf-sub-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--ijsf-border);
}

.ijsf-sub-section h4 {
    color: var(--ijsf-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ijsf-criteria-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .ijsf-criteria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ijsf-criteria-card {
    background-color: var(--ijsf-bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid var(--ijsf-primary-light);
}

.ijsf-criteria-card h4 {
    color: var(--ijsf-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    margin-top: 0;
}

.ijsf-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.ijsf-pill-list li {
    background-color: var(--ijsf-primary-light);
    color: #155d49;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    list-style: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ==========================================================================
   OJS Forms Styling (Login, Register, etc.)
   ========================================================================== */
.cmp_form {
    max-width: 500px;
    margin: 2rem auto;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb;
}
.cmp_form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.cmp_form .section {
    margin-bottom: 1.5rem;
}
.cmp_form label {
    display: flex;
    flex-direction: column;
}
.cmp_form .label, .cmp_form legend {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: block;
}
.cmp_form input[type="text"],
.cmp_form input[type="password"],
.cmp_form input[type="email"],
.cmp_form select,
.cmp_form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background-color: #f9fafb;
    color: #1f2937;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.cmp_form input[type="text"]:focus,
.cmp_form input[type="password"]:focus,
.cmp_form input[type="email"]:focus,
.cmp_form select:focus,
.cmp_form textarea:focus {
    outline: none;
    border-color: #289677;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: #ffffff;
}
.cmp_form .buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.cmp_form .submit,
.cmp_form button[type="submit"] {
    background-color: #1a6e56;
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 1rem;
}
.cmp_form .submit:hover,
.cmp_form button[type="submit"]:hover {
    background-color: #124f3f;
}
.cmp_form .cancel, .cmp_form a {
    color: #1a6e56;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.cmp_form a:hover {
    text-decoration: underline;
}
.cmp_form .description,
.cmp_form .instruct {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    display: block;
}
.cmp_form .req {
    color: #ef4444;
}
.cmp_form input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
    accent-color: #1a6e56;
}
.cmp_form .checkbox_and_label {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.cmp_form .checkbox_and_label .label {
    margin-bottom: 0;
    font-weight: normal;
}
.pkp_screen_reader {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.cmp_form .checkbox label,
.cmp_form .optin label,
.cmp_form .cmp_checkbox label,
.cmp_form label:has(input[type="checkbox"]) {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Edit link styling globally */
.cmp_edit_link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #289677;
    text-decoration: none;
    background: #f0fbf8;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #DBEAFE;
    transition: all 0.2s;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cmp_edit_link::before {
    content: "\f044";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.875rem;
}
.cmp_edit_link:hover {
    background: #DBEAFE;
    color: #1e7a60;
}


