:root {
    --default: #020D20;
    --white: #FFFFFF;
    --black: #000000;
    --red: #ED3237;
    --blue: #5C83C3;
    --gray: rgba(2, 13, 32, 0.47);
    --secondary-bg: #FFF2F2;
    --transition: .3s all ease;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    --card-shadow: 0 8px 32px 0 rgba(2, 13, 32, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter Display", "Arial", "Arimo", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    color: var(--default);
    background-color: var(--white);
}

.wrapper {
    overflow: hidden;
}
.wrapper:has(.sticky) {
    overflow: clip;
}
    
a {
    text-decoration: none;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 0 28px 28px;
    z-index: -1;
    pointer-events: none;
    object-fit: cover;
    object-position: center bottom;
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
}

@media(min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media(min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media(min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media(min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1424px;
    }
}

/* HEADER SECTION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    border-radius: 0 0 22px 22px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        backdrop-filter 0.3s ease,
        border-radius 0.3s ease;
}

.header.fixed {
    background-color: var(--white);
    border-radius: 0 0 22px 22px;
}
.header.header--hidden {
    transform: translateY(-100%);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    transition: padding 0.3s ease;
}

.header.fixed .header-row {
    padding: 20px 0 13px 0;
}

.logo {
    display: inline-block;
}

.logo__img {
    height: 33px;
    display: block;
    object-fit: contain;
    transition: var(--transition);
}
.header.fixed.header-white .logo__img{
    filter: invert(1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 46px;
}

.menu__list {
    display: flex;
    list-style: none;
    gap: 52px;
    align-items: center;
}
.menu__link {
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}
.header-white .menu__link {
    color: var(--white);
}
.header-white.header.fixed .menu__link{
    color: var(--default);
}
.menu__link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    border-radius: 1px;
    transition: var(--transition);
}

.header.fixed .menu__link::after {
    background-color: var(--default);
}

.menu__link:hover::after {
    width: 100%;
}

/* LOGIN BUTTON */
.btn-login {
    display: flex;
    align-items: center;
    gap: 25px;
    background-color: var(--default);
    color: var(--white);
    padding: 4px 39px 4px 5px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.32px;
    transition: var(--transition);
}

.btn-login:hover {
    box-shadow: 0 8px 20px rgba(2, 13, 32, 0.15);
    color: var(--default);
    background-color: var(--white);
}

.btn-login__arrow {
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-login:hover .btn-login__arrow {
    background-color: var(--blue);
    transform: translateX(2px);
}

.btn-login .btn-login__arrow path {
    transition: var(--transition);
}

.btn-login:hover .btn-login__arrow path {
    fill: var(--white);
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 43px;
    height: 43px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--default);
    transition: var(--transition);
}

.hamburger:hover {
    background: var(--white);
    box-shadow: 0 8px 20px rgba(2, 13, 32, 0.15);
}

.hamburger path {
    transition: var(--transition);
}

.hamburger:hover path {
    stroke: var(--blue);
}

.close-menu {
    display: none;
    cursor: pointer;
    width: 43px;
    height: 43px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    transition: var(--transition);
}

.close-menu:hover {
    background: var(--blue);
}

.close-menu path {
    transition: var(--transition);
}

.close-menu:hover path {
    stroke: var(--white);
}

.menu-top {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 30px 0;
}

.menu-bottom {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.menu-bottom .btn-login {
    width: 100%;
    background-color: var(--white);
    color: var(--default);
}

.menu-bottom .btn-login:hover {
    background-color: var(--blue);
    color: var(--white);
}

.menu-bottom .btn-login__text {
    width: 100%;
    text-align: center;
}

.menu-bottom .btn-login .btn-login__arrow {
    background-color: var(--blue);
}

.menu-bottom .btn-login:hover .btn-login__arrow {
    background-color: var(--white);
}

.menu-bottom .btn-login .btn-login__arrow path {
    fill: var(--white);
}

.menu-bottom .btn-login:hover .btn-login__arrow path {
    fill: var(--default);
}

.menu-bottom .footer-bottom-val {
    color: var(--white);
}

@media (max-width: 992px) {
    .header-row {
        padding: 20px 0 0 0;
    }

    .header-right {
        gap: 24px;
    }

    .menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        background-color: var(--default);
        padding: 32px 24px;
        border-radius: 20px 0 0 20px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .menu.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .menu__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .menu__list li {
        width: 100%;
    }

    .menu__link {
        width: 100%;
        display: inline-flex;
        color: var(--white);
    }

    .menu__link:hover {
        color: var(--red);
    }

    .menu__link:hover::after {
        width: 0;
    }

    .menu-top {
        display: flex;
    }

    .close-menu {
        display: flex;
    }

    .menu-bottom {
        display: flex;
        margin: auto 0 0 0;
    }

    .menu-bottom .footer-socials {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .header.fixed {
        border-radius: 0 0 16px 16px;
    }

    .menu {
        border-radius: 16px 0 0 16px;
    }

    .btn-login {
        align-self: auto;
        padding: 4px 20px 4px 5px;
        gap: 12px;
        font-size: 14px;
    }

    .btn-login__arrow {
        width: 28px;
        height: 28px;
    }
}

/* hero */
.hero {
    padding: 84px 0 20px 0;
    position: relative;
}

@media (min-width:1440px) and (max-width:2000px) {
    .hero {
        min-height: 100vh;
    }
}

.hero-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.hero__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 136px 0 0 0;
}

.hero_badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--white);
    align-self: flex-start;
    padding: 13px 20px;
    border-radius: 30px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
}

.hero__title {
    font-family: Arimo;
    font-size: 64px;
    font-weight: 400;
    line-height: 84.748%;
    letter-spacing: -1.92px;
    color: var(--default);
    margin-bottom: 42px;
}

.hero__subtitle {
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
    max-width: 400px;
}

.podcasts {
    margin-top: auto;
}

.podcasts__content {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.podcasts__list {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.podcast-item {
    width: 118px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.podcast-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-radius: 8px;
    background: var(--white);
    transition: var(--transition);
}

.podcasts__title {
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--white);
    margin-bottom: 14px;
    width: 169px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

@media (min-width: 993px) {
    .podcast-item:hover {
        flex: 0 0 auto;
        padding: 0 0 0 17px;
        width: 170px;
    }

    .podcast-item:hover::before {
        width: 7px;
    }

    .podcast-item:hover .podcasts__title {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .podcast-item:hover .podcast-item__img {
        width: 152px;
        height: 105px;
    }

    .podcasts__list:has(.podcast-item:not(:last-child):hover) .podcast-item:last-child {
        width: 68px;
    }

    .podcasts__list:has(.podcast-item:last-child:hover) .podcast-item:first-child {
        width: 68px;
    }
}

.podcast-item__img {
    width: 100%;
    height: 73px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #FFF;
    transition: var(--transition);
    object-fit: cover;
    object-position: center;
}

.podcasts__btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    color: var(--default);
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.32px;
    cursor: pointer;
    margin: 0 0 20px 0;
    text-decoration: none;
}

.hero__right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.card-diagram {
    position: relative;
    display: flex;
}

.card-diagram__img {
    width: 100%;
    height: auto;
}

.card-diagram__svg {
    position: absolute;
    bottom: 37px;
    left: 33px;
    right: 33px;
    z-index: 1;
    width: calc(100% - 66px);
}

.card-diagram__title {
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.48px;
    color: var(--white);
    position: absolute;
    top: 30px;
    left: 30px;
}

/* CARD 2: CHATBOT CARD */
.card-chat {
    display: flex;
    flex-direction: column;
    height: 380px;
}

.card-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(2, 13, 32, 0.05);
    background: rgba(255, 255, 255, 0.2);
}

.card-chat__title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-chat__icon-wrapper {
    width: 32px;
    height: 32px;
    background-color: var(--red);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 10px rgba(237, 50, 55, 0.2);
}

.card-chat__title-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--default);
}

.card-chat__controls {
    display: flex;
    gap: 8px;
}

.card-chat__control-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: rgba(2, 13, 32, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.card-chat__control-btn:hover {
    color: var(--default);
    background-color: rgba(2, 13, 32, 0.05);
}

.card-chat__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Custom Scrollbar for Chat Body */
.card-chat__body::-webkit-scrollbar {
    width: 5px;
}

.card-chat__body::-webkit-scrollbar-track {
    background: transparent;
}

.card-chat__body::-webkit-scrollbar-thumb {
    background: rgba(2, 13, 32, 0.1);
    border-radius: 10px;
}

.card-chat__body::-webkit-scrollbar-thumb:hover {
    background: rgba(2, 13, 32, 0.2);
}

.card-chat__intro {
    text-align: center;
    padding: 0 10px;
}

.card-chat__intro-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--default);
    margin-bottom: 6px;
}

.card-chat__intro-desc {
    font-size: 13px;
    color: rgba(2, 13, 32, 0.55);
    line-height: 1.4;
}

.card-chat__messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* MESSAGE BUBBLES */
.chat-message {
    display: flex;
    width: 100%;
}

.chat-message__bubble {
    padding: 12px 18px;
    font-size: 14px;
    line-height: 1.45;
    max-width: 85%;
    border-radius: var(--border-radius-md);
    position: relative;
    box-shadow: 0 2px 8px rgba(2, 13, 32, 0.02);
    animation: msgReveal 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes msgReveal {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.msg-bot {
    justify-content: flex-start;
}

.msg-bot .chat-message__bubble {
    background-color: var(--white);
    color: var(--default);
    border-top-left-radius: 4px;
    border: 1px solid rgba(2, 13, 32, 0.04);
}

.msg-user {
    justify-content: flex-end;
}

.msg-user .chat-message__bubble {
    background-color: #FFF2F2;
    /* Custom secondary-bg */
    color: var(--default);
    border-top-right-radius: 4px;
    border: 1px solid rgba(237, 50, 55, 0.06);
}

.chat-message__pdf {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.chat-message__pdf-icon {
    color: var(--red);
    display: flex;
    align-items: center;
}

.chat-message__pdf-name {
    font-weight: 500;
    color: var(--default);
    text-decoration: underline;
    cursor: pointer;
}

.chat-message__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 10px;
    color: rgba(2, 13, 32, 0.4);
    margin-top: 4px;
}

.chat-message__status {
    display: flex;
    align-items: center;
    color: var(--blue);
}

/* CHAT FOOTER INPUT BAR */
.card-chat__footer {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(2, 13, 32, 0.05);
    display: flex;
    gap: 12px;
    align-items: center;
}

.card-chat__input {
    flex: 1;
    border: 1px solid rgba(2, 13, 32, 0.08);
    background: var(--white);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    color: var(--default);
    outline: none;
    cursor: default;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.card-chat__input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(92, 131, 195, 0.15);
}

.card-chat__input::placeholder {
    color: rgba(2, 13, 32, 0.35);
}

.card-chat__send-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background-color: var(--default);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card-chat__send-btn:hover {
    background-color: var(--red);
    box-shadow: 0 4px 12px rgba(237, 50, 55, 0.25);
    transform: scale(1.03);
}

.card-chat__send-btn:active {
    transform: scale(0.97);
}

.chekups::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .2);
    pointer-events: none;
    z-index: -1;
}
.chekups .hero__title {
    color: var(--white);
    margin: 0;
}
.chekups .bg-overlay{
    object-position: center 0%;
}
.chekups .hero__left{
    gap: 175px;
}
.chekups .hero__right{
    gap: 175px;
    justify-content: flex-end;
}
.chekups .hero__subtitle{
    color: var(--white);
    margin: 0 0 12px 0;
}
.chekups .hero__desc{
    font-size: 24px;
    font-weight: 500;
    line-height: 110%; /* 26.4px */
    letter-spacing: -0.48px;
    color: var(--white);
    max-width: 421px;
}
.hero-diagrams {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 75px 0 0;
}
.hero-diagram2{
    max-width: 100%;
    height: auto;
}
/* RESPONSIVENESS AND RESPONSIVE BREAKPOINTS */

@media (max-width: 1400px) {
    .hero-row {
        grid-template-columns: calc(52% - 10px) calc(48% - 10px);
    }

    .hero__title {
        font-size: 50px;
    }
}

@media (max-width: 1200px) {
    .podcasts {
        margin-top: 40px;
    }

    .podcasts__content {
        flex-direction: column;
    }

    .podcasts__list {
        width: 100%;
    }

    .card-diagram__title {
        top: 20px;
        left: 20px;
    }

    .card-diagram__svg {
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
    }

    .hero__title {
        font-size: 46px;
    }
}

@media (max-width: 992px) {
    .hero-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .hero__left {
        padding: 0;
    }

    .card-chat {
        height: 360px;
    }

    .hero__title {
        font-size: 42px;
    }

    .podcasts__content {
        align-items: flex-start;
    }

    .podcasts__btn {
        margin: 0;
    }
    .chekups .hero__left {
        gap: 35px;
    }
    .chekups .hero__right {
        gap: 35px;
    }
    .hero-diagrams{
        padding: 0;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 36px;
    }

    .podcasts {
        margin-top: 20px;
    }

    .podcasts__content {
        gap: 16px;
    }
    .chekups .hero__desc {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .podcasts__list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        display: flex;
        width: calc(100% + 24px);
        margin: 0 -12px;
        padding: 0 12px;
    }

    .podcasts__list::-webkit-scrollbar {
        display: none;
    }

    .podcast-item {
        flex: 0 0 110px;
        height: 68px;
    }

    .bg-overlay {
        border-radius: 0 0 16px 16px;
    }
    .hero-diagrams {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .hero-diagram{
        max-width: 100%;
    }
    .chekups .hero__desc {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
        letter-spacing: -0.8px;
        margin-bottom: 24px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .card-chat__header {
        padding: 12px 16px;
    }

    .card-chat__body {
        padding: 16px;
        gap: 16px;
    }

    .card-chat__footer {
        padding: 12px 16px;
        gap: 8px;
    }

    .card-chat__input {
        padding: 10px 12px;
        font-size: 13px;
    }

    .card-chat__send-btn {
        width: 38px;
        height: 38px;
    }

    .card-diagram__title {
        font-size: 16px;
        top: 16px;
        left: 16px;
    }

    .card-diagram__svg {
        bottom: 16px;
        left: 16px;
        right: 16px;
        width: calc(100% - 32px);
    }
}

/* ABOUT & MISSION SECTION */
.about {
    padding: 20px 0 40px 0;
}

.about-row {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.about__left {
    flex: 0 0 48%;
}

.about__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 0 0 0;
}

/* Mission Card Left */
.mission-card {
    position: relative;
    background-color: #EBF0F7;
    border-radius: 22px;
    padding: 31px;
    height: 645px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.mission-card__tag {
    font-size: 20px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.4px;
    margin-bottom: 13px;
    color: var(--gray);
}

.mission-card__title {
    font-size: 20px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
    max-width: 350px;
}

.mission-card__img {
    position: absolute;
    bottom: 0;
    left: 5%;
    height: 98%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    z-index: -1;
    pointer-events: none;
}

.mission-card__btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.mission-card__btn-text {
    height: 50px;
    display: flex;
    padding: 15px 29px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    border: 1px solid var(--red);
    font-family: Arial;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    border-radius: 30px;
    color: var(--red);
}

.mission-card__btn-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border: 1.5px solid #E23D3D;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.mission-card__btn-play svg {
    transform: translateX(1.5px);
}

/* Mission Card Inline Video Player overlay */
.mission-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 22px;
    overflow: hidden;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
}

.mission-video-overlay.active {
    display: flex;
}

.mission-video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mission-video-overlay iframe.mission-video-embed {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Close button on top-right */
.mission-video-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 38px;
    height: 38px;
    background-color: rgba(2, 13, 32, 0.4);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.mission-video-close:hover {
    background-color: rgba(2, 13, 32, 0.6);
    transform: scale(1.05);
}

/* Play/Pause toggle on bottom-left */
.mission-video-toggle {
    position: absolute;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background-color: var(--white);
    border: 1.5px solid #ED3237;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.mission-video-toggle:hover {
    transform: scale(1.05);
    background-color: #FFF5F5;
}

.mission-video-toggle span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-bio__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.doctor-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #F3F5F8;
    border-radius: 30px;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--gray);
}

