/* =========================================================
   IJ-RETCS COMPLETE LANDING PAGE
   COMPACT VERSION
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
    --ij-primary: #075b78;
    --ij-primary-dark: #043f55;
    --ij-secondary: #0b7892;
    --ij-accent: #20a0b8;
    --ij-light: #f3f9fb;
    --ij-lighter: #f8fcfd;
    --ij-text: #18313b;
    --ij-muted: #60757e;
    --ij-border: #dcebef;
    --ij-white: #ffffff;
    
    --ij-footer-bg: #ffffff;
    --ij-footer-text: #60757e;
    --ij-footer-heading: #18313b;
    --ij-footer-link: #0b7892;
    --ij-footer-link-hover: #075b78;
    --ij-footer-border: #dcebef;
}

/* =========================================================
   RESET / MAIN WRAPPER
   ========================================================= */

body, html {
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_structure_page,
.pkp_structure_content,
.pkp_structure_main {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

/* Add padding to inner pages so content isn't flush against the edges */
body:not(.pkp_page_index) .pkp_structure_main {
    padding: 35px 5% !important;
}

@media (min-width: 992px) {
    body:not(.pkp_page_index) .pkp_structure_main {
        padding: 40px 7% !important;
    }
}

@media (min-width: 768px) {
    .pkp_structure_main:before, .pkp_structure_main:after {
        display: none !important;
    }
}

.ijretcs-page,
.ijretcs-page * {
    box-sizing: border-box;
}

.ijretcs-page {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;

    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--ij-text);
    background: #ffffff;
    line-height: 1.65;
}

.ijretcs-page a {
    text-decoration: none;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.ijretcs-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.ijretcs-header {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff;
    position: relative;
    z-index: 9999;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.ijretcs-topbar {
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 0;
    background: var(--ij-primary-dark);
    color: #ffffff;
}

.ijretcs-topbar-inner {
    width: min(1200px, calc(100% - 40px));
    min-height: 38px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ijretcs-top-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ijretcs-top-left span {
    color: #ffffff;
    font-size: 12px;
    opacity: .95;
}

.ijretcs-top-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ijretcs-top-right a {
    color: #ffffff;
    font-size: 12px;
}

.ijretcs-top-right a:hover {
    color: #8de0ed;
}

/* =========================================================
   MAIN HEADER
   ========================================================= */

.ijretcs-main-header {
    width: 100%;
    min-height: 88px;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff;
    border-bottom: 1px solid #e2edf0;
}

.ijretcs-main-inner {
    width: min(1200px, calc(100% - 40px));
    min-height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* =========================================================
   LOGO
   ========================================================= */

.ijretcs-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 430px;
}

.ijretcs-logo img {
    display: block;
    width: auto;
    height: 85px;
    max-width: 430px;
    object-fit: contain;
}

/* =========================================================
   DESKTOP NAV
   ========================================================= */

.ijretcs-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
}

.ijretcs-nav-item {
    position: relative;
}

.ijretcs-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 9px;
    color: #18313b;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: .25s ease;
}

.ijretcs-nav-link:hover {
    color: var(--ij-primary);
}

.ijretcs-nav-link.active {
    color: var(--ij-primary);
}

.ijretcs-nav-link.active:after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 0;
    height: 2px;
    background: var(--ij-accent);
}

/* =========================================================
   DROPDOWN ARROW
   ========================================================= */

.ijretcs-arrow {
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
}

/* =========================================================
   DROPDOWN
   ========================================================= */

.ijretcs-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 275px;
    background: #ffffff;
    border-top: 3px solid var(--ij-primary);
    box-shadow: 0 15px 35px rgba(0,55,70,.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition: .2s ease;
    z-index: 99999;
}

.ijretcs-nav-item:hover > .ijretcs-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ijretcs-dropdown a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 17px;
    color: #304b55;
    font-size: 12.5px;
    font-weight: 500;
    border-bottom: 1px solid #edf3f5;
    transition: .2s ease;
}

.ijretcs-dropdown a:last-child {
    border-bottom: none;
}

.ijretcs-dropdown a:before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--ij-accent);
}

.ijretcs-dropdown a:hover {
    color: var(--ij-primary);
    background: #f1f9fb;
    padding-left: 23px;
}

/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.ijretcs-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 7px;
    padding: 11px 15px;
    border-radius: 4px;
    background: var(--ij-primary);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: .25s ease;
}

.ijretcs-submit-btn:hover {
    background: var(--ij-primary-dark);
    transform: translateY(-1px);
}

/* =========================================================
   MOBILE BUTTON
   ========================================================= */

.ijretcs-mobile-toggle {
    display: none;
    width: 43px;
    height: 38px;
    padding: 6px;
    border: 1px solid #d7e6ea;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
}

.ijretcs-mobile-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ij-primary);
}

/* =========================================================
   MOBILE NAV
   ========================================================= */

.ijretcs-mobile-nav {
    display: none;
    background: #ffffff;
    border-top: 1px solid #e3edf0;
    box-shadow: 0 12px 30px rgba(0,50,65,.10);
}

.ijretcs-mobile-nav.open {
    display: block;
}

.ijretcs-mobile-nav > a,
.ijretcs-mobile-parent {
    display: block;
    width: 100%;
    padding: 13px 20px;
    color: var(--ij-text);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #edf3f5;
}

.ijretcs-mobile-parent {
    background: #f7fbfc;
}

