/* latin-ext */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* devanagari */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ldixapcsobg7s-qt7p4gm-auwa.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

/* latin-ext */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ldixapcsobg7s-qt7p4jm-auwa.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ldixapcsobg7s-qt7p4hm-y.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* devanagari */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ldi2apcsobg7s-qt7pb0epoqeef2kg.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

/* latin-ext */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ldi2apcsobg7s-qt7pb0epoleef2kg.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ldi2apcsobg7s-qt7pb0eporeec.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* devanagari */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ldi2apcsobg7s-qt7pbyf_oqeef2kg.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

/* latin-ext */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ldi2apcsobg7s-qt7pbyf_oleef2kg.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ldi2apcsobg7s-qt7pbyf_oreec.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* devanagari */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ldi2apcsobg7s-qt7pa8fvoqeef2kg.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

/* latin-ext */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ldi2apcsobg7s-qt7pa8fvoleef2kg.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ldi2apcsobg7s-qt7pa8fvoreec.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg-page);
    color: var(--color-text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================== HEADER ===================== */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg-header);
    border-bottom: 2px solid var(--color-border-header);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    box-shadow: 0 2px 24px rgba(240, 192, 64, 0.10);
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.12em;
    color: var(--first-accent-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;

}

.logo img {
    max-height: 60px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.2rem;
}

nav a {
    color: var(--color-text-nav);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--color-text-nav-hover);
    transition: width 0.25s;
}

nav a:hover {
    color: var(--color-text-nav-hover);
}

nav a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-icon-menu);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===================== MAIN ===================== */

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* ===================== BRANDS SECTION ===================== */

section.brands {
    margin-bottom: 4rem;
}

h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: 0.1em;
    color: var(--first-accent-color);
    text-align: center;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 30px rgba(240, 192, 64, 0.35);
}

.brands-subtitle {
    text-align: center;
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.7;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}

.brand-card {
    background: var(--color-bg-banner);
    border: 1.5px solid var(--color-border-table);
    border-radius: 10px;
    padding: 1.5rem 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--first-accent-color), var(--second-accent-color));
}

.brand-card:hover {
    transform: translateY(-4px);
    border-color: var(--second-accent-color);
    box-shadow: 0 8px 28px rgba(240, 192, 64, 0.15);
}

.brand-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    width: 100%;
}

.brand-card img {
    width: 150px;
    height: 50px;
    padding: 10px;
    object-fit: contain;
    filter: brightness(1.1);
    background: rgba(0, 0, 0, 0.304);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.363);
}


.brand-card p {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-bonus);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    height: 80px;
}

.btn-primary {
    display: inline-block;
    background: var(--color-bg-btn-primary);
    color: var(--color-text-btn-primary);
    border: 2px solid var(--color-border-btn-primary);
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.btn-primary:hover {
    background: transparent;
    color: var(--first-accent-color);
    box-shadow: 0 0 16px rgba(240, 192, 64, 0.3);
}

/* ===================== COMPARISON TABLE ===================== */

section.comparison {
    background: var(--color-bg-section);
    border: 1.5px solid var(--color-border-table);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin-bottom: 4rem;
}

section.comparison h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: var(--first-accent-color);
    margin-bottom: 1.5rem;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
    font-size: 0.97rem;
}

thead tr {
    background: linear-gradient(90deg, var(--second-accent-color), #a01f2e);
}

thead th {
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    padding: 0.85rem 1.2rem;
    text-align: left;
    border: 1px solid var(--color-border-table);
}

tbody tr:nth-child(even) {
    background: rgba(240, 192, 64, 0.04);
}

tbody tr:hover {
    background: rgba(240, 192, 64, 0.09);
}

td {
    padding: 0.75rem 1.2rem;
    border: 1px solid var(--color-border-table);
    color: var(--color-text);
    vertical-align: middle;
}

td:first-child {
    font-weight: 600;
    color: var(--first-accent-color);
    white-space: nowrap;
}

td .check {
    color: #3ddc84;
    font-size: 1.1em;
}

td .cross {
    color: var(--second-accent-color);
    font-size: 1.1em;
}

/* ===================== CONTENT BLOCK WITH NAV ===================== */

section.content-block {
    margin-bottom: 4rem;
}

section.content-block>h2.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: var(--first-accent-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(240, 192, 64, 0.2);
}

.content-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 2.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--second-accent-color) transparent;
    -webkit-overflow-scrolling: initial;
    border-bottom: 1.5px solid var(--color-border-table);
}

.content-nav a {
    display: inline-block;
    white-space: nowrap;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid var(--color-border-table);
    color: var(--color-text-nav);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    background: transparent;
}

.content-nav a:hover,
.content-nav a.active {
    background: var(--first-accent-color);
    color: var(--color-text-btn-primary);
    border-color: var(--first-accent-color);
}

/*.content-panels>div {*/
/*    display: none;*/
/*}*/

.content-panels>div.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

.content-panels h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    letter-spacing: 0.08em;
    color: var(--first-accent-color);
    margin: 1.8rem 0 0.7rem;
}

.content-panels h2:first-child {
    margin-top: 0;
}

.content-panels p {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: 1rem;
    opacity: 0.92;
}

.content-panels ul,
.content-panels ol {
    color: var(--color-text);
    padding-left: 1.4rem;
    margin-bottom: 1.2rem;
}

