/**
 * Theme Name: HISTERL Refresh
 * Description: A careful visual refresh of the existing HISTERL theme.
 * Template: twentytwelve
 * Version: 2.0.7
 * Text Domain: histerl-refresh
 */

@import url('../twentytwelve/style.css');


body {
    background-image: url("/images/bg_body.jpg") ;
}
   /*
body {
    background-image: url("/images/bg_body.jpg");
    background-repeat: repeat-x;
}
 */
#poisk {
    margin-top: 15px;
    margin-bottom: 3px;
}

.hr-post {
    margin: 10px 0px;
    background-color: #F0EACA;
}

.entry-title {
    color: #C23515;
}

.entry-content p {
    margin-bottom: 10px;
}

/*    TABLE START     */

.entry-content table {
    border: 1px solid #DFDFDF;
    margin-top: 15px;
}

.entry-content table tr:nth-child(odd) {
   background: url("images/bq-bg.gif") repeat scroll 0 0 transparent !important;
}

.entry-content table tr:nth-child(even) {
   background: url("images/bq-bg.gif") repeat scroll 0 0 transparent !important;
}

.entry-content table th {
    border: 1px solid #DFDFDF;
    padding: 5px;
    text-align: center;
    background-color: #f6bb42;
    color: #fff;
}

.entry-content table th p {
    margin: 0;
}

.entry-content table td {
    padding: 5px 6px;
    border-bottom: 1px solid #DFDFDF;
    border-right: 1px solid #DFDFDF;
   /* background: url("images/bq-bg.gif") repeat scroll 0 0 transparent;  */
}



/*    TABLE END     */

.post_metadata {
  display: none;
}


.site-header {
    padding-top: 4px !important;
}


/* **************************** Sosial ************************************* */

.social_btn {
    margin-top: 12px;
    margin-bottom: 12px;
    position: relative;
}

.social_btn span {
    float: left;
}

.social_btn span:first-child {
    /*margin-right: 5%; */
     margin-right: 40px;
}

.social_btn .rating-block {
    float: right;
    margin-right: 2%;
}

/* **************************** Custom ************************************* */

.archive-header {
    border: 0px solid grey !important;
    padding: 0px;
}


.archive-title {
    color: #C23515;
    font-size: 20px;
    font-weight: normal;
}

#breadcrumbs {
    margin-bottom: 10px;
    border-bottom: 4px double #EDEDED;
    padding: 5px 0px 15px 0px;
}

#breadcrumbs_footer {
    margin-top: 10px;
    border-top: 4px double #EDEDED;
    padding: 15px 0px 5px 0px;
}

#rklm {
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: bold
}

#rklm2 {
    margin-top: 6px;
    margin-bottom: 15px;
   /* border: 1px solid #DFDFDF; */
}

#mob-rklm {
    margin-top: 6px;
    margin-bottom: 15px;
    padding: 0px;
    /*left: -10px;
    position: relative;  */
}

#rklm-header {
    margin-bottom: 10px;
    margin-top: 15px;
}

#rklm-header2 {
    margin-bottom: 15px;
    margin-top: 15px;
   /* border: 1px solid #DFDFDF; */
}

#catlist {
    margin-left: 20px;
}


.lst_square {
    list-style:none;
}

.lst_square > li {
	background:url(/images/ico_entry.gif) no-repeat left 10px;
    padding: 5px 0 2px 20px;
}

.lst_square li div {
  margin-top: 3px;
}

/* Комментарии */
#respond  {
    margin-top: 5px;
}


#comments {
    margin: 0px 20px;
}

.comments-area article header {
    margin: 0 0 6px;
}

.comments-area article section {
    background:  none repeat scroll 0 0 #eaf4f5;
    border: 1px solid #c6d2d4;
    padding: 3px 5px;
    border-radius: 3px;
   /* box-shadow:1px 2px 1px #ccc; */
}

#respond div#reply-title {
    font-size: 1.14286rem;
    line-height: 1.5;
    font-weight: bold;
}

#respond form {
    margin: 10px 0;
}

.comment p {
    margin-bottom: 1px;
}

#submit {
    color: #000000;
}


#yarpp-related-posts {
    margin: 0 30px !important;
}

#related-title {
    font-size: 1.14286rem;
    font-weight: bold;
    line-height: 1.5;
}


/* **************************** audioplayer ************************************* */
.audioplayer_container {
    padding: 0px !important;
    margin-bottom: 0px !important;
}


.entry-content embed, .entry-content iframe, .entry-content object, .entry-content video {
    margin-bottom: 0px !important;
}

/* **************************** Статья ************************************* */

.entry-content h2 {
    font-size: 18px;
    color: #e9573f;  /* #c23515*/
    font-weight: normal;
    margin-bottom: 15px;
    border-bottom: 1px dashed #bbb;
    padding-bottom: 10px;
}

.entry-content h3 {
    font-size: 16px;
    color: #e9573f;
    font-weight: normal;
 /*   margin-top: 12px;  */
    margin-bottom: 15px;
    border-bottom: 1px dashed #bbb;
    padding-bottom: 3px;
}

.entry-content a,
.entry-content a:hover,
.entry-content a:visited {
     color: #21759b;
}

.entry-content a:hover {
     color: #0f3647;
}


/* **************************** Статья ************************************* */

.copyright {
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.hw {
    cursor: pointer;
    text-decoration: none;
}

#fixedblock {
    position: fixed;
    top: 54px;
    left: 305px;
    margin-left:-5px;
    z-index: 101;
}

#fixedblock img {
    border-radius: 2px;
}

#post-block-left,
.post-block-left {
    position: relative;
    float: left;
    margin: 5px 10px 5px 0px;
  /*  cursor: pointer; */
    text-decoration: none;
}

#post-block-left-cat {
    position: relative;
    float: left;
    margin: 10px 10px 10px 0px;
  /*  cursor: pointer; */
    text-decoration: none;
}


.ege-header {
    cursor: pointer;
    text-decoration: none;
    height: 90px;
}


/* **************************** litres ************************************* */

.art_main{
  background-color: #fff;
  border: 0px solid black;
}
.art_table{
  height: 100%;
  margin-bottom:3px;
}
.art_td_n{
  vertical-align: top;
  padding-left: 5px;
  width: 2em;
}
.art_td_text {
  vertical-align: top;
  padding: 0 10px;
}
.art_td_text {
  width: 190px;
}
a.art_n,a.art_n:visited{
  color: black;
  font-weight: bold;
  text-decoration: none;
}
a.art_t,a.art_t:visited{
  font-size: 110%;
  color: #C23515;
  text-decoration: none;
}
a.art_t:hover{
  color: green;
  font-size: 125%;
  /*background-color: black; */
}
a.art_a,a.art_a:visited{
  color: black;
  text-decoration: none;
  font-weight: bold;
}
a.art_a:hover {
  color: green;
}
.art_p,.art_p:visited{
  font-size: 9pt;
  text-decoration: none;
  color: green;
}
.art_p2,.art_p2:visited{
  font-size: 9pt;
  text-decoration: line-through;
  color: black;
}
.art_an {
  font-size: 9pt;
}

/* **************************** EGE ************************************* */

.zakaz-cena {
  font-size: 21pt;
  color: #c23515;
  font-weight: bold;
}

.promokod {
  font-size: 15pt;
  color: #4DC21B;
 /* font-weight: bold; */
}

#post-3213 img,
#post-3231 img {
    border-radius: 0px;
    box-shadow: none;
}

/*
#post-3213 img.alignleft,
#post-3213 img.alignright {
    margin: 5px 5px;
}
*/

#post-3213 table,
#post-3231 table {
    border: none;
}

#post-3213 table td,
#post-3231 table td {
    background: none !important;
    border: none !important;
}

/* **************************** END ************************************* */

#email-notes
{
  /* visibility: hidden !important; */
   display: none;
}

#cntctfrm_thanks  {
    color: green;
}


/* **************************** NEW ************************************* */

