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

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #0048B5;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

a {
    text-decoration: underline;
    color: #0000EE;
}

a:visited {
    color: #551A8B;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === PAGE === */
.page {
    width: 794px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    /* Градиент задаётся в HTML через style="" */
}

/* === NAVIGATION === */
.navigation {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.nav-home {
    display: inline-block;
    width: 26px;
    height: 22px;
}

.nav-home img {
    width: 26px;
    height: 22px;
}

.nav-menu {
    display: flex;
    gap: 0;
}

.nav-item {
    height: 16px;
    padding: 0 5px;
    font-size: 13.33px;
    line-height: 16px;
    text-decoration: none;
    color: #000000;
}

.fotografia { background: #FF5353; }
.art { background: #FFEE69; }
.kino { background: #B043B5; }
.grafika { background: #00EA89; }
.hadere { background: #A23B5F; }
.arhitektura { background: #EEA31A; }
.tipografika { background: #66E630; }
.moda { background: #F258D3; }
.ux { background: #40ACFF; }
.tme { background: #C35BFF; }
.onas { background: #9A9A9A; }

/* === HERO === */
.hero-image {
    width: 600px;
    height: 230px;
    border: 3px solid #BB00C5;
    object-fit: cover;
    margin: 10px auto;
}

.hero-caption {
    font-size: 12px;
    font-style: italic;
    text-align: center;
    margin: 10px auto 0;
}

/* === CONTENT === */
.content-wrapper {
    padding-top: 20px;
}

h1 {
    font-size: 32px;
    font-weight: bold;
    margin: 1px 0 10px 0;
}

h2 {
    font-size: 17.33px;
    font-weight: bold;
    margin: 15px 0 10px 0;
}
/* === читайте также h3 === */
h3 {
    font-size: 15px;
    font-weight: bold;
    text-indent: 0px;
    margin: 15px 0 10px 0;
    color: #A6295A;
}
p {
    font-size: 13.33px;
    line-height: 17.33px;
    margin-bottom: 10px;
}
p2 {
    font-size: 12px;
    font-style: bold;
    line-height: 13px;
    margin-bottom: 8px;
}


ul {
    margin: 10px 0 10px 20px;
    line-height: 1.5;
}

.highlight {
    color: #BB00C5;
    font-weight: bold;
}

/* === IMAGES === */
.images-container {
    margin: 10px 0 5px 0;
    text-align: left; 
}

.image-box-framed {
    width: 300px;
    border: 0px solid #BB00C5;
    margin: 0px;
}

.image-box-framed img {
    width: 100%;
    display: block;
}

.page .content-wrapper p.image-caption {
    font-size: 11px !important;
    font-style: italic !important;
    text-align: left !important;
    margin: 7px auto 10px !important;
    color: #000000 !important;
    line-height: 12.6px !important;
}

/* === PRINT === */
@page {
    size: A4;
    margin: 50px;
}

@media print {
    body {
        background: white;
        padding: 0;
        margin: 0;
    }
    
    .page {
        width: 100%;
        padding: 40px;
        box-shadow: none;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
