/**
 * Axis-Inspired Theme for Revista Periphérica
 * Modern, sophisticated design inspired by professional OJS themes
 */

/* ============================================
   COLOR SYSTEM - Axis-Inspired
   ============================================ */
:root {
    /* Primary Colors - Indigo/Purple */
    --primary-50: #EEF2FF;
    --primary-100: #E0E7FF;
    --primary-200: #C7D2FE;
    --primary-300: #A5B4FC;
    --primary-400: #818CF8;
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --primary-700: #4338CA;
    --primary-800: #3730A3;
    --primary-900: #312E81;

    /* Secondary Colors - Emerald/Green */
    --secondary-50: #ECFDF5;
    --secondary-100: #D1FAE5;
    --secondary-200: #A7F3D0;
    --secondary-300: #6EE7B7;
    --secondary-400: #34D399;
    --secondary-500: #10B981;
    --secondary-600: #059669;
    --secondary-700: #047857;
    --secondary-800: #065F46;
    --secondary-900: #064E3B;

    /* Accent - Amber */
    --accent-500: #F59E0B;
    --accent-600: #D97706;

    /* Neutrals */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --white: #FFFFFF;
    --black: #000000;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Homepage Background Image Support */
body.pkp_page_index {
    background-image: url('/journals/1/homepageImage_pt_BR.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Add semi-transparent overlay to ensure content is readable */
body.pkp_page_index .pkp_structure_content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

body.pkp_page_index .pkp_structure_main {
    background: transparent;
}

/* ============================================
   HEADER - Premium Design
   ============================================ */
.pkp_structure_head {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 50%, var(--primary-600) 100%) !important;
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pkp_head_wrapper {
    background: transparent !important;
}

.pkp_site_name_wrapper {
    padding: var(--spacing-xl) 0;
}

.pkp_site_name a {
    color: var(--white) !important;
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.pkp_site_name a:hover {
    color: var(--secondary-300) !important;
    transform: translateY(-1px);
}

.pkp_site_name_wrapper img {
    max-height: 80px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-base);
}

.pkp_site_name_wrapper img:hover {
    transform: scale(1.05);
}

/* Journal Description */
.pkp_structure_head p {
    color: var(--primary-100) !important;
    font-size: var(--text-sm);
    margin-top: var(--spacing-sm);
}

/* ============================================
   NAVIGATION - Modern & Clean
   ============================================ */
.pkp_navigation_primary_row {
    background: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pkp_navigation_primary {
    border: none !important;
}

.pkp_navigation_primary ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    padding: 0;
    margin: 0;
}

.pkp_navigation_primary li {
    list-style: none;
}

.pkp_navigation_primary a {
    color: var(--white) !important;
    font-weight: 500;
    font-size: var(--text-sm);
    padding: 0.875rem 1.25rem !important;
    display: block;
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.pkp_navigation_primary a:hover,
.pkp_navigation_primary a:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--secondary-300) !important;
    transform: translateY(-1px);
}

.pkp_navigation_primary .is_active > a {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--secondary-300) !important;
    font-weight: 600;
}

/* User Navigation */
.pkp_navigation_user {
    background: transparent !important;
}

.pkp_navigation_user a {
    color: var(--white) !important;
    font-size: var(--text-sm);
    padding: var(--spacing-sm) var(--spacing-md) !important;
    transition: color var(--transition-base);
}

.pkp_navigation_user a:hover {
    color: var(--secondary-300) !important;
}

/* Search */
.pkp_search {
    padding: var(--spacing-sm);
}

.pkp_search input[type="text"] {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    border-radius: var(--radius-full);
    padding: 0.625rem 1.25rem;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    width: 100%;
    max-width: 300px;
}

.pkp_search input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.pkp_search input[type="text"]:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--secondary-300);
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.pkp_search button {
    color: var(--white) !important;
    background: var(--secondary-600);
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
}