body .site {
    margin-bottom: 17px !important;
    border-radius: 3px;
    padding: 0 30px;
    margin-top: 20px !important;
    max-width: 970px;
}

/*
a {
    color: #78bedc;
}

a:hover {
    color: #f6bb42;
}
*/

.site-content {
    width: 100% !important;
}


.site-content article {
    padding-bottom: 10px;
    border-bottom: 0px double #ededed;
}

.main-navigation {
    margin-top: 14px;
}

.main-navigation li {
    margin: 0 20px 0 0;
}

.site-header {
    padding: 24px 0 15px;
}

.entry-header {
    margin-bottom: 1px !important;
}

.archive-header,
.page-header {
    margin-bottom: 18px;
}

.site-content {
    margin: 4px 0 0 !important;
}

.archive-meta {
    margin-top: 5px;
}

.site-content article {
    margin-bottom: 5px;
}

.comments-title {
    margin-bottom: 12px;
}

.entry-header .entry-title {

    font-size: 22px;
    font-size: 1.571428571rem;

}
.entry-header .entry-title {

    font-size: 20px;
    font-size: 1.428571429rem;
    line-height: 1.2;
    font-weight: normal;

}
.entry-title {
    color: #e9573f;
}

.widget-area {
    float: right;
    width: 50%;
    margin-top: 10px;
}

.widget-area .widget h3 {
    margin-bottom: 2px;
    border-bottom: 1px solid #f0eaca;
}

.widget-area .widget a {
    color: #21759b !important;
}

.widget-area .widget {
    margin-bottom: 1px;
}

.entry-content table {
    color: #000000;
}

.entry-content ul, .comment-content ul, .mu_register ul {
    list-style: outside none none;
    margin-left: 10px;

}

.entry-content ul > li {
    margin: 0;
    background: url("/images/ico_entry.gif") no-repeat scroll left 13px rgba(0, 0, 0, 0);
    padding: 3px 0 1px 20px;
    font-size: 0.98em;
}

 /* **************************** blockquote ************************************* */

blockquote {
    margin-bottom: 10px !important;
    text-align: center;
    background: linear-gradient(135deg, #F6EEDB 50%, #F4FEF9 50%);
    text-align: center;
    position: relative;
    color: #49152C;
    font-family: 'Lato', sans-serif;
}

blockquote p {
    font-size: 13px;
    margin-top: 30px;
}

blockquote p:before {
    font-size: 100px;
    color: #EA6844;
    font-family: serif;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

blockquote cite {
    font-style: normal;
}

 /* **************************** toc ************************************* */

#toc_container  {
    margin: 20px 0 20px;
    padding: 20px 30px 15px;
    border: 1px solid #f6bb42;
    border-radius: 3px;
}

.toc_title {
    color: #e9573f;
}

.toc_title {
    text-transform: uppercase;
}

.toc_list .toc_depth_1 {
    border: 1px solid #f6bb42;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background: #fff;
    padding: 1px 6px;
    margin-right: 3px;
}

#toc_container a {
    font-size: 15px;
}

#toc_container a:hover {
    color: #e9573f;
}

 /* **************************** Mobile ************************************* */

@media screen and (max-width: 480px) {
    body {
        background-color: #fff !important;
        background-image: none !important;
    }

    body .site {
        border-radius: 0px;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        padding: 0 20px;
    }

}

@media only screen and (max-width: 840px) {
    .entry-content table {
        margin-bottom: 0;
        overflow: hidden;
        overflow-x: scroll;
        display: block;
      /*  white-space: nowrap; */
    }
}

/* ========================================================================== */
/* HISTERL Refresh 2026                                                       */
/* ========================================================================== */

:root {
    --histerl-ink: #292d32;
    --histerl-muted: #686b70;
    --histerl-paper: #fffefa;
    --histerl-paper-soft: #f8f5ed;
    --histerl-line: #e7dfd0;
    --histerl-accent: #a8402c;
    --histerl-accent-dark: #7f2d20;
    --histerl-gold: #c39132;
    --histerl-link: #27627b;
    --histerl-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #30343a;
    color: var(--histerl-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    text-rendering: optimizeLegibility;
}

body .site {
    max-width: 1080px;
    margin-top: 28px !important;
    margin-bottom: 28px !important;
    padding: 0 48px;
    overflow: hidden;
    background: var(--histerl-paper);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    box-shadow: 0 18px 60px rgba(10, 16, 22, 0.28);
}

/* Brand and primary navigation */
.site-header {
    padding: 28px 0 0 !important;
}

.site-branding {
    display: flex;
    align-items: center;
    min-height: 62px;
}

.site-brand-link,
.site-brand-link:hover,
.site-brand-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--histerl-ink);
    text-decoration: none;
}

.site-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    color: #fff;
    background: var(--histerl-accent);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--histerl-accent), 0 4px 12px rgba(127, 45, 32, 0.2);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}

.site-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-title-text {
    color: var(--histerl-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.site-description-text {
    color: var(--histerl-muted);
    font-size: 13px;
    letter-spacing: 0.025em;
    line-height: 1.3;
}

.main-navigation {
    margin-top: 20px;
    border-top: 1px solid var(--histerl-line);
    border-bottom: 1px solid var(--histerl-line);
}

.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0 12px;
    border: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation li a {
    position: relative;
    padding: 14px 0 12px;
    color: #4e5156;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.035em;
    line-height: 1.25;
    text-transform: uppercase;
}

.main-navigation li a:hover,
.main-navigation li a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
    color: var(--histerl-accent);
}

.main-navigation li a::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--histerl-accent);
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 160ms ease, transform 160ms ease;
}

.main-navigation li a:hover::after,
.main-navigation li a:focus::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current-menu-ancestor > a::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Reading area */
.site-content {
    margin-top: 28px !important;
}

.site-content article {
    margin-bottom: 24px;
    color: var(--histerl-ink);
}

.entry-header {
    margin-bottom: 18px !important;
}

