/* ============================================
   DIGITAL MASS — POST STYLES
   ============================================ */

.dm-post__hero {
    padding: calc(120px + var(--space-2xl)) 0 var(--space-xl);
}

.dm-post__meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.dm-post__date,
.dm-post__reading-time {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dm-post__title {
    font-size: var(--text-4xl);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.dm-post__excerpt {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.dm-post__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.dm-post__author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(var(--dm-teal-rgb), 0.3);
}

.dm-post__author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--text-sm);
}

.dm-post__author-bio {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.dm-post__feature-image {
    margin-top: var(--space-xl);
    border-radius: var(--radius-xl);
}

.dm-post__feature-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    max-height: 500px;
    object-fit: cover;
}

.dm-post__content {
    padding: var(--space-2xl) 0;
}

.dm-post__tags {
    padding-bottom: var(--space-xl);
}

.dm-post__tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dm-post__share {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-color);
}

.dm-post__share-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dm-post__share-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dm-post__share-links {
    display: flex;
    gap: 0.75rem;
}

.dm-post__share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(var(--dm-teal-rgb), 0.1);
    color: var(--dm-teal);
    border: none;
    cursor: pointer;
    transition: all var(--duration-fast);
}

.dm-post__share-link:hover {
    background: var(--dm-teal);
    color: var(--bg-primary);
}

/* --- Ghost Koenig Editor Width Classes --- */
.dm-content .kg-width-wide {
    margin-left: calc(-1 * var(--space-xl));
    margin-right: calc(-1 * var(--space-xl));
    max-width: calc(100% + var(--space-xl) * 2);
    width: calc(100% + var(--space-xl) * 2);
}

.dm-content .kg-width-full {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.dm-content .kg-width-wide img,
.dm-content .kg-width-full img {
    width: 100%;
}

/* --- Service CTA (tag-based) --- */
.dm-post__service-cta {
    padding: var(--space-xl) 0;
}

.dm-post__service-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(var(--dm-teal-rgb), 0.08), rgba(var(--dm-teal-rgb), 0.02));
    border: 1px solid rgba(var(--dm-teal-rgb), 0.2);
    border-radius: var(--radius-xl);
}

.dm-post__service-cta-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.dm-post__service-cta-text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
}

@media (max-width: 768px) {
    .dm-post__service-cta-inner {
        flex-direction: column;
        text-align: center;
        align-items: stretch;
    }

    .dm-post__service-cta-text {
        max-width: none;
    }

    .dm-post__service-cta-inner .dm-btn {
        width: 100%;
        justify-content: center;
    }
}
