/* Стилове за about.php. Изнесени от inline <style>, за да се кешират. */

        .page-header {
            background: linear-gradient(180deg, #2E5AAC 0%, #4B8BF5 100%);
            color: #1A365D;
            padding: 10px 0;
            text-align: center;
        }
        
        .page-header h1 {
            font-size: 3rem;
            font-weight: var(--font-weight-bold);
            margin-bottom: 0.5px;
            color: var(--primary-blue);
            text-shadow:
                -1px -1px 0 white,
                1px -1px 0 white,
                -1px 1px 0 white,
                1px 1px 0 white;
        }
        
        .page-header p {
            font-size: 1.3rem;
            opacity: 0.9;
            font-weight: bold;
            color: white;
        }
        
        .about-section {
            padding: 15px 0;
        }
        
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            margin-bottom: 60px;
        }
        
        /* Заглавията на разделите. Летописът е в същия списък, а не с
           преписани мерки - иначе двете се разминават при първата промяна
           и точно това се случи: 2.5rem тук срещу 2.5rem там дадоха на
           екрана 32px срещу 40px, защото по-долу има второ правило, което
           бие само едното. Виж бележката „ВНИМАНИЕ - @media" по-долу. */
        .about-text h2,
        .chronicle-header h2 {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 25px;
        }
        
        .about-text p {
            font-size: 1.1rem;
            line-height: 1.7;
            margin-bottom: 20px;
            color: var(--text-light);
            text-align: justify;
            text-justify: inter-word;
        }
        
        .about-image {
            text-align: center;
        }
        
        .about-image img {
            width: 500px;
            height: 350px;
            object-fit: cover;
            border-radius: var(--border-radius-lg);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border: 3px solid var(--primary-green);
        }
        
        @media (max-width: 768px) {
            .about-image img {
                width: 100%;
                height: 250px;
                max-width: 400px;
            }
        }
        
        .values-section {
            padding: 15px 0;
        }
        
        .values-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            margin-top: 40px;
        }
        
        @media (max-width: 1200px) {
            .values-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        .value-card {
            background: var(--white);
            padding: 40px 30px;
            border-radius: var(--border-radius-lg);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            text-align: center;
            transition: var(--transition);
        }

        .value-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
        }

        @media (max-width: 768px) {
            .values-grid {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
                margin-top: 20px !important;
            }

            .value-card {
                padding: 20px 15px !important;
            }

            .value-icon {
                margin-bottom: 10px !important;
            }

            .value-icon-circle {
                width: 50px !important;
                height: 50px !important;
            }

            .value-icon-overlay {
                font-size: 1.3rem !important;
            }

            .value-card h3 {
                font-size: 0.95rem !important;
                margin-bottom: 6px !important;
            }

            .value-card p {
                font-size: 0.75rem !important;
                line-height: 1.3 !important;
            }
        }
        
        .value-icon {
            margin-bottom: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .value-icon-circle {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            overflow: hidden;
            position: relative;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .value-card:hover .value-icon-circle {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        .value-icon-circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .value-icon-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(74,144,226,0.7), rgba(39,174,96,0.7));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: white;
        }
        
        .value-card h3 {
            font-size: 1.5rem;
            color: var(--primary-blue);
            margin-bottom: 15px;
        }
        
        .value-card p {
            color: var(--text-light);
            line-height: 1.6;
        }
        
        .achievements-section {
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
            color: var(--white);
            padding: 15px 0;
            text-align: center;
        }
        
        .achievements-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 40px;
            margin-top: 50px;
        }
        
        @media (max-width: 1200px) {
            .achievements-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .achievements-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }
        
        .achievement-item {
            background: rgba(255,255,255,0.1);
            padding: 30px 20px;
            border-radius: var(--border-radius);
            backdrop-filter: blur(10px);
        }
        
        .achievement-number {
            font-size: 3rem;
            font-weight: var(--font-weight-bold);
            color: var(--primary-green);
            margin-bottom: 10px;
        }
        
        .achievement-text {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        /* Desktop layout - force two columns */
        @media (min-width: 769px) {
            .about-content {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 60px !important;
                align-items: center !important;
            }
        }

        @media (max-width: 768px) {
            /* Fix hero section position on mobile */
            .page-header {
                padding-top: 10px;
            }

            /* Reduce page header title font size for mobile */
            .page-header h1 {
                font-size: 2rem !important;
            }





            /* Reduce card sizes on mobile */
            .value-card {
                padding: 25px 20px !important;
            }

            .value-icon {
                font-size: 2.2rem !important;
                margin-bottom: 15px !important;
            }

            .value-card h3 {
                font-size: 1.2rem !important;
                margin-bottom: 12px !important;
            }

            .value-card p {
                font-size: 0.9rem !important;
                line-height: 1.5 !important;
            }

            .achievements-grid {
                gap: 15px !important;
            }

            .achievement-item {
                padding: 12px 8px !important;
            }

            .achievement-number {
                font-size: 1.5rem !important;
                margin-bottom: 5px !important;
            }

            .achievement-text {
                font-size: 0.7rem !important;
                line-height: 1.2 !important;
            }



/* Reduce button size for mobile */
            .btn {
                padding: 8px 16px !important;
                font-size: 0.85rem !important;
                border-radius: 8px !important;
            }

            .btn-primary {
                min-height: auto !important;
                width: auto !important;
                max-width: 200px !important;
            }
        }

        /* ВНИМАНИЕ - @media (max-width: 768px) отгоре се затваря на предния
           ред, а не тук. Всичко оттук надолу с мобилната подредба важи на
           ВСЯКА ширина, не само под 768px.

           Последствия, които вече са на екрана:
           - .about-text h2 по-долу дава 2rem и бие 2.5rem от началото на
             файла, тоест заглавията на разделите са 32px, а не 40px
           - .about-content получава една колона, затова по-горе стои
             @media (min-width: 769px) с !important, който я връща на две

           Не е поправено тук нарочно. Поправката прави заглавията
           видимо по-големи и връща две колони без !important, тоест променя
           вида на страницата - отделна задача, а не странично действие. */

            /* Reduce achievements section title font size for mobile */
            .achievements-section h2 {
                font-size: 2rem !important;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .about-text h2,
            .chronicle-header h2 {
                font-size: 2rem;
            }

            /* Mission section order on mobile - text first, then image */
            #мисия .about-content {
                display: flex;
                flex-direction: column;
            }

            #мисия .about-text {
                order: 1;
            }

            #мисия .about-image {
                order: 2;
            }

            /* Vision section order on mobile - text first, then image */
            #визия .about-content {
                display: flex;
                flex-direction: column;
            }

            #визия .about-text {
                order: 1;
            }

            #визия .about-image {
                order: 2;
            }

        /* Logo Info Collapsible Styles */
        .logo-info-container {
            background: var(--white);
            border-radius: var(--border-radius-lg);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .logo-toggle-btn {
            width: 100%;
            padding: 18px 25px;
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
            color: white;
            border: none;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.3s ease;
        }

        .btn-logo-icon {
            width: 28px;
            height: 28px;
            object-fit: contain;
            filter: brightness(0) invert(1);
        }

        .logo-toggle-btn:hover {
            background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .toggle-icon {
            font-size: 0.9rem;
            transition: transform 0.3s ease;
            display: inline-block;
            animation: arrowPulse 3s ease-in-out infinite;
        }

        .logo-toggle-btn.active .toggle-icon {
            transform: rotate(90deg);
            animation: none;
        }

        @keyframes arrowPulse {
            0%, 100% {
                color: white;
            }
            50% {
                color: #10b981;
            }
        }

        .logo-info-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, padding 0.5s ease;
            padding: 0 25px;
            background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
        }

        .logo-info-content.active {
            max-height: 3000px;
            padding: 25px;
        }

        .logo-images-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 30px;
            margin-top: 20px;
        }

        .logo-image-item {
            text-align: center;
        }

        .clickable-image {
            width: 100%;
            max-width: 250px;
            height: 200px;
            object-fit: contain;
            border-radius: var(--border-radius);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 3px solid var(--primary-green);
        }

        .clickable-image:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 30px rgba(0,0,0,0.25);
        }

        /* Image Modal Styles */
        .image-modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9);
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .image-modal-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 90%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation: zoomIn 0.3s ease;
        }

        @keyframes zoomIn {
            from { transform: translate(-50%, -50%) scale(0.5); }
            to { transform: translate(-50%, -50%) scale(1); }
        }

        .image-modal-close {
            position: absolute;
            top: 20px;
            right: 40px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .image-modal-close:hover {
            color: var(--primary-green);
            transform: scale(1.2);
        }

        @media (max-width: 768px) {
            .logo-images-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .clickable-image {
                max-width: 200px;
                height: 160px;
            }

            .logo-toggle-btn {
                font-size: 1rem;
                padding: 15px 20px;
            }

            .logo-info-content.active {
                padding: 20px;
            }

            .image-modal-close {
                right: 20px;
                font-size: 35px;
            }
        }


/* ========================================
   ЛЕТОПИСНА КНИГА
   Разметката е в includes/chronicle_card.php
   ======================================== */


/* Заглавието на раздела повтаря .about-text h2 - същият размер, цвят и
   подравняване като „Нашата история" и „Нашата мисия". Разделът няма
   .about-content решетка, затова не наследява стила и той се задава тук.
   Мерките се държат в синхрон ръчно; при промяна там се променя и тук. */
.chronicle-header {
    margin-bottom: 30px;
}

/* Размерът и цветът идват от общото правило горе, заедно с „Нашата
   история". Тук се сменя само отстоянието - под заглавието стои подзаглавие,
   а не направо текст, затова 25px са твърде много. */
.chronicle-header h2 {
    margin-bottom: 10px;
}

.chronicle-header p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

.chronicle-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    max-width: 900px;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f6f9fc 100%);
    border: 1px solid #e3e8ef;
    border-left: 5px solid var(--primary-green);
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 4px 20px rgba(16, 24, 40, 0.07);
}

