/*
Theme Name:     MSK
Theme URI:      https://www.meska.me/
Description:    Child-Theme von Hitchcock
Author:         Meska
Author URI:     https://www.meska.me/
Template:       hitchcock
Version:        2.0
*/

html,
body {
  margin: 0;
  overflow-x: hidden;
}

.excerpt-bar a,
.title-bar a {
  color: inherit;
  text-decoration: none;
}

.excerpt-bar,
.msk-footer-ad {
  box-sizing: border-box;
}

.has-post-thumbnail .post-overlay {
  background: rgba(0, 0, 0, .25);
  opacity: 0;
}

.archive-title-prefix,
.mobile-break {
  display: none;
}

.scrim {
  background-color: #000 !important;
}

.main-menu ul ul ul,
.main-menu ul.sub-menu {
  min-width: 240px !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  background-color: #1d1d1d !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}

.main-menu ul ul ul li a,
.main-menu ul.sub-menu li a {
  white-space: nowrap !important;
  width: 100% !important;
  display: block !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  text-align: left !important;
  position: relative;
}

.main-menu ul.sub-menu li {
  width: 100% !important;
  background: none !important;
  border: none !important;
}

.main-menu ul.sub-menu li.menu-item-has-children > a::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #aaa;
  width: 0;
  height: 0;
}

.main-menu ul.sub-menu li.menu-item-has-children {
  position: relative !important;
}

.main-menu ul.sub-menu li.menu-item-has-children > ul {
  left: 100% !important;
  top: 0 !important;
  transform: translateX(0) !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.breadcrumb-wrapper {
  background-color: #1d1d1d;
  padding: 10px 20px;
  text-align: center;
  font-size: 14px;
}

.breadcrumb-wrapper #breadcrumbs {
  color: #ccc;
  margin: 0;
}

.breadcrumb-wrapper #breadcrumbs a {
  color: #f05a8a;
  text-decoration: none;
}

.breadcrumb-wrapper #breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumb_last {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  padding-right: 10px;
}

.single .entry-title {
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.entry-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-byline {
  font-size: 16px;
  font-style: italic;
  color: #888;
  margin-top: .5em;
  text-align: center;
  line-height: 1.4;
}

.copy-link-wrapper,
.jetpack-likes-widget-wrapper {
  text-align: center;
  margin: 2rem 0;
}

.copy-link-button {
  display: inline-block !important;
  background-color: #e62c77 !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 12px 20px !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background-color .3s !important;
}

.copy-link-button:focus,
.copy-link-button:hover {
  background-color: #cc2568 !important;
  outline: 0 !important;
}

.sd-like .sd-like-button {
  background: none;
  border: 2px solid #f05a8a;
  color: #f05a8a;
  padding: .5em 1em;
  font-weight: 700;
  border-radius: 3px;
  transition: .3s;
}

.sd-like .sd-like-button:hover {
  background: #f05a8a;
  color: #fff;
}

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

form.comment-form #submit {
  margin: 1rem auto 0;
  display: inline-block;
}

.single .post-inner {
  margin-top: -2rem;
}

@media screen and (max-width: 600px) {
  .mobile-break {
    display: inline;
  }
}

@media screen and (max-width: 768px) {
  .single .entry-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .post-byline .break {
    display: block;
    margin-top: .3rem;
  }
}

@media screen and (min-width: 769px) {
  .post-byline .break {
    display: inline;
  }
}

.footer-links {
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

.excerpt-bar,
.title-bar {
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
}

article.post {
  display: flex;
  flex-direction: column;
  padding-bottom: 0 !important;
  height: auto !important;
}

.post-thumbnail {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
  flex-grow: 1;
}

.post-thumbnail img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
}

.title-bar {
  background: rgba(30, 30, 30, .95);
  font-family: Raleway, sans-serif;
  font-weight: 700;
  font-size: .9em;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .7em;
  text-align: center;
  white-space: nowrap;
}