.content-panels li {
    margin-bottom: 0.4rem;
    font-size: 1rem;
    opacity: 0.92;
}

.content-panels li::marker {
    color: var(--second-accent-color);
}

.content-panels .table-wrap {
    margin-bottom: 1.5rem;
}

/* ===================== FOOTER ===================== */

footer {
    background: var(--color-bg-footer);
    border-top: 2px solid var(--color-border-footer);
    padding: 2.5rem 2rem 1.5rem;
    color: var(--color-text-footer);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    color: var(--first-accent-color);
    margin-bottom: 0.5rem;
}

.footer-brand span {
    color: var(--second-accent-color);
}

.footer-desc {
    font-size: 0.88rem;
    opacity: 0.65;
    line-height: 1.5;
}

.footer-nav h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: var(--first-accent-color);
    margin-bottom: 0.9rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: var(--color-text-footer);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
    opacity: 0.8;
}

.footer-nav a:hover {
    color: var(--first-accent-color);
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    
    

    header {
        padding: 0 2rem 0 5px;
    }

    header nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--color-bg-nav);
        border-bottom: 1.5px solid var(--color-border-header);
        display: none;
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    header .menu-lang {
        top: 0px;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0
    }



    nav.open {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(201, 162, 39, 0.15);
        font-size: 1.1rem;
    }

    .brands-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.9rem;
    }

    .brand-card {
        padding: 1rem 0.7rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

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

@media (max-width: 480px) {
    header {
        padding: 0 1rem 0 5px;
    }

    main {
        padding: 2rem 1rem;
    }

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


.brand-card {
    position: relative;
}

.card-label {
    position: absolute;
    top: 10px;
    left: 5px;
    background: var(--second-accent-color);
    color: #fff;
    padding: 0px 8px;
    font-weight: bold;
    border-radius: 6px;
    font-size: 14px;
    z-index: 99;
}

/* AUTHOR SECTION  */

.author-section .content-block {
    container-type: inline-size;
    border-radius: 12px;
    border: 1.5px solid var(--color-border-table);
    padding: 20px 20px 30px 20px;
    max-width: 1200px;
    margin: auto;
    background: var(--color-bg-section);
    box-sizing: border-box;
    min-height: 270px;
    margin-bottom: 4rem;
}

.main-title {
    font-size: var(--font-size-h3);
    font-weight: var(--fw-h3);
    margin-bottom: 20px;
}

.block-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.left-photo img,
.right-photos img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-author-image);
    object-fit: cover;
}

.left-photo {
    flex: 0 0 200px;
}

.center-text {
    flex: 1 1 300px;
}

.right-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex: 0 0 100px;
}

.right-photos {
    max-height: 50px;
}

.right-photos img {
    width: 40px;
}

.subtitle {
    margin-bottom: 10px;
    font-size: var(--font-size-subtitle);
    font-weight: var(--fw-h4);
}

strong {
    font-weight: var(--fw-strong);
}

.brand-card button {
    all: unset;
    width: 100%;
}

.menu-lang {
    position: relative;
    display: inline-block;
    lang-toggle z-index: 11;
    margin: 10px 0px 10px 15px;
   
}

.lang-toggle {
    background: 0;
    border: 0;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-nav);
    text-transform: uppercase;
        font-weight: 600;
         letter-spacing: 0.07em;
}

.lang-toggle img {
    width: 20px;
    height: auto;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    /*left: -15px;*/
    background: var(--color-bg-header);
    border-radius: 6px;
    list-style: none;
    margin: 5px 0 0 0;
    display: none;
    z-index: 9999;
    overflow: visible;
    padding: 8px 4px;
    min-width: 115px;
}

.lang-dropdown li {
    padding: 5px 15px;
}

.lang-dropdown li a img {
    width: 20px;
    transition: -webkit-transform 0.2s ease;
    transition: transform 0.2s ease;
    transition: transform 0.2s ease, -webkit-transform 0.2s ease;
    background: #ffffff0a;
}

.lang-dropdown li a:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.menu-lang.open .lang-dropdown {
    display: block;
    top: 100%;
    left: -10px;
}

.lang-dropdown li {
    padding: 5px 10px;
    height: auto;
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    font-size: 14px;
    width: 100%;
    height: 100%;
    color: var(--color-text-nav);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
     letter-spacing: 0.07em;
}



.lang-dropdown.open {
    display: block;
}

.icon-lang {
    width: 35px;
    height: 35px;
    background: var(--color-icon-menu);

    -webkit-mask: url("../images/lang.svg") no-repeat center;
    mask: url("../images/lang.svg") no-repeat center;

    -webkit-mask-size: contain;
    mask-size: contain;
}

@media (max-width: 768px) {
    .author-section .block-body {
        flex-direction: column;
        align-items: center;
    }

    .left-photo,
    .center-text,
    .right-photos {
        flex: 1 1 100%;
        text-align: center;
    }

    .right-photos {
        grid-template-columns: repeat(4, 1fr);
        justify-content: center;
        max-height: max-content;
    }

.right-photos:has(> :nth-child(1):last-child) {
    grid-template-columns: 1fr;
}

.right-photos:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

.right-photos:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

    .left-photo img {
        width: 50%;
    }

    .right-photos img {
        max-width: 30px;

    }
    
    .lang-name {
        display: none;
    }
}