.pkp_search button:hover {
    background: var(--secondary-500);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.pkp_structure_content {
    background: var(--gray-50);
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.pkp_structure_main {
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

/* Homepage Image / Background Image */
.pkp_page_index .pkp_structure_content {
    background: var(--gray-50);
}

.pkp_page_index .homepage_image,
.homepage_image,
.pkp_page_index .pkp_structure_main > img:first-child,
.pkp_structure_main > img[src*="homepageImage"] {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    margin-bottom: var(--spacing-2xl);
}

/* If homepage has background image, ensure content is readable */
.pkp_page_index.has_background_image .pkp_structure_content,
.has_background_image .pkp_structure_content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pkp_page_index.has_background_image .pkp_structure_main::before,
.has_background_image .pkp_structure_main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: -1;
    border-radius: var(--radius-xl);
}

/* Page Title */
.page_title,
.pkp_structure_main > h1 {
    color: var(--primary-900);
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.025em;
    position: relative;
    padding-bottom: var(--spacing-lg);
}

.page_title::after,
.pkp_structure_main > h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--secondary-500) 100%);
    border-radius: var(--radius-full);
}

/* Section Headings */
.pkp_structure_main h2 {
    color: var(--primary-800);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.025em;
}

.pkp_structure_main h3 {
    color: var(--primary-700);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

/* Links */
a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover,
a:focus {
    color: var(--secondary-600);
}

/* Paragraphs */
p {
    line-height: 1.75;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-700);
}

/* ============================================
   SIDEBAR - Modern Card Design
   ============================================ */
.pkp_structure_sidebar {
    background: transparent !important;
    padding: 0 !important;
}

.pkp_structure_sidebar .pkp_block {
    background: var(--white) !important;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 0 !important;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all var(--transition-base);
}

.pkp_structure_sidebar .pkp_block:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary-300);
}

.pkp_structure_sidebar h2,
.pkp_structure_sidebar .title {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%) !important;
    color: var(--white) !important;
    padding: var(--spacing-lg) var(--spacing-xl) !important;
    margin: 0 !important;
    font-size: var(--text-sm) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none !important;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.pkp_structure_sidebar h2::before,
.pkp_structure_sidebar .title::before {
    content: '●';
    color: var(--secondary-400);
    font-size: var(--text-lg);
}

.pkp_structure_sidebar ul {
    list-style: none !important;
    padding: var(--spacing-md) 0 !important;
    margin: 0 !important;
}

.pkp_structure_sidebar li {
    border: none;
    background: transparent !important;
}

.pkp_structure_sidebar a,
.pkp_structure_sidebar a span,
.pkp_structure_sidebar li a,
.pkp_structure_sidebar ul li a {
    color: var(--gray-700) !important;
    display: block !important;
    padding: 0.75rem var(--spacing-xl) !important;
    background: transparent !important;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    position: relative;
}

.pkp_structure_sidebar a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-50) 0%, transparent 100%);
    transition: width var(--transition-base);
    z-index: -1;
}

.pkp_structure_sidebar a:hover,
.pkp_structure_sidebar a:hover span,
.pkp_structure_sidebar li a:hover,
.pkp_structure_sidebar ul li a:hover {
    background: transparent !important;
    color: var(--primary-700) !important;
    padding-left: calc(var(--spacing-xl) + var(--spacing-sm)) !important;
    font-weight: 600;
}

.pkp_structure_sidebar a:hover::before {
    width: 100%;
}

/* Force sidebar text visibility */
.pkp_structure_sidebar .pkp_block ul li,
.pkp_structure_sidebar .pkp_block ul li a,
.pkp_structure_sidebar .pkp_block ul li span {
    color: var(--gray-800) !important;
}

.pkp_structure_sidebar .pkp_block ul li a:hover,
.pkp_structure_sidebar .pkp_block ul li a:hover span {
    color: var(--primary-600) !important;
}

/* ============================================
   ARTICLES - Premium Card Design
   ============================================ */
.obj_article_summary {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.obj_article_summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--secondary-500) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.obj_article_summary:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-4px);
    border-color: var(--primary-300);
}

.obj_article_summary:hover::before {
    transform: scaleX(1);
}

