/*
 * Modern editorial content
 *
 * Pagination and single-post components aligned with the modern list cards,
 * sidebar widgets and footer widgets.
 */

.pagination,
.single #primary,
.page #primary {
  --goodsite-content-accent: #ff4422;
}

/* Posts pagination */
.navigation.pagination {
  margin: 26px 0 18px;
  text-align: center;
  width: 100%;
}

.pagination .nav-links {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.pagination .page-numbers,
.pagination .page-numbers:visited {
  align-items: center;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.035);
  color: #344054;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-width: 40px;
  padding: 0 12px;
  text-decoration: none;
  text-transform: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.pagination a.page-numbers:hover,
.pagination a.page-numbers:focus-visible {
  background: color-mix(in srgb, var(--goodsite-content-accent) 7%, #fff);
  border-color: color-mix(in srgb, var(--goodsite-content-accent) 38%, #e3e8ef);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  color: var(--goodsite-content-accent);
  text-decoration: none;
  transform: translateY(-2px);
}

.pagination .page-numbers.current {
  background: var(--goodsite-content-accent);
  border-color: var(--goodsite-content-accent);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--goodsite-content-accent) 22%, transparent);
  color: #fff;
}

.pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  min-width: 26px;
  padding: 0 3px;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  gap: 8px;
  padding-inline: 15px;
}

.pagination .page-numbers.prev::before,
.pagination .page-numbers.next::after {
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-size: 11px;
  font-weight: 900;
}

.pagination .page-numbers.prev::before {
  content: "\f060";
}

.pagination .page-numbers.next::after {
  content: "\f061";
}

/* Single article shell */
:is(.single, .page) .breadcrumbs {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  color: #7a8495;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 6px;
  line-height: 1.5;
  margin: 0 0 14px;
  overflow: hidden;
  padding: 10px 13px;
}

:is(.single, .page) .breadcrumbs > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:is(.single, .page) .breadcrumbs a,
:is(.single, .page) .breadcrumbs a:visited {
  color: #475467;
  font-weight: 700;
  text-decoration: none;
}

:is(.single, .page) .breadcrumbs a:hover,
:is(.single, .page) .breadcrumbs a:focus-visible {
  color: var(--goodsite-content-accent);
}

:is(.single, .page) .modern-single-article {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.065);
  overflow: hidden;
  padding: 27px;
}

:is(.single, .page) .modern-single-article > .entry-header {
  border-bottom: 1px solid #e9edf3;
  margin: 0 0 24px;
  padding-bottom: 20px;
}

:is(.single, .page) .modern-single-article h1.entry-title {
  color: #101828;
  font-size: clamp(28px, 1.65rem + 0.55vw, 35px);
  letter-spacing: -0.032em;
  line-height: 1.08;
  margin: 0 0 18px;
}

/* Static pages use a quieter heading transition into the content. */
.page .modern-page-article > .entry-header {
  border-bottom: 0;
  margin-bottom: 20px;
  padding-bottom: 0;
}

.page .modern-page-article h1.entry-title {
  margin-bottom: 0;
}

.page .modern-page-article .entry-content > :first-child {
  margin-top: 0;
}

/* Featured editorial hero */
#featured-content.modern-featured {
  counter-reset: featured-card;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 3fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(360px, 36vw, 405px);
  margin: -2px 0 34px;
  position: relative;
}

#featured-content.modern-featured .featured-large,
#featured-content.modern-featured .featured-small {
  background: #182230;
  border: 1px solid #e2e7ee;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
  counter-increment: featured-card;
  float: none;
  isolation: isolate;
  line-height: 1;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  width: auto;
}

#featured-content.modern-featured .hentry::before {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 3px solid var(--goodsite-content-accent);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 5;
}

#featured-content.modern-featured .hentry::after {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(12, 20, 31, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  content: "0" counter(featured-card);
  display: flex;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  height: 27px;
  justify-content: center;
  letter-spacing: 0.08em;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  z-index: 6;
}

#featured-content.modern-featured .featured-large {
  grid-row: 1 / 3;
}

#featured-content.modern-featured .thumbnail-link {
  border: 0;
  display: block;
  height: 100%;
  inset: 0;
  margin: 0;
  overflow: hidden;
  position: absolute;
  width: 100%;
}

#featured-content.modern-featured .thumbnail-wrap {
  background: #e8edf3;
  height: 100%;
  position: relative;
}