.excerpt-bar {
  background: rgba(0, 0, 0, .8);
  padding: .8em;
  font-size: .85em;
  line-height: 1.4em;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  height: calc(1.4em * 5 + 1em);
  -webkit-user-select: text;
  user-select: text;
}

.archive-grid,
.post-grid,
.post-list {
  align-items: flex-start;
}

.excerpt-bar a {
  display: block;
  height: 100%;
}

.structured-comment {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 2em;
}

.comment-avatar img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.comment-body-content {
  flex: 1;
}

.comment-meta-header {
  line-height: 1.3;
  margin-bottom: 8px;
}

.comment-author-name {
  font-weight: 700;
  color: #e20074;
}

.comment-date-line {
  color: #888;
  font-size: .85em;
}

.comment-respond {
  position: relative;
  min-height: 110px;
}

.comment-respond .must-log-in {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0 1rem;
  text-align: center;
  width: 100%;
}

#back-to-top.back-nav-button {
  position: fixed;
  bottom: 20px;
  right: 0;
  width: 45px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  border-radius: 4px 0 0 4px;
  transform: translateX(0);
  transition: transform .3s, bottom .3s;
  opacity: 0;
  pointer-events: none;
}

#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover {
  transform: translateX(-10px);
  box-shadow: 10px 0 0 #2a2a2a;
}

#back-to-top .fa {
  line-height: 1;
}

@media screen and (max-width: 768px) {
  #back-to-top.back-nav-button {
    width: 100%;
    height: 60px;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    transform: translateY(0);
    box-shadow: none;
    font-size: 40px;
  }

  #back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 0 #2a2a2a;
  }
}

.overview-wide.section-inner {
  width: 1280px;
  max-width: 95%;
  margin: 0 auto;
  padding: 24px;
}

@media (min-width: 1400px) {
  .overview-wide.section-inner {
    width: 1400px;
  }
}

.overview-wide .wp-block-cover {
  margin-bottom: 32px;
}

.overview-wide .wp-block-columns {
  row-gap: 24px;
}

.overview-wide .wp-block-button__link {
  border-radius: 999px;
}

