﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap&subset=cyrillic');

html, body {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    /* font-family: sans-serif, 'Comic Sans MS', cursive;*/
    background: #f7f6f2;
    color: #222;
    margin: 0;
    padding: 0;
}

header.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-bottom: 3px solid #000;
    padding: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*header.site-header .site-logo {
    max-width: 150px;
    height: auto;
}*/

.site-header {
    width: 100%;
    padding: 1em 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 1em;
    z-index: 100;
}

.site-logo {   
    width: auto;
    display: block;
}

.top-row {
    width: 100%;
    padding: 1em 0 0.5em 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 1em;
    z-index: 100 !important;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
    position: relative;
}

.top-row .site-logo {
    height: 55px; /* 50% of 230px */
    width: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    text-shadow: 1px 1px 1px white, 0 0 1em gray, 0 0 0.2em white;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.content-below h1, .content-below h2, .content-below h3, .content-below h4, .content-below h5, .content-below h6 {
    margin-top: 0;
    margin-bottom: 0;
}

h1:focus {
    outline: none;
}

a, .btn-link, .comic-link {
    color: black;
    text-decoration-thickness: 1px;
    font-weight: bold;
}

a:hover, .btn-link:hover, .comic-link:hover {
    color: #0071c1;
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.btn, .btn-primary, .comic-button {
    background: #ff6b6b;
    border: 3px solid #000;
    color: #fff;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transform: rotate(-2deg);
    transition: transform 0.2s, background 0.2s;
    box-shadow: 3px 3px 0 #000;
    margin: 0.5em 0;
}

.btn:hover, .btn-primary:hover, .comic-button:hover {
    background: #fff176;
    color: #000;
    transform: rotate(2deg) scale(1.05);
}

.comic-button, .funny-home-btn {
    min-height: 44px;
    font-size: 1em;
    margin: 0.5em 0;
    padding: 0.7em 1.2em;
}

@media (max-width: 600px) {
    .comic-button, .funny-home-btn {
        font-size: 0.95em;
        padding: 0.5em 0.8em;
    }
}

input, textarea, select, .form-control {
    border: 2px solid #000;
    border-radius: 10px;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    padding: 10px;
    margin: 0.5em 0;
    background: #fffde7;
    box-shadow: 2px 2px 0 #000;
}

    input[type="checkbox"], input[type="radio"] {
        width: auto;
        margin-right: 8px;
    }

.form-group input {
    border: 2px solid #000;
    border-radius: 10px;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
}

/* Only text-like inputs get full width and padding */
.form-group input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    padding: 10px;
}

/* Checkboxes and radios get compact width and margin */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: auto;
    margin-right: 8px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content, .main, .page, .container, .body-content {
    background: #fff;
    border: 3px solid #000;
    border-radius: 20px;
    box-shadow: 5px 5px 0 #000;
    padding: 2em;
    margin: 2em auto;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]), .valid.modified:not([type=radio]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45OTMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZWQiLz48L2c+PC9zdmc+) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* Comic-style Landing Page Styles */
.comic-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
}

.comic-panel {
    background: #fff;
    border: 3px solid #000;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 5px 5px 0px #000;
    position: relative;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
}

.speech-bubble, .thought-bubble {
    background: #fff;
    border: 3px solid #000;
    border-radius: 50% / 50%; /* Makes the bubble oval */
    padding: 40px 50px;       /* More horizontal padding for oval shape */
    margin: 10px 0;
    position: relative;
    box-shadow: 3px 3px 0 #000;
    width: 60%;
    min-width: 180px;
    max-width: 100%;
    text-align: center;
    z-index: 10;
}

.speech-bubble {
    position: relative;
    margin-bottom: 35px;
}

.speech-bubble:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -25px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 25px solid #000;
}

.speech-bubble h1, 
.speech-bubble h2, 
.speech-bubble h3, 
.speech-bubble h4, 
.speech-bubble h5, 
.speech-bubble h6 {
    margin-top: 0;
    margin-bottom: 0;
}

.speech-bubble h6, .speech-bubble p {
    /*font-size: 1em;*/
    word-break: break-word;
}

@media (max-width: 600px) {
    .speech-bubble h6, .speech-bubble p {
       /* font-size: 0.9em;*/
    }
}

.thought-bubble .bubble-dot {
    position: absolute;
    z-index: 1;
    background: #000;
    display: block;
    border-radius: 50%;
}

.thought-bubble .bubble-dot1 {
    width: 28px;
    height: 28px;
    left: 41px;
    bottom: -30px;
}

.thought-bubble .bubble-dot2 {
    width: 18px;
    height: 18px;
    left: 51px;
    bottom: -51px;
}

.thought-bubble .bubble-dot3 {
    width: 10px;
    height: 10px;
    left: 57px;
    bottom: -68px;
}

.comic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.comic-button {
    background: #ff6b6b;
    border: 3px solid #000;
    padding: 10px 20px;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transform: rotate(-2deg);
    transition: transform 0.2s;
}

.comic-button:hover {
    transform: rotate(2deg) scale(1.05);
}

.form-group {
    margin: 15px 0;
}
   
    .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 2px solid #000;
        border-radius: 10px;
        font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    }

/* Ensure checkboxes in .form-group are left-aligned */
.form-group .form-check {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.5em;
}

/* Section-specific styles */
.intro-panel {
    background: #ffeb3b;
}

/*.intro-panel .speech-bubble {
    padding: 25px;*/ /* Set specific padding for intro-panel bubble */
/*}*/