#featured-content.modern-featured .thumbnail-wrap::after {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--goodsite-content-accent) 11%, transparent), transparent 50%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

#featured-content.modern-featured .wp-post-image,
#featured-content.modern-featured .thumbnail-wrap > img {
  display: block;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
  transition: filter 420ms ease, transform 420ms cubic-bezier(0.2, 0.65, 0.3, 1);
  width: 100%;
}

#featured-content.modern-featured .hentry:hover {
  border-color: color-mix(in srgb, var(--goodsite-content-accent) 34%, #e2e7ee);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.18), 0 5px 14px rgba(15, 23, 42, 0.08);
  opacity: 1;
  transform: translateY(-4px);
}

#featured-content.modern-featured .hentry:hover .wp-post-image,
#featured-content.modern-featured .hentry:focus-within .wp-post-image {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

#featured-content.modern-featured .gradient {
  background:
    linear-gradient(180deg, rgba(10, 18, 29, 0.01) 20%, rgba(10, 18, 29, 0.9) 100%),
    radial-gradient(circle at 0 100%, color-mix(in srgb, var(--goodsite-content-accent) 24%, transparent), transparent 58%);
  height: 78%;
}

#featured-content.modern-featured .entry-header {
  bottom: 0;
  left: 0;
  padding: 20px;
  position: absolute;
  right: 0;
  width: auto;
  z-index: 3;
}

#featured-content.modern-featured .featured-small .entry-header {
  padding: 12px;
}

#featured-content.modern-featured .entry-title,
#featured-content.modern-featured .featured-large .entry-title,
#featured-content.modern-featured .featured-small .entry-title {
  font-size: clamp(25px, 2vw, 32px);
  letter-spacing: -0.027em;
  line-height: 1.06;
  margin: 0;
  max-width: 95%;
  text-wrap: pretty;
}

#featured-content.modern-featured .featured-small .entry-title {
  font-size: clamp(13px, 0.95vw, 16px);
  line-height: 1.17;
}

#featured-content.modern-featured .featured-last .entry-title {
  font-size: clamp(12px, 0.85vw, 14px);
}

#featured-content.modern-featured .entry-title a,
#featured-content.modern-featured .entry-title a:visited {
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

#featured-content.modern-featured .entry-title a:hover,
#featured-content.modern-featured .entry-title a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

#featured-content.modern-featured a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.88);
  outline-offset: -5px;
}

/* Single post metadata */
.single .entry-header .entry-meta {
  align-items: center;
  color: #667085;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 9px 13px;
  margin: 0;
  position: static;
}

.single .entry-header .entry-author,
.single .entry-header .entry-author > span,
.single .entry-header .entry-date,
.single .entry-header .meta-right {
  align-items: center;
  display: inline-flex;
}

.single .entry-header .entry-author {
  gap: 8px;
}

.single .entry-header .entry-author > span,
.single .entry-header .entry-date {
  gap: 5px;
}

.single .entry-header .entry-author__avatar {
  border: 0;
  flex: 0 0 auto;
  line-height: 0;
}

.single .entry-header .entry-meta .entry-author .avatar {
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #dfe4eb;
  height: 32px;
  margin: 0;
  object-fit: cover;
  width: 32px;
}

.single .entry-header .entry-meta i {
  color: var(--goodsite-content-accent);
  font-size: 11px;
}

.single .entry-header .entry-meta strong,
.single .entry-header .entry-meta time,
.single .entry-header .entry-meta a {
  color: #344054;
  font-weight: 700;
  text-decoration: none;
}

.single .entry-header .entry-category {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
}