.ijretcs-mobile-sub a {
    display: block;
    padding: 10px 35px;
    color: var(--ij-muted);
    font-size: 12.5px;
    border-bottom: 1px solid #f0f4f5;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.ijretcs-hero {
    position: relative;
    width: 100%;
    min-height: 280px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(32,160,184,.20),
            transparent 25%
        ),
        radial-gradient(
            circle at 72% 85%,
            rgba(7,91,120,.22),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #043f55 0%,
            #075b78 52%,
            #0b7892 100%
        );
}

.ijretcs-hero:before {
    content: "";
    position: absolute;
    width: 470px;
    height: 470px;
    right: -170px;
    top: -190px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}

.ijretcs-hero:after {
    content: "";
    position: absolute;
    width: 290px;
    height: 290px;
    right: 80px;
    bottom: -200px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
}

.ijretcs-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 280px;
    display: flex;
    align-items: center;
    gap: 45px;
    padding: 15px 0;
}

.ijretcs-hero-content {
    flex: 1.25;
}

.ijretcs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #ccecf2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.ijretcs-eyebrow:before {
    content: "";
    width: 32px;
    height: 2px;
    background: #72d4e5;
}

.ijretcs-hero h1 {
    max-width: 790px;
    margin: 0 0 13px;
    color: #ffffff;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.ijretcs-hero h1 span {
    color: #8de0ed;
}

.ijretcs-hero-tagline {
    max-width: 760px;
    margin: 0 0 10px;
    color: #e9f8fa;
    font-size: 16px;
    line-height: 1.55;
}

.ijretcs-hero-description {
    max-width: 760px;
    margin: 0 0 17px;
    color: #c9e3e9;
    font-size: 12.5px;
    line-height: 1.65;
}

.ijretcs-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ijretcs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    transition: .25s ease;
}

.ijretcs-btn-primary {
    background: #ffffff;
    color: var(--ij-primary-dark);
}

.ijretcs-btn-primary:hover {
    background: #e9f8fb;
    transform: translateY(-2px);
}

.ijretcs-btn-outline {
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.45);
}

.ijretcs-btn-outline:hover {
    background: rgba(255,255,255,.10);
}

.ijretcs-hero-visual {
    flex: .70;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ijretcs-tech-orbit {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 50%;
}

.ijretcs-tech-orbit:before,
.ijretcs-tech-orbit:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
}

.ijretcs-tech-orbit:before {
    width: 190px;
    height: 190px;
}

.ijretcs-tech-orbit:after {
    width: 125px;
    height: 125px;
}

.ijretcs-center-icon {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.27);
    font-size: 34px;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.ijretcs-orbit-dot {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #8de0ed;
    box-shadow: 0 0 0 6px rgba(141,224,237,.12);
}

.ijretcs-dot-1 {
    top: 25px;
    left: 97px;
}

.ijretcs-dot-2 {
    right: 22px;
    top: 116px;
}

.ijretcs-dot-3 {
    bottom: 30px;
    left: 75px;
}

/* =========================================================
   STATS
   ========================================================= */

.ijretcs-stats {
    position: relative;
    margin-top: -25px;
    z-index: 10;
}

.ijretcs-stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: #ffffff;
    border: 1px solid var(--ij-border);
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(13,65,80,.11);
}

.ijretcs-stat {
    padding: 19px 15px;
    text-align: center;
    border-right: 1px solid var(--ij-border);
}

.ijretcs-stat:last-child {
    border-right: none;
}

.ijretcs-stat strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ij-primary);
    font-size: 15px;
}

.ijretcs-stat span {
    color: var(--ij-muted);
    font-size: 11px;
}

/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.ijretcs-section {
    width: 100%;
    margin: 0 !important;
    padding: 58px 0;
}

.ijretcs-section-light {
    background: var(--ij-lighter);
}

.ijretcs-section-heading {
    max-width: 800px;
    margin: 0 auto 35px;
    text-align: center;
}

.ijretcs-section-heading .small-title {
    margin-bottom: 6px;
    color: var(--ij-secondary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.ijretcs-section-heading h2 {
    margin: 0 0 10px;
    color: var(--ij-primary-dark);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 27px;
    line-height: 1.35;
}

.ijretcs-section-heading p {
    color: var(--ij-muted);
    font-size: 13px;
}

/* =========================================================
   ABOUT
   ========================================================= */

.ijretcs-about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 45px;
    align-items: center;
}

.ijretcs-about-text h2 {
    margin: 0 0 15px;
    color: var(--ij-primary-dark);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 27px;
    line-height: 1.4;
}

.ijretcs-about-text h2 span {
    color: var(--ij-secondary);
}

.ijretcs-about-text p {
    margin: 0 0 12px;
    color: var(--ij-muted);
    font-size: 13px;
}

.ijretcs-about-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    color: #ffffff;
    border-radius: 10px;
    background:
        linear-gradient(
            145deg,
            #075b78,
            #0c829a
        );
    box-shadow: 0 15px 35px rgba(4,63,85,.13);
}

.ijretcs-about-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 12px;
    color: #ffffff;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 21px;
}

.ijretcs-about-card p {
    position: relative;
    z-index: 2;
    color: #dff4f7;
    font-size: 12.5px;
}

/* =========================================================
   CURRENT ISSUE
   ========================================================= */

.ijretcs-current-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 45px;
    align-items: center;
}

.ijretcs-cover-box {
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--ij-border);
    border-radius: 7px;
    box-shadow: 0 10px 25px rgba(10,75,90,.07);
}

.ijretcs-cover-placeholder {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed #c7dce1;
    border-radius: 5px;
    color: #8ba5ad;
    font-size: 12px;
    background:
        linear-gradient(
            135deg,
            #edf8fa,
            #f8fcfd
        );
}

