 .istoric-article {
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
            padding: 20px 25px 50px;
            color: #222;
            font-size: 1.6rem;
            line-height: 1.75;
        }

        .istoric-article h1,
        .istoric-article h2 {
            line-height: 1.3;
        }

        .istoric-article h1 {
            margin: 12px 0 18px;
            text-align: center;
            font-size: 2.8rem;
        }

        .istoric-article h2 {
            margin: 38px 0 14px;
            font-size: 2.1rem;
        }

        .istoric-article p {
            margin: 0 0 18px;
            text-align: justify;
        }

        .istoric-article .article-label,
        .istoric-article .article-author {
            text-align: center;
        }

        .istoric-article .article-label {
            margin-bottom: 8px;
            font-weight: 700;
        }

        .istoric-article .article-author {
            margin-bottom: 5px;
        }

        .istoric-article img {
            display: block;
            width: auto;
            max-width: min(100%, 400px);
            height: auto;
            margin: 26px auto;
            border-radius: 3px;
            box-shadow: 0 3px 12px rgba(0, 0, 0, .22);
            cursor: zoom-in;
        }

        .istoric-article img:focus {
            outline: 3px solid #1c5d8c;
            outline-offset: 4px;
        }

        .photo-modal {
            position: fixed;
            inset: 0;
            z-index: 100000;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(0, 0, 0, .94);
            touch-action: none;
        }

        .photo-modal.is-open {
            display: flex;
        }

        .photo-modal-image {
            max-width: 94vw;
            max-height: 86vh;
            width: auto;
            height: auto;
            object-fit: contain;
            user-select: none;
            transition: transform .15s ease;
            transform-origin: center;
            cursor: zoom-in;
        }

        .photo-modal-image.is-zoomed {
            cursor: grab;
        }

        .photo-modal-image.is-dragging {
            cursor: grabbing;
        }

        .photo-modal button,
        .photo-modal a {
            position: absolute;
            z-index: 2;
            display: grid;
            place-items: center;
            border: 0;
            border-radius: 4px;
            background: rgba(0, 0, 0, .62);
            color: #fff;
            font: 700 28px/1 Arial, sans-serif;
            text-decoration: none;
            cursor: pointer;
        }

        .photo-close,
        .photo-download {
            top: 14px;
            width: 46px;
            height: 46px;
        }

        .photo-close { right: 14px; }
        .photo-download { right: 70px; font-size: 23px !important; }

        .photo-prev,
        .photo-next {
            top: 50%;
            width: 48px;
            height: 70px;
            transform: translateY(-50%);
        }

        .photo-prev { left: 10px; }
        .photo-next { right: 10px; }

        .photo-counter {
            position: absolute;
            bottom: 12px;
            left: 50%;
            padding: 7px 12px;
            border-radius: 4px;
            background: rgba(0, 0, 0, .62);
            color: #fff;
            font-size: 15px;
            transform: translateX(-50%);
        }

        body.photo-modal-open { overflow: hidden; }

        @media (max-width: 767px) {
            .istoric-article {
                padding: 15px 12px 35px;
                font-size: 1.5rem;
                line-height: 1.65;
            }

            .istoric-article h1 { font-size: 2.3rem; }
            .istoric-article h2 { font-size: 1.9rem; }
            .istoric-article p { text-align: left; }
            .istoric-article img { max-width: 100%; }
            .photo-modal-image { max-width: 96vw; max-height: 82vh; }
        }
