/*
Theme Name: Kommunistische Jugend Stalingrad
Version: 1.9.45
Template: minimalistblogger
Text Domain: stalingrad-kj
Domain Path: /languages
*/

@font-face {
  font-family: "Adobe Hebrew Regular";
  src: url(./Adobe-Hebrew-Regular.otf);
}

:root {
  /* #d32f29*/
  --red: #e1322c;
  --secondary-red: #fe1913;
  --maroon: #5f3237;
  --cream: #f4e4c0;
  --lightcream: #fff5df;
  --serif-font: "Adobe Hebrew Regular", "Times New Roman", serif;
  --sans-serif-font: "Lato", "Helvetica Neue", Helvetica, Arial;
  --foreground: var(--lightcream);

  --selection-color: #f4e4c0d0;
  --darker-accent: #f4e4c05f;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background-color: var(--selection-color);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--lightcream);
  line-height: 1.5;
}

/* base rules */

.comment-respond .logged-in-as a,
a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.comment-respond .logged-in-as a:hover,
a:hover {
  color: var(--maroon);
}

h1.entry-title,
h2.entry-title,
h2.entry-title a:hover,
h2.entry-title a:active {
  font-size: 1.5rem;
  line-height: 1.3;
}

.entry-title a {
  font-weight: 500;
}

h2 {
  font-size: 1.5em;
}

.comments-area .comments-title,
#comments h3#reply-title,
.fbox h1,
.fbox h2 {
  font-family: var(--serif-font);
  color: var(--red);
  /* font-weight: bold; */
}

/* font declarations */

.site-branding .site-title {
  font-family: var(--serif-font);
  font-weight: 500;
}

h1.entry-title,
h2.entry-title,
h2.entry-title a:hover,
h2.entry-title a:active,
#comments h3#reply-title {
  font-family: var(--serif-font);
}

article .entry-content,
body,
code,
html,
kbd,
pre,
samp,
.entry-meta {
  font-family: var(--sans-serif-font);
}

/* header biz */

.sheader {
  background: var(--red);
  margin: 0 0 2em;
}

.super-menu {
  border: none;
}

.custom-logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.custom-icon {
  fill: var(--foreground);
  height: 75px;
  /* filter: drop-shadow(2px 2px 0 var(--maroon)); */
}

.site-branding.branding-logo {
  margin: 0 0;

  margin-top: 0.5em;
}

.site-branding .site-title {
  line-height: 1;
  text-align: left;
  flex: 0;

  color: var(--foreground);
  font-size: 1.875em;
}

a.custom-logo-link {
  text-decoration: none;
}

.sheader .toggle-mobile-menu:before {
  color: var(--foreground);
  position: static;
  margin-right: 0;
  line-height: 2;

  font-family: FontAwesome;
  content: "\f0c9";
  font-size: 1.25em;
  font-weight: 100;
}

.sheader .toggle-mobile-menu {
  text-align: right;
  width: 100%;
}

.sheader .super-menu .toggle-mobile-menu {
  padding: 0;
}

.swidgets-wrap {
  border: none;
  padding: 0;
}

figure {
  margin: 0;
}

.kj_stars {
  color: var(--red);
  font-size: 1.5em;
  pointer-events: none;
  user-select: none;
  /* text-shadow: 0 1px 0 var(--maroon), 0 2px 0 var(--maroon); */
}

.kj_stars span:last-child {
  font-size: 150%;
}

.widget-area .wp-block-image::before,
.header-widgets-wrapper .wp-block-image::before {
  content: "★";
  color: var(--red);
  position: absolute;
  font-size: 2em;
  transform: translate(-0.4em, -0.75em) rotate(-19.17deg);
  /* text-shadow: 0 1px 0 var(--maroon), 0 2px 0 var(--maroon); */
}

img {
  border-radius: 4px;
}

.post-template-default .header-widgets-wrapper {
  display: none;
}

/* main page articles */

article.fbox,
.fbox {
  border: none;
}

.fbox {
  padding: 0;
  margin-bottom: 2em;
}

body:not(.post-template-default):not(.page-template-default) article h1,
body:not(.post-template-default):not(.page-template-default) article h2,
body:not(.post-template-default):not(.page-template-default) article h3,
body:not(.post-template-default):not(.page-template-default) article h4,
body:not(.post-template-default):not(.page-template-default) article h5,
body:not(.post-template-default):not(.page-template-default) article h6 {
  margin-bottom: 0;
}

body.home article h1,
body.home article h2,
body.home article h3 {
  margin-bottom: 0;
}

.header-widgets-three {
  margin-bottom: 2em;
}

article .entry-content {
  color: var(--primary);
}

.post-data-text {
  background-color: transparent;
  margin-bottom: 0;
}

.blog-data-wrapper,
.entry-meta {
  margin-bottom: 0;
}

article .entry-content,
.post-data-text {
  font-size: 1rem;
}

.post-data-divider {
  display: none;
}

.post-data-positioning {
  position: unset;
}

/* widget stuff? */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--red);
  font-family: var(--serif-font);
}

h4,
h5,
h6 {
  font-family: var(--sans-serif-font);
}

article h3,
article h4,
article h5,
article h6 {
  font-weight: 600;
  font-family: var(--sans-serif-font);
}

.fbox h1,
.fbox h2,
.fbox h3 {
  color: var(--red);
}

.featured-sidebar .fbox {
  margin-bottom: 0;
}

/* footer stuff */

.site-footer {
  background: transparent;
}

