:root {
  --ep-cream: #f8f5f2;
  --ep-gray: #e3e3dd;
  --ep-purple: #a48be5;
  --ep-purple-soft: #eee9fb;
  --ep-yellow: #ffd35c;
  --ep-yellow-soft: #fff6d8;
  --ep-ink: #333333;
  --ep-white: #ffffff;
  --ep-pink-soft: #f7e9ee;
  --ep-line: rgba(51, 51, 51, 0.16);
  --ep-title: "Arsenal", Georgia, serif;
  --ep-body: "Lato", Arial, sans-serif;
  --ep-radius: 20px;
  --ep-shadow: 0 12px 34px rgba(51, 51, 51, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ep-white);
  color: var(--ep-ink);
  font-family: var(--ep-body);
  font-size: 16px;
  line-height: 1.72;
  border: 10px solid var(--ep-yellow);
}

body.ep-border-purple {
  border-color: var(--ep-purple);
}

body.admin-bar {
  min-height: calc(100vh - 32px);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: #6f55b4;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-family: var(--ep-title);
  font-weight: 500;
  line-height: 1.14;
}

p:first-child {
  margin-top: 0;
}

.ep-site-shell {
  overflow: hidden;
}

.ep-container {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.ep-main {
  min-height: 56vh;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.ep-skip-link:focus {
  z-index: 99999;
  top: 18px;
  left: 18px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--ep-ink);
  color: var(--ep-white);
}

/* Header */
.ep-header {
  background: var(--ep-white);
  border-bottom: 1px solid var(--ep-line);
}

.ep-header__utility {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 560px) 1fr;
  align-items: center;
  min-height: 230px;
  padding-block: 34px;
}

.ep-header__social {
  justify-self: start;
}

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

.ep-brand .custom-logo-link {
  display: inline-block;
}

.ep-brand .custom-logo {
  width: auto;
  max-width: min(100%, 500px);
  max-height: 155px;
  object-fit: contain;
}

.ep-brand__name {
  display: block;
  font-family: var(--ep-title);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.ep-brand__tagline {
  margin: 8px 0 0;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ep-header__search {
  justify-self: end;
  width: min(100%, 220px);
}

.ep-search-form {
  display: flex;
  align-items: stretch;
  min-height: 42px;
  overflow: hidden;
  background: var(--ep-cream);
  border: 1px solid transparent;
  border-radius: 999px;
}

.ep-search-form:focus-within {
  border-color: var(--ep-purple);
}

.ep-search-form label {
  flex: 1;
}

.ep-search-form__field {
  width: 100%;
  height: 100%;
  min-height: 40px;
  padding: 0 0 0 17px;
  background: transparent;
  color: var(--ep-ink);
  border: 0;
  outline: 0;
  font-size: 0.78rem;
}

.ep-search-form__button {
  display: grid;
  width: 44px;
  padding: 0;
  place-items: center;
  background: transparent;
  color: var(--ep-ink);
  border: 0;
  cursor: pointer;
}

.ep-nav-wrap {
  border-top: 1px solid var(--ep-line);
}

.ep-nav-inner {
  min-height: 62px;
}

.ep-primary-nav,
.ep-primary-nav > div,
.ep-primary-nav ul {
  height: 100%;
}

.ep-primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.ep-primary-nav li {
  position: relative;
}

.ep-primary-nav a {
  display: block;
  padding-block: 20px;
  font-family: var(--ep-title);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.ep-primary-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 13px;
  left: 50%;
  height: 3px;
  background: var(--ep-yellow);
  border-radius: 999px;
  content: "";
  transition: left 180ms ease, right 180ms ease;
}

.ep-border-purple .ep-primary-nav a::after {
  background: var(--ep-purple);
}

.ep-primary-nav a:hover::after,
.ep-primary-nav a:focus::after,
.ep-primary-nav .current-menu-item > a::after {
  right: 0;
  left: 0;
}

.ep-primary-nav .sub-menu {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 50%;
  display: none;
  width: 220px;
  height: auto;
  padding: 10px 18px;
  background: var(--ep-white);
  border: 1px solid var(--ep-line);
  border-radius: 0 0 14px 14px;
  box-shadow: var(--ep-shadow);
  transform: translateX(-50%);
}

.ep-primary-nav li:hover > .sub-menu,
.ep-primary-nav li:focus-within > .sub-menu {
  display: block;
}

.ep-primary-nav .sub-menu a {
  padding: 9px 0;
  font-size: 0.76rem;
}

.ep-primary-nav .sub-menu a::after {
  display: none;
}

.ep-menu-toggle {
  display: none;
}

.ep-social-list {
  display: flex;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ep-social-list a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ep-line);
  border-radius: 50%;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ep-social-list a:hover,
.ep-social-list a:focus {
  background: var(--ep-yellow-soft);
  border-color: var(--ep-yellow);
  color: var(--ep-ink);
  transform: translateY(-2px);
}

.ep-social-list .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

/* Shared headings and buttons */
.ep-eyebrow,
.ep-widget__kicker {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ep-section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
}

.ep-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.ep-section-heading--feed {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ep-line);
}

.ep-text-link {
  font-family: var(--ep-title);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.ep-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  background: var(--ep-ink);
  color: var(--ep-white);
  border: 1px solid var(--ep-ink);
  border-radius: 999px;
  font-family: var(--ep-title);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.ep-button:hover,
.ep-button:focus {
  background: var(--ep-purple);
  color: var(--ep-white);
  border-color: var(--ep-purple);
  transform: translateY(-1px);
}

.ep-button--small {
  min-height: 38px;
  padding: 7px 17px;
  font-size: 0.82rem;
}

/* Featured slider */
.ep-featured {
  padding-block: 62px 54px;
}

.ep-slider-controls {
  display: flex;
  gap: 8px;
}

.ep-slider-controls button {
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--ep-white);
  border: 1px solid var(--ep-line);
  border-radius: 50%;
  cursor: pointer;
}

.ep-slider-controls button:hover,
.ep-slider-controls button:focus {
  background: var(--ep-yellow);
  border-color: var(--ep-yellow);
}

.ep-slider {
  display: grid;
  grid-auto-columns: minmax(245px, calc((100% - 60px) / 3.15));
  grid-auto-flow: column;
  gap: 20px;
  padding: 2px 2px 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--ep-purple) var(--ep-cream);
  scrollbar-width: thin;
}

