/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--teal-dark) 0%, #053A3A 100%);
    padding: 40px 0;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

/* ===== Utilities (replace inline styles) ===== */
.u-mt-8 { margin-top: 8px !important; }
.u-mt-12 { margin-top: 12px !important; }
.u-mt-16 { margin-top: 16px !important; }
.u-mt-20 { margin-top: 20px !important; }
.u-mt-24 { margin-top: 24px !important; }
.u-mt-40 { margin-top: 40px !important; }
.u-mb-12 { margin-bottom: 12px !important; }
.u-mb-16 { margin-bottom: 16px !important; }
.u-mb-20 { margin-bottom: 20px !important; }
.u-p-0 { padding: 0 !important; }
.u-border-0 { border: none !important; }
.u-text-center { text-align: center !important; }
.u-text-justify { text-align: justify !important; }
.u-ltr { direction: ltr !important; }

.u-flex { display: flex !important; }
.u-flex-col { flex-direction: column !important; }
.u-flex-wrap { flex-wrap: wrap !important; }
.u-align-center { align-items: center !important; }
.u-align-start { align-items: flex-start !important; }
.u-justify-between { justify-content: space-between !important; }
.u-justify-center { justify-content: center !important; }
.u-self-end { align-self: flex-end !important; }
.u-gap-8 { gap: 8px !important; }
.u-gap-10 { gap: 10px !important; }
.u-gap-12 { gap: 12px !important; }
.u-gap-16 { gap: 16px !important; }
.u-gap-20 { gap: 20px !important; }

.u-w-auto { width: auto !important; }
.u-no-underline { text-decoration: none !important; }

.badge-warning {
    padding: 8px 20px;
    background: #FFF3E0;
    color: #E65100;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-compact {
    font-size: 14px !important;
    padding: 12px 28px !important;
}

.btn-secondary-teal {
    border-color: var(--border-color) !important;
    color: var(--teal-primary) !important;
}

.related-section {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid var(--border-color);
}

.related-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item {
    background: var(--bg-white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.related-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--teal-primary);
}

.related-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.related-item i {
    color: var(--teal-primary);
}

.card-grid {
    display: grid;
    gap: 16px;
}

.card-row {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.card-row-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.content-box {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.content-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.template-link {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    gap: 16px;
}

.template-link:hover {
    border-color: var(--teal-primary);
    box-shadow: var(--shadow-sm);
}

.template-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.file-icon {
    width: 48px;
    height: 48px;
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-medium);
}

/* ===== Track page ===== */
.input-code {
    font-family: monospace;
    direction: ltr;
    text-align: center;
    font-size: 16px;
    letter-spacing: 1px;
}

.input-ltr-center {
    direction: ltr;
    text-align: center;
}

.track-result {
    display: block;
}

.track-result[hidden] {
    display: none !important;
}

.track-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.track-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--teal-dark);
    border: none;
    padding: 0;
    margin: 0;
}

.track-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.track-info-item {
    padding: 16px;
    background: var(--teal-pale);
    border-radius: var(--radius-md);
}

.track-info-label {
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
}

.track-info-code {
    font-size: 15px;
    color: var(--teal-dark);
    font-family: monospace;
    direction: ltr;
    display: block;
    text-align: left;
}

.track-section-title {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--teal-dark);
}

.card-icon-box {
    width: 56px;
    height: 56px;
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.faq-item summary {
    font-size: 15px;
    font-weight: 700;
    color: var(--teal-dark);
}

.faq-item p {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-medium);
    line-height: 2.2;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(212,175,55,0.06) 0%, transparent 70%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--gold-accent);
}

.breadcrumb span {
    color: #fff;
    font-weight: 600;
}

.page-header h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== Pages Content Layout ===== */
.pages-content .main-layout {
    grid-template-columns: 300px 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 60px;
}

.pages-content .content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ===== Page Sections (match index.html spacing) ===== */
.page-section {
    margin-top: 0;
}

