/* Стили шаблона сайта */

body {
    position: relative;
    margin: 0;
    padding: 0;
    background-color: #e8e8e8;
    background-image:
        radial-gradient(ellipse 120% 70% at 50% -15%, #f6f6f6 0%, transparent 55%),
        linear-gradient(180deg, #f1f1f1 0%, #e3e3e3 100%);
}


/* WOW fix BB */
.wow { opacity: 0; }
.wow-activated-bb.wow { opacity: 1; }


/* HEADER */
header {
    max-width: 1920px;
    margin: auto;
}

@font-face {
    font-family: 'Bebas Neue';
    src: local('Bebas Neue'),
    url(/local/fonts/BebasNeue-Regular.ttf);
}


.header-logo {
    font-family: 'Bebas Neue', Helvetica, Verdana, Arial, Sans-serif;
    font-weight: bold;
    font-size: 2.65em;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: #26292e;
}

.header-logo__world {
    color: #7a848c;
}

.header-logo-caption {
    font-size: 0.6em;
}

@media (max-width: 991px) {
    .header-logo {
        font-size: clamp(1.7rem, 6.2vw, 2.3rem);
        margin-right: 0.5rem;
    }
}

@media (max-width: 380px) {
    .header-logo {
        font-size: 1.55rem;
        letter-spacing: 0.01em;
    }
}

header input[type="search"] {
    width: 120px;
    transition: all 200ms ease-in-out 0ms;
}

header input[type="search"]:focus {
    width: 300px;
    transition: all 200ms ease-in-out 0ms;
}

@media (max-width: 350px) {
    .header-logo-caption {
        font-size: 0.55em;
    }
}

@media (max-width: 320px) {
    .header-logo-caption {
        display: none;
    }
}


.page {
    max-width: 1920px;
    margin: 0 auto;
}


/* PAGE-CONTENT */
.page-content {
    display: inline-block;
    width: 75%;
}

@media (max-width: 768px) {
    .page-content {
        width: 98%;
    }

    .card-item {
        width: 100%;
    }
}

.link_ejway {
    color: #546e7a;
}

.link_ejway:hover {
    color: #009688;
}

/* SIDEBAR */
.sidebar {
    position: sticky;
    top: 0;
    display: inline-block;
    vertical-align: top;
    max-width: 23%;
}

.sidebar a {
    color: #546e7a;
}

.sidebar a:hover {
    color: #009688;
}

.sidebar__map {
    width: 100%;
}

/* SIDEBAR — автор */
.sidebar-author {
    --sidebar-author-bg: #efefef;
    --sidebar-author-border: #d2d2d2;
    border: 1px solid var(--sidebar-author-border);
    background: var(--sidebar-author-bg);
    padding: 7px;
}

.sidebar-author__avatars {
    display: flex;
    align-items: center;
    margin-bottom: 7px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--sidebar-author-border);
}

.sidebar-author__photo {
    display: block;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center calc(50% + 1px);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #d8d8d8;
    flex-shrink: 0;
}

.sidebar-author__badge {
    display: block;
    width: 50px;
    height: 50px;
    margin-left: -13px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #d8d8d8;
    flex-shrink: 0;
}

.sidebar-author__text {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #5a5a5a;
}

/* SIDEBAR — рейтинг кофе */
.sidebar-coffee-rating {
    --sidebar-coffee-bg: #faf7f2;
    --sidebar-coffee-border: #e0d5c8;
    --sidebar-coffee-accent: #6b4a32;
    border: 1px solid var(--sidebar-coffee-border);
    background: var(--sidebar-coffee-bg);
    padding: 7px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sidebar-coffee-rating:hover {
    border-color: #b9a796;
    box-shadow: 0 2px 8px rgba(75, 47, 47, 0.08);
}

.sidebar-coffee-rating__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.sidebar-coffee-rating__link:hover {
    color: inherit;
}

.sidebar-coffee-rating__banner {
    margin-bottom: 7px;
    overflow: hidden;
    border-radius: 1px;
    aspect-ratio: 4 / 3;
    background: #f4efe8;
}

.sidebar-coffee-rating__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease, filter 0.35s ease;
}

.sidebar-coffee-rating__link:hover .sidebar-coffee-rating__img {
    transform: scale(1.03);
    filter: brightness(0.96);
}

.sidebar-coffee-rating__head {
    margin: 0 0 6px;
    padding: 0 1px 6px;
    border-bottom: 1px solid var(--sidebar-coffee-border);
}

.sidebar-coffee-rating__title {
    margin: 0;
    font-family: 'Bebas Neue', Helvetica, Verdana, Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #26292e;
}

.sidebar-coffee-rating__tagline {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a7a7a;
}

.sidebar-coffee-rating__text {
    margin: 6px 1px 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #5a5a5a;
}

.sidebar a.sidebar-coffee-rating__link {
    color: inherit;
}

.sidebar a.sidebar-coffee-rating__link:hover {
    color: inherit;
}

@media (max-width: 768px) {
    .sidebar-coffee-rating__title {
        font-size: 1.75rem;
    }
}

/* SIDEBAR — случайные кадры */
.sidebar-frames {
    --sidebar-frames-bg: #efefef;
    --sidebar-frames-border: #d2d2d2;
    border: 1px solid var(--sidebar-frames-border);
    background: var(--sidebar-frames-bg);
    padding: 7px;
}

.sidebar-frames__head {
    margin: 0 0 7px;
    padding: 0 1px 6px;
    border-bottom: 1px solid var(--sidebar-frames-border);
}

.sidebar-frames__title {
    margin: 0;
    font-family: 'Bebas Neue', Helvetica, Verdana, Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #26292e;
}

.sidebar-frames__tagline {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a7a7a;
}

.sidebar a.sidebar-frames__link {
    color: inherit;
}

.sidebar a.sidebar-frames__link:hover {
    color: inherit;
}

@media (max-width: 768px) {
    .sidebar {
        max-width: 100%;
    }

    .sidebar-frames__title {
        font-size: 1.75rem;
    }
}


/* FOOTER */
footer {
    max-width: 1920px;
    margin: auto;
}

.footer-pre {
    --bs-link-color: #2f363d;
    --bs-link-hover-color: #26292e;
    --bs-link-color-rgb: 47, 54, 61;
    --bs-link-hover-color-rgb: 38, 41, 46;
    background: #a8b0b8;
    border-bottom: 4px solid #1a2c3d;
    color: #26292e;
    text-align: left;
}

.footer-pre .top-list-footer-item > p,
.footer-pre .footer-pre__title {
    margin: 0 0 0.85rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(47, 54, 61, 0.18);
    font-family: 'Bebas Neue', Helvetica, Verdana, Arial, sans-serif !important;
    font-size: 0.925rem;
    font-weight: 400 !important;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2f363d !important;
    opacity: 1;
}

@media (min-width: 992px) {
    .footer-pre .top-list-footer-item > p,
    .footer-pre .footer-pre__title {
        font-size: 1.025rem;
        white-space: nowrap;
    }
}

@media (min-width: 1200px) {
    .footer-pre .top-list-footer-item > p,
    .footer-pre .footer-pre__title {
        font-size: 1.075rem;
    }
}

.footer-pre .footer-block__item,
.footer-pre .top-list-footer-item a {
    font-size: 0.875rem;
}

.footer-pre .footer-block__item .small {
    font-size: 0.75rem;
}

.footer-pre .top-list-footer-item > p b,
.footer-pre .footer-pre__title b {
    font-family: inherit;
    font-weight: inherit;
    color: inherit;
}

.footer-bottom-line {
    background: linear-gradient(180deg, #1a2c3d 0%, #0f1a26 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e8e8e8;
    text-align: left;
}

.footer-bottom-line__colophon {
    width: 100%;
}

.footer-bottom-line__brand {
    margin: 0 0 0.5rem;
}

.footer-logo {
    display: inline-block;
    font-family: 'Bebas Neue', Helvetica, Verdana, Arial, sans-serif;
    font-size: 2.75rem;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #e8e8e8;
}

.footer-logo__world {
    color: #7a848c;
}

.footer-bottom-line__tagline {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a848c;
}

.footer-bottom-line__note {
    margin: 0 0 1rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom-line__nav {
    margin: 0 0 1.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.footer-bottom-line__nav a {
    color: #7a848c;
    text-decoration: none;
}

.footer-bottom-line__nav a:hover {
    color: #e8e8e8;
}

.footer-bottom-line__sep {
    margin: 0 0.45rem;
    color: rgba(255, 255, 255, 0.28);
}

.footer-bottom-line__legal {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}


/* TOOLS */
.red {
    border: 1px solid red;
}