.single .entry-header .entry-category a,
.single .entry-header .entry-category a:visited {
  background: color-mix(in srgb, var(--goodsite-content-accent) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--goodsite-content-accent) 23%, #fff);
  border-radius: 999px;
  color: var(--goodsite-content-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 8px;
  text-transform: uppercase;
}

.single .entry-header .meta-right {
  gap: 10px;
  margin-left: auto;
  position: static;
}

/* Featured media and editorial typography */
:is(.single, .page) .single-featured-media {
  aspect-ratio: 5 / 3;
  background: #eef1f5;
  border-radius: 14px;
  line-height: 0;
  margin: 0 0 26px;
  overflow: hidden;
}

:is(.single, .page) .single-featured-media .wp-post-image {
  height: 100%;
  margin: 0;
  object-fit: cover;
  width: 100%;
}

:is(.single, .page) .modern-single-article .entry-content {
  color: #344054;
  font-size: 17px;
  line-height: 1.78;
}

:is(.single, .page) .modern-single-article .entry-content p {
  line-height: inherit;
  margin-bottom: 1.45em;
}

:is(.single, .page) .modern-single-article .entry-content h2,
:is(.single, .page) .modern-single-article .entry-content h3,
:is(.single, .page) .modern-single-article .entry-content h4 {
  color: #101828;
  letter-spacing: -0.018em;
  margin: 1.5em 0 0.65em;
  text-wrap: balance;
}

:is(.single, .page) .modern-single-article .entry-content h2 {
  font-size: 28px;
}

:is(.single, .page) .modern-single-article .entry-content h3 {
  font-size: 23px;
}

:is(.single, .page) .modern-single-article .entry-content a {
  border-bottom: 1px solid color-mix(in srgb, var(--goodsite-content-accent) 45%, transparent);
  color: var(--goodsite-content-accent);
  font-weight: 650;
  text-decoration: none;
}

:is(.single, .page) .modern-single-article .entry-content a:hover {
  border-bottom-color: #101828;
  color: #101828;
}

:is(.single, .page) .modern-single-article blockquote {
  background: #f8fafc;
  border-left: 4px solid var(--goodsite-content-accent);
  border-radius: 0 12px 12px 0;
  color: #475467;
  font-size: 18px;
  margin: 28px 0;
  padding: 20px 24px;
}

:is(.single, .page) .modern-single-article blockquote::before {
  content: none;
}

:is(.single, .page) .modern-single-article .entry-content table {
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

/* Tags */
.single .entry-tags {
  border-top: 1px solid #e9edf3;
  margin: 26px 0 0;
  padding-top: 18px;
}

.single .entry-tags .tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.single .entry-tags .tag-links a {
  background: #f4f6f8;
  border: 1px solid #e5e9f0;
  border-radius: 999px;
  box-shadow: none;
  color: #475467;
  margin: 0;
  padding: 6px 10px 6px 26px;
}

.single .entry-tags .tag-links a::before {
  color: var(--goodsite-content-accent);
  left: 7px;
  top: 6px;
}

/* Related posts */
.single .entry-related {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.055);
  margin: 20px 0 0;
  padding: 22px;
}

.single .entry-related__heading {
  border-bottom: 1px solid #e9edf3;
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.single .entry-related__heading > span {
  align-items: center;
  color: #101828;
  display: flex;
  font-size: 21px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: -0.018em;
  line-height: 1.25;
  text-transform: none;
}

.single .entry-related__heading > span i {
  color: var(--goodsite-content-accent);
  font-size: 16px;
}

.single .entry-related .related-loop {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.single .entry-related .related-card {
  border: 1px solid #e6eaf0;
  border-radius: 13px;
  float: none;
  margin: 0;
  overflow: hidden;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
  width: auto;
}

.single .entry-related .related-card:hover,
.single .entry-related .related-card:focus-within {
  border-color: color-mix(in srgb, var(--goodsite-content-accent) 32%, #e6eaf0);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
  transform: translateY(-3px);
}

.single .entry-related .related-card:nth-of-type(3n+1) {
  clear: none;
}

.single .entry-related .related-card .thumbnail-link {
  aspect-ratio: 16 / 10;
  border: 0;
  display: block;
  float: none;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.single .entry-related .related-card .thumbnail-wrap {
  background: #eef1f5;
  height: 100%;
  line-height: 0;
}

.single .entry-related .related-card .wp-post-image {
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.single .entry-related .related-card:hover .wp-post-image {
  transform: scale(1.045);
}

.single .related-card__placeholder {
  align-items: center;
  color: #a7b0bf;
  display: flex;
  font-size: 28px;
  height: 100%;
  justify-content: center;
}

.single .related-card__content {
  padding: 12px;
}

.single .entry-related .related-card .entry-title {
  font-size: 15px;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 0;
}

.single .entry-related .related-card .entry-title a,
.single .entry-related .related-card .entry-title a:visited {
  color: #101828;
  display: -webkit-box;
  overflow: hidden;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.single .entry-related .related-card .entry-title a:hover {
  color: var(--goodsite-content-accent);
  text-decoration: none;
}

/* Author card */
.single .author-box {
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  border: 1px solid #e5e9f0;
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 20px;
  grid-template-columns: 92px minmax(0, 1fr);
  margin: 20px 0 0;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.single .author-box::before {
  background: var(--goodsite-content-accent);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.single .author-box__avatar {
  border: 0;
  display: block;
  line-height: 0;
}

.single .author-box .avatar {
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #dde3ea, 0 8px 18px rgba(15, 23, 42, 0.1);
  float: none;
  height: 88px;
  margin: 0;
  object-fit: cover;
  width: 88px;
}

.single .author-box .author-meta {
  display: block;
  min-width: 0;
}

.single .author-box__eyebrow {
  align-items: center;
  color: var(--goodsite-content-accent);
  display: flex;
  font-size: 10px;
  font-weight: 800;
  gap: 7px;
  letter-spacing: 0.085em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.single .author-box .author-meta .author-name {
  font-size: 22px;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 0 0 7px;
}

.single .author-box .author-name a {
  color: #101828;
  text-decoration: none;
}

.single .author-box .author-meta .author-desc {
  color: #667085;
  line-height: 1.65;
}

.single .author-box .author-desc p {
  margin: 0 0 8px;
}

.single .author-box__archive {
  align-items: center;
  color: var(--goodsite-content-accent);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  text-decoration: none;
}

.single .author-box__archive span {
  font-size: 16px;
  transition: transform 160ms ease;
}

.single .author-box__archive:hover span {
  transform: translateX(4px);
}

/* Comments */
:is(.single, .page) .comments-area {
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
  margin: 20px 0 0;
  padding: 22px;
}

:is(.single, .page) .comments-title,
:is(.single, .page) .comment-reply-title {
  color: #101828;
  font-size: 22px;
  letter-spacing: -0.018em;
}

:is(.single, .page) .comment-list {
  border: 0;
}

:is(.single, .page) .comment-list article {
  background: #fafbfc;
  border: 1px solid #e9edf3;
  border-radius: 12px;
  padding: 15px;
}

/* Compact editorial treatment for incoming pingbacks and legacy trackbacks. */
:is(.single, .page) .comment-list > :is(.pingback, .trackback) {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--goodsite-content-accent) 8%, #fff),
    #fff 72%
  );
  border: 1px solid color-mix(in srgb, var(--goodsite-content-accent) 20%, #e5e9f0);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.045);
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 12px;
  min-height: 56px;
  padding: 14px 16px 14px 50px;
  position: relative;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

:is(.single, .page) .comment-list > :is(.pingback, .trackback)::before {
  align-items: center;
  background: var(--goodsite-content-accent);
  border-radius: 8px;
  color: #fff;
  content: "\f0c1";
  display: flex;
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-size: 11px;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  left: 14px;
  position: absolute;
  top: 14px;
  width: 26px;
}

:is(.single, .page) .comment-list > :is(.pingback, .trackback):hover {
  border-color: color-mix(in srgb, var(--goodsite-content-accent) 36%, #e5e9f0);
  box-shadow: 0 9px 24px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

:is(.single, .page) .comment-list > :is(.pingback, .trackback) .comment-body {
  min-width: 0;
}

:is(.single, .page) .comment-list > :is(.pingback, .trackback) .comment-body > a {
  color: #101828;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

:is(.single, .page) .comment-list > :is(.pingback, .trackback) .comment-body > a:hover,
:is(.single, .page) .comment-list > :is(.pingback, .trackback) .comment-body > a:focus-visible {
  color: var(--goodsite-content-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:is(.single, .page) .comment-list > :is(.pingback, .trackback) .edit-link {
  display: inline-flex;
  margin-left: 8px;
}

:is(.single, .page) .comment-list > :is(.pingback, .trackback) .comment-edit-link {
  background: color-mix(in srgb, var(--goodsite-content-accent) 10%, #fff);
  border-radius: 999px;
  color: var(--goodsite-content-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0;
  padding: 3px 7px;
  text-transform: uppercase;
}

:is(.single, .page) .comment-list > :is(.pingback, .trackback) .comment-edit-link::before {
  content: none;
}

:is(.single, .page) .comment-list .children {
  margin-left: 34px;
}

:is(.single, .page) .comment-form input[type="text"],
:is(.single, .page) .comment-form input[type="email"],
:is(.single, .page) .comment-form input[type="url"],
:is(.single, .page) .comment-form textarea {
  background: #fff;
  border: 1px solid #dfe4eb;
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.025);
  padding: 11px 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

:is(.single, .page) .comment-form input:focus,
:is(.single, .page) .comment-form textarea:focus {
  border-color: var(--goodsite-content-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--goodsite-content-accent) 13%, transparent);
  outline: 0;
}

:is(.single, .page) .comment-form input[type="submit"] {
  background: var(--goodsite-content-accent);
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  padding: 11px 17px;
}

@media (prefers-reduced-motion: reduce) {
  .pagination .page-numbers,
  #featured-content.modern-featured .hentry,
  #featured-content.modern-featured .wp-post-image,
  .single .entry-related .related-card,
  .single .entry-related .related-card .wp-post-image,
  .single .author-box__archive span,
  :is(.single, .page) .comment-list > :is(.pingback, .trackback) {
    transition: none;
  }

  #featured-content.modern-featured .hentry:hover {
    transform: none;
  }

  :is(.single, .page) .comment-list > :is(.pingback, .trackback):hover {
    transform: none;
  }
}

@media (max-width: 479px) {
  :is(.single, .page) .comment-list > :is(.pingback, .trackback) {
    padding: 12px 13px 12px 44px;
  }

  :is(.single, .page) .comment-list > :is(.pingback, .trackback)::before {
    height: 24px;
    left: 11px;
    top: 12px;
    width: 24px;
  }
}

@media only screen and (max-width: 767px) {
  :is(.single, .page) .modern-single-article {
    border-radius: 16px;
    padding: 20px;
  }

  .single .entry-header .meta-right {
    margin-left: 0;
    width: 100%;
  }

  .single .entry-related .related-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 959px) {
  #featured-content.modern-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    height: auto;
  }

  #featured-content.modern-featured .featured-large {
    aspect-ratio: 2 / 1;
    grid-column: 1 / -1;
    grid-row: auto;
  }

  #featured-content.modern-featured .featured-small {
    aspect-ratio: 16 / 10;
  }
}

@media only screen and (max-width: 479px) {
  .pagination .nav-links {
    gap: 5px;
  }

  .pagination .page-numbers,
  .pagination .page-numbers:visited {
    font-size: 12px;
    height: 36px;
    min-width: 36px;
    padding: 0 9px;
  }

  .pagination .page-numbers.prev,
  .pagination .page-numbers.next {
    font-size: 0;
    padding: 0;
  }

  .pagination .page-numbers.prev::before,
  .pagination .page-numbers.next::after {
    font-size: 12px;
  }

  :is(.single, .page) .breadcrumbs {
    display: none;
  }

  #featured-content.modern-featured {
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 28px;
    width: 100%;
  }

  #featured-content.modern-featured .featured-large,
  #featured-content.modern-featured .featured-small {
    aspect-ratio: 16 / 10;
    border-radius: 15px;
    grid-column: auto;
  }

  #featured-content.modern-featured .entry-header,
  #featured-content.modern-featured .featured-small .entry-header {
    padding: 17px;
  }

  #featured-content.modern-featured .hentry::after {
    right: 10px;
    top: 10px;
  }

  #featured-content.modern-featured .entry-title,
  #featured-content.modern-featured .featured-large .entry-title,
  #featured-content.modern-featured .featured-small .entry-title {
    font-size: 20px;
  }

  #featured-content.modern-featured .featured-last .entry-title {
    font-size: 18px;
  }

  :is(.single, .page) .modern-single-article {
    padding: 16px;
  }

  :is(.single, .page) .modern-single-article h1.entry-title {
    font-size: 26px;
  }

  .single .entry-header .entry-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .single .entry-header .entry-category {
    display: inline-flex;
  }

  :is(.single, .page) .single-featured-media {
    aspect-ratio: 4 / 3;
    border-radius: 11px;
  }

  :is(.single, .page) .modern-single-article .entry-content {
    font-size: 16px;
  }

  .single .entry-related,
  :is(.single, .page) .comments-area {
    border-radius: 16px;
    padding: 17px;
  }

  .single .entry-related .related-loop {
    grid-template-columns: minmax(0, 1fr);
  }

  .single .entry-related .related-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .single .entry-related .related-card .thumbnail-link {
    aspect-ratio: auto;
    height: 100%;
    min-height: 112px;
  }

  .single .author-box {
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 18px;
  }

  .single .author-box .avatar {
    height: 58px;
    width: 58px;
  }

  .single .author-box .author-meta .author-name {
    font-size: 19px;
  }

  :is(.single, .page) .comment-list .children {
    margin-left: 12px;
  }
}