/* Ensure consistent gap between all content children */
.pages-content .content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-section h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--teal-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.page-section p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 2.2;
    margin-bottom: 16px;
}

/* ===== Highlight Box ===== */
.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, var(--teal-lighter), var(--teal-pale));
    border-right: 4px solid var(--teal-primary);
    padding: 20px 24px;
    border-radius: var(--radius-md);
}

.highlight-box i {
    font-size: 28px;
    color: var(--teal-primary);
    margin-top: 4px;
}

.highlight-box strong {
    color: var(--teal-dark);
}

/* ===== Check List ===== */
.check-list {
    display: grid;
    gap: 10px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-medium);
    transition: var(--transition);
}

.check-list li:hover {
    background: var(--teal-lighter);
    border-color: var(--teal-primary);
    transform: translateX(-4px);
}

.check-list li::before {
    content: '\2713';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--teal-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

/* ===== Editorial Grid ===== */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.editor-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.editor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal-primary);
}

.editor-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--teal-lighter), var(--teal-pale));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
    color: var(--teal-primary);
}

.editor-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.editor-card span {
    font-size: 12px;
    color: var(--text-light);
}

/* ===== Steps Timeline ===== */
.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-medium));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 2;
    margin-bottom: 0;
}

/* ===== Ethics Cards Grid ===== */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.ethics-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.ethics-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal-primary);
}

.ethics-icon {
    font-size: 36px;
    color: var(--teal-primary);
    margin-bottom: 12px;
}

.ethics-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.ethics-card p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 2;
    margin-bottom: 0;
}

/* ===== Contact Grid ===== */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--teal-pale);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--teal-lighter);
}

.contact-item i {
    font-size: 28px;
    color: var(--teal-primary);
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--teal-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ===== Page Nav (Sidebar) ===== */
.page-nav li {
    margin-bottom: 4px;
}

.page-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-medium);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.page-nav a:hover,
.page-nav a.active {
    background: var(--teal-lighter);
    color: var(--teal-primary);
    padding-right: 20px;
}

/* ===== Article Detail Page ===== */
.article-detail {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.article-detail-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.article-detail-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--teal-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--teal-pale);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-medium);
}

.article-authors-bar {
    font-size: 14px;
    color: var(--gold-accent);
    font-weight: 600;
}

.article-abstract-box {
    background: var(--teal-pale);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 32px;
    border-right: 4px solid var(--teal-primary);
}

.article-abstract-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-abstract-box p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 2.2;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--teal-dark);
    margin-top: 32px;
    margin-bottom: 16px;
    padding-right: 16px;
    border-right: 3px solid var(--teal-primary);
}

.article-body p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 2.4;
    margin-bottom: 16px;
    text-align: justify;
}

.article-actions-bar {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
}

/* ===== Archive Page ===== */
.archive-filters {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 0;
}

.filter-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.filters-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    color: var(--text-medium);
    background: var(--bg-white);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px 16px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    color: var(--text-medium);
    background: var(--bg-cream);
    transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 3px rgba(13,155,143,0.1);
}

.search-btn {
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-medium));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===== Article Table ===== */
.articles-table-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    /* allow horizontal scroll when table is wider than viewport */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.articles-table {
    width: 100%;
    border-collapse: collapse;
    /* keep a readable minimum; wrapper will scroll when needed */
    min-width: 760px;
}