.site-info {
  background: var(--red);
  opacity: 1;

  box-shadow: 0px 100vh 0 100vh var(--red);

  border: none;
  color: var(--foreground);

  font-weight: 550;
  font-size: 1em;
  padding: 1em 0;
}

/* pages */

span.page-numbers.dots {
  border-radius: 4px;
  border: none;
  background: var(--red);
  color: var(--lightcream);

  font-weight: bold;
  font-size: 16px;
  padding: 8px 12px;
}

.page-numbers.current {
  border-radius: 4px;
  border: none;
  background: var(--maroon);
  color: var(--lightcream);

  font-weight: bold;
  font-size: 16px;
  padding: 8px 12px;
}

.page-numbers li a.next,
.page-numbers li a.prev,
.page-numbers li a {
  border-radius: 4px;
  border: none;
  background: var(--red);
  color: var(--lightcream);
  transition: all 0.1s ease;

  font-weight: bold;
  font-size: 16px;
  padding: 8px 12px;
}

.wp-block-button > a:hover,
.error404 input.search-submit:hover,
.search-no-results input.search-submit:hover,
.blogpost-button:hover,
.page-numbers li a:hover {
  background-color: var(--maroon);
  color: var(--foreground);
}

.posts-entry.fbox {
  display: flex;
  flex-direction: column;
}

ul.page-numbers {
  margin-bottom: 1em;
}

/* buttons */

.comments-area p.form-submit input {
  background: var(--red);
  border-radius: 4px;
  padding: 8px 12px;

  font-size: 16px;
  font-weight: 600;

  color: var(--foreground);
}

.blogpost-button {
  background: var(--red);
  border-radius: 4px;
  padding: 8px 12px;

  font-size: 16px;
  font-weight: 600;

  transition: all 0.1s ease;
  color: var(--foreground);
}

article .blogpost-button-wrapper {
  display: none;
}

/* comments */

div#respond {
  text-align: left;
}

label[for="comment"] {
  color: var(--red);
  font-weight: 600;
  text-transform: capitalize;
}

#comments h3#reply-title {
  font-size: 1.25em;
}

p.form-submit {
  text-align: center;
}

.comments-area .comment-respond textarea,
.search-field {
  border-radius: 4px;
  margin-top: 0.5em;
}

/* mobile bar */

#smobile-menu.show {
  display: block;
}

#smobile-menu.show .main-navigation ul ul.children,
#smobile-menu.show .main-navigation ul ul.sub-menu {
  display: block;
}

#smobile-menu .content-wrap,
#smobile-menu .primary-menu ul {
  background: transparent;
}

.super-menu-inner {
  max-width: 100%;
}

.fbox {
  margin-bottom: 0;
}

.kj-article-thumbnail {
  margin-bottom: 1rem;
}

.entry-header {
  margin-bottom: 0;
}

/* .posts-entry.fbox {
  margin-bottom: 1.5em;
} */

.posts-entry.fbox:last-of-type {
  margin-bottom: 0;
}

/* article */

.post-template-default .entry-title,
.page-template-default .entry-title {
  font-size: 2rem;
}

.mobile-hide {
  display: none;
}

@media screen and (min-width: 400px) {
  /* making the header somewhat work */

  header.sheader > .content-wrap {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;

    padding: 0.5em 0;
  }

  .sheader .toggle-mobile-menu {
    text-align: right;
    width: 100%;
  }

  .super-menu-inner {
    margin: 0;
  }

  .site-branding.branding-logo {
    margin-top: 0;
  }

  .super-menu-inner {
    width: revert;
  }

  .super-menu.clearfix {
    width: revert;
  }
}

@media screen and (min-width: 500px) {
  .mobile-only {
    display: none;
  }

  .mobile-hide {
    display: inline-block;
  }
}

@media screen and (min-width: 666px) {
  /* article stuff */

  /* "featured" */

  body.blog:not(.paged) article:first-child.posts-entry.fbox {
    flex-direction: row;
    gap: 1.5em;
  }

  body.blog:not(.paged) article:first-child .entry-wrapper {
    flex: 1 2 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;
  }

  body.blog:not(.paged) article:first-child {
    align-items: center;
  }

  body.blog:not(.paged) article:first-child .featured-thumbnail {
    flex: 1 1;
  }

  body.blog:not(.paged) article:first-child .entry-wrapper {
    flex: 1 1;
  }

  body.blog:not(.paged) article:first-child .kj-article-thumbnail {
    aspect-ratio: 3/4;
  }

  /* general article */

  .featured-sidebar {
    width: 50%;
    margin: auto;
    float: none;
  }

  /* header widget */
}

#secondary .widget {
  color: var(--primary);
}

.post-template-default .featured-sidebar {
  display: none;
}

.featured-thumbnail {
  margin-bottom: 0;
}

.header-widgets-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: stretch;
}

.header-widgets-wrapper .wp-block-image {
  text-align: center;
}

.header-widgets-wrapper .wp-block-image img {
  max-height: 50vh;
  margin: auto;
}

#comments h3#reply-title {
  font-size: 1.4em;
  font-weight: 550;
}

.header-widgets-three {
  max-width: 100%;
}
.header-widgets-left {
  padding-right: 0;
}

@media screen and (max-width: 260px) {
  * {
    word-break: break-word;
  }

  .site-branding .site-title {
    display: none;
  }
}

.featured-content {
  max-width: 100%;
  margin: 0;
}

/* laptop and above */