.doctor-bio__name {
    font-family: Arimo;
    font-size: 64px;
    font-weight: 400;
    line-height: 95%;
    letter-spacing: -1.92px;
    color: var(--default);
    margin-bottom: 27px;
}

.doctor-bio__subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
}

/* Stats Layout */
.doctor-stats {
    display: grid;
    grid-template-columns: 33% 42% 25%;
    align-items: stretch;
    gap: 20px;
}

.doctor-stat-item {
    display: flex;
    flex-direction: column;
    gap: 90px;
    padding: 10px 0;
}

.doctor-stat-item:nth-child(1) {
    align-items: flex-start;
}

.doctor-stat-item:nth-child(2) {
    align-items: center;
}

.doctor-stat-item:nth-child(3) {
    align-items: flex-end;
}

.doctor-stat-item:nth-child(3) .doctor-stat-item__number {
    width: 100%;
    justify-content: center;
}

.doctor-stat-item:not(:last-child) {
    border-right: 2px solid rgba(161, 138, 146, 0.16);
    padding-right: 20px;
}

.doctor-stat-item__number {
    display: flex;
    align-items: baseline;
    letter-spacing: -1.44px;
    color: var(--default);
    line-height: 100%;
}

.doctor-stat-item__number * {
    font-family: Arimo;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 84.748%;
    letter-spacing: -0.4px;
}

.stat-prefix {
    margin-right: 4px;
}

.stat-suffix {
    margin-left: 6px;
}

.doctor-stat-item__label {
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: rgba(2, 13, 32, 0.34);
}

.odometer.odometer-auto-theme,
.odometer {
    font-family: inherit;
    font-weight: 500;
}