.ijretcs-current-content h2 {
    margin: 0 0 14px;
    color: var(--ij-primary-dark);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 27px;
    line-height: 1.4;
}

.ijretcs-current-content > p {
    color: var(--ij-muted);
    font-size: 13px;
}

.ijretcs-current-meta {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    margin-top: 20px;
}

.ijretcs-meta-item {
    padding: 10px 13px;
    border-left: 3px solid var(--ij-accent);
    background: #ffffff;
    border-radius: 3px;
}

.ijretcs-meta-item strong {
    display: block;
    color: var(--ij-muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.ijretcs-meta-item span {
    color: var(--ij-primary-dark);
    font-size: 12px;
    font-weight: 600;
}

/* =========================================================
   BENEFITS
   ========================================================= */

.ijretcs-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.ijretcs-benefit {
    padding: 21px;
    background: #ffffff;
    border: 1px solid var(--ij-border);
    border-radius: 6px;
    transition: .25s ease;
}

.ijretcs-benefit:hover {
    transform: translateY(-4px);
    border-color: #b9dbe3;
    box-shadow: 0 10px 25px rgba(10,75,90,.08);
}

.ijretcs-benefit-number {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 11px;
    border-radius: 50%;
    color: var(--ij-primary);
    background: #e5f5f8;
    font-size: 10px;
    font-weight: 700;
}

.ijretcs-benefit h3 {
    margin: 0 0 6px;
    color: var(--ij-primary-dark);
    font-size: 14px;
}

.ijretcs-benefit p {
    margin: 0;
    color: var(--ij-muted);
    font-size: 11.5px;
}

/* =========================================================
   JOURNAL AT A GLANCE
   ========================================================= */

.ijretcs-glance {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ijretcs-glance-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--ij-border);
    border-radius: 7px;
}

.ijretcs-glance-title {
    padding: 16px 20px;
    color: #ffffff;
    background: var(--ij-primary-dark);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 17px;
}

.ijretcs-table {
    width: 100%;
    border-collapse: collapse;
}

.ijretcs-table td {
    padding: 11px 15px;
    border-bottom: 1px solid #edf3f5;
    vertical-align: top;
    font-size: 11.5px;
}

.ijretcs-table tr:last-child td {
    border-bottom: none;
}

.ijretcs-table td:first-child {
    width: 35%;
    color: var(--ij-primary-dark);
    font-weight: 700;
}

.ijretcs-table td:last-child {
    color: var(--ij-muted);
}

/* =========================================================
   AUTHOR BENEFITS
   ========================================================= */

.ijretcs-author-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.ijretcs-author-item {
    padding: 19px;
    background: #ffffff;
    border: 1px solid var(--ij-border);
    border-radius: 6px;
}

.ijretcs-author-item strong {
    color: var(--ij-primary-dark);
    font-size: 13px;
}

.ijretcs-author-item p {
    margin: 5px 0 0;
    color: var(--ij-muted);
    font-size: 11.5px;
}

/* =========================================================
   COMMITMENT
   ========================================================= */

.ijretcs-commitment {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #043f55,
            #075b78
        );
}

.ijretcs-commitment-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 45px;
    align-items: center;
}

.ijretcs-commitment h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 27px;
    line-height: 1.4;
}

.ijretcs-commitment p {
    color: #cce5eb;
    font-size: 13px;
}

.ijretcs-commitment-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 9px;
}

.ijretcs-commitment-list div {
    padding: 10px 13px;
    color: #e9f7f9;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 5px;
    font-size: 11.5px;
}

.ijretcs-commitment-list div:before {
    content: "✓";
    margin-right: 8px;
    color: #81d8e6;
    font-weight: 700;
}

/* =========================================================
   COMMUNITY
   ========================================================= */

.ijretcs-community {
    padding: 55px 0;
    background: #f4fafb;
}

.ijretcs-community-box {
    padding: 42px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--ij-border);
    border-radius: 9px;
    box-shadow: 0 9px 28px rgba(10,75,90,.05);
}

.ijretcs-community-box h2 {
    margin: 0 0 12px;
    color: var(--ij-primary-dark);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 27px;
}

.ijretcs-community-box p {
    max-width: 880px;
    margin: 0 auto 20px;
    color: var(--ij-muted);
    font-size: 13px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.ijretcs-footer {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ij-footer-text);
    background: var(--ij-footer-bg);
    border-top: 1px solid var(--ij-footer-border);
}

.ijretcs-footer-main {
    padding: 48px 0 35px;
}

.ijretcs-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 35px;
}

.ijretcs-footer-brand {
    padding-right: 20px;
}

.ijretcs-footer-logo {
    margin-bottom: 20px;
}

.ijretcs-footer-logo img {
    display: block;
    width: auto;
    max-width: 310px;
    height: 65px;
    object-fit: contain;
    border-radius: 4px;
}

.ijretcs-footer-brand h3 {
    margin: 0 0 10px;
    color: var(--ij-footer-heading);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 16px;
    line-height: 1.45;
}

.ijretcs-footer-brand p {
    margin: 0;
    color: var(--ij-footer-text);
    font-size: 11.5px;
    line-height: 1.75;
}

.ijretcs-footer-column h4 {
    position: relative;
    margin: 0 0 17px;
    padding-bottom: 9px;
    color: var(--ij-footer-heading);
    font-size: 13px;
}

.ijretcs-footer-column h4:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 27px;
    height: 2px;
    background: var(--ij-accent);
}

.ijretcs-footer-column a {
    display: block;
    margin-bottom: 8px;
    color: var(--ij-footer-link);
    font-size: 11.5px;
    transition: .2s ease;
    text-decoration: none;
}