@media screen and (max-width: 900px) {
  #smobile-menu .content-wrap,
  #smobile-menu .primary-menu ul {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}

@media screen and (min-width: 901px) {
  body.blog:not(.paged) article:first-child .kj-article-thumbnail {
    aspect-ratio: 1/1;
  }

  .site-branding .site-title {
    font-size: 5em;
    color: var(--foreground);

    width: 100%;
  }
  .custom-icon {
    height: 12em;
    fill: var(--foreground);
  }
  .custom-logo-link {
    display: flex;
    flex-direction: column;
  }

  .featured-content {
    width: revert;
    margin-right: 0%;
    flex: 2.5 1;
    padding-right: 0.75em;
  }

  .featured-sidebar {
    width: revert;
    float: left;
    margin: inherit;
    flex: 1.175 1;
    padding-left: 0.75em;
  }

  .header-widgets-wrapper {
    display: none;
  }

  /* menu fix, again */
  .primary-menu > .content-wrap.text-center {
    width: auto;
  }

  /* actual header work */

  .custom-logo-link {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }

  .primary-menu .pmenu {
    border: none;
  }
  .custom-icon {
    height: 4em;
  }
  .site-branding .site-title {
    font-size: 2em;
  }

  .sub-star::before {
    content: "\2605";
    color: var(--foreground);
    font-size: 0.875em;
    text-align: center;
    cursor: pointer;
    transition: all 0.1s ease;
    margin-left: 0.5em;
  }

  .main-navigation ul li.menu-item-has-children a {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .sub-star {
    display: flex;
    align-items: center;
  }

  /* designing??? */

  header.sheader > .content-wrap {
    /* align-items: flex-end;
    flex-direction: row; */
    padding: 0.5em 0;
  }

  .site-branding {
    text-align: left;
  }

  .site-branding.branding-logo {
    flex: 1 2;
  }

  .main-navigation ul li a,
  .main-navigation ul li.current-menu-item > a {
    color: var(--foreground);
    font-size: 1.125em;

    font-weight: 550;

    padding: 0em 0.5em;
  }

  .site-content.clearfix > div.content-wrap {
    display: flex;
    flex-direction: row;
  }

  .sheader > div.content-wrap {
    max-width: 1200px;
  }

  .content-wrap {
    width: 96%;
    max-width: 1200px;
  }

  .site-info > div.content-wrap {
    width: 96%;
    max-width: 1200px;
  }

  .primary-menu ul.pmenu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

  /* .post-template-default .featured-sidebar {
    display: block;
  } */

  .kj-article-thumbnail {
    aspect-ratio: 4/3;
  }

  .sheader {
    margin: 0 0 1.5em;
  }

  /* styling the articles somehow */

  /* appearance of navbar */

  .main-navigation ul li.menu-item-has-children a {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .sub-menu > .menu-item-has-children > a > .sub-star::before {
    font-size: 0.75em;
  }

  .sub-menu > .menu-item-has-children:hover > a > .sub-star::before {
    color: var(--foreground);
  }

  .site-header ul ul {
    border: none;
  }

  .site-header ul ul li a {
    font-size: 1em;
    opacity: 1;
    border-top: none;
  }

  .primary-menu ul li ul.children,
  .primary-menu ul li ul.sub-menu {
    background-color: var(--red);
    box-shadow: 0px 4px 0px var(--foreground);
  }
}

/* mobile menu changes */

#smobile-menu {
  top: 0;
  right: 0;
}

#smobile-menu.show {
  top: 0;
  right: 0;
  position: absolute;
  width: 14rem;
  left: revert;
  bottom: revert;

  margin-top: 68px;
}

/* this sucks */

@media screen and (max-width: 500px) {
  #smobile-menu.show {
    margin-top: 82px;
  }
}

@media screen and (max-width: 400px) {
  #smobile-menu.show {
    margin-top: 130px;
  }
}

.mobile-menu-active #page {
  transform: translate(0%, 0%);
  position: initial;
}

#smobile-menu {
  /* background-color: var(--foreground);

  box-shadow: 0px 4px 0px var(--red); */

  background-color: var(--red);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

#smobile-menu.show .main-navigation ul ul.sub-menu li {
  opacity: 1;
  padding: 0;
}

#smobile-menu #pull {
  /* background-color: var(--red); */
  display: none;
}

.toggle-mobile-menu {
  text-align: center;
  padding: 1em 1em 0.5em;
}

.mobile-only .toggle-mobile-menu:before {
  display: none;
}

#pull .custom-icon {
  height: 2em;
}

#smobile-menu .main-navigation ul li a,
#smobile-menu .main-navigation ul li.current-menu-item > a {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 550;
  border-bottom: none;

  text-transform: inherit;
}

#smobile-menu.show .main-navigation ul li a {
  padding: 0.75rem 1rem;
  text-align: center;
}

#smobile-menu.show .main-navigation ul li {
  border-bottom: none;
}

#smobile-menu .primary-menu .pmenu {
  border: none;
}

.mobile-menu-active #mobile-menu-overlay {
  display: none;
}

/* comments */

.comments-area {
  border: none;
}

.comments-area .comments-title {
  margin-bottom: 15px;
}

.comments-area .comment-author .fn a {
  color: var(--red);
}

.comments-area p.form-submit input {
  background: var(--red);
  transition: all 0.1s ease;
  color: var(--lightcream);
  font-weight: bold;
}

.comments-area p.form-submit input:hover {
  background: var(--maroon);
}

.comments-area .comment-author {
  font-weight: 500;
}

.comments-area .comment-meta .comment-metadata a {
  color: black;
  font-weight: 500;
  font-size: 1rem;
}

.comments-area .reply {
  font-size: 1rem;
}

