/* Issue archive cards */
.issues-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.archive-issue-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.archive-issue-card:hover {
    transform: none;
    box-shadow: none;
}

.archive-issue-cover {
    display: block;
    height: 220px;
    background: var(--bg-light);
    overflow: hidden;
}

.archive-issue-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-issue-cover--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: rgba(255, 255, 255, 0.85);
}

.archive-issue-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.archive-issue-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.archive-issue-title a:hover {
    color: var(--primary-color);
}

.archive-issue-series,
.archive-issue-date {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--text-gray);
}

.archive-issue-date i {
    color: var(--accent-gold);
    margin-left: 4px;
}

.archive-issue-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.archive-issue-body .btn {
    margin-top: auto;
    justify-content: center;
}

/* Soften default OJS leftovers on this theme */
.cmp_pagination,
.page_issue_archive .cmp_breadcrumbs {
    margin-top: 32px;
}

.article-header .breadcrumb a,
.article-header .breadcrumb .current,
.article-header .breadcrumb .separator {
    color: var(--text-gray);
}

.article-header .breadcrumb a:hover {
    color: var(--primary-color);
}

.article-header .breadcrumb .current {
    color: var(--primary-color);
    font-weight: 600;
}

.article-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 40px 0 80px;
}

@media (max-width: 1024px) {
    .article-container {
        grid-template-columns: 1fr;
    }
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.keyword-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--primary-color);
}

.authors-section {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.author-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.orcid-link {
    color: #a6ce39;
}

.affiliations-section {
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-gray);
}

.article-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.metadata-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--text-gray);
}

.metadata-item i {
    color: var(--accent-gold);
}

.article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.additional_content {
    margin-top: 24px;
}

/* Contact page — map + headquarters + cards */
.contact-main {
    background: #f5f7fa;
    padding: 40px 0 72px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 32px;
    align-items: start;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-hq {
    margin: 0;
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-hq-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
    line-height: 1.4;
    text-align: center;
}

.contact-hq-address {
    font-family: var(--font-heading);
    font-style: normal;
    font-size: 17px;
    font-weight: 500;
    color: #444;
    line-height: 1.9;
    margin: 0 auto 18px;
    max-width: 360px;
    text-align: center;
}

.contact-maps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: #e53935;
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-maps-btn:hover {
    background: #c62828;
    transform: translateY(-1px);
}

.contact-intro {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 500;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    align-items: stretch;
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(0, 91, 154, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 61, 107, 0.06);
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    min-height: 96px;
}

.contact-card-phone {
    grid-column: 1;
    grid-row: 1;
}

.contact-card-whatsapp {
    grid-column: 2;
    grid-row: 1;
}

.contact-card-email {
    grid-column: 1 / -1;
    grid-row: 2;
}

.contact-card:hover {
    box-shadow: 0 8px 22px rgba(0, 61, 107, 0.1);
    transform: translateY(-1px);
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #0a8a8a;
    margin: 0 0 14px;
    line-height: 1.4;
    text-align: start;
}

.contact-card-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-card-value {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 500;
    color: #333;
    word-break: break-word;
    text-align: start;
    flex: 1;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact-social a:hover {
    color: #005B9A;
    transform: translateY(-2px);
}

.contact-map-col {
    min-width: 0;
}

.contact-map-frame {
    border: 3px solid #005B9A;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    min-height: 520px;
    box-shadow: 0 8px 24px rgba(0, 61, 107, 0.1);
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 520px;
    border: 0;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-map-frame,
    .contact-map-frame iframe {
        min-height: 360px;
        height: 360px;
    }
}

.contact-card-icon.email {
    background: #d4a60e;
}

.contact-card-icon.phone {
    background: #2f80ed;
}

.contact-card-icon.whatsapp {
    background: #25d366;
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .contact-card-phone,
    .contact-card-email,
    .contact-card-whatsapp {
        grid-column: 1;
        grid-row: auto;
    }
}
