html{--classic-small:14px;--classic-body:19px;--classic-heading:22px;--classic-title:32px;--classic-wash:#f4f4f5;--classic-line:#dddfe2;--classic-ink:#202124;--classic-tile:#fff;--classic-night:#222426}
html[data-theme=dark]{--classic-wash:#222528;--classic-line:#42454a;--classic-ink:#eef0f2;--classic-tile:#1a1c20;--classic-night:#0d0e10}
html :is(.thecontent p,.commenttext p,.front-view-content){line-height:1.57}
html :is(.front-view-title,.single-title,.featured-title,.widget-title,.featured-category-title){line-height:1.23;letter-spacing:-.022em}
html :is(.front-view-title,.featured-title,.catode-video-title,.catode-popular-title,.catode-otd-title,.latestPost .thecategory,.latestPost .front-view-content,.comment-author .fn){-webkit-line-clamp:unset!important;line-clamp:unset!important;max-height:none!important;white-space:normal!important;text-overflow:clip!important;overflow:visible!important;overflow-wrap:anywhere}
html :is(.widget-title,.featured-title,.front-view-title,#respond h4,#respond h4 span){text-transform:none!important}
html :is(.site-description,.post-info,.breadcrumb,.post-info a){line-height:1.4}
html .journal-respond.box{box-sizing:border-box;width:100%;border:1px solid var(--classic-line)!important;border-radius:10px!important;background:var(--classic-wash)!important;box-shadow:none!important;padding:clamp(14px,2.5vw,28px)!important}
html .journal-respond .comment-respond{padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
html #respond #reply-title{border:0!important;padding:0!important;background:none!important;color:var(--classic-ink)!important;line-height:1.25}
html #commentform{padding:0!important;background:none!important;box-shadow:none!important;border:0!important}
html #commentform :is(textarea,input[type=text],input[type=email]){box-sizing:border-box;width:100%;border-radius:8px;background:var(--classic-tile)!important;border:1px solid var(--classic-line)!important;color:var(--classic-ink)!important}
html #commentform p label{line-height:1.45}
html #commentform #submit{background:var(--classic-night)!important;color:white!important;border-radius:8px;letter-spacing:0;text-transform:none}
html .commentlist li.comment>div{background:var(--classic-tile);border-color:var(--classic-line);box-shadow:none}
html .commentlist .comment-author .fn{flex-wrap:wrap}
html :is(h3.featured-category-title,#sidebar .widget-title){background:var(--classic-night)!important;color:#fff!important;padding:8px 13px!important;border-radius:5px;border:0!important}
html #sidebar .widget-title::after{display:none}
html :is(.catode-related,.thecontent .cs-incard){background:var(--classic-wash)!important;color:var(--classic-ink)!important}
@media(max-width:865px){html{--classic-body:18px;--classic-heading:20px;--classic-title:28px}
html :is(.latestPost .title,.latestPost .front-view-title){height:auto!important;max-height:none!important}
}
@media(min-width:866px){
 html #header{column-gap:12px}
 html .logo-wrap{flex:0 1 195px;min-width:max-content}
 html .site-description{max-width:23ch;white-space:normal}
 html #secondary-navigation .menu>li>a{text-transform:none;padding-left:7px;padding-right:7px}
 html #secondary-navigation .menu>.menu-item-has-children>a{padding-right:18px}
 html #secondary-navigation .menu>.menu-item-has-children>a::after{right:5px}
 html .featuredBox .featured-side .excerpt{min-height:min-content}
 html .featuredBox .thirdpost>a::after{content:attr(title);visibility:hidden;font:700 var(--classic-small)/1.23 Inter,sans-serif;letter-spacing:-.022em;display:block;padding:4% 3%;pointer-events:none}
}
@media(min-width:1080px){html .header-search{min-width:150px}}
@media(min-width:1080px) and (max-width:1250px){
 html #header{flex-wrap:wrap;row-gap:0}
 html #header .header-search{margin-left:auto;margin-block:5px 10px}
}

/* White editorial stock lets catalogue photography share its background with the page. */
html:not([data-theme="dark"]) #content_box > .latestPost.excerpt,
html:not([data-theme="dark"]) #content_box > .latestPost .post-image .featured-thumbnail {
    background-color: #fff;
}
#read-next {
    --next-paper: #fff;
    --next-ink: #1d1e21;
    --next-meta: #62646a;
    --next-rule: #dedfe2;
    clear: both;
    margin: 30px 0 22px;
    padding: 0;
    background: var(--next-paper);
    color: var(--next-ink);
    scroll-margin-top: 24px;
}
html[data-theme="dark"] #read-next {
    --next-paper: #181b20;
    --next-ink: #f5f5f7;
    --next-meta: #b1b6bf;
    --next-rule: #343941;
}
#read-next #read-next-title {
    margin: 0;
    padding: 10px 15px;
    background: var(--classic-night);
    color: white;
    border: 0;
    border-radius: 5px;
    font-weight: 650;
    letter-spacing: -.02em;
    text-transform: none;
    line-height: 1.23;
}
#read-next ul {margin: 0; padding: 0; list-style: none}
#read-next li {
    margin: 0;
    padding: 0;
    list-style: none;
    background: none;
    border-bottom: 1px solid var(--next-rule);
}
#read-next li::before {content: none}
#read-next li > a {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 24px);
    padding: 14px 6px;
    border: 0;
    background: transparent;
    text-decoration: none !important;
    color: var(--next-ink) !important;
}
#read-next .read-next-photo {
    display: grid;
    place-items: center;
    flex: 0 0 clamp(105px, 13vw, 154px);
    height: 94px;
    overflow: hidden;
    background: #fff;
}
#read-next .read-next-photo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: 94px;
    object-fit: contain;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
}
#read-next .read-next-copy {min-width: 0; display: grid; gap: 5px}
#read-next .read-next-meta {color: var(--next-meta); font-weight: 450; line-height: 1.4}
#read-next strong {display: block; font-weight: 600; line-height: 1.32; letter-spacing: -.018em; overflow-wrap: anywhere}
#read-next a:is(:hover,:focus-visible) strong {text-decoration: underline; text-underline-offset: .16em}
#read-next a:focus-visible {outline: 2px solid #3978d6; outline-offset: -2px}
@media(max-width:640px){
    #read-next li > a {gap: 12px; padding: 14px 0; align-items: flex-start}
    #read-next .read-next-photo {flex-basis: clamp(60px, 21vw, 96px); height: 66px}
    #read-next .read-next-photo img {max-height: 66px}
}