.comments-area .comment-meta .comment-metadata .edit-link a.comment-edit-link {
  font-weight: 600;
}

.comments-area .comment-content,
.comments-area .reply {
  padding: 0;
  padding-top: 1.25em;
}

.comments-area ol.comment-list .comment {
  border-bottom: none;
  padding-bottom: 0;
}

.comment-meta .vcard img {
  display: none;
}

.comments-area .comments-title,
#comments h3#reply-title {
  font-size: 1.6em;
  font-weight: 550;
}

/*  footer */

.footer-list {
  float: right;
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
}

.footer-list li {
  list-style: none;
}

.footer-list li + li {
  display: flex;
  align-items: center;
}

.footer-list li + li::before {
  content: "★";
  font-size: 0.625em;
  padding-right: 1.5em;
}

.nav-links span.current,
.site-info,
.site-info a {
  color: var(--lightcream);
  text-decoration: none;
}

.site-info a:hover {
  text-decoration: none;
  border: none;
}

.site-info > div.content-wrap {
  text-align: left;
}

/* fix for lightbox structure */

.attachment-post-thumbnail.wp-post-image {
  width: 100%;
}

/* fix for spacing screwery */

body:not(.post-template-default) .attachment-post-thumbnail.wp-post-image,
.wp-block-image img {
  margin-bottom: 1em;
}

.post-template-default .entry-header,
.page-template-default .entry-header {
  margin: 1em 0;
}

/* lightbox optimization */

.slb_details {
  display: none;
}

#slb_viewer_wrap .slb_theme_slb_default .slb_container {
  box-shadow: none !important;
  border-radius: 0 !important;
}

#slb_viewer_wrap .slb_theme_slb_baseline .slb_container {
  background-color: var(--lightcream) !important;
  padding: 0 !important;
}

/* wp button */

.wp-block-button > a,
.error404 input.search-submit,
.search-no-results input.search-submit,
.wpcf7 .wpcf7-submit {
  line-height: 1.5;
  border: none;
  color: #fff;
  font-size: 1em;
  padding: 10px 20px;
  text-shadow: none;
  box-shadow: none;
  border-radius: 4px;
  margin: 0;
  background: var(--red);
  transition: all 0.1s ease;
  color: var(--lightcream);
  font-weight: bold;
}

.wp-block-button > a:hover,
.error404 input.search-submit:hover,
.search-no-results input.search-submit:hover,
.wpcf7 .wpcf7-submit:hover {
  background: var(--maroon);
  opacity: 1;
}

.text-center {
  text-align: center;
}

.aligncenter > figcaption {
  text-align: center;
}

/* reactions */
h1.entry-title a:hover {
  color: var(--maroon);
}

/* apparently the new thing is 18px? */

@media screen and (min-width: 666px) {
  body {
    font-size: 17px;
  }

  article .entry-content,
  .post-data-text,
  #secondary .widget,
  .blogpost-button,
  .page-numbers li a.next,
  .page-numbers li a.prev,
  .page-numbers li a,
  .page-numbers.current,
  .comments-area .comment-author {
    font-size: 1em;
    line-height: 27px;
    letter-spacing: 0.00625rem;
  }

  .main-navigation ul li a,
  .main-navigation ul li.current-menu-item > a {
    font-size: 1em;
    line-height: 27px;
  }

  body.blog article h1.entry-title {
    font-size: 1.4em;
  }

  body.post-template-default h1.entry-title:first-child,
  body.page-template-default h1.entry-title:first-child {
    font-size: 1.8em;
  }

  .site-branding .site-title {
    font-size: 1.75em;
  }
  .custom-icon {
    height: 4.5em;
  }

  .widget-area .wp-block-image::before,
  .header-widgets-wrapper .wp-block-image::before {
    transform: translate(-0.4em, -0.4em) rotate(-19.17deg);
  }
}

/* i'm fucking losing it */

/* #121212 */
/* 
body {
  background-color: #420c14;
}

.featured-sidebar {
  display: none;
}

.site-content > .content-wrap {
  background-color: pink;
  padding-top: 1.5em;
}

.sheader {
  margin-bottom: 0;
} */

.custom-logo-link {
  justify-content: flex-start;
  align-items: center;
  /* todo: this needs to be fixed */
}

/* .primary-menu.main-navigation.clearfix {
  display: none;
} */

/* @media screen and (min-width: 980px) {
  .featured-content {
    max-width: 800px;
    margin: auto;
  }
}

@media (min-width: 1024px) {
  .super-menu,
  .toggle-mobile-menu {
    display: block;
  }
}

.mobile-only.show {
  display: block;
}

#smobile-menu.show {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1000;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

#smobile-menu.show .main-navigation {
  width: 100%;
  float: left;
  display: block;
  margin: 0;
}

#smobile-menu .content-wrap,
#smobile-menu .primary-menu ul {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

#smobile-menu.show .main-navigation ul li {
  display: block;
  width: 100%;
}

.primary-menu ul.pmenu {
  display: block;
}

#smobile-menu.show .main-navigation ul li a {
  padding: 12px 20px;
  text-align: left;
  line-height: 27px;
}

#smobile-menu.show .main-navigation ul ul.sub-menu li {
  padding-left: 20px;
  opacity: 1;
}

.mobile-menu-active #mobile-menu-overlay {
  display: block;
}

#mobile-menu-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  cursor: pointer;
  display: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media screen and (min-width: 600px) {
  #smobile-menu {
    width: 20rem;
  }

  .mobile-menu-active #page {
    transform: translate(0, 0);
  }
}

#mobile-menu-overlay {
  background: linear-gradient(
    90deg,
    #000000 0%,
    #00000025 20rem,
    transparent 20.75rem
  );
} */