.eric-cover,
.kalender-cover,
.minifreun-cover {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

body.admin-bar .eric-cover,
body.admin-bar .kalender-cover,
body.admin-bar .minifreun-cover {
  min-height: calc(100svh - 32px);
}

@media (max-width: 782px) {
  body.admin-bar .eric-cover,
  body.admin-bar .kalender-cover,
  body.admin-bar .minifreun-cover {
    min-height: calc(100svh - 46px);
  }
}

.eric-cover .wp-block-cover__inner-container,
.kalender-cover .wp-block-cover__inner-container,
.minifreun-cover .wp-block-cover__inner-container {
  display: block;
}

.wp-site-blocks {
  padding: 0;
}

.single .entry-content p {
  line-height: 1.65;
}

@media (max-width: 899px) {
  .single .post-header {
    width: auto;
    max-width: 92vw;
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .single .post-inner {
    width: auto;
    max-width: 92vw;
    padding-top: 0;
    padding-bottom: 60px;
  }

  .comments-inner,
  .comment-respond form {
    max-width: 92vw;
  }
}

@media (min-width: 900px) {
  .single .post-header {
    width: auto;
    max-width: 74ch;
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .single .post-inner {
    width: auto;
    max-width: 74ch;
    padding-top: 0;
    padding-bottom: 80px;
  }

  .comments-inner,
  .comment-respond form {
    max-width: 74ch;
  }
}

@media (min-width: 1200px) {
  .single .post-header {
    max-width: 78ch;
  }

  .single .post-inner {
    max-width: 78ch;
  }

  .comments-inner,
  .comment-respond form {
    max-width: 78ch;
  }
}

.page .entry-title {
  margin-bottom: 2.5rem;
}

.single-post .entry-title {
  margin-bottom: 1rem;
}

.page .entry-content {
  margin-top: 1rem;
}

.footer-widgets .wp-block-jetpack-subscriptions,
.footer-widgets .wp-block-jetpack-subscriptions .wp-block-buttons,
.footer-widgets .wp-block-jetpack-subscriptions .wp-block-button {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.footer-widgets .wp-block-jetpack-subscriptions .wp-block-buttons {
  display: flex !important;
  justify-content: flex-start !important;
}

.footer-widgets .wp-block-jetpack-subscriptions .wp-block-button {
  flex: 0 0 100% !important;
}

.footer-widgets a.wp-block-button__link[href*="wordpress.com/reader/site/subscription"] {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 15px 23px !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  background: #e62c77 !important;
  color: #fff !important;
  box-sizing: border-box !important;
}

.footer-widgets a.wp-block-button__link[href*="wordpress.com/reader/site/subscription"]:hover {
  background: #cc2568 !important;
}

@media (max-width: 900px) {
  .mobile-menu li {
    margin: 0;
  }

  .mobile-menu .mobile-menu-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
  }

  .mobile-menu .mobile-menu-item-header > a {
    flex: 1 1 auto;
    padding: 20px 0;
  }

  .mobile-menu .mobile-menu-item-header .submenu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 20px 0 20px 1rem;
    background: none;
    border: 0;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #999;
    cursor: pointer;
  }

  .mobile-menu .mobile-menu-item-header .submenu-label {
    opacity: .8;
  }

  .mobile-menu .mobile-menu-item-header .submenu-icon {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transform-origin: center;
    transition: transform .2s;
  }

  .mobile-menu li.submenu-open > .mobile-menu-item-header .submenu-icon {
    transform: rotate(180deg);
  }

  .mobile-menu ul.sub-menu,
  .mobile-menu ul.children {
    display: none;
  }

  .mobile-menu li.submenu-open > ul {
    display: block;
  }
}

.category .archive-header .archive-title {
  visibility: hidden;
}

body.single #site-content,
body.page:not(.home) #site-content {
  padding-top: 3rem;
}

.author-hero {
  max-width: 1100px;
  margin: 3.5rem auto 4rem;
}

.author-hero-box {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 3rem;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

.author-hero-avatar a {
  display: inline-block;
}

.author-hero-avatar img {
  width: 180px;
  height: 180px;
  border-radius: 999px;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  object-fit: cover;
}

.author-hero-body {
  flex: 1;
}

.author-hero-body,
.author-hero-kicker,
.author-hero-name,
.author-hero-bio,
.author-hero-meta,
.author-hero-meta-item,
.author-hero-meta-sep {
  color: #111;
}

.author-hero-kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  margin: 0 0 .4rem;
  opacity: .75;
}

.author-hero-name {
  font-size: 2.2rem;
  margin: 0 0 .8rem;
}

.author-hero-bio {
  margin: 0 0 1.4rem;
  line-height: 1.6;
}

.author-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
}

.author-hero-meta-item {
  font-weight: 600;
}

.author-hero-meta-sep {
  opacity: .6;
}

.author-hero-link {
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, .25);
}

.author-hero-link:hover {
  border-bottom-color: #111;
}

@media (max-width: 768px) {
  .author-hero {
    margin: 2.5rem auto 3rem;
  }

  .author-hero-box {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.75rem;
  }

  .author-hero-avatar img {
    width: 140px;
    height: 140px;
  }

  .author-hero-meta {
    justify-content: center;
  }
}

