/*
 * TravelBlog 1.3.10 for Bludit 3.22
 * Полный файл стилей с обновлённой типографикой; заменяет assets/css/main.css.
 * Заголовки секций/сайдбара/подвала 15px; текст статьи 16px.
 * H5 17px (на мобильных 16px), H6 16px; копирайт 12px.
 * До 440px: название статьи 28px, малые карточки 14px.
 * Blogger-inspired magazine layout, rebuilt without Blogger runtime.
 */

:root {
    --accent-color: #bf4c3f;
    --accent-hover: #a73d32;
    --heading-color: #111111;
    --text-color: #575757;
    --muted-color: #8a8a8a;
    --dark-color: #111111;
    --darkest-color: #000000;
    --page-bg: #f3f3f3;
    --surface: #ffffff;
    --soft-bg: #f7f7f7;
    --border-color: #e8e8e8;
    --content-width: 1068px;
    --shell-width: 1128px;
    --radius: 2px;
    --sidebar-sticky-offset: 24px;
    --font-main: 'Roboto', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    -webkit-font-smoothing: antialiased;
}

body.nav-active { overflow: hidden; }
a { color: var(--accent-color); text-decoration: none; transition: color .17s ease, opacity .17s ease; }
a:hover, a:focus { color: var(--accent-hover); }
img, picture { max-width: 100%; }
picture { display: block; }
img { height: auto; border: 0; vertical-align: middle; }
figure { margin: 1.6em 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link {
    position: fixed;
    left: 12px;
    top: -80px;
    z-index: 9999;
    padding: 9px 14px;
    color: #fff;
    background: var(--accent-color);
    font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

#outer-wrapper {
    width: 100%;
    max-width: var(--shell-width);
    min-height: 100vh;
    margin: 0 auto;
    background: var(--surface);
    box-shadow: 0 0 20px rgba(0,0,0,.10);
}
.row,
.top-bar-inner,
.branding-inner,
.main-nav-inner,
.footer-inner,
.sub-footer-inner {
    width: calc(100% - 60px);
    max-width: var(--content-width);
    margin: 0 auto;
}

/* Header */
#top-bar {
    min-height: 32px;
    background: var(--darkest-color);
    color: #fff;
}
.top-bar-inner {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.top-bar-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}
.top-bar-nav a {
    display: block;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
}
.top-bar-nav li:first-child a { padding-left: 0; }
.top-bar-nav a:hover { color: var(--accent-color); }
.top-bar-social { display: flex; align-items: center; gap: 4px; }
.top-bar-social a {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #fff;
}
.top-bar-social a:hover { color: var(--accent-color); }
.social-icon-svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex: 0 0 auto;
}
.social-icon-svg--header { width: 15px; height: 15px; }

.branding-row { background: var(--surface); }
.branding-inner {
    min-height: 102px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding-top: 16px;
    padding-bottom: 16px;
}
.site-brand { display: inline-flex; align-items: center; min-width: 0; color: var(--heading-color); }
.site-brand:hover { color: var(--accent-color); }
.site-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}
.site-title {
    color: currentColor;
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.035em;
}