.about-panel {
    background: #7bfa4f;
    display: flex;
    justify-content: center;
    width: auto;
    align-content: flex-end;
    align-self: end;
}

    .about-panel .comic-person-container {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        gap: 2em;
    }

    .about-panel .person-vertical{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-panel .speech-bubble {
        padding: 2em 1.5em;
        width: 100%;
        max-width: 600px;
        min-width: 0;
        box-sizing: border-box;
        word-break: break-word;
        transition: font-size 0.2s, padding 0.2s;
    }

@media (max-width: 900px) {
    .about-panel .speech-bubble {
        /* font-size: 0.9em;*/
        padding: 1.2em 0.8em;
        max-width: 95vw;
    }
}

@media (max-width: 600px) {
    .about-panel .speech-bubble {
        /*font-size: 0.55em;*/ /* Twice smaller */
        padding: 0.7em 0.4em;
        max-width: 98vw;
    }
}

.about-panel .speech-bubble:after {
    content: "";
    position: absolute;
    left: -33px;
    top: 50%;
    transform: translateY(-50%) rotate(-270deg);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 5px solid transparent;
    border-top: 45px solid #000;
}

.about-panel .popup-tooltip-text {
    width: 70% !important;
    max-width: 70% !important;
    max-width: 70%;
    min-width: 220px;
    text-align: left;
    border-radius: 10px;
    border: 2px solid #000;
    box-shadow: 2px 2px 8px #888;    
    position: absolute !important;
    z-index: 10;
    left: 50%;
    top: 120%;
    transform: translateX(-50%);
    transition: opacity 0.2s;
    font-size: 0.8em;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

.about-panel .popup-tooltip:hover .popup-tooltip-text {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.tagsWords {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
}



.intro-panel .popup-tooltip-text {
    width: 400px !important;
    max-width: 90%;
    text-align: left;   
    font-weight: normal !important;
    text-shadow: none !important;
}

.intro-panel .comic-person-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-panel .comic-person-container:first-child {
    margin-top: 10px;
}

.program-panel {
    background: #a5d6a7;
}

/*.program-panel .content-above {
    background: #fff;
    width: calc(100% + 40px);
    margin: -20px -20px 2rem -20px;
    border-radius: 0;*/ /* Only round top corners */
    /*box-shadow: 0 -4px 16px rgba(0,0,0,0.07);
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    border-bottom: 2px solid #000;*/ /* Black solid bottom line */
    /*display: block;
}*/

    .content-above {
        background: #fff;
        width: calc(100% + 40px);
        margin: -20px -20px 2rem -20px;
        border-radius: 0; /* Only round top corners */
        box-shadow: 0 -4px 16px rgba(0,0,0,0.07);
        padding: 1.5rem 2rem;
        box-sizing: border-box;
        border-bottom: 2px solid #000; /* Black solid bottom line */
        display: block;
    }

.content-above h1, .content-above h2, .content-above h3, .content-above h4, .content-above h5, .content-above h6 {
    margin-top: 0;
    margin-bottom: 0;
}

.program-panel .comic-person-img {
   /* height: 150px;*/
    width: auto;
    object-fit: contain;
}

/* Tab 0: 50% of default height */
.tab0-layout .comic-person-img {
    height: 215px !important; /* 50% of 230px */
    width: auto;
}

/* Tab 1: 200% of default height */
.tab1-layout .comic-person-img {
    /*height: 260px;*/ /* 200% of 230px */
    width: auto;
}
/*
.program-panel .program-column:nth-child(2) .comic-person-img {
    height: 250px;
}
*/
/*.program-panel .program-column:nth-child(3) .comic-person-img {
    height: 360px;
}*/

    /*.program-panel .content-below {
        background: #fff;
        width: calc(100% + 40px);
        margin: 2rem -20px -20px -20px;      
        border-radius: 0 0 16px 16px;*/ /* Only round bottom corners */
        /*box-shadow: 0 4px 16px rgba(0,0,0,0.07);
        padding: 1.5rem 2rem;
        box-sizing: border-box;
        border-top: 2px solid #000;*/ /* Black solid top line */
        /*display: block;
    }*/

.content-below
{
    margin-top: auto;
    /*background: rgba(255,255,255,0.92);*/ /* semi-transparent to show background image */


    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    /*margin-bottom: -20px;*/
    /*border-radius: 0 0 16px 16px;*/
    /*box-shadow: 0 4px 16px rgba(0,0,0,0.07);*/
    /*padding: 1.5rem 2rem;*/
    /*box-sizing: border-box;*/
    /*border-top: 2px solid #000;*/
    /*display: block;*/

    background: #fff;
    /*width: calc(100% + 40px);*/
    /*margin: 2rem -20px -20px -20px;*/
    border-radius: 0;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    /*border-top: 4px solid #000;*/ /* Black solid top line */
    display: block;
    grid-column: 1 / -1;
    /*margin-top: 2em;*/


    margin-top: 24px;
    padding-top: 16px;
}

.program-panel .speech-bubble {
    white-space: nowrap;
    width: auto;
    /* min-width: 200px;
   */
    /*max-width: none;*/
    /* padding: 10px 20px;*/
}

.program-panel .speech-bubble a {
    white-space: nowrap;
}

.feedback-panel {
    background: #ffab91;
}

.contact-panel {
    background: #ce93d8;
}

.about-office-panel {
    background: #7bfa4f;
    display: flex;
    justify-content: center;
    width: auto;
    align-content: flex-end;
    align-self: end;
    max-width: 100%; 
}

.about-office-panel .comic-person-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 2em;
}

.about-office-panel .person-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-office-panel .speech-bubble {
    margin-left: 2em;
    margin-right: 0;
    align-self: center;
    position: relative;
    padding: 40px 70px;
    width: auto;
    max-width: 70%;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 50% / 40%;
}

.about-office-panel .speech-bubble:after {
    content: "";
    position: absolute;
    left: -33px;
    top: 50%;
    transform: translateY(-50%) rotate(-270deg);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 5px solid transparent;
    border-top: 45px solid #000;
}

    .about-office-panel .popup-tooltip-text {
    max-width: 70%;
    width: 320px;
    min-width: 220px;
   /* background: #ffd180 !important;
    color: #222;*/
    text-align: left;
    border-radius: 10px;
    border: 2px solid #000;
    box-shadow: 2px 2px 8px #888;   
    position: absolute !important;
    z-index: 10;
    left: 50%;
    top: 120%;
    transform: translateX(-50%);
    transition: opacity 0.2s;   
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

.about-office-panel .popup-tooltip:hover .popup-tooltip-text {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.office-gallery {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    align-items: flex-start;
    margin-top: 1em;
    flex-wrap: wrap;
}

.office-gallery img {
    max-width: 260px;
    width: 100%;
    border-radius: 12px;
    border: 2px solid #000;
    box-shadow: 2px 2px 8px #888;
    background: #fff;
}

.office-gallery-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    margin-top: 1em;
}

.gallery-photo {
    max-width: 260px;
    width: 100%;
    border-radius: 12px;
    border: 2px solid #000;
    box-shadow: 2px 2px 8px #888;
    background: #fff;
    transition: transform 0.2s;
}

.gallery-photo:hover {
    transform: scale(1.04) rotate(-2deg);
    box-shadow: 4px 4px 16px #888;
}

.gallery-nav-btn {
    background: #ffd180;
    border: 2px solid #000;
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 1em !important;
    line-height: 1;
    padding: 0;
    font-family: inherit;
    font-weight: bold;
    color: #222;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000;
    transition: background 0.2s, transform 0.2s;
    margin: 0 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav-btn:hover {
    background: #fff176;
    color: #000;
    transform: scale(1.1);
}

.gallery-popup-backdrop {
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-popup-content {
    position: relative;
    background: #fff;
    border: 3px solid #000;
    border-radius: 20px;
    box-shadow: 8px 8px 0 #000;
    padding: 2em;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-popup-img {
    max-width: calc(70vw - 120px);
    max-height: 70vh;
    border-radius: 12px;
    border: 2px solid #000;
    box-shadow: 2px 2px 8px #888;
    background: #fff;
    margin: 0 2em;
}

.gallery-popup-nav {
    background: #ffd180;
    border: 2px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1em;
    line-height: 1;
    padding: 0;
    vertical-align: top;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: inherit;
    font-weight: bold;
    color: #222;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.gallery-popup-nav-left {
    left: 32px;
}

.gallery-popup-nav-right {
    right: 32px;
}

.gallery-popup-close {
    position: absolute;
    top: 0.5em;
    right: 1em;
    background: #ffd180;
    border: 2px solid #000;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.5em;
    font-weight: bold;
    color: #222;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-popup-close:hover {
    background: #fff176;
    color: #000;
}

blockquote {
    border-left: 5px solid #ff6b6b;
    background: #fffde7;
    margin: 1em 0;
    padding: 1em 2em;
    font-style: italic;
    box-shadow: 2px 2px 0 #000;
}

hr {
    border: 0;
    border-top: 3px dashed #000;
    margin: 2em 0;
}

/* Make images responsive */
img, .responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.comic-person-img, .full-width-video, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive containers and page layout */
body, .comic-container, .comic-panel, .mission-details-panel, .office-gallery-carousel, .content-below, .tab-content {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
}

/* Responsive columns for blocks like #moreAboutSerhii */
.more-about-serhii-2col {
    display: flex;
    gap: 2em;
    align-items: stretch;
    flex-wrap: wrap;
}
.more-about-serhii-2col > div {
    min-width: 0;
}
.more-about-serhii-2col > div:last-child img {
    width: 100%;
    min-width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid #000;
    display: block;
}

/* Responsive buttons row */
.responsive-btn-row {
    display: flex;
    flex-direction: row;
    gap: 35px;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

/* Media queries for small screens */
@media (max-width: 900px) {
    .more-about-serhii-2col {
        flex-direction: column;
        gap: 1em;
    }
    .more-about-serhii-2col > div:last-child {
        min-width: 0;
        margin-top: 1em;
    }
    .comic-panel, .mission-details-panel, .office-gallery-carousel, .tab-content, .content-below {
        padding-left: 6px;
        padding-right: 6px;
    }
    .responsive-btn-row {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }
    .comic-panel, .program-details-panel, .tab-content {
        padding: 0.5em;
        border-radius: 10px;
    }
    .tabs-header {
        flex-direction: column;
        gap: 0.5em;
    }
    .tab0-layout, .tab1-layout, .tab2-layout {
        display: flex;
        flex-direction: column;
        gap: 1em;
        min-width: 0;
    }
    .character-container, .right-block, .video-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        align-items: center;
        justify-content: center;
    }
    .speech-bubble {      
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0 auto 1em auto;
        padding: 18px 12px;
    }
    .comic-person-img {
        max-width: 120px;
        height: auto;
    }
}

@media (max-width: 600px) {
    .comic-panel, .mission-details-panel, .office-gallery-carousel, .tab-content, .content-below {
        padding-left: 2px;
        padding-right: 2px;
    }
    .more-about-serhii-2col > div:last-child img {
        min-width: 120px;
    }
    .tab0-layout, .tab1-layout, .tab2-layout {
        gap: 0.5em;
    }
    .speech-bubble {       
        padding: 10px 6px;
    }
    .comic-person-img {
        max-width: 50px;
        min-width: 50px;
        height: auto;
    }
    .tabs-header {
        flex-direction: column;
        gap: 0.3em;
    }
    .tab-button {
        font-size: 1em;
        padding: 8px 10px;
    }
    .video-container {
        max-width: 100vw;
        min-width: 0;
        margin: 0 auto;
    }
    .word-sphere-container, .tagsWords {
        max-width: 100vw;
        overflow-x: hidden;
        overflow-y: hidden;
    }
}

@media (max-width: 768px) {
    .comic-grid {
        grid-template-columns: 1fr;
    }
    .content, .main, .page, .container, .body-content {
        padding: 1em;
        margin: 1em;
    }
    h1, h2, h3, h4, h5, h6 {
        text-shadow: 1px 1px 0 #fff176, 1px 1px 0 #000;
    }
    .mission-details-panel .gallery-nav-btn {
        width: 40px !important;
        height: 40px !important;
    }
}

@media (min-width: 992px) {
    .contact-form {
        max-width: 800px;
        width: 50%;
        min-width: 500px;
    }
    .contact-form {
        width: 50vw !important;
        max-width: none !important;
        min-width: 500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
}

/* Comic style for forms, including Register and Login */
form, .auth-form, .login-form, .register-form {
    background: #fff;
    border: 3px solid #000;
    border-radius: 20px;
    box-shadow: 5px 5px 0 #000;
    padding: 2em;
    margin: 2em auto;
    max-width: 400px;
}

form label, .auth-form label {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    color: #222;
    margin-bottom: 0.5em;
    display: block;
}

    form input:not([type="checkbox"]), form input:not([type="radio"]), form select, form textarea,
    .auth-form input:not([type="checkbox"]), .auth-form input:not([type="radio"]), .auth-form select, .auth-form textarea {
        border: 2px solid #000;
        border-radius: 10px;
        font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
        padding: 10px;
        margin-bottom: 1em;
        background: #fffde7;
        box-shadow: 2px 2px 0 #000;
        width: 100%;
    }

form button, .auth-form button {
    background: #ff6b6b;
    border: 3px solid #000;
    color: #fff;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transform: rotate(-2deg);
    transition: transform 0.2s, background 0.2s;
    box-shadow: 3px 3px 0 #000;
    margin-top: 1em;
    width: 100%;
}

form button:hover, .auth-form button:hover {
    background: #fff176;
    color: #000;
    transform: rotate(2deg) scale(1.05);
}

/* Comic style for Identity/Account/Register and similar auth pages */
.card, .card-body, .auth-card, .register-card {
    background: #fff !important;
    border: 3px solid #000 !important;
    border-radius: 20px !important;
    box-shadow: 5px 5px 0 #000 !important;
    padding: 2em !important;
    margin: 2em auto !important;
    max-width: 400px;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif !important;
}

.form-group label, .card label {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif !important;
    font-weight: bold;
    color: #222;
    margin-bottom: 0.5em;
    display: block;
}

    .form-group input:not([type="checkbox"]):not([type="radio"]), .form-group select, .form-group textarea,
    .card input, .card select, .card textarea {
        border: 2px solid #000 !important;
        border-radius: 10px !important;
        font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif !important;
        padding: 10px !important;
        margin-bottom: 1em !important;
        background: #fffde7 !important;
        box-shadow: 2px 2px 0 #000 !important;
        width: 100% !important;
    }

.btn, .btn-primary, .btn-block {
    background: #ff6b6b !important;
    border: 3px solid #000 !important;
    color: #fff !important;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif !important;
    font-weight: bold !important;
    font-size: 1.1em !important;
    cursor: pointer !important;
    transform: rotate(-2deg);
    transition: transform 0.2s, background 0.2s;
    box-shadow: 3px 3px 0 #000 !important;
    margin-top: 1em !important;
    width: 100% !important;
}

.btn:hover, .btn-primary:hover, .btn-block:hover {
    background: #fff176 !important;
    color: #000 !important;
    transform: rotate(2deg) scale(1.05);
}

.comic-navbar {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
}

.comic-link {
    color: black;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    transition: color 0.2s;
    border-radius: 10px;
    padding: 0.5em 1em;
}

.comic-link:hover {
    color: #0071c1 !important;
    background: #fff176;
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.comic-button {
    background: #ff6b6b !important;
    border: 3px solid #000 !important;
    color: #fff !important;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif !important;
    font-weight: bold !important;
    font-size: 1.1em !important;
    cursor: pointer !important;
    transform: rotate(-2deg);
    transition: transform 0.2s, background 0.2s;
    box-shadow: 3px 3px 0 #000 !important;
    margin: 0.5em 0;
}

.comic-button:hover {
    background: #fff176 !important;
    color: #000 !important;
    transform: rotate(2deg) scale(1.05);
}

/* Comic style for Identity/Account/Login and similar auth pages */
.login-page, .login-card, .login-form, .account-login, .card, .card-body {
    background: #fff !important;
    border: 3px solid #000 !important;
    border-radius: 20px !important;
    box-shadow: 5px 5px 0 #000 !important;
    padding: 2em !important;
    margin: 2em auto !important;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif !important;
    max-width: 400px;
}

.login-page h1, .login-card h1, .login-form h1, .account-login h1, .card h1 {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif !important;
    text-shadow: 1px 1px 0 red, 1px 2px 0 #000;
    font-weight: bold;
    color: #222;
}

.login-form label, .card label {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif !important;
    font-weight: bold;
    color: #222;
    margin-bottom: 0.5em;
    display: block;
}

.login-form input, .card input, .login-form select, .card select, .login-form textarea, .card textarea {
    border: 2px solid #000 !important;
    border-radius: 10px !important;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif !important;
    padding: 10px !important;
    margin-bottom: 1em !important;
    background: #fffde7 !important;
    box-shadow: 2px 2px 0 #000 !important;
    width: 100% !important;
}

.login-form button, .card button, .btn, .btn-primary, .btn-block {
    background: #ff6b6b !important;
    border: 3px solid #000 !important;
    color: #fff !important;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif !important;
    font-weight: bold !important;
    font-size: 1.1em !important;
    cursor: pointer !important;
    transform: rotate(-2deg);
    transition: transform 0.2s, background 0.2s;
    box-shadow: 3px 3px 0 #000 !important;
    margin-top: 1em !important;
    width: 100% !important;
}

.login-form button:hover, .card button:hover, .btn:hover, .btn-primary:hover, .btn-block:hover {
    background: #fff176 !important;
    color: #000 !important;
    transform: rotate(2deg) scale(1.05);
}

.comic-person-container {
    width: 100%;
}

.comic-person-img {
    width: 230px;
    margin-top: 1em;
}

.comic-person-name {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    margin-bottom: 0.2em;
    margin-left: 0.2em;
}

/* Tooltip styles */
.popup-tooltip {
    position: relative;
    cursor: pointer;
    color: #0071c1;
    text-decoration: underline dotted;
    transition: color 0.2s;
}

.popup-tooltip:hover {
    color: #ff6b6b;
}

.popup-tooltip-text {    
    visibility: hidden;
    opacity: 0;
    width: 320px;
    color: #222;
    background: lavender;
    text-align: left;
    border-radius: 10px;
    border: 2px solid #000;
    box-shadow: 2px 2px 8px #888;
    padding: 12px 18px;
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 120%;
    transform: translateX(-50%);
    transition: opacity 0.2s;
    font-size: 0.9em;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    pointer-events: none;
    font-size: 0.8em !important;
    font-weight: normal !important;
    text-shadow: none !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
}

.popup-tooltip:hover .popup-tooltip-text {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.funny-home-btn {
    margin-top: 1.5em;
    font-size: 1.2em;
    background: #fff176 !important;
    color: #222 !important;
    border: 3px dashed #ff6b6b !important;
    box-shadow: 4px 4px 0 #000 !important;
    transform: rotate(-3deg) scale(1.05);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    animation: wiggle 1.2s infinite alternate;
}

.funny-home-btn:hover {
    background: #ff6b6b !important;
    color: #fff !important;
    transform: rotate(3deg) scale(1.12);
    animation: none;
}

@keyframes wiggle {
    0% { transform: rotate(-3deg) scale(1.05);}
    100% { transform: rotate(3deg) scale(1.08);}
}

.mission-panel {
    background: beige url('/images/sega.jpg') no-repeat center/cover;
    display: flex;
    flex-direction: column;
    min-height: 640px;
    position: relative;
    width: 100%;
    padding: 0;
}

.faq-panel {
    background: lightgreen;    
}

.mission-panel .comic-person-container {
    flex: 1 1 auto;
}

.mission-panel .speech-bubble {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    left: 1em;
    margin: 0;
    opacity: 0.7;
    background: #fff;
    z-index: 1;
    padding: 30px 35px 10px 35px !important;
    border-radius: 50% / 30%;
    min-width: 320px;
    max-width: 670px;
    width: 38%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-panel .speech-bubble:after {
    content: "";
    position: absolute;
    right: -34px;
    left: auto;
    top: 50%;
    transform: translateY(-50%) rotate(270deg);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 0px solid transparent;
    border-top: 45px solid #000;
}

.program-details-panel .content-below
{
    margin-top: auto;
    background: rgba(255,255,255,0.92); /* semi-transparent to show background image */
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    border-top: 2px solid #000;
    display: block;
}

.mission-details-panel {
    display: flex;
    flex-direction: column;
    /*min-height: 100vh;*/ /* Adjust as needed */
    background: #e8f5e9;
    width: 100%;
}

.mission-details-panel .comic-person-container {
    flex: 1; /* Takes up remaining space */
}

/*.mission-details-panel .content-below {
    background: #fff;
    width: calc(100% + 40px);
    margin: 2rem -20px -20px -20px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    border-top: 2px solid #000;
    display: block;
    margin-top: auto;*/ /* This pushes it to the bottom */
/*}*/

.mission-details-panel .gallery-photo {
    max-width: 520px;
    width: 100%;
}

.mission-details-panel .gallery-popup-img {
    max-width: calc(80vw - 120px);
    max-height: 80vh;
}

.mission-details-panel .office-gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1em auto;
    width: fit-content;
}

.mission-details-panel .gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border: 2px solid #000;
    background: #ffd180;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em !important;
    box-shadow: 2px 2px 0 #000;
    cursor: pointer;
}

.mission-details-panel .gallery-nav-btn:first-child {
    right: -20px;
    left: auto;
}

.mission-details-panel .gallery-nav-btn:last-child {
    left: -20px;
    right: auto;
}

.mission-details-panel .gallery-nav-btn:hover {
    background: #fff176;
    transform: translateY(-50%) scale(1.1);
}

.mission-details-panel .office-gallery-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    margin-top: 1em;
}

.intro-panel .popup-tooltip-text {
    width: 400px !important;
    max-width: 90%;
    text-align: left;      
    font-weight: normal !important;
    text-shadow: none !important;
}

.program-details-panel {
    background: #a5d6a7;
    padding: 2em;
    width: 100%;
}

.tabs-container {
    width: 100%;
}

.tabs-header {
    display: flex;
    gap: 1em;
    margin-bottom: 2em;
    justify-content: center;
}

.tab-button {
    background: #fff;
    border: 3px solid #000;
    padding: 10px 20px;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transform: rotate(-2deg);
    transition: all 0.2s;
    box-shadow: 3px 3px 0 #000;
    border-radius: 10px;
}

.tab-button:hover {
    transform: rotate(2deg) scale(1.05);
    background: #fff176;
}

.tab-button.active {
    background: #ff6b6b;
    color: white;
    transform: rotate(0deg) scale(1.1);
}

.tab-content {
    position: relative;
    overflow: hidden;
    background: white;
    border: 3px solid #000;
    border-radius: 15px;
    padding: 0; /* Set padding to 0 */
    min-height: 500px; /* or your preferred height */
    box-shadow: 5px 5px 0 #000;
}

.tab-content .comic-person-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.tab-content .speech-bubble {
    text-align: left;
    min-width: 300px;
}

.program-details-panel .speech-bubble {
    border-radius: 50% / 20%;
    padding: 32px 48px;
    width: auto;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: 3px solid #000;
    box-shadow: 3px 3px 0 #000;
    text-align: left;
}

.program-details-panel .comic-person-container .speech-bubble h4 {
    margin-top: 0;
    margin-bottom: 0.5em;
}

.program-details-panel .comic-person-container .speech-bubble h6 {
    margin-top: 0;
    margin-bottom: 1em;
    color: #444;
}

.program-details-panel .tab-content {
    position: relative;
    min-height: 500px;
}

.program-details-panel[data-active-tab="0"] {
    background: magenta;
}

.program-details-panel .tab0-layout, .program-details-panel .tab1-layout, .program-details-panel .tab2-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    /* gap: 2em;*/
    align-items: flex-start;
    /* margin-bottom: 2em;*/
    position: relative;
    z-index: 1; /* Create stacking context */
}

    .program-details-panel .tab0-layout .character-container, .program-details-panel .tab1-layout .character-container, .program-details-panel .tab2-layout .character-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .program-details-panel .tab0-layout .right-block, .program-details-panel .tab1-layout .right-block, .program-details-panel .tab2-layout .right-block {
        display: flex;
        flex-direction: column;
        gap: 1.5em;
        position: relative;
        z-index: 10;
    }

    .program-details-panel .tab0-layout .speech-bubble, .program-details-panel .tab1-layout .speech-bubble, .program-details-panel .tab2-layout .speech-bubble {
        position: relative;
        margin: 0 0 1em 0;
        width: 100%;
        max-width: 100%;
        z-index: 10;
    }

        .program-details-panel .tab0-layout .speech-bubble:after, .program-details-panel .tab1-layout .speech-bubble:after, .program-details-panel .tab2-layout .speech-bubble:after {
            content: "";
            position: absolute;
            left: -32px;
            top: 50%;
            transform: translateY(-50%) rotate(-90deg);
            width: 0;
            height: 0;
            border-left: 0 solid transparent;
            border-right: 15px solid transparent;
            border-top: 30px solid #000;
        }

    .program-details-panel .tab0-layout .video-container, .program-details-panel .tab1-layout .video-container, .program-details-panel .tab2-layout .video-container {
        width: 100%;
        max-width: 600px;
        margin: 0;
        border-radius: 15px;
        box-shadow: 5px 5px 0 #000;
        background: black;
        position: relative;
        z-index: 10;
    }

    .program-details-panel .tab0-layout .full-width-video, .program-details-panel .tab1-layout .full-width-video, .program-details-panel .tab2-layout .full-width-video {
        width: 100%;
        display: block;
        background: black;
    }

.program-details-panel .content-below {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 1);    
    border-radius: 0;   
    position: relative;
    top: -2px;
    z-index: 7;   
}

/* Remove bottom border-radius if .content-below follows a tab layout */
/*.tab2-layout .content-below {
    border: 3px dashed red;
    position: relative;
    top: -6px;
    z-index: 10;*/
    /* border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;*/
/*}*/




.video-container {
    position: relative;
    width: 100%;
    border: 3px solid #000;
    border-radius: 15px;
    box-shadow: 5px 5px 0 #000;
    background: black;
    z-index: 10;
} 

.video-container video, .full-width-video {
    display: block;
    width: 100%;
    max-height: 70vh;
    background: black;
} 

.tab0-layout .video-container, .tab1-layout .video-container, .tab2-layout .video-container {
    opacity: 1 !important;
    visibility: visible !important;
    background: black !important;
} 

.tab-content .video-container, .tab-content .video-container video {
    opacity: 1 !important;
    visibility: visible !important;
    background: black !important;
} 

video {
    opacity: 1 !important;
    visibility: visible !important;
    background: black !important;
}

@media (max-width: 768px)
{
    .video-container
    {
        margin: 1em 0;
        border-width: 2px;
    }

    .full-width-video
    {
        max-height: 50vh;
    }
}

.tab0-layout .video-container, .tab1-layout .video-container, .tab2-layout .video-container
{
    order: 2;
    margin-top: 3em;
    margin-bottom: 2em;
}

.tab0-layout, .tab1-layout
{
    position: relative;
    min-height: 600px;
    background: magenta;
    padding: 2em;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: flex-start;
    z-index: 1; /* Create stacking context */
}

.tab2-layout
{
    position: relative;
    min-height: 600px;
    background: magenta;
    padding: 2em;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px; 
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0; 
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: flex-start;
    z-index: 1; /* Create stacking context */
}

    .tab0-layout .speech-bubble, .tab1-layout .speech-bubble, .tab2-layout .speech-bubble
    {
        position: relative;
        margin-left: 4em;
        margin-bottom: 0;
        width: 60%;
        min-width: 320px;
        max-width: 600px;
        z-index: 10;
    }

        .tab0-layout .speech-bubble:after, .tab1-layout .speech-bubble:after, .tab2-layout .speech-bubble:after
        {
            display: none;
        }

        .tab0-layout .speech-bubble::before, .tab1-layout .speech-bubble::before, .tab2-layout .speech-bubble::before
        {
            content: "";
            position: absolute;
            left: -33px;
            top: 50%;
            transform: translateY(-50%) rotate(-270deg);
            width: 0;
            height: 0;
            border-left: 15px solid transparent;
            border-right: 5px solid transparent;
            border-top: 45px solid #000;
        }


    .tab0-layout .video-container, .tab1-layout .video-container, .tab2-layout .video-container
    {
        position: relative;
        width: 60%;
        min-width: 320px;
        max-width: 600px;
        margin-left: auto;
        margin-top: 0.5em;
        z-index: 10;
    }
        /*.tab1-layout .video-container::before {
    content: "";
    position: absolute;
    left: -33px;
    top: 5px;*/ /* Move the triangle 25px from the top */
/*transform: rotate(-90deg);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 5px solid transparent;
    border-top: 45px solid #000;
}*/
.tab0-layout .video-container video, .tab0-layout .full-width-video, .tab1-layout .video-container video, .tab1-layout .full-width-video, .tab2-layout .video-container video, .tab2-layout .full-width-video {
            width: 100%;
            display: block;
            background: black;
        }
        
        .tab0-layout .media-row, .tab1-layout .media-row, .tab2-layout .media-row {
        display: flex;
        align-items: flex-start;
        gap: 2em;
        margin-bottom: 2em;
        width: 100%;
    } .tab0-layout .character-container, .tab1-layout .character-container, .tab2-layout .character-container {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 10;
    } 
      
      
      .tab0-layout .content-below, .tab1-layout .content-below, .tab2-layout .content-below {
        width: calc(100% - 4em);
        background: white;
        padding: 2em;
        /* border: 3px solid #000;*/
        /*  box-shadow: 3px 3px 0 #000;*/
        /*margin: -2em;
    margin-top: 2em;*/
    }

      /*  .tab2-layout::before*/

        .tab0-layout .content-below::before, .tab1-layout .content-below::before
        {
            content: "";
            display: block;
            height: 3px;
            background: #000;
            margin-bottom: 1em;
            border-radius: 3px;
        } 
    
    .tab0-layout .video-container video, .tab1-layout .video-container video, .tab2-layout .video-container video
    
    {
        width: 100%;
        display: block;
        background: black;
    } 
    
    .tab0-layout .video-container::before, .tab1-layout .video-container::before, .tab2-layout .video-container::before {
        top: 15px; /* Move the triangle 25px from the top */
        /*transform: rotate(-90deg);*/



        content: "";
        position: absolute;
        left: -33px;
        /* top: 50%;*/
        transform: translateY(-50%) rotate(-270deg);
        width: 0;
        height: 0;
        border-left: 3px solid transparent;
        border-right: 25px solid transparent;
        border-top: 45px solid #000;
    } 
    
    .tab0-layout .video-container, .tab1-layout .video-container, .tab2-layout .video-container
    {
        position: relative;
    }
    
    .tab0-layout .video-bubble, .tab1-layout .video-bubble, .tab2-layout .video-bubble 
    
    {
        width: auto;
        max-width: 80%;
        margin: 1em auto;
        text-align: center;
        padding: 20px 40px;
    } 
    
    .tab0-layout .video-bubble h6, .tab1-layout .video-bubble h6, .tab2-layout .video-bubble h6 {
            margin: 0;
            font-size: 1.1em;
            color: #333;
        } 
        
        .tab0-layout .video-bubble:after, .tab1-layout .video-bubble:after, .tab2-layout .video-bubble:after {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: -25px;
            width: 0;
            height: 0;
            border-left: 15px solid transparent;
            border-right: 15px solid transparent;
            border-top: 25px solid #000;
        } 
        
        .tab0-layout, .tab1-layout, .tab2-layout {
    position: relative;
}

.word-sphere-container
{
    position: absolute;
    width: 400px;
    height: 400px;
    pointer-events: none;
    z-index: 10;
}

.tab0-layout .character-container, .tab1-layout .character-container, .tab2-layout .character-container
{
    position: relative;
    z-index: 2;
} 

.tab0-layout .right-block .video-container, .tab1-layout .right-block .video-container, .tab2-layout .right-block .video-container {
    padding: 0.3rem; /* Add padding around the video */
    margin: 1rem 0; /* Add some vertical spacing */
    background: #000; /* Black background for the padding area */
    border-radius: 15px;
    box-shadow: 5px 5px 0 #000;
} 

.tab0-layout .right-block .full-width-video, .tab1-layout .right-block .full-width-video, .tab2-layout .right-block .full-width-video {
    width: 100%;
    display: block;
    border-radius: 8px; /* Optional: slightly round the video corners */
    background: #000;
} 

.program-columns {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-end; /* Align columns by bottom */
} 

.program-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.tab0-layout .tagsWords, .tab1-layout .tagsWords, .tab2-layout .tagsWords {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    pointer-events: none;
} .word-sphere-container {
    position: absolute;
    width: 400px;
    height: 400px;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 10;
} .tab0-layout .character-container, .tab1-layout .character-container, .tab2-layout .character-container {
    z-index: 2;
} .tab0-layout .word-sphere-container, .tab1-layout .word-sphere-container, .tab2-layout .word-sphere-container {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5; /* Same z-index for all */
    pointer-events: none;
}

.word-sphere-container {
    max-width: 100vw;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

.validation-message, .text-danger {
    color: #dc3545; /* Bootstrap red */
    font-size: 1em;
    font-weight: 500;
}

.social-links-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: 18px;
    align-items: center;
}
    .social-links-list .social-icon {
        height: 38px;
        width: auto;
        aspect-ratio: 1 / 1;
        display: inline-block;
        vertical-align: middle;
        transition: filter 0.2s;
        object-fit: contain;
        max-width: 38px;
        max-height: 38px;        
    }

@media (max-width: 600px) {
    .social-links-list .social-icon {
        height: 32px;
        max-width: 32px;
        max-height: 32px;
        width: auto;
        aspect-ratio: 1 / 1;
    }
}

.social-links-list .social-icon:hover {
    filter: brightness(0.85);
}

/* Top bar: always 100% width, no fixed max-width */
header.site-header,
.site-header,
.top-row {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}

/* Hide nav links and show burger menu on small screens */
@media (max-width: 1000px) {
    .top-row .nav-links,
    .site-header .nav-links {
        display: none !important;
    }
    .top-row .menu-toggle,
    .site-header .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: #fff;
        border: 2px solid #000;
        border-radius: 8px;
        padding: 8px 12px;
        font-size: 1.5em;
        cursor: pointer;
        margin-left: 8px;
    }
    .collapsed-menu {
        display: block !important;
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        border: 2px solid #000;
        border-radius: 0 0 12px 12px;
        box-shadow: 2px 2px 8px #888;
        z-index: 999;
        min-width: 180px;
    }
    .collapsed-menu a {
        display: block;
        padding: 12px 18px;
        border-bottom: 1px solid #eee;
        color: #222;
        text-decoration: none;
        font-weight: bold;
    }
    .collapsed-menu a:last-child {
        border-bottom: none;
    }
    .top-row .menu-toggle {
        position: absolute;
        right: 5px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        z-index: 990;
    }
    .collapsed-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        background: #fff;
        border: 2px solid #000;
        border-radius: 0 0 12px 12px;
        box-shadow: 2px 2px 8px #888;
        z-index: 999;
        min-width: 180px;
        width: max-content;
        max-width: 90vw;
        overflow-x: auto;
    }
}
@media (min-width: 1001px) {
    .top-row .nav-links,
    .site-header .nav-links {
        display: flex !important;
        /*gap: 2em;*/
    }
    .top-row .menu-toggle,
    .site-header .menu-toggle,
    .collapsed-menu {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .top-row .site-logo {
        height: 40px;
        max-width: 120px;
    }
}
@media (max-width: 1000px) {
    .top-row .site-logo {
        height: 32px;
        max-width: 90px;
    }
}

@media (max-width: 1200px) {
    .page, .container, .body-content {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;        
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 1200px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
    .comic-container, .comic-panel, .page, .container, .body-content {
       /* max-width: 96vw;
        width: 96vw;*/
       max-width: 100%;
       width: 100%;
        margin-left: auto;
        margin-right: auto;       
        padding-left: 8px;
        padding-right: 8px;
        box-sizing: border-box;
        overflow-x: hidden;
    }
}

article{
   /* border: 5px dashed orange !important;*/
    width: 98% !important;
}

/* Tab 2 layout: character left, bubble right, video below bubble */
.program-details-panel .tab2-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto auto;
    gap: 1.5em;
    align-items: start;
}

.program-details-panel .tab2-layout .character-container {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.program-details-panel .tab2-layout .right-block {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1em;
}

.program-details-panel .tab2-layout .speech-bubble {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 1em;    
}

.program-details-panel .tab2-layout .video-container {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: 600px;
    margin: 0;
    margin-top: 0.5em;
    border-radius: 15px;
    box-shadow: 5px 5px 0 #000;
    background: black;
    position: relative;
    z-index: 10;
}

@media (max-width: 900px) {
    .program-details-panel .tab2-layout {
        grid-template-columns: 120px 1fr;
        gap: 1em;
    }
   /* .program-details-panel .tab2-layout .speech-bubble {
        font-size: 0.95em;
    }*/
    .program-details-panel .tab2-layout .video-container {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .program-details-panel .tab2-layout {
        display: flex;
        flex-direction: column;
        gap: 0.5em;
    }
    .program-details-panel .tab2-layout .character-container,
    .program-details-panel .tab2-layout .right-block,
    .program-details-panel .tab2-layout .video-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    /*.program-details-panel .tab2-layout .speech-bubble {
        font-size: 0.85em;
    }*/
}

/* Responsive layout for tab0 and tab1: personage and bubble side-by-side, stack on small screens */
.program-details-panel .tab0-layout,
.program-details-panel .tab1-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto;
    gap: 1.5em;
    align-items: start;
}

.program-details-panel .tab0-layout .character-container,
.program-details-panel .tab1-layout .character-container {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.program-details-panel .tab0-layout .right-block,
.program-details-panel .tab1-layout .right-block {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1em;
}

.program-details-panel .tab0-layout .speech-bubble,
.program-details-panel .tab1-layout .speech-bubble {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 1em;
  /*  font-size: 1em;*/
    transition: font-size 0.2s;
}

.program-details-panel .tab0-layout .comic-person-img {
    height: 180px;
    width: auto;
    object-fit: contain;
    transition: height 0.2s;
}

@media (max-width: 900px) {
    .program-details-panel .tab0-layout .comic-person-img,
    .program-details-panel .tab1-layout .comic-person-img {
        height: 120px;
        min-height: 50px;
        width: auto;
    }
}

@media (max-width: 600px) {
    .program-details-panel .tab0-layout .comic-person-img,
    .program-details-panel .tab1-layout .comic-person-img {
        height: 50px;
        min-height: 50px;
        width: auto;
    }
}

/* Medium screens: shrink personage and font */
@media (max-width: 900px) {
    .program-details-panel .tab0-layout,
    .program-details-panel .tab1-layout {
        grid-template-columns: 120px 1fr;
        gap: 1em;
    }
    .program-details-panel .tab0-layout .speech-bubble,
    .program-details-panel .tab1-layout .speech-bubble {
      /*  font-size: 0.95em;*/
    }
}

/* Small screens: stack personage and bubble vertically */
@media (max-width: 600px) {
    .program-details-panel .tab0-layout,
    .program-details-panel .tab1-layout {
        display: flex;
        flex-direction: column;
        gap: 0.5em;
    }
    .program-details-panel .tab0-layout .character-container,
    .program-details-panel .tab1-layout .character-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        align-items: center;
        justify-content: center;
    }
    .program-details-panel .tab0-layout .speech-bubble,
    .program-details-panel .tab1-layout .speech-bubble {
       /* font-size: 0.85em;*/
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

/* Ensure personage name is directly below the image with minimal spacing on Tab1 */
.program-details-panel .tab1-layout .character-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.program-details-panel .tab1-layout .comic-person-img {
    margin-bottom: 0.2em;
}

.program-details-panel .tab1-layout .comic-person-name {
    margin-top: 0;
    margin-bottom: 0.2em;
    text-align: center;
    line-height: 1.1;
    font-size: 1em;
}

/* Responsive and expandable bubbles for Index.razor sections */
.speech-bubble, .thought-bubble {
    width: 100%;
    max-width: 600px;
    min-width: 0;
    padding: 2em 1.5em;
   /* font-size: 1.1em;*/
    box-sizing: border-box;
    word-break: break-word;
    transition: font-size 0.2s, padding 0.2s;
}

@media (max-width: 900px) {
    .speech-bubble, .thought-bubble {
        max-width: 95vw;
        padding: 1.2em 0.8em;
      /*  font-size: 1em;*/
    }
    .comic-person-img {
        max-width: 120px;
        height: auto;
    }
}

@media (max-width: 600px) {
    .speech-bubble, .thought-bubble {
        max-width: 98vw;
        padding: 0.7em 0.4em;
      /*  font-size: 0.9em;*/
    }
    .comic-person-img {
        max-width: 60px;
        min-width: 40px;
        height: auto;
    }
}

/* Fix overflow for #moreAboutSerhii and its children on small screens */
#moreAboutSerhii {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    flex-wrap: wrap;
    gap: 1em;
}

#moreAboutSerhii > div {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
}

@media (max-width: 700px) {
    #moreAboutSerhii {
        flex-direction: column !important;
        padding: 1em 0.5em !important;
        gap: 0.5em !important;
    }
    #moreAboutSerhii > div {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        word-break: break-word;
    }
    #moreAboutSerhii img {
        min-width: 120px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}

/* Ensure image inside #moreAboutSerhii never exceeds parent width and prevents horizontal scroll */
#moreAboutSerhii img {
    display: block;
    max-width: 100vw;
    width: 100%;
    height: auto;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 10px;
    border: 2px solid #000;
    margin: 0 auto;
}

@media (max-width: 700px) {
    #moreAboutSerhii img {
        max-width: 98vw !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    #moreAboutSerhii {
        overflow-x: hidden !important;
    }
}
/* Ensure the close button inside #moreAboutSerhii is always visible and not clipped */
#moreAboutSerhii button[title="Скрыть"] {
          
        
        position: absolute;
    top: 0px !important;
    right: 8px !important;
    z-index: 20 !important;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5em;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 700px) {
    #moreAboutSerhii button[title="Скрыть"] {
        top: 8px !important;
        right: 8px !important;
    }
}
/* Make Siayvo popup window at least 300px wide and expand on wider screens */
.popup-tooltip-text {
    min-width: 300px;
    width: 320px;
    max-width: 90vw;
}