.entry-header .entry-title,
.entry-title,
.archive-title,
.page-title {
    color: var(--histerl-accent-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.012em;
    line-height: 1.2;
}

.entry-content,
.entry-summary {
    color: var(--histerl-ink);
    font-size: 16.5px;
    line-height: 1.4;
}

.entry-content p {
    margin-bottom: 0.85em;
}

.entry-summary p,
.comment-content p {
    margin-bottom: 0.85em;
}

.entry-content a,
.entry-content a:visited,
.comment-content a,
#breadcrumbs a,
#breadcrumbs_footer a {
    color: var(--histerl-link);
    text-decoration-color: rgba(39, 98, 123, 0.35);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.entry-content a:hover,
.entry-content a:focus,
.comment-content a:hover,
.comment-content a:focus {
    color: var(--histerl-accent);
    text-decoration-color: currentColor;
}

.entry-content h2 {
    margin-top: 1.8em;
    margin-bottom: 0.75em;
    padding-bottom: 0.42em;
    color: var(--histerl-accent-dark);
    border-bottom: 1px solid var(--histerl-line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    line-height: 1.28;
}

.entry-content h3 {
    margin-top: 1.55em;
    margin-bottom: 0.65em;
    color: #654233;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(19px, 1.8vw, 23px);
    font-weight: 700;
    line-height: 1.35;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.25em 1.45em;
}

.entry-content ul {
    list-style: disc outside;
}

.entry-content ul > li {
    margin-bottom: 0;
    padding: 0;
    background: none;
    font-size: inherit;
}

.entry-content ol > li,
.comment-content li {
    margin-bottom: 0;
}

.entry-content li::marker {
    color: var(--histerl-accent);
}

.entry-content img {
    border-radius: 5px;
}

.entry-content blockquote {
    margin: 1.6em 0;
    padding: 20px 24px;
    color: #4d3c33;
    background: var(--histerl-paper-soft);
    border: 0;
    border-left: 4px solid var(--histerl-gold);
    border-radius: 0 var(--histerl-radius) var(--histerl-radius) 0;
    font-family: Georgia, "Times New Roman", serif;
    text-align: left;
}

.entry-content blockquote p {
    margin: 0.4em 0;
    font-size: 1em;
}

/* Contents, tables and supporting blocks */
#toc_container,
.lwptoc_i,
.ez-toc-container {
    margin: 24px 0 30px !important;
    padding: 20px 24px !important;
    background: var(--histerl-paper-soft) !important;
    border: 1px solid var(--histerl-line) !important;
    border-left: 4px solid var(--histerl-gold) !important;
    border-radius: var(--histerl-radius) !important;
    box-shadow: none !important;
}

.toc_title,
.lwptoc_title,
.ez-toc-title {
    color: var(--histerl-ink) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

#toc_container a,
.lwptoc a,
.ez-toc-container a {
    color: var(--histerl-link) !important;
    font-size: 15px;
    line-height: 1.55;
}

.entry-content table {
    width: 100%;
    margin: 22px 0 26px;
    color: var(--histerl-ink);
    background: #fff;
    border: 1px solid var(--histerl-line);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--histerl-radius);
    overflow: hidden;
    font-size: 14.5px;
    line-height: 1.5;
}

.entry-content table tr:nth-child(odd),
.entry-content table tr:nth-child(even) {
    background: #fff !important;
}

.entry-content table tr:nth-child(even) td {
    background: #faf8f3;
}

.entry-content table th {
    padding: 11px 12px;
    color: #fff;
    background: var(--histerl-accent);
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 12px;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.entry-content table td {
    padding: 10px 12px;
    border: 0;
    border-right: 1px solid var(--histerl-line);
    border-bottom: 1px solid var(--histerl-line);
    vertical-align: top;
}

#breadcrumbs,
#breadcrumbs_footer {
    color: var(--histerl-muted);
    border-color: var(--histerl-line);
    font-size: 13px;
    line-height: 1.55;
}

#breadcrumbs {
    margin-bottom: 22px;
    padding: 0 0 13px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

#breadcrumbs_footer {
    margin-top: 28px;
    padding: 14px 0 0;
    border-top-style: solid;
    border-top-width: 1px;
}

.comments-area article section {
    padding: 14px 16px;
    background: #f5f7f7;
    border: 1px solid #dfe5e5;
    border-radius: var(--histerl-radius);
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    padding: 10px 12px;
    color: var(--histerl-ink);
    background: #fff;
    border: 1px solid #cfc9bd;
    border-radius: 5px;
    font: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: var(--histerl-link);
    box-shadow: 0 0 0 3px rgba(39, 98, 123, 0.12);
    outline: 0;
}

#submit,
button,
input[type="submit"] {
    padding: 10px 17px;
    color: #fff;
    background: var(--histerl-accent);
    border: 1px solid var(--histerl-accent-dark);
    border-radius: 5px;
    box-shadow: none;
    font-weight: 650;
    text-shadow: none;
}

#submit:hover,
button:hover,
input[type="submit"]:hover {
    color: #fff;
    background: var(--histerl-accent-dark);
}

/* Footer */
#colophon {
    margin-top: 30px;
    padding: 22px 0 28px;
    color: var(--histerl-muted);
    border-top: 1px solid var(--histerl-line);
    font-size: 12.5px;
    line-height: 1.8;
}

#colophon a,
#colophon a:visited {
    color: var(--histerl-link);
}

@media screen and (max-width: 820px) {
    body .site {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 26px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .site-header {
        padding-top: 20px !important;
    }

    .site-branding {
        min-height: 54px;
    }

    .main-navigation {
        margin-top: 16px;
        padding: 10px 0;
    }

    .main-navigation .menu-toggle {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        padding: 8px 14px;
        color: var(--histerl-ink);
        background: var(--histerl-paper-soft);
        border: 1px solid var(--histerl-line);
    }

    .main-navigation ul.nav-menu,
    .main-navigation div.nav-menu > ul {
        display: none !important;
        padding-top: 8px;
    }

    .main-navigation ul.nav-menu.toggled-on,
    .main-navigation.toggled-on ul.nav-menu,
    .menu-toggle.toggled-on + a + .nav-menu,
    .main-navigation .nav-menu.toggled-on {
        display: block !important;
    }

    .main-navigation li a {
        padding: 10px 2px;
        border-top: 1px solid var(--histerl-line);
    }

    .site-content {
        margin-top: 22px !important;
    }

    .entry-content,
    .entry-summary {
        font-size: 16px;
        line-height: 1.4;
    }

    .entry-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        border-radius: 5px;
        -webkit-overflow-scrolling: touch;
    }
}

/* Homepage editorial showcase */
.home .site-content {
    margin-top: 0 !important;
}

.home-showcase {
    position: relative;
    z-index: 1;
    margin-right: -32px;
    margin-left: -32px;
    color: var(--histerl-ink);
}

.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 370px;
    overflow: hidden;
    background-color: #f4eee4;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.home-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(249, 245, 237, 0.97) 0%, rgba(249, 245, 237, 0.92) 26%, rgba(249, 245, 237, 0.74) 42%, rgba(249, 245, 237, 0.12) 65%, transparent 76%);
    content: "";
    pointer-events: none;
}

.home-hero__content {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: min(46%, 620px);
    padding: 28px 24px 26px 52px;
}

.home-hero__eyebrow {
    margin: 0 0 7px;
    color: #8e5a36;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-hero__title {
    max-width: 590px;
    margin: 0;
    color: #201613;
    font-family: "Vollkorn", Georgia, serif;
    font-size: clamp(43px, 3.8vw, 58px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 0.92;
}

.home-hero__lead {
    max-width: 425px;
    margin: 13px 0 0;
    color: #5d5b5a;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 17px;
    line-height: 1.22;
}

.home-hero__actions {
    display: flex;
    gap: 18px;
    margin-top: 19px;
}

.home-hero__button,
.home-hero__button:visited {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 202px;
    min-height: 43px;
    padding: 10px 20px;
    color: #8b2c1d;
    background: rgba(255, 252, 246, 0.7);
    border: 1px solid rgba(139, 44, 29, 0.5);
    border-radius: 3px;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-hero__button--primary,
.home-hero__button--primary:visited {
    color: #fff8ef;
    background: linear-gradient(100deg, #8a2c12, #6f200c);
    border-color: #6f200c;
}

.home-hero__button:hover,
.home-hero__button:focus {
    color: #6f200c;
    background: #fffaf2;
    border-color: #8b2c1d;
    transform: translateY(-1px);
}

.home-hero__button--primary:hover,
.home-hero__button--primary:focus {
    color: #fff;
    background: #6f200c;
}

.home-hero__arrow {
    margin-left: 12px;
    font-size: 21px;
    line-height: 0;
}

.home-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 15px 34px;
    background: rgba(255, 251, 244, 0.94);
    border-top: 1px solid rgba(133, 83, 27, 0.16);
    border-bottom: 1px solid rgba(133, 83, 27, 0.15);
}

.home-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    min-height: 54px;
    padding: 0 24px;
    border-left: 1px solid rgba(133, 83, 27, 0.12);
}

.home-benefit:first-child {
    border-left: 0;
}

.home-benefit__icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    color: #965714;
}

.home-benefit__text {
    color: #645f59;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 15px;
    line-height: 1.28;
}

.home-featured {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 5px 24px 0;
}

.home-featured-card,
.home-featured-card:visited {
    position: relative;
    display: block;
    min-height: 242px;
    overflow: hidden;
    color: #fffaf0;
    background: #30251d;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(40, 28, 20, 0.12);
    text-decoration: none;
}

.home-featured-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.home-featured-card--baptism .home-featured-card__image {
    object-position: 62% center;
}

.home-featured-card--peter .home-featured-card__image {
    object-position: 60% center;
}

.home-featured-card--war .home-featured-card__image {
    object-position: 61% center;
}

.home-featured-card::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 15, 12, 0.72) 0%, rgba(20, 15, 12, 0.27) 66%, rgba(20, 15, 12, 0.13) 100%),
        linear-gradient(0deg, rgba(18, 13, 10, 0.9) 0%, rgba(18, 13, 10, 0.25) 66%, rgba(18, 13, 10, 0.08) 100%);
    content: "";
}

