/**
 * Page Content Styles
 * Contract: content_pages_contract.md A2, A3, v1.2
 * Includes: Content container, Content layout, Simple archive header
 *
 * @package MG
 */

/* ========================================
   Page Content Container
   Contract A2
   ======================================== */

.page-content-container {
    max-width: 1400px; /* Contract A2 */
    margin-left: auto;
    margin-right: auto;
    padding: 80px 30px 120px; /* Contract A2: Mobile */
}

@media (min-width: 768px) {
    /* Contract A2: Tablet+ */
    .page-content-container {
        padding: 100px 40px 160px;
    }
}

/* ========================================
   Simple Archive Header (News Archive Only)
   Contract v1.2
   ======================================== */

.page-header-simple {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%); /* Contract v1.2: subtle gradient */
    padding: 80px 30px 40px; /* Mobile */
}

.page-header-simple__container {
    max-width: 1400px; /* Contract v1.2: same as page-content-container */
    margin-left: auto;
    margin-right: auto;
}

.page-header-simple__title {
    font-size: 32px; /* Contract v1.2: same as hero titles */
    line-height: 32px;
    font-weight: 300;
    letter-spacing: -0.04em;
    color: #000; /* Contract v1.2: black text (no image) */
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    /* Contract v1.2: Tablet+ */
    .page-header-simple {
        padding: 100px 40px 60px;
    }

    .page-header-simple__title {
        font-size: 42px; /* Contract v1.2 */
        line-height: 44px;
    }
}

/* ========================================
   Content Item (Image + Text Layout)
   ======================================== */

.timeline-item {
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item__columns {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .timeline-item__columns {
        flex-direction: row;
        align-items: center;
        gap: 32px;
    }
}

/* Images */
.timeline-item .wp-block-image {
    margin: 0;
}

.timeline-item .wp-block-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Headings */
.timeline-item h3 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 400;
}

/* Paragraphs */
.timeline-item p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.timeline-item p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Entry Meta (News Single)
   Contract Section 3.1
   ======================================== */

.entry-meta {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.entry-date {
    display: block;
    font-size: 16px;
    line-height: 1.4;
    color: #666;
}

/* ========================================
   Entry Content (Gutenberg)
   Contract Section 3.1
   ======================================== */

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.entry-content > * {
    margin-bottom: 1.5em;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-weight: 400;
    color: #000;
}

.entry-content h2 {
    font-size: 28px;
    line-height: 1.3;
}

.entry-content h3 {
    font-size: 24px;
    line-height: 1.3;
}

.entry-content h4 {
    font-size: 20px;
    line-height: 1.4;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.entry-content a {
    color: #000;
    text-decoration: underline;
}

.entry-content a:hover {
    opacity: 0.7;
}