.ep-slide {
  min-width: 0;
  scroll-snap-align: start;
}

.ep-slide__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ep-yellow-soft);
  border-radius: 14px;
  text-decoration: none;
}

.ep-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.ep-slide:hover .ep-slide__image img {
  transform: scale(1.025);
}

.ep-slide__title {
  margin: 13px 4px 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.ep-slide__title a {
  text-decoration: none;
}

.ep-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 220px;
  place-items: center;
  color: var(--ep-purple);
  font-family: var(--ep-title);
  font-size: 3rem;
}

/* Main feed */
.ep-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(44px, 6vw, 76px);
  align-items: start;
  padding-block: 46px 86px;
}

.ep-layout--spaced,
.ep-layout--single {
  padding-top: 70px;
}

.ep-post-list {
  display: grid;
  gap: 54px;
}

.ep-post-card {
  overflow: hidden;
  background: var(--ep-white);
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius);
  box-shadow: var(--ep-shadow);
}

.ep-post-card__image {
  display: block;
  height: clamp(260px, 39vw, 480px);
  overflow: hidden;
  background: var(--ep-yellow-soft);
  text-decoration: none;
}

.ep-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.ep-post-card:hover .ep-post-card__image img {
  transform: scale(1.018);
}

.ep-post-card__content {
  padding: clamp(26px, 4vw, 42px);
}

.ep-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ep-post-meta a {
  text-decoration: none;
}

.ep-post-card__title {
  margin: 12px 0 15px;
  font-size: clamp(1.75rem, 3.3vw, 2.35rem);
}

.ep-post-card__title a {
  text-decoration: none;
}

.ep-post-card__excerpt {
  font-size: 0.98rem;
}

.ep-post-card__excerpt p {
  margin-bottom: 0;
}

.ep-post-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--ep-line);
}

.ep-blog-home .ep-post-list {
  gap: 62px;
}

.ep-blog-home .ep-post-card {
  padding-bottom: 54px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ep-line);
  border-radius: 0;
  box-shadow: none;
}

.ep-blog-home .ep-post-card:last-child {
  border-bottom: 0;
}

.ep-blog-home .ep-post-card__image {
  border-radius: 0;
}