/* Keep the space after the form even when the sidebar moves below it. */
html #commentsAdd {padding-bottom: 44px}
html #contest-calendar {
    margin: 24px 0;
    padding: 0;
    opacity: 1;
    background: var(--classic-wash);
    border-radius: 9px;
    scroll-margin-top: 30px;
}
#contest-calendar > a {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    column-gap: 14px;
    padding: 16px 18px;
    border: 0;
    border-radius: inherit;
    color: var(--classic-ink) !important;
    line-height: 1.45;
    text-decoration: none !important;
}
#contest-calendar .fa {color: var(--classic-ink);font-size: var(--classic-heading)}
#contest-calendar strong {font-weight: 600; color: #2156b0; text-decoration: underline; text-underline-offset: .16em; text-decoration-thickness: 1px}
#contest-calendar .calendar-arrow {color: #2156b0}
html[data-theme="dark"] #contest-calendar :is(strong,.calendar-arrow) {color: #9dbfff}
#contest-calendar a:focus-visible {outline: 2px solid #3978d6;outline-offset: 2px}
#contest-calendar a:hover strong {text-decoration-thickness: 2px}
html #site-footer .frontTitle {
    margin: 0;
    padding: 15px 0 0;
    background: transparent;
    color: var(--classic-ink);
    border-top: 1px solid var(--classic-line);
    line-height: 1.25;
    font-weight: 650;
    letter-spacing: -.025em;
    text-align: left;
    text-transform: none;
}
html #site-footer .carousel {padding-block-end: 24px}
html #site-footer .carousel .featured-title {
    text-transform: none;
    line-height: 1.4;
    letter-spacing: -.01em;
}
#site-footer .journal-end {background: #202124; color: #f6f6f7; clear: both; border-radius: 9px 9px 0 0}
#site-footer .journal-end-inner {
    box-sizing: border-box;
    max-width: 1320px;
    padding: 30px clamp(18px,3.3vw,48px) 12px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr .8fr;
    gap: 24px clamp(20px,5vw,76px);
}
#site-footer .journal-end a {color: #f6f6f7; text-decoration: none; font-weight: 450}
#site-footer .journal-end a:hover {text-decoration: underline; text-underline-offset: 3px}
#site-footer .journal-end a:focus-visible {outline: 2px solid #a6c6ff;outline-offset: 2px}
#site-footer .journal-brand > a {display: inline-block; font-weight: 750; line-height: 1.12; letter-spacing: -.045em; text-transform: uppercase}
#site-footer .journal-brand p {max-width: 26ch; margin: 7px 0 0; color: #c6c8cc; line-height: 1.5}
#site-footer .journal-end nav h2 {margin: 0 0 8px; color: #c6c8cc; font-weight: 600; letter-spacing: normal; line-height: 1.4; text-transform: none}
#site-footer .journal-end nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-rows: repeat(3,auto);
    grid-auto-flow: column;
    grid-auto-columns: minmax(0,1fr);
    gap: 0 14px;
}
#site-footer .journal-end nav li {margin: 0; list-style: none; padding: 0}
#site-footer .journal-end nav a {display: inline-block; padding-block: 4px; line-height: 1.4}
#site-footer .journal-utility {grid-column: 1/-1; border-top: 1px solid #494a4d; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; color: #c6c8cc; line-height: 1.5}
#site-footer .journal-utility a {padding-block: 5px}
@media(max-width:760px){
    html #commentsAdd {padding-bottom: 28px}
    #site-footer .journal-end-inner {grid-template-columns: 1fr 1fr; column-gap: 18px; padding: 24px 18px 12px}
    #site-footer .journal-brand {grid-column: 1/-1}
    #site-footer .journal-brand p {max-width: none}
    #site-footer .journal-end nav ul {grid-template-rows: none;grid-auto-flow: row}
    #contest-calendar > a {column-gap: 10px; padding: 14px 12px}
}
/* Единая шкала действующей журнальной темы. Иконочный шрифт остаётся у пиктограмм. */
html body {font-family:Inter,system-ui,sans-serif}
html body :is(.site-description,.navigation a,.sub,.post-info,.post-info span,.post-info a,.thecategory,.breadcrumb,.breadcrumb a,.breadcrumb span,.readMore a,.catode-video-title,.catode-video-sub,.catode-video-time,.catode-popular-title,.catode-popular-views,.catode-otd-title,.catode-otd-when,.comment-author,.comment-author a,.comment-author span,.comment-notes,.comment-form-consent,.comment-form-cookies-consent,.comment-form label,.comment-form .submit,.f-excerpt,.trending-articles,.trending-articles a,.trending-articles .firstlink,.cs-incard,#site-footer .carousel .featured-title,.read-next-meta,.journal-brand p,.journal-end nav h2,.journal-end nav a,.journal-utility,.journal-utility a,.pagination a,.pagination span,#s,.featuredBox .thirdpost .featured-title) {font-family:Inter,system-ui,sans-serif;font-size:var(--classic-small)!important}
html body :is(.thecontent,.thecontent p,.thecontent li,.commenttext p,.front-view-content,.front-view-content p,.textwidget p,.featuredBox .secondpost .featured-title,#commentform textarea,#commentform input[type=text],#commentform input[type=email],#read-next strong,#contest-calendar a){font-family:Inter,system-ui,sans-serif;font-size:var(--classic-body)!important}
html body :is(.thecontent .cs-incard,.thecontent figcaption,#read-next .read-next-meta){font-family:Inter,system-ui,sans-serif;font-size:var(--classic-small)!important}
html body :is(.front-view-title,.front-view-title a,.widget-title,.featured-category-title,.thecontent h2,.thecontent h3,.featuredBox .firstpost .featured-title,#comments h4,#reply-title,#site-footer .frontTitle){font-family:Inter,system-ui,sans-serif;font-size:var(--classic-heading)!important}
html body :is(#logo,#logo a,.single-title,.journal-brand>a){font-family:Inter,system-ui,sans-serif;font-size:var(--classic-title)!important}
@media(max-width:865px){html body .featuredBox .featured-side .featured-title{font-family:Inter,system-ui,sans-serif;font-size:var(--classic-small)!important}}

html body :is(.catode-channel,.social-link,.shareit a,#cookie-consent-banner p,#cookie-consent-banner a,#cookie-consent-banner button){font-size:var(--classic-small)!important}

html #respond #reply-title {text-transform:none!important;background:transparent!important;color:var(--classic-ink)!important}
@media(min-width:866px){
    html #header {flex-wrap:wrap;row-gap:0}
    html #header .site-description {max-width:none;white-space:nowrap}
    #site-footer .journal-end-inner {grid-template-columns:minmax(max-content,1.15fr) 1fr .8fr}
    #site-footer .journal-brand p {max-width:none;white-space:nowrap}
}

/* The wordmark takes its own width. The longer tagline has the line below it. */
@media (min-width: 866px) {
    html #site-header #header {
        display: grid;
        grid-template-columns: max-content max-content minmax(145px, 1fr);
        grid-template-areas: "logo nav search" "tagline tagline tagline";
        gap: 2px 14px;
        align-items: center;
        padding-block: 12px;
    }
    html #header .logo-wrap { display: contents }
    html #header #logo { grid-area: logo; margin: 0 }
    html #header .site-description { grid-area: tagline; margin: 0 }
    html #header #secondary-navigation { grid-area: nav; margin: 0 }
    html #header .header-search {
        grid-area: search;
        justify-self: end;
        width: 100%;
        min-width: 0;
        max-width: 320px;
        margin: 0;
    }
}
@media (min-width: 866px) and (max-width: 1239px) {
    html #site-header #header {
        grid-template-columns: 1fr minmax(190px, 310px);
        grid-template-areas: "logo search" "tagline search" "nav nav";
        row-gap: 3px;
    }
    html #header #secondary-navigation { justify-self: start }
}

/* Image Fit manages its own transform; supply the missing hover for ordinary photos. */
@media (min-width: 866px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
    .home .featuredBox .excerpt:is(:hover,:focus-within) .featured-thumbnail:not([data-fit]):not([data-fit-done]) img {
        transform: scale(1.035) !important;
        transition: transform .35s ease;
    }
    .home .featuredBox .excerpt:focus-within .featured-thumbnail[data-fit-done] img { --hv: 1.03 }
}
@media (prefers-reduced-motion: reduce) {
    .home .featuredBox .excerpt .featured-thumbnail img { transition: none !important }
}

/* A phone feed reads vertically, with the whole photograph above its headline. */
@media (max-width: 767px) {
    html body.home #content_box > article.latestPost.excerpt {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "thumb" "head" "text";
        gap: 0;
    }
    html body.home #content_box > .latestPost > .post-image {
        grid-area: thumb;
        float: none;
        width: 100%;
        max-width: none;
        margin: 0 0 12px;
    }
    html body.home #content_box > .latestPost > header { grid-area: head; float: none; width: 100% }
    html body.home #content_box > .latestPost > .front-view-content { grid-area: text; width: 100%; margin: 8px 0 0 }
    html body.home #content_box > .latestPost > .readMore { display: none }
    html body.home #content_box .latestPost .post-image .featured-thumbnail {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        margin: 0;
    }
    html body.home #content_box .latestPost .post-image .featured-thumbnail picture {display: block}
    html body.home #content_box .latestPost .post-image .featured-thumbnail img {
        display: block;
        float: none;
        width: 100% !important;
        height: auto !important;
        max-height: min(105vw, 490px);
        aspect-ratio: 3 / 2 !important;
        aspect-ratio: attr(width type(<number>), 3) / attr(height type(<number>), 2) !important;
        object-fit: contain !important;
        object-position: center !important;
        transform: none !important;
        margin: 0;
    }
}