.home-featured-card__content {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 14px;
    left: 22px;
}

.home-featured-card__tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 10px 4px;
    color: #3a2a20;
    background: rgba(255, 247, 232, 0.94);
    border-radius: 3px;
    box-shadow: 0 1px 7px rgba(22, 15, 10, 0.18);
    font-family: "Vollkorn", Georgia, serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.home-featured-card__title {
    display: block;
    margin: 0;
    color: #fffaf0;
    font-family: "Vollkorn", Georgia, serif;
    font-size: clamp(24px, 2.1vw, 31px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.02;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.home-featured-card__description {
    display: block;
    max-width: 95%;
    margin: 8px 0 0;
    color: rgba(255, 250, 240, 0.91);
    font-family: "Vollkorn", Georgia, serif;
    font-size: 14px;
    line-height: 1.18;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.home-featured-card__link {
    display: inline-block;
    margin-top: 9px;
    color: #f2d59d;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}

.home-featured-card:hover .home-featured-card__image,
.home-featured-card:focus .home-featured-card__image {
    transform: scale(1.025);
}

.home-featured-card:hover .home-featured-card__link,
.home-featured-card:focus .home-featured-card__link {
    color: #fff1ce;
}

.home-showcase + article {
    margin-top: 34px;
}

@media screen and (min-width: 821px) {
    .home-hero {
        background-image: url("assets/images/home/hero-russian-history.webp");
    }
}

@media screen and (max-width: 1120px) {
    .home-hero__content {
        width: 53%;
        padding-left: 38px;
    }

    .home-hero__title {
        font-size: 45px;
    }

    .home-benefit {
        gap: 12px;
        padding: 0 14px;
    }

    .home-benefit__text {
        font-size: 14px;
    }

    .home-featured-card__description {
        display: none;
    }
}

@media screen and (max-width: 820px) {
    .home-showcase {
        margin-right: -22px;
        margin-left: -22px;
    }

    .home-hero {
        display: none;
    }

    .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 5px 18px;
    }

    .home-benefit {
        justify-content: flex-start;
        min-height: 72px;
        padding: 7px 16px;
        border-top: 1px solid rgba(133, 83, 27, 0.12);
    }

    .home-benefit:nth-child(odd) {
        border-left: 0;
    }

    .home-benefit:nth-child(-n+2) {
        border-top: 0;
    }

    .home-featured {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px 18px 0;
    }

    .home-featured-card {
        min-height: 240px;
    }

    .home-featured-card__description {
        display: block;
    }

    .home-showcase + article {
        margin-top: 28px;
    }
}

@media screen and (max-width: 520px) {
    .home-benefits {
        grid-template-columns: 1fr;
        padding: 5px 16px;
    }

    .home-benefit,
    .home-benefit:nth-child(-n+2) {
        min-height: 64px;
        padding: 6px 12px;
        border-top: 1px solid rgba(133, 83, 27, 0.12);
        border-left: 0;
    }

    .home-benefit:first-child {
        border-top: 0;
    }

    .home-featured-card {
        min-height: 265px;
    }

    .home-featured-card__content {
        right: 18px;
        left: 18px;
    }

    .home-featured-card__title {
        font-size: 27px;
    }
}

@media screen and (max-width: 480px) {
    body .site {
        padding: 0 18px;
    }

    .site-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 23px;
    }

    .site-title-text {
        font-size: 21px;
    }

    .site-description-text {
        font-size: 12px;
    }

    .entry-header .entry-title,
    .entry-title,
    .archive-title,
    .page-title {
        font-size: 27px;
    }

    #toc_container,
    .lwptoc_i,
    .ez-toc-container {
        padding: 16px 17px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

/* ========================================================================== */
/* Approved visual direction: Vollkorn, editorial header and warm paper       */
/* ========================================================================== */

@font-face {
    font-family: "Vollkorn";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("assets/fonts/vollkorn-normal-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "Vollkorn";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("assets/fonts/vollkorn-normal-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Vollkorn";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("assets/fonts/vollkorn-normal-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Vollkorn";
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url("assets/fonts/vollkorn-italic-cyrillic-ext.woff2") format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: "Vollkorn";
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url("assets/fonts/vollkorn-italic-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Vollkorn";
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url("assets/fonts/vollkorn-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --histerl-ink: #241b17;
    --histerl-muted: #746b61;
    --histerl-paper: #f8f2e8;
    --histerl-paper-soft: #fcf8f0;
    --histerl-line: #d9ccba;
    --histerl-accent: #842b1c;
    --histerl-accent-dark: #611d14;
    --histerl-gold: #85531b;
    --histerl-link: #8b2c1d;
}

body,
body.custom-font-enabled,
.custom-font-enabled,
button,
input,
select,
textarea {
    font-family: "Vollkorn", Georgia, "Times New Roman", serif;
}

body {
    color: var(--histerl-ink);
    background-color: #f1ece259;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(137, 108, 76, 0.34) 0 1.35px, transparent 1.7px),
        radial-gradient(circle at calc(50% - 4px) 50%, rgba(137, 108, 76, 0.28) 0 1.15px, transparent 1.5px),
        radial-gradient(circle at calc(50% + 4px) 50%, rgba(137, 108, 76, 0.28) 0 1.15px, transparent 1.5px),
        radial-gradient(circle at 50% calc(50% - 4px), rgba(137, 108, 76, 0.28) 0 1.15px, transparent 1.5px),
        radial-gradient(circle at 50% calc(50% + 4px), rgba(137, 108, 76, 0.28) 0 1.15px, transparent 1.5px),
        linear-gradient(45deg, transparent 49.55%, rgba(145, 117, 86, 0.17) 49.75%, rgba(145, 117, 86, 0.17) 50.25%, transparent 50.45%),
        linear-gradient(-45deg, transparent 49.55%, rgba(145, 117, 86, 0.17) 49.75%, rgba(145, 117, 86, 0.17) 50.25%, transparent 50.45%);
    background-size: 92px 92px;
    background-position: 0 0;
}

body .site {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: calc(100% - 32px);
    max-width: 1400px;
    min-height: calc(100vh - 16px);
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    padding: 0 32px;
    background-color: var(--histerl-paper);
    background-image:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.6), transparent 30%),
        radial-gradient(circle at 82% 38%, rgba(122, 85, 45, 0.025), transparent 34%);
    border: 1px solid rgba(121, 94, 65, 0.18);
    border-radius: 7px 7px 0 0;
    box-shadow: 0 18px 54px rgba(49, 39, 30, 0.18);
}

body .site > #main.wrapper {
    flex: 1 0 auto;
}

/* Logo and desktop header */
.site-header {
    position: relative;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(286px, 300px) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(16px, 1.8vw, 28px);
    min-height: 92px;
    padding: 10px 20px !important;
    border-bottom: 1px solid var(--histerl-line);
}

.site-branding {
    min-width: 0;
    min-height: 70px;
}

.site-brand-link,
.site-brand-link:hover,
.site-brand-link:visited {
    gap: 13px;
    color: var(--histerl-ink);
}

.site-mark {
    display: block;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.site-brand-copy {
    min-width: 0;
    gap: 4px;
    padding: 3px 0 3px 17px;
    border-left: 1px solid rgba(88, 67, 49, 0.65);
}

.site-title-text {
    color: #201713;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 35px;
    font-weight: 500;
    letter-spacing: 0.025em;
    line-height: 0.92;
    text-transform: uppercase;
}

.site-description-text {
    color: #7b6d5f;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-navigation {
    align-self: stretch;
    margin: 0;
    border: 0;
}

.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
    align-items: stretch;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    gap: 0 10px;
    border: 0;
}

.main-navigation ul.nav-menu > li {
    display: flex;
    align-items: stretch;
    margin: 0;
}

.main-navigation ul.nav-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 32px 0 27px;
    color: #403832;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
    white-space: nowrap;
}

.main-navigation ul.nav-menu > li > a:hover,
.main-navigation ul.nav-menu > li > a:focus,
.main-navigation ul.nav-menu > .current-menu-item > a,
.main-navigation ul.nav-menu > .current-menu-ancestor > a {
    color: var(--histerl-accent);
}

.main-navigation ul.nav-menu > li > a::after {
    right: 0;
    bottom: 17px;
    left: 0;
    height: 2px;
    background: var(--histerl-accent);
}

.main-navigation ul.nav-menu > li:last-child {
    margin-left: auto;
}

.main-navigation ul.nav-menu > li:last-child > a {
    width: 28px;
    overflow: hidden;
    padding-right: 0;
    padding-left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23241b17' stroke-width='2.1' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='7.5'/%3E%3Cpath d='m17.5 17.5 6 6'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 25px 25px;
    text-indent: -9999px;
}

.main-navigation ul.nav-menu > li:last-child > a::after {
    display: none;
}

.main-navigation .sub-menu a {
    font-family: "Vollkorn", Georgia, serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

@media screen and (min-width: 1181px) {
    .main-navigation {
        transform: translateY(8px);
    }
}

/* Global type and reading widths */
.entry-header .entry-title,
.entry-title,
.archive-title,
.page-title,
.entry-content h2,
.entry-content h3,
.toc_title,
.lwptoc_title,
.ez-toc-title,
blockquote {
    font-family: "Vollkorn", Georgia, "Times New Roman", serif;
}

.entry-header .entry-title,
.entry-title,
.archive-title,
.page-title {
    color: var(--histerl-ink);
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.entry-content,
.entry-summary {
    color: #3f3a35;
    font-family: "Vollkorn", Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.4;
}

.entry-content h2 {
    color: var(--histerl-ink);
    font-size: clamp(25px, 2.35vw, 32px);
    font-weight: 600;
    letter-spacing: -0.015em;
}

.entry-content h3 {
    color: #4b3528;
    font-size: clamp(21px, 1.85vw, 26px);
    font-weight: 600;
}

.single .site-content,
.page:not(.home) .site-content {
    float: none;
    max-width: 920px;
    margin-right: auto !important;
    margin-left: auto !important;
}

.home .site-content article {
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
}

.archive .site-content,
.search .site-content {
    float: none;
    max-width: 1120px;
    margin-right: auto !important;
    margin-left: auto !important;
}

.entry-content a,
.entry-content a:visited,
.comment-content a,
#breadcrumbs a,
#breadcrumbs_footer a,
#colophon a,
#colophon a:visited {
    color: var(--histerl-link);
}

#toc_container,
.lwptoc_i,
.ez-toc-container {
    background: rgba(255, 252, 246, 0.72) !important;
    border-color: var(--histerl-line) !important;
    border-left-color: var(--histerl-gold) !important;
}

@media screen and (max-width: 1180px) {
    .site-header {
        grid-template-columns: 1fr;
        row-gap: 0;
        padding-bottom: 0 !important;
    }

    .site-branding {
        justify-content: center;
        padding: 4px 0 9px;
    }

    .main-navigation {
        border-top: 1px solid var(--histerl-line);
    }

    .main-navigation ul.nav-menu > li:last-child {
        margin-left: 0;
    }
}

@media screen and (max-width: 820px) {
    body .site {
        width: 100%;
        padding: 0 22px;
    }

    .site-header {
        display: block;
        min-height: 0;
        padding: 13px 0 0 !important;
    }

    .site-branding {
        justify-content: flex-start;
        min-height: 64px;
        padding: 0 0 12px;
    }

    .site-mark {
        width: 57px;
        height: 57px;
        flex-basis: 57px;
    }

    .site-title-text {
        font-size: 33px;
    }

    .site-description-text {
        font-size: 8px;
    }

    .main-navigation {
        padding: 9px 0;
    }

    .main-navigation .menu-toggle {
        min-height: 42px;
        padding: 8px 15px;
        color: var(--histerl-ink);
        background: transparent;
        border: 1px solid var(--histerl-line);
        font-size: 16px;
        font-weight: 600;
        text-transform: none;
    }

    .main-navigation ul.nav-menu,
    .main-navigation div.nav-menu > ul {
        display: none !important;
        min-height: 0;
        padding: 9px 0 0;
    }

    .main-navigation ul.nav-menu.toggled-on,
    .main-navigation.toggled-on ul.nav-menu,
    .menu-toggle.toggled-on + a + .nav-menu,
    .main-navigation .nav-menu.toggled-on {
        display: block !important;
    }

    .main-navigation ul.nav-menu > li {
        display: block;
    }

    .main-navigation ul.nav-menu > li > a,
    .main-navigation ul.nav-menu > li:last-child > a {
        display: block;
        width: auto;
        padding: 11px 3px;
        background-image: none;
        border-top: 1px solid var(--histerl-line);
        font-size: 16px;
        text-indent: 0;
    }

    .main-navigation ul.nav-menu > li > a::after {
        display: none;
    }

    .entry-content,
    .entry-summary {
        font-size: 17px;
        line-height: 1.4;
    }
}

@media screen and (max-width: 480px) {
    body .site {
        padding: 0 17px;
    }

    .site-brand-link,
    .site-brand-link:hover,
    .site-brand-link:visited {
        gap: 9px;
    }

    .site-mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .site-brand-copy {
        gap: 3px;
        padding-left: 11px;
    }

    .site-title-text {
        font-size: 28px;
    }

    .site-description-text {
        max-width: 190px;
        overflow: hidden;
        font-size: 7.5px;
        letter-spacing: 0.16em;
        text-overflow: ellipsis;
    }

    .entry-header .entry-title,
    .entry-title,
    .archive-title,
    .page-title {
        font-size: 31px;
    }
}

/* Source-accurate logo lockup: globe, divider, wordmark and descriptor. */
.site-brand-link,
.site-brand-link:hover,
.site-brand-link:visited {
    width: 100%;
    max-width: 306px;
    gap: 0;
}

.site-logo-crop {
    position: relative;
    display: block;
    width: 100%;
    max-width: 306px;
    aspect-ratio: 1855 / 497;
    overflow: hidden;
}

.site-logo {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 117.09%;
    max-width: none;
    height: auto;
    border: 0;
    box-shadow: none;
    transform: translate(-8.29%, -16.85%);
}

@media screen and (max-width: 480px) {
    .site-logo-crop {
        max-width: 272px;
    }
}

/* Nested editorial navigation */
.main-navigation .submenu-toggle {
    display: none;
}

@media screen and (min-width: 821px) {
    .main-navigation ul.nav-menu > li.menu-item-has-children > a {
        padding-right: 16px;
    }

    .main-navigation .menu-item-has-children > a::before {
        position: absolute;
        top: 50%;
        right: 1px;
        width: 6px;
        height: 6px;
        margin-top: -5px;
        content: "";
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: rotate(45deg);
    }

    .main-navigation ul.sub-menu {
        z-index: 1000;
        box-sizing: border-box;
        top: calc(100% - 15px);
        left: -17px;
        min-width: 250px;
        max-width: 320px;
        padding: 8px 0;
        background: rgba(252, 248, 240, 0.98);
        border: 1px solid var(--histerl-line);
        border-radius: 4px;
        box-shadow: 0 16px 38px rgba(50, 34, 22, 0.16);
    }

    .main-navigation ul li:hover > ul.sub-menu,
    .main-navigation ul li:focus-within > ul.sub-menu,
    .main-navigation li.focus > ul.sub-menu {
        width: max-content;
        min-width: 250px;
        height: auto;
        overflow: visible;
        clip: auto;
    }

    .main-navigation ul.sub-menu li {
        display: block;
        width: 100%;
        margin: 0;
    }

    .main-navigation ul.sub-menu a,
    .main-navigation ul.sub-menu a:visited {
        box-sizing: border-box;
        display: block;
        width: 100%;
        min-width: 250px;
        padding: 10px 18px;
        color: #403832;
        background: transparent;
        border: 0;
        font-size: 15px;
        line-height: 1.25;
        white-space: normal;
    }

    .main-navigation ul.sub-menu a:hover,
    .main-navigation ul.sub-menu a:focus {
        color: var(--histerl-accent);
        background: rgba(132, 43, 28, 0.065);
    }

    .main-navigation ul.sub-menu ul.sub-menu {
        top: -9px;
        left: calc(100% + 7px);
    }

    .main-navigation ul.sub-menu .menu-item-has-children > a {
        padding-right: 38px;
    }

    .main-navigation ul.sub-menu .menu-item-has-children > a::before {
        top: 50%;
        right: 18px;
        margin-top: -4px;
        transform: rotate(-45deg);
    }
}

@media screen and (max-width: 820px) {
    .main-navigation li.menu-item-has-children {
        position: relative;
    }

    .main-navigation .menu-item-has-children > a::before {
        display: none;
    }

    .main-navigation .submenu-toggle {
        position: absolute;
        z-index: 2;
        top: 3px;
        right: 0;
        display: block;
        width: 40px;
        height: 40px;
        min-height: 0;
        padding: 0;
        color: var(--histerl-ink);
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        text-shadow: none;
    }

    .main-navigation .submenu-toggle::after {
        position: absolute;
        top: 14px;
        left: 15px;
        width: 8px;
        height: 8px;
        content: "";
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        transition: transform 160ms ease;
    }

    .main-navigation .submenu-toggle[aria-expanded="true"]::after {
        top: 18px;
        transform: rotate(225deg);
    }

    .main-navigation ul.nav-menu > li.menu-item-has-children > a {
        padding-right: 46px;
    }

    .main-navigation ul.nav-menu.toggled-on ul.sub-menu,
    .main-navigation.toggled-on ul.nav-menu ul.sub-menu {
        position: static;
        display: none !important;
        width: auto !important;
        min-width: 0;
        max-width: none;
        height: auto;
        margin: 0;
        padding: 0 0 0 14px;
        overflow: visible;
        clip: auto;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .main-navigation ul.nav-menu.toggled-on li.submenu-open > ul.sub-menu,
    .main-navigation.toggled-on ul.nav-menu li.submenu-open > ul.sub-menu {
        display: block !important;
    }

    .main-navigation ul.sub-menu li {
        display: block;
        margin: 0;
    }

    .main-navigation ul.sub-menu a,
    .main-navigation ul.sub-menu a:visited {
        display: block;
        width: auto !important;
        padding: 9px 44px 9px 13px !important;
        color: #4a4038;
        background: rgba(133, 83, 27, 0.035);
        border-top: 1px solid rgba(217, 204, 186, 0.72);
        font-size: 15px;
        line-height: 1.35;
        text-indent: 0;
        white-space: normal;
    }

    .main-navigation ul.sub-menu .submenu-toggle {
        top: 1px;
    }
}

/* Reusable editorial layout for every category archive. */
body.category #primary.site-content {
    float: none;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0 !important;
}

.section-archive {
    color: #29201b;
    font-family: "Vollkorn", Georgia, serif;
}

.section-archive__breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin: 0 0 23px;
    padding: 19px 8px 0;
    color: #766d64;
    border-top: 1px solid #ded4c4;
    font-size: 13px;
    line-height: 1.3;
}

.section-archive__breadcrumbs a,
.section-archive__breadcrumbs a:visited {
    color: #766d64;
    text-decoration: none;
}

.section-archive__breadcrumbs a:hover,
.section-archive__breadcrumbs a:focus {
    color: var(--histerl-accent);
}

.section-archive__breadcrumbs > span[aria-hidden] {
    color: #9d8168;
    font-size: 19px;
    line-height: 0.7;
}

.section-archive__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
    align-items: start;
    gap: 30px;
    padding: 0 8px 12px;
}

.section-archive__main {
    min-width: 0;
}

.section-archive__title {
    margin: 0 0 11px;
    color: #211915;
    font-size: clamp(36px, 3.55vw, 51px);
    font-weight: 600;
    letter-spacing: -0.028em;
    line-height: 1.02;
}

.section-archive__description {
    color: #615a53;
    font-size: 15.5px;
    line-height: 1.4;
}

.section-archive__description p {
    margin: 0;
}

.section-archive__divider {
    position: relative;
    height: 1px;
    margin: 19px 0 15px;
    background: #d8c8b1;
}

.section-archive__divider::after,
.section-archive__panel-rule::after {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0 7px;
    color: #bba789;
    background: var(--histerl-paper);
    content: "❧";
    font-size: 22px;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.section-archive__list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 6px;
}

.section-archive__list-heading h2 {
    margin: 0;
    color: #34261f;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.15;
}

.section-archive__sort {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #544c45;
    font-size: 13px;
}

.section-archive__sort select {
    max-width: 205px;
    padding: 4px 19px 4px 4px;
    color: #3d332d;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.section-archive__sort select:focus-visible,
.section-archive a:focus-visible {
    outline: 2px solid var(--histerl-accent);
    outline-offset: 2px;
}

.section-archive .section-archive__item {
    position: relative;
    margin: 0;
    padding: 10px 35px 10px 0;
    border-top: 1px solid #e0d4c3;
}

.section-archive__item h3 {
    margin: 0 0 3px;
    color: #2f2520;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.18;
}

.section-archive__item h3 a,
.section-archive__item h3 a:visited {
    color: inherit;
    text-decoration: none;
}

.section-archive__item h3 a:hover,
.section-archive__item h3 a:focus {
    color: var(--histerl-accent);
}

.section-archive__item p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 5px;
    color: #635d57;
    font-size: 15px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.section-archive__item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #a0866c;
    font-size: 12px;
    line-height: 1.2;
}

.section-archive__item-arrow {
    position: absolute;
    top: 50%;
    right: 5px;
    color: #8e5c38;
    font-size: 27px;
    line-height: 1;
    text-decoration: none;
    transform: translateY(-50%);
}

.section-archive__item-arrow:hover,
.section-archive__item-arrow:focus {
    color: var(--histerl-accent);
}

.section-archive__pagination {
    display: flex;
    gap: 6px;
    margin-top: 18px;
}

.section-archive__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 0 9px;
    color: #6e5140;
    border: 1px solid #dfd2c0;
    border-radius: 3px;
    font-size: 14px;
    text-decoration: none;
}

.section-archive__pagination .page-numbers.current {
    color: #fff;
    background: var(--histerl-accent);
    border-color: var(--histerl-accent);
}

.section-archive__empty {
    padding: 20px 0;
    color: #635d57;
}

.section-archive__sidebar {
    display: grid;
    gap: 13px;
    min-width: 0;
}

.section-archive__panel {
    padding: 17px 16px 16px;
    background: rgba(255, 252, 246, 0.42);
    border: 1px solid #e1d6c7;
    border-radius: 3px;
}

.section-archive__panel h2 {
    margin: 0;
    color: #382b24;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}

.section-archive__panel-rule {
    position: relative;
    height: 1px;
    margin: 11px 0 13px;
    background: #d5c2a8;
}

.section-archive__panel-rule::after {
    background: #fbf7ef;
    font-size: 18px;
}

.section-archive__nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.section-archive__nav-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(222, 212, 196, 0.65);
}

.section-archive__nav-list li:last-child {
    border-bottom: 0;
}

.section-archive__nav-list a,
.section-archive__nav-list a:visited {
    position: relative;
    display: block;
    padding: 8px 20px 8px 11px;
    color: #5f554c;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
}

.section-archive__nav-list a::after {
    position: absolute;
    top: 50%;
    right: 3px;
    color: #8c6b51;
    content: "›";
    font-size: 20px;
    line-height: 1;
    transform: translateY(-50%);
}

.section-archive__nav-list a:hover,
.section-archive__nav-list a:focus {
    color: var(--histerl-accent);
    background: rgba(142, 92, 56, 0.06);
}

.section-archive__nav-list a.is-current,
.section-archive__nav-list a.is-current:visited {
    color: #7b3b2d;
    background: rgba(142, 92, 56, 0.055);
    border-left: 3px solid #7d382b;
    font-weight: 600;
}

.section-archive__popular a {
    font-size: 14px;
}

@media screen and (max-width: 1050px) {
    .section-archive__layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 23px;
    }

    .section-archive__title {
        font-size: 39px;
    }
}