.ep-blog-home .ep-post-card__content {
  padding: 28px 0 0;
}

.ep-card-likes {
  color: #785fb7;
  font-size: 0.8rem;
}

.ep-pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 46px;
}

.ep-pagination .page-numbers,
.nav-links .page-numbers {
  display: grid;
  min-width: 38px;
  min-height: 38px;
  padding: 6px 10px;
  place-items: center;
  background: var(--ep-cream);
  border-radius: 999px;
  text-decoration: none;
}

.ep-pagination .current,
.nav-links .current {
  background: var(--ep-purple);
  color: var(--ep-white);
}

/* Sidebar */
.ep-sidebar {
  position: relative;
  display: grid;
  gap: 24px;
}

.ep-widget {
  padding: 24px;
  overflow: hidden;
  background: var(--ep-cream);
  border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius);
}

.ep-widget:nth-of-type(4n + 1) {
  background: var(--ep-cream);
}

.ep-widget:nth-of-type(4n + 2) {
  background: var(--ep-yellow-soft);
}

.ep-widget:nth-of-type(4n + 3) {
  background: var(--ep-purple-soft);
}

.ep-widget:nth-of-type(4n + 4) {
  background: var(--ep-pink-soft);
}

.ep-widget__title {
  margin: 0 0 14px;
  font-size: 1.75rem;
}

.ep-widget p {
  font-size: 0.87rem;
}

.ep-about-image {
  position: relative;
  width: 176px;
  margin: -6px auto 23px;
}

.ep-about-image::before {
  position: absolute;
  z-index: 1;
  top: -7px;
  left: 50%;
  width: 56px;
  height: 18px;
  background: rgba(255, 211, 92, 0.76);
  content: "";
  transform: translateX(-50%) rotate(-2deg);
}

.ep-about-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 60px 60px 18px 18px;
}

.ep-widget__social {
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid var(--ep-line);
}

.ep-widget__social .ep-social-list {
  justify-content: center;
}

.ep-newsletter-form input:not([type="submit"]),
.ep-newsletter-form select,
.ep-newsletter-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ep-line);
  border-radius: 10px;
}

.ep-newsletter-form input[type="submit"],
.ep-newsletter-form button {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  background: var(--ep-ink);
  color: var(--ep-white);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.ep-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--ep-ink);
  border-radius: 13px;
}

.ep-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ep-video-title {
  margin-bottom: 14px;
  font-weight: 700;
}

.ep-widget--community {
  text-align: center;
}

.ep-widget--community img {
  margin-inline: auto;
}

.ep-updates-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: var(--ep-title);
  font-size: 0.92rem;
}

.ep-updates-list li {
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(51, 51, 51, 0.15);
}

.ep-updates-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

#statuscafe-username {
  padding-bottom: 9px;
  margin-bottom: 10px;
  border-bottom: 1px dashed rgba(51, 51, 51, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
}

#statuscafe-content {
  font-family: var(--ep-title);
  font-size: 0.98rem;
  line-height: 1.55;
}

.ep-current-cover {
  width: 72%;
  margin: 0 auto 18px;
}

.ep-current-cover img {
  width: 100%;
  border: 6px solid var(--ep-purple);
  border-radius: 14px;
  box-shadow: 6px 7px 0 var(--ep-yellow);
}

