/* ─── HEIC Proceedings – Frontend Styles ─── */
/* Injected below the post content on single proceeding pages. */
/* The theme handles the page layout — these only style our data blocks. */

.heic-proceeding-data {
    margin-top: 1.5rem;
}

.heic-proceeding-subtitle {
    font-size: 1rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.heic-proceeding-authors {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1.5rem;
}
.heic-orcid-link {
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
}
.heic-orcid-link img {
    vertical-align: middle;
}

/* Meta block */
.heic-proceeding-meta-block {
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.heic-proceeding-meta-block h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #666;
}
.heic-meta-list {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.4rem 1rem;
    margin: 0;
}
.heic-meta-list dt {
    font-weight: 600;
    color: #333;
}
.heic-meta-list dd {
    margin: 0;
    color: #555;
}
.heic-meta-list dd a {
    color: #0073aa;
}

/* Abstract */
.heic-proceeding-abstract,
.heic-proceeding-keywords {
    margin-bottom: 1.5rem;
}
.heic-proceeding-abstract h3,
.heic-proceeding-keywords h3 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #666;
    margin-bottom: 0.5rem;
}

/* Download button */
.heic-proceeding-download {
    margin: 1.5rem 0;
}
.heic-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.heic-btn-primary {
    background: #0073aa;
    color: #fff;
}
.heic-btn-primary:hover {
    background: #005f8d;
    color: #fff;
}

/* Children / Papers listing */
.heic-proceeding-children {
    margin-top: 2rem;
    border-top: 2px solid #e0e0e0;
    padding-top: 1.5rem;
}
.heic-proceeding-children h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.heic-papers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.heic-paper-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}
.heic-paper-item:last-child {
    border-bottom: none;
}
.heic-paper-title {
    display: block;
    font-weight: 600;
    color: #0073aa;
    text-decoration: none;
    margin-bottom: 0.25rem;
}
.heic-paper-title:hover {
    text-decoration: underline;
}
.heic-paper-authors {
    display: block;
    font-size: 0.9rem;
    color: #555;
}
.heic-paper-pages,
.heic-paper-doi {
    display: inline-block;
    font-size: 0.85rem;
    color: #777;
    margin-right: 1rem;
}
.heic-paper-doi a {
    color: #0073aa;
}

/* ─── Archive / Chronological list ─── */
.heic-proceedings-archive {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.heic-archive-header h1 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* Each proceedings entry: thumbnail on left, details on right */
.heic-proceedings-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.heic-proceeding-entry {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}
.heic-proceeding-entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Thumbnail */
.heic-entry-thumb {
    flex-shrink: 0;
    width: 180px;
}
.heic-entry-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.heic-thumb-placeholder {
    width: 180px;
    height: 220px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.heic-thumb-placeholder .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #bbb;
}

/* Details column */
.heic-entry-details {
    flex: 1;
    min-width: 0;
}
.heic-entry-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.5rem;
}
.heic-entry-title a {
    color: #222;
    text-decoration: none;
}
.heic-entry-title a:hover {
    color: #0073aa;
}
.heic-entry-date-location {
    font-size: 0.95rem;
    color: #444;
    margin: 0 0 0.35rem;
}
.heic-entry-subtitle {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}
.heic-entry-review {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 0.2rem;
}
.heic-entry-editors {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 0.5rem;
}
.heic-entry-ids {
    font-size: 0.85rem;
    color: #777;
    margin: 0 0 0.5rem;
}
.heic-entry-ids .heic-id {
    display: inline-block;
    margin-right: 1rem;
}
.heic-entry-ids a {
    color: #0073aa;
}
.heic-entry-papers {
    margin: 0.5rem 0 0;
}
.heic-entry-papers a {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: #f0f7fc;
    border: 1px solid #b5d4f4;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}
.heic-entry-papers a:hover {
    background: #dceefb;
}

/* Responsive: stack on mobile */
@media (max-width: 600px) {
    .heic-proceeding-entry {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .heic-entry-thumb {
        width: 140px;
    }
    .heic-entry-ids .heic-id {
        display: block;
        margin: 0 0 0.2rem;
    }
}

/* Pagination */
.heic-pagination {
    margin: 2rem 0;
    text-align: center;
}
.heic-pagination a,
.heic-pagination span {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}
.heic-pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}