@media screen and (max-width: 820px) {
    .section-archive__breadcrumbs {
        padding-top: 17px;
    }

    .section-archive__layout {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .section-archive__sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media screen and (max-width: 580px) {
    .section-archive__breadcrumbs,
    .section-archive__layout {
        padding-right: 0;
        padding-left: 0;
    }

    .section-archive__title {
        font-size: clamp(31px, 8vw, 40px);
    }

    .section-archive__description {
        font-size: 15px;
    }

    .section-archive__list-heading {
        display: block;
    }

    .section-archive__list-heading h2 {
        margin-bottom: 4px;
    }

    .section-archive__sort {
        margin-bottom: 9px;
    }

    .section-archive__sidebar {
        grid-template-columns: 1fr;
    }

}

/* Comfortable, consistent leading for reading text across the site. */
body,
.entry-content,
.entry-summary,
.comment-content,
.archive-meta,
.home-hero__lead,
.home-benefit__text,
.home-featured-card__description,
.section-archive__description,
.section-archive__item p,
.widget-area .widget,
#colophon {
    line-height: 1.4;
}

#toc_container a,
.lwptoc a,
.ez-toc-container a,
.entry-content table {
    line-height: 1.4;
}

.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th,
.comment-content p,
.comment-content li,
.widget-area p,
.widget-area li {
    line-height: 1.4;
}

/* Front-page activity: archive-style materials and the existing comment widget. */
.home-activity {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 30px;
    clear: both;
    box-sizing: border-box;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 0 8px;
    font-family: "Vollkorn", Georgia, serif;
}

.home-activity__materials {
    min-width: 0;
}

.home-activity__materials > h2 {
    margin: 0;
    color: #34261f;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.15;
}

.home-activity__materials .section-archive__divider {
    margin: 13px 0 8px;
}

.home-activity .section-archive__item {
    position: relative;
    margin: 0;
    padding: 12px 35px 12px 0;
    border-top: 1px solid #e0d4c3;
}

.home-activity__comments.widget-area,
.home-activity__extra.widget-area {
    box-sizing: border-box;
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}

.home-activity__comments {
    padding: 18px 17px;
    background: rgba(255, 252, 246, 0.42);
    border: 1px solid #e1d6c7;
    border-radius: 3px;
}

.home-activity__comments .widget {
    float: none;
    width: auto;
    margin: 0;
}

.home-activity__comments .widget h3 {
    position: relative;
    margin: 0 0 11px;
    padding: 0 0 11px;
    color: #382b24;
    border: 0;
    border-bottom: 1px solid #d5c2a8;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
}

.home-activity__comments .widget h3::after {
    position: absolute;
    bottom: -11px;
    left: 50%;
    padding: 0 7px;
    color: #bba789;
    background: #fbf7ef;
    content: "❧";
    font-size: 18px;
    line-height: 1;
    transform: translateX(-50%);
}

.home-activity__comments .widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-activity__comments .widget li {
    position: relative;
    margin: 0;
    padding: 10px 19px 10px 2px;
    color: #675e55;
    border-bottom: 1px solid rgba(222, 212, 196, 0.65);
    font-size: 14px;
    line-height: 1.4;
    list-style: none;
}

.home-activity__comments .widget li:last-child {
    border-bottom: 0;
}

.home-activity__comments .comment-author-link {
    color: #382b24;
    font-weight: 600;
}

.home-activity__comments .widget a,
.home-activity__comments .widget a:visited {
    color: var(--histerl-link) !important;
    text-decoration: none;
}

.home-activity__comments .widget a:hover,
.home-activity__comments .widget a:focus {
    color: var(--histerl-accent-dark) !important;
    text-decoration: underline;
}

.home-activity__extra {
    grid-column: 1 / -1;
}

@media screen and (max-width: 820px) {
    .home-activity {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media screen and (max-width: 580px) {
    .home-activity {
        padding-right: 0;
        padding-left: 0;
    }
}

/* On narrow screens the hero image gives way to its headline. */
.home-mobile-title {
    display: none;
}

@media screen and (max-width: 820px) {
    .home-mobile-title {
        display: block;
        margin: 0;
        padding: 26px 30px 20px;
        color: #201613;
        font-family: "Vollkorn", Georgia, serif;
        font-size: clamp(31px, 7.4vw, 45px);
        font-weight: 600;
        letter-spacing: -0.03em;
        line-height: 1.03;
    }

    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 10px;
        min-height: 0;
        padding: 12px 0 !important;
    }

    .site-branding {
        min-width: 0;
        min-height: 0;
        padding: 0;
    }

    .site-logo {
        -webkit-mask-image: linear-gradient(to right, #000 0 27.5%, transparent 27.5% 28.6%, #000 28.6%);
        mask-image: linear-gradient(to right, #000 0 27.5%, transparent 27.5% 28.6%, #000 28.6%);
    }

    .main-navigation {
        position: static;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        width: auto;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .main-navigation .menu-toggle {
        margin: 0;
        white-space: nowrap;
    }

    .main-navigation ul.nav-menu.toggled-on,
    .main-navigation.toggled-on ul.nav-menu {
        position: absolute;
        z-index: 1001;
        top: 100%;
        right: 0;
        left: 0;
        box-sizing: border-box;
        width: 100%;
        max-height: calc(100vh - 96px);
        margin: 0;
        padding: 10px 16px 18px;
        overflow-y: auto;
        text-align: left;
        background: var(--histerl-paper);
        border: 1px solid var(--histerl-line);
        border-top: 0;
        box-shadow: 0 15px 25px rgba(49, 39, 30, 0.16);
    }
}

/* Single posts: archive-style breadcrumbs and a tighter reading rhythm. */
.single #breadcrumbs.post-breadcrumbs {
    display: block;
    margin: 0 0 23px;
    padding: 0 8px 15px;
    color: #766d64;
    border-top: 0;
    border-bottom: 1px solid #ded4c4;
    font-size: 13px;
    line-height: 1.3;
}

.single .post-breadcrumbs > span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 13px;
}

.single .post-breadcrumbs > span > span {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.single #breadcrumbs.post-breadcrumbs a,
.single #breadcrumbs.post-breadcrumbs a:visited {
    color: #766d64;
    text-decoration: none;
}

.single #breadcrumbs.post-breadcrumbs a:hover,
.single #breadcrumbs.post-breadcrumbs a:focus {
    color: var(--histerl-accent);
}

.single .entry-header {
    margin-bottom: 12px !important;
}

.single .entry-header .entry-title {
    font-size: clamp(30px, calc(3.2vw - 2px), 44px);
}

.single .entry-content h2 {
    margin-top: 1.35em;
    font-size: 22px;
}

.single .entry-content h3 {
    margin-top: 1.2em;
    font-size: clamp(19px, calc(1.85vw - 2px), 24px);
}

.single .lwptoc,
.single #toc_container,
.single .ez-toc-container {
    margin: 14px 0 16px !important;
}

.single .lwptoc_i {
    margin: 0 !important;
}

@media screen and (max-width: 820px) {
    .single #breadcrumbs.post-breadcrumbs {
        padding-bottom: 13px;
    }
}

@media screen and (max-width: 580px) {
    .single #breadcrumbs.post-breadcrumbs {
        padding-right: 0;
        padding-left: 0;
    }
}