.author-comments {
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.author-comments-box {
  background: #fff;
  border-radius: 4px;
  padding: 2.5rem 3rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

.author-comments-title {
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
}

.author-comments-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.author-comment-item + .author-comment-item {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.author-comment-meta {
  margin: 0 0 .3rem;
  font-size: .9rem;
}

.author-comment-meta a {
  text-decoration: underline;
}

.author-comment-date {
  font-size: .85rem;
  opacity: .7;
}

.author-comment-excerpt {
  font-size: .95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .author-comments-box {
    padding: 2rem 1.75rem;
  }

  .author-comments-title {
    font-size: 1.3rem;
  }
}

.category .author-comment-date {
  font-size: inherit;
  opacity: 1;
}

.author-comments.search-results {
  margin-top: 0;
}

.search-hero {
  margin-bottom: 2.5rem;
}

.search-hero .author-hero-box {
  justify-content: flex-start;
}

.search-hero .author-hero-body {
  max-width: 100%;
}

.search-hero .author-hero-name {
  margin-top: 0;
}

.search-hero-form {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: .75rem;
  margin: 1.25rem 0 .75rem;
  width: 100%;
}

.search-hero-input {
  flex: 1 1 auto;
  height: 2.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 0 1rem;
  font-size: 1rem;
  color: #333;
}

.search-hero-button {
  flex: 0 0 auto;
  height: 2.8rem;
  padding: 0 1.6rem;
  border-radius: 6px;
  border: 0;
  background: #e62c77;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.search-hero-button:hover {
  background: #cc2568;
}

.search-filter-form {
  margin: .35rem 0 0;
  width: 100%;
}

.search-filter-form .filter-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  justify-content: flex-start;
}

.search-filter-label {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .75;
}

.search-filter-form select {
  height: 2.5rem;
  font-size: .9rem;
  border-radius: 0;
  border: 0;
  padding: 0 1.4rem 0 0;
  color: #111;
  background: transparent;
}

.search-filter-loading {
  display: none;
  font-size: .85rem;
  color: #888;
}

.search-results {
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.search-results-box {
  padding: 2.3rem 3rem 2.7rem;
  margin: 0;
}

.search-results-box .author-comments-title {
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
}

.search-results-list {
  margin: 0;
}

.search-result {
  margin-bottom: 2rem;
}

.search-result-title {
  margin: 0 0 .6rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.search-result-title a,
.search-result-title a:hover {
  color: inherit;
  text-decoration: none;
}

.search-result-excerpt {
  margin: .5rem 0 1rem;
}

.search-result-meta {
  font-size: .9em;
  color: #555;
}

.search-result-meta a,
.search-result-meta a:hover {
  color: inherit;
  text-decoration: none;
}

.search-result mark {
  background: none;
  color: var(--accent-color, #e62c77);
  font-weight: 700;
}

.search-results .post-content.entry-content {
  margin-top: 0;
}

.search-results .post-content.entry-content > *:first-child {
  margin-top: 0;
}

body.search .content.section-inner {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .search-hero-form {
    flex-direction: column;
  }

  .search-hero-button {
    width: 100%;
  }

  .search-filter-form .filter-inner {
    justify-content: center;
    text-align: center;
  }

  .search-filter-label {
    width: 100%;
  }

  .search-results-box {
    padding: 2rem 1.75rem 2.4rem;
  }

  .search-results-box .author-comments-title {
    font-size: 1.3rem;
  }
}

#webmention-form,
.webmention-form,
.webmention {
  display: none !important;
}

.webmention-facepile {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .75rem 0 0;
}

.webmention-facepile img {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.webmention-replies .comment,
.webmention-likes .comment,
.webmention-reposts .comment {
  border: 1px solid var(--wp--preset--color--contrast-3, #e5e7eb);
  border-radius: 10px;
  padding: .5rem .75rem;
  margin: .5rem 0;
}

.footer-meta-nav {
  background-color: #2d2d2d;
  padding: 12px 0;
  margin-top: 12px;
}

.footer-meta-nav p {
  margin: 0;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
  text-align: center;
}

.footer-meta-nav a {
  text-decoration: none;
  padding: 0 .4em;
}

.footer-meta-nav a:focus,
.footer-meta-nav a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .footer-meta-nav p {
    font-size: 11px;
    line-height: 1.6;
  }
}

.msk-card-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  transition: filter .35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .msk-card-thumb {
    filter: grayscale(80%) brightness(0.85);
  }

  .post-thumbnail:hover .msk-card-thumb,
  .post-thumbnail:focus-within .msk-card-thumb {
    filter: grayscale(0%) brightness(1);
  }
}