.header-menu {
    position: relative;
    height: 48px;
    background: var(--surface);
    z-index: 100;
}
.main-nav-inner {
    position: relative;
    height: 48px;
    display: flex;
    align-items: stretch;
    background: var(--dark-color);
}
#main-menu { min-width: 0; flex: 1; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
#main-menu::-webkit-scrollbar { display: none; }
#main-menu-nav {
    height: 48px;
    display: flex;
    align-items: stretch;
    list-style: none;
    white-space: nowrap;
}
#main-menu-nav > li { display: flex; }
#main-menu-nav > li > a {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}
#main-menu-nav > li:first-child > a { padding-left: 16px; }
#main-menu-nav > li > a:hover,
#main-menu-nav > li > a.active { color: #fff; background: var(--accent-color); }
.desktop-search-toggle {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    background: var(--accent-color);
    color: #fff;
    transition: background-color .17s ease;
}
.desktop-search-toggle:hover,
.desktop-search-toggle:focus-visible { background: var(--accent-hover); }
.search-toggle__icon { pointer-events: none; }
.search-toggle__icon--search {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}
.search-toggle__icon--close {
    display: none;
    font-size: 31px;
    line-height: 1;
    font-weight: 300;
}
.desktop-search-toggle[aria-expanded="true"] .search-toggle__icon--search,
.mobile-search-toggle[aria-expanded="true"] .search-toggle__icon--search { display: none; }
.desktop-search-toggle[aria-expanded="true"] .search-toggle__icon--close,
.mobile-search-toggle[aria-expanded="true"] .search-toggle__icon--close { display: block; }
.desktop-search {
    position: absolute;
    top: 48px;
    right: 0;
    z-index: 250;
    width: min(500px, 100%);
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 12px;
    background: var(--dark-color);
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .17s ease, transform .17s ease, visibility .17s ease;
}
.desktop-search.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.desktop-search input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #394357;
    border-radius: 3px 0 0 3px;
    outline: 0;
    color: #fff;
    background: #111827;
}
.desktop-search input:focus {
    border-color: #68738a;
    box-shadow: inset 0 0 0 1px #68738a;
}
.desktop-search input::placeholder { color: #aeb5c2; opacity: 1; }
.desktop-search .desktop-search-submit {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 0 3px 3px 0;
    color: #fff;
    background: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
}
.desktop-search .desktop-search-submit:hover,
.desktop-search .desktop-search-submit:focus-visible { background: var(--accent-hover); }

.mobile-header { display: none; position: relative; min-height: 54px; background: var(--surface); color: var(--heading-color); box-shadow: inset 0 -1px var(--border-color); }
/* Keep navigation usable until its JavaScript handlers are available. */
html:not([data-travelblog-ui-ready]) .mobile-menu-toggle,
html:not([data-travelblog-ui-ready]) .mobile-search-toggle,
html:not([data-travelblog-ui-ready]) .desktop-search-toggle,
html:not([data-travelblog-ui-ready]) .mobile-search { display: none; }
.mobile-menu-toggle,
.mobile-search-toggle {
    flex: 0 0 54px;
    height: 54px;
    border: 0;
    color: var(--heading-color);
    background: transparent;
    font-size: 23px;
    display: grid;
    place-items: center;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible,
.mobile-search-toggle:hover,
.mobile-search-toggle:focus-visible { color: var(--accent-color); background: var(--soft-bg); }
.mobile-brand {
    min-width: 0;
    height: 54px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--heading-color);
    text-align: center;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
    overflow: hidden;
}
.mobile-brand-title {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mobile-logo {
    display: block;
    width: auto;
    max-width: min(190px, 100%);
    max-height: 34px;
}
.mobile-menu { display: none; position: absolute; left: 0; right: 0; top: 54px; z-index: 200; }
.mobile-menu.is-open { display: block; }
.mobile-menu { max-height: calc(100vh - 54px); overflow-y: auto; background: var(--surface); border-top: 1px solid var(--border-color); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.mobile-menu ul { width: 100%; list-style: none; }
.mobile-menu a { display: block; padding: 12px 20px; border-bottom: 1px solid var(--border-color); color: var(--heading-color); text-transform: uppercase; }
.mobile-menu a:hover { color: #fff; background: var(--accent-color); }
.mobile-search { display: none; position: absolute; left: 0; right: 0; top: 54px; z-index: 200; gap: 0; margin: 0; padding: 12px; background: var(--soft-bg); border-bottom: 1px solid var(--border-color); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.mobile-search.is-open { display: flex; }
.mobile-search input {
    flex: 1;
    min-width: 0;
    width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 3px 0 0 3px;
    outline: 0;
    color: var(--heading-color);
    background: var(--surface);
}
.mobile-search input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgb(191 76 63 / 18%);
}
.mobile-search input::placeholder { color: #666; opacity: 1; }
.mobile-search button {
    flex: 0 0 86px;
    width: 86px;
    height: 42px;
    border: 0;
    border-radius: 0 3px 3px 0;
    color: #fff;
    background: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
}
.mobile-search button:hover,
.mobile-search button:focus-visible { background: var(--accent-hover); }
.mobile-search button:focus-visible {
    outline: 2px solid var(--heading-color);
    outline-offset: 2px;
}

/* Main layout */
#content-wrapper { padding-top: 30px; padding-bottom: 40px; }
.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 30px;
    align-items: start;
}
.main-column,
.sidebar-column { min-width: 0; }
.full-width-main { width: 100%; }

/* Section headings: lighter magazine treatment with a compact red accent. */
.section-title-row {
    position: relative;
    min-height: 32px;
    margin: 0 0 24px;
    border-bottom: 1px solid #dedede;
}
.section-title-row::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 55px;
    height: 3px;
    background: var(--accent-color);
}
.section-title-row > div { display: contents; }
.section-title {
    display: inline-block;
    min-height: 0;
    margin: 0;
    padding: 0 0 10px;
    background: transparent;
    color: var(--heading-color);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.section-kicker {
    position: absolute;
    right: 0;
    bottom: 10px;
    margin: 0;
    color: var(--muted-color);
    font-size: 11px;
    text-transform: uppercase;
}
.section-view-all {
    position: absolute;
    right: 0;
    bottom: 10px;
    color: var(--heading-color);
    font-size: 12px;
    font-weight: 500;
}
.section-view-all:hover { color: var(--accent-color); }

/* Featured */
.featured-section { margin-bottom: 36px; }
.featured-grid {
    display: grid;
    grid-template-columns: minmax(300px, 52%) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}
.featured-card { min-width: 0; overflow: hidden; }
.featured-side-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    min-width: 0;
}
.featured-card--side {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-width: 0;
}
.featured-media,
.index-post__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #ececec;
    color: transparent;
}
.featured-card--lead .featured-media { aspect-ratio: 16 / 9; }
.featured-card--side .featured-media { aspect-ratio: 6 / 4; }
.featured-media picture,
.featured-media img,
.index-post__media picture,
.index-post__media img,
.article-cover picture,
.article-cover img { width: 100%; height: 100%; }
.post-thumb,
.article-cover__image { display: block; object-fit: cover; transition: opacity .22s ease, transform .35s ease; }
.featured-media:hover .post-thumb,
.index-post__media:hover .post-thumb { opacity: .9; transform: scale(1.015); }
.post-tag,
.article-category {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 2px 8px;
    background: var(--accent-color);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}
.featured-media .post-tag,
.index-post__media .post-tag { position: absolute; left: 0; bottom: 0; z-index: 2; }
.featured-info { padding-top: 9px; }
.featured-card--side .featured-info { padding-top: 1px; }
.post-title { margin: 0; color: var(--heading-color); font-weight: 800; }
.post-title a { color: var(--heading-color); }
.post-title a:hover { color: var(--accent-color); }
.featured-card--lead .post-title { font-size: 25px; line-height: 1.25; }
.featured-card--side .post-title { font-size: 15px; line-height: 1.35; }
.post-author { color: var(--heading-color); font-weight: 700; }
.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    color: var(--muted-color);
    font-size: 12px;
}
.post-snippet { margin: 8px 0 0; color: #686868; font-size: 15px; line-height: 1.6; }
.media-placeholder { display: grid; place-items: center; min-height: 120px; background: #efefef; }
.featured-card--side .media-placeholder { min-height: 0; min-width: 0; width: 100%; }
.media-placeholder__mark { color: #c6c6c6; font-size: 24px; font-weight: 900; letter-spacing: .08em; }

/* Blog list */
.posts-section { min-width: 0; }
.category-description { margin: 0 0 24px; color: var(--text-color); white-space: pre-line; }
.post-list { display: grid; gap: 0; }
.index-post {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
    padding: 0 0 24px;
    margin: 0 0 24px;
    border-bottom: 1px solid var(--border-color);
}
.index-post:last-child { margin-bottom: 0; }
.index-post__media { aspect-ratio: 16 / 10; }
.index-post__content { min-width: 0; align-self: center; }
.index-post .post-title { font-size: 22px; line-height: 1.3; }
.empty-state { padding: 24px; background: var(--soft-bg); border: 1px solid var(--border-color); }
.empty-state p { margin: 0; }

/* Article */
.item-post { min-width: 0; }
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 17px;
    color: var(--muted-color);
    font-size: 11px;
}
.breadcrumb a { color: #777; }
.breadcrumb a:hover { color: var(--accent-color); }
.article-category { margin-bottom: 10px; }
.article-title {
    margin: 0;
    color: var(--heading-color);
    font-size: clamp(29px, 4vw, 38px);
    line-height: 1.18;
    letter-spacing: -.025em;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0 20px;
    color: var(--muted-color);
    font-size: 12px;
}
.article-cover { width: 100%; margin: 0 0 26px; overflow: hidden; background: #eee; aspect-ratio: 16 / 9; }
.entry-content {
    color: #3f3f3f;
    font-size: 16px;
    line-height: 1.8;
}
.entry-content > :first-child { margin-top: 0; }
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin: 1.55em 0 .65em;
    color: var(--heading-color);
    line-height: 1.3;
}
.entry-content h2 { font-size: 27px; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 18px; }
.entry-content h5 { font-size: 17px; }
.entry-content h6 { font-size: 16px; }
.entry-content p { margin: 0 0 1.25em; }
/* Drop cap: only the first paragraph of the publication body. */
.item-post .entry-content > p:first-of-type::first-letter {
    float: left;
    margin: .06em .12em 0 0;
    color: var(--heading-color);
    font-size: 7.2em;
    font-weight: 700;
    line-height: .72;
}
.entry-content ul,
.entry-content ol { margin: 0 0 1.3em 1.45em; padding: 0; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin: .3em 0; }
.entry-content blockquote {
    margin: 1.5em 0;
    padding: 14px 18px;
    border-left: 4px solid var(--accent-color);
    background: var(--soft-bg);
    color: #696969;
    font-style: italic;
}
.entry-content blockquote > :last-child { margin-bottom: 0; }
.entry-content pre {
    max-width: 100%;
    overflow: auto;
    padding: 16px;
    background: #171717;
    color: #eee;
    border-radius: var(--radius);
    font-size: 13px;
    line-height: 1.55;
}
.entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.entry-content :not(pre) > code { padding: 2px 5px; background: #f1f1f1; color: #a1342a; }
.entry-content table { width: 100%; margin: 1.5em 0; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th,
.entry-content td { padding: 10px 12px; border: 1px solid #ddd; text-align: left; vertical-align: top; }
.entry-content th { background: #f3f3f3; color: var(--heading-color); }
.entry-content iframe,
.entry-content video { max-width: 100%; }
.entry-content img,
.entry-content picture { max-width: 100%; }
.entry-content img { height: auto; }
/* Centre article media at its own size, without touching plugin/card images. */
:where(
    .entry-content > img,
    .entry-content > a > img,
    .entry-content > picture > img,
    .entry-content > a > picture > img,
    .entry-content > :is(p, figure) > img,
    .entry-content > :is(p, figure) > a > img,
    .entry-content > :is(p, figure) > picture > img,
    .entry-content > :is(p, figure) > a > picture > img
) {
    display: block;
    margin-inline: auto;
}
/* Keep alignment explicitly chosen in the editor, including picture wrappers. */
:where(.entry-content > :is(p, figure)[style*="text-align" i], .entry-content > :is(p, figure)[align]) :is(img, picture) {
    display: inline;
}
.entry-content figcaption { margin-top: 7px; color: var(--muted-color); font-size: 12px; text-align: center; }
.entry-content hr { margin: 2em 0; border: 0; border-top: 1px solid var(--border-color); }

.post-labels {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 700;
}
.post-labels__icon { width: 17px; height: 17px; margin-top: 5px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-labels__list { min-width: 0; flex: 1; display: flex; flex-wrap: wrap; gap: 7px; }
.post-labels__list a { padding: 4px 8px; border: 1px solid #ddd; color: #666; background: #fff; font-weight: 500; }
.post-labels__list a:hover { color: #fff; border-color: var(--accent-color); background: var(--accent-color); }

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 26px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.post-nav__item { min-width: 0; }
.post-nav__item--next { text-align: right; }
.post-nav a { display: block; color: var(--heading-color); }
.post-nav a > span { display: block; margin-bottom: 3px; color: var(--muted-color); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.post-nav a > strong { display: block; font-size: 13px; line-height: 1.4; }
.post-nav a:hover strong { color: var(--accent-color); }

/* Related plugin: only visual harmonization; plugin owns content/data. */
.docha-related { margin-top: 30px; }
/* Legacy heading markup follows the same treatment as .section-heading. */
.docha-related__heading,
.docha-related > h2:first-child {
    position: relative;
    margin: 0 0 24px;
    padding: 0 0 10px;
    border-bottom: 1px solid #dedede;
    color: var(--heading-color);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.docha-related__heading::after,
.docha-related > h2:first-child::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 55px;
    height: 3px;
    background: var(--accent-color);
}
.docha-related__grid { gap: 18px; }
.docha-related-card { min-width: 0; }
.docha-related-card__image { overflow: hidden; background: #eee; }
.docha-related-card__image picture,
.docha-related-card__image img { width: 100%; height: 100%; }
.docha-related-card__image img { object-fit: cover; }

/* Sidebar */
@media (min-width: 981px) {
    .content-grid > .sidebar-column {
        position: -webkit-sticky;
        position: sticky;
        top: var(--sidebar-sticky-offset);
        align-self: start;
    }
}
.sidebar { min-width: 0; }
.sidebar > * { margin-bottom: 34px; }
.sidebar > *:last-child { margin-bottom: 0; }
.sidebar .widget,
.sidebar .plugin,
.sidebar section { min-width: 0; }
.sidebar .widget-title,
.sidebar .plugin-label,
.sidebar h2:first-child:not(.section-title),
.sidebar h3:first-child:not(.section-title) {
    position: relative;
    min-height: 30px;
    margin: 0 0 15px;
    padding: 0 0 8px;
    border-bottom: 1px solid #dedede;
    color: var(--heading-color);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.sidebar .widget-title::after,
.sidebar .plugin-label::after,
.sidebar h2:first-child:not(.section-title)::after,
.sidebar h3:first-child:not(.section-title)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 55px;
    height: 3px;
    background: var(--accent-color);
}
.sidebar .widget-content,
.sidebar .plugin-content { min-width: 0; color: #666; line-height: 1.65; }
/* Keep reusable section-title markup identical inside sidebar HTML/plugins. */
.sidebar .section-title-row {
    min-height: 32px;
    margin: 0 0 20px;
    border-bottom: 1px solid #dedede;
}
.sidebar .section-title-row .section-title {
    display: inline-block;
    min-height: 0;
    margin: 0;
    padding: 0 0 10px;
    border: 0;
    background: transparent;
    color: var(--heading-color);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.sidebar ul { list-style: none; }
.sidebar li { border-bottom: 1px solid var(--border-color); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar li > a { display: block; padding: 9px 0; color: #555; }
.sidebar li > a:hover { color: var(--accent-color); }
.sidebar img,
.sidebar iframe { max-width: 100%; }
.sidebar input[type="text"],
.sidebar input[type="search"],
.sidebar input[type="email"],
.sidebar textarea,
.sidebar select { width: 100%; max-width: 100%; padding: 9px 10px; border: 1px solid #ddd; background: #fff; }
.sidebar button,
.sidebar input[type="submit"] { padding: 9px 13px; border: 0; background: var(--accent-color); color: #fff; font-weight: 700; }
.sidebar-list a { display: flex !important; justify-content: space-between; gap: 12px; }
.sidebar-count { color: var(--muted-color); font-size: 11px; }
.social-links-list { display: flex; flex-wrap: wrap; gap: 7px; }
.social-links-list a,
.tag-cloud a { display: inline-flex; margin: 0 4px 6px 0; padding: 5px 8px; border: 1px solid #ddd; color: #666; font-size: 11px; }
.social-links-list a { align-items: center; gap: 6px; }
.social-icon-svg--sidebar { width: 13px; height: 13px; }
.social-links-list a:hover,
.tag-cloud a:hover { border-color: var(--accent-color); background: var(--accent-color); color: #fff; }

/* Docha Search sidebar form. The plugin owns visibility/title settings and HTML. */
.sidebar .plugin-search-box {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
}
.sidebar .plugin-search-box .plugin-search-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 44px 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: var(--heading-color);
    font: inherit;
    outline: none;
}
.sidebar .plugin-search-box .plugin-search-input::placeholder {
    color: #777;
    opacity: 1;
}
.sidebar .plugin-search-box .plugin-search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgb(191 76 63 / 18%);
}
.sidebar .plugin-search-box .plugin-search-btn {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 6px;
    margin: 0;
    border: 0;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    transform: translateY(-50%);
}
.sidebar .plugin-search-box .plugin-search-btn:hover {
    background: transparent;
    color: var(--heading-color);
}
.sidebar .plugin-search-box .plugin-search-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
.sidebar .plugin-search-icon {
    display: block;
}

/* Pagination */
.blog-pager {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.blog-pager__edge--right { text-align: right; }
.blog-pager__edge a { color: var(--heading-color); font-size: 12px; font-weight: 700; }
.page-numbers-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.page-numbers-wrap a,
.page-active,
.page-dots { min-width: 32px; height: 32px; display: inline-grid; place-items: center; padding: 0 7px; }
.page-numbers-wrap a { color: #555; background: #f3f3f3; }
.page-numbers-wrap a:hover,
.page-active { color: #fff; background: var(--accent-color); }
.page-dots { color: var(--muted-color); }

/* Footer */
#footer-wrapper { margin-top: 10px; background: var(--darkest-color); color: #aaa; }
.footer-inner { padding-top: 40px; padding-bottom: 40px; }
.footer-columns,
.travel-footer-sections { display: grid; gap: 30px; }
.footer-columns,
.travel-footer-sections--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.travel-footer-sections--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.travel-footer-sections--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-column { min-width: 0; }
.footer-title {
    margin: 0;
    padding: 0;
    border: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
}

/* Footer uses the same theme-owned section-heading contract as Related
   and Inline Related. */
#footer-wrapper .section-heading {
    min-height: 0;
    margin: 0 0 18px;
    border-bottom-color: rgba(255,255,255,.08);
}
#footer-wrapper .section-heading::after {
    background: var(--accent-color);
}
#footer-wrapper .section-heading > h2,
#footer-wrapper .section-heading > h3,
#footer-wrapper .section-heading > h4,
#footer-wrapper .section-heading > h5,
#footer-wrapper .section-heading > h6 {
    display: inline-block;
    min-height: 0;
    margin: 0;
    padding: 0 0 9px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
/* Footer headings are now rendered through the same .section-heading component
   as Related and Inline Related; no plugin-specific heading selector is needed. */

.footer-content { font-size: 13px; line-height: 1.65; }
.footer-column p { margin: 0 0 10px; font-size: 13px; line-height: 1.65; }
.footer-muted { color: #777; }
.footer-content img { max-width: 100%; }
.footer-content ul,
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-content li,
.footer-list li { border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-content li:last-child,
.footer-list li:last-child { border-bottom: 0; }
.footer-content li a,
.footer-list li a { display: block; padding: 7px 0; color: #d3d3d3; font-size: 13px; line-height: 1.5; }
.footer-content a,
.footer-list a { color: #d3d3d3; }
.footer-content a:hover,
.footer-list a:hover { color: var(--accent-color); }
.sub-footer { border-top: 1px solid rgba(255,255,255,.08); background: #090909; }
.sub-footer-inner { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sub-footer p { margin: 0; color: #777; font-size: 12px; }
.sub-footer a { color: #ccc; }
.footer-social { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 3px; margin-left: auto; }
.footer-social a { display: grid; place-items: center; width: 28px; height: 28px; color: #aaa; border-radius: 3px; }
.footer-social a:hover { color: var(--accent-color); }
.footer-social a:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 2px; }
.social-icon-svg--footer { width: 16px; height: 16px; }

/* 404 */
.error-wrap { padding: 55px 20px 85px; text-align: center; }
.error-code { margin: 0; color: var(--accent-color); font-size: clamp(96px, 18vw, 160px); line-height: .95; font-weight: 900; letter-spacing: -.06em; }
.error-wrap h1 { margin: 18px 0 10px; color: var(--heading-color); font-size: 28px; }
.error-wrap > p:not(.error-code) { max-width: 600px; margin: 0 auto 22px; }
.error-content { max-width: 740px; margin: 0 auto 24px; text-align: left; }
.button-link { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; color: #fff; background: var(--accent-color); font-weight: 700; }
.button-link:hover { color: #fff; background: var(--accent-hover); }

/* Back to top */
.back-top {
    display: grid;
    place-items: center;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 500;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.back-top.is-visible { opacity: .95; visibility: visible; transform: translateY(0); }
.back-top:hover { opacity: 1; }
.back-top__icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }

/* Third-party plugin resilience */
.plugin img, .plugin picture, .plugin iframe, .plugin video { max-width: 100%; }
.plugin table { max-width: 100%; }

@media (max-width: 1100px) {
    .row,
    .top-bar-inner,
    .branding-inner,
    .main-nav-inner,
    .footer-inner,
    .sub-footer-inner { width: calc(100% - 40px); }
    .content-grid { grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr); gap: 26px; }
}

@media (max-width: 980px) {
    #top-bar,
    .branding-row,
    .header-menu { display: none; }
    .mobile-header { display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; align-items: center; }
    .mobile-search-toggle { grid-column: 1; grid-row: 1; }
    .mobile-brand { grid-column: 2; grid-row: 1; }
    .mobile-menu-toggle { grid-column: 3; grid-row: 1; }
    .mobile-menu { grid-column: 1 / -1; }
    html:not([data-travelblog-ui-ready]) .mobile-header { display: flex; flex-wrap: wrap; }
    html:not([data-travelblog-ui-ready]) .mobile-brand { flex-basis: 100%; }
    html:not([data-travelblog-ui-ready]) .mobile-menu {
        display: block;
        position: static;
        flex: 0 0 100%;
        max-height: none;
        overflow: visible;
    }
    #content-wrapper { padding-top: 24px; }
    .content-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .sidebar-column { width: 100%; }
    .featured-grid { grid-template-columns: minmax(300px, 52%) minmax(0, 1fr); gap: 20px; }
    .featured-card--side { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
    .footer-columns,
    .travel-footer-sections--2,
    .travel-footer-sections--3,
    .travel-footer-sections--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .row,
    .top-bar-inner,
    .branding-inner,
    .main-nav-inner,
    .footer-inner,
    .sub-footer-inner { width: calc(100% - 32px); }
    #content-wrapper { padding-top: 20px; padding-bottom: 30px; }
    .featured-grid { grid-template-columns: 1fr; }
    .featured-side-list { grid-template-columns: 1fr; gap: 14px; }
    .featured-card--side { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: start; }
    .featured-card--side .featured-info { padding-top: 1px; }
    .featured-card--lead .post-title { font-size: 21px; }
    .index-post { grid-template-columns: 1fr; gap: 11px; }
    .index-post__media { aspect-ratio: 16 / 9; }
    .index-post .post-title { font-size: 19px; }
    .article-title { font-size: 29px; }
    .entry-content { font-size: 16px; line-height: 1.72; }
    .entry-content h5 { font-size: 16px; }
    .post-nav { grid-template-columns: 1fr; gap: 15px; }
    .post-nav__item--next { text-align: left; }
    .blog-pager { grid-template-columns: 1fr 1fr; }
    .page-numbers-wrap { grid-column: 1 / -1; grid-row: 1; }
    .footer-columns,
    .travel-footer-sections--2,
    .travel-footer-sections--3,
    .travel-footer-sections--4 { grid-template-columns: 1fr; }
    .sub-footer-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
    .footer-social { margin-left: 0; justify-content: flex-start; }
}

@media (max-width: 440px) {
    .row,
    .top-bar-inner,
    .branding-inner,
    .main-nav-inner,
    .footer-inner,
    .sub-footer-inner { width: calc(100% - 24px); }
    .mobile-menu a { padding-left: 16px; padding-right: 16px; }
    .featured-side-list { grid-template-columns: 1fr; }
    .featured-card--side { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: start; }
    .featured-card--side .featured-info { padding-top: 0; }
    .featured-card--side .post-title { font-size: 14px; }
    .article-title { font-size: 28px; }
    .article-cover { margin-bottom: 20px; }
    .entry-content { font-size: 16px; line-height: 1.72; }
    .entry-content h2 { font-size: 23px; }
    .entry-content h3 { font-size: 20px; }
    .back-top { right: 15px; bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
    }
}

/* Legacy section-heading markup uses the same light treatment. */

.section-heading {
    position: relative;
    min-height: 32px;
    margin: 0 0 24px;
    border-bottom: 1px solid #dedede;
}

.section-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 55px;
    height: 3px;
    background: var(--accent-color);
}

.section-heading > h2,
.section-heading > h3,
.section-heading > h4,
.section-heading > h5,
.section-heading > h6,
.section-heading > div > h2,
.section-heading > div > h3,
.section-heading > div > h4,
.section-heading > div > h5,
.section-heading > div > h6 {
    display: inline-block;
    min-height: 0;
    margin: 0;
    padding: 0 0 10px;
    border: 0;
    background: transparent;
    color: var(--heading-color);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* Docha Inline Related 1.0.6+: complete theme-owned presentation.
* The block heading uses the shared .section-heading above.
* No plugin CSS, article rewrites or additional assets are required. */
.docha-inline-related {
    --dir-text: var(--heading-color, #111111);
    --dir-muted: var(--muted-color, #8a8a8a);
    --dir-rule: var(--border-color, #e8e8e8);
    --dir-accent: var(--accent-color, #bf4c3f);
    --dir-title-size: .84em;
    --dir-meta-size: .72em;
    --dir-description-size: .78em;
    box-sizing: border-box;
    clear: both;
    float: none;
    position: static;
    transform: none;
    margin: 36px 0 42px;
    padding: 0;
    width: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
    color: var(--dir-text);
    font-family: inherit;
    font-size: inherit;
    font-style: normal;
    text-align: start;
}

.docha-inline-related,
.docha-inline-related *,
.docha-inline-related *::before,
.docha-inline-related *::after {
    box-sizing: border-box;
}

.docha-inline-related .docha-inline-related__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
    align-items: start;
    margin: 0;
    padding: 0;
    border: 0;
}

.docha-inline-related .docha-inline-related-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    align-content: start;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
    float: none;
    position: static;
    transform: none;
}

.docha-inline-related .docha-inline-related-card--no-image {
    grid-template-columns: 1fr;
}

.docha-inline-related .docha-inline-related-card__image {
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 2px;
    background: var(--dir-rule);
    line-height: 0;
    color: inherit;
    text-decoration: none;
    transition: none;
}

.docha-inline-related .docha-inline-related-card__image picture {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    line-height: 0;
}

.docha-inline-related .docha-inline-related-card__image img {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    transition: transform .25s ease;
}

.docha-inline-related .docha-inline-related-card:hover .docha-inline-related-card__image img {
    transform: scale(1.025);
}

.docha-inline-related .docha-inline-related-card__body {
    align-self: start;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    position: static;
    inset: auto;
    transform: none;
}

.docha-inline-related h3.docha-inline-related-card__title {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
    font-family: inherit;
    font-size: var(--dir-title-size);
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: normal;
    text-align: start;
    text-transform: none;
    overflow-wrap: anywhere;
    word-break: normal;
    position: static;
    inset: auto;
    transform: none;
}

.docha-inline-related .docha-inline-related-card__title a {
    display: -webkit-box;
    color: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-align: inherit;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: none;
}

.docha-inline-related .docha-inline-related-card__title a:hover {
    color: var(--dir-accent);
    text-decoration: underline;
}

.docha-inline-related .docha-inline-related-card__image:focus-visible,
.docha-inline-related .docha-inline-related-card__title a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.docha-inline-related .docha-inline-related-card__date {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    color: var(--dir-muted);
    font-family: inherit;
    font-size: var(--dir-meta-size);
    font-style: normal;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: normal;
    text-align: start;
    text-transform: none;
    overflow-wrap: anywhere;
}

.docha-inline-related .docha-inline-related-card__clock {
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
}

.docha-inline-related p.docha-inline-related-card__description {
    box-sizing: border-box;
    margin: 8px 0 0;
    padding: 0;
    color: var(--dir-muted);
    font-family: inherit;
    font-size: var(--dir-description-size);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: start;
    text-transform: none;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 700px) {
    .docha-inline-related .docha-inline-related__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
}

@media (max-width: 420px) {
    .docha-inline-related .docha-inline-related-card {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 14px;
    }
    .docha-inline-related .docha-inline-related-card--no-image {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .docha-inline-related .docha-inline-related-card__image img {
        transition: none;
    }
    .docha-inline-related .docha-inline-related-card:hover .docha-inline-related-card__image img {
        transform: none;
    }
}

/* Semantic headings retain the existing layout and typography. */
.travelblog-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
h1.section-title, h2.section-title, h3.post-title { font-family:inherit; }