/* Корицата е изчертана с CSS - тъмно тяло с гръбче отляво и тънка
   вътрешна рамка, каквато носят подвързаните книги. Логото е бялата
   версия, за да стъпи чисто върху тъмното. */
.chronicle-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 6px 10px 10px 6px;
    background: linear-gradient(150deg, #2E4D8C 0%, #1A365D 100%);
    box-shadow: 0 12px 28px rgba(26, 54, 93, 0.38);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 22px 18px 24px 30px;
    overflow: hidden;
}

.chronicle-cover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.chronicle-cover::after {
    content: '';
    position: absolute;
    inset: 10px 10px 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    pointer-events: none;
}

.chronicle-cover-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-weight: 700;
    font-size: 1.02rem;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.chronicle-cover-logo {
    position: relative;
    z-index: 1;
    width: 86px;
    height: 86px;
    object-fit: contain;
    opacity: 0.95;
}

.chronicle-body h3 {
    margin: 0 0 10px;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.chronicle-body p {
    margin: 0 0 16px;
    color: #52606d;
    line-height: 1.7;
}

.chronicle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.chronicle-tag {
    background: #eef2f7;
    color: #52606d;
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 0.82rem;
    font-weight: 600;
}

.chronicle-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 760px) {
    .chronicle-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 26px 22px;
    }

    .chronicle-cover {
        max-width: 180px;
        margin: 0 auto;
    }
}