@media (max-width: 992px) {
    .about-row {
        flex-direction: column;
        gap: 40px;
    }

    .about__left {
        width: 100%;
    }

    .mission-card {
        height: 400px;
        padding: 36px;
    }

    .mission-card__img {
        left: unset;
        right: 0;
    }

    .mission-card__title {
        font-size: 26px;
    }

    .doctor-bio__name {
        font-size: 42px;
    }

    .about__right {
        padding: 0;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 20px 0;
    }

    .mission-card {
        height: 400px;
        padding: 28px;
    }

    .mission-card__title {
        font-size: 22px;
        max-width: 240px;
    }

    .doctor-bio__name {
        font-size: 38px;
    }

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

    .doctor-stat-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 0;
    }

    .doctor-stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(2, 13, 32, 0.08);
        padding-right: 0;
        padding-bottom: 16px;
    }

    .doctor-stat-item:nth-child(3) .doctor-stat-item__number {
        justify-content: flex-start;
    }

    .mission-card__btn-text {
        padding: 15px 10px;
    }

    .doctor-stat-item__number * {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .mission-card {
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .mission-card {
        padding: 20px;
        height: 360px;
    }

    .mission-card__title {
        font-size: 18px;
        max-width: 200px;
    }

    .mission-card__img {
        height: 80%;
    }

    .doctor-bio__name {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .doctor-bio__subtitle {
        font-size: 16px;
    }

    .doctor-tag {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* PLATFORM STRUCTURE SECTION */
.platform {
    padding: 40px 0 50px 0;
}

.platform-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    margin: 0 0 40px 0;
    text-align: center;
}

.platform-title {
    font-family: Arimo;
    font-size: 59px;
    font-weight: 400;
    line-height: 95%;
    letter-spacing: -1.77px;
    color: var(--default);
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 35px;
    background: rgba(92, 131, 195, 0.12);
    font-size: 18px;
    line-height: 110%;
    letter-spacing: -0.36px;
    color: rgba(2, 13, 32, 0.50);
    padding: 14px 24px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Card General */
.platform-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    padding: 22px;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

.platform-card__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.platform-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.platform-card__title {
    font-family: Arimo;
    font-size: 40px;
    line-height: 84.748%;
    letter-spacing: -0.4px;
}

.platform-card__desc {
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.4px;
    max-width: 340px;
}

/* Custom Platform Button Styles */
.platform-btn {
    display: inline-flex;
    padding: 15px 43px;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    font-size: 20px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.4px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    margin: 20px 0 0 0;
}

.platform-btn:active {
    transform: scale(0.97);
}

.platform-btn--white {
    background-color: var(--white);
    color: var(--default);
}

.platform-btn--white:hover {
    background-color: #F3F5F8;
}

.platform-btn--red {
    background-color: var(--red);
    color: var(--white);
}

.platform-btn--red:hover {
    background-color: var(--red);
}

.platform-btn--blue {
    background-color: var(--blue);
    color: var(--white);
}

.platform-btn--blue:hover {
    background-color: #4B72B2;
}

.platform-btn--black {
    background-color: #020D20;
    color: var(--white);
}

.platform-btn--black:hover {
    background-color: #111E33;
}

.platform-card--video {
    color: var(--white);
}

.platform-card--video .platform-card__title {
    color: var(--white);
}

.platform-card--video .platform-card__desc {
    color: rgba(255, 255, 255, 0.85);
}

/* CARD 2: Articles specific */
.platform-card--articles .platform-card__title {
    color: var(--red);
}

.platform-card--articles .platform-card__desc {
    color: rgba(2, 13, 32, 0.6);
}

/* CARD 3: Cabinet specific (Flex, inline image right) */
.platform-card--cabinet {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    background-color: var(--white);
    border: 2px solid rgba(2, 13, 32, 0.10);
    min-height: auto;
}

.platform-card--cabinet .platform-card__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.platform-card--cabinet .platform-card__title {
    color: var(--default);
}

.platform-card--cabinet .platform-card__desc {
    color: rgba(2, 13, 32, 0.6);
}

.platform-card--cabinet .platform-card__right {
    flex: 0 0 43%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
}

.platform-card__side-img {
    max-width: 100%;
    max-height: 280px;
    height: auto;
    object-fit: contain;
}

/* CARD 4: Checkups specific */
.platform-card--checkups {
    min-height: auto;
}

.platform-card--checkups .platform-card__title {
    color: var(--white);
}

.platform-card--checkups .platform-card__desc {
    color: var(--white);
}

.platform-card--checkups .platform-card__bg-img {
    left: auto;
    right: 0;
    width: auto;
    height: 100%;
    object-fit: contain;
}

.platform-card__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* RESPONSIVE STYLING FOR PLATFORM SECTION */
@media (max-width: 1400px) {
    .platform-card {
        min-height: 300px;
    }

    .platform-card__title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .platform-title {
        font-size: 48px;
    }

    .platform-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .platform-card__title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .platform {
        padding: 50px 0;
    }

    .platform-title {
        font-size: 36px;
    }

    .platform-card--cabinet {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 24px;
    }

    .platform-card--cabinet .platform-card__right {
        justify-content: center;
        width: 100%;
    }

    .platform-card__side-img {
        max-height: 200px;
    }

    .platform-card__buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .platform-card__buttons .platform-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .platform-card {
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .platform-title {
        font-size: 28px;
    }

    .platform-badge {
        font-size: 14px;
        padding: 8px 16px;
    }

    .platform-card {
        padding: 20px;
        min-height: 280px;
    }

    .platform-card__title {
        font-size: 24px;
    }
}

/* GOAL & REVIEWS SECTION */
.goal {
    padding: 150px 0 200px 0;
}

.goal-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.goal-content {
    max-width: 1013px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.goal-text {
    font-family: Arimo;
    font-size: 59px;
    font-weight: 400;
    line-height: 95%;
    letter-spacing: -1.77px;
    color: var(--default);
    margin: 0 0 34px 0;
}

.goal-text span {
    color: var(--red);
}

.goal-subtitle {
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: rgba(2, 13, 32, 0.47);
    margin: 0 0 52px 0;
}

.goal-btn {
    margin: 0;
    min-width: 200px;
}

/* Review Cards positioning and styles */
.goal-cards-container {
    position: static;
    z-index: 3;
}

.goal-card {
    position: absolute;
    width: 325px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(2, 13, 32, 0.08);
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.goal-card:hover {
    animation-play-state: paused;
    box-shadow: 0 25px 60px rgba(2, 13, 32, 0.25);
    z-index: 5;
}

.goal-card__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.goal-card__play {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(2, 13, 32, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.goal-card:hover .goal-card__play {
    transform: scale(1.1);
    background-color: #FFF5F5;
}

@keyframes circular-float {
    0% {
        transform: rotate(0deg) translate(15px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translate(15px) rotate(-360deg);
    }
}

/* Desktop absolute coordinates */
.goal-card--1 {
    left: 0;
    bottom: 20px;
    animation: circular-float 12s linear infinite;
}

.goal-card--2 {
    right: 0;
    top: -80px;
    animation: circular-float 15s linear infinite;
    animation-delay: -5s;
}

.goal-card--3 {
    right: 0;
    bottom: -160px;
    animation: circular-float 18s linear infinite;
    animation-delay: -10s;
}

@media (max-width: 1200px) {
    .goal-card--1 {
        left: 0;
    }

    .goal-card--2 {
        right: 0;
    }

    .goal-card--3 {
        right: 0;
        bottom: -20px;
    }

    .goal-text {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .goal {
        padding: 80px 0;
    }

    .goal-container {
        flex-direction: column;
        gap: 30px;
        min-height: auto;
    }

    .goal-content {
        max-width: 100%;
    }

    .goal-cards-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .goal-card {
        position: static;
        width: calc(33.333% - 14px);
        min-width: 240px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .goal {
        padding: 60px 0;
    }

    .goal-text {
        font-size: 28px;
    }

    .goal-card {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 576px) {
    .goal {
        padding: 40px 0;
    }

    .countdown-wrapper {
        margin: 0 0 20px 0;
    }
}

@media (max-width: 480px) {
    .goal-text {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .goal-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
}

/* LIVE BROADCAST SECTION */
.live {
    padding: 100px 0 40px 0;
}

.live-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.live__left {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.live__right {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    gap: 40px;
    min-width: 0;
}

.live-title {
    font-family: Arimo;
    font-size: 36px;
    font-weight: 400;
    line-height: 95%;
    letter-spacing: -1px;
    color: var(--default);
    margin: 0 0 24px 0;
}

.countdown-wrapper {
    margin: 0 0 46px 0;
}

.countdown {
    display: flex;
    align-items: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-item:first-child {
    margin: 0 30px 0 0;
}

.countdown-separator {
    font-family: Arimo;
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 95%;
    /* 60.8px */
    letter-spacing: -1.92px;
    color: var(--default);
    margin: 0 0 24px 0;
    opacity: 0.8;
}

.countdown-card {
    width: 100px;
    height: 116px;
    background-color: #FFF2F2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arimo;
    font-size: 64px;
    line-height: 95%;
    letter-spacing: -1.92px;
    color: var(--default);
}

.countdown-label {
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
    margin: 8px 0 0 0;
    text-align: center;
}

.live-btn {
    padding: 16px 26px;
}

.live-photo-ring {
    width: 264px;
    height: 264px;
    border-radius: 50%;
    border: 8px solid var(--red);
    padding: 16px;
    background-color: var(--white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.live-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.live-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.4px;
    margin: 0 0 54px 0;
    flex-shrink: 0;
}

.live-badge__icon {
    flex-shrink: 0;
}

.live-details__title {
    font-family: Arimo;
    font-size: 36px;
    line-height: 95%;
    letter-spacing: -1.08px;
    color: var(--default);
    margin: 0 0 20px 0;
    max-width: 100%;
}

.live-details__desc {
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
    max-width: 340px;
    margin: 0;
    word-wrap: break-word;
}

/* Responsive Live Section */
@media (max-width: 992px) {
    .live {
        padding: 70px 0;
    }

    .live-row {
        flex-direction: column;
        gap: 30px;
    }

    .live__left,
    .live__right {
        width: 100%;
        flex: 1;
    }

    .live__left {
        align-items: center;
        text-align: center;
    }

    .live__right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .live {
        padding: 50px 0;
    }

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

    .live-details {
        align-items: center;
    }

    .live-details__desc {
        max-width: 100%;
    }

    .countdown-wrapper {
        margin: 0 0 20px 0;
    }
}

@media (max-width: 576px) {
    .countdown-card {
        width: 70px;
        height: 90px;
        font-size: 48px;
        border-radius: 12px;
    }

    .countdown-separator {
        font-size: 44px;
        margin: 0 8px 20px 0;
    }

    .countdown-item {
        margin-right: 8px;
    }

    .live-title {
        font-size: 26px;
    }

    .live-details__title {
        font-size: 30px;
    }
}

@media (max-width: 400px) {
    .countdown-card {
        width: 58px;
        height: 74px;
        font-size: 36px;
    }

    .countdown-separator {
        font-size: 32px;
        margin: 0 4px 16px 0;
    }

    .countdown-item {
        margin-right: 4px;
    }

    .countdown-label {
        font-size: 13px;
    }
}

/* CLINIC CHECKUP BANNER SECTION */
.clinic-banner {
    padding: 40px 0 60px 0;
}

.clinic-banner-card {
    position: relative;
    background: linear-gradient(108deg, #5C83C3 2.9%, #B2CFFE 60.3%);
    border-radius: 22px;
    overflow: hidden;
    padding: 22px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.clinic-banner__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.clinic-banner__content {
    max-width: 450px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.clinic-banner__title {
    font-family: Arimo;
    font-size: 40px;
    font-weight: 400;
    line-height: 99%;
    letter-spacing: -0.4px;
    color: var(--white);
    margin: 0 0 56px 0;
}

.clinic-banner__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 0 160px 0;
}

.clinic-banner__subtitle {
    font-size: 24px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.48px;
    color: var(--white);
    margin: 0;
}

.clinic-banner__list {
    margin: 0;
}

.clinic-banner__list li {
    position: relative;
    padding-left: 20px;
    font-size: 20px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--white);
    list-style: none;
}

.clinic-banner__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--white);
}

.clinic-banner__footer {
    display: flex;
    align-items: center;
    gap: 32px;
}

.clinic-banner__btn {
    padding: 16px 90px;
    margin: 0;
}

.clinic-banner__location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.clinic-banner__location svg {
    flex-shrink: 0;
}

.clinic-banner__location-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.4px;
}


.checkup-swiper {
    overflow: visible;
    width: 100%;
    margin: 24px 0 0 0;
}

.checkup-swiper .swiper-slide {
    width: 346px;
    height: auto;
}

.checkup-card {
    width: 100%;
    height: 100%;
    padding: 21px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 70px;
    border-radius: 22px;
    background: #EBF0F7;
}

.checkup-card__label {
    font-size: 24px;
    line-height: 130%;
    letter-spacing: -0.48px;
    color: var(--blue);
    margin: 0 0 5px 0;
}

.checkup-card__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -0.48px;
    color: var(--default);
    margin: 0 0 20px 0;
}

.checkup-card__list {
    list-style: disc;
    padding-left: 18px;
    font-size: 16px;
    font-weight: 300;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
}

.checkup-card__btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 10px;
    font-size: 20px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.4px;
    background: var(--blue);
    color: var(--white);
    border-radius: 32px;
    transition: var(--transition);
}

.checkup-card__btn:hover {
    background: var(--white);
    color: var(--default);
}

/* Responsiveness for Clinic Banner */
@media (max-width: 992px) {
    .clinic-banner {
        padding: 50px 0;
    }

    .clinic-banner-card {
        padding: 48px;
        min-height: auto;
    }

    .clinic-banner__title {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .clinic-banner__bg {
        opacity: 0.3;
    }

    .clinic-banner__content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .clinic-banner-card {
        padding: 36px 28px;
    }

    .clinic-banner__title {
        font-size: 32px;
    }

    .clinic-banner__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .clinic-banner__btn {
        width: 100%;
        text-align: center;
    }

    .clinic-banner__location {
        justify-content: center;
    }

    .checkup-swiper .swiper-slide {
        width: 280px;
    }
    .checkup-card{
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .clinic-banner {
        padding: 40px 0;
    }

    .clinic-banner-card {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .clinic-banner__title {
        font-size: 28px;
    }

    .checkup-card {
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .clinic-banner__title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .clinic-banner__subtitle {
        font-size: 18px;
    }

    .clinic-banner__list li {
        font-size: 15px;
    }

    .clinic-banner__info {
        margin-bottom: 40px;
    }

    .clinic-banner__location-text {
        font-size: 16px;
    }
}

/* PUBLICATIONS SECTION */
.publications {
    padding: 50px 0 30px 0;
    border-radius: 28px;
    background: #EBF0F7;
}

.publications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 50px 0;
    gap: 20px;
}

.publications-title {
    font-family: Arimo, sans-serif;
    font-size: 59px;
    font-weight: 400;
    line-height: 95%;
    letter-spacing: -1.77px;
    color: var(--default);
}

.publications-tabs {
    display: inline-flex;
    background-color: var(--white);
    border-radius: 37px;
    padding: 7px;
}
.libry-related .publications-tabs{
    background-color: #F3F5F8;
}
.publications-tab {
    border: none;
    background: none;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
    padding: 16px 33px;
    border-radius: 37px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.publications-tab:active {
    transform: scale(0.97);
}

.publications-tab.active {
    background-color: var(--red);
    color: var(--white);
}

.publications-grid {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.publications-grid.active {
    display: grid;
}


.publication-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: none;
    text-decoration: none;
    cursor: pointer;
}

.publication-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
    background: #f4f7fb;
}

.publication-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.publication-card__title {
    font-family: Arimo, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
    transition: color 0.2s ease;
}

.publication-card__title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.publication-card:hover .publication-card__title,
.publication-card__title-link:hover {
    color: var(--red);
}

.publication-card__desc {
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.3px;
    color: rgba(2, 13, 32, 0.47);
    margin: 6px 0 0 0;
}
.publication-card__duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #FFF;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 6px;
}

.publication-card__tag {
    display: inline-flex;
    align-items: center;
    background: #C8DDF9;
    color: #5C83C3;
    font-size: 14px;
    line-height: 110%;
    letter-spacing: -0.28px;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-weight: 500;
}
.publication-card__tag.red{
    color: var(--red);
    background: rgba(255, 119, 123, 0.42);
}

.publication-card__tag-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.publication-card__tag-row .publication-card__tag {
    margin-bottom: 0;
}

.publication-card__premium-key {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
}

.premium-key-tooltip {
    position: relative;
    cursor: help;
}

.premium-key-tooltip__bubble {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    padding: 8px 12px;
    border-radius: 10px;
    background: #020D20;
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: -0.2px;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(2, 13, 32, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
    z-index: 30;
}

.premium-key-tooltip__bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #020D20;
}

.premium-key-tooltip:hover .premium-key-tooltip__bubble,
.premium-key-tooltip:focus-visible .premium-key-tooltip__bubble {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-2px);
}

.publication-card__premium-key svg {
    display: block;
    width: 18px;
    height: auto;
}

.blog-premium-banner[hidden] {
    display: none !important;
}

.blog-main-points[hidden] {
    display: none !important;
}

.publication-card__meta {
    font-size: 14px;
    line-height: 110%;
    letter-spacing: -0.28px;
    color: rgba(2, 13, 32, 0.47);
    margin: 14px 0 0 0;
}
.publications-load-more {
    display: block;
    width: 100%;
    background-color: var(--white);
    border: none;
    border-radius: 20px;
    padding: 22px 0;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    color: var(--default);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(2, 13, 32, 0.03);
    transition: var(--transition);
    margin: 45px 0 0 0;
}

.publications-load-more:hover {
    color: var(--red);
}

.publications-load-more:active {
    transform: translateY(0);
}

/* Responsiveness for Publications */
@media (max-width: 992px) {
    .publications-header {
        margin-bottom: 36px;
    }

    .publications-title {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .publications-load-more{
        margin: 36px 0 0 0;
    }
}

@media (max-width: 768px) {
    .publications {
        padding: 30px 0;
        border-radius: 16px;
    }

    .publications-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .publications-grid {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .publication-card__media {
        border-radius: 12px;
    }

    .publications-title {
        font-size: 32px;
    }

    .publications-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .publications-load-more {
        padding: 18px 0;
        font-size: 16px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .publications-title {
        font-size: 28px;
    }
}

/* MAP BANNER SECTION */
.map-banner {
    padding: 50px 0;
}

.map-banner-card {
    position: relative;
    background: linear-gradient(231deg, #ED3237 41.75%, #FF777B 129.55%);
    border-radius: 28px;
    overflow: hidden;
    z-index: 1;
}

.map-banner__bg {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.map-banner__dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.map-banner__dots.active path {
    opacity: 0;
}

.map-banner__dots.active path {
    animation: popIn 0.4s ease forwards;
    animation-delay: calc(var(--i) * 0.15s);
}

@keyframes popIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.map-banner__content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 34px;
    box-sizing: border-box;
    z-index: 2;
}

.map-banner__title {
    max-width: 541px;
    font-family: Arimo;
    font-size: 59px;
    font-weight: 400;
    line-height: 99%;
    letter-spacing: -0.59px;
    color: var(--white);
    margin: 0;
}

.map-banner__middle {
    max-width: 200px;
}

.map-banner__desc {
    font-size: 24px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.48px;
    color: var(--white);
    margin: 0 0 46px 0;
}

.map-banner__line {
    width: 62px;
    height: 7px;
    background-color: var(--white);
    border-radius: 8px;
}

.map-banner__btn {
    display: inline-block;
    text-decoration: none;
    background-color: #020D20;
    color: var(--white);
    font-size: 20px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.4px;
    border: none;
    border-radius: 30px;
    padding: 21px 99px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.map-banner__btn:hover {
    transform: scale(1.03);
    background-color: #0c182d;
}

.map-banner__btn:active {
    transform: scale(0.98);
}

@media (max-width: 992px) {
    .map-banner {
        padding: 30px 0 40px 0;
    }

    .map-banner-card {
        z-index: 1;
    }

    .map-banner__bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }

    .map-banner__content {
        position: static;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 32px;
        padding: 48px 36px;
    }

    .map-banner__title {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .map-banner__middle {
        max-width: 100%;
    }

    .map-banner__desc {
        font-size: 18px;
        margin-bottom: 16px;
    }
}

@media (max-width: 576px) {
    .map-banner {
        padding: 20px 0;
    }

    .map-banner-card {
        border-radius: 16px;
    }

    .map-banner__content {
        padding: 20px 16px;
        gap: 24px;
    }

    .map-banner__title {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .map-banner__btn {
        width: 100%;
        text-align: center;
        padding: 16px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .map-banner__title {
        font-size: 24px;
    }

    .map-banner__desc {
        font-size: 15px;
    }
}

/* FAQ ACCORDION SECTION */
.faq {
    padding: 0 0 33px 0;
    background-color: var(--white);
}

.faq__title {
    font-family: Arimo;
    font-size: 59px;
    font-weight: 400;
    line-height: 95%;
    letter-spacing: -1.77px;
    text-align: center;
    color: var(--default);
    margin-bottom: 40px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #F7F7F8;
    border-radius: 20px;
    transition: var(--transition);
}

.faq-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 24px;
    padding: 42px 51px 42px 38px;
}

.faq-item__question {
    font-size: 29px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.58px;
    color: var(--default);
}

.faq-item__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

.faq-item__icon path {
    transition: var(--transition);
}

.faq-item.active .faq-item__icon path:first-child {
    opacity: 0;
}

.faq-item__body {
    max-height: 0;
    padding: 0 38px 0 38px;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.active .faq-item__body {
    padding: 0 38px 42px 38px;
}

.faq-item__content {
    max-width: 995px;
}

.faq-item__content p {
    font-size: 15px;
    line-height: 150%;
    color: rgba(2, 13, 32, 0.5);
    letter-spacing: -0.15px;
}

@media (max-width: 992px) {
    .faq {
        padding: 0 0 30px 0;
    }

    .faq__title {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .faq-item__question {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .faq__title {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .faq-item {
        border-radius: 10px;
    }

    .faq-item__header {
        padding: 16px 20px;
    }

    .faq-item__body {
        padding: 0 20px 0 20px;
    }

    .faq-item.active .faq-item__body {
        padding: 0 20px 16px 20px;
    }

    .faq-item__question {
        font-size: 16px;
    }

    .faq-item__content p {
        font-size: 14px;
    }

    .faq-item__icon {
        width: 20px;
        height: 20px;
    }

    .faq-item__icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .faq__title {
        font-size: 28px;
        margin-bottom: 24px;
    }
}

.test-banner {
    padding: 0 0 60px 0;
}

.test-banner-card {
    position: relative;
    background-color: #FFF2F2;
    border-radius: 28px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 320px;
}

.test-banner__bg {
    position: absolute;
    right: 23px;
    bottom: 0;
    height: auto;
    width: 67%;
    object-fit: contain;
    object-position: right bottom;
    z-index: 1;
    pointer-events: none;
}

.test-banner__content {
    position: relative;
    z-index: 2;
    padding: 28px;
    max-width: 560px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.test-banner__title {
    font-family: Arimo, sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.05;
    color: var(--default);
    margin: 0 0 28px 0;
}

.test-banner__desc {
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
    margin: 0 0 55px 0;
    max-width: 360px;
}

.test-banner__btn {
    width: auto;
    min-width: 280px;
    max-width: 425px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--red);
    color: var(--white);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    border: none;
    border-radius: 30px;
    padding: 16px 40px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.test-banner__btn:hover {
    transform: scale(1.03);
    background-color: #d62429;
}

.test-banner__btn:active {
    transform: scale(0.98);
}

/* Responsiveness for Test Banner */
@media (max-width: 1400px) {
    .test-banner__bg{
        width: 65%;
    }
}
@media (max-width: 1200px) {
    .test-banner__bg{
        width: 62%;
    }
}
@media (max-width: 992px) {
    .test-banner-card {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .test-banner__bg {
        position: unset;
        width: 100%;
        height: auto;
        object-position: center bottom;
    }

    .test-banner__content {
        padding: 48px 36px 0 36px;
        max-width: 100%;
    }

    .test-banner__btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }

    .test-banner__title {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .test-banner__desc {
        max-width: 100%;
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .test-banner-card {
        border-radius: 16px;
    }

    .test-banner__content {
        padding: 36px 20px 0 20px;
    }

    .test-banner__title {
        font-size: 22px;
        letter-spacing: -0.5px;
        margin-bottom: 20px;
    }

    .test-banner__desc {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .test-banner__btn {
        width: 100%;
        text-align: center;
        padding: 16px 24px;
        font-size: 16px;
    }
}

/* FOOTER SECTION */
.footer {
    padding: 44px 0 73px 0;
    border-radius: 28px 28px 0 0;
    background: #EBF0F7;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    width: 20%;
}

.footer-col--legal {
    max-width: 240px;
    width: 100%;
}

.footer-logo {
    display: inline-block;
    margin: 0 0 50px 0;
}

.footer-logo__img {
    height: 38px;
    width: auto;
    display: block;
}

.footer-legal-text {
    font-size: 10px;
    line-height: 110%;
    letter-spacing: -0.2px;
    color: rgba(2, 13, 32, 0.47);
}

.footer-legal-text p {
    margin: 0 0 11px 0;
}

.footer-legal-text p:last-child {
    margin: 0;
}

.footer-title {
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
    margin-bottom: 16px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-link {
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: rgba(2, 13, 32, 0.47);
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding: 88px 0 0 0;
}

.footer-bottom-col:first-child {
    max-width: 240px;
}

.footer-bottom-col {
    width: 20%;
    display: flex;
    flex-direction: column;
}

.footer-bottom-val {
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
}

a.footer-bottom-val {
    transition: var(--transition);
}

a.footer-bottom-val:hover {
    color: var(--red);
}

.footer-bottom-label {
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: rgba(2, 13, 32, 0.47);
    margin-top: 6px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
    overflow: hidden;
}

.footer-social-link path {
    transition: var(--transition);
}

.footer-social-link:hover {
    transform: scale(1.05);
}

.footer-social-link:hover path {
    fill: var(--blue);
}

@media (max-width: 992px) {
    .footer-top {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-col {
        width: 45%;
    }

    .footer-col--legal {
        width: 45%;
    }

    .footer-bottom {
        flex-wrap: wrap;
        gap: 32px;
        padding: 40px 0 0 0;
    }

    .footer-bottom-col {
        width: 45%;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0 40px 0;
        border-radius: 15px 15px 0 0;
    }

    .footer-col {
        width: 100%;
    }

    .footer-logo {
        margin-bottom: 28px;
    }

    .footer-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .footer-menu {
        gap: 12px;
    }

    .footer-link {
        font-size: 15px;
    }

    .footer-bottom-col {
        width: 100%;
    }

    .footer-bottom-val {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        margin-bottom: 24px;
    }

    .footer-top {
        gap: 28px;
    }

    .footer-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .footer-menu {
        gap: 8px;
    }

    .footer-link {
        font-size: 14px;
    }

    .footer-bottom {
        padding-top: 36px;
        gap: 20px;
    }

    .footer-bottom-val {
        font-size: 18px;
    }

    .footer-bottom-label {
        font-size: 14px;
    }
}
/* Path Modal */
.path-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.path-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.path-modal {
    width: 658px;
    height: 520px;
    max-width: 95vw;
    border-radius: 22px;
    border: 1px solid rgba(161, 138, 146, 0.16);
    background: #FFF;
    padding: 60px 36px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.path-modal-overlay.active .path-modal {
    transform: translateY(0);
}

.path-modal__logo {
    height: 33px;
    margin: 0 0 34px 0;
}

.path-modal__title {
    color: var(--default);
    font-size: 18px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.365px;
    margin: 0 0 40px 0;
    background: linear-gradient(89deg, #020D20 0.56%, #2A4A7D 98.26%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.path-modal__cards {
    display: flex;
    gap: 20px;
    width: 100%;
    flex: 1;
}

.path-modal-card {
    flex: 1;
    border-radius: 22px 22px 30px 30px;
    border: 1px solid rgba(161, 138, 146, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 0 0 0;
    background: #FFF;
}

.path-modal-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 36px 0;
}

.path-modal-card__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.32px;
    margin: 0 0 16px 0;
    color: var(--default);
}

.path-modal-card__desc {
    font-family: Arial;
    font-size: 12px;
    line-height: 110%;
    letter-spacing: -0.246px;
    margin: 0 0 36px 0;
    color: rgba(2, 13, 32, 0.36);
}

.path-modal-card__btn {
    margin-top: auto;
    width: 100%;
    padding: 17px 10px;
    border-radius: 32px;
    font-size: 18px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.36px;
    color: var(--white);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.path-modal-card__btn--blue {
    background: var(--blue);
}

.path-modal-card__btn--blue:hover {
    background: #4A6EAA;
    color: #fff;
}

.path-modal-card__btn--red {
    background: var(--red);
}

.path-modal-card__btn--red:hover {
    background: #D92B30;
    color: #fff;
}

@media (max-width: 768px) {
    .path-modal {
        height: auto;
        padding: 32px 20px;
    }
    .path-modal__logo{
        margin: 0 0 20px 0;
    }
    .path-modal__cards {
        flex-direction: column;
    }
    .path-modal-card{
        padding: 20px 0 0 0;
    }
    .path-modal-card__icon{
        margin: 0 0 20px 0;
    }
    .path-modal__title {
        font-size: 18px;
        margin: 0 0 20px 0;
    }
    .path-modal-card__desc{
        margin: 0 0 20px 0;
    }
}

/* Auth Modal Specifics */
.auth-modal-box {
    justify-content: flex-start;
    padding-bottom: 24px;
}

.auth-modal__title {
    margin: 0 0 90px 0;
}

.auth-modal__form {
    width: 100%;
    max-width: 410px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}
#profileModal .path-modal{
    height: auto;
}
#profileModal .auth-modal__form{
    margin: 0;
}

.auth-modal__input {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid rgba(161, 138, 146, 0.4);
    border-radius: 16px;
    font-family: "Inter Display";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
    margin-bottom: 20px;
    outline: none;
    transition: var(--transition);
}

.auth-modal__input:focus {
    border-color: var(--blue);
}

.auth-modal__input::placeholder {
    color: rgba(2, 13, 32, 0.20);
}

.auth-modal__btn {
    width: 100%;
    padding: 17px;
    background: var(--red);
    color: #FFF;
    font-size: 18px;
    font-weight: 500;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 16px;
    font-family: inherit;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.auth-modal__btn:hover {
    background: #D92B30;
}

.auth-modal__timer {
    color: rgba(2, 13, 32, 0.36);
    font-size: 14px;
    text-align: center;
}

.auth-modal__policy {
    margin-top: auto;
    color: rgba(2, 13, 32, 0.36);
    font-size: 12px;
    text-align: center;
}

.auth-modal__policy a {
    color: var(--red);
    text-decoration: underline;
    text-decoration-color: rgba(237, 50, 55, 0.3);
    transition: var(--transition);
}

.auth-modal__policy a:hover {
    text-decoration-color: var(--red);
}

/* Library Page */
.libry-main-section {
    padding: 90px 0 64px 0;
}

.libry-layout {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

.libry-sidebar {
    width: 353px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.libry-search {
    position: relative;
    width: 100%;
}

.libry-search__input {
    width: 100%;
    padding: 25px 28px;
    padding-right: 50px;
    background: #F2F5FA;
    border: none;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
    outline: none;
}

.libry-search__input::placeholder {
    color: rgba(2, 13, 32, 0.24);
}

.libry-search__btn {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
}

.libry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 64px 0;
}

.libry-tag {
    padding: 13px 20px;
    background: #F2F5FA;
    border: none;
    border-radius: 32px;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
    cursor: pointer;
    transition: var(--transition);
}

.libry-tag.active {
    background: var(--red);
    color: #FFF;
}

.libry-tag:hover:not(.active) {
    background: #EBF0F7;
}

.libry-filter-box {
    background: #F4F7FB;
    border-radius: 20px;
    padding: 24px;
    overflow: visible;
}

.libry-filter-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--default);
}

.libry-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.libry-filter-label {
    color: #A18A92;
    font-size: 14px;
}

.libry-filter-input {
    background: #FFF;
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--default);
    font-family: inherit;
    outline: none;
    width: 100%;
}

.libry-filter-input::placeholder {
    color: var(--default);
}

.libry-filter-input-wrap {
    position: relative;
    width: 100%;
}

.libry-filter-input--full {
    padding-right: 40px;
}

.libry-filter-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    pointer-events: none;
}

.libry-filter-icon[data-articles-month-trigger] {
    pointer-events: auto;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.libry-month-picker {
    position: relative;
    width: 100%;
}

.libry-month-picker__trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.libry-month-picker__trigger .libry-filter-input {
    cursor: pointer;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.libry-month-picker__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1100;
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 16px 48px rgba(2, 13, 32, 0.14);
    border: 1px solid rgba(2, 13, 32, 0.06);
}

.libry-month-picker__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.libry-month-picker__year {
    font-size: 16px;
    font-weight: 600;
    color: var(--default);
    letter-spacing: -0.32px;
}

.libry-month-picker__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 12px;
    background: #f4f7fb;
    color: #5c6570;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.libry-month-picker__nav:hover {
    background: #ebf0f7;
    color: var(--default);
}

.libry-month-picker__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.libry-month-picker__month {
    border: none;
    border-radius: 12px;
    background: #f4f7fb;
    color: var(--default);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 12px 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    font-family: inherit;
}

.libry-month-picker__month:hover {
    background: #ebf0f7;
}

.libry-month-picker__month.is-active {
    background: var(--red);
    color: #fff;
}

.libry-month-picker__clear {
    width: 100%;
    margin-top: 14px;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #5c83c3;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease;
}

.libry-month-picker__clear:hover {
    background: #f4f7fb;
}

.libry-reset-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    font-family: inherit;
}

.libry-reset-btn[hidden] {
    display: none;
}

.libry-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-width: 0;
}

.libry-video-box {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.libry-video-bg {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.libry-play-btn {
    position: absolute;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: #FFF;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.libry-play-btn:hover {
    transform: scale(1.05);
}
.libry-video{
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.libry-info-card {
    background: #F4F7FB;
    border-radius: 24px;
    padding: 32px;
}

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

.libry-info-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.56px;
    color: var(--default);
    margin: 0;
}

.libry-share-btn {
    background: #FFF;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.libry-share-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.libry-info-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.libry-meta-tag {
    display: inline-block;
    background: var(--red);
    color: #FFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.libry-meta-tag:hover {
    opacity: 0.9;
    color: #FFF;
}

.libry-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #A18A92;
    font-size: 14px;
}

.libry-info-desc h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--default);
}

.libry-info-desc p {
    font-size: 16px;
    line-height: 140%;
    color: var(--default);
    margin-bottom: 24px;
}

.libry-info-desc:not(.is-expanded) p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.libry-info-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.libry-info-more svg {
    transition: transform 0.2s ease;
}

.libry-info-more.is-expanded svg {
    transform: rotate(180deg);
}

.libry-info-more:hover {
    opacity: 0.8;
}

.libry-sidebar__top {
    display: flex;
    gap: 16px;
}

.libry-filter-toggle {
    display: none;
    justify-content: center;
    align-items: center;
    width: 67px;
    height: 67px;
    background: #F4F7FB;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.libry-sidebar__modal-header {
    display: none;
}

.libry-sidebar__modal-body {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.libry-share-btn--mobile {
    display: none;
}
@media (max-width: 992px) {
    .libry-layout {
        flex-direction: column;
    }

    .libry-sidebar {
        width: 100%;
    }

    .libry-search__input{
        height: 67px;
    }
    .libry-info-title {
        font-size: 22px;
    }
    .libry-sidebar__top {
        margin-bottom: 0;
        display: grid;
        grid-template-columns: calc(100% - 83px) 67px;
        gap: 16px;
    }

    .libry-filter-toggle {
        display: flex;
    }

    .libry-sidebar__modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #FFF;
        z-index: 100;
        padding: 24px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .libry-sidebar__modal.active {
        transform: translateY(0);
    }

    .libry-sidebar__modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
    }

    .libry-sidebar__modal-title {
        font-size: 20px;
        font-weight: 600;
        margin: 0;
    }

    .libry-sidebar__modal-close {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
    }
    .libry-tags{
        margin: 0;
    }
}

@media (max-width: 576px) {
    .libry-play-btn {
        width: 45px;
        height: 45px;
    }

    .libry-info-card {
        padding: 24px;
    }
    .libry-share-btn--desktop {
        display: none;
    }

    .libry-share-btn--mobile {
        display: flex;
        margin-left: auto;
    }

    .libry-info-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        align-items: center;
    }
    .publications-tab{
        padding: 10px 16px;
    }
}

/* Blog Page Styles */
.blog-main-section {
    padding: 90px 0 30px;
}
.blog-mobile-top {
    display: none;
    margin-bottom: 24px;
}
.blog-layout {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}
.blog-content {
    flex: 1;
    min-width: 0;
}

.blog-sidebar {
    width: 353px;
    flex-shrink: 0;
}
.blog-cover {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 24px;
    display: block;
}

.blog-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 14px 0;
}
.blog-content-header>*{
    margin: 0;
}
.blog-title {
    font-family: Arimo;
    font-size: 32px;
    line-height: 108%;
    letter-spacing: -0.96px;
    margin: 0 0 24px 0;
    color: var(--default);
}
.blog-meta {
    display: flex;
    gap: 29px;
    font-size: 16px;
    line-height: 110%;
    margin: 0 0 50px 0;
    color: #A18A92;
    flex-wrap: wrap;
}
.blog-meta-item{
    display: flex;
    align-items: center;
    gap: 11px;
}
.blog-text {
    font-size: 20px;
    font-weight: 300;
    line-height: 138%;
    color: var(--default);
    margin: 0 0 30px 0;
}
.blog-text p {
    margin: 0 0 20px 0;
}
.blog-text ul {
    padding: 0 0 0 25px;
    margin: 0 0 30px 0;
}
.blog-text li {
    margin-bottom: 8px;
}
.blog-text li:last-child {
    margin-bottom: 0;
}

.blog-text h2,
.blog-text h3,
.blog-text h4,
.article-single-content h2,
.article-single-content h3,
.article-single-content h4 {
    font-weight: 600;
    line-height: 120%;
    margin: 28px 0 12px;
}

.blog-text h2,
.article-single-content h2 { font-size: 28px; }
.blog-text h3,
.article-single-content h3 { font-size: 22px; }

.blog-text blockquote,
.article-single-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--blue);
    background: #f5f8fc;
    border-radius: 0 8px 8px 0;
}

.blog-text table,
.article-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
}

.blog-text th,
.blog-text td,
.article-single-content th,
.article-single-content td {
    border: 1px solid #d8e0ea;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.blog-text img,
.article-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-inline-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 30px;
    display: block;
}
.blog-quote {
    background: #EBF0F7;
    border-radius: 22px;
    padding: 38px 58px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.blog-quote-icon {
    margin-bottom: 24px;
}
.blog-quote-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 16.5px;
    background: #BFD6FC;
    padding: 4px 12px;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--blue);
}
.blog-quote p {
    font-size: 20px;
    line-height: 138%;
    letter-spacing: -0.2px;;
    margin: 0 0 40px 0;
}
.blog-quote-author {
    font-size: 20px;
    font-weight: 300;
    line-height: 138%;
    color: var(--blue);
}
.blog-subtitle {
    font-size: 20px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
    margin: 24px 0;
}
.blog-share {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 76px;
}
.blog-share-link {
    display: flex;
    justify-content: center;
    align-items: center;
}
.blog-sidebar-top {
    margin-bottom: 26px;
}
.blog-sidebar-top .libry-sidebar__top {
    display: grid;
    grid-template-columns: calc(100% - 72px) 56px;
    gap: 16px;
}
.blog-sidebar-top .libry-filter-toggle{
    display: flex;
}
.blog-sidebar-widget {
    margin-bottom: 40px;
}
.blog-widget-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.4px;
    margin: 0 0 13px 0;
    color: var(--default);
}
.blog-related-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.blog-important {
    border-radius: 22px;
    background: #EBF0F7;
    padding: 24px;
    margin: 0;
}
.blog-important-list {
    display: flex;
    flex-direction: column;
    gap: 38px;
    margin: 0 0 32px 0;
}
.blog-important-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.blog-important-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}
.blog-important-tag {
    font-size: 12px;
    font-weight: 500;
    line-height: 110%;
    text-transform: uppercase;
    color: #ED3237;
}
.blog-important-tag.red {
    color: var(--red);
}
.blog-important-tag.blue {
    color: var(--blue);
}
.blog-important-tag.green {
    color: #A4C100;
}
.blog-important-date {
    font-size: 14px;
    line-height: 110%;
    letter-spacing: -0.28px;
    color: rgba(2, 13, 32, 0.47);
}
.blog-important-text {
    font-size: 16px;
    line-height: 138%;
    letter-spacing: -0.32px;;
    color: var(--default);
    transition: color 0.2s;
}
.blog-important-item:hover .blog-important-text {
    color: var(--red);
}
.blog-important-more {
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    text-decoration: none;
    color: var(--red);
}
.blog-important-more:hover {
    text-decoration: underline;
}
@media (max-width: 1200px) {
    .blog-quote{
        padding: 28px 38px;
    }
    .blog-important-list {
        gap: 28px;
    }
}
@media (max-width: 992px) {
    .blog-layout {
        flex-direction: column;
    }
    .blog-quote{
        padding: 24px 28px;
    }
    .blog-sidebar {
        width: 100%;
    }

    .blog-mobile-top {
        display: block;
    }

    .blog-sidebar-top {
        display: none;
    }
    .blog-important-list {
        gap: 24px;
    }
    .blog-main-section {
        padding: 30px 0 60px;
    }
    .blog-related-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 24px;
    }
    .blog-quote{
        padding: 20px 24px;
    }
    .blog-important-list {
        gap: 20px;
    }
}
@media (max-width: 576px) {
    .blog-related-list{
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .blog-important-list {
        gap: 15px;
    }
}

/* Blog Articles Section */
.blog-articles-section {
    padding: 30px 0 90px 0;
}
.blog-articles-section--page {
    padding-top: 110px;
}
.blog-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
}
.blog-articles-header .blog-articles-title {
    margin-bottom: 0;
}
.blog-articles-filter-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    width: auto;
    position: relative;
}
.blog-articles-filter-wrap .libry-filter-toggle{
    flex: 0 0 auto;
    display: flex;
}

/* Floating Filter Dropdown */
.libry-filter-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    background: #FFF;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(2, 13, 32, 0.12);
    z-index: 1000;
    display: none;
    flex-direction: column;
    gap: 20px;
}

.libry-filter-dropdown.active {
    display: flex;
}

.filter-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag-btn {
    background: #F4F7FB;
    color: #020D20;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tag-btn:hover {
    background: #EBF0F7;
}

.filter-tag-btn.active {
    background: #ED3237;
    color: #FFF;
}

.filter-sort-box {
    background: #F4F7FB;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-sort-label {
    font-size: 14px;
    font-weight: 500;
    color: #020D20;
}

.filter-sort-select-wrap {
    background: #FFF;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.filter-sort-value {
    font-size: 14px;
    color: #020D20;
    font-weight: 500;
}

.filter-reset-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 10px;
    border-top: 1px solid #EBF0F7;
}

.filter-reset-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #A18A92;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0;
}

.filter-reset-btn:hover {
    color: #ED3237;
}
.blog-articles-title {
    font-family: Arimo;
    font-size: 32px;
    font-weight: 400;
    line-height: 108%;
    letter-spacing: -0.96px;
    margin: 0 0 30px 0;
    color: var(--default);
}
@media (max-width: 992px) {
    .blog-articles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }
    .blog-articles-filter-wrap {
        width: 100%;
    }
    .blog-articles-filter-wrap .libry-search {
        width: 100%;
    }
}
.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 47px 34px;
    margin: 0 0 90px 0;
}
.publication-card__actions {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 16px;
}
.publication-card__date {
    font-size: 14px;
    color: #A18A92;
}
.publication-card__link {
    font-size: 14px;
    color: #ED3237;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.publication-card__link:hover {
    color: #d02025;
}
@media (max-width: 1200px) {
    .blog-articles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 20px;
        margin: 0 0 60px 0;
    }
}
@media (max-width: 992px) {
    .blog-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
        margin: 0 0 50px 0;
    }

    .blog-articles-title {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .blog-articles-section {
        padding: 0 0 60px 0;
    }
}
@media (max-width: 576px) {
    .blog-articles-grid {
        grid-template-columns: 1fr;
        margin: 0 0 40px 0;
        gap: 15px;
    }
}

/* Blog Featured Section */
.blog-featured-grid {
    display: grid;
    grid-template-columns: 353px calc(100% - 387px);
    gap: 34px;
}
.blog-featured-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    order: 1;
}

.blog-featured-right {
    order: 2;
    height: 100%;
}

.blog-featured-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-featured-card__img {
    width: 100%;
    flex: 1;
    min-height: 250px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 24px;
    display: block;
}

.blog-featured-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-featured-card__title {
    font-size: 32px;
    font-weight: 500;
    color: var(--default);
    margin: 0 0 16px;
    line-height: 1.1;
}

@media (max-width: 992px) {
    .blog-featured-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-featured-left {
        order: 2;
    }

    .blog-featured-right {
        order: 1;
    }

    .blog-featured-card__title {
        font-size: 24px;
    }

    .blog-featured-card__img {
        aspect-ratio: 16/9;
        flex: none;
    }
}

/* Articles Page */
.articles-hero {
    padding: 90px 0 24px 0;
}
.articles-overlay{
    display: flex;
    position: relative;
    width: 100%;
    z-index: 1;
    border-radius: 22px;
    min-height: 200px;
}
.articles-hero__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}
.articles-hero__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10% 9%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.articles-hero__title {
    font-family: Arimo;
    font-size: clamp(16px, 2vw, 32px);
    font-weight: 400;
    line-height: 108%;
    letter-spacing: -0.96px;
    color: #FFF;
    margin: 0 0 45px;
    max-width: 1000px;
}
.articles-search {
    position: relative;
    width: 100%;
    max-width: 1129px;
}
.articles-search__input {
    width: 100%;
    border-radius: 32px;
    background: #F2F5FA;
    border: none;
    padding: 24px 72px 24px 32px;
    font-size: 18px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.36px;
    color: #1A1D20;
    outline: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.articles-search__input::placeholder {
    color: rgba(2, 13, 32, 0.24);
}
.articles-search__btn {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.popular-articles {
    padding: 0 0 70px 0;
}
.popular-inner {
    border-radius: 22px;
    background: #EBF0F7;
    padding: 35px;
    overflow: hidden;
}
.popular-articles__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 44px;
}
.popular-articles__title {
    font-family: Arimo;
    font-size: 32px;
    font-weight: 400;
    line-height: 108%;
    letter-spacing: -0.96px;
    color: var(--default);
    margin: 0;
}
.popular-prev, .popular-next {
    width: 43px;
    height: 43px;
    background: #BFD6FC;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.popular-prev::after,
.popular-next::after {
    display: none;
}
.popular-prev svg, .popular-next svg{
    width: auto;
    height: auto;
}
.popular-swiper{
    overflow: visible;
}
.popular-swiper .swiper-slide {
    width: 289px;
    height: auto;
}
.popular-card {
    width: 100%;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.09);
    padding: 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.popular-card--linked {
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.popular-card--linked:hover {
    box-shadow: 0 8px 18px 0 rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.popular-card--linked .popular-card__title {
    color: #020D20;
}
.popular-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 13px;
    min-width: 0;
}
.popular-card__tag {
    font-size: 12px;
    font-weight: 500;
    line-height: 110%;
    text-transform: uppercase;
    color: #FF777B;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.popular-card__date {
    font-size: 14px;
    line-height: 110%;
    letter-spacing: -0.28px;
    color: rgba(2, 13, 32, 0.47);
    flex: 0 0 auto;
    white-space: nowrap;
}
.popular-card__title {
    font-size: 16px;
    font-weight: 400;
    line-height: 138%;
    letter-spacing: -0.32px;
    color: var(--default);
    margin: 0 0 16px;
    flex: 1;
}
.popular-card__link {
    font-size: 14px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.28px;
    color: #ED3237;
    margin-top: auto;
    transition: color 0.2s;
}
.popular-card__link:hover {
    color: #d02025;
}
.swiper-nav {
    display: flex;
    gap: 12px;
}
.popular-prev.swiper-button-disabled,
.popular-next.swiper-button-disabled {
    opacity: 0.5;
    cursor: default;
}

@media (max-width: 992px) {
    .articles-hero__inner {
        padding: 60px 20px;
    }
    .articles-hero__title{
        margin: 0 0 30px 0;
    }
}
@media (max-width: 768px) {
    .articles-hero__inner{
        padding: 30px 20px;
    }
    .popular-inner {
        padding: 24px;
    }
    .articles-search__input{
        padding: 12px 56px 12px 24px;
    }
}
@media (max-width: 576px) {
    .articles-search__input {
        padding: 16px 56px 16px 20px;
        font-size: 16px;
    }

    .articles-hero__inner {
        padding: 20px;
    }
    .articles-hero__title {
        margin: 0 0 16px 0;
    }
}

/* Articles 2 Page Styles */
.libry-page{
    padding: 106px 0 160px 0;
}
.sidebar-title{
    font-family: Arimo;
    font-size: 32px;
    font-weight: 400;
    line-height: 108%;
    letter-spacing: -0.96px;
    margin: 0 0 34px 0;
    color: var(--red);
}
.libry-sidebar .sidebar-title{
    margin: 0;
}
.libry-page .libry-tags{
    margin: 0;
}
.libry-search-wide {
    position: relative;
    width: 100%;
}
.libry-search-wide__input {
    width: 100%;
    background: #F4F7FB;
    border: none;
    border-radius: 100px;
    padding: 24px 72px 24px 32px;
    font-size: 18px;
    color: var(--default);
    outline: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.libry-search-wide__input::placeholder {
    color: rgba(2, 13, 32, 0.24);
}
.libry-search-wide__btn {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.articles-action-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 0 11px 45px;
}
.action-bar2{
    margin: 0 0 50px 0;
}
.articles-action-btns {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}
.btn-outline {
    border-radius: 12px;
    border: 1px solid #BFD6FC;
    background: transparent;
    padding: 10px 24px;
    font-size: 14px;
    color: #A18A92;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-outline:hover {
    background: #F4F7FB;
    color: #1A1D20;
}
.articles-action-status {
    display: flex;
    align-items: center;
    gap: 16px;
}
.articles-action-status[hidden] {
    display: none !important;
}

.articles-action-feedback {
    font-size: 14px;
    color: #2E7D32;
    white-space: nowrap;
}

.articles-action-feedback.is-error {
    color: #ED3237;
}

.text-green {
    font-size: 14px;
    line-height: 110%;
    letter-spacing: -0.28px;
    color: #5CC35F;
}
.btn-clear-selection {
    background: none;
    border: none;
    font-size: 14px;
    line-height: 110%;
    letter-spacing: -0.28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    padding: 0;
    color: rgba(2, 13, 32, 0.47);
}
.btn-clear-selection:hover {
    color: #ED3237;
}
.btn-clear-selection:hover svg path {
    stroke: #ED3237;
}
.articles-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 30px 45px;
    flex-wrap: wrap;
    gap: 16px;
}
.articles-list-header:last-child{
    margin: 0 0 0 45px;
}
.list-header2:last-child{
    margin: 0;
}
.articles-total {
    font-size: 14px;
    line-height: 110%;
    letter-spacing: -0.28px;
    color: rgba(2, 13, 32, 0.47);
}
.articles-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}
.articles-page {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #1A1D20;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.articles-page:hover {
    background: #DCE8FE;
}

.articles-page.active {
    background: #5C83C3;
    color: #FFF;
}

.articles-page-dots {
    color: #1A1D20;
}

.articles-page-next {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1A1D20;
    text-decoration: none;
    font-weight: 500;
    margin-left: 16px;
    transition: color 0.2s;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.articles-page-next:hover {
    color: #5C83C3;
}
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 44px;
    margin-bottom: 60px;
}

.articles-empty {
    margin: 0;
    color: #5C6570;
    font-size: 16px;
}

.libry-filter-month-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.article-row {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.article-row .custom-checkbox {
    margin-top: 4px;
}
.article-row__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.article-row__title {
    font-family: Arimo;
    font-size: 20px;
    font-weight: 400;
    line-height: 108%;
    letter-spacing: -0.6px;
    color: #1A1D20;
    margin: 0;
}

.article-row__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-row__title a:hover {
    color: #ED3237;
}
.article-row__authors {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 110%;
    letter-spacing: -0.28px;
}
.article-row__authors a {
    color: #5C83C3;
    text-decoration: none;
    transition: color 0.2s;
}
.article-row__authors a:hover {
    color: #4A6AA0;
}
.article-row__meta {
    font-size: 14px;
    line-height: 110%;
    letter-spacing: -0.28px;
    color: rgba(2, 13, 32, 0.47);
}
/* Custom Checkbox */
.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 24px;
    cursor: pointer;
    user-select: none;
}
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 23px;
    height: 23px;
    background-color: transparent;
    border-radius: 4px;
    border: 1px solid #B2CFFE;
    border-radius: 4px;
    transition: all 0.2s;
}
.custom-checkbox:hover input~.checkmark {
    background-color: #F4F7FB;
}
.custom-checkbox input:checked~.checkmark {
    background-color: #5C83C3;
    border-color: #5C83C3;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.custom-checkbox input:checked~.checkmark:after {
    display: block;
}
.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
@media (max-width: 1200px) {
    .libry-page{
        padding: 90px 0 120px 0;
    }
}
@media (max-width: 992px) {
    .libry-page{
        padding: 90px 0;
    }
    .sidebar-title{
        margin: 0;
    }
    .articles-list{
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    .libry-page{
        padding: 70px 0 50px 0;
    }
    .libry-search-wide__input {
        padding: 16px 56px 16px 20px;
        font-size: 16px;
    }

    .articles-action-btns {
        flex-direction: column;
        align-items: flex-start;
    }

    .articles-action-status {
        margin-left: 0;
    }

    .article-row {
        gap: 16px;
    }

    .article-row__title {
        font-size: 18px;
    }
}

/* Article Single Page Styles */
.popular-articles-flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-card--sidebar {
    height: auto;
    background: #F4F7FB;
    box-shadow: none;
}

/* Article Single Specific Styles */
.article-single-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.article-single-breadcrumb__link {
    color: var(--blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
}
.article-single-breadcrumb__link:hover {
    text-decoration: underline;
}
.article-single-breadcrumb__link--current {
    color: rgba(2, 13, 32, 0.47);
    pointer-events: auto;
}
.article-single-breadcrumb__link--current:hover {
    color: var(--blue);
}
.article-single-breadcrumb__sep {
    color: rgba(2, 13, 32, 0.47);
    margin: 0 8px;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
}
.article-single-breadcrumb__current {
    color: rgba(2, 13, 32, 0.47);
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
}
.article-single-title {
    font-family: Arimo;
    font-size: 36px;
    font-weight: 400;
    line-height: 108%;
    letter-spacing: -1.08px;
    color: #1A1D20;
    margin: 0 0 10px 0;
}
.article-single-authors {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    margin: 0 0 35px 0;
}
.article-single-authors__link {
    color: var(--blue);
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
}
.article-single-date {
    color: rgba(2, 13, 32, 0.47);
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    margin: 0 0 40px 0;
}

.article-single-content {
    color: #1A1D20;
    line-height: 1.6;
    font-size: 16px;
}
.article-single-content h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.4px;
    margin: 0 0 20px 0;
}
.article-single-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 138%;
    margin: 0 0 24px;
}
.article-single-content ul {
    padding-left: 20px;
    margin: 0 0 40px;
}

.article-single-content ul li {
    font-size: 16px;
    font-weight: 300;
    line-height: 138%;
    margin-bottom: 8px;
}
.article-single-content ul li:last-child {
    margin-bottom: 0;
}

.article-single-image {
    max-width: 556px;
    background: #EBF0F7;
    border-radius: 22px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 324px;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
}
.article-single-image__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    pointer-events: none;
}
.article-single-image__caption {
    position: absolute;
    top: -32px;
    left: 0;
    color: #A18A92;
    font-style: italic;
    font-size: 14px;
    z-index: 1;
}
.article-single-image__icon {
    width: 48px;
    height: 48px;
    background: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-single-image__icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.fancybox__container .f-panzoom__content img,
.fancybox__container .f-html img {
    max-width: min(92vw, 1200px) !important;
    max-height: 88vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.article-single-tags {
    color: #A18A92;
}

.articles-list-header--mt-large {
    margin-top: 80px;
}

.article-single-images-grid {
    max-width: 556px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}
.article-single-image--half {
    height: 320px;
    margin: 0;
}
@media (max-width: 576px) {
    .article-single-title{
        font-size: 24px;
    }
     .article-single-authors {
        gap: 16px;
        margin-bottom: 24px;
     }
     .article-single-date {
        margin-bottom: 24px;
     }
     .article-single-content h3 {
        font-size: 18px;
    }
     .article-single-content p {
        margin-bottom: 16px;
     }
     .article-single-content ul {
        margin-bottom: 24px;
     }
      .article-single-image {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
    }
     .article-single-image--half {
        height: auto;
    }
    .action-bar2 {
        margin: 0 0 30px 0;
    }
    .article-single-images-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* All Checkups Section */
.all-checkups {
    padding: 42px 0 56px 0;
}
.all-checkups__title {
    font-family: Arimo;
    font-size: 59px;
    font-weight: 400;
    line-height: 95%;
    letter-spacing: -1.77px;
    text-align: center;
    color: var(--default);
    margin-bottom: 30px;
}
.all-checkups__filter {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}
.all-checkups__search {
    width: 353px;
    flex-shrink: 0;
    margin-bottom: 0;
}
.all-checkups__tags {
    display: flex;
    align-items: center;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #5C83C3 #F4F7FB;
}
.all-checkups__tags::-webkit-scrollbar {
    height: 4px;
}

.all-checkups__tags::-webkit-scrollbar-track {
    background: #F4F7FB;
    border-radius: 4px;
}

.all-checkups__tags::-webkit-scrollbar-thumb {
    background: #5C83C3;
    border-radius: 4px;
}
.all-checkups__tag {
    white-space: nowrap;
    padding: 11.5px 24px;
    background: #F2F5FA;
    color: var(--default);
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    border-radius: 32px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.all-checkups__tag.active,
.all-checkups__tag:hover {
    background: var(--red);
    color: var(--white);
}

.all-checkups__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px 30px;
}
.checkup-item {
    background: #F2F5FA;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.checkup-item__img-box {
    width: 100%;
    height: 143px;
    position: relative;
}
.checkup-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.checkup-item__content {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.checkup-item__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.48px;
    color: var(--default);
    margin: 0 0 15px 0;
}
.checkup-item__list {
    list-style: disc;
    padding-left: 18px;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
    margin: 0 0 24px;
    flex-grow: 1;
}
.checkup-item__list li {
    margin-bottom: 0px;
}
.checkup-item__bottom {
    margin-top: auto;
}
.checkup-item__price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 11px;
}
.checkup-item__price-label {
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: rgba(2, 13, 32, 0.35);
}
.checkup-item__price-val {
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
}
.checkup-item__btn {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    background: var(--red);
    color: var(--white);
    border-radius: 32px;
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.32px;
    text-decoration: none;
    transition: var(--transition);
}
.checkup-item__btn:hover { background: var(--blue); color: var(--white); }

@media (max-width: 1200px) {
    .all-checkups__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .all-checkups__title {
        font-size: 42px;
    }

    .all-checkups__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .all-checkups__filter {
        flex-direction: column;
        align-items: stretch;
    }

    .all-checkups__search {
        width: 100%;
    }

    .all-checkups__tags {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .all-checkups__title {
        font-size: 32px;
    }

    .all-checkups__grid {
        grid-template-columns: 1fr;
    }

    .all-checkups {
        padding: 40px 0;
    }
}

/* Questions Section */
.questions-section {
    padding: 0 0 60px 0;
    scroll-margin-top: 96px;
}
.questions-banner {
    border-radius: 28px;
    padding: 98px 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.questions-banner__img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    z-index: 1;
}
.questions-box {
    background: #FFF;
    border-radius: 24px;
    padding: 29px 36px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 1100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.questions-box__left {
    max-width: 520px;
    position: relative;
    z-index: 2;
}
.questions-box__title {
    font-family: Arimo;
    font-size: 59px;
    font-weight: 400;
    line-height: 95%;
    letter-spacing: -1.77px;
    color: var(--default);
    margin: 0 0 22px 0;
}
.questions-box__desc {
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
    margin: 0 0 32px 0;
    max-width: 280px;
}
.questions-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 16px;
    max-width: 410px;
}
.questions-form__input {
    width: 100%;
    padding: 17px 26px;
    border-radius: 14px;
    border: 1px solid rgba(2, 13, 32, 0.23);
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
.questions-form__input::placeholder {
    color: rgba(2, 13, 32, 0.20);
}
.questions-form__input:focus {
    border-color: var(--blue);
}
.questions-form__btn {
    width: 100%;
    padding: 18px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.32px;
    cursor: pointer;
    transition: var(--transition);
}
.questions-form__btn:hover {
    background: var(--blue);
}
.questions-box__policy {
    font-size: 12px;
    line-height: 110%;
    letter-spacing: -0.24px;
    color: rgba(2, 13, 32, 0.36);
    text-align: left;
}
.questions-box__policy a {
    color: var(--red);
    text-decoration: underline;
}

.questions-box__img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    height: 94%;
    object-fit: cover;
    object-position: bottom right;
}

.questions-success {
    background: #FFF;
    border-radius: 24px;
    padding: 60px 40px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 1100px;
    min-height: 400px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(2, 13, 32, 0.04);
}

.questions-banner--success .questions-box {
    display: none;
}

.questions-banner--success .questions-success {
    display: flex;
}

.questions-success__icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.questions-success__title {
    font-family: Arimo, sans-serif;
    font-size: 59px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -1.77px;
    color: var(--default);
    margin: 0 0 16px 0;
}

.questions-success__desc {
    font-size: 16px;
    line-height: 140%;
    color: var(--default);
    margin: 0;
    max-width: 440px;
}

@media (max-width: 768px) {
    .questions-success__title {
        font-size: 36px;
        letter-spacing: -1px;
    }
}

@media (max-width: 992px) {
    .questions-box {
        flex-direction: column;
        padding: 40px;
    }

    .questions-box__left {
        max-width: 100%;
        margin-bottom: 40px;
    }
    .questions-box__img {
        height: 100%;
        object-fit: contain;
        object-position: bottom;
    }
}

@media (max-width: 768px) {
    .questions-banner {
        padding: 20px;
        border-radius: 24px;
    }

    .questions-box {
        padding: 24px;
    }

    .questions-box__title {
        font-size: 36px;
    }
}

/* Decorative pixels for Checkup Items */
.checkup-item__deco {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.checkup-item__deco span {
    position: absolute;
    width: 12px;
    height: 12px;
}

.checkup-item__deco.red span {
    background-color: var(--red);
}

.checkup-item__deco.blue span {
    background-color: #5C83C3;
}

.questions-box__deco {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}
.questions-box__deco span {
    position: absolute;
    width: 14px;
    height: 14px;
}

.questions-box__deco.blue span {
    background-color: #B4D1FE;
}

/* Checkup Single Page */
.checkup-single {
    padding: 90px 0 70px 0;
}
.checkup-single__grid {
    display: grid;
    grid-template-columns: calc(48% - 15px) calc(52% - 15px);
    gap: 30px;
}

.checkup-single__left {
    padding-right: 8px;
}

.checkup-single__img {
    width: 100%;
    border-radius: 28px;
    position: sticky;
    top: 90px;
}

.checkup-single__top-box {
    background: #EBF0F7;
    border-radius: 22px;
    padding: 22px 25px;
    margin-bottom: 30px;
}

.checkup-single__label {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #FFF;
    padding: 14px 24px;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    margin-bottom: 10px;
}

.checkup-single__label .dot {
    width: 7px;
    height: 7px;
}

.checkup-single__label .dot.red {
    background: var(--red);
}

.checkup-single__title {
    font-family: Arimo;
    font-size: 48px;
    font-weight: 400;
    line-height: 95%;
    letter-spacing: -1.44px;
    color: var(--red);
    margin: 0 0 22px;
}

.checkup-single__desc {
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
    margin: 0 0 26px;
    max-width: 512px;
}

.checkup-single__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.checkup-single__benefits li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 21px;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
}

.checkup-single__benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--red);
}
.checkup-single__benefits li:last-child {
    margin-bottom: 0;
}

.checkup-single__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

.mt-40 {
    margin-top: 40px;
}


.checkup-single__section {
    margin-bottom: 60px;
}
.checkup-single__section:last-child {
    margin-bottom: 0;
}
.checkup-single__subtitle {
    font-family: Arimo;
    font-size: 32px;
    font-weight: 400;
    line-height: 108%;
    letter-spacing: -0.96px;
    color: var(--default);
    margin: 0 0 16px;
}

.checkup-single__subtitle.red-text {
    color: var(--red);
}

.checkup-single__subdesc {
    font-size: 16px;
    font-weight: 300;
    line-height: 110%;
    color: var(--default);
    margin: 0 0 50px 0;
}

.labs-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
    margin-bottom: 15px;
}

.labs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 20px 0 0 0;
    list-style: none;
}

.labs-item {
    background: #FFF;
    border: 1px solid #D2E4FF;
    border-radius: 20px;
    padding: 12px 24px;
    color: #5C83C3;
    font-size: 15px;
    font-weight: 400;
    line-height: 120%;
    transition: all 0.2s ease;
}

.labs-item:hover {
    background: #F7FAFF;
    border-color: #5C83C3;
    transform: translateY(-1px);
}
.checkup-results__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.result-card {
    background: #EBF0F7;
    border-radius: 22px;
    padding: 27px 21px;
}

.result-card__dot {
    width: 10px;
    height: 10px;
    margin-bottom: 20px;
}

.result-card__dot--red {
    background: var(--red);
}

.result-card__dot--white {
    background: #FFF;
}

.result-card__dot--blue {
    background: #5C83C3;
}

.result-card__dot--red2 {
    background: #FF777B;
}

.result-card__title {
    font-size: 20px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
    margin: 0 0 30px;
}

.result-card__desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 110%;
    color: var(--default);
    margin: 0;
}

@media (max-width: 992px) {
    .checkup-single__grid {
        grid-template-columns: 1fr;
    }

    .checkup-single__img {
        position: static;
        max-height: 500px;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .checkup-results__grid {
        grid-template-columns: 1fr;
    }

    .checkup-single__title {
        font-size: 32px;
    }

    .checkup-single__top-box {
        padding: 24px;
    }

    .result-card {
        padding: 24px;
    }

    .checkup-single__actions {
        flex-direction: column;
    }

    .checkup-single__actions .btn {
        width: 100%;
    }
}

/* Buttons missing CSS */
.btn {
    padding: 16px 32px;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
}

.btn-red {
    background: var(--red);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
}

.btn-red:hover {
    background: #D0252A;
}

/* ==========================================================================
   AUTHENTICATION PAGE SPECIFIC STYLES
   ========================================================================== */

body.auth-body {
    margin: 0;
    padding: 0;
    background-color: #efe4ea;
    background-image: url('img/auth-bg.webp');
    background-image: image-set(
        url('img/auth-bg.webp') type('image/webp')
    );
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scoped modal overlay settings for auth page wizard flow */
body.auth-body .path-modal-overlay {
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.auth-body .path-modal-overlay.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
    z-index: 100;
}

/* SMS Code Inputs (Step 3) */
.auth-code-inputs {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
    margin-top: 10px;
}

.code-digit-input {
    width: 56px;
    height: 64px;
    background: #F4F7FB;
    border: 1px solid rgba(2, 13, 32, 0.08);
    border-radius: 12px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    outline: none;
    transition: all 0.25s ease;
    color: #020D20;
}

.theme-doctor .code-digit-input:focus {
    border-color: #5C83C3;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(92, 131, 195, 0.12);
}

.theme-patient .code-digit-input:focus {
    border-color: #ED3237;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(237, 50, 55, 0.12);
}

.auth-timer-container {
    text-align: center;
    margin-top: 14px;
    margin-bottom: 10px;
}

.btn-resend-code {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.theme-doctor .btn-resend-code {
    color: #5C83C3;
}

.theme-patient .btn-resend-code {
    color: #ED3237;
}

.btn-resend-code:hover {
    opacity: 0.8;
}

/* Profile Form Helpers (Step 4) */
.auth-input-group {
    width: 100%;
    position: relative;
}

.auth-form-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.flex-1 {
    flex: 1;
}

.disabled-field {
    background: rgba(2, 13, 32, 0.03);
    color: rgba(2, 13, 32, 0.4);
    border-color: rgba(2, 13, 32, 0.03);
    cursor: not-allowed;
}

.auth-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23020D20' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 48px;
    cursor: pointer;
}

.auth-policy-confirm {
    font-size: 13px;
    line-height: 1.45;
    color: #A18A92;
    text-align: center;
    margin: 4px 0;
}

.auth-modal__subtitle {
    font-size: 15px;
    color: #A18A92;
    margin: -16px 0 20px 0;
    text-align: center;
}

/* Adapt blue/red active styling based on path selection theme */
.theme-doctor .path-modal-card__icon--blue {
    background-color: rgba(92, 131, 195, 0.08);
}

.theme-doctor .auth-modal__input:focus,
.theme-doctor .auth-select:focus {
    border-color: #5C83C3;
    box-shadow: 0 0 0 4px rgba(92, 131, 195, 0.12);
}

.theme-doctor .auth-modal__btn {
    background-color: #5C83C3;
    color: #FFFFFF;
}

.theme-doctor .auth-modal__btn:hover {
    background-color: #4a70b0;
}

.theme-patient .path-modal-card__icon--red {
    background-color: rgba(237, 50, 55, 0.08);
}

.theme-patient .auth-modal__input:focus,
.theme-patient .auth-select:focus {
    border-color: #ED3237;
    box-shadow: 0 0 0 4px rgba(237, 50, 55, 0.12);
}

.theme-patient .auth-modal__btn {
    background-color: #ED3237;
    color: #FFFFFF;
}

.theme-patient .auth-modal__btn:hover {
    background-color: #d62328;
}

@media (max-width: 768px) {
    .auth-form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ==========================================
   AUTHENTICATED LOGIN BUTTON STYLES
   ========================================== */
.btn-login--authenticated {
    gap: 15px;
    padding: 4px 18px 4px 5px;
    border: none;
    box-shadow: none;
}

.btn-login--patient {
    background-color: #ED3237;
    color: #ffffff;
}

.btn-login--doctor {
    background-color: #5C83C3;
    color: #ffffff;
}

/* Prevent default hover overrides */
.btn-login--authenticated:hover {
    box-shadow: 0 8px 20px rgba(2, 13, 32, 0.25);
    color: #ffffff;
}

.btn-login--patient:hover {
    background-color: #d62328;
}

.btn-login--doctor:hover {
    background-color: #486ca9;
}

.btn-login__avatar {
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-login--patient .btn-login__avatar {
    color: #ED3237;
}

.btn-login--doctor .btn-login__avatar {
    color: #5C83C3;
}

.btn-login__name {
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: #ffffff;
    white-space: nowrap;
}

.btn-login__arrow-right {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.btn-login--authenticated:hover .btn-login__arrow-right {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .btn-login--authenticated {
        padding: 4px 12px 4px 4px;
        gap: 10px;
    }
    .btn-login__avatar {
        width: 28px;
        height: 28px;
    }
    .btn-login__avatar svg {
        width: 16px;
        height: 16px;
    }
    .btn-login__name {
        font-size: 14px;
    }
    .btn-login__arrow-right svg {
        width: 14px;
        height: 14px;
    }
}

/* ==========================================
   NEW SPLIT LIBRARY LAYOUT STYLES
   ========================================== */
.libry-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    width: 100%;
    gap: 20px;
}

.libry-title {
    font-family: Arimo;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -1px;
    color: var(--default);
    margin: 0;
}

.libry-top-bar .libry-search {
    width: calc(100% - 389px);
}

.libry-side-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 8px;
}

.libry-side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 23px 20px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    color: var(--default);
    text-decoration: none;
    transition: var(--transition);
}

.libry-side-link:hover {
    background: #EBF0F7;
}

.libry-side-link.active {
    background: #EBF0F7;
}

.libry-side-link svg {
    color: #A18A92;
    transition: var(--transition);
    flex-shrink: 0;
}

.libry-side-link.active svg {
    color: var(--red);
}

.libry-content .publications-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
}

.library-broadcasts-intro {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 140%;
    color: rgba(2, 13, 32, 0.7);
}

#libraryVideosPanel[hidden],
#libraryBroadcastsPanel[hidden] {
    display: none !important;
}

.libry-tags2 {
    margin: 0 0 24px 0;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    -ms-scrollbar: none;
    scrollbar-width: none;
}
.libry-single-sidebar .libry-tags2{
    margin: 0;
}
.libry-tags2 .libry-tag{
    white-space: nowrap;
}

.libry-sidebar-list{
    display: flex;
    flex-direction: column;
    gap: 28px;
}
/* Single video page layout */
.libry-single-layout {
    display: flex;
    gap: 36px;
    width: 100%;
    align-items: flex-start;
}

.libry-single-main {
    flex: 1;
    min-width: 0;
}

.libry-single-sidebar {
    width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.libry-sidebar-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
}

.libry-sidebar-tabs::-webkit-scrollbar {
    display: none;
}

.libry-sidebar-tab {
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    background: #F4F7FB;
    color: var(--default);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.libry-sidebar-tab.active {
    background: var(--red);
    color: #FFF;
}

/* Horizontal card in sidebar */
.libry-card-horizontal {
    display: flex;
    gap: 16px;
    text-decoration: none;
    cursor: pointer;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #EBF0F7;
    transition: var(--transition);
    width: 100%;
}

.libry-card-horizontal:last-child {
    border-bottom: none;
}

.libry-card-horizontal:hover {
    opacity: 0.85;
}

.libry-card-horizontal__media {
    position: relative;
    width: 150px;
    height: 84px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.libry-card-horizontal__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.libry-card-horizontal__duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(2, 13, 32, 0.7);
    color: #FFF;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 4px;
    font-weight: 500;
}

.libry-card-horizontal__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.libry-card-horizontal__tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    width: fit-content;
    background: #F4F7FB;
    color: #5C83C3;
}

.libry-card-horizontal__title {
    font-size: 13px;
    font-weight: 500;
    line-height: 130%;
    color: var(--default);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.libry-card-horizontal__meta {
    font-size: 11px;
    color: #A18A92;
}

@media (max-width: 1200px) {
    .libry-content .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .libry-content{
        width: 100%;
    }
    .libry-sidebar-list{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .libry-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }
    .libry-top-bar .libry-search {
        width: 100%;
    }
    .libry-single-layout {
        flex-direction: column;
    }
    .libry-single-sidebar {
        width: 100%;
    }
    .libry-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .libry-content .publications-grid {
        grid-template-columns: 1fr;
    }
    .libry-sidebar-list{
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Mobile Menu Bottom Authenticated Overrides */
.menu-bottom .btn-login--authenticated {
    width: 100% !important;
    gap: 15px !important;
    padding: 4px 18px 4px 5px !important;
}

.menu-bottom .btn-login--authenticated.btn-login--patient {
    background-color: #ED3237 !important;
    color: #ffffff !important;
}

.menu-bottom .btn-login--authenticated.btn-login--doctor {
    background-color: #5C83C3 !important;
    color: #ffffff !important;
}

.menu-bottom .btn-login--authenticated .btn-login__avatar {
    background-color: #ffffff !important;
}

.menu-bottom .btn-login--authenticated.btn-login--patient .btn-login__avatar {
    color: #ED3237 !important;
}

.menu-bottom .btn-login--authenticated.btn-login--doctor .btn-login__avatar {
    color: #5C83C3 !important;
}

.menu-bottom .btn-login--authenticated .btn-login__name {
    color: #ffffff !important;
    font-size: 16px !important;
    display: inline-block !important;
}

.menu-bottom .btn-login--authenticated .btn-login__arrow-right {
    color: #ffffff !important;
    display: flex !important;
}

/* ==========================================
   AUTOCOMPLETE SEARCH SUGGESTIONS STYLES
   ========================================== */
.libry-search,
.libry-search-wide,
.articles-search {
    position: relative !important;
}

.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #F4F7FB;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(2, 13, 32, 0.08);
    z-index: 999;
    padding: 12px 0;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.search-autocomplete-dropdown.active {
    display: flex;
}

.search-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 15px;
    color: var(--default);
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
    background: none;
    border: none;
    width: 100%;
    font-family: inherit;
    outline: none;
}

.search-autocomplete-item:hover,
.search-autocomplete-item.is-active {
    background: #E6ECF5;
}

.search-autocomplete-item svg {
    flex-shrink: 0;
    color: #A18A92;
}

/* Specific styling adjust for close icon inside button */
.libry-search button svg,
.libry-search-wide button svg,
.articles-search button svg {
    transition: var(--transition);
}

/* ==========================================
   GLOBAL SHARE & CITE MODAL OVERLAY STYLES
   ========================================== */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 13, 32, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.share-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.share-modal {
    position: relative;
    background: #EEF3F9;
    width: 100%;
    max-width: 440px;
    padding: 40px 30px 30px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(2, 13, 32, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.share-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #7F8D9F;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.share-modal__close:hover {
    color: #020D20;
}

.share-modal__title {
    font-family: Arimo, sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 120%;
    color: #020D20;
    margin: 0 0 30px 0;
    text-align: center;
}

.share-modal__socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    margin-bottom: 30px;
    width: 100%;
}

.share-social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.share-social-item:hover {
    transform: translateY(-2px);
}

.share-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.share-social-icon--max {
    border-radius: 18px; /* Rounded square */
}

.share-social-icon--vk {
    border-radius: 18px; /* Rounded square */
}

.share-social-name {
    font-size: 14px;
    color: #7F8D9F;
    font-weight: 400;
}

.share-modal__copy-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #DCE4EE;
    border-radius: 16px;
    padding: 8px 8px 8px 16px;
    width: 100%;
    box-sizing: border-box;
}

.share-modal__copy-box--multiline {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
}

.share-modal__copy-box--multiline .share-modal__copy-btn {
    align-self: flex-end;
}

.share-modal__link-input {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    outline: none;
    font-size: 14px;
    color: #7F8D9F;
    padding: 0 10px 0 0;
    font-family: inherit;
}

.share-modal__textarea {
    width: 100%;
    min-height: 140px;
    border: none;
    background: transparent;
    font-size: 14px;
    line-height: 1.5;
    color: #1A1D20;
    outline: none;
    resize: vertical;
    font-family: inherit;
    padding: 0;
}

.share-modal__textarea[hidden],
.share-modal__link-input[hidden] {
    display: none;
}

.share-modal__copy-btn {
    background: #020D20;
    color: #FFF;
    border: none;
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.share-modal__copy-btn:hover {
    background: #0c182d;
}

/* ==========================================
   CENTERED FILTER MODAL STYLES
   ========================================== */
.filter-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 13, 32, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.filter-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.filter-modal {
    background: #FFF;
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(2, 13, 32, 0.12);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    overflow: visible;
}

.filter-modal .libry-filter-box {
    margin: 0;
}

.filter-modal .libry-filter-title {
    font-size: 14px;
    margin-bottom: 12px;
}

.filter-modal .libry-month-picker__panel {
    z-index: 10;
}

.filter-modal .libry-reset-btn {
    margin-top: 0;
    align-self: flex-start;
}

.filter-modal-overlay.active .filter-modal {
    transform: translateY(0) scale(1);
}

.filter-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.filter-modal__close svg line {
    stroke: #A8B3C5;
    transition: stroke 0.2s;
}

.filter-modal__close:hover svg line {
    stroke: #ED3237;
}

.filter-modal .filter-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.filter-modal .filter-tag-btn {
    background: #F4F7FB;
    color: #020D20;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-modal .filter-tag-btn:hover {
    background: #EBF0F7;
}

.filter-modal .filter-tag-btn.active {
    background: #ED3237;
    color: #FFF;
}

.filter-modal .filter-sort-box {
    background: #F4F7FB;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.filter-modal .filter-sort-label {
    font-size: 14px;
    font-weight: 500;
    color: #020D20;
}

.filter-modal .filter-sort-select-wrap {
    background: #FFF;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}

.filter-modal .filter-sort-value {
    font-size: 14px;
    color: #020D20;
    font-weight: 500;
}

.filter-modal .filter-reset-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;
    border-top: none;
}

.filter-modal .filter-reset-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #A8B3C5;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0;
}

.filter-modal .filter-reset-btn svg {
    stroke: currentColor;
    stroke-width: 2.5;
}

.filter-modal .filter-reset-btn:hover {
    color: #ED3237;
}

/* ==========================================
   SCIENTIFIC ALL-ARTICLES SECTION STYLES
   ========================================== */
.all-articles-section {
    padding: 80px 0;
    background: #FFF;
}

.all-articles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 50px 0;
}

.all-articles-title {
    font-family: Arimo, sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #020D20;
    text-align: left;
    margin: 0;
    letter-spacing: -1px;
}

.all-articles-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 500;
    color: #5C83C3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.all-articles-more-link:hover {
    color: #ED3237;
}

.all-articles-more-link::after {
    content: '→';
    font-size: 18px;
    line-height: 1;
}

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

.all-articles-grid > .articles-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px 0;
}

.article-scientific-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 30px;
    border-bottom: 1.5px solid #D2E4FF;
    box-sizing: border-box;
}

.article-scientific-card__title {
    font-family: Arimo, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 125%;
    color: #020D20;
    margin: 0;
    letter-spacing: -0.36px;
}

.article-scientific-card__title-link {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-scientific-card__title-link:hover {
    color: #ED3237;
}

.article-scientific-card__authors {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.article-author-link {
    font-size: 14px;
    font-weight: 500;
    color: #5C83C3;
    text-decoration: none;
    transition: color 0.2s;
}

.article-author-link:hover {
    text-decoration: underline;
    color: #4F75B3;
}

.article-scientific-card__meta {
    font-size: 12px;
    line-height: 130%;
    color: #7F8D9F;
    margin-top: auto;
}

/* Hide border for the last row in 3-column layout */
@media (min-width: 993px) {
    .article-scientific-card:nth-last-child(-n+3) {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .all-articles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .article-scientific-card:nth-last-child(-n+3) {
        border-bottom: 1.5px solid #D2E4FF;
        padding-bottom: 30px;
    }
    
    .article-scientific-card:nth-last-child(-n+2) {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .all-articles-title {
        font-size: 32px;
    }

    .all-articles-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 640px) {
    .all-articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .article-scientific-card {
        border-bottom: 1.5px solid #D2E4FF;
        padding-bottom: 24px;
    }
    
    .article-scientific-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .all-articles-title {
        font-size: 28px;
    }
}

/* Privacy Policy Page Styles */
.policy-section {
    width: calc(100% - 40px);
    margin: 84px auto 26px auto;
    padding: 70px 20px 100px 20px;
    border-radius: 22px;
    background: var(--white);
}

.policy-card {
    max-width: 974px;
    margin: 0 auto;
}

.policy-title {
    font-family: Arimo;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 95%;
    letter-spacing: -1.44px;
    text-align: center;
    color: var(--default);
    margin-bottom: 50px;
}

.policy-content,
.policy-content strong{
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
}
.policy-content p{
    margin-bottom: 5px;
}

.policy-content a {
    color: var(--blue);
    text-decoration: underline;
    transition: var(--transition);
}

.policy-content a:hover {
    color: var(--red);
}

.policy-content ul, .policy-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
    line-height: 150%;
}

.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4,
.policy-content h5,
.policy-content h6 {
    color: var(--default);
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.02em;
    margin: 28px 0 12px;
}

.policy-content h2 { font-size: 28px; }
.policy-content h3 { font-size: 22px; }
.policy-content h4 { font-size: 18px; }

.policy-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--blue);
    background: #f5f8fc;
    border-radius: 0 8px 8px 0;
}

.policy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.policy-content th,
.policy-content td {
    border: 1px solid #d8e0ea;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.policy-content th {
    background: #f0f4f9;
    font-weight: 600;
}

.policy-content pre,
.policy-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
}

.policy-content pre {
    margin: 16px 0;
    padding: 14px 16px;
    overflow-x: auto;
    background: #f5f7fa;
    border-radius: 8px;
}

.policy-content hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid #d8e0ea;
}

.policy-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

@media (max-width: 768px) {
    .policy-section {
        padding: 40px 16px 60px 16px;
    }
    .policy-title {
        margin-bottom: 30px;
    }
}

/* Contacts Page Styles */
.contacts-section {
    padding: 120px 0 120px 0;
    background-color: var(--white);
}

.contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 48px 60px;
    margin: 0 0 48px 0;
}