.ep-current-title {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.ep-current-author,
.ep-progress-label {
  color: rgba(51, 51, 51, 0.72);
}

.ep-progress {
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
  background: rgba(51, 51, 51, 0.12);
  border-radius: 999px;
}

.ep-progress span {
  display: block;
  height: 100%;
  background: var(--ep-purple);
  border-radius: inherit;
}

.ep-progress-label {
  margin: 6px 0 14px;
  font-size: 0.75rem !important;
}

.ep-last-review {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  text-decoration: none;
}

.ep-last-review img {
  width: 64px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
}

.ep-last-review span {
  font-family: var(--ep-title);
  font-size: 1.05rem;
  font-weight: 600;
}

.ep-last-review small {
  display: block;
  margin-top: 6px;
  font-family: var(--ep-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ep-sidebar-banners {
  display: grid;
  gap: 18px;
}

.ep-widget--free {
  padding: 0;
  background: transparent !important;
  border: 0;
  border-radius: 0;
}

.ep-widget--free img {
  width: 100%;
}

/* Single posts and pages */
.ep-single-column {
  min-width: 0;
}

.ep-single {
  font-size: 1.05rem;
}

.ep-single__header {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--ep-line);
}

.ep-single__header h1 {
  max-width: 820px;
  margin: 13px 0 0;
  font-size: clamp(2.35rem, 5vw, 3.85rem);
}

.ep-entry-content {
  overflow-wrap: break-word;
}

.ep-entry-content > * {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.ep-entry-content > .alignwide {
  max-width: 1040px;
}

.ep-entry-content > .alignfull {
  width: 100%;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  transform: none;
}

.ep-entry-content p,
.ep-entry-content li {
  line-height: 1.82;
}

.ep-entry-content h2 {
  margin-top: 2.2em;
  font-size: clamp(2rem, 4vw, 3rem);
}

.ep-entry-content h3 {
  margin-top: 1.8em;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.ep-entry-content a {
  text-decoration-color: var(--ep-purple);
  text-decoration-thickness: 2px;
}

.ep-entry-content blockquote,
.ep-entry-content .wp-block-quote {
  position: relative;
  padding: clamp(24px, 5vw, 42px);
  margin-top: 2.2em;
  margin-bottom: 2.2em;
  background: var(--ep-cream);
  border: 1px solid var(--ep-purple);
  border-radius: 22px;
  box-shadow: inset 0 0 0 5px rgba(164, 139, 229, 0.08);
  font-family: var(--ep-title);
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  line-height: 1.55;
}

.ep-entry-content blockquote::before,
.ep-entry-content .wp-block-quote::before {
  position: absolute;
  top: -18px;
  left: 28px;
  padding: 0 10px;
  background: var(--ep-white);
  color: var(--ep-purple);
  content: "✦";
  font-size: 1.35rem;
}

.ep-entry-content blockquote.is-style-ep-simples,
.ep-entry-content .wp-block-quote.is-style-ep-simples {
  padding: 8px 0 8px 26px;
  margin-top: 2em;
  margin-bottom: 2em;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--ep-purple);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--ep-title);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.ep-entry-content blockquote.is-style-ep-simples::before,
.ep-entry-content .wp-block-quote.is-style-ep-simples::before {
  content: none;
}

.ep-entry-content .wp-block-quote.is-style-ep-caixa {
  padding: clamp(28px, 5vw, 46px);
  background: var(--ep-purple-soft);
  box-shadow: inset 0 0 0 5px rgba(164, 139, 229, 0.12);
}

.ep-entry-content .wp-block-quote.is-style-ep-caixa::before {
  position: absolute;
  top: -18px;
  left: 28px;
  padding: 0 10px;
  background: var(--ep-white);
  color: var(--ep-purple);
  content: "✦";
  font-size: 1.35rem;
}

.ep-entry-content blockquote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--ep-body);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ep-entry-content .wp-block-image img,
.ep-entry-content .wp-block-gallery {
  border-radius: 16px;
}

.ep-entry-content .wp-block-image.alignfull img,
.ep-entry-content figure.alignfull img {
  display: block;
  width: 100%;
  height: auto;
}

.ep-single__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  margin-top: 54px;
  background: var(--ep-yellow-soft);
  border-radius: var(--ep-radius);
}

.ep-like-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 18px;
  background: var(--ep-white);
  color: var(--ep-ink);
  border: 1px solid var(--ep-line);
  border-radius: 999px;
  cursor: pointer;
}

.ep-like-button:hover,
.ep-like-button:focus,
.ep-like-button.is-liked {
  background: var(--ep-purple);
  color: var(--ep-white);
  border-color: var(--ep-purple);
}

.ep-like-button__heart {
  font-size: 1.3rem;
}

.ep-like-button.is-liked .ep-like-button__heart {
  color: var(--ep-white);
}

.ep-like-button__count {
  display: grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ep-ink);
  border-radius: 999px;
  font-size: 0.72rem;
}

.ep-tags {
  font-size: 0.78rem;
}

.ep-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding-block: 38px;
  margin-top: 44px;
  border-top: 1px solid var(--ep-line);
  border-bottom: 1px solid var(--ep-line);
  font-family: var(--ep-title);
}

.ep-post-navigation div:last-child {
  text-align: right;
}

.ep-post-navigation a {
  text-decoration: none;
}