/* Single posts: warm editorial treatment for rating, related reading and discussion. */
.single .entry-content .kk-star-ratings {
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px 12px;
    width: fit-content;
    max-width: 100%;
    margin: 25px 0 12px;
    padding: 12px 16px;
    background: rgba(255, 252, 246, 0.65);
    border: 1px solid #e1d6c7;
    border-radius: 3px;
}

.single .entry-content .kk-star-ratings .kksr-legend {
    margin: 0;
    color: #756a5e;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 14px !important;
    line-height: 1.4;
}

.single #yarpp-related-posts {
    box-sizing: border-box;
    margin: 30px 0 0 !important;
    padding-top: 22px;
    border-top: 1px solid #ded4c4;
    font-family: "Vollkorn", Georgia, serif;
}

.single #yarpp-related-posts #related-title {
    margin: 0 0 13px;
    color: #34261f;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
}

.single #yarpp-related-posts .lst_square {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single #yarpp-related-posts .lst_square > li {
    position: relative;
    margin: 0;
    padding: 10px 28px 10px 0;
    background: none;
    border-top: 1px solid #e7dccd;
    font-size: 17px;
    line-height: 1.4;
}

.single #yarpp-related-posts .lst_square > li::after {
    position: absolute;
    top: 7px;
    right: 3px;
    color: #8e5c42;
    content: "›";
    font-size: 23px;
    pointer-events: none;
}