.contacts-info {
    min-width: 0;
    max-width: 580px;
}

.contacts-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border-radius: 30px;
    background: #F2F5FA;
    padding: 14px 20px;
    margin-bottom: 20px;
}

.contacts-badge__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: var(--default);
}

.contacts-title {
    font-family: Arimo;
    font-size: 48px;
    font-style: normal;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 400;
    line-height: 95%;
    letter-spacing: -1.44px;
    color: var(--default);
    margin-bottom: 45px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
    margin-bottom: 40px;
}

.contacts-group-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.32px;
    color: rgba(2, 13, 32, 0.47);
    margin-bottom: 15px;
}

.contacts-group-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacts-phone {
    font-size: 20px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
    transition: var(--transition);
}

.contacts-phone:hover {
    color: var(--red);
}

.contacts-hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacts-hours p {
    font-size: 20px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.4px;
    color: var(--default);
}

.contacts-address {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 420px;
}

.contacts-address__icon {
    flex-shrink: 0;
    width: 28px;
    height: 35px;
    line-height: 0;
}

.contacts-address__icon svg {
    display: block;
    width: 28px;
    height: 35px;
}

.contacts-address__text {
    font-size: 20px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.4px;
    color: var(--default);
}

.contacts-map {
    width: 100%;
    min-height: 474px;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: #f2f5fa;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    min-height: 474px;
    border: none;
    display: block;
}
.contacts-map iframe canvas{
    filter: grayscale(1);
}