.featured-content {
  padding: 0;
}

.site-branding.branding-logo {
  flex: revert;
}

header.sheader > .content-wrap {
  flex-direction: row;
}

/* .header-widgets-wrapper {
  display: block;
} */

.header-widget .wp-block-image img {
  max-height: 20vh;
}

.site-branding .site-title {
  font-size: 1.75rem;
  /* line-height: 1.7; */
  width: auto;
  flex-basis: unset;
}

.custom-icon {
  height: 2.5em;
}

/* buttons */

header.sheader > .content-wrap {
  padding: 0;
}

.featured-content {
  flex: 3 1;
}

/* .home.page-template-default .featured-sidebar {
  display: none;
} */

.featured-sidebar {
  display: none;
}

.mdc-card--filled {
  background: transparent;
}

.wp-block-group__inner-container *:not(h2:first-child).has-text-align-center {
  text-align: center;
}

/* re re design */

.main-navigation ul li a,
.main-navigation ul li.current-menu-item > a {
  font-weight: 500;
  text-transform: initial;
  border-top: 4px solid transparent;
}

.main-navigation ul li a,
.main-navigation ul li.current-menu-item > a {
  padding: 18px 18px 22px;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a:hover {
  border-top: 4px solid var(--red);
}

@media screen and (min-width: 901px) {
  .sheader {
    background: transparent;
  }
  .custom-icon {
    fill: var(--red);
  }

  .site-branding .site-title {
    color: var(--red);
  }

  .main-navigation ul li a,
  .main-navigation ul li.current-menu-item > a {
    color: var(--red);
    font-weight: 550;
  }

  .main-navigation ul li:last-child a:hover {
    background-color: var(--maroon);
  }

  /* replace with cta button */
  .cn-button,
  .cta-button a,
  .main-navigation ul li:last-child a {
    color: var(--foreground);
    background: var(--red);
    padding: 4px 10px;
    margin: 0 0 0 16px;
    border-radius: 6px;
    border: none;
    /* box-shadow: 2px 2px 0 var(--maroon); */
  }

  .cta-button a {
    padding: 6px 12px;
    font-size: 1.125rem;
  }

  .primary-menu ul.pmenu {
    align-items: center;
  }

  .sub-star {
    display: none;
  }

  .entry-title a {
    font-weight: 500;
  }
}

/* footer widget comp */

.footer-column-wrapper .widget_block h1,
.footer-column-wrapper .widget_block h2,
.footer-column-three,
.footer-column-three h1 {
  color: var(--foreground);
}

.widget ul li {
  border-bottom: none;
}

.footer-column-three .widget {
  margin-bottom: 0;
  font-size: 1rem;
}

.footer-column-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
}

@media screen and (max-width: 900px) {
  .footer-column-wrapper {
    gap: 2em;
  }
}

.footer-column-three {
  padding: 0 0;
}

.site-info {
  margin-top: 2rem;
}

/* main page shenanigan */

.hero-articles .wp-block-query.is-layout-flow > div > div > ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

.wp-block-column {
  flex: auto;
  min-width: min-content;
  word-break: keep-all;
}

/* body:not(.post-template-default) .attachment-post-thumbnail.wp-post-image {
  width: 450px;
} */

/* .hero-main-article {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-articles ol,
.hero-articles ul {
  margin: 0;
}

.hero-articles .wp-block-column > figure > a > img {
  object-fit: cover;
  height: 275px;
}

.hero-side-articles .wp-block-column > figure > a > img {
  height: 230px;
}

.hero-articles .wp-block-column .wp-block-post-title a {
  font-weight: 500;
  font-size: 1.75rem;
}

.hero-side-articles {
  display: flex;
  flex-direction: row;
  gap: 1rem;

  margin: 0;
}

.posts-entry .entry-content p:last-child {
  margin-bottom: 1rem;
}

.hero-articles
  .wp-block-post:not(:last-child)
  p.wp-block-post-excerpt__excerpt:last-child {
  margin-bottom: 0;
}

.hero-articles .wp-block-query.is-layout-flow > div > div > ul > li {
  margin: 0;
}

.wp-block-query.is-layout-flow > div > div > ul {
  gap: 1rem;
}

body:not(.post-template-default)
  .hero-articles
  .attachment-post-thumbnail.wp-post-image:last-of-type {
  margin: 0;
}

.hero-articles :where(.wp-block-columns.is-layout-flex) {
  gap: 1rem;
}

.hero-articles > .wp-block-group__inner-container > .wp-block-columns {
  margin-bottom: 0;
}

.hero-articles .wp-block-group.is-nowrap.is-layout-flex {
  gap: 0;
}

.hero-articles .wp-block-group.is-nowrap.is-layout-flex {
  font-weight: 400;
  font-size: 1em;
  margin-bottom: 0.5rem;
}

.hero-articles > div > div > div:last-of-type > div,
.hero-articles > div > div > div:last-of-type > div > div,
.hero-articles > div > div > div:last-of-type > div > div > div {
  height: 100%;
}

.hero-articles .wp-block-query.is-layout-flow > div > div > ul {
  height: 100%;
  justify-content: space-around;
  gap: 1rem;
} */

/* comment and form work */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
input[type="number"],
input[type="search"],
textarea,
.search-field,
.comments-area .comment-respond input[type="text"],
.comments-area .comment-respond input[type="email"],
.comments-area .comment-respond input[type="url"] {
  border: none;
  color: black;
  border-bottom: 2px solid var(--red);
}

