/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --svt-red: #e02e3d;
    --svt-dark-red: #c41e2e;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-light: #999;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --link-color: #0066cc;
    --link-hover: #004499;
}

body {
    font-family: 'Publik', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
}

/* Skip Navigation */
.skip-nav {
    position: absolute;
    top: -100px;
}

.skip-link {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
}

/* Header */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 3px solid var(--svt-red);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 15px 0;
}

.logo-link {
    display: block;
}

.logo {
    height: 32px;
    width: auto;
}

/* Main Navigation */
.main-nav {
    flex: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: var(--bg-light);
}

.nav-item.active .nav-link {
    background-color: var(--svt-red);
    color: white;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 14px;
    background-color: var(--bg-white);
}

.breadcrumb-link {
    color: var(--link-color);
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-light);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* Main Content */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Article */
.article {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 4px;
}

.article-header {
    margin-bottom: 30px;
}

.article-category {
    margin-bottom: 15px;
}

.category-label {
    display: inline-block;
    color: var(--svt-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-primary);
}

/* Larger title variant */
.article-title-large {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
}

.article-meta {
    margin-bottom: 15px;
}

.publish-date {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-prefix {
    margin-top: 15px;
}

.prefix-badge {
    display: inline-block;
    background-color: var(--svt-red);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
}

/* Featured Media */
.featured-media {
    margin: 30px 0;
}

.video-container {
    position: relative;
    width: 100%;
    background-color: #000;
    border-radius: 4px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-button {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.85);
}

.play-icon {
    color: white;
    font-size: 24px;
    margin-bottom: 5px;
}

.video-duration {
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.media-caption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Article Lead */
.article-lead {
    margin: 30px 0;
    font-size: 18px;
    line-height: 1.7;
}

.article-lead p {
    margin-bottom: 15px;
}

/* Article Body */
.article-body {
    font-size: 18px;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 20px;
}

.inline-link {
    color: var(--link-color);
    text-decoration: underline;
}

.inline-link:hover {
    color: var(--link-hover);
}

/* Verification Cards */
.verification-cards {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.verification-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: transparent;
    transition: opacity 0.2s;
    flex: 1;
    min-width: 250px;
}

.verification-card:hover {
    opacity: 0.8;
}

.card-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

/* CTA Box */
.cta-box {
    background-color: #fff5f5;
    border-left: 4px solid var(--svt-red);
    padding: 25px;
    margin: 30px 0;
    border-radius: 4px;
}

.cta-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--svt-red);
}

.cta-box p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.cta-button {
    background-color: var(--text-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: #333;
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.tag-button {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.tag-button:hover {
    background-color: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

/* Related Section */
.related-section {
    margin: 40px 0;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.related-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-article {
    position: relative;
}

.related-image-wrapper {
    position: relative;
    display: block;
    margin-bottom: 10px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background-color: #000;
}

.related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.video-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.play-icon-small {
    font-size: 10px;
}

.duration {
    font-size: 11px;
}

.related-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px;
    line-height: 1.4;
}

.related-article time {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Article Footer */
.article-footer {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid var(--border-color);
}

.authors {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.author-icon {
    color: var(--text-secondary);
}

.author-name {
    font-weight: 500;
}

.publish-info {
    font-size: 14px;
    color: var(--text-secondary);
}

.publish-info p {
    margin-bottom: 10px;
}

.feedback-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--link-color);
    cursor: pointer;
}

.feedback-icon {
    font-size: 16px;
}

/* Transparency Box */
.transparency-box {
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 4px;
}

.transparency-box h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.transparency-box p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 4px;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

/* Rapport Section */
.rapport-section {
    padding: 0;
}

.rapport-header {
    padding: 20px 20px 15px;
}

.rapport-card {
    position: relative;
}

.rapport-image {
    width: 100%;
    height: auto;
    display: block;
}

.rapport-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--svt-red);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
}

.video-badge-large {
    position: absolute;
    bottom: 80px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.play-icon-large {
    font-size: 12px;
}

.duration-large {
    font-size: 12px;
}

.rapport-info {
    padding: 15px 20px 20px;
}

.rapport-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.rapport-time {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Most Read List */
.most-read-list {
    list-style: none;
    counter-reset: item;
}

.most-read-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    counter-increment: item;
    position: relative;
}

.most-read-item:last-child {
    border-bottom: none;
}

.most-read-item::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 15px;
    font-size: 24px;
    font-weight: 700;
    color: var(--border-color);
    width: 30px;
}

.most-read-thumb {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-left: 40px;
}

.most-read-content {
    flex: 1;
}

.most-read-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
}

.video-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 6px;
    border-radius: 2px;
    font-size: 11px;
}