.ijretcs-footer-column a:hover {
    color: var(--ij-footer-link-hover);
    padding-left: 3px;
}

/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.ijretcs-footer-bottom {
    border-top: 1px solid var(--ij-footer-border);
}

.ijretcs-footer-bottom-inner {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ijretcs-footer-bottom p {
    margin: 0;
    color: var(--ij-footer-text);
    font-size: 10.5px;
}

.ijretcs-footer-bottom-links {
    display: flex;
    gap: 17px;
}

.ijretcs-footer-bottom-links a {
    color: var(--ij-footer-link);
    font-size: 10.5px;
    text-decoration: none;
}

.ijretcs-footer-bottom-links a:hover {
    color: var(--ij-footer-link-hover);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .ijretcs-nav-link {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 11px;
    }
    .ijretcs-submit-btn {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 1000px) {
    .ijretcs-main-inner {
        min-height: 78px;
    }
    .ijretcs-logo img {
        height: 60px;
        max-width: 360px;
    }
    .ijretcs-nav {
        display: none;
    }
    .ijretcs-mobile-toggle {
        display: block;
    }
    .ijretcs-hero-inner {
        flex-direction: column;
        text-align: center;
        padding: 45px 0 55px;
    }
    .ijretcs-hero {
        min-height: auto;
    }
    .ijretcs-hero-inner {
        min-height: auto;
    }
    .ijretcs-eyebrow {
        justify-content: center;
    }
    .ijretcs-hero-description,
    .ijretcs-hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    .ijretcs-hero-buttons {
        justify-content: center;
    }
    .ijretcs-hero-visual {
        display: none;
    }
    .ijretcs-stats-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .ijretcs-stat:nth-child(2) {
        border-right: none;
    }
    .ijretcs-about-grid,
    .ijretcs-current-grid,
    .ijretcs-commitment-grid,
    .ijretcs-glance {
        grid-template-columns: 1fr;
    }
    .ijretcs-benefits-grid,
    .ijretcs-author-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .ijretcs-footer-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 600px) {
    .ijretcs-page {
        width: 100%;
        margin-left: 0;
    }
    .ijretcs-container,
    .ijretcs-topbar-inner,
    .ijretcs-main-inner {
        width: calc(100% - 28px);
    }
    .ijretcs-top-left {
        display: none;
    }
    .ijretcs-topbar-inner {
        justify-content: center;
    }
    .ijretcs-top-right {
        font-size: 11px;
    }
    .ijretcs-logo img {
        height: 52px;
        max-width: 280px;
    }
    .ijretcs-hero-inner {
        padding: 42px 0 50px;
    }
    .ijretcs-hero h1 {
        font-size: 29px;
        letter-spacing: -.5px;
    }
    .ijretcs-hero-tagline {
        font-size: 15px;
    }
    .ijretcs-hero-description {
        font-size: 12px;
    }
    .ijretcs-stats {
        margin-top: -20px;
    }
    .ijretcs-stats-grid {
        grid-template-columns: 1fr;
    }
    .ijretcs-stat {
        border-right: none;
        border-bottom: 1px solid var(--ij-border);
    }
    .ijretcs-stat:last-child {
        border-bottom: none;
    }
    .ijretcs-section {
        padding: 48px 0;
    }
    .ijretcs-benefits-grid,
    .ijretcs-author-grid,
    .ijretcs-current-meta,
    .ijretcs-commitment-list {
        grid-template-columns: 1fr;
    }
    .ijretcs-cover-placeholder {
        height: 360px;
    }
    .ijretcs-community {
        padding: 45px 0;
    }
    .ijretcs-community-box {
        padding: 35px 20px;
    }
    .ijretcs-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .ijretcs-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
    }
}

/* =========================================================
   ABOUT PAGE CONTENT (Admin Panel)
   ========================================================= */

.ijretcs-about-page {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--ij-text);
    line-height: 1.7;
    margin: 20px auto;
    width: 100%;
    padding: 0;
}

.ijretcs-about-section {
    margin-bottom: 50px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 55, 70, 0.04);
    border: 1px solid var(--ij-border);
}

.ijretcs-about-section h2 {
    color: var(--ij-primary-dark);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--ij-border);
    padding-bottom: 15px;
}

.ijretcs-about-section h3 {
    color: var(--ij-secondary);
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.ijretcs-about-section p {
    color: var(--ij-muted);
    font-size: 15px;
    margin-bottom: 18px;
}

.ijretcs-list-grid {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: grid;
    gap: 12px 24px;
}

.ijretcs-list-grid.ijretcs-col-1 {
    grid-template-columns: 1fr;
}

.ijretcs-list-grid.ijretcs-col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ijretcs-list-grid li {
    position: relative;
    padding-left: 24px;
    color: var(--ij-text);
    font-size: 14.5px;
    font-weight: 500;
}

.ijretcs-list-grid li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ij-accent);
    font-weight: 700;
}

/* Subject Blocks */
.ijretcs-subject-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.ijretcs-subject-block {
    background: var(--ij-lighter);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--ij-border);
    transition: .25s ease;
}

.ijretcs-subject-block:hover {
    border-color: #b9dbe3;
    box-shadow: 0 10px 25px rgba(10,75,90,.08);
}

.ijretcs-subject-block h4 {
    color: var(--ij-primary-dark);
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px dashed #c7dce1;
    padding-bottom: 10px;
}

.ijretcs-subject-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ijretcs-subject-block ul li {
    position: relative;
    padding-left: 18px;
    color: var(--ij-muted);
    font-size: 13.5px;
    margin-bottom: 8px;
}