.comments-area .comment-respond textarea,
.comments-area .comment-respond input[type="text"],
.comments-area .comment-respond input[type="email"],
.comments-area .comment-respond input[type="url"],
.search-field {
  border-radius: 0;
}

textarea,
.comments-area .comment-respond input[type="text"],
.comments-area .comment-respond input[type="email"],
.comments-area .comment-respond input[type="url"] {
  background: none;
  overflow: hidden;
  resize: vertical;
  padding: 0.5rem 0.125rem;
}

textarea::placeholder,
.comments-area .comment-respond input[type="text"],
.comments-area .comment-respond input[type="email"],
.comments-area .comment-respond input[type="url"],
.search-field {
  opacity: 0.9;
  color: black;
}

textarea::-webkit-resizer {
  display: none;
}

textarea:focus,
input:focus,
.search-field:focus {
  outline: none;
  border-color: var(--maroon) !important;
}

.main-navigation ul li:hover > ul.sub-menu,
.main-navigation ul li a:focus ~ ul.sub-menu,
.main-navigation ul li a:focus > ul.sub-menu,
.main-navigation ul li a:focus ul.sub-menu,
.primary-menu ul li ul.sub-menu:focus-within,
.primary-menu ul li ul.sub-menu:focus-within,
.pmenu a:focus ~ .sub-menu,
.main-navigation ul li a:focus ~ ul,
.main-navigation ul li:hover > ul,
.pmenu li:focus-within > .sub-menu {
  display: none;
}

/* somethings messy with the table at 980 */

@media screen and (min-width: 901px) {
  .sheader .toggle-mobile-menu:before {
    color: var(--red);
  }
}

@media screen and (max-width: 900px) {
  .site-branding.branding-logo {
    padding: 14px 0;
  }
}

.posts-entry .entry-content p:last-child {
  margin-bottom: 1rem;
}

.grid-display {
  margin: 2rem 0 2rem 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1.5rem;
}

.posts-entry .entry-content .grid-child p:last-child,
.posts-entry .entry-content .hero-articles p:last-child {
  margin-bottom: 0;
}

.hero-articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;

  justify-items: stretch;

  margin: 0 0 1rem 0;
}
.hero-articles .wp-block-column .wp-block-post-title a {
  font-weight: 500;
  font-size: 1.6rem;
  hyphens: auto;
}

.hero-articles > li.wp-block-post:first-child {
  grid-area: 1 / 1 / 3 / 2;
  justify-self: stretch;
}

.hero-articles > li.wp-block-post > div.wp-block-columns {
  gap: 1rem;
}

.hero-articles .attachment-post-thumbnail.wp-post-image {
  height: 230px;
  object-fit: cover;
}

.hero-articles
  > li.wp-block-post:first-child
  > div.wp-block-columns
  .attachment-post-thumbnail.wp-post-image {
  height: 275px;
}

.hero-articles
  > li.wp-block-post:first-child
  > div.wp-block-columns
  .wp-block-post-title
  a {
  font-weight: 500;
  font-size: 1.75rem;
}

.hero-articles .hentry,
.hero-articles .page-links,
.hero-articles .wp-block-columns,
body:not(.post-template-default)
  .hero-articles
  .attachment-post-thumbnail.wp-post-image {
  margin: 0;
}

.hero-articles > li.wp-block-post:first-child > div.wp-block-columns {
  flex-direction: column;
}

.hero-articles > li.wp-block-post:nth-child(2) {
  grid-area: 1 / 2 / 2 / 3;
}
.hero-articles > li.wp-block-post:nth-child(3) {
  grid-area: 2 / 2 / 3 / 3;
}

.hero-articles .wp-block-column > div.is-nowrap {
  gap: 0;
  margin-bottom: 0.5rem;
}

/* cookeis */

#cookie-notice {
  font-size: 1em !important;
  font-family: var(--sans-serif-font) !important;
}

#cookie-notice a {
  color: var(--foreground);
}

.cn-button {
  color: var(--foreground) !important;
  background: var(--red) !important;
  margin: 0 0 0 16px !important;
  border-radius: 6px !important;
  border: none !important;
  padding: 10px 12px !important;
  font-weight: 600 !important;
  font-size: 1em;
}

.cookie-notice-container {
  padding: 0.5em !important;
}

.cn-close-icon:before,
.cn-close-icon:after {
  background-color: var(--foreground) !important;
}

.cn-close-icon {
  opacity: 1 !important;
}

.header-widgets-wrapper {
  display: none;
}

