/* PS Sport Engine Layout - frontend v2.1 */

/* Wrapper */
.psse-article-wrapper {
    max-width: 1160px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111111;
}

/* Header articolo */
.psse-article-header {
    margin-bottom: 20px;
}

.psse-title {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 10px;
}

.psse-subtitle {
    font-size: 17px;
    line-height: 1.5;
    margin: 8px 0 16px;
    color: #444;
    max-width: 80%;
}

.psse-meta-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.psse-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
}

.psse-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.psse-meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.psse-meta-author-name {
    font-weight: 600;
}

.psse-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #999;
}

/* Featured image */
.psse-featured {
    margin-bottom: 24px;
    max-width: 100%;
}

.psse-featured img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.psse-video-badge {
    position: relative;
    margin-top: -40px;
    margin-left: auto;
    margin-right: 16px;
    width: fit-content;
    background: rgba(0,0,0,0.8);
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px 6px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.psse-video-badge-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.psse-video-badge-icon svg {
    width: 9px;
    height: 9px;
}

/* Layout principale */
.psse-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.3fr);
    gap: 40px;
}

/* Corpo articolo */
.psse-article-body {
    font-size: 17px;
    line-height: 1.7;
}

.psse-article-body p {
    margin-bottom: 1.2em;
}

.psse-article-body h2,
.psse-article-body h3,
.psse-article-body h4 {
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    font-weight: 700;
    color: #0b1f3a;
}

.psse-article-body blockquote {
    margin: 1.6em 0;
    padding: 16px 20px;
    border-left: 4px solid #0b1f3a;
    background: #f5f7fa;
    font-style: italic;
}

.psse-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}

/* Punti chiave */
.psse-keypoints-box {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f4f6fb;
    border: 1px solid #e0e3f0;
}

.psse-keypoints-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #0b1f3a;
    margin-bottom: 6px;
}

.psse-keypoints-list {
    padding-left: 16px;
    margin: 0;
}

.psse-keypoints-list li {
    margin-bottom: 4px;
}

/* Sidebar */
.psse-sidebar {
    position: sticky;
    top: 96px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.psse-sidebar-box {
    background: #f7f8fb;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #e1e4ec;
    font-size: 13px;
}

.psse-sidebar-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #0b1f3a;
    margin-bottom: 6px;
    font-weight: 700;
}

.psse-sidebar-content {
    font-size: 14px;
}

/* Ultim'ora list */
.psse-ultimora-item {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7f0;
}

.psse-ultimora-item:last-child {
    border-bottom: none;
}

.psse-ultimora-time {
    font-size: 11px;
    color: #777;
    margin-bottom: 2px;
}

.psse-ultimora-title {
    font-size: 13px;
    font-weight: 700;
}

.psse-ultimora-title a {
    text-decoration: none;
    color: #111;
}

.psse-ultimora-title a:hover {
    text-decoration: underline;
}

/* Correlati */
.psse-related-item {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7f0;
}

.psse-related-item:last-child {
    border-bottom: none;
}

.psse-related-title {
    font-size: 13px;
    font-weight: 600;
}

.psse-related-title a {
    text-decoration: none;
    color: #111;
}

.psse-related-title a:hover {
    text-decoration: underline;
}

/* Footer articolo */
.psse-article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e3e5eb;
    font-size: 14px;
    color: #555;
}

/* Responsive */
@media (max-width: 960px) {
    .psse-title {
        font-size: 28px;
    }
    .psse-article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .psse-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .psse-article-wrapper {
        padding: 16px 20px 32px;
    }
    .psse-title {
        font-size: 22px;
        line-height: 1.25;
    }
    .psse-subtitle {
        font-size: 15px;
        max-width: 100%;
    }
}