.contacts-section .questions-banner {
    margin-top: 0;
}

@media (max-width: 992px) {
    .contacts-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contacts-info {
        max-width: 100%;
        width: 100%;
    }
    
    .contacts-map,
    .contacts-map iframe {
        min-height: 360px;
    }

    .contacts-address {
        max-width: none;
    }
    
    .contacts-grid{
        margin-bottom: 32px;
    }
}

@media (max-width: 576px) {
    .contacts-section {
        padding: 100px 0 60px 0;
    }
    
    .contacts-title {
        margin-bottom: 30px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .contacts-phone, .contacts-hours p {
        font-size: 18px;
    }
    
    .contacts-address__text {
        font-size: 16px;
    }
    
    .contacts-map,
    .contacts-map iframe {
        min-height: 280px;
    }
}
/* --- NEW BLOG2 STYLES --- */

/* Hero Section */
.blog2-hero {
    margin: 90px 0 0 0;
    text-align: center;
    padding: 60px 0 30px 0;
}
.blog-badge {
    background-color: var(--red);
    color: #fff;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.32px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border-radius: 30px;
    padding: 14px 18px;
}
.blog2-hero__title {
    font-family: Arimo;
    font-size: 54px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    line-height: 108%;
    letter-spacing: -1.62px;
    margin: 10px 0 23px 0;
}
.blog2-hero__subtitle {
    font-size: 18px;
    line-height: 110%;
    letter-spacing: -0.36px;
    max-width: 500px;
    margin: 0 auto;
    color: var(--default);
}
.blog2-hero__search {
    margin: 40px auto 0 auto;
    width: 100%;
    max-width: 578px;
}
.blog2-hero__search .libry-search {
    margin: 0;
}

.d-flex {
    display: flex;
}
.justify-center {
    justify-content: center;
}
/* Layout */
.blog2-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    margin-bottom: 95px;
}
.blog2-layout--reverse {
    grid-template-columns: 1fr 3fr;
    margin-bottom: 37px;
}
.blog2-filter-row {
    margin: 24px 0 32px;
}