@media (min-width: 600px) {
    .popup-tooltip-text {
        min-width: 320px;
        width: 400px;
        max-width: 480px;
    }
}

@media (min-width: 900px) {
    .popup-tooltip-text {
        min-width: 400px;
        width: 480px;
        max-width: 600px;
    }
}
/* Responsive font size for bubbles: shrink proportionally with screen width */
.speech-bubble, .thought-bubble {
    font-size: clamp(0.8em, 2vw + 0.7em, 1.1em);
    /* Other bubble styles remain unchanged */
}

@media (max-width: 600px) {
    .speech-bubble, .thought-bubble {
        font-size: clamp(0.7em, 4vw + 0.5em, 0.9em);
    }
}
@media (min-width: 701px) {
    .about-panel .comic-person-container {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 320px; /* Adjust as needed for vertical centering */
    }
    .about-panel .person-vertical {
        margin-right: 2em;
    }
    .about-panel .speech-bubble {
        margin-bottom: 0;
        margin-top: 0;
        align-self: center;
    }
}
@media (min-width: 1000px) {
    .intro-panel > div {
        justify-content: center;
        align-items: flex-start;
        display: flex;
        gap: 2em;
        width: 100%;
    }
}
@media (max-width: 800px) {
    .intro-panel .speech-bubble,
    .intro-panel .thought-bubble {
        padding: 18px 12px;
    }
}