/* ===========================================================
   ПРЕВКЛЮЧВАТЕЛ ПО ГОДИНИ - три бутона
   Ляво назад, дясно напред, в средата текущата година, която
   отваря списък за скок. Същата подредба като навигацията по
   месеци в календарите, тоест позната отвсякъде.
   =========================================================== */
.chronicle-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 30px;
}

.chronicle-nav-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 2px solid #e3e8ef;
    background: #fff;
    color: var(--primary-blue);
    font-family: inherit;
    font-size: .98rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s ease;
}

.chronicle-nav-arrow span[aria-hidden] {
    font-size: 1.2rem;
    line-height: 1;
}

.chronicle-nav-arrow:hover:not(:disabled) {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
}

/* В двата края бутонът се скрива, но МЯСТОТО МУ ОСТАВА - иначе
   централният бутон се мести под мишката при прелистване */
.chronicle-nav-arrow:disabled {
    visibility: hidden;
}

.chronicle-nav-current {
    position: relative;
}

.chronicle-nav-year {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    border-radius: 12px;
    border: 2px solid var(--primary-blue);
    background: var(--primary-blue);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(46, 77, 140, .28);
    transition: all .2s ease;
}

.chronicle-nav-year:hover {
    transform: translateY(-2px);
}

.chronicle-nav-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform .25s ease;
}

.chronicle-nav-year[aria-expanded="true"] .chronicle-nav-caret {
    transform: rotate(180deg);
}

.chronicle-nav-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 50;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .16);
    min-width: 190px;
    padding: 6px;
    max-height: 280px;
    overflow-y: auto;
}

.chronicle-nav-list.open {
    display: block;
}

.chronicle-nav-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border: none;
    background: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: .95rem;
    color: #374151;
    cursor: pointer;
}

.chronicle-nav-option:hover {
    background: #f1f5f9;
}