/* Section Header */
.blog2-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.blog2-section-title {
    font-size: 32px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.64px;
    color: var(--default);
    margin: 0;
    white-space: nowrap;
}
.blog2-section-line {
    flex: 1;
    height: 1px;
    background-color: #E2E8F0;
}

/* 3-column grid for main content */
.blog2-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog2-grid-3 > .blog-catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
}
@media (max-width: 1200px) {
    .blog2-grid-3{
        grid-template-columns: repeat(2, 1fr);
    }
    .blog2-layout{
        grid-template-columns: 2fr 1fr;
    }
    .blog2-layout--reverse{
        grid-template-columns: 1fr 2fr;
    }
    .blog2-hero__title {
        font-size: 40px;
    }
    .blog2-section-title {
        font-size: 28px;
    }
}
@media (max-width: 992px) {
    .blog2-layout {
        grid-template-columns: 1fr;
    }
    .blog2-layout--reverse {
        grid-template-columns: 1fr;
    }
    .blog2-layout--reverse aside{
        order: 2;
    }
    .blog2-hero__title {
        font-size: 32px;
    }
    .blog2-section-title {
        font-size: 24px;
    }
}
@media (max-width: 768px) {
    .blog2-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog2-hero__title {
        font-size: 28px;
    }
    .blog2-section-title {
        font-size: 22px;
    }
}
@media (max-width: 576px) {
    .blog2-grid-3 {
        grid-template-columns: 1fr;
    }
    .blog2-hero__title {
        font-size: 24px;
    }
}
.blog-articles-section .publication-card{
    border-radius: 22px;
    background: #F2F5FA;
    padding: 16px;
}
.blog-articles-section .publication-card .publication-card__title{
    font-size: 18px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.36px;
    color: var(--default);
}
.blog-articles-section .publication-card .publication-card__link{
    color: #5C83C3;
}
/* Big Card */
.blog2-big-card {
    grid-column: span 2;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    min-height: 380px;
}
@media (max-width: 576px) {
    .blog2-big-card {
        grid-column: span 1;
    }
}
.blog2-big-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.blog2-big-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}
.blog2-big-card__content {
    position: relative;
    z-index: 3;
}
.blog2-big-card__date {
    position: absolute;
    top: 24px;
    left: 24px;
    color: #fff;
    font-size: 14px;
    z-index: 3;
}
.blog2-big-card__title {
    color: #fff;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 12px;
    position: relative;
    z-index: 3;
}
.blog2-big-card__desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    position: relative;
    z-index: 3;
    max-width: 90%;
}

