/* About page styles extracted from style.css */
h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 400 !important;
    font-family: "Edu TAS Beginner", cursive !important;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
    font-family: "Open Sans", sans-serif !important;
}

.my-6 {
    margin-top: 6rem;
}

.py-6 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.wow,
.animated {
    animation-duration: 2s !important;
}

/* Buttons used by the About page and footer */
.btn.btn-primary {
    border: 0;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

.btn {
    font-weight: 600;
    transition: 0.5s;
}

.btn-sm-square {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* About page navbar */
.nav-bar {
    background: var(--bs-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-weight: 600;
    font-size: 17px;
    transition: 0.5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f282";
    font-family: "bootstrap-icons";
    font-weight: normal;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/* Event-at-a-glance video */
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: transparent;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}

/* Footer link behavior retained from style.css */
.footer .footer-item a.text-body:hover {
    color: var(--bs-primary) !important;
}

/* Generic rules from style.css that also match elements on this page */
.badge {
    background: #e8f0fe;
    color: #0b63ce;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-block;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #0056b3;
}

/* Scoped schedule component: every selector starts with .new-schedule-section */
.new-schedule-section {
    --new-primary: #0d81c0;
    --new-dark: #292929;
    --new-muted: #7f7f7f;
    --new-border: #d2d2d2;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--new-muted);
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.new-schedule-section *,
.new-schedule-section *::before,
.new-schedule-section *::after {
    box-sizing: border-box;
}

.new-schedule-header {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
}

.new-schedule-title h2 {
    margin: 0 0 12px;
    color: var(--new-dark);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
}

.new-schedule-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.new-download-btn,
.new-theme-btn {
    display: inline-block;
    border: 0;
    background: var(--new-primary);
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    border-radius: 2px;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
    white-space: nowrap;
}

.new-download-btn:hover,
.new-theme-btn:hover {
    background: var(--new-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.new-theme-btn.new-dull {
    background: var(--new-border);
    color: var(--new-dark);
}

.new-schedule-box {
    position: relative;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.new-tab-buttons {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #d0d0d0;
}

.new-tab-btn {
    position: relative;
    flex: 1;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    border-right: 1px solid #d0d0d0;
    color: var(--new-dark);
    background: #f7f7f7;
    transition: all 300ms ease;
    user-select: none;
}

.new-tab-btn:last-child {
    border-right: 0;
}

.new-tab-btn:hover,
.new-tab-btn.new-active {
    background: var(--new-primary);
    color: #fff;
}

.new-tab-day {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.new-tab-date {
    display: block;
    font-size: 13px;
    opacity: 0.9;
}

.new-tab-curve {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: all 300ms ease 200ms;
}

.new-tab-btn:hover .new-tab-curve,
.new-tab-btn.new-active .new-tab-curve {
    bottom: -19px;
    opacity: 1;
}

.new-tab-curve::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-top-color: var(--new-primary);
}

.new-tabs-box {
    position: relative;
}

.new-tab {
    display: none;
    position: relative;
    padding: 40px 20px;
}

.new-tab.new-current {
    display: block;
}

.new-hour-box {
    position: relative;
    padding-left: 150px;
    padding-bottom: 20px;
    overflow: hidden;
    font-size: 16px;
    color: var(--new-muted);
}

.new-hour-box::before {
    display: none;
}

.new-hour {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    line-height: 2em;
    color: var(--new-muted);
}

.new-circle {
    position: absolute;
    left: 100px;
    top: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--new-border);
    border-radius: 50%;
    background: #fff;
}

.new-circle span {
    display: block;
    width: 8px;
    height: 8px;
    margin: 6px auto;
    border-radius: 50%;
    background: var(--new-border);
}

.new-hour-box.new-active-box .new-circle {
    border-color: var(--new-primary);
}

.new-hour-box.new-active-box .new-circle span {
    background: var(--new-primary);
}

.new-toggle-btn {
    position: relative;
    top: -4px;
    margin-bottom: 5px;
    cursor: pointer;
}

.new-toggle-btn h3 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-right: 30px;
    color: var(--new-dark);
    font-size: 18px;
    font-weight: 600;
}

.new-toggle-btn h3::after {
    content: "⌄";
    position: absolute;
    right: 0;
    top: -2px;
    width: 30px;
    height: 30px;
    color: var(--new-primary);
    line-height: 28px;
    font-size: 24px;
    text-align: right;
}

.new-toggle-btn.new-active h3::after {
    content: "⌃";
}

.new-content-box {
    display: none;
    position: relative;
    padding-right: 20px;
    line-height: 1.7;
}

.new-content-box.new-collapsed {
    display: block;
}

.new-content-box p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
}

.new-professional {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 16px;
}

.new-prof-info {
    position: relative;
    min-height: 72px;
    padding-left: 95px;
    padding-top: 10px;
    min-width: 250px;
}

.new-prof-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 72px;
    height: 72px;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    overflow: hidden;
    margin: 0;
    background: #f1f1f1;
}

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

.new-prof-title {
    margin: 0 0 7px;
    color: var(--new-dark);
    font-size: 12px;
    font-weight: 400;
}

.new-prof-occup {
    margin: 0;
    color: var(--new-primary);
    font-size: 10px;
    font-weight: 300;
}

.new-event-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 767px) {
    .new-schedule-header,
    .new-professional {
        display: block;
    }

    .new-download-wrap {
        margin-top: 18px;
    }

    .new-tab-buttons {
        display: block;
        border-bottom: 0;
    }

    .new-tab-btn {
        display: block;
        width: 100%;
        border: 1px solid #d0d0d0;
        margin-bottom: 5px;
    }

    .new-tab-curve {
        display: none;
    }

    .new-hour-box {
        padding-left: 40px;
    }

    .new-hour {
        position: relative;
        margin-bottom: 15px;
    }

    .new-circle {
        left: 0;
    }

    .new-content-box {
        padding-right: 0;
    }

    .new-toggle-btn h3 {
        font-size: 15px;
    }

    .new-event-actions {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .new-theme-btn,
    .new-download-btn {
        white-space: normal;
    }
}
.new-toggle-btn h2 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-right: 30px;
    color: var(--new-dark);
    font-size: 22px;
    /* change this number */
    font-weight: 600;
}

/* =========================================
		   SCIENTIFIC COMMITTEE - TWO COLUMNS
		========================================= */

.new-scientific-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    margin-top: 30px;
}

/* Each column */
.new-scientific-column {
    min-width: 0;
}

/* Local Members / International Members */
.new-scientific-heading {
    margin: 0 0 30px;
    padding-bottom: 12px;

    color: var(--new-dark);

    font-size: 22px;
    font-weight: 600;

    border-bottom: 2px solid var(--new-primary);
}

/* Smaller left spacing because column is narrower */
.new-scientific-column .new-hour-box {
    padding-left: 45px;
    padding-bottom: 25px;
}

/* Move circle to left side of each column */
.new-scientific-column .new-circle {
    left: 0;
}

/* Member name */
.new-scientific-column .new-toggle-btn h2 {
    font-size: 19px;
}

/* Details */
.new-scientific-column .new-content-box {
    padding-right: 0;
}

/* Profile section is narrower in two-column layout */
.new-scientific-column .new-professional {
    display: block;
}

/* Profile button below information */
.new-scientific-column .new-event-actions {
    justify-content: flex-start;
    margin-top: 15px;
}

/* =========================================
		   MOBILE
		========================================= */

@media (max-width: 767px) {
    .new-scientific-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .new-scientific-heading {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .new-scientific-column .new-toggle-btn h2 {
        font-size: 18px;
    }
}
.new-scientific-column .new-theme-btn {
    padding: 6px 10px;
    font-size: 10px;
}

.contact-menu {
    position: relative;
    display: inline-block;
}

.contact-toggle {
    padding: 0;
    border: none;
    outline: none;
    color: #000;
    background: transparent;
    font: inherit;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
}

.contact-toggle:hover,
.contact-toggle:focus,
.contact-toggle:active {
    color: #000;
    background: transparent;
    text-decoration: none;
}

.contact-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 9999;
    width: 190px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #0a2825;
    box-shadow: 0 8px 24px rgb(0 0 0 / 15%);
}

.contact-options[hidden] {
    display: none;
}

.contact-options a {
    display: block;
    padding: 11px 12px;
    border-radius: 7px;
    color: #222;
    text-decoration: none;
}

.contact-options a:hover {
    background: #f1f5f9;
}
.col-lg-wide {
    flex: 0 0 auto;
    width: auto;
}
@font-face {
    font-family: "Lora";
    src: url("/repository/fonts/lora-cyrillic-ext-wght-normal.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
