/*
Theme Name: GalacticRave Child
Description: Child theme for Astra used by galacticrave.net
Author: Matthias Steinmetz
Template: astra
Version: 1.0
*/

.image-section {
    margin-top: 3rem;
}

.image-section h2 {
    margin-bottom: 1rem;
}

.image-section p {
    line-height: 1.7;
    max-width: 70ch;
}

.observation-details {
    width: 40%;
    max-width: 700px;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.observation-details th,
.observation-details td {
    border: none !important;
    padding: 0.6rem 0;
}

.observation-details th {
    width: 240px;
    text-align: left;
    font-weight: 500;
    color: #666;
    padding-right: 2rem;
}

.observation-details td {
    color: #222;
}

/* ==========================================================
   Image Page Layout
   ========================================================== */

.image-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin: 2rem 0 3rem;
}

@media (max-width: 900px) {
    .image-overview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* -------------------------------------------------
   Image header (image + image details)
-------------------------------------------------- */

.image-header {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin: 1rem 0 2rem;
}

.image-main {
    flex: 3;
}

.image-sidebar {
    width: 340px;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0;
}

.image-sidebar h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

/* ==========================================
   Hero Panel
========================================== */

.image-hero {

    background: #1f2329;

    color: #ffffff;

    padding: 2.5rem 3rem;

    border-radius: 18px;

    margin-bottom: 3rem;

    box-shadow: 0 10px 35px rgba(0,0,0,.20);

}

.image-hero h1,
.image-hero h2 {

    color: #ffffff;

}

.image-hero .observation-details {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.image-hero .observation-details th,
.image-hero .observation-details td {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 0.95rem;
    vertical-align: top;
}

.image-hero .observation-details th {
    width: 48%;
    text-align: left;
    font-weight: 600;
    color: rgba(255,255,255,.65);
}

.image-hero .observation-details td {
    color: #ffffff;
    font-weight: 400;
}

.image-hero .image-section h2 {
    margin-bottom: 1.5rem;
}

.image-subtitle {
    margin: -0.75rem 0 2rem;
    font-size: 1.2rem;
    color: rgba(255,255,255,.75);
    line-height: 1.5;
}

.image-meta {
    margin: 0.2rem 0 1rem;
    font-size: 1.1rem;
    color: #b7bcc5;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.image-sidebar,
.image-sidebar table,
.image-sidebar tbody,
.image-sidebar tr,
.image-sidebar td {
    border-left: none !important;
    border-top: none !important;
}

.image-hero h2 {
    border: none !important;
    box-shadow: none !important;
}

.image-hero section {
    border: none !important;
    box-shadow: none !important;
}

.image-hero table {
    border: none !important;
    box-shadow: none !important;
}

.image-hero hr {
    display: none !important;
}

.image-info-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
    align-items: start;
}

.image-info-grid .image-section {
    margin-top: 0;
}

.image-info-grid h2 {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 900px) {
    .image-info-grid {
        grid-template-columns: 1fr;
    }
}