/* Small Card */
.blog2-small-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.blog2-small-card__img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}
.blog2-small-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog2-small-card__tag {
    display: inline-block;
    background-color: #E8F0FE;
    color: #4A85F6;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    align-self: flex-start;
}
.blog2-small-card__tag.red {
    background-color: #FCE8E8;
    color: #ED3237;
}
.blog2-small-card__title {
    font-size: 18px;
    font-weight: 500;
    color: var(--default);
    margin: 0 0 8px;
    line-height: 1.3;
}
.blog2-small-card__desc {
    font-size: 14px;
    color: rgba(2, 13, 32, 0.47);
    line-height: 1.4;
    margin: 0 0 16px;
    flex-grow: 1;
}
.blog2-small-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.blog2-small-card__date {
    font-size: 12px;
    color: rgba(2, 13, 32, 0.47);
}
.blog2-small-card__link {
    font-size: 14px;
    color: #4A85F6;
    font-weight: 500;
    text-decoration: none;
}

/* Subscribe Banner */
.subscribe-banner {
    background-color: #BFD6FC;
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-column: -1 / 1;
    position: relative;
    overflow: hidden;
}
.subscribe-banner__content {
    max-width: 500px;
    position: relative;
    z-index: 2;
}
.subscribe-banner__title {
    font-size: 32px;
    font-weight: 500;
    color: var(--default);
    margin: 0 0 16px;
    line-height: 1.1;
}
.subscribe-banner__desc {
    font-size: 16px;
    color: rgba(2, 13, 32, 0.47);
    margin: 0 0 32px;
}
.subscribe-banner__form {
    display: flex;
    gap: 12px;
}
.subscribe-banner__input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 16px;
}
.subscribe-banner__btn {
    background-color: var(--default);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 16px 32px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.subscribe-banner__btn:hover {
    opacity: 0.9;
}
.subscribe-banner__image {
    position: absolute;
    right: 0;
    bottom: -20px;
    height: 120%;
    z-index: 1;
    object-fit: contain;
    background-blend-mode: color, normal;
}
@media (max-width: 992px) {
    .subscribe-banner {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }
    .subscribe-banner__form {
        flex-direction: column;
    }
    .subscribe-banner__image {
        position: static;
        height: 200px;
        margin-top: 30px;
    }
    .blog2-big-card{
        padding: 20px;
    }
    .blog2-big-card__title {
        font-size: 28px;
    }
}
@media (max-width: 768px){
    .blog2-big-card{
        padding: 16px;
    }
    .blog2-big-card__title {
        font-size: 24px;
    }
}

/* Force filter tag buttons active state to red color */
.filter-tag-btn.active {
    background: #ED3237 !important;
    color: #FFF !important;
}

/* --- NEW BLOG2 OVERRIDES FOR PIXEL-PERFECT MOCKUP MATCH --- */

/* Header row for 'Все статьи' */
.blog2-catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 60px 0 24px;
}

