.wp-site-blocks { min-height: 100vh; overflow: clip; }
.wp-site-blocks > * { margin-block-start: 0; }
.entry-content { margin: 0; }
.mode-effect-content { width: min(900px, calc(100% - 2rem)); margin: 0 auto; padding: 5rem 0; }
.mode-effect-content > * + * { margin-block-start: 1.25rem; }
.mode-effect-query { padding: 5rem 0; }
.mode-effect-query .wp-block-post-template { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.mode-effect-query .wp-block-post { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-soft); padding: 1.5rem; }
.mode-effect-query .wp-block-post-title { font-size: 1.35rem; line-height: 1.25; }
.mode-effect-query .wp-block-post-excerpt { color: #4b463d; }
.mode-effect-query .wp-block-query-pagination { display: flex; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.wp-block-post-content > .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.mode-effect-pagination { display: flex; justify-content: center; gap: .5rem; margin: 2.5rem 0 0; }
.mode-effect-pagination .page-numbers { min-width: 2.5rem; padding: .55rem .8rem; text-align: center; border: 1px solid var(--border); background: #fff; font-weight: 800; }
.mode-effect-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.admin-bar .site-header { top: 32px; }
.me-service-placeholder { min-height: 38rem; }
.editor-styles-wrapper .mode-effect-editor-element { outline: 1px dashed rgba(0, 43, 95, .2); outline-offset: 2px; }
.editor-styles-wrapper .mode-effect-editor-element:focus-within { outline-color: #5bc6d0; }
.editor-styles-wrapper .mode-effect-editor-image { min-height: 64px; padding: .5rem; border: 1px dashed rgba(0, 43, 95, .25); }
@media (max-width: 800px) { .mode-effect-query .wp-block-post-template { grid-template-columns: 1fr; } }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Dynamic single-article presentation. Article-specific copy and media remain in WordPress. */
.article-single {
  background: #fbf8f1;
}

.article-single__hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5.25rem) 1.5rem 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 197, 224, 0.09), transparent 25rem),
    linear-gradient(145deg, #0b2f61, #153d72 72%, #173f74);
}

.article-single__hero-inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.article-single__breadcrumb {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}

.article-single__breadcrumb a,
.article-single__breadcrumb span {
  color: inherit;
  text-decoration: none;
}

.article-single__breadcrumb span:last-child {
  max-width: 35rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-single__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
}

.article-single__terms a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.36rem 0.8rem;
  border: 1px solid rgba(34, 197, 224, 0.32);
  border-radius: 999px;
  background: rgba(34, 197, 224, 0.13);
  color: #79e8fb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.article-single__title {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-family: var(--font-roboto-slab), Georgia, serif;
  font-size: clamp(2.4rem, 5.2vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.article-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.65rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  font-weight: 600;
}

.article-single__author {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.article-single__author strong {
  color: rgba(255, 255, 255, 0.92);
}

.article-single__avatar {
  width: 2.35rem;
  height: 2.35rem;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  object-fit: cover;
}

.article-single__meta-sep {
  color: rgba(255, 255, 255, 0.2);
}

.article-single__featured {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 3.2rem 0 -4.25rem;
  border-radius: 1.25rem;
  box-shadow: 0 26px 64px rgba(0, 24, 57, 0.3);
}

.article-single__featured img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-single__body {
  padding: clamp(8rem, 12vw, 10rem) 1.5rem clamp(4.5rem, 7vw, 7rem);
}

.article-single__hero:not(:has(.article-single__featured)) + .article-single__body {
  padding-top: clamp(4rem, 7vw, 5.5rem);
}

.article-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(3rem, 7vw, 5rem);
  align-items: start;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.article-single__main,
.article-single__content {
  min-width: 0;
}

.article-single__content > :first-child {
  margin-top: 0;
}

.article-single__content > :last-child {
  margin-bottom: 0;
}

.article-single__content p,
.article-single__content li {
  color: #47443e;
  font-size: 1.0625rem;
  line-height: 1.82;
}

.article-single__content p {
  margin: 0 0 1.45rem;
}

.article-single__content h2,
.article-single__content h3 {
  scroll-margin-top: 7rem;
  color: var(--navy-dark);
  font-family: var(--font-roboto-slab), Georgia, serif;
}

.article-single__content h2 {
  position: relative;
  margin: 3.25rem 0 1.15rem;
  padding-left: 1.05rem;
  font-size: clamp(1.7rem, 2.8vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.article-single__content h2::before {
  content: "";
  position: absolute;
  top: 0.1em;
  bottom: 0.1em;
  left: 0;
  width: 4px;
  border-radius: 99px;
  background: var(--aqua);
}

.article-single__content h3 {
  margin: 2.15rem 0 0.8rem;
  font-size: 1.32rem;
  line-height: 1.3;
}

.article-single__content ul,
.article-single__content ol {
  margin: 0 0 1.6rem;
  padding-left: 1.45rem;
}

.article-single__content li + li {
  margin-top: 0.55rem;
}

.article-single__content a {
  color: var(--navy);
  font-weight: 700;
  text-decoration-color: var(--aqua);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.article-single__content blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 1.6rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 0.8rem 0.8rem 0;
  background: rgba(250, 175, 58, 0.08);
}

.article-single__content img {
  border-radius: 1rem;
}

.article-single__sidebar {
  position: sticky;
  top: 6.5rem;
}

.article-toc {
  overflow: hidden;
  border: 1px solid rgba(0, 43, 95, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 38px rgba(0, 43, 95, 0.07);
}

.article-toc__title {
  margin: 0;
  padding: 1rem 1.2rem;
  background: var(--navy);
  color: white;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-toc__list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: calc(100vh - 13rem);
  margin: 0;
  padding: 0.8rem;
  overflow: auto;
  list-style: none;
}

.article-toc__item {
  margin: 0;
}

.article-toc__item a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  color: #393b3d;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.article-toc__item--h3 a {
  padding-left: 1.15rem;
  color: #68665f;
  font-size: 0.82rem;
  font-weight: 600;
}

.article-toc__item a:hover,
.article-toc__item a.is-active {
  background: rgba(34, 197, 224, 0.1);
  color: var(--navy);
}

.article-single__share-nav {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 43, 95, 0.12);
}

.article-single__share > p {
  margin: 0 0 0.8rem;
  color: var(--navy-dark);
  font-weight: 800;
}

.article-single__share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.article-single__share-actions a,
.article-single__share-actions button {
  min-height: 2.55rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(0, 43, 95, 0.12);
  border-radius: 0.65rem;
  background: white;
  color: var(--navy);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.article-single__pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.article-single__pager a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(0, 43, 95, 0.1);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.65);
  color: var(--navy-dark);
  text-decoration: none;
}

.article-single__pager a[rel="next"] {
  grid-column: 2;
  text-align: right;
}

.article-single__pager span {
  color: #77736a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.article-single__pager strong {
  font-size: 0.92rem;
  line-height: 1.4;
}

.article-single__related {
  padding: clamp(3.5rem, 6vw, 5.5rem) 1.5rem;
  background: linear-gradient(145deg, var(--navy-dark), #123d76);
}

.article-single__related-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.article-single__related-heading > p {
  margin: 0 0 0.4rem;
  color: var(--aqua);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-single__related-heading h2 {
  margin: 0 0 1.6rem;
  color: white;
  font-family: var(--font-roboto-slab), Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.article-single__related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.article-single-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.article-single-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 224, 0.45);
}

.article-single-card__image {
  min-height: 10.5rem;
  background-color: #0d356a;
  background-position: center;
  background-size: cover;
}

.article-single-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem;
}

.article-single-card__body > span {
  color: var(--aqua);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-single-card h3 {
  margin: 0.55rem 0 0.65rem;
  color: white;
  font-family: var(--font-roboto-slab), Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.3;
}

.article-single-card p {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.55;
}

.article-single-card time {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 600;
}

.article-single__related-all {
  display: inline-flex;
  margin-top: 1.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--aqua);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .article-single__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .article-single__sidebar {
    position: static;
    grid-row: 1;
  }

  .article-toc__list {
    max-height: none;
  }

  .article-single__related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .article-single__hero {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .article-single__breadcrumb span:last-child,
  .article-single__meta-sep {
    display: none;
  }

  .article-single__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .article-single__featured {
    margin-top: 2.3rem;
    margin-bottom: -3rem;
    border-radius: 0.9rem;
  }

  .article-single__body {
    padding: 6.5rem 1rem 4rem;
  }

  .article-single__hero:not(:has(.article-single__featured)) + .article-single__body {
    padding-top: 3.5rem;
  }

  .article-single__content h2 {
    margin-top: 2.6rem;
  }

  .article-single__pager {
    grid-template-columns: 1fr;
  }

  .article-single__pager a[rel="next"] {
    grid-column: 1;
    text-align: left;
  }

  .article-single__related {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}
