/* HSDD Single — Clean */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.hsdd-single--clean {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #1d1d1f;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.hsdd-single__hero {
    width: 100%;
    max-height: 560px;
    overflow: hidden;
    background: #f5f5f7;
}

.hsdd-single__hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
}

.hsdd-single--clean .hsdd-single__wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    display: flex;
    gap: 48px;
}

.hsdd-single--clean:not(.hsdd-single--has-sidebar) .hsdd-single__wrap {
    max-width: 720px;
}

.hsdd-single__article {
    flex: 1;
    min-width: 0;
}

.hsdd-single--clean.hsdd-single--has-sidebar .hsdd-single__article {
    flex: 7;
}

.hsdd-single__header {
    margin-bottom: 40px;
}

.hsdd-single__title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.hsdd-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #86868b;
}

.hsdd-single__cat {
    padding: 2px 10px;
    background: #f5f5f7;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Content */

.hsdd-single__content {
    font-size: 17px;
    line-height: 1.75;
    color: #333;
}

.hsdd-single__content p {
    margin: 0 0 1.5em;
}

.hsdd-single__content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 2em 0 0.8em;
    color: #1d1d1f;
}

.hsdd-single__content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 1.8em 0 0.6em;
    color: #1d1d1f;
}

.hsdd-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5em 0;
}

.hsdd-single__content blockquote {
    margin: 1.5em 0;
    padding: 16px 24px;
    border-left: 3px solid #1d1d1f;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

.hsdd-single__content ul,
.hsdd-single__content ol {
    padding-left: 1.5em;
    margin: 0 0 1.5em;
}

.hsdd-single__content a {
    color: #06c;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.hsdd-single__content a:hover {
    color: #004c99;
}

/* Navigation */

.hsdd-single__nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
}

.hsdd-single__nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    max-width: 48%;
}

.hsdd-single__nav-link small {
    font-size: 12px;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hsdd-single__nav-link span {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    transition: color 0.2s;
}

.hsdd-single__nav-link:hover span {
    color: #06c;
}

.hsdd-single__nav-link--next {
    margin-left: auto;
    text-align: right;
}

/* Sidebar */

.hsdd-single--clean .hsdd-single__sidebar {
    flex: 3;
    min-width: 0;
}

.hsdd-single--clean .hsdd-single__cta {
    background: #f5f5f7;
    border-radius: 10px;
    padding: 28px 24px;
    margin-bottom: 24px;
}

.hsdd-single--clean .hsdd-single__cta-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1d1d1f;
}

.hsdd-single--clean .hsdd-single__cta-subtitle {
    font-size: 14px;
    color: #86868b;
    margin: 0 0 12px;
}

.hsdd-single--clean .hsdd-single__cta-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.hsdd-single--clean .hsdd-single__cta-text p:last-child {
    margin-bottom: 0;
}

.hsdd-single--clean .hsdd-single__cta-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #1d1d1f;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background .2s;
}

.hsdd-single--clean .hsdd-single__cta-btn:hover {
    background: #333;
}

@media (max-width: 768px) {
    .hsdd-single--clean .hsdd-single__wrap {
        flex-direction: column;
        padding: 32px 16px 60px;
    }
    .hsdd-single__nav {
        flex-direction: column;
    }
    .hsdd-single__nav-link {
        max-width: 100%;
    }
}