.blog2-title-centered {
    font-size: 40px;
    font-weight: 500;
    color: var(--default);
    text-align: left;
    margin: 0;
}

.blog2-catalog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 500;
    color: #5C83C3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog2-catalog-link:hover {
    color: #ED3237;
}

.blog2-catalog-link::after {
    content: '→';
    font-size: 18px;
    line-height: 1;
}

/* Centering filter tags */
.blog2-filter-row {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

/* Active filter button background color (blue in reverse section) */
.blog2-filter-row .filter-tag-btn.active {
    background: #5C83C3 !important;
    color: #FFF !important;
}

/* Small card inside reverse layout grid */
.blog-featured-grid .publication-card {
    background: #F4F7FB;
    border-radius: 24px;
    padding: 24px;
    height: 100%;
    box-sizing: border-box;
}

/* Nesting subscribe banner inside grid */
.blog-featured-grid .subscribe-banner {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
}

/* Load more button styling */
.blog2-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FFF;
    border: 1.5px solid #5C83C3;
    color: #5C83C3;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
}
.blog2-load-more:hover {
    background-color: #5C83C3;
    color: #FFF;
}
.blog2-load-more:hover svg {
    stroke: #FFF;
}

.subscribe-banner__status {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 140%;
}
.subscribe-banner__status--success {
    color: #1f7a3f;
}
.subscribe-banner__status--error {
    color: #c62828;
}

/* --- NEW SINGLE BLOG PAGE STYLES FOR PIXEL-PERFECT MOCKUP MATCH --- */

.blog-single-header {
    margin-top: 40px;
}

.blog-single-publish-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(2, 13, 32, 0.47);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 16px;
}
.blog-single-publish-info svg {
    flex-shrink: 0;
}
.blog-single-title-main {
    font-size: 44px;
    font-weight: 600;
    line-height: 115%;
    letter-spacing: -0.88px;
    color: var(--default);
    margin: 0 0 16px 0;
    max-width: 900px;
}
.blog-subtitle-main {
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.4px;
    color: var(--default);
    margin: 0 0 24px 0;
}
.blog-single-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 32px 0;
}
.blog-single-tag {
    background: #F4F7FB;
    color: #5C83C3;
    padding: 12px 24px;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.32px;
}
.blog-lead-text {
    font-size: 24px;
    font-weight: 600;
    line-height: 140%;
    color: var(--default);
    margin-bottom: 24px;
}
.blog-premium-banner {
    background: linear-gradient(135deg, #D4E5FF 0%, #E6EFFF 100%);
    border-radius: 24px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 48px 0;
    gap: 30px;
    border: 1px solid #B8D4FF;
}
.blog-premium-content {
    max-width: 460px;
}
.blog-premium-title {
    font-size: 28px;
    font-weight: 500;
    color: var(--default);
    margin: 0 0 14px 0;
    line-height: 120%;
}
.blog-premium-title strong {
    font-weight: 700;
}
.blog-premium-desc {
    font-size: 15px;
    line-height: 140%;
    color: rgba(2, 13, 32, 0.7);
    margin: 0 0 24px 0;
}
.blog-premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #5C83C3;
    color: #FFF;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.blog-premium-btn:hover {
    background-color: var(--default);
    box-shadow: 0 4px 12px rgba(92, 131, 195, 0.3);
}
.blog-premium-right {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}
.blog-premium-trophy-img {
    height: 180px;
    object-fit: contain;
}
.blog-premium-badge-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    color: rgba(2, 13, 32, 0.6);
    border-left: 1px solid rgba(2, 13, 32, 0.15);
    padding-left: 16px;
    white-space: nowrap;
}
.blog-main-points {
    margin-top: 48px;
}
.blog-main-points-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--default);
    margin-bottom: 24px;
}
.blog-main-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.blog-main-points-list li {
    position: relative;
    padding: 10px 16px 10px 32px;
    font-size: 16px;
    line-height: 140%;
    color: var(--default);
    border-radius: 30px;
    transition: var(--transition);
}
.blog-main-points-list li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--default);
}
.blog-main-points-list li.active {
    background-color: #F4F7FB;
}
.blog-main-points-list__link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.blog-main-points-list__link:hover {
    color: var(--blue);
}
.blog-main-points-list li.active .blog-main-points-list__link {
    color: var(--default);
}
.blog-main-points-list li.active::before {
    background-color: #5C83C3;
}

@media (max-width: 992px) {
    .blog-premium-banner {
        flex-direction: column;
        padding: 30px 24px;
        align-items: center;
        text-align: center;
    }
    .blog-premium-right {
        flex-direction: column;
        gap: 12px;
    }
    .blog-premium-badge-text {
        border-left: none;
        padding-left: 0;
        white-space: normal;
    }
    .blog-single-title-main {
        font-size: 32px;
    }
}


/* Doctor Profile Page */
.about.doctor-about{
    margin-top: 60px;
    padding: 30px 0 50px 0;
}
.mission-card .platform-btn{
    align-self: flex-start;
}
/* Timeline Section */
.doctor-timeline-section {
    padding: 50px 0 100px 0;
    background-color: var(--white);
}
.doctor-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 65px 72px;
    position: relative;
}
.timeline-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}
.timeline-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.timeline-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--red);
    flex-shrink: 0;
}
.timeline-card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--default);
    line-height: 120%;
}
.timeline-card__text {
    font-size: 15px;
    line-height: 140%;
    color: rgba(2, 13, 32, 0.7);
}

/* Certificates Section */
.doctor-certs-section {
    padding: 80px 0;
    background-color: #020D20;
    color: #FFF;
}
.certs-section-title {
    font-family: Arimo, sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 110%;
    margin: 0 0 16px 0;
    text-align: center;
}
.certs-section-title span.title-italic {
    font-style: italic;
    font-family: Georgia, serif;
}
.certs-section-subtitle {
    font-size: 16px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.7);
    max-width: 680px;
    margin: 0 auto 50px auto;
    text-align: center;
}
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.cert-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}
.cert-card:hover {
    transform: translateY(-5px);
    border-color: var(--red);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.cert-card-link {
    display: block;
    width: 100%;
    height: 100%;
}
.cert-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specialists List Page */
.specialists-section {
    margin-top: 60px;
    padding: 80px 0;
    background-color: var(--white);
}
.specialists-header {
    margin-bottom: 50px;
}
.specialists-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #F3F5F8;
    border-radius: 30px;
    padding: 8px 16px;
    margin-bottom: 15px;
}
.specialists-badge__text {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
}
.specialists-title {
    font-family: Arimo, sans-serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 100%;
    color: var(--default);
}
.specialists-subtitle {
    font-size: 20px;
    line-height: 130%;
    color: var(--gray);
}
.specialists-subtitle span.highlight-red {
    color: var(--red);
    font-weight: 600;
}
.spec-titles{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 15px;
    margin-bottom: 60px;
}
.specialist-card {
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
a.specialist-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.specialist-card--no-profile {
    cursor: default;
}
.specialist-card__media {
    width: 100%;
    aspect-ratio: 339/411;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}
.specialist-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.specialist-card__media:hover .specialist-card__img{
    filter: drop-shadow(0px 0px 10px rgba(19, 147, 210, 1)) contrast(1.1);
}
.specialist-card__name {
    font-size: 20px;
    font-weight: 600;
    color: var(--default);
    margin: 0 0 10px 0;
}
.specialist-card__desc {
    font-size: 14px;
    line-height: 140%;
    color: rgba(2, 13, 32, 0.7);
}
.specialists-more {
    display: flex;
    justify-content: center;
}
.specialists-more[hidden],
.btn-show-more[hidden],
.blog2-load-more[hidden],
.publications-load-more[hidden] {
    display: none !important;
}
.btn-show-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #F4F7FB;
    color: var(--default);
    border: none;
    border-radius: 30px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.btn-show-more:hover {
    background-color: var(--default);
    color: #FFF;
}
.btn-show-more:hover svg path {
    stroke: #FFF;
}


/* Media Queries for Doctor Profile and Specialists */
@media (max-width: 1200px) {
    .doctor-profile-hero {
        grid-template-columns: 380px 1fr;
        gap: 40px;
    }
    .doctor-mission-card {
        height: 540px;
        padding: 30px;
    }
    .doctor-name {
        font-size: 50px;
    }
    .doctor-stats-grid {
        gap: 20px;
    }
    .doctor-stat-value {
        font-size: 44px;
    }
    .doctor-timeline-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .certificates-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .specialists-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 40px;
    }
    .specialists-title {
        font-size: 48px;
    }
    .specialists-header {
        margin-bottom: 40px;
    }
    .specialists-section{
        padding: 60px 0;
    }
    .test-banner + .contacts-section{
        padding: 0 0 30px 0;
    }
}

@media (max-width: 992px) {
    .doctor-profile-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .doctor-mission-card {
        height: 480px;
        max-width: 460px;
        margin: 0 auto;
    }
    .doctor-bio-details {
        text-align: center;
        align-items: center;
    }
    .doctor-tags {
        justify-content: center;
    }
    .doctor-stats-grid {
        width: 100%;
        max-width: 600px;
    }
    .doctor-btn-appointment {
        align-self: center;
    }
    .doctor-timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .specialists-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 30px;
    }
    .specialists-title {
        font-size: 42px;
    }
    .specialists-title{
        font-size: 42px;
    }
    .spec-titles{
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .specialists-header {
        margin-bottom: 30px;
    }
    .specialists-section{
        padding: 60px 0 30px 0;
    }
}

@media (max-width: 768px) {
    .certs-section-title {
        font-size: 36px;
    }
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .doctor-stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    .doctor-stat-item {
        align-items: center;
    }
    .doctor-timeline-grid {
        grid-template-columns: 1fr;
    }
    .specialists-title {
        font-size: 36px;
    }
    .specialists-header {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .doctor-name {
        font-size: 36px;
    }
    .doctor-mission-card {
        padding: 20px;
        height: 380px;
    }
    .doctor-mission-title {
        font-size: 18px;
    }
    .certs-section-title {
        font-size: 28px;
    }
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    .specialists-grid {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }
    .specialists-title {
        font-size: 32px;
    }
}

/* ==========================================
   CLINIC CHECKUP MODAL STYLES
   ========================================== */
.clinic-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 13, 32, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.clinic-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.clinic-modal {
    background: radial-gradient(circle at center, #FFFFFF 0%, #EEF3F9 100%);
    border-radius: 32px;
    padding: 60px 40px;
    width: 100%;
    max-width: 884px;
    height: auto;
    min-height: 520px;
    max-height: 691px;
    box-shadow: 0 20px 50px rgba(2, 13, 32, 0.15);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.clinic-modal-overlay.active .clinic-modal {
    transform: translateY(0) scale(1);
}

.clinic-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.clinic-modal__close svg path {
    stroke: #A8B3C5;
    transition: stroke 0.2s;
}

.clinic-modal__close:hover svg path {
    stroke: var(--red);
}

.clinic-modal__badge {
    background: var(--white);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(2, 13, 32, 0.03);
}

.clinic-modal__badge-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 1px;
}

.clinic-modal__title {
    font-family: Arimo, sans-serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 110%;
    color: var(--default);
    margin: 20px 0 12px;
    letter-spacing: -1.2px;
}

.clinic-modal__subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 130%;
    color: var(--default);
    margin-bottom: 36px;
    opacity: 0.85;
}

.clinic-modal__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 480px;
    margin-bottom: 24px;
}

.clinic-modal__input-wrapper {
    width: 100%;
    position: relative;
}

.clinic-modal__input {
    background: var(--white);
    border-radius: 16px;
    border: 1.5px solid #DCE4EE;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--default);
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.clinic-modal__input:focus {
    border-color: var(--red);
}

.clinic-modal__input::placeholder {
    color: #A8B3C5;
    font-weight: 400;
}

.clinic-modal__btn {
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.clinic-modal__btn:hover {
    background: #d6292d;
}

.clinic-modal__policy {
    font-size: 13px;
    line-height: 140%;
    color: #7F8D9F;
    max-width: 500px;
}

.clinic-modal__policy a {
    color: var(--blue);
    text-decoration: underline;
    transition: color 0.2s;
}

.clinic-modal__policy a:hover {
    color: var(--red);
}

.clinic-modal__content-wrapper[hidden],
.clinic-modal__success[hidden] {
    display: none !important;
}

.clinic-modal__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    animation: clinicFadeIn 0.4s ease forwards;
}

.clinic-modal__success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

@keyframes clinicFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .clinic-modal {
        max-width: 680px;
        padding: 50px 30px;
    }

    .clinic-modal__title {
        font-size: 36px;
    }

    .clinic-modal__subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .clinic-modal {
        max-width: 100%;
        max-height: 90%;
        height: auto;
        border-radius: 24px;
        padding: 40px 20px;
        overflow-y: auto;
    }

    .clinic-modal__title {
        font-size: 28px;
        margin-top: 16px;
    }

    .clinic-modal__subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .clinic-modal__close {
        top: 16px;
        right: 16px;
    }

    .clinic-modal__input,
    .clinic-modal__btn {
        padding: 16px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .clinic-modal__title {
        font-size: 24px;
    }

    .clinic-modal__subtitle {
        font-size: 14px;
    }

    .clinic-modal__badge {
        padding: 6px 14px;
        font-size: 12px;
    }
}

.broadcast-reminder__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 140%;
    color: #7F8D9F;
    text-align: left;
    width: 100%;
    max-width: 480px;
}

.broadcast-reminder__consent input {
    margin-top: 3px;
    flex-shrink: 0;
}

.broadcast-reminder__consent a {
    color: var(--blue);
    text-decoration: underline;
}