.ijretcs-subject-block ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--ij-secondary);
    font-weight: bold;
}

.ijretcs-highlight-box {
    background: linear-gradient(135deg, var(--ij-primary-dark), var(--ij-primary));
    color: #ffffff !important;
    padding: 25px 30px;
    border-radius: 8px;
    font-size: 16px !important;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(4, 63, 85, 0.15);
    margin-top: 40px;
}

@media (max-width: 768px) {
    .ijretcs-list-grid.ijretcs-col-2,
    .ijretcs-subject-blocks {
        grid-template-columns: 1fr;
    }
    .ijretcs-about-section {
        padding: 25px;
    }
}

/* Process Steps (Author Guidelines) */
.ijretcs-process-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.ijretcs-process-step {
    display: flex;
    align-items: center;
    background: var(--ij-lighter);
    border: 1px solid var(--ij-border);
    padding: 20px;
    border-radius: 8px;
    transition: .25s ease;
}

.ijretcs-process-step:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,.05);
    transform: translateY(-2px);
    border-color: #b9dbe3;
}

.ijretcs-step-num {
    background: linear-gradient(135deg, var(--ij-primary), var(--ij-accent));
    color: #ffffff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(32, 160, 184, 0.3);
}

.ijretcs-step-info h4 {
    margin: 0;
    color: var(--ij-primary-dark);
    font-size: 17px;
    font-weight: 600;
}

/* Table Styles (APC) */
.ijretcs-apc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--ij-border);
}

.ijretcs-apc-table th {
    background: linear-gradient(135deg, var(--ij-primary-dark), var(--ij-primary));
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 18px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

.ijretcs-apc-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--ij-border);
    color: var(--ij-text);
    font-size: 15px;
}

.ijretcs-apc-table tr:last-child td {
    border-bottom: none;
}

.ijretcs-apc-table tbody tr {
    transition: background-color 0.2s ease;
}

.ijretcs-apc-table tbody tr:hover {
    background-color: var(--ij-lighter);
}

/* =========================================
   NEW MODERN HEADER CSS
   ========================================= */

.ijretcs-header-modern {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--ij-border);
    position: relative;
    z-index: 1000;
}

.ijretcs-header-top {
    padding: 15px 4%;
    border-bottom: 1px solid var(--ij-border);
}

.ijretcs-header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.ijretcs-brand-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ijretcs-brand-divider {
    width: 2px;
    height: 50px;
    background: var(--ij-primary);
    opacity: 0.8;
}

.ijretcs-brand-text h1 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--ij-primary-dark);
    max-width: 400px;
    line-height: 1.3;
}

.ijretcs-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ijretcs-theme-toggle {
    background: transparent;
    border: 1px solid var(--ij-border);
    color: var(--ij-text);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.ijretcs-theme-toggle:hover {
    background: var(--ij-lighter);
    color: var(--ij-primary);
    border-color: var(--ij-primary);
}

.ijretcs-search-form {
    display: flex;
    align-items: center;
}

.ijretcs-search-form input {
    padding: 10px 15px;
    border: 1px solid var(--ij-border);
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 14px;
    min-width: 200px;
}

.ijretcs-search-form button {
    background: var(--ij-accent);
    color: #ffffff;
    border: none;
    padding: 11px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
}

.ijretcs-search-form button:hover {
    background: var(--ij-primary);
}

.ijretcs-header-bottom {
    padding: 0 4%;
    background: #fafcfc;
}

.ijretcs-header-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    height: 60px;
}

.ijretcs-main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ijretcs-nav-btn {
    padding: 8px 16px;
    border: 1px solid var(--ij-border);
    background: #ffffff;
    border-radius: 4px;
    color: var(--ij-text);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.ijretcs-nav-btn:hover, .ijretcs-nav-btn.active {
    background: var(--ij-lighter);
    color: var(--ij-primary-dark);
    border-color: var(--ij-primary);
}

.ijretcs-nav-dropdown-wrapper {
    position: relative;
}

.ijretcs-nav-dropdown-wrapper:hover .ijretcs-dropdown {
    display: flex;
    top: 100%;
    opacity: 1;
    visibility: visible;
}

.ijretcs-dropdown {
    position: absolute;
    top: 120%;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--ij-border);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 1000;
}

.ijretcs-dropdown a {
    padding: 10px 20px;
    color: var(--ij-text);
    font-size: 14px;
    text-decoration: none;
}

.ijretcs-dropdown a:hover {
    background: var(--ij-lighter);
    color: var(--ij-primary);
}

.ijretcs-auth-actions {
    display: flex;
    gap: 10px;
}

.ijretcs-auth-btn {
    border-color: var(--ij-primary);
    color: var(--ij-primary);
}

.ijretcs-auth-btn:hover {
    background: var(--ij-primary);
    color: #ffffff;
}

@media (max-width: 1100px) {
    .ijretcs-brand-text, .ijretcs-brand-divider {
        display: none;
    }
}

@media (max-width: 992px) {
    .ijretcs-header-actions, .ijretcs-main-nav, .ijretcs-auth-actions {
        display: none;
    }
    .ijretcs-mobile-toggle {
        display: flex;
    }
}

/* =========================================
   DARK MODE CSS
   ========================================= */

body.ijretcs-dark-mode {
    --ij-primary: #38bdf8;
    --ij-primary-dark: #0284c7;
    --ij-accent: #fb923c;
    --ij-text: #cbd5e1;
    --ij-bg: #0f172a;
    --ij-lighter: #1e293b;
    --ij-border: #334155;

    --ij-footer-bg: #0f172a;
    --ij-footer-text: #94a3b8;
    --ij-footer-heading: #f8fafc;
    --ij-footer-link: #cbd5e1;
    --ij-footer-link-hover: #38bdf8;
    --ij-footer-border: #334155;

    background-color: var(--ij-bg);
    color: var(--ij-text);
}

