.content-page {
    padding: 40px 0 60px;
}

.content-page .page-title {
    margin-bottom: 12px;
}

.content-page .page-subtitle {
    color: #6c757d;
    margin-bottom: 32px;
    max-width: 720px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.content-card-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: var(--card-radius, 6px);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-card-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.content-card-item__image {
    aspect-ratio: 16 / 9;
    background: #f8f9fa;
    overflow: hidden;
}

.content-card-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card-item__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.content-card-item__date {
    color: #868e96;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.content-card-item__title {
    font-size: 1.125rem;
    margin-bottom: 10px;
    line-height: 1.35;
}

.content-card-item__title a {
    color: inherit;
    text-decoration: none;
}

.content-card-item__title a:hover {
    color: #667eea;
}

.content-card-item__excerpt {
    color: #495057;
    margin-bottom: 16px;
    flex: 1;
}

.content-card-item__link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.content-card-item__link:hover {
    text-decoration: underline;
}

.content-empty {
    text-align: center;
    padding: 48px 24px;
    background: #f8f9fa;
    border-radius: 12px;
}

.content-empty i {
    font-size: 2.5rem;
    color: #adb5bd;
    margin-bottom: 12px;
}

/* Full Bootstrap .container width (same as header); do not nest a reading column here */
.content-article {
    max-width: none;
    width: 100%;
}

.content-article__meta {
    color: #868e96;
    margin-bottom: 24px;
}

.content-article__image {
    margin-bottom: 24px;
    border-radius: var(--card-radius, 6px);
    overflow: hidden;
}

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

.content-article__body {
    line-height: 1.7;
    color: #212529;
}

.content-article__body p {
    margin-bottom: 1rem;
}

.content-article__body h2,
.content-article__body h3 {
    margin: 1.75rem 0 0.75rem;
    line-height: 1.3;
    font-weight: 600;
}

.content-article__body ul,
.content-article__body ol {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

.content-article__body li {
    margin-bottom: 0.35rem;
}

.content-article__body a {
    color: #E85A2D;
}

.content-article__body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.25rem 0;
    border-radius: var(--card-radius, 6px);
}

.content-article__body iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 1.25rem 0;
    border: 0;
    border-radius: var(--card-radius, 6px);
    background: #111;
}

/* Full content-column width (same slot as .content-article__image cover) */
.content-video-embed {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 0 24px;
    aspect-ratio: 16 / 9;
    border-radius: var(--card-radius, 6px);
    overflow: hidden;
    background: #111;
}

.content-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
}

.content-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: #667eea;
    text-decoration: none;
}

.content-back-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .content-page {
        padding: 24px 0 40px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}
