/**
 * 文章頁基礎：封面、標題、署名、標籤、頁面與 404 的版面（源自 Dyad，已精簡）
 *
 * @package Yafun2027
 */

.is-singular .content-area article {
  padding-bottom: 2rem;
}

.byline {
  display: none;
}

.is-singular .byline,
.group-blog .byline {
  display: inline;
}

.entry-title {
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
}

.page-title {
  margin: 0;
  padding: 0 2rem 5rem;
  text-align: center;
  overflow-wrap: break-word;
}

.error404 .entry-inner {
  margin: 0 auto;
  max-width: 900px;
  padding: 3rem 0 5rem;
  position: relative;
}

.error404 .entry-header {
  padding-bottom: 3em;
  padding-top: 3rem;
  text-align: center;
}

.error404 .entry-content > p {
  text-align: center;
}

.error404 .error404-widgets {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.is-singular:not(.home) .site-inner {
  background: #fff;
  float: right;
  position: relative;
  width: 50%;
}

.is-singular:not(.home):not(.has-post-thumbnail) .site-inner {
  float: none;
  width: auto;
}

.is-singular:not(.home):not(.single-format-image) .site-content {
  padding: 13.5rem 0 0;
}

.is-singular .entry-inner {
  margin: 50px auto 0;
  position: relative;
}

.has-post-thumbnail.is-singular .entry-inner {
  max-width: 72%;
}

body:not(.has-post-thumbnail).is-singular .entry-inner {
  max-width: 700px;
}

.is-singular .entry-inner::after,
.is-singular .entry-inner::before,
.error404 .entry-inner::after,
.error404 .entry-inner::before {
  content: "";
  left: 50%;
  position: absolute;
  top: 0;
}

.is-singular .entry-inner::after,
.error404 .entry-inner::after {
  background: #e7ae01;
  border-radius: 30px;
  height: 36px;
  margin: -18px 0 0 -18px;
  width: 36px;
}

.is-singular .entry-inner::before,
.error404 .entry-inner::before {
  color: #fff;
  content: "";
  background-color: currentcolor;
  -webkit-mask: url("../../icons/footprint.svg") center / 0.8em no-repeat;
  mask: url("../../icons/footprint.svg") center / 0.8em no-repeat;
  height: 36px;
  font-size: 2.5rem;
  line-height: 36px;
  margin: -18px 0 0 -18px;
  text-align: center;
  width: 36px;
  z-index: 4;
}

.is-singular .entry-header {
  padding-bottom: 3em;
  padding-top: 3rem;
}

.is-singular:not(.home):not(.page-template-eventbrite-index) .entry-header {
  font-style: italic;
}

.is-singular:not(.has-post-thumbnail) .entry-header {
  text-align: center;
}

.has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-header {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  left: 0;
  padding: 0 6rem 6rem;
  position: fixed;
  text-align: left;
  width: 50%;
}

.is-singular:not(.page-template-eventbrite-index) .entry-header h1 {
  font-style: normal;
  margin-top: 1rem;
}

.is-singular:not(.home):not(.page-template-eventbrite-index) .entry-header a {
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-header h1,
.has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-header a {
  color: #fff;
}

.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-meta {
  font-size: 1.5rem;
  top: -20px;
}

.has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-meta {
  position: relative;
  width: 100%;
}

.has-post-thumbnail .entry-meta .cat-links {
  background: #678db8;
  color: #fff;
  display: inline-block;
  padding: 13px 15px;
}

.entry-meta .cat-links {
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.is-singular .entry-posted {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  margin-top: 1.5em;
  padding-top: 1.5em;
}

.is-singular:not(.has-post-thumbnail) .entry-posted {
  border: 0;
  margin: 0;
  padding: 1.5em 0 0;
}

.is-singular.has-post-thumbnail:not(.single-format-image):not(.page-template-eventbrite-index) .entry-posted .posted-info {
  float: left;
}

.is-singular.has-post-thumbnail:not(.single-format-image):not(.page-template-eventbrite-index) .entry-posted .edit-link {
  float: right;
}

.page.is-singular .edit-link {
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  margin-top: 1rem;
  text-transform: uppercase;
}

.is-singular:not(.has-post-thumbnail) .entry-meta .cat-links,
.is-singular:not(.has-post-thumbnail) .entry-posted {
  font-size: 1.5rem;
}

.is-singular.has-post-thumbnail:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-content {
  padding-top: 4em;
}

.is-singular .entry-content::before,
.error404 .entry-content::before {
  border-top: 1px solid #e0e0e0;
  content: "";
  display: block;
  left: 25%;
  position: absolute;
  right: 25%;
  top: 0;
}

.is-singular .entry-media {
  background-color: #242629;
  background-position: 50% 50%;
  background-size: cover;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 50%;
}

.is-singular .entry-media-thumb {
  background-color: #292c2f;
  background-position: 50% 50%;
  background-size: cover;
  overflow: hidden;
  padding-bottom: 66%;
}

.admin-bar.is-singular .entry-media {
  top: 32px;
}

@media only screen and (max-width: 1400px) {
  .has-post-thumbnail .entry-meta .cat-links {
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-header {
    padding: 0 4rem 3rem;
  }

}
@media only screen and (max-width: 1200px) {
  .page-title {
    padding: 3rem 0;
  }

  .error404 .entry-inner {
    margin: 90px auto 0;
  }

  .is-singular.has-post-thumbnail:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .site-inner {
    width: 65%;
  }

  .is-singular:not(.has-post-thumbnail) .site-content {
    margin-left: auto;
    margin-right: auto;
  }

  .is-singular .entry-header,
  .has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-header {
    padding: 3em 0 0;
    text-align: center;
  }

  .has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-header {
    background: transparent;
    color: #6a6c6e;
    position: relative;
    width: auto;
  }

  .is-singular:not(.eventbrite-archive) .entry-header h1,
  .error404 .entry-header h1 {
    font-size: 4rem;
  }

  .has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-header h1 {
    color: #1a1c1e;
  }

  .has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-header a,
  .has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-header .cat-links {
    color: #6a6c6e;
  }

  .is-singular .entry-posted {
    border-top: 0;
    font-size: 1.5rem;
    margin-top: 0;
    text-align: center;
  }

  .page.is-singular .edit-link {
    font-size: 1.5rem;
  }

  .is-singular.has-post-thumbnail:not(.single-format-image):not(.page-template-eventbrite-index) .entry-posted .posted-info,
  .is-singular.has-post-thumbnail:not(.single-format-image):not(.page-template-eventbrite-index) .entry-posted .edit-link {
    float: none;
  }

  .is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-meta {
    top: auto;
  }

  .has-post-thumbnail .entry-meta .cat-links {
    background: transparent;
    padding: 0;
  }

  .is-singular .entry-content,
  .is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-content {
    padding-top: 3rem;
  }

  .is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-media {
    width: 35%;
  }

}
@media only screen and (min-width: 961px) {
  .is-singular .entry-media-thumb {
    background-image: none !important;
    display: none;
  }

}
@media only screen and (max-width: 960px) {
  .is-singular:not(.home) .site-inner,
  .is-singular.has-post-thumbnail:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .site-inner {
    width: 100%;
  }

  .is-singular .entry-inner,
  .has-post-thumbnail.is-singular .entry-inner,
  body.is-singular:not(.has-post-thumbnail) .entry-inner,
  .error404 .entry-inner {
    max-width: 100%;
    padding-left: 8%;
    padding-right: 8%;
  }

  .is-singular:not(.home):not(.single-format-image) .entry-inner {
    margin: 90px auto 0;
  }

  .is-singular:not(.eventbrite-archive) .entry-header h1,
  .error404 .entry-header h1 {
    font-size: 3.5rem;
  }

  .admin-bar.is-singular .entry-media {
    top: auto;
  }

  .is-singular .entry-media,
  .is-singular:not(.home) .entry-media,
  .is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-media {
    height: auto;
    margin: 0 0 5.5rem;
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    background: none !important;
  }

  .is-singular .entry-media-thumb {
    display: block;
  }

  .tags-links {
    line-height: 1.6;
  }

  .is-singular .entry-footer {
    line-height: 3.62rem;
    margin-top: 1.62rem;
    padding: 1rem 1.62rem;
    position: relative;
  }

}
@media only screen and (max-width: 680px) {
  .entry-header {
    padding: 0 0 2rem;
  }

  .error404 .error404-widgets {
    display: block;
    margin: 0;
    width: 100%;
  }

  .is-singular .entry-inner {
    margin-top: 60px;
  }

  .is-singular .entry-inner::after,
  .error404 .entry-inner::after {
    height: 30px;
    margin: -15px 0 0 -15px;
    width: 30px;
  }

  .is-singular .entry-inner::before,
  .error404 .entry-inner::before {
    font-size: 2rem;
    height: 30px;
    line-height: 30px;
    margin: -15px 0 0 -15px;
    width: 30px;
  }

  .is-singular:not(.eventbrite-archive) .entry-header h1,
  .error404 .entry-header h1 {
    font-size: 3rem;
  }

  .has-post-thumbnail .entry-meta .cat-links,
  body:not(.has-post-thumbnail) .entry-meta .cat-links,
  .page.is-singular .edit-link,
  .is-singular .entry-posted {
    font-size: 1.3rem !important;
  }

  .is-singular .entry-content,
  .is-singular:not(.home) .entry-content,
  .is-singular.has-post-thumbnail:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-content {
    padding-top: 2rem;
  }

}
@media only screen and (max-width: 400px) {
  .is-singular:not(.eventbrite-archive) .entry-header,
  .has-post-thumbnail.is-singular:not(.home) .entry-header {
    padding: 2em 0 0;
  }

  .is-singular .entry-inner {
    margin-top: 40px;
  }

}

