* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Inter';
    color: #121010; 
    overflow-x: hidden;
    background: #F5F5F5;
}

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

.topics-section .container,
.program-section .container,
.dates-section .container,
.speakers-section .container,
.committee-section .container,
.previous-section .container,
.info-section .container {
    max-width: 1280px;
}

.program-section{
    padding-top:0px !important;
}

.header {
    background: #fff;
    padding: 24px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16); 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    max-width: 300px;
}

.logo-image {
    width: 140px;
    height: 48px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    flex-shrink: 1;
    min-width: 0;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #DC143C; 
    letter-spacing: 2px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 10px;
    color: #DC143C; 
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 64px;
}

.nav-link {
    text-decoration: none;
    color: #014081;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #1754D9;
    font-weight: 600;
}

.nav-link:active {
    font-weight: 500;
}


.nav-link.alwaysorange{
    color: #FF8112;
}

.nav-link.alwaysorange:hover {
    font-weight: 600;
}

.nav-link.alwaysorange:active {
    font-weight: 500;
}


.hero {
    position: relative;
    min-height: 720px;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(1, 64, 129, 0.8), rgba(1, 64, 129, 0.8));
    background-size: 1920px 720px;
    background-position: center top;
    background-repeat: no-repeat;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #01408166;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-badge {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 3px;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 0px 4px 14px #000000B2;
}

.hero-title {
    line-height: 1.4;
    display: flex;
    flex-direction: column; /* Ставим строки друг под друга */
    align-items: center;    /* Центрируем каждую строку по горизонтали */
    text-align: center;
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0px 4px 14px #000000B2;

}

.hero-title-orange {
    color: #FF8112;
    white-space: nowrap;
    display: inline-block; 
}

.hero-description {
    margin-top: 24px;
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 0px 4px 14px #000000B2;
}

.hero-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    font-size: 20px;
    text-shadow: 0px 4px 14px #000000B2;
}