/* Base structural elements */
body.ijretcs-dark-mode .ijretcs-header-modern,
body.ijretcs-dark-mode .ijretcs-header-bottom,
body.ijretcs-dark-mode .ijretcs-nav-btn,
body.ijretcs-dark-mode .pkp_structure_main,
body.ijretcs-dark-mode .ijretcs-dropdown,
body.ijretcs-dark-mode .ijretcs-apc-table th,
body.ijretcs-dark-mode .ijretcs-apc-table td {
    background-color: #1e293b !important;
    color: var(--ij-text) !important;
    border-color: var(--ij-border) !important;
}

body.ijretcs-dark-mode a {
    color: var(--ij-primary);
}

body.ijretcs-dark-mode a:hover {
    color: var(--ij-primary-dark);
}

body.ijretcs-dark-mode .ijretcs-footer-column a,
body.ijretcs-dark-mode .ijretcs-footer-bottom-links a {
    color: #f8fafc !important;
}

body.ijretcs-dark-mode .ijretcs-footer-column a:hover,
body.ijretcs-dark-mode .ijretcs-footer-bottom-links a:hover {
    color: var(--ij-primary) !important;
}

body.ijretcs-dark-mode .ijretcs-logo img,
body.ijretcs-dark-mode .ijretcs-footer-logo img {
    background-color: #ffffff;
    padding: 4px;
    border-radius: 4px;
}

/* Homepage Overrides to prevent tackiness */
body.ijretcs-dark-mode .ijretcs-hero {
    background: linear-gradient(135deg, #020617, #0f172a) !important;
}

body.ijretcs-dark-mode .ijretcs-section,
body.ijretcs-dark-mode .ijretcs-section-light {
    background-color: #0f172a !important;
}

body.ijretcs-dark-mode .ijretcs-section-heading h2,
body.ijretcs-dark-mode .ijretcs-about-text h2,
body.ijretcs-dark-mode .ijretcs-cta h2,
body.ijretcs-dark-mode h2 {
    color: #f8fafc !important;
}

body.ijretcs-dark-mode .ijretcs-about-text h2 span {
    color: #38bdf8 !important; /* Make the inline span cyan */
}

body.ijretcs-dark-mode .ijretcs-section-heading p,
body.ijretcs-dark-mode .ijretcs-about-text p,
body.ijretcs-dark-mode .ijretcs-cta p,
body.ijretcs-dark-mode p {
    color: #cbd5e1 !important;
}

body.ijretcs-dark-mode .ijretcs-stat-card,
body.ijretcs-dark-mode .ijretcs-feature-card,
body.ijretcs-dark-mode .ijretcs-cta-inner,
body.ijretcs-dark-mode .ijretcs-about-card,
body.ijretcs-dark-mode .ijretcs-meta-item,
body.ijretcs-dark-mode .ijretcs-benefit,
body.ijretcs-dark-mode .ijretcs-author-item,
body.ijretcs-dark-mode .ijretcs-community-box,
body.ijretcs-dark-mode .ijretcs-about-section,
body.ijretcs-dark-mode .ijretcs-glance-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: none !important;
}

body.ijretcs-dark-mode .ijretcs-highlight-box {
    background: #1e293b !important;
    border-left: 4px solid var(--ij-primary) !important;
    color: #e2e8f0 !important;
}

body.ijretcs-dark-mode .ijretcs-stat-card h3,
body.ijretcs-dark-mode .ijretcs-feature-card h3,
body.ijretcs-dark-mode .ijretcs-cta-inner h2,
body.ijretcs-dark-mode .ijretcs-about-card h3,
body.ijretcs-dark-mode .ijretcs-benefit h3,
body.ijretcs-dark-mode .ijretcs-author-item strong,
body.ijretcs-dark-mode .ijretcs-community-box h2,
body.ijretcs-dark-mode .ijretcs-about-section h2,
body.ijretcs-dark-mode .ijretcs-about-section h3,
body.ijretcs-dark-mode .ijretcs-subject-block h4,
body.ijretcs-dark-mode .ijretcs-meta-item strong {
    color: #38bdf8 !important; /* cyan for pop */
}

body.ijretcs-dark-mode .ijretcs-subject-block h4 {
    border-bottom: 1px dashed #334155 !important;
}

body.ijretcs-dark-mode .ijretcs-stat-card p,
body.ijretcs-dark-mode .ijretcs-feature-card p,
body.ijretcs-dark-mode .ijretcs-cta-inner p,
body.ijretcs-dark-mode .ijretcs-about-card p,
body.ijretcs-dark-mode .ijretcs-benefit p,
body.ijretcs-dark-mode .ijretcs-author-item p,
body.ijretcs-dark-mode .ijretcs-community-box p,
body.ijretcs-dark-mode .ijretcs-about-section p,
body.ijretcs-dark-mode .ijretcs-about-section ul,
body.ijretcs-dark-mode .ijretcs-about-section ol,
body.ijretcs-dark-mode .ijretcs-subject-block ul li,
body.ijretcs-dark-mode .ijretcs-meta-item span {
    color: #e2e8f0 !important;
}

body.ijretcs-dark-mode .ijretcs-subject-block:hover {
    border-color: #38bdf8 !important;
    box-shadow: none !important;
}

body.ijretcs-dark-mode .ijretcs-community {
    background-color: #0f172a !important;
}