@media (max-width: 600px) {
    .intro-panel .speech-bubble,
    .intro-panel .thought-bubble {
        padding: 5px !important;
    }
}
/* Responsive bubbles and personages for .program-panel */
.program-panel .speech-bubble {
    /*width: 100%;*/
    min-width: 50px;
    max-width: auto;
    box-sizing: border-box;
    padding: clamp(5px, 4vw, 8px) clamp(5px, 5vw, 10px);
    font-size: clamp(0.7em, 2vw + 0.7em, 1.1em);
    margin: 0.5em 0;
    transition: padding 0.2s, font-size 0.2s;
}

.program-panel .comic-person-img {
  /*  width: clamp(40px, 18vw, 230px);*/
   /* min-width: 40px;
    max-width: 230px;*/
    height: auto;
    margin-top: 0.5em;
    transition: width 0.2s;
}

@media (max-width: 900px) {
    .program-panel .speech-bubble {
       /* padding: clamp(5px, 3vw, 18px) clamp(5px, 6vw, 24px);*/
        font-size: clamp(0.7em, 2vw + 0.6em, 1em);
    }
    /*.program-panel .comic-person-img {
        width: clamp(30px, 14vw, 120px);
        min-width: 30px;
        max-width: 120px;
    }*/
}

@media (max-width: 600px) {
    .program-panel .speech-bubble {
       /* padding: 5px !important;*/
        font-size: clamp(0.6em, 4vw + 0.5em, 0.9em);
    }
    /*.program-panel .comic-person-img {
        width: clamp(20px, 18vw, 60px) !important;
        min-width: 20px !important;
        max-width: 60px !important;
    }*/
    .program-columns {
        flex-direction: column;
        gap: 0.5em;
        align-items: center;
    }
    .program-column {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}
.program-panel .personage-middle {
    height: clamp(80px, 20vw, 220px) !important;
    width: auto;
    object-fit: contain;
    transition: height 0.2s;
}

.program-panel .personage-left {
    height: calc(clamp(80px, 20vw, 220px) / 2.3) !important;
    width: auto;
    object-fit: contain;
    transition: height 0.2s;
}

/* For small screens, shrink both proportionally */
@media (max-width: 600px) {
    .program-panel .personage-middle {
        height: clamp(40px, 14vw, 80px) !important;
    }
    .program-panel .personage-left {
        height: calc(clamp(40px, 14vw, 80px) / 2.3) !important;
    }
}
.program-panel .personage-middle {
    height: clamp(80px, 20vw, 220px) !important;
    width: auto;
    object-fit: contain;
    transition: height 0.2s;
}

.program-panel .personage-left {
    height: calc(clamp(80px, 20vw, 220px) * 0.55) !important;
    width: auto;
    object-fit: contain;
    transition: height 0.2s;
}

@media (max-width: 600px) {
    .program-panel .personage-middle {
        height: clamp(40px, 14vw, 80px) !important;
    }
    .program-panel .personage-left {
        height: calc(clamp(40px, 14vw, 80px) * 0.65) !important;
    }
}
.program-panel .personage-right {
    height: calc(clamp(150px, 20vw, 320px)) !important;
    width: auto;
    object-fit: contain;
    transition: height 0.2s;
}

@media (max-width: 600px) {
    .program-panel .personage-right {
        height: calc(clamp(40px, 14vw, 80px) * 0.9) !important;
    }
}
@media (max-width: 800px) {
    .about-office-panel .speech-bubble {
        padding-left: clamp(32px, 6vw, 70px);
        padding-right: clamp(32px, 6vw, 70px);
    }
}

@media (max-width: 600px) {
    .about-office-panel .speech-bubble {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}
@media (max-width: 600px) {
    .about-office-panel .comic-person-container {
        flex-direction: column-reverse !important;
        align-items: flex-start !important;
    }
    .about-office-panel .person-vertical {
        align-items: flex-start !important;
        width: 100%;
    }
    .about-office-panel .speech-bubble {
        margin-bottom: 1em;
        margin-top: 0;
        width: 100%;
    }
}
#moreAboutSerhii button[title="Hide"] {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #000;
    font-size: 1.5em;
    font-weight: bold;
    color: #222;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

    #moreAboutSerhii button[title="Hide"]:hover {
        background: #fff176;
        color: #000;
    }
/* Remove black line (border or box-shadow) below video player on tab2 */
.content-below {   
    box-shadow: none !important;
    background: transparent !important;
}
/* Responsive fix for bubbles and video player in LearningProgram pages */
@media (max-width: 900px) {
    .program-details-panel .speech-bubble,
    .program-details-panel .tab0-layout .speech-bubble,
    .program-details-panel .tab1-layout .speech-bubble,
    .program-details-panel .tab2-layout .speech-bubble {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
        padding-left: 8px;
        padding-right: 8px;
    }

    .program-details-panel .video-container,
    .program-details-panel .tab0-layout .video-container,
    .program-details-panel .tab1-layout .video-container,
    .program-details-panel .tab2-layout .video-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    .program-details-panel .full-width-video,
    .program-details-panel .tab0-layout .full-width-video,
    .program-details-panel .tab1-layout .full-width-video,
    .program-details-panel .tab2-layout .full-width-video {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .program-details-panel .speech-bubble,
    .program-details-panel .tab0-layout .speech-bubble,
    .program-details-panel .tab1-layout .speech-bubble,
    .program-details-panel .tab2-layout .speech-bubble {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .program-details-panel .video-container,
    .program-details-panel .tab0-layout .video-container,
    .program-details-panel .tab1-layout .video-container,
    .program-details-panel .tab2-layout .video-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* Make Yelp and Reddit icons wider than other social icons */
.social-links-list .social-icon[alt="YELP"],
.social-links-list .social-icon[alt="Reddit"] {
    width: 95px !important;
    max-width: 95px !important;
    aspect-ratio: unset;
}

@media (max-width: 600px) {
    .social-links-list .social-icon[alt="YELP"],
    .social-links-list .social-icon[alt="Reddit"] {
        width: 48px !important;
        max-width: 48px !important;
    }
}
.lesson-frequency-option {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.lesson-price-label {
    margin-left: 1em;
    color: #0071c1;
    font-weight: bold;
    font-size: 1em;
    white-space: nowrap;
    position: relative;
    top: -4px;
}
