.hero-banner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 800px;
    background-size: cover;
    background-image:
        radial-gradient(75% 75% at 110% 110%, #3aa6ddA6, #3aa6dd73 20%, #3aa6dd40 40%, #3aa6dd1A 60%, #0000 80%),
        radial-gradient(75% 75% at -10% 110%, #facf3e99, #facf3e66 20%, #facf3e38 40%, #facf3e14 60%, #0000 80%),
        radial-gradient(65% 65% at 110% -10%, #e077a166, #e077a140 20%, #e077a11f 40%, #e077a10D 60%, #0000 80%),
        radial-gradient(55% 55% at -10% -10%, #51406429, #5140641A 25%, #5140640D 45%, #0000 75%),
        url('/static/media/icgt/hero-bg.jpg');
}

.hero-main-text h1,
.hero-main-text h2,
.text-extra-info h3{
   margin: 0;
   text-align: center;
}
.hero-main-text{
    margin-bottom:1rem;
}

.hero-main-text,
.text-extra-info {
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    color:var(--color-text-main);
}

.image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-text-contents {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    color: var(--color-text-main);
    position: relative;
    top: 10%;
    z-index: 1;
    gap:2.5rem;
}

.hero-text-contents h1 {
    font-size: 40px;
}

.img-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.image {
    flex: 1 1 auto;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.timer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home-content.mt-1 {
    margin-top: 1.5rem;
}

.conference-image-container {
    display: flex;
    flex-direction: column;
}

#img-slider {
    position: relative;
    min-height: 31rem;
}

#img-slider .slides {
    position: absolute;
    height: 30rem;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

#img-slider .slides.show {
    opacity: 1;
}

#img-slider .slide-btn {
    position: absolute;
    height: 100%;
    width: 5rem;
    z-index: 100;
    background: unset;
    border: none;
    cursor: pointer;
    color: var(--color-text-white);
}

#img-slider .slide-btn.next {
    left: 100%;
    transform: translateX(-100%);
}

#img-slider .slide-btn.prev {
    left: 0;
}

.logo-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border-radius: var(--radius-lg, 8px);
    background-color: var(--color-bg-light);
    box-shadow:  0 3px 8px -4px var(--color-shadow-default);
    backdrop-filter: blur(8px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--color-on-secondary);
    box-shadow: 0 5px 12px -5px var(--color-shadow-default);
}

div.logo-list > a,
.logo-card {
    height: 176px;
    width: 220px;
    text-decoration: none;
    padding: 0.75rem;
    cursor: pointer;
}

div.logo-list > a:hover,
.logo-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-brand-secondary);
    box-shadow: 0 8px 24px var(--color-shadow-default);
}

.logo-card img,
div.logo-list > a img {
    height: 120px;
    width: 100%;
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    transition: transform 0.25s ease;
}

.logo-card:hover img,
div.logo-list > a:hover img {
    transform: scale(1.04);
}

.theme-card {
    flex-direction: column;
    width: 100%;
    height: 176px;
    padding: 0.75rem;
    text-align: center;
}

#post-counter {
    display: none;
}

#notice-ticker {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: var(--gutter-y);
    gap: var(--gutter-x);
    background-color: var(--color-warning);
    color: var(--color-on-warning);
    position: sticky;
    padding: var(--gutter-y) var(--gutter-x);
    bottom: 0;
    left: 0;
    z-index: 1000;
}

#notice-heading {
    font-size: 1.125rem;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

#link-notice-view-all {
    flex: 0 0 auto;
    white-space: nowrap;
    margin-left: auto;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-on-warning);
    text-decoration: none;
}

#notice-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-width: 0;
    gap: 0.25rem;
    margin-bottom: 0.06rem;
    flex: 1;
    color: var(--color-on-warning);
    cursor: pointer;
}

#notice-content #notice-title {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    line-height: 1.2;
}

#notice-content:hover #notice-title {
    font-weight: 600;
}

#notice-content #notice-date {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    background-color: var(--color-brand-primary-container);
    color: var(--color-text-white);
    padding: 0.125rem 0.5rem;
    border-radius: 0.22rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    text-align: justify;
    align-items: start;
    gap: 1rem;
    color: var(--color-brand-primary);
}

.about-section div {
    padding: 1rem;
}

.about-section p {
    text-align: left;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.about-section > div {
    animation: fadeInTab 0.5s ease-in-out;
    height: auto;
}

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

.intro-part {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#keydates-part {
    padding-left: 2rem;
    display: none;
}

#schedule-container {
    overflow: hidden;
    overflow-y: auto;
}

.pull-quote {
    width: fit-content;
    padding: 0.8rem 0.6rem;
    border-left: 8px solid var(--color-brand-accent);
    color: var(--color-text-main);
}

.section-container {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    border: 0.5px solid var(--color-border-subtle);
    border-radius: 8px;
    margin-bottom:2rem;
    padding:4rem 2rem;
}

.section-sub-heading {
    text-align: center;
    font-weight: 400;
    color: var(--color-text-main);
}

.section-header {
    color: var(--color-brand-primary);
}

.section-header-and-supporting-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-header-and-supporting-info p {
    margin-top:0;
}

.sponsors-additionals {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    gap: 3rem;
}

.sponsors-contact-text {
    margin: 0;
    padding: 0;
    color: var(--color-text-main);
}

.sponsors-email {
    white-space: nowrap;
    color: var(--color-info);
    text-decoration: none;
}

.sponsors-view-all {
    text-decoration: none;
    color: var(--color-text-main);
    white-space: nowrap;
}

.sponsors-view-all:hover {
    color: var(--color-brand-primary-subtle);
}

@media (max-width: 1500px) {
    .about-section {
        flex-direction: column;
    }

    .intro-part {
        border: none;
    }

    .keydates-part {
        padding: 0;
    }
}

@media (max-width: 1350px) {
    #schedule-container {
        grid-column: 1 / -1;
    }

    .hero-text-contents h1 {
        text-align: center;
    }
}

@media (max-width: 915px) {
    .sponsors-additionals {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-size: 14px;
        gap: 1.25rem;
    }
}

@media (max-width: 700px) {
    .countDown {
        font-size: 12px;
    }

    .content {
        display: block;
    }

    .timer-grid {
        width: 80%;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .logo-list {
        max-width: unset;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    div.logo-list > a,
    .logo-card {
        height: 140px;
    }

    div.logo-list > a img,
    .logo-card img {
        height: 90px;
        max-width: 110px;
    }

    #notice-ticker {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    #notice-content {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        height: auto;
        gap: 0.25rem;
    }

    #notice-content #notice-date {
        position: static;
        order: 1;
    }

    #notice-content #notice-title {
        order: 2;
        text-align: center;
    }

    #link-notice-view-all {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .sponsors-contact-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 14px;
        gap: 0.25rem;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .hero-banner {
        padding: 15% 0 15% 0;
    }
}

@media (max-width: 400px) {
    .about-section {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .schedule-card h3 {
        text-align: left;
    }
}