.single #yarpp-related-posts .lst_square a {
    color: #382b24;
    text-decoration: none;
}

.single #yarpp-related-posts .lst_square a:hover,
.single #yarpp-related-posts .lst_square a:focus {
    color: var(--histerl-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single #comments.comments-area {
    margin: 32px 0 0;
    padding-top: 23px;
    border-top: 1px solid #ded4c4;
    font-family: "Vollkorn", Georgia, serif;
}

.single #comments .comments-title,
.single #comments #reply-title {
    margin: 0 0 15px;
    color: #34261f;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
}

.single #comments .commentlist,
.single #comments .commentlist .children {
    padding: 0;
    list-style: none;
}

.single #comments .commentlist {
    margin: 0;
}

.single #comments .commentlist .children {
    margin: 0 0 0 28px;
}

.single #comments article.comment {
    box-sizing: border-box;
    margin: 0 0 12px;
    padding: 16px 18px 13px;
    background: rgba(255, 252, 246, 0.65);
    border: 1px solid #e1d6c7;
    border-radius: 3px;
}

.single #comments article.comment header {
    margin: 0 0 12px;
}

.single #comments article.comment header img.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.single #comments article.comment header cite,
.single #comments article.comment header time {
    margin-left: 56px;
}

.single #comments article.comment header cite,
.single #comments article.comment header cite a {
    color: #382b24;
    font-size: 17px;
    font-weight: 600;
}