.ep-page-wrap {
  max-width: 980px;
  padding-block: 76px 96px;
}

.ep-page__header {
  margin-bottom: 44px;
  text-align: center;
}

.ep-page__header h1,
.ep-page-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 4.35rem);
}

.ep-page-hero {
  padding-block: 68px 18px;
  text-align: center;
}

.ep-page-hero__description {
  max-width: 680px;
  margin: 18px auto 0;
}

/* Comments */
.ep-comments {
  margin-top: 62px;
}

.ep-comments__title,
.comment-reply-title {
  font-size: 2rem;
}

.ep-comment-list {
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.ep-comment-list .comment-body {
  padding: 22px;
  background: var(--ep-cream);
  border-radius: 16px;
}

.ep-comment-list .children {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  list-style: none;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--ep-white);
  border: 1px solid var(--ep-line);
  border-radius: 10px;
}

.comment-form input[type="submit"] {
  min-height: 44px;
  padding: 9px 22px;
  background: var(--ep-ink);
  color: var(--ep-white);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

/* Library pages */
.ep-library {
  padding-block: 76px 100px;
}

.ep-library__header {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.ep-library__header h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.15rem);
}

.ep-library__header > p:last-child {
  max-width: 620px;
  margin: 18px auto 0;
}

.ep-library-current {
  display: grid;
  grid-template-columns: minmax(210px, 340px) 1fr;
  gap: clamp(34px, 7vw, 82px);
  align-items: center;
  max-width: 960px;
  padding: clamp(28px, 6vw, 62px);
  margin: 0 auto 78px;
  background: var(--ep-purple-soft);
  border: 1px solid var(--ep-purple);
  border-radius: 34px;
}

.ep-library-current__cover img,
.ep-cover-placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 7px solid var(--ep-white);
  border-radius: 18px;
  box-shadow: 10px 12px 0 var(--ep-yellow);
}

.ep-cover-placeholder {
  display: grid;
  place-items: center;
  background: var(--ep-cream);
  color: rgba(51, 51, 51, 0.55);
  font-family: var(--ep-title);
  text-align: center;
}

.ep-library-current__content h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.ep-library-author {
  font-family: var(--ep-title);
  font-size: 1.15rem;
}

.ep-progress--wide {
  max-width: 480px;
  height: 11px;
  background: rgba(255, 255, 255, 0.75);
}

.ep-library-list {
  margin-top: 58px;
}

.ep-year-group {
  margin-top: 48px;
}

.ep-year-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.ep-year-heading::after {
  height: 1px;
  flex: 1;
  background: var(--ep-line);
  content: "";
}

.ep-year-heading h3 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.ep-library-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px 20px;
}

.ep-library-grid--books {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ep-library-card {
  min-width: 0;
}

.ep-library-card__link {
  display: block;
  text-decoration: none;
}

.ep-library-card__cover {
  position: relative;
  overflow: hidden;
  background: var(--ep-cream);
  border-radius: 13px;
}

.ep-library-card__cover img,
.ep-library-card__cover .ep-cover-placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 0;
  border-radius: 13px;
  box-shadow: none;
  transition: transform 280ms ease;
}

.ep-library-card:hover .ep-library-card__cover img {
  transform: scale(1.025);
}

.ep-library-card h4 {
  margin: 15px 0 4px;
  font-size: 1.12rem;
}

.ep-library-card h4 small {
  font-family: var(--ep-body);
  font-size: 0.7rem;
  font-weight: 400;
}

.ep-library-card p {
  margin: 0 0 6px;
  color: rgba(51, 51, 51, 0.7);
  font-size: 0.76rem;
}

.ep-stars {
  color: #e2ac09;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.ep-star-empty {
  color: rgba(51, 51, 51, 0.35);
}

.ep-card-review {
  display: block;
  margin-top: 8px;
  color: #6f55b4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ep-screen-type {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 9px;
  background: var(--ep-yellow);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ep-library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  justify-content: center;
  max-width: 860px;
  padding: 22px;
  margin: 0 auto 58px;
  background: var(--ep-yellow-soft);
  border-radius: var(--ep-radius);
}