.articles-table thead {
    background: linear-gradient(135deg, var(--teal-dark), #053A3A);
}

.articles-table th {
    padding: 14px 20px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.articles-table td {
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

/* Column widths (avoid inline styles) */
.articles-table .col-num { width: 56px; }
.articles-table .col-title { width: auto; }
.articles-table .col-authors { width: 220px; }
.articles-table .col-issue { width: 140px; }
.articles-table .col-download { width: 110px; }
.articles-table .col-actions { width: 140px; }

.articles-table tbody tr {
    transition: var(--transition);
}

.articles-table tbody tr:hover {
    background: var(--teal-lighter);
}

.article-title-link {
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.article-title-link:hover {
    color: var(--teal-primary);
}

.table-actions {
    display: flex;
    gap: 8px;
}

.btn-table-sm {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.btn-view {
    background: var(--teal-lighter);
    color: var(--teal-primary);
    border: 1px solid var(--border-color);
}

.btn-view:hover {
    background: var(--teal-primary);
    color: #fff;
}

.btn-download {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFE0B2;
}

.btn-download:hover {
    background: #E65100;
    color: #fff;
}

/* ===== Pagination ===== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 0;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-medium);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--teal-primary);
    color: #fff;
    border-color: var(--teal-primary);
}

/* ===== Submit Page (Form) ===== */
.form-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.form-section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 4px;
}

.required-star {
    color: #E65100;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-cream);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 3px rgba(13,155,143,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.textarea-lg { min-height: 160px !important; }

.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    background: var(--bg-cream);
    transition: var(--transition);
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--teal-primary);
    background: var(--teal-lighter);
}

.file-upload-area i {
    font-size: 40px;
    color: var(--teal-light);
    margin-bottom: 12px;
}

.file-upload-area p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.file-upload-area small {
    font-size: 12px;
    color: var(--text-light);
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--border-color);
}

.btn-submit {
    padding: 14px 48px;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-medium));
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-reset {
    padding: 14px 48px;
    background: var(--bg-cream);
    color: var(--text-medium);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reset:hover {
    background: #f5f5f5;
}

/* ===== Team Page ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal-primary);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--teal-lighter), var(--teal-pale));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px;
    color: var(--teal-primary);
}

.team-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.team-role {
    font-size: 13px;
    color: var(--teal-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.team-dept {
    font-size: 12px;
    color: var(--text-light);
}

/* ===== Contact Page ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 16px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--teal-dark), #053A3A);
    border-radius: var(--radius-lg);
    padding: 36px;
    color: #fff;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gold-accent);
    flex-shrink: 0;
}

.contact-detail-text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-detail-text p,
.contact-detail-text a {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    font-size: 48px;
    color: rgba(255,255,255,0.2);
}

/* ===== Latest Issue Page ===== */
.issue-detail-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 0;
}

.pages-content .section-header {
    margin-bottom: 8px;
}

/* Issue articles list - no extra top margin, use parent gap */
.issue-articles-list {
    margin-top: 0;
}

.issue-cover-large {
    width: 180px;
    height: 240px;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.issue-cover-large .cover-num {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.issue-cover-large .cover-title {
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
    padding: 0 16px;
}

.issue-info-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 500px;
}

.issue-info-detail h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--teal-dark);
    margin-bottom: 8px;
}

.issue-info-detail .issue-topic {
    font-size: 15px;
    color: var(--gold-accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.issue-stats {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.issue-stat {
    padding: 8px 16px;
    background: var(--teal-pale);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== Article List in Issue ===== */
.issue-articles-list {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.issue-article-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 20px;
    align-items: center;
    transition: var(--transition);
}

.issue-article-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--teal-primary);
}

.issue-article-num {
    width: 40px;
    height: 40px;
    background: var(--teal-lighter);
    color: var(--teal-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.issue-article-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.issue-article-info h4 a:hover {
    color: var(--teal-primary);
}

.issue-article-authors {
    font-size: 13px;
    color: var(--gold-accent);
    margin-bottom: 8px;
}

.issue-article-pages {
    font-size: 12px;
    color: var(--text-light);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .pages-content .main-layout {
        grid-template-columns: 260px 1fr;
    }
    .editorial-grid,
    .info-cards-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pages-content .main-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .editorial-grid,
    .info-cards-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .filter-row {
        flex-direction: column;
    }
    .filter-group {
        width: 100%;
    }
    .issue-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .issue-article-item {
        grid-template-columns: 1fr;
    }
    .articles-table {
        min-width: 680px;
    }
    .articles-table th,
    .articles-table td {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 22px;
    }
    .article-detail,
    .form-card {
        padding: 24px;
    }
    .form-actions {
        flex-direction: column;
    }
}