/**
 * Release Notes styles
 *
 * Styles for the release notes archive and single templates. Each entry
 * represents a month and its body holds grouped change sections.
 *
 * @package Isomate_SaaS
 * @since 1.0.0
 */

.release-notes-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.release-notes-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.release-notes-description {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.release-notes-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
}

.release-note-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 28px;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.release-note-card:hover {
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    transform: translateY(-2px);
}

.release-note-month-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6e49cb;
    background: #f3effc;
    border-radius: 999px;
    padding: 3px 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.release-note-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.release-note-card-title a {
    color: #111827;
    text-decoration: none;
}

.release-note-card-title a:hover {
    color: #6e49cb;
}

.release-note-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
}

.release-note-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: #6e49cb;
    text-decoration: none;
}

.release-note-read-more:hover {
    text-decoration: underline;
}

.release-note-read-more .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Single release note */
.single-release-note .release-note-single-header {
    max-width: 820px;
    margin: 0 auto 24px;
}

.single-release-note .release-note-single-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 8px 0 0;
}

.single-release-note .release-note-content,
.single-release-note .post-thumbnail {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.single-release-note .post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 24px;
}

/* Grouped change sections within the body. The editor uses <strong> labels
   followed by lists, matching the live release notes structure. */
.single-release-note .release-note-content strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
    margin: 28px 0 8px;
}

.single-release-note .release-note-content ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.single-release-note .release-note-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #374151;
}

.release-note-footer {
    max-width: 820px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.release-note-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #6e49cb;
    text-decoration: none;
}

.release-note-back:hover {
    text-decoration: underline;
}

/* Spacing between the releases list (or pagination) and the CTA section. */
.release-notes-archive .release-notes-list,
.release-notes-archive .pagination {
    margin-bottom: 48px;
}

.release-notes-archive .section-cta {
    margin-top: 64px;
}