.hero-date,
.hero-location {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.hero-icon {
    font-size: 18px;
}

.hero-icon-location {
    font-size: 18px;
    color: #DC143C;
}

.btn-primary {
    display: inline-block;
    background: #FF8112; 
    color: #fff;
    padding: 17px 44px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 500; 
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(255, 129, 18, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    font-weight: 500; 
    box-shadow: 0 4px 40px #0000003D;
}

.btn-primary:active {
    font-weight: 500; 
    box-shadow: 0px 2px 4px 0px #00000029 inset;
}


.btn-secondary {
    display: inline-block;
    background: #FFFFFF;
    color: #014081;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #014081;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(1, 64, 129, 0.05);
    font-weight: 600;
}

.section {
    padding: 80px 0;
}

.section-title {
    line-height: 1;
    font-size: 40px;
    font-weight: 700; /* Bold */
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background: #FF8112;
    margin: 24px auto 0;
}

.section-title-white {
    color: #fff;
}

.section-title-white::after {
    background: #FF8112;
}

.dates-section .section-title {
    color: #fff;
}

.dates-section .section-title::after {
    background: #FF8112;
}

.topics-content {
    margin: 0 auto;
    text-align: left;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.program-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 13px 30px;
    border: 2px solid #014081;
    background: transparent;
    color: #014081;
    font-size: 18px;
    font-weight: 500; 
    cursor: pointer;
    border-radius: 24px;
    transition: all 0.3s;
}


.tab-btn.active {
    background: #014081;
    color: #fff;
    border-color: #014081;
    font-weight: 500; 
}


.program-day {
    display: none;
}

.program-day.active {
    display: block;
}

.program-item {
    display: flex;
    flex-direction: column;
    padding: 48px;
    border-radius: 32px; 
    background: #fff; 
    box-shadow: 0px 2px 24px 0px #00000014;
}

hr{
    margin: 16px 0 35px;
}

.program-item hr:last-child{
    margin-bottom: 0 !important;
}

.program-dab{
    display: flex;
    gap: 64px;
}

.program-time {
    font-size: 20px;
    font-weight: 700; 
    color: #FF8112; 
}

.program-title {
    font-size: 20px; 
    font-weight: 700;
    margin-bottom: 8px;
    color: #014081;
}

.program-subtitle {
    font-size: 16px; 
    font-weight: 400;
}

.dates-section {
    color: #fff;
}
.section.dates-section{
    padding-top: 0px;
}

.dates-container {
    background: #014081; 
    border-radius: 32px; 
    padding: 50px 110px;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.dates-grid {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.date-card {
    flex: 1;
    min-width: 250px;
    text-align: left;
    padding: 0;
}

@media (max-width: 968px) {
    .dates-grid {
        flex-direction: column;
    }
    
    .date-card {
        min-width: 100%;
    }
}

.date-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #FF8112;
}

.date-label {
    font-size: 20px; 
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.date-description {
    font-size: 18px; 
    font-weight: 400; 
    color: #8D8D8D; 
    line-height: 1.6;
}

.dates-disclaimer-box {
    max-width: 1060px;
    margin: 0 auto;
    padding: 23px 0;
    border-radius: 24px;
    background: #FFFFFF;
    border: 2px dashed #1754D9; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.dates-disclaimer {
    text-align: center;
    color: #1754D9;
    font-size: 20px; 
    font-weight: 400;
}

.speakers-grid {
    display: flex;
    justify-content: center;
    gap: 196px;
    flex-wrap: wrap;
}

.section.speakers-section{
    padding-top: 0px;
}

.speaker-card {
    text-align: center;
    max-width: 250px;
}

.speaker-link {
    display: block;
    text-decoration: none;
}

.speaker-image {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 8px solid white; 
    box-sizing: border-box;
    cursor: pointer;
    transition: border 0.3s ease, transform 0.3s ease;
}

.speaker-link:hover .speaker-image {
    border: 8px solid #FF8112; 
    transform: scale(1.02); 
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ss {
    object-position: 63% center; 
}

.ff {
    object-position: 30% center; 
}

.speaker-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #014081;
    line-height: 1;
}

.speaker-affiliation {
    font-size: 16px;
    font-weight: 400;
}

.section.committee-section{
    padding-top: 0;
}

.committee-content {
    margin: 0 auto;
    text-align: left;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    color: black;
}

.committee-content p strong {
    font-weight: 700;
}

.previous-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

@media (max-width: 968px) {
    .previous-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .previous-grid {
        grid-template-columns: 1fr;
    }
}
.section.previous-section{
    padding-top: 0;
}

.previous-card {
    border-radius: 24px;
    overflow: hidden;
    background: #FFFFFF; 
    transition: box-shadow 0.3s;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08); 
}

.previous-image {
    width: 100%;
    height: 168px;
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
}

.previous-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.previous-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s;
}

.previous-image:hover::after {
    opacity: 0;
}

.previous-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.speaker { display: inline; }

/* H4: 20/Bold */
.previous-title {
    padding: 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.previous-speakers {
    padding: 0 16px 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.section.info-section{
    padding-top: 0;
}
.info-section {
    background: #F5F5F5;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin: 0 auto;
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.accordion {
    border-radius: 24px; 
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 2px 24px 0px #00000014;
}

.accordion-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff; 
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}

.accordion-header span:first-child {
    flex: 1;
}

.accordion-icon {
    transition: transform 0.3s;
    color: #014081; 
    font-size: 14px;
}

.accordion.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion.active .accordion-content {
    max-height: 1000px;
}

.accordion-content p {
    padding: 0 24px 40px 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.accordion-content a {
    color: #1754D9; 
    text-decoration: underline;
}


.footer {
    background: #014081;
    color: #fff;
    padding: 38px 0 42px 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}


.footer-contact a {
    color: #FF8112;
    text-decoration: underline;
}


@media (max-width: 768px) {
    .header-content {
        gap: 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-title {
        font-size: 32px;
        font-weight: 700; 
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-details {
        flex-direction: column;
        gap: 16px;
    }

    .section-title {
        font-size: 28px;
        font-weight: 700; 
    }

    h3, .h3 {
        font-size: 24px;
        font-weight: 700; 
    }

    .program-title,
    .previous-title {
        font-size: 18px;
        font-weight: 700; 
    }

    .topics-content,
    .committee-content {
        font-size: 18px;
        font-weight: 400; 
    }

    .btn-primary,
    .btn-secondary,
    .btn-tertiary,
    .tab-btn {
        font-size: 16px;
        font-weight: 500; 
    }

    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-tertiary:hover,
    .tab-btn:hover {
        font-weight: 600; 
    }

    .date-label,
    .accordion-header {
        font-size: 18px;
        font-weight: 700; 
    }

    .date-description,
    .program-subtitle,
    .previous-speakers,
    .accordion-content p {
        font-size: 16px;
        font-weight: 400; 
    }

    .program-item {
        flex-direction: column;
        gap: 15px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .dates-grid {
        grid-template-columns: 1fr;
    }

    .speakers-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
        font-weight: 700; 
        text-shadow: 0px 2px 8px 0px #00000099;
    }

    .section-title {
        font-size: 28px;
        font-weight: 700; 
    }

    .tab-btn {
        padding: 9px 24px;
        font-size: 16px;
        font-weight: 500;
    }

    .nav-link{
        display: none;
    }

    .nav-link.alwaysorange{
        display: block;
    }
    
    .logo-image{
        height: 39px;
    }

    .hero-badge{
        font-size: 18px;
    }
    
    .hero-title-orange{
        white-space: wrap;
    }

    .header{
        padding: 18px 0;
    }

    .hero-content{
        padding: 48px 0 94px;
    }

    .hero-description{
        margin-bottom: 16px;
    }

    .hero-details{
        margin-bottom: 24px;
    }

    .btn-primary{
        padding: 14px 24px;
    }

    .section{
        padding: 48px 0;
    }

    .section-title{
        margin-bottom: 24px;
    }

    .topics-content{
        font-size: 14px;
        line-height: 1.3;
    }
    
    .hero{
        min-height: 570px;
    }

    .program-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .program-tabs::-webkit-scrollbar {
        display: none;
    }

     .program-section .container {
        overflow: visible;
    }

    .program-item{
        box-shadow: none;
        background: transparent;
        padding: 16px 16px 48px;
    }

    .program-time{
        font-size: 16px;
    }

    .program-dab{
        gap: 27px;
    }

    .program-title{
        font-size: 16px;
    }

    .program-subtitle{
        font-size: 12px;
    }

    hr{
        margin: 16px 0 24px
    }

    .section.program-section{
        padding-bottom: 0;
    }

    .dates-section .container{
        padding: 0;
    }

    .dates-container{
        padding: 32px 16px;
        border-radius: 0;
    }
    
    .section-title::after{
        width: 48px;
    }

    .date-title{
        font-size: 24px;
    }

    .date-card{
        text-align: center;
    }

    .dates-grid{
        gap: 16px;
    }
    .dates-disclaimer-box{
        padding: 16px;
        line-height: 1.2;
        border-radius: 16px;
    }
    .speaker-image{
        height: 72px;
        width: 72px;
        border-width: 0;
        margin: 0;
    }
    .speaker-card{
        background-color: white;
        display: flex;
        padding: 20px;
        max-width: none;
        border-radius: 16px;
        width: 100%;
        gap: 16px;
        align-items: center;
        box-shadow: 0px 2px 16px 0px #0000000F;
    }
    .speakers-grid{
        gap: 16px;
    }
    .speaker-name{
        font-size: 18px;
    }
    .speaker-affiliation{
        font-size: 14px;
    }
    .speaker-card > div{
        text-align: left;
    }
    .committee-content{
        font-size: 14px;
    }
    .speaker { display: block; }
    .previous-speakers{
        font-size: 14px;
    }
    .previous-image img {
        border-radius: 8px;
        display: block;
        width: 100%;
        height: 150px;
        padding: 0;             
    }
    .previous-image::after{
        display: none;
    }
    .previous-image{
        background: white;
        border-radius: 8px;       
        overflow: visible;         
        padding: 16px 16px 0;     
        height: auto;  
    }
    .previous-title{
        padding: 16px 16px 8px;
    }
    .previous-grid{
        gap: 16px;
    }
    .accordion{
        border-radius: 16px;
    }
    .accordion-header{
        padding: 17px;
    }
    .accordion-content p{
        font-size: 12px;
        padding: 0 16px 24px;
    }
    .accordion-content p b{
        font-weight: 400;
    }
    .footer-text{
        font-size: 12px;
        gap: 16px;
    }
    .footer{
        padding: 24px 0;
    }
}
