/* Bendri temų puslapių stiliai */

.topic-hero {
    margin-top: 80px;
    min-height: 55vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topic-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.topic-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.topic-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(118, 75, 162, 0.5) 100%);
}

.topic-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.topic-tag-hero {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(102, 126, 234, 0.3);
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #f093fb;
    font-weight: 600;
}

.topic-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.topic-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 3rem 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #f093fb;
}

.article-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
}

.article-content {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding: 3.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.9;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
}

.article-content h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content strong {
    color: #f093fb;
}

.demands-list {
    list-style: none;
    margin: 2rem 0;
}

.demands-list li {
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    background: rgba(102, 126, 234, 0.12);
    border-radius: 15px;
    border-left: 4px solid #667eea;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.demands-list li::before {
    content: '✊';
    flex-shrink: 0;
    font-size: 1.2rem;
}

.quote-block {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    border-left: 4px solid #f093fb;
    background: rgba(240, 147, 251, 0.08);
    border-radius: 0 20px 20px 0;
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.cta-topic {
    text-align: center;
    padding: 6rem 3rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
}

.cta-topic h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-topic p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.related-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 3rem 8rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.related-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.related-card h4 {
    color: #f093fb;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.related-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .topic-hero h1 { font-size: 2.8rem; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .topic-hero h1 { font-size: 2.2rem; }
    .article-content { padding: 2rem; }
    .article-section { padding: 3rem 1.5rem; }
    .related-grid { grid-template-columns: 1fr; }
    .breadcrumb { padding: 1rem 1.5rem 0; }
}