body.ijretcs-dark-mode .ijretcs-benefit-number {
    background-color: #0f172a !important;
    color: #38bdf8 !important;
}

body.ijretcs-dark-mode .ijretcs-current-cover,
body.ijretcs-dark-mode .ijretcs-cover-placeholder {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

body.ijretcs-dark-mode .ijretcs-glance-title {
    background: #0f172a !important;
    border-bottom: 1px solid #334155 !important;
    color: #f8fafc !important;
}

body.ijretcs-dark-mode .ijretcs-table td {
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}

/* Breadcrumbs Dark Mode */
body.ijretcs-dark-mode .cmp_breadcrumbs {
    color: #cbd5e1 !important;
}
body.ijretcs-dark-mode .cmp_breadcrumbs a {
    color: var(--ij-primary) !important;
}
body.ijretcs-dark-mode .cmp_breadcrumbs .separator {
    color: #64748b !important;
}
body.ijretcs-dark-mode .cmp_breadcrumbs .current,
body.ijretcs-dark-mode .cmp_breadcrumbs li {
    color: #e2e8f0 !important;
}

/* =========================================================
   REFERENCE-GLOBAL STYLE TABBED ARTICLE DETAIL PAGE
   ========================================================= */

.page_article {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px 60px 24px;
}

.refstyle_article {
    width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
}

/* --- Top Article Header --- */
.refstyle_header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.refstyle_meta_bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 500;
}

.refstyle_section_badge {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12.5px;
}

.refstyle_oa_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12.5px;
}

.refstyle_date_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
}

.refstyle_doi_badge {
    color: #64748b;
    font-size: 13px;
}
.refstyle_doi_badge a {
    color: #2563eb;
    text-decoration: none;
}
.refstyle_doi_badge a:hover {
    text-decoration: underline;
}

.refstyle_title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.refstyle_subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #475569;
    margin: 0 0 14px 0;
    line-height: 1.4;
}

.refstyle_authors_inline {
    font-size: 16px;
    font-weight: 500;
    color: #334155;
    margin-top: 10px;
}

.refstyle_author_name {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.refstyle_orcid_icon {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 2px;
}

/* --- 2-Column Layout --- */
.refstyle_layout {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    position: relative;
}

/* --- Left Sidebar --- */
.refstyle_sidebar {
    width: 250px;
    min-width: 250px;
    position: sticky;
    top: 90px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    z-index: 10;
}

.refstyle_sidebar_nav {
    display: flex;
    flex-direction: column;
}

.refstyle_sidebar_tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    color: #1e40af;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    border-left: 3px solid transparent;
    transition: all 0.15s ease-in-out;
    background: transparent;
    cursor: pointer;
    user-select: none;
}

.refstyle_sidebar_tab:last-child {
    border-bottom: none;
}

.refstyle_sidebar_tab svg {
    color: #2563eb;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.refstyle_sidebar_tab:hover {
    background: #f8fafc;
    color: #1d4ed8;
    text-decoration: none;
}

.refstyle_sidebar_tab.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    border-left-color: #2563eb;
}

.refstyle_sidebar_tab.active svg {
    color: #1d4ed8;
}

/* --- Right Main Content --- */
.refstyle_main_content {
    flex: 1;
    min-width: 0;
}

.refstyle_tab_panel {
    display: none;
}

.refstyle_tab_panel.active {
    display: block;
    animation: refstyleFadeIn 0.2s ease-in-out;
}

@keyframes refstyleFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.refstyle_panel_title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px 0;
    letter-spacing: -0.01em;
}

.refstyle_panel_subtitle {
    font-size: 15px;
    color: #64748b;
    margin: -8px 0 24px 0;
}

/* Abstract Content */
.refstyle_abstract_text {
    font-size: 15.5px;
    line-height: 1.85;
    color: #334155;
    text-align: justify;
}

.refstyle_keywords_wrap {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.refstyle_keywords_label {
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
}

.refstyle_keyword_badge {
    background: #f1f5f9;
    color: #334155;
    font-size: 12.5px;
    padding: 4px 10px;
    border-radius: 9999px;
}

/* Download Tab */
.refstyle_download_action_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.refstyle_download_pill_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1d4ed8;
    color: #ffffff !important;
    padding: 13px 32px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
    transition: all 0.2s ease;
}

.refstyle_download_pill_btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.35);
    color: #ffffff !important;
    text-decoration: none;
}

.refstyle_supplementary_wrap {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.refstyle_subheading {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 14px 0;
}

.refstyle_supp_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.refstyle_supp_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
}

.refstyle_supp_link:hover {
    text-decoration: underline;
}

/* Preview Tab */
.refstyle_preview_card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.refstyle_preview_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.refstyle_preview_label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
}

.refstyle_expand_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #64748b;
    transition: background 0.15s ease, color 0.15s ease;
}

.refstyle_expand_btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.refstyle_preview_body {
    width: 100%;
    height: 750px;
    background: #f1f5f9;
}

.refstyle_preview_frame {
    width: 100%;
    height: 100%;
    border: none;
}

.refstyle_preview_cover_wrap {
    padding: 30px;
    text-align: center;
}

.refstyle_preview_cover_img {
    max-width: 400px;
    height: auto;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
}

/* Article Info Tab */
.refstyle_info_card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.refstyle_info_row {
    display: flex;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14.5px;
}

.refstyle_info_row:last-child {
    border-bottom: none;
}

.refstyle_info_label {
    width: 160px;
    font-weight: 600;
    color: #475569;
}

.refstyle_info_val {
    flex: 1;
    color: #0f172a;
}