.chronicle-nav-option.current {
    background: #eef6ff;
    color: var(--primary-blue);
    font-weight: 700;
}

/* Една книга - бутоните нямат смисъл, остава само годината */
.chronicle-nav-single {
    text-align: left;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.chronicle-year-page {
    display: none;
}

.chronicle-year-page.active {
    display: block;
    animation: chronicleFade .35s ease;
}

@keyframes chronicleFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===========================================================
   ЛЕНТА С ЧИСЛА
   Числата се въвеждат ръчно при качването на книгата - те
   описват живота на училището, а не какво е въведено в сайта.
   =========================================================== */
.chronicle-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 900px;
    margin: 18px 0 0;
}

.chronicle-stat {
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.chronicle-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-blue);
    font-variant-numeric: tabular-nums;
}

.chronicle-stat-label {
    display: block;
    font-size: .82rem;
    color: #7b8794;
    margin-top: 2px;
}

/* ===========================================================
   ИКОНИТЕ - изчертани изцяло с CSS, без emoji и без файлове
   Всяка икона е <span class="ic ic-*"><span></span></span>.
   Вложеният span дава още две повърхности за рисуване, което
   стига за купата и групата хора; box-shadow размножава форми,
   за да не се плодят елементи.
   =========================================================== */
.ic {
    position: relative;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    color: #2563eb;
}

.ic > span {
    position: absolute;
    inset: 0;
}

.ic::before,
.ic::after,
.ic > span::before,
.ic > span::after {
    content: '';
    position: absolute;
}

/* --- календар --- */
.ic-calendar > span {
    top: 5px; left: 1px; right: 1px; bottom: 1px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.ic-calendar > span::before {              /* горна лента */
    left: -1px; right: -1px; top: -1px; height: 5px;
    background: currentColor;
    border-radius: 2px 2px 0 0;
}

.ic-calendar::before {                     /* двете халки отгоре */
    top: 1px; left: 6px; width: 2px; height: 6px;
    background: currentColor;
    border-radius: 1px;
    box-shadow: 10px 0 0 currentColor;
}

/* --- хора --- */
.ic-people::before {                       /* три глави */
    top: 5px; left: 10px; width: 7px; height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: -8px 2px 0 -1px currentColor, 8px 2px 0 -1px currentColor;
}

.ic-people::after {                        /* три тела */
    bottom: 5px; left: 8px; width: 11px; height: 8px;
    border-radius: 6px 6px 2px 2px;
    background: currentColor;
    box-shadow: -7px 1px 0 -2px currentColor, 7px 1px 0 -2px currentColor;
}

/* --- купа ---
   Дръжките са ЕДИН пръстен, застанал зад купата: плътното тяло
   закрива средата му и отвън остават само двете дъги. Така два
   отделни елемента за дръжки не са нужни и остават повърхности
   за истинско столче и основа. */
.ic-trophy > span::before {                /* пръстенът - дръжките */
    z-index: 0;
    top: 4px; left: 1px; right: 1px; height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.ic-trophy::before {                       /* тяло на купата */
    z-index: 1;
    top: 3px; left: 7px; width: 12px; height: 12px;
    background: currentColor;
    border-radius: 2px 2px 7px 7px;
}

.ic-trophy::after {                        /* столче */
    z-index: 1;
    top: 15px; left: 11px; width: 4px; height: 4px;
    background: currentColor;
}

.ic-trophy > span::after {                 /* основа */
    z-index: 1;
    top: 19px; left: 6px; width: 14px; height: 3px;
    background: currentColor;
    border-radius: 1px;
}

/* --- снимки --- */
.ic-image::before {                        /* задна рамка */
    top: 2px; left: 6px; right: 2px; height: 16px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.ic-image > span {                         /* предна рамка */
    top: 7px; left: 1px; right: 7px; bottom: 2px;
    border: 2px solid currentColor;
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
}

.ic-image > span::before {                 /* слънце */
    top: 2px; left: 2px; width: 3px; height: 3px;
    border-radius: 50%;
    background: currentColor;
}

.ic-image > span::after {                  /* планина */
    bottom: -1px; left: 1px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 6px solid currentColor;
}

@media (max-width: 760px) {
    .chronicle-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* На тесен екран трите широки бутона не се побират - годините по
   стрелките отпадат, остава само знакът */
@media (max-width: 640px) {
    .chronicle-nav { gap: 8px; }
    .chronicle-nav-arrow { padding: 0 14px; }
    .chronicle-nav-arrow-year { display: none; }
}