.single #comments article.comment header time {
    color: #84786c;
    font-size: 13px;
    line-height: 1.35;
}

.single #comments article.comment .comment-content {
    padding: 0;
    color: #40352d;
    background: none;
    border: 0;
    font-size: 16px;
    line-height: 1.4;
}

.single #comments article.comment .comment-content p:last-child {
    margin-bottom: 0;
}

.single #comments article.comment .reply {
    margin-top: 9px;
    text-align: right;
}

.single #comments article.comment .reply a {
    color: var(--histerl-accent-dark);
    font-size: 14px;
    text-decoration: none;
}

.single #comments article.comment .reply a:hover,
.single #comments article.comment .reply a:focus {
    text-decoration: underline;
}

.single #comments #respond {
    box-sizing: border-box;
    margin: 24px 0 0;
    padding: 20px 22px;
    background: rgba(255, 252, 246, 0.65);
    border: 1px solid #e1d6c7;
    border-radius: 3px;
}

.single #comments #respond form {
    margin: 12px 0 0;
}

.single #comments #respond form label {
    color: #51443a;
    font-size: 15px;
    line-height: 1.4;
}

.single #comments #respond form input[type="text"],
.single #comments #respond form input[type="email"],
.single #comments #respond form input[type="url"],
.single #comments #respond form textarea {
    max-width: 100%;
    color: #382b24;
    background: #fffdf9;
    border-color: #d8cbb9;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 16px;
    line-height: 1.4;
}

@media screen and (max-width: 580px) {
    .single #comments .commentlist .children {
        margin-left: 12px;
    }

    .single #comments #respond {
        padding: 16px;
    }
}

/* Footer: six editorial directories and a separate portal signature. */
#colophon.histerl-footer {
    position: relative;
    box-sizing: border-box;
    width: auto;
    max-width: none;
    margin: 42px -32px 0;
    padding: 0;
    overflow: hidden;
    color: #5d554e;
    background-color: #f5eee3;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(157, 124, 86, 0.19) 0 2px, transparent 2.4px),
        linear-gradient(45deg, transparent 49.75%, rgba(153, 120, 84, 0.12) 49.9%, rgba(153, 120, 84, 0.12) 50.1%, transparent 50.25%),
        linear-gradient(-45deg, transparent 49.75%, rgba(153, 120, 84, 0.12) 49.9%, rgba(153, 120, 84, 0.12) 50.1%, transparent 50.25%);
    background-size: 120px 120px;
    border-top: 1px solid #d7c6ae;
    font-family: "Vollkorn", Georgia, serif;
    line-height: 1.4;
}

#colophon .footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px clamp(26px, 4vw, 74px);
    box-sizing: border-box;
    max-width: 1300px;
    margin: 0 auto;
    padding: 46px clamp(32px, 5vw, 68px) 52px;
}

#colophon .footer-group {
    min-width: 0;
}

#colophon .footer-group h2 {
    margin: 0 0 13px;
    color: #31251f;
    font-family: "Vollkorn", Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.18;
}

#colophon .footer-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#colophon .footer-group li {
    margin: 0 0 6px;
    padding: 0;
    font-size: 16px;
    line-height: 1.36;
}

#colophon .footer-group li:last-child {
    margin-bottom: 0;
}

#colophon .footer-group a,
#colophon .footer-group a:visited {
    color: #665f57;
    text-decoration: none;
}

#colophon .footer-group a:hover,
#colophon .footer-group a:focus {
    color: var(--histerl-accent-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

#colophon .footer-group span {
    color: #91877b;
}

#colophon .footer-bottom {
    position: relative;
    isolation: isolate;
    border-top: 1px solid #cdb99e;
    background: rgba(255, 252, 246, 0.38);
}

#colophon .footer-bottom::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: url("assets/images/home/hero-russian-history.webp") center 52% / cover no-repeat;
    content: "";
    opacity: 0.08;
    pointer-events: none;
}

#colophon .footer-bottom__inner {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4vw, 55px);
    box-sizing: border-box;
    max-width: 1300px;
    margin: 0 auto;
    padding: 28px clamp(32px, 5vw, 68px);
}

#colophon .footer-brand {
    display: block;
    flex: 0 0 275px;
    max-width: 100%;
}

#colophon .footer-brand .site-logo-crop {
    max-width: 275px;
}

#colophon .footer-bottom__text {
    color: #62574c;
    font-size: 16px;
    line-height: 1.4;
}

#colophon .footer-bottom__text p {
    margin: 0 0 4px;
}

#colophon .footer-bottom__text p:last-child {
    margin-bottom: 0;
}

#colophon .footer-bottom__text a,
#colophon .footer-bottom__text a:visited {
    color: #87533b;
    font-weight: 600;
    text-decoration: none;
}

#colophon .footer-bottom__text a:hover,
#colophon .footer-bottom__text a:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media screen and (max-width: 820px) {
    body .site {
        min-height: 100vh;
        margin-top: 0 !important;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #colophon.histerl-footer {
        margin-right: -22px;
        margin-left: -22px;
    }

    #colophon .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

@media screen and (max-width: 580px) {
    #colophon .footer-nav {
        grid-template-columns: minmax(0, 1fr);
        gap: 27px;
        padding-top: 36px;
        padding-bottom: 40px;
    }

    #colophon .footer-bottom__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        padding-top: 25px;
        padding-bottom: 28px;
    }

    #colophon .footer-brand {
        flex-basis: auto;
        width: 245px;
    }
}

@media screen and (max-width: 480px) {
    #colophon.histerl-footer {
        margin-right: -17px;
        margin-left: -17px;
    }
}