.refstyle_info_val a {
    color: #2563eb;
    text-decoration: none;
}

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

.refstyle_sub_section {
    margin-top: 24px;
}

.refstyle_prose {
    font-size: 14.5px;
    line-height: 1.7;
    color: #334155;
}

.refstyle_badge_current {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
}

/* References Tab */
.refstyle_citations_list {
    margin: 0;
    padding-left: 24px;
}

.refstyle_citation_item {
    font-size: 14.5px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 14px;
    padding-left: 6px;
}

.refstyle_citations_raw {
    font-size: 14.5px;
    line-height: 1.7;
    color: #334155;
}

/* Authors Tab */
.refstyle_authors_cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.refstyle_author_card {
    display: flex;
    gap: 16px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.refstyle_author_avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.refstyle_author_info {
    flex: 1;
}

.refstyle_author_card_name {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refstyle_author_affil {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 8px 0;
}

.refstyle_author_bio {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin-top: 8px;
}

/* Metrics Tab */
.refstyle_metrics_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.refstyle_metric_card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.refstyle_metric_icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.refstyle_metric_content {
    display: flex;
    flex-direction: column;
}

.refstyle_metric_num {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.refstyle_metric_desc {
    font-size: 12.5px;
    color: #64748b;
}

/* Articles in This Issue Tab */
.refstyle_issue_card {
    display: flex;
    gap: 24px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}

.refstyle_issue_info {
    flex: 1;
}

.refstyle_issue_title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.refstyle_issue_subtitle {
    font-size: 15px;
    color: #475569;
    margin: 0 0 8px 0;
}

.refstyle_issue_date {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 18px 0;
}

.refstyle_issue_view_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #bfdbfe;
    transition: all 0.15s ease;
}

.refstyle_issue_view_btn:hover {
    background: #dbeafe;
    text-decoration: none;
}

.refstyle_issue_cover img {
    max-width: 140px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Empty State Box */
.refstyle_empty_state_box {
    text-align: center;
    padding: 48px 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}

.refstyle_empty_state_box svg {
    margin-bottom: 12px;
}

.refstyle_empty_state_box p {
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    margin: 0 0 6px 0;
}

.refstyle_text_muted {
    font-size: 13.5px;
    color: #94a3b8;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 900px) {
    .refstyle_layout {
        flex-direction: column;
        gap: 20px;
    }

    .refstyle_sidebar {
        width: 100%;
        min-width: 100%;
        position: static;
        overflow-x: auto;
    }

    .refstyle_sidebar_nav {
        flex-direction: row;
        white-space: nowrap;
        border-bottom: 1px solid #e2e8f0;
    }

    .refstyle_sidebar_tab {
        border-bottom: none;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 12px 14px;
    }

    .refstyle_sidebar_tab.active {
        border-left-color: transparent;
        border-bottom-color: #2563eb;
    }
}

/* --- Dark Mode Support --- */
body.ijretcs-dark-mode .refstyle_article {
    color: #cbd5e1;
}

body.ijretcs-dark-mode .refstyle_header {
    border-bottom-color: #334155;
}

body.ijretcs-dark-mode .refstyle_title,
body.ijretcs-dark-mode .refstyle_panel_title,
body.ijretcs-dark-mode .refstyle_subheading,
body.ijretcs-dark-mode .refstyle_author_card_name,
body.ijretcs-dark-mode .refstyle_issue_title,
body.ijretcs-dark-mode .refstyle_metric_num,
body.ijretcs-dark-mode .refstyle_info_val {
    color: #f8fafc;
}

body.ijretcs-dark-mode .refstyle_subtitle,
body.ijretcs-dark-mode .refstyle_info_label {
    color: #94a3b8;
}

body.ijretcs-dark-mode .refstyle_authors_inline,
body.ijretcs-dark-mode .refstyle_abstract_text,
body.ijretcs-dark-mode .refstyle_citation_item,
body.ijretcs-dark-mode .refstyle_prose,
body.ijretcs-dark-mode .refstyle_author_bio {
    color: #cbd5e1;
}

body.ijretcs-dark-mode .refstyle_sidebar {
    background: #1e293b;
    border-color: #334155;
}

body.ijretcs-dark-mode .refstyle_sidebar_tab {
    color: #93c5fd;
    border-bottom-color: #334155;
}

body.ijretcs-dark-mode .refstyle_sidebar_tab:hover {
    background: #334155;
    color: #bfdbfe;
}

body.ijretcs-dark-mode .refstyle_sidebar_tab.active {
    background: #0f172a;
    color: #38bdf8;
    border-left-color: #38bdf8;
}

body.ijretcs-dark-mode .refstyle_preview_card,
body.ijretcs-dark-mode .refstyle_info_card,
body.ijretcs-dark-mode .refstyle_author_card,
body.ijretcs-dark-mode .refstyle_metric_card,
body.ijretcs-dark-mode .refstyle_issue_card {
    background: #1e293b;
    border-color: #334155;
}

body.ijretcs-dark-mode .refstyle_preview_header {
    background: #0f172a;
    border-bottom-color: #334155;
}

body.ijretcs-dark-mode .refstyle_preview_label {
    color: #cbd5e1;
}

body.ijretcs-dark-mode .refstyle_info_row {
    border-bottom-color: #334155;
}

body.ijretcs-dark-mode .refstyle_empty_state_box {
    background: #1e293b;
    border-color: #475569;
}

body.ijretcs-dark-mode .refstyle_metric_icon {
    background: #0f172a;
    color: #38bdf8;
}

body.ijretcs-dark-mode .refstyle_keyword_badge {
    background: #334155;
    color: #e2e8f0;
}