.obj_article_summary .title {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.obj_article_summary .title a {
    color: var(--primary-900);
    font-weight: 700;
    transition: color var(--transition-base);
}

.obj_article_summary .title a:hover {
    color: var(--primary-600);
}

.obj_article_summary .meta {
    color: var(--gray-500);
    font-size: var(--text-sm);
    margin-bottom: var(--spacing-md);
}

.obj_article_summary .authors {
    color: var(--gray-700);
    font-size: var(--text-base);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.obj_article_summary .summary {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   ISSUE TOC - Structured Layout
   ============================================ */
.obj_issue_toc {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-2xl);
}

.obj_issue_toc .title {
    color: var(--primary-900);
    font-size: var(--text-3xl);
    font-weight: 800;
    border-bottom: 3px solid var(--primary-600);
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.obj_issue_toc .description {
    color: var(--gray-600);
    font-size: var(--text-base);
    line-height: 1.75;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--secondary-500);
}

/* Sections in TOC */
.section {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.section > .title {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%) !important;
    color: var(--white) !important;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section > .title::after {
    content: '→';
    font-size: var(--text-2xl);
    color: var(--secondary-300);
}

/* ============================================
   BUTTONS - Modern Design System
   ============================================ */
.pkp_button,
.cmp_button,
button[type="submit"],
input[type="submit"],
.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%) !important;
    border: none !important;
    color: var(--white) !important;
    border-radius: var(--radius-lg) !important;
    padding: 0.875rem 1.75rem !important;
    font-weight: 600 !important;
    font-size: var(--text-sm) !important;
    transition: all var(--transition-base) !important;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.pkp_button:hover,
.cmp_button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.pkp_button:active,
.cmp_button:active,
button[type="submit"]:active,
input[type="submit"]:active,
.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}

/* Secondary Buttons */
.pkp_button.pkp_button_offset,
.btn-secondary {
    background: transparent !important;
    border: 2px solid var(--primary-600) !important;
    color: var(--primary-600) !important;
}

.pkp_button.pkp_button_offset:hover,
.btn-secondary:hover {
    background: var(--primary-600) !important;
    color: var(--white) !important;
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, var(--secondary-600) 0%, var(--secondary-700) 100%) !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--secondary-700) 0%, var(--secondary-800) 100%) !important;
}

/* ============================================
   GALLEY LINKS (PDF, etc.)
   ============================================ */
.obj_galley_link {
    background: linear-gradient(135deg, var(--secondary-600) 0%, var(--secondary-700) 100%);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-xs);
    transition: all var(--transition-base);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.obj_galley_link::before {
    content: '📄';
    font-size: var(--text-lg);
}

.obj_galley_link:hover {
    background: linear-gradient(135deg, var(--secondary-700) 0%, var(--secondary-800) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER - Premium Dark Design
   ============================================ */
.pkp_structure_footer_wrapper {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-900) 100%) !important;
    color: var(--gray-300);
    padding: var(--spacing-2xl) 0;
    margin-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.pkp_structure_footer {
    color: var(--gray-300);
    font-size: var(--text-sm);
}

.pkp_structure_footer h2,
.pkp_structure_footer h3 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.pkp_structure_footer a {
    color: var(--secondary-400) !important;
    transition: color var(--transition-base);
}

.pkp_structure_footer a:hover {
    color: var(--secondary-300) !important;
}

.pkp_brand_footer {
    opacity: 0.7;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* ============================================
   FORMS - Modern Input Design
   ============================================ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
textarea,
select {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1rem;
    transition: all var(--transition-base);
    font-size: var(--text-base);
    font-family: inherit;
    background: var(--white);
    width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

label {
    color: var(--gray-700);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--spacing-sm);
    display: block;
}

/* ============================================
   ARTICLE DETAILS PAGE
   ============================================ */
.obj_article_details {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-2xl);
}

.obj_article_details .page_title {
    color: var(--primary-900);
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
    border-bottom: 3px solid var(--primary-600);
    padding-bottom: var(--spacing-lg);
}

.obj_article_details .subtitle {
    color: var(--gray-600);
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.obj_article_details .authors {
    font-size: var(--text-lg);
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.obj_article_details .doi {
    background: var(--gray-100);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-600);
    margin-bottom: var(--spacing-xl);
}

.obj_article_details .abstract {
    background: var(--gray-50);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--secondary-600);
    margin-bottom: var(--spacing-xl);
}

.obj_article_details .abstract h2 {
    color: var(--primary-700);
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-md);
}