/* Two-column news cards use compact summaries and the photograph's own silhouette. */
@media (min-width: 768px) {
    body.home #content_box > article.latestPost.excerpt:not(.full-post) {
        grid-template-columns: clamp(180px, 35%, 310px) minmax(0, 1fr);
        column-gap: clamp(16px, 1.6vw, 24px);
        align-content: center;
    }
    body.home #content_box > .latestPost:not(.full-post) > .post-image {
        align-self: center;
        border-radius: 8px;
        line-height: 0;
    }
    body.home #content_box > .latestPost:not(.full-post) .featured-thumbnail {
        border-radius: inherit;
        overflow: hidden;
    }
    body.home #content_box > .latestPost:not(.full-post) .featured-thumbnail:not(:has(img[data-fit-small])) {
        aspect-ratio: auto;
        height: auto;
        float: none;
        line-height: 0;
    }
    body.home #content_box > .latestPost:not(.full-post) .featured-thumbnail img:not([data-fit-small]) {
        display: block;
        width: 100%;
        height: auto !important;
        aspect-ratio: auto 3 / 2;
        margin-inline: auto;
        border-radius: 8px;
        object-fit: contain;
    }
    @supports (aspect-ratio: attr(width type(<number>)) / attr(height type(<number>))) {
        body.home #content_box > .latestPost:not(.full-post) .featured-thumbnail img[width][height]:not([data-fit-small]) {
            --feed-aspect: calc(attr(width type(<number>)) / attr(height type(<number>)));
            aspect-ratio: var(--feed-aspect);
            width: min(100%, calc(295px * var(--feed-aspect)));
        }
    }
    body.home #content_box > .latestPost:not(.full-post) .front-view-title,
    body.home #content_box > .latestPost:not(.full-post) .front-view-title a {
        font-size: var(--classic-body) !important;
        line-height: 1.25;
    }
    body.home #content_box > .latestPost:not(.full-post) .front-view-content {
        font-size: var(--classic-small) !important;
        line-height: 1.55;
        margin-top: 7px;
    }
    body.home #content_box > .latestPost:not(.full-post) > .readMore { margin-top: 5px }
}