.ep-library-filters label {
  display: grid;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ep-library-filters select {
  min-width: 190px;
  min-height: 40px;
  padding: 7px 38px 7px 12px;
  background: var(--ep-white);
  border: 1px solid var(--ep-line);
  border-radius: 10px;
}

/* Empty states and footer */
.ep-empty {
  padding: 54px 24px;
  background: var(--ep-cream);
  border-radius: var(--ep-radius);
  text-align: center;
}

.ep-empty__symbol {
  margin-bottom: 8px;
  color: var(--ep-purple);
  font-size: 2.5rem;
}

.ep-empty--404 {
  max-width: 760px;
  margin-block: 90px;
}

.ep-empty--404 .ep-search-form {
  max-width: 420px;
  margin: 24px auto 18px;
}

.ep-footer {
  background: var(--ep-cream);
  border-top: 1px solid var(--ep-line);
}

.ep-instagram {
  padding-block: 66px;
  text-align: center;
}

.ep-instagram-widget,
.ep-instagram > div {
  margin-top: 28px;
}

.ep-footer__bottom {
  background: var(--ep-ink);
  color: var(--ep-white);
}

.ep-footer__inner {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  font-size: 0.76rem;
}

.ep-footer__inner p {
  margin: 0;
}

.ep-footer__social .ep-social-list a {
  color: var(--ep-white);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Responsive */
@media (max-width: 1050px) {
  .ep-header__utility {
    grid-template-columns: 1fr minmax(260px, 480px) 1fr;
  }

  .ep-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 38px;
  }

  .ep-library-grid,
  .ep-library-grid--books {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body {
    border-width: 7px;
  }

  .ep-container {
    width: min(100% - 32px, 720px);
  }

  .ep-header__utility {
    grid-template-columns: 1fr auto;
    min-height: 0;
    padding-block: 24px;
  }

  .ep-brand {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-bottom: 24px;
  }

  .ep-brand .custom-logo {
    max-height: 115px;
  }

  .ep-header__social {
    grid-column: 1;
    grid-row: 2;
  }

  .ep-header__search {
    grid-column: 2;
    grid-row: 2;
  }

  .ep-menu-toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 52px;
    padding: 0;
    background: transparent;
    border: 0;
    font-family: var(--ep-title);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .ep-primary-nav {
    display: none;
    padding-bottom: 18px;
  }

  .ep-primary-nav.is-open {
    display: block;
  }

  .ep-primary-nav ul {
    display: grid;
    gap: 0;
    height: auto;
  }

  .ep-primary-nav a {
    padding: 11px 0;
  }

  .ep-primary-nav a::after {
    display: none;
  }

  .ep-primary-nav .sub-menu {
    position: static;
    display: block;
    width: auto;
    padding: 0 0 0 18px;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .ep-slider {
    grid-auto-columns: min(62%, 390px);
  }

  .ep-layout {
    grid-template-columns: 1fr;
  }

  .ep-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .ep-sidebar-banners {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ep-library-grid,
  .ep-library-grid--books {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ep-container {
    width: min(100% - 24px, 540px);
  }

  .ep-header__utility {
    grid-template-columns: 1fr;
  }

  .ep-brand {
    padding-bottom: 18px;
  }

  .ep-header__social,
  .ep-header__search {
    grid-column: 1;
    justify-self: center;
  }

  .ep-header__social {
    grid-row: 2;
  }

  .ep-header__search {
    grid-row: 3;
    width: 100%;
    max-width: 360px;
    margin-top: 15px;
  }

  .ep-section-heading {
    align-items: center;
  }

  .ep-slide__image {
    min-height: 0;
  }

  .ep-post-card__image {
    height: 260px;
  }

  .ep-post-card__title {
    font-size: 1.8rem;
  }

  .ep-post-card__bottom,
  .ep-single__footer,
  .ep-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ep-sidebar {
    grid-template-columns: 1fr;
  }

  .ep-sidebar-banners {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .ep-post-navigation {
    grid-template-columns: 1fr;
  }

  .ep-post-navigation div:last-child {
    text-align: left;
  }

  .ep-library-current {
    grid-template-columns: 1fr;
  }

  .ep-library-current__cover {
    width: min(72%, 280px);
    margin-inline: auto;
  }

  .ep-library-grid,
  .ep-library-grid--books {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ep-library-filters {
    display: grid;
    justify-items: stretch;
  }

  .ep-library-filters select,
  .ep-library-filters label {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .ep-library-grid,
  .ep-library-grid--books {
    gap: 28px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