@media screen and (max-width: 900px) {
  .site-info {
    margin-top: 4rem;
  }

  .site-info > .content-wrap {
    padding: 1rem 1.5rem;
  }

  .grid-display {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-display {
    margin: 3rem 0 3rem 0;
  }
}

/* articles */

@media screen and (max-width: 1200px) {
  .hero-articles {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-articles > li.wp-block-post:first-child {
    grid-area: 1 / 1 / 2 / 2;
  }
  .hero-articles > li.wp-block-post:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
  }
  .hero-articles > li.wp-block-post:nth-child(3) {
    grid-area: 1 / 3 / 2 / 4;
  }

  .hero-articles > li.wp-block-post > div.wp-block-columns {
    flex-direction: column;
  }

  .hero-articles
    > li.wp-block-post
    > div.wp-block-columns
    .attachment-post-thumbnail.wp-post-image,
  .hero-articles
    > li.wp-block-post:first-child
    > div.wp-block-columns
    .attachment-post-thumbnail.wp-post-image {
    height: 250px;
  }

  .hero-articles .wp-block-column .wp-block-post-title a {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 900px) {
  .hero-articles {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-articles > li.wp-block-post:first-child {
    grid-area: 1 / 1 / 2 / 3;
  }
  .hero-articles > li.wp-block-post:nth-child(2) {
    grid-area: 2 / 1 / 3 / 2;
  }
  .hero-articles > li.wp-block-post:nth-child(3) {
    grid-area: 2 / 2 / 3 / 3;
  }

  .hero-articles > li.wp-block-post > div.wp-block-columns {
    flex-direction: column;
  }

  .hero-articles
    > li.wp-block-post:first-child
    > div.wp-block-columns
    .attachment-post-thumbnail.wp-post-image {
    height: 300px;
  }

  .hero-articles .wp-block-column .wp-block-post-title a {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 650px) {
  .hero-articles {
    grid-template-columns: 1fr;
  }

  .hero-articles > li.wp-block-post:first-child {
    grid-area: 1 / 1 / 2 / 2;
  }
  .hero-articles > li.wp-block-post:nth-child(2) {
    grid-area: 2 / 1 / 3 / 2;
  }
  .hero-articles > li.wp-block-post:nth-child(3) {
    grid-area: 3 / 1 / 4 / 3;
  }

  .hero-articles
    > li.wp-block-post:first-child
    > div.wp-block-columns
    .attachment-post-thumbnail.wp-post-image {
    height: 250px;
  }

  .grid-display {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 
Copyright © 2023 BBC. The BBC is not responsible for the content of external sites. Read about our approach to external linking.
*/

.attachment-post-thumbnail.wp-post-image {
  max-width: 750px;
  height: auto;
}

/*  featured theory page

policies page! */

body:not(.home) .entry-content > *:not(.alignwide) {
  max-width: 40rem;
  margin-inline: auto;
}

body:not(.home) .entry-content > h2,
body:not(.home) .entry-content > h3,
body:not(.home) .entry-content > h4,
body:not(.home) .entry-content > h5 {
  max-width: 750px !important;
}

.entry-content > ul {
  list-style-position: inside;
}

.entry-content > ul > li {
  padding-left: 1.5rem;
}

.post-template-default h1.entry-title,
.post-template-default h2.entry-title,
.post-template-default h2.entry-title a:hover,
.post-template-default h2.entry-title a:active {
  text-align: center;
  max-width: 750px;
  margin-inline: auto;
}

.post-template-default .entry-meta {
  text-align: center;
  padding: 0;
}

.post-template-default .post-data-text {
  text-align: center;
  padding: 0;
  display: block;
  margin: 0;
}

.slb-wrapper {
  margin: 0;
  text-align: center;
}

#slb_viewer_wrap .slb_theme_slb_baseline .slb_template_tag_item_content > img {
  border-radius: 0;
}

.attachment-post-thumbnail.wp-post-image {
  margin-bottom: 1rem;
}

.comments-area {
  max-width: 750px;
  margin-inline: auto;
}

.attachment-minimalistblogger-slider {
  display: block;
  border-radius: 4px;
  height: 300px;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 1em;
  margin-inline: auto;
}

.blog .site-main > header {
  display: none;
}

.blog .site-main,
.search .site-main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1%;
  justify-content: center;
}

.blog .site-main article,
.search .site-main article {
  width: 32%;
}

.blog .site-main > div.text-center,
.search .site-main > div.text-center {
  flex-basis: 100%;
}

@media screen and (max-width: 900px) {
  .blog .site-main article,
  .search .site-main article {
    width: 49%;
  }
}

@media screen and (max-width: 575px) {
  .blog .site-main article,
  .search .site-main article {
    width: 100%;
  }
}

#comments h3#reply-title {
  text-align: left;
}

#comments ol.comment-list,
#commentform {
  max-width: 40rem;
  margin-inline: auto;
}

/* footer width 96 98! */

.recommended-articles {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1%;
  align-items: baseline;
}

.recommended-area h2 {
  margin-bottom: 0;
}

.recommended-articles > article {
  width: 32%;
}

.recommended-articles > article h2 {
  margin-bottom: 0;
}

.recommended-articles .attachment-minimalistblogger-slider {
  display: block;
  border-radius: 4px;
  height: 250px;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 1em;
  margin-inline: auto;
}

.wp-block-post-title {
  hyphens: auto;
}

.wp-block-post-title:hover {
  color: var(--maroon);
}

@media screen and (max-width: 900px) {
  article h1,
  article h2,
  article h3,
  article h4,
  article h5,
  article h6 {
    margin-bottom: 0;
  }

  body.blog .sheader {
    margin-bottom: 2rem;
  }

  .recommended-articles > article {
    width: 49%;
  }

  .recommended-articles > article:last-of-type {
    display: none;
  }
}

@media screen and (max-width: 550px) {
  .recommended-articles {
    gap: 1rem;
  }

  .recommended-articles > article {
    width: 100%;
  }
}

/* misc page fixes */

.error404 main#main,
.search-no-results section.fbox.no-results.not-found {
  border: none;
}

.search-field {
  background-color: transparent;
  height: 43px;
}

.error404 .search-form label,
.search-no-results .search-form label {
  border: none;
}

.search-results h1.page-title {
  border: none;
}

.blogposts-list h1.entry-title,
.blogposts-list h2.entry-title,
.blogposts-list h2.entry-title a:hover,
.blogposts-list h2.entry-title a:active {
  text-align: left;
}

.post-data-text,
.entry-meta,
.blog-data-wrapper {
  text-align: left;
  margin: 0;
  padding: 0;
}

.blog-data-wrapper + p {
  margin-top: 0.5rem;
}

/*  remove dates */

.blogposts-list .entry-meta {
  display: none;
}

.footer-column-three input[type="search"],
input.wpcf7-form-control,
.footer-column-three input[type="search"]:focus {
  border: none;
  background: transparent;
  color: black;
  border-radius: 4px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: var(--foreground);
  font-weight: 500;
  padding: 0.25rem;
}

input.wpcf7-form-control {
  border-bottom: 2px solid var(--red);
  color: black;
}

.footer-column-three input[type="search"]::placeholder {
  color: var(--foreground);
  opacity: 0.9;
  font-weight: 500;
}

.wpcf7 label {
  text-transform: initial;
}

.wpcf7 input,
.wpcf7 textarea {
  border-color: var(--red);
  font-weight: 500;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
  border: none;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
  border: none;
}

.footer-column-three .wp-block-search__button {
  margin-left: 0;
  margin-right: 0.25rem;
  background: transparent;
  color: var(--foreground);
  padding: 0.25rem;
  padding-left: 0;
}

.footer-column-three .wp-block-search__button svg {
  filter: drop-shadow(1px 0px 0 var(--foreground));
}

.footer-column-three .wp-block-search__inside-wrapper {
  max-width: 80%;
  flex-direction: row-reverse;
  padding: 0;
}
.progress-wrap {
  box-shadow: none !important;
}

.progress-wrap:hover {
  background-color: var(--maroon);
}

.footer-column-wrapper {
  gap: 3%;
}
.footer-column-three {
  max-width: 30%;
}

.grid-header,
.wp-block-material-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.grid-header i {
  color: var(--red);
  font-size: 48px;
  user-select: none;
}

.grid-child p {
  hyphens: auto;
}

.grid-header h1 {
  font-size: 1.825rem;
}

@media screen and (min-width: 901px) {
  #smobile-menu.show {
    display: none !important;
  }
}

@media screen and (max-width: 900px) {
  .site-info .footer-column-three {
    max-width: 47%;
  }
  .footer-column-wrapper {
    justify-content: space-between;
    gap: 2em;
  }
}

@media screen and (max-width: 550px) {
  .site-info .footer-column-three {
    max-width: 100%;
  }
}

.wpcf7-list-item {
  --gray: #636e72;
  --very-light-gray: #eee;
  --light-gray: #9098a9;
  --x-light-gray: #dfe6e9;
  /* --gradient: linear-gradient(
    180deg,
    #e02020 0%,
    #fa6400 17%,
    #f7b500 33%,
    #6dd400 50%,
    #0091ff 67%,
    #6236ff 83%,
    #b620e0 100%
  ); */
  --gradient: linear-gradient(180deg, var(--red) 0%, var(--red) 100%);
}

.wpcf7-list-item label {
  font-size: 1.35em;
}

.wpcf7-list-item input,
.comment-form-cookies-consent input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 0.9em;
  height: 0.9em;
  font: inherit;
  border: 1px solid rgba(0, 0, 0, 0.8);
  margin-bottom: -0.125em;
}
.wpcf7-list-item input[type="checkbox"],
.comment-form-cookies-consent input[type="checkbox"] {
  border-radius: 4px;
}
.wpcf7-list-item input:checked,
.comment-form-cookies-consent input:checked {
  border-color: transparent;
  background: var(--red) border-box;
  box-shadow: 0 0 0 2px inset var(--foreground);
}