.play-icon-tiny {
    font-size: 8px;
}

.duration-tiny {
    font-size: 10px;
}

/* Text List */
.text-list {
    list-style: none;
    counter-reset: item;
}

.text-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    counter-increment: item;
}

.text-list-item:last-child {
    border-bottom: none;
}

.list-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--border-color);
    min-width: 25px;
}

.text-list-item::before {
    content: counter(item);
}

.text-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.text-link:hover {
    color: var(--link-color);
}

/* Story Grid Section */
.story-grid-section {
    background-color: var(--bg-white);
    padding: 60px 20px;
    margin-top: 40px;
}

.story-grid-container {
    max-width: 1280px;
    margin: 0 auto;
}

.story-grid-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.story-grid-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-align: center;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.story-card {
    position: relative;
    background-color: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s;
}

.story-card:hover {
    transform: translateY(-4px);
}

.story-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.video-badge-card {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.story-content {
    padding: 20px;
}

.story-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.story-prefix {
    font-size: 12px;
    font-weight: 700;
    color: var(--svt-red);
    margin-bottom: 8px;
}

.story-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.story-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--link-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.story-link:hover {
    text-decoration: underline;
}

/* More Articles Section */
.more-articles-section {
    background-color: var(--bg-light);
    padding: 40px 20px;
}

.more-articles-container {
    max-width: 1280px;
    margin: 0 auto;
}

.more-column {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 4px;
}

.column-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.article-list {
    list-style: none;
}

.article-list-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.article-list-item:last-child {
    border-bottom: none;
}

.list-image {
    width: 150px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.list-content {
    flex: 1;
}

.list-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.list-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article {
        padding: 20px;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-title-large {
        font-size: 36px;
        line-height: 1.2;
        font-weight: 800;
    }
    
    /* Switch to vertical list layout on mobile */
    .related-articles {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .related-article {
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }
    
    .related-image-wrapper {
        width: 160px;
        flex-shrink: 0;
        margin-bottom: 0;
        aspect-ratio: 16 / 9;
    }
    
    .related-title {
        font-size: 15px;
    }
    
    .verification-cards {
        flex-direction: column;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .nav-list {
        flex-direction: column;
    }
}

/* Registration Form Styles */
.registration-form-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    text-align: center;
}

.form-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px;
    text-align: center;
}

.lead-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--svt-red);
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-code {
    background-color: #e9ecef;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.phone-input-wrapper input {
    flex: 1;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

.submit-button {
    width: 100%;
    background-color: var(--svt-red);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #c41e1e;
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Mind Flux clickable link */
.mind-flux-link {
    color: var(--svt-red);
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.mind-flux-link:hover {
    opacity: 0.8;
}

/* Locked Content Overlay */
.locked-content {
    position: relative;
}

.locked-content.locked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 30%,
        rgba(255, 255, 255, 0.95) 70%,
        rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 10;
}

.locked-content.locked {
    max-height: 400px;
    overflow: hidden;
}

/* Lock entire page scrolling */
body.content-locked {
    overflow: hidden !important;
    height: 100vh;
}

body.content-locked .article {
    max-height: 100vh;
    overflow-y: auto;
}

/* Hide everything below the locked content */
.locked-content.locked ~ * {
    display: none !important;
}

/* Hide lockable sections when body is locked */
body.content-locked .lockable-section,
body.content-locked .more-articles-section,
body.content-locked .site-footer,
body.content-locked #more-articles,
body.content-locked #site-footer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Also hide main's siblings when locked */
body.content-locked main ~ * {
    display: none !important;
}

/* Smooth transition when unlocking */
.locked-content {
    transition: max-height 0.5s ease-out;
}

body {
    transition: overflow 0.3s ease;
}

/* Video Emphasis - Pulsing Border */
.video-container.emphasize {
    animation: pulse-border 2s ease-in-out infinite;
    border: 3px solid transparent;
    border-radius: 8px;
    box-shadow: 0 0 0 0 rgba(226, 0, 26, 0.7);
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(226, 0, 26, 0.7);
        border-color: rgba(226, 0, 26, 0.5);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(226, 0, 26, 0);
        border-color: rgba(226, 0, 26, 1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(226, 0, 26, 0);
        border-color: rgba(226, 0, 26, 0.5);
    }
}

/* Unlock Message */
.unlock-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--svt-red);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease-out;
    cursor: pointer;
}

.unlock-message:hover {
    background: #c00016;
}

@keyframes slideUp {
    from {
        bottom: -100px;
        opacity: 0;
    }
    to {
        bottom: 20px;
        opacity: 1;
    }
}

/* Confirmation Modal */
.confirmation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirmation-modal {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 48px;
    color: white;
    font-weight: bold;
}

.confirmation-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.confirmation-message {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
    font-weight: 600;
}

.confirmation-submessage {
    font-size: 16px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 30px;
}

.confirmation-button {
    background: var(--svt-red);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.confirmation-button:hover {
    background: #c00016;
}

@media (max-width: 480px) {
    .confirmation-modal {
        padding: 30px 20px;
    }
    
    .confirmation-title {
        font-size: 24px;
    }
    
    .confirmation-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
}

/* Toggleable Articles Section */
.related-articles-section {
    background-color: #f5f5f5;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.related-articles-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--svt-red);
}

.toggle-article {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.toggle-article:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toggle-article-btn {
    width: 100%;
    background-color: white;
    border: none;
    padding: 18px 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: background-color 0.2s;
}

.toggle-article-btn:hover {
    background-color: #f9f9f9;
}

.toggle-icon {
    color: var(--svt-red);
    font-size: 14px;
    transition: transform 0.3s;
    display: inline-block;
    min-width: 14px;
}

.toggle-article.active .toggle-icon {
    transform: rotate(90deg);
}

.toggle-title {
    flex: 1;
    line-height: 1.4;
}

.toggle-article-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 20px;
}

.toggle-article.active .toggle-article-content {
    max-height: 5000px;
    padding: 20px;
    transition: max-height 0.6s ease-in;
}

.toggle-article-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 25px 0 15px;
}

.toggle-article-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.toggle-article-content ul,
.toggle-article-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.toggle-article-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.toggle-article-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    /* Header Mobile Fixes - Compact */
    .site-header {
        padding: 15px 0;
        border-bottom: 3px solid var(--svt-red);
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .logo-nav-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }
    
    .site-logo {
        font-size: 32px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .site-logo .logo-svt {
        font-size: 32px;
        line-height: 1;
    }
    
    .site-logo .logo-nyheter {
        font-size: 22px;
        line-height: 1;
    }
    
    /* Hide navigation on mobile */
    .main-nav {
        display: none;
    }
    
    /* Breadcrumb Mobile */
    .breadcrumb {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    /* Main Content Mobile */
    .main-content {
        padding: 15px 0;
    }
    
    .content-wrapper {
        padding: 0 15px;
    }
    
    /* Article Mobile */
    .article {
        padding: 20px 15px;
    }
    
    .article-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .article-title-large {
        font-size: 32px;
        line-height: 1.25;
        font-weight: 800;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* Related Articles Mobile */
    .related-articles-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .related-articles-title {
        font-size: 20px;
    }
    
    .toggle-article-btn {
        padding: 15px;
        font-size: 15px;
    }
    
    .toggle-article-content {
        padding: 0 15px;
    }
    
    .toggle-article.active .toggle-article-content {
        padding: 15px;
    }
    
    .toggle-article-content h3 {
        font-size: 18px;
    }
    
    .toggle-article-content h4 {
        font-size: 16px;
    }
    
    .toggle-article-content p {
        font-size: 15px;
    }
    
    /* Form Mobile */
    .registration-form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-title {
        font-size: 22px;
    }
    
    /* Video Player Mobile */
    .media-container {
        margin: 15px 0;
    }
    
    /* Footer Mobile */
    .site-footer {
        padding: 30px 15px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
}

@media (max-width: 480px) {
    /* Extra Small Screens */
    .site-logo {
        font-size: 24px;
    }
    
    .site-logo .logo-svt {
        font-size: 24px;
    }
    
    .site-logo .logo-nyheter {
        font-size: 18px;
    }
    
    .article-title {
        font-size: 20px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .registration-form-container {
        padding: 20px 15px;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .submit-button {
        padding: 14px;
        font-size: 15px;
    }
}