.obj_article_details .keywords {
    margin-top: var(--spacing-xl);
}

.obj_article_details .keywords .label {
    color: var(--primary-700);
    font-weight: 700;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.obj_article_details .keywords .value {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.obj_article_details .keywords .value span {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* ============================================
   ANNOUNCEMENTS
   ============================================ */
.obj_announcements {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--primary-200);
    margin-bottom: var(--spacing-xl);
}

.obj_announcement_summary {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--primary-200);
}

.obj_announcement_summary:last-child {
    border-bottom: none;
}

.obj_announcement_summary .title a {
    color: var(--primary-700);
    font-weight: 700;
    font-size: var(--text-lg);
}

.obj_announcement_summary .title a:hover {
    color: var(--primary-600);
}

.obj_announcement_summary .date {
    color: var(--gray-500);
    font-size: var(--text-sm);
    margin-top: var(--spacing-sm);
}

/* ============================================
   BADGES & LABELS
   ============================================ */
.badge,
.label,
.pkp_helpers_text_status {
    background: var(--primary-600);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.badge.success {
    background: var(--secondary-600);
}

.badge.warning {
    background: var(--accent-600);
}

.badge.error {
    background: var(--error);
}

/* ============================================
   CURRENT ISSUE HIGHLIGHT
   ============================================ */
.current_issue_heading {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
    color: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-2xl);
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.current_issue_heading::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.current_issue_heading .title {
    color: var(--secondary-300);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.current_issue_heading h2 {
    color: var(--white);
    margin: 0;
    font-size: var(--text-3xl);
    font-weight: 800;
}

/* ============================================
   TABLES
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

th {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: var(--white);
    padding: var(--spacing-lg);
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
}

td {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background: var(--gray-50);
}

/* ============================================
   PAGINATION
   ============================================ */
.cmp_pagination {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-2xl);
}

.cmp_pagination a,
.cmp_pagination span {
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    transition: all var(--transition-base);
    background: var(--white);
}

.cmp_pagination a:hover {
    background: var(--primary-600);
    color: var(--white);
    border-color: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cmp_pagination .current {
    background: var(--primary-600);
    color: var(--white);
    border-color: var(--primary-600);
    font-weight: 700;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    :root {
        --text-4xl: 2rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;
    }

    .pkp_structure_sidebar {
        margin-top: var(--spacing-2xl);
    }

    .pkp_navigation_primary ul {
        flex-direction: column;
    }

    .pkp_navigation_primary a {
        padding: var(--spacing-md) var(--spacing-lg) !important;
    }
}

@media (max-width: 768px) {
    .pkp_structure_main {
        padding: 0 var(--spacing-md);
    }

    .obj_issue_toc,
    .obj_article_details,
    .obj_article_summary {
        padding: var(--spacing-lg);
    }

    .pkp_site_name a {
        font-size: var(--text-2xl);
    }

    .pkp_search input[type="text"] {
        max-width: 100%;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.obj_article_summary {
    animation: fadeInUp 0.6s ease forwards;
}

.pkp_block {
    animation: slideInRight 0.5s ease forwards;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .pkp_structure_head,
    .pkp_structure_sidebar,
    .pkp_structure_footer_wrapper,
    .pkp_navigation_primary,
    .pkp_navigation_user {
        display: none !important;
    }

    .pkp_structure_main {
        padding: 0;
    }

    .obj_article_summary,
    .obj_article_details {
        box-shadow: none;
        border: 1px solid var(--gray-300);
        page-break-inside: avoid;
    }
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */
*:focus-visible {
    outline: 3px solid var(--secondary-500);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