.wpcf7-list-item input:not(:checked):hover,
.comment-form-cookies-consent input:not(:checked):hover {
  border-color: transparent;
  background: linear-gradient(var(--foreground), var(--foreground)) padding-box,
    var(--red) border-box;
}

.wpcf7-form-control {
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.wpcf7-form-control .wpcf7-list-item {
  display: flex;
  gap: 0.5rem;
  flex-direction: row;
  align-items: center;
}

.wpcf7-form label {
  color: red;
  font-weight: 550;
}

input.wpcf7-form-control.wpcf7-submit {
  display: block;
  margin: auto;
  width: auto;
}

#smobile-menu {
  background-color: transparent;
}

#smobile-menu .pmenu > li > a {
  background-color: var(--red);
}

#smobile-menu .pmenu > li > a:hover {
  background-color: var(--maroon);
}

@media screen and (max-width: 700px) {
  article .entry-content {
    margin-top: 0;
  }
}

.grid-display-svg {
  height: 3rem;
  fill: var(--red);
}

body.home.page-template-default .entry-header {
  display: none;
}

@media screen and (max-width: 900px) {
  .super-menu,
  .toggle-mobile-menu {
    display: block;
  }
}

.blogposts-list .entry-content {
  margin-bottom: 1rem;
}

/* button fix */

@media screen and (max-width: 900px) {
  .toggle-mobile-menu {
    margin: initial;
    margin-left: auto;
  }
}

.sheader .toggle-mobile-menu {
  width: fit-content;
}

.sheader .super-menu .toggle-mobile-menu {
  padding-left: 0.5rem;
}

.single-post .comments-area .comment-respond input[type="email"]::placeholder,
.single-post .comments-area .comment-respond input[type="text"]::placeholder,
.single-post .comments-area .comment-respond input[type="url"]::placeholder {
  opacity: 0.9;
  color: black;
}

label[for="email"],
label[for="author"] {
  display: none !important;
}

label[for="wp-comment-cookies-consent"] {
  color: black;
  opacity: 0.9;
}
