* {
  margin: 0;
}
html, body {
  height: 100%;
}


/* ---------------- SWP Footer ---------------- */
html, body {
  min-height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
.page-wrap {
  flex: 1 0 auto;
  min-height: 0;
  margin-bottom: 0;
}
.page-wrap:after {
  content: none;
}
.site-footer {
  flex: 0 0 auto;
  width: 100%;
  min-height: 100px;
  background: var(--swp-color-footer);
  box-sizing: border-box;
}
.swp-site-container {
  width: 100%;
  max-width: var(--swp-site-max-width, 1280px);
  margin: 0 auto;
  padding-left: var(--swp-site-gutter, 24px);
  padding-right: var(--swp-site-gutter, 24px);
  box-sizing: border-box;
}
.swp-footer-container {
  padding-top: 32px;
  padding-bottom: 20px;
}
.swp-footer-intro {
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}
.swp-footer-intro > :first-child { margin-top: 0; }
.swp-footer-intro > :last-child { margin-bottom: 0; }
.swp-footer-intro-widget > :first-child { margin-top: 0; }
.swp-footer-intro-widget > :last-child { margin-bottom: 0; }
.swp-footer-widgets {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}
.swp-footer-widgets--1 {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
}
.swp-footer-widgets--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.swp-footer-widgets--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.swp-footer-widgets--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.swp-footer-widget-area {
  min-width: 0;
}
.swp-footer-widget-area > :first-child {
  margin-top: 0;
}
.swp-footer-widget-area > :last-child {
  margin-bottom: 0;
}

.swp-footer-widget-area .widget,
.swp-footer-widget-area .widget_block {
  margin: 0;
}

.swp-footer-widget-area .widget-title,
.swp-footer-widget-area h2,
.swp-footer-widget-area h3 {
  margin: 0 0 12px;
  color: var(--swp-color-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Widget navigation lists are intentionally flat rather than default-theme
 * bulleted lists. Semantic list markup is retained without visual bullets
 * or browser-style indentation. */
.swp-footer-widget-area ul,
.swp-footer-widget-area ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.swp-footer-widget-area li {
  margin: 0;
  padding: 0;
}

.swp-footer-widget-area li + li {
  margin-top: 0;
}

.swp-footer-widget-area li > a {
  display: inline-block;
  padding: 3px 0;
  color: var(--swp-color-primary);
  line-height: 1.4;
  text-decoration: none;
}

.swp-footer-widget-area li > a:hover,
.swp-footer-widget-area li > a:focus {
  color: var(--swp-color-primary-dark);
}

.swp-footer-widget-area ul ul,
.swp-footer-widget-area ol ol,
.swp-footer-widget-area ul ol,
.swp-footer-widget-area ol ul {
  margin-top: 3px;
  padding-left: 10px;
  border-left: 1px solid rgba(31, 41, 51, 0.10);
}

.swp-footer-widget-area p {
  margin-top: 0;
}

.swp-footer-widget-area p:last-child {
  margin-bottom: 0;
}

.swp-footer-widget-area .widget_recent_comments li {
  padding: 3px 0;
  line-height: 1.4;
}

.swp-footer-widget-area .widget_recent_comments li a {
  display: inline;
  padding: 0;
}
.swp-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--swp-color-border);
  text-align: center;
}
.swp-footer-bottom p {
  margin: 0;
}
.swp-footer-feature-link {
  margin: 0 0 18px;
  text-align: center;
}
.swp-footer-feature-link a {
  color: inherit;
  text-decoration: none;
}
.swp-footer-feature-link a:hover,
.swp-footer-feature-link a:focus {
  color: inherit;
  text-decoration: none;
}
.swp-footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 6px;
}
.swp-footer-additional-notice {
  max-width: 900px;
}
.swp-footer-additional-notice__text > :first-child {
  margin-top: 0;
}
.swp-footer-additional-notice__text > :last-child {
  margin-bottom: 0;
}
.swp-footer-additional-notice a {
  color: inherit;
}
.swp-footer-credit a {
  text-decoration: none;
}
@media screen and (max-width: 782px) {
  .swp-footer-widget-area .widget-title,
  .swp-footer-widget-area h2,
  .swp-footer-widget-area h3 {
    margin-bottom: 9px;
    font-size: 12px;
  }

  .swp-footer-widget-area li > a {
    padding: 2px 0;
  }

  .swp-site-container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .swp-footer-widgets--2,
  .swp-footer-widgets--3,
  .swp-footer-widgets--4 {
    grid-template-columns: 1fr;
  }
  .swp-footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .swp-footer-intro {
    max-width: 100%;
  }
}

/* ---------------- SWP Home Header / Hero ---------------- */
.swp-home-header {
    position: relative;
    width: 100%;
    max-width: var(--swp-site-max-width, 1280px);
    height: var(--swp-home-hero-height, 520px);
    margin: 16px auto 0;
    overflow: hidden;
    background: #111;
}

.swp-home-header--full {
    max-width: none;
    width: 100%;
    margin-top: 0;
}

.swp-home-hero__single,
.swp-home-hero__slides,
.swp-home-hero__slide,
.swp-home-hero__video-wrap,
.swp-home-hero__click-target,
.swp-home-hero__picture,
.swp-home-hero__image,
.swp-home-hero__poster,
.swp-home-hero__video {
    width: 100%;
    height: 100%;
}

.swp-home-hero__single,
.swp-home-hero__slide,
.swp-home-hero__video-wrap {
    position: relative;
}

.swp-home-hero__click-target {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
}

.swp-home-hero__picture {
    display: block;
}

.swp-home-hero__image,
.swp-home-hero__video {
    display: block;
    object-fit: cover;
    object-position: center center;
}

.swp-home-hero__slides {
    position: relative;
}

.swp-home-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--swp-home-hero-transition, 650ms) ease,
        visibility var(--swp-home-hero-transition, 650ms) ease;
}

.swp-home-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.swp-home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: clamp(28px, 5vw, 64px) var(--swp-site-gutter, 24px);
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 31, 0.02) 25%,
        rgba(15, 23, 31, 0.62) 100%
    );
    pointer-events: none;
}

.swp-home-hero__overlay-inner {
    width: min(1040px, 100%);
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.swp-home-hero__title {
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1.05;
}

.swp-home-hero__text {
    max-width: 760px;
    margin: .65rem auto 0;
    color: #fff;
    font-size: clamp(16px, 1.5vw, 21px);
    line-height: 1.45;
}

.swp-home-hero__cta {
    display: inline-block;
    margin-top: 1rem;
    padding: .7rem 1.15rem;
    background: var(--swp-color-primary);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: none;
}

.swp-home-hero__click-target:hover .swp-home-hero__cta,
.swp-home-hero__click-target:focus .swp-home-hero__cta {
    background: var(--swp-color-primary-dark);
}

.swp-home-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transform: translateX(-50%);
}

.swp-home-hero__dot {
    appearance: none;
    flex: 0 0 11px;
    width: 11px;
    height: 11px;
    min-width: 11px;
    min-height: 11px;
    max-width: 11px;
    max-height: 11px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    background: rgba(15, 23, 31, .38);
    box-shadow: none;
    line-height: 0;
    cursor: pointer;
}

.swp-home-hero__dot.is-active {
    background: #fff;
}

.swp-home-hero__poster {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: opacity 300ms ease;
}

.swp-home-hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.swp-home-hero.is-video-ready .swp-home-hero__video {
    z-index: 1;
}

.swp-home-hero.is-video-ready .swp-home-hero__poster {
    opacity: 0;
}

.swp-home-hero--video .swp-home-hero__overlay {
    z-index: 3;
}

.swp-home-hero--video .swp-home-hero__cta {
    pointer-events: auto;
    color: #fff;
    text-decoration: none;
}

.swp-home-content {
    padding-top: 56px;
    padding-bottom: 56px;
}

.swp-home-content .post,
.swp-home-content .entry {
    width: 100%;
}

@media screen and (max-width: 782px) {
    .swp-home-header {
        height: var(--swp-home-hero-height-mobile, 360px);
    }

    .swp-home-header:not(.swp-home-header--full) {
        margin-top: 0;
    }

    .swp-home-hero__overlay {
        padding: 24px 20px 34px;
    }

    .swp-home-hero__title {
        font-size: clamp(30px, 9vw, 44px);
    }

    .swp-home-hero__text {
        font-size: 16px;
    }

    .swp-home-content {
        padding-top: 36px;
        padding-bottom: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .swp-home-hero__slide,
    .swp-home-hero__poster {
        transition: none;
    }
}

/* ---------------- SWP 404 Page ---------------- */
body.error404 {
  margin: 0;
  background: var(--swp-404-background, #efefed);
}

.error-404 {
  width: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) 24px clamp(28px, 4vw, 48px);
  color: var(--swp-404-text, #252a2f);
  background: var(--swp-404-background, #efefed);
  box-sizing: border-box;
}

.admin-bar .error-404 {
  min-height: calc(100svh - 32px);
}

.error-404__content {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
  align-self: center;
}

.error-404__code {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--swp-404-text, #252a2f);
  font-size: clamp(112px, 19vw, 220px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.09em;
}

.error-404__code span {
  display: inline-block;
}

.error-404__zero {
  position: relative;
  z-index: 1;
  margin-inline: -0.035em -0.015em;
  transform: translateY(0.055em) rotate(-12deg);
  transform-origin: center;
}

.error-404__headline {
  margin: clamp(28px, 4vw, 42px) 0 0;
  color: var(--swp-404-text, #252a2f);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.35;
}

.error-404__message {
  max-width: 690px;
  margin: 14px auto 0;
  color: var(--swp-404-muted, #666b70);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
}

.error-404__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 28px;
  padding: 11px 24px;
  color: var(--swp-404-button-text, #ffffff) !important;
  background: var(--swp-404-button-bg, #343a40);
  border: 1px solid var(--swp-404-button-bg, #343a40);
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.error-404__button:hover {
  color: var(--swp-404-button-hover-text, #ffffff) !important;
  background: var(--swp-404-button-hover-bg, #1f2428);
  border-color: var(--swp-404-button-hover-bg, #1f2428);
}

.error-404__button:focus-visible {
  outline: 3px solid var(--swp-404-focus, #8c9297);
  outline-offset: 4px;
}

.error-404__illustration {
  width: min(220px, 46vw);
  margin: clamp(32px, 6vh, 72px) auto 0;
  text-align: center;
}

.error-404__illustration-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  margin: 0 auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.76;
}

@media screen and (max-width: 782px) {
  .admin-bar .error-404 {
    min-height: calc(100svh - 46px);
  }
}

@media screen and (max-width: 600px) {
  .error-404 {
    padding: 42px 20px 26px;
  }

  .error-404__code {
    font-size: clamp(96px, 34vw, 150px);
  }

  .error-404__headline {
    margin-top: 30px;
  }

  .error-404__illustration {
    width: min(180px, 52vw);
    margin-top: 36px;
  }
}


/* ---------------- SWP Standard Content / Optional Right Sidebar ---------------- */

/* The WordPress Default page template is always a true full-width content
 * layout. Sidebar templates opt into their own two-column grid separately. */
.swp-page-layout--full > .swp-site-container {
  display: block;
}

.swp-page-layout--full .swp-content-entry,
.swp-page-layout--full .swp-entry-content {
  display: block;
  float: none;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.swp-page-layout--full .swp-entry-content::after {
  content: "";
  display: table;
  clear: both;
}

.swp-main-content {
  width: 100%;
  padding-top: 48px;
  padding-bottom: 56px;
  box-sizing: border-box;
}

.swp-main-content--hero-overlay {
  padding-top: 0;
}

.swp-content-layout {
  width: 100%;
}

.swp-content-layout--right-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.swp-primary-content,
.swp-content-entry,
.swp-entry-content {
  min-width: 0;
  width: 100%;
}

.swp-entry-header {
  margin-bottom: 32px;
}

.swp-entry-header--single {
  margin-bottom: 36px;
}

.swp-entry-meta-bottom {
  margin-top: 32px;
}

.swp-comments {
  margin-top: 40px;
}

.swp-page-links {
  margin-top: 24px;
}

.swp-sidebar {
  min-width: 0;
  margin: 0;
}

.swp-sidebar-widget {
  margin: 0 0 32px;
}

.swp-sidebar-widget:last-child {
  margin-bottom: 0;
}

.swp-sidebar-widget__title {
  margin-top: 0;
}

.swp-sidebar img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 900px) {
  .swp-main-content {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .swp-main-content--hero-overlay {
    padding-top: 0;
  }

  .swp-content-layout--right-sidebar {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media screen and (max-width: 568px) {
  .swp-main-content {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .swp-main-content--hero-overlay {
    padding-top: 0;
  }
}


/* ---------------- SWP Single Post / Breadcrumb / Comments ---------------- */
.swp-entry-header--single {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.swp-breadcrumbs {
  margin: 0 0 14px;
  color: var(--swp-color-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swp-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: inherit;
}

.swp-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.swp-breadcrumbs li + li::before {
  content: ">";
  margin: 0 8px;
  color: var(--swp-color-border);
}

.swp-breadcrumbs a,
.swp-breadcrumbs span {
  color: inherit;
  text-decoration: none;
}

.swp-breadcrumbs a:hover,
.swp-breadcrumbs a:focus {
  color: var(--swp-color-primary-dark);
  text-decoration: none;
}

.swp-single-title {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}

.swp-entry-meta-wrap {
  margin-top: 12px;
}

.swp-entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 18px 0 0;
  color: var(--swp-color-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .055em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.swp-entry-meta > span,
.swp-entry-meta > a {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.swp-entry-meta__author {
  column-gap: 4px;
}

.swp-entry-meta > * + *::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 13px;
  margin: 0 10px;
  background: var(--swp-color-border);
}

.swp-entry-meta a {
  color: var(--swp-color-primary);
  text-decoration: none;
}

.swp-entry-meta a:hover,
.swp-entry-meta a:focus {
  color: var(--swp-color-primary-dark);
}

@media screen and (max-width: 700px) {
  .swp-entry-meta {
    font-size: 11px;
    letter-spacing: .045em;
  }

  .swp-entry-meta > * + *::before {
    height: 12px;
    margin: 0 8px;
  }
}


.swp-author-profile {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  width: 100%;
  max-width: 980px;
  margin: 42px auto 0;
  padding: 24px 28px;
  border-top: 3px solid var(--swp-color-primary);
  border-bottom: 1px solid var(--swp-color-border);
  background: var(--swp-color-white);
  box-sizing: border-box;
}

.swp-author-profile__avatar {
  align-self: start;
}

.swp-author-profile__avatar img {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.swp-author-profile__body {
  min-width: 0;
}

.swp-author-profile__eyebrow {
  margin: 0 0 3px;
  color: var(--swp-color-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.swp-author-profile__name {
  margin: 0;
  padding: 0;
  font-size: 24px;
  line-height: 1.25;
}

.swp-author-profile__name a {
  color: var(--swp-color-text);
  text-decoration: none;
}

.swp-author-profile__name a:hover,
.swp-author-profile__name a:focus {
  color: var(--swp-color-primary);
  text-decoration: none;
}

.swp-author-profile__bio {
  max-width: 760px;
  margin: 8px 0 0;
  padding: 0;
  color: var(--swp-color-muted);
  font-size: 15px;
  line-height: 1.65;
}

.swp-author-profile__posts-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--swp-color-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
}

.swp-author-profile__posts-link:hover,
.swp-author-profile__posts-link:focus {
  color: var(--swp-color-primary-dark);
  text-decoration: none;
}

.swp-comments {
  width: 100%;
  max-width: 860px;
  margin: 34px auto 0;
}

.swp-comment-list {
  margin: 0 0 38px;
}

.swp-comments-title,
.comment-reply-title {
  margin: 0 0 20px;
  padding: 0;
  line-height: 1.2;
}

.swp-comments-title {
  margin-bottom: 8px;
  color: var(--swp-color-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

.comment-reply-title {
  margin-bottom: 16px;
  color: var(--swp-color-text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .055em;
  text-align: left;
  text-transform: uppercase;
}

.swp-comments .comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.swp-comments .comment-list > li,
.swp-comments .children > li {
  list-style: none;
}

.swp-comments .comment-list > li {
  margin: 0;
  padding: 20px 0 24px;
  border-top: 1px solid var(--swp-color-border);
}

.swp-comments .comment-list > li:last-child {
  border-bottom: 1px solid var(--swp-color-border);
}

.swp-comments .children {
  margin: 18px 0 0 42px;
  padding: 0;
  list-style: none;
}

.swp-comments .children > li {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--swp-color-border);
}

.swp-comment {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
}

.swp-comment__avatar {
  grid-column: 1;
  align-self: start;
}

.swp-comment__avatar img {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.swp-comment__main {
  grid-column: 2;
  min-width: 0;
}

.swp-comment__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.swp-comment__author {
  min-width: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.swp-comment__author a {
  color: var(--swp-color-primary);
  text-decoration: none;
}

.swp-comment__author a:hover,
.swp-comment__author a:focus {
  color: var(--swp-color-primary-dark);
}

.swp-comment__time {
  flex: 0 0 auto;
  color: var(--swp-color-muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.swp-comment__time a {
  color: var(--swp-color-muted);
  text-decoration: none;
}

.swp-comment__time a:hover,
.swp-comment__time a:focus {
  color: var(--swp-color-primary);
}

.swp-comment__content {
  margin: 0;
  color: var(--swp-color-text);
  font-size: 15px;
  line-height: 1.7;
}

.swp-comment__content p {
  margin: 0 0 10px;
  padding: 0;
}

.swp-comment__content p:last-child {
  margin-bottom: 0;
}

.swp-comment__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
}

.swp-comment__edit:empty {
  display: none;
}

.swp-comment__edit a,
.swp-comment__reply a {
  color: var(--swp-color-primary);
  text-decoration: none;
}

.swp-comment__edit:not(:empty) + .swp-comment__reply {
  padding-left: 12px;
  border-left: 1px solid var(--swp-color-border);
}

.swp-comment__edit a:hover,
.swp-comment__edit a:focus,
.swp-comment__reply a:hover,
.swp-comment__reply a:focus {
  color: var(--swp-color-primary-dark);
}


.swp-comments .comment-awaiting-moderation {
  margin: 0 0 12px;
  color: var(--swp-color-muted);
  font-size: 13px;
  font-style: italic;
}

.swp-comments .logged-in-as,
.swp-comments .comment-notes {
  margin: 0 0 18px;
  color: var(--swp-color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.swp-comments .comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 16px;
  width: 100%;
}

.swp-comments .comment-form > p {
  margin: 0;
}

.swp-comments .logged-in-as,
.swp-comments .comment-notes,
.swp-comments .comment-form-comment,
.swp-comments .comment-form-url,
.swp-comments .comment-form-cookies-consent,
.swp-comments .form-submit {
  grid-column: 1 / -1;
}

.swp-comments .comment-form-author {
  grid-column: 1;
}

.swp-comments .comment-form-email {
  grid-column: 2;
}

.swp-comments label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

.swp-comments textarea,
.swp-comments input[type="text"],
.swp-comments input[type="email"],
.swp-comments input[type="url"] {
  width: 100%;
  max-width: none;
  border: 1px solid var(--swp-color-border);
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  background: var(--swp-color-white);
}

.swp-comments textarea:focus,
.swp-comments input[type="text"]:focus,
.swp-comments input[type="email"]:focus,
.swp-comments input[type="url"]:focus {
  outline: 2px solid var(--swp-color-primary-soft);
  outline-offset: 1px;
  border-color: var(--swp-color-primary);
}

.swp-comments textarea {
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

.swp-comments input[type="text"],
.swp-comments input[type="email"],
.swp-comments input[type="url"] {
  min-height: 42px;
  padding: 8px 10px;
}

.swp-comments .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.45;
}

.swp-comments .comment-form-cookies-consent input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.swp-comments .comment-form-cookies-consent label {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}

.swp-comments .form-submit {
  margin-top: 2px;
}

.swp-comment-submit {
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 0 !important;
}

.swp-comment-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0;
}

@media screen and (max-width: 700px) {
  .swp-author-profile {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
  }

  .swp-author-profile__avatar img {
    width: 72px;
    height: 72px;
  }

  .swp-author-profile__name {
    font-size: 21px;
  }

  .swp-entry-header--single {
    text-align: left;
  }

  .swp-breadcrumbs ol,
  .swp-entry-meta {
    justify-content: flex-start;
  }

  .swp-single-title {
    font-size: clamp(30px, 9vw, 42px);
    text-align: left;
  }

  .swp-entry-meta-bottom .author {
    align-items: flex-start;
  }

  .swp-comments {
    max-width: none;
  }
}


/* ---------------- SWP Footer Intro ---------------- */
.swp-footer-intro {
  position: relative;
  z-index: 0;
  max-width: none;
  margin: 0 0 32px;
  padding: 34px 24px;
  text-align: center;
}

.swp-footer-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--swp-color-footer-intro, #f5f7f8);
}

.swp-footer-intro > * {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


/* ---------------- SWP Blog / Archive / Search ---------------- */
.swp-listing-page {
  padding-top: 54px;
  padding-bottom: 64px;
}

.swp-listing-header {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.swp-listing-kicker {
  margin: 0 0 8px;
  color: var(--swp-color-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.swp-listing-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.swp-listing-description {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--swp-color-muted);
  line-height: 1.65;
}

.swp-post-list {
  display: grid;
  gap: 0;
  max-width: 1060px;
  margin: 0 auto;
}

.swp-post-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0 22px;
  border-top: 1px solid var(--swp-color-border);
}

.swp-post-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.swp-post-card:last-child {
  border-bottom: 0;
}

.swp-post-card--has-image {
  grid-template-columns: minmax(220px, 31%) minmax(0, 1fr);
  align-items: start;
}

.swp-post-card__image {
  display: block;
  overflow: hidden;
  background: var(--swp-color-surface);
}

.swp-post-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.swp-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 8px;
  color: var(--swp-color-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .045em;
  line-height: 1.4;
  text-transform: uppercase;
}

.swp-post-card__meta span + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 11px;
  margin: 0 9px;
  vertical-align: -1px;
  background: var(--swp-color-border);
}

.swp-post-card__meta a {
  color: inherit;
}

.swp-post-card__title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.swp-post-card__title a {
  color: var(--swp-color-text);
  text-decoration: none;
}

.swp-post-card__title a:hover,
.swp-post-card__title a:focus {
  color: var(--swp-color-primary);
}

.swp-post-card__excerpt {
  margin-top: 8px;
  color: var(--swp-color-text);
  font-size: 15px;
  line-height: 1.58;
}

.swp-post-card__excerpt p {
  margin: 0;
}

.swp-post-card__read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--swp-color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
}

.swp-post-card__read-more:hover,
.swp-post-card__read-more:focus {
  color: var(--swp-color-primary-dark);
}

.swp-pagination {
  max-width: 1060px;
  margin: 42px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--swp-color-border);
}

.swp-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.swp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--swp-color-border);
  text-decoration: none;
}

.swp-pagination .page-numbers.current,
.swp-pagination .page-numbers:hover,
.swp-pagination .page-numbers:focus {
  color: var(--swp-color-primary);
  background: transparent;
  border-color: var(--swp-color-primary);
}

.swp-search-title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.swp-search-title__label,
.swp-search-title__query {
  display: block;
}

.swp-search-title__query {
  overflow-wrap: anywhere;
  word-break: normal;
}

.swp-no-results {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.swp-no-results h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 30px);
}

.swp-no-results p {
  margin: 0;
  color: var(--swp-color-muted);
}

.search-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.search-form__label {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.search-form .search-field {
  width: 100%;
  min-width: 0;
}

.search-form .search-submit {
  flex: 0 0 auto;
  min-width: 96px;
}

.swp-no-results .search-form {
  max-width: 520px;
  margin: 20px auto 0;
}

@media screen and (max-width: 760px) {
  .swp-search-title__label,
  .swp-search-title__query {
    display: inline;
  }

  .swp-search-title__label::after {
    content: " ";
  }

  .swp-no-results {
    text-align: left;
  }

  .swp-no-results .search-form,
  .search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .search-form .search-submit {
    width: 100%;
    min-width: 0;
  }

  .swp-listing-page {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .swp-listing-header {
    margin-bottom: 28px;
    text-align: left;
  }

  .swp-post-card--has-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .swp-post-card {
    gap: 14px;
    padding: 20px 0;
  }

  .swp-post-card__title {
    font-size: clamp(25px, 7vw, 32px);
  }

  .swp-post-card__meta {
    font-size: 10px;
  }
}


/* ---------------- SWP Global Typography / Elements ---------------- */
:root {
  --swp-font-size-base: 16px;
  --swp-line-height-base: 1.65;

  --swp-font-size-h1: 56px;
  --swp-font-size-h2: 40px;
  --swp-font-size-h3: 30px;
  --swp-font-size-h4: 22px;
  --swp-font-size-h5: 18px;
  --swp-font-size-h6: 14px;

  --swp-space-xs: 8px;
  --swp-space-sm: 16px;
  --swp-space-md: 24px;
  --swp-space-lg: 40px;
  --swp-space-xl: 64px;

  --swp-control-height: 44px;
  --swp-focus-ring: 2px solid var(--swp-color-primary);
}

html {
  font-size: 100%;
}

body {
  color: var(--swp-color-text);
  font-size: var(--swp-font-size-base);
  line-height: var(--swp-line-height-base);
}

.entry,
.swp-post-card__excerpt,
.swp-listing-description {
  line-height: var(--swp-line-height-base);
}

.entry > *:first-child {
  margin-top: 0;
}

.entry > *:last-child {
  margin-bottom: 0;
}

.entry p,
.entry ul,
.entry ol,
.entry blockquote,
.entry table,
.entry pre,
.entry figure,
.entry form {
  margin-top: 0;
  margin-bottom: 22px;
}

.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
  margin-top: 34px;
  margin-bottom: 0.5em;
  color: var(--swp-color-text);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.entry h1:first-child,
.entry h2:first-child,
.entry h3:first-child,
.entry h4:first-child,
.entry h5:first-child,
.entry h6:first-child {
  margin-top: 0;
}

.entry h1 {
  font-size: var(--swp-font-size-h1);
}

.entry h2 {
  font-size: var(--swp-font-size-h2);
}

.entry h3 {
  font-size: var(--swp-font-size-h3);
}

.entry h4 {
  font-size: var(--swp-font-size-h4);
}

.entry h5 {
  font-size: var(--swp-font-size-h5);
}

.entry h6 {
  font-size: var(--swp-font-size-h6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry a:not(.button):not(.wp-element-button):not(.swp-post-card__read-more) {
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1px;
}

.entry ul,
.entry ol {
  padding-left: 1.4em;
}

.entry li {
  line-height: 1.55;
}

.entry li + li {
  margin-top: 0.35em;
}

.entry ul ul,
.entry ol ol,
.entry ul ol,
.entry ol ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.entry hr {
  height: 1px;
  margin: var(--swp-space-lg) 0;
  border: 0;
  background: var(--swp-color-border);
}

.entry blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 18px 22px;
  border-left: 3px solid var(--swp-color-primary);
  background: var(--swp-color-surface);
  color: var(--swp-color-text);
}

.entry blockquote::before,
.entry blockquote::after {
  content: none;
}

.entry blockquote p {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.65;
}

.entry blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--swp-color-muted);
  font-size: 13px;
  font-style: normal;
}

.entry table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.95em;
}

.entry th,
.entry td {
  padding: 11px 12px;
  border: 1px solid var(--swp-color-border);
  text-align: left;
  vertical-align: top;
}

.entry th {
  background: var(--swp-color-surface);
  font-weight: 700;
}

.entry code {
  padding: 0.12em 0.35em;
  background: var(--swp-color-surface);
  border: 1px solid var(--swp-color-border);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.entry pre {
  overflow-x: auto;
  padding: 16px 18px;
  background: var(--swp-color-surface);
  border: 1px solid var(--swp-color-border);
  line-height: 1.55;
  white-space: pre;
}

.entry pre code {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.9em;
}

.entry figure {
  max-width: 100%;
}

.entry figure img,
.entry img {
  max-width: 100%;
  height: auto;
}

.entry figcaption,
.entry .wp-caption-text {
  margin-top: 9px;
  color: var(--swp-color-muted);
  font-size: 12px;
  line-height: 1.5;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--swp-control-height);
  padding: 10px 18px;
  border: 1px solid var(--swp-color-primary-dark);
  border-radius: 0;
  background: var(--swp-color-primary-dark);
  color: var(--swp-color-white);
  box-shadow: none;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
.button:hover,
.button:focus,
.wp-element-button:hover,
.wp-element-button:focus {
  background: var(--swp-color-primary);
  border-color: var(--swp-color-primary);
  color: var(--swp-color-white);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="password"],
select,
textarea {
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--swp-color-border);
  border-radius: 0;
  background: var(--swp-color-white);
  color: var(--swp-color-text);
  box-shadow: none;
  font: inherit;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="password"],
select {
  min-height: var(--swp-control-height);
  padding: 8px 10px;
}

textarea {
  min-height: 160px;
  padding: 10px 12px;
  resize: vertical;
}

label {
  color: var(--swp-color-text);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: var(--swp-focus-ring);
  outline-offset: 2px;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--swp-color-primary);
}


/* Generic content forms: readable defaults without forcing every control full width. */
.entry form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.entry form input[type="text"],
.entry form input[type="email"],
.entry form input[type="tel"],
.entry form input[type="url"],
.entry form input[type="search"],
.entry form input[type="number"],
.entry form input[type="date"],
.entry form input[type="password"],
.entry form select,
.entry form textarea {
  width: min(100%, 420px);
}

.entry form textarea {
  min-height: 150px;
}

.entry form input[type="checkbox"],
.entry form input[type="radio"] {
  width: auto;
  margin-right: 6px;
}

/* Prevent overly wide text-heavy content from becoming hard to read while
 * still allowing media, tables, and custom layout components to use the container. */
.entry > p,
.entry > ul,
.entry > ol,
.entry > blockquote,
.entry > h1,
.entry > h2,
.entry > h3,
.entry > h4,
.entry > h5,
.entry > h6 {
  max-width: 900px;
}

/* Default pages are allowed to use the full site container.
 * Single posts keep the 900px readability cap above. */
.swp-page-layout--full .entry > p,
.swp-page-layout--full .entry > ul,
.swp-page-layout--full .entry > ol,
.swp-page-layout--full .entry > blockquote,
.swp-page-layout--full .entry > h1,
.swp-page-layout--full .entry > h2,
.swp-page-layout--full .entry > h3,
.swp-page-layout--full .entry > h4,
.swp-page-layout--full .entry > h5,
.swp-page-layout--full .entry > h6 {
  max-width: none;
}

/* Tables remain full available width, but scroll on narrow screens. */
.entry table {
  display: table;
}

@media screen and (max-width: 700px) {
  .entry h1 {
    font-size: clamp(32px, 9.5vw, 44px);
  }

  .entry h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .entry h3 {
    font-size: clamp(23px, 6.5vw, 30px);
  }

  .entry h4 {
    font-size: 19px;
  }

  .entry h5 {
    font-size: 16px;
  }

  .entry h6 {
    font-size: 12px;
  }

  .entry h1,
  .entry h2,
  .entry h3,
  .entry h4,
  .entry h5,
  .entry h6 {
    margin-top: 28px;
  }

  .entry blockquote {
    padding: 16px 16px;
  }

  .entry table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}


/* ---------------- SWP Responsive Cleanup ---------------- */
@media screen and (max-width: 782px) {
  /* Keep footer widget areas compact when stacked. */
  .swp-footer-container {
    padding-top: 24px;
    padding-bottom: 18px;
  }

  .swp-footer-widgets {
    gap: 18px;
    margin-bottom: 22px;
  }

  .swp-footer-widget-area,
  .swp-footer-widget-area .flex_33 {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .swp-footer-widget-area > * {
    margin-top: 0;
    margin-bottom: 0;
  }

  /* Right-sidebar templates stack predictably beneath primary content. */
  .swp-content-layout--right-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .swp-sidebar {
    width: 100%;
    margin-top: 0;
  }

  .swp-sidebar-widget {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 700px) {

  /* Generic forms should use the available mobile width. */
  .entry input[type="text"],
  .entry input[type="email"],
  .entry input[type="tel"],
  .entry input[type="url"],
  .entry input[type="search"],
  .entry input[type="number"],
  .entry input[type="date"],
  .entry input[type="password"],
  .entry select,
  .entry textarea {
    width: 100%;
  }

  .entry input[type="checkbox"],
  .entry input[type="radio"] {
    width: auto;
  }

  /* Comments stay compact and readable on narrow screens. */
  .swp-comments {
    margin-top: 28px;
  }

  .swp-comments-title {
    font-size: 12px;
  }

  .comment-reply-title {
    font-size: 17px;
  }

  .swp-comments .children {
    margin-left: 18px;
  }

  .swp-comments .children > li {
    margin-top: 16px;
    padding-top: 16px;
  }

  .swp-comment {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .swp-comment__avatar img {
    width: 48px;
    height: 48px;
  }

  .swp-comment__header {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 7px;
  }

  .swp-comment__time {
    max-width: 44%;
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
  }

  .swp-comment__content {
    font-size: 15px;
    line-height: 1.65;
  }

  .swp-comment__footer {
    margin-top: 9px;
  }

  .swp-comments .comment-form {
    grid-template-columns: 1fr;
    row-gap: 15px;
  }

  .swp-comments .comment-form-author,
  .swp-comments .comment-form-email,
  .swp-comments .comment-form-url,
  .swp-comments .comment-form-comment,
  .swp-comments .comment-form-cookies-consent,
  .swp-comments .form-submit,
  .swp-comments .logged-in-as,
  .swp-comments .comment-notes {
    grid-column: 1;
  }

  .swp-comments .comment-form input[type="text"],
  .swp-comments .comment-form input[type="email"],
  .swp-comments .comment-form input[type="url"],
  .swp-comments .comment-form textarea {
    display: block;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }

  .swp-comments .comment-form input[type="text"],
  .swp-comments .comment-form input[type="email"],
  .swp-comments .comment-form input[type="url"] {
    min-height: 44px;
  }

  .swp-comments .comment-form textarea {
    min-height: 165px;
  }
}


/* ---------------- SWP Sidebar Widget Polish ---------------- */
.swp-sidebar {
  min-width: 0;
}

.swp-sidebar .widget,
.swp-sidebar-widget {
  margin: 0 0 30px;
  padding-top: 14px;
  border-top: 1px solid var(--swp-color-border);
}

.swp-sidebar .widget:first-child,
.swp-sidebar-widget:first-child {
  padding-top: 0;
  border-top: 0;
}

.swp-sidebar .widget:last-child,
.swp-sidebar-widget:last-child {
  margin-bottom: 0;
}

.swp-sidebar .widget-title,
.swp-sidebar h2,
.swp-sidebar h3 {
  margin: 0 0 12px;
  color: var(--swp-color-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.swp-sidebar ul,
.swp-sidebar ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.swp-sidebar li {
  margin: 0;
  padding: 0;
}

.swp-sidebar li + li {
  margin-top: 0;
  border-top: 1px solid rgba(31, 41, 51, 0.08);
}

.swp-sidebar li > a {
  display: block;
  padding: 7px 0;
  color: var(--swp-color-primary);
  line-height: 1.4;
  text-decoration: none;
}

.swp-sidebar li > a:hover,
.swp-sidebar li > a:focus {
  color: var(--swp-color-primary-dark);
}

.swp-sidebar ul ul,
.swp-sidebar ol ol,
.swp-sidebar ul ol,
.swp-sidebar ol ul {
  margin: 0;
  padding: 0 0 0 12px;
  border-left: 1px solid var(--swp-color-border);
}

.swp-sidebar .widget_recent_comments li {
  padding: 7px 0;
  line-height: 1.45;
}

.swp-sidebar .widget_recent_comments li + li {
  border-top: 1px solid rgba(31, 41, 51, 0.08);
}

.swp-sidebar .widget_recent_comments li a {
  display: inline;
  padding: 0;
}

.swp-sidebar .search-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.swp-sidebar .search-form label {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.swp-sidebar .search-field {
  width: 100%;
  min-width: 0;
}

.swp-sidebar .search-submit {
  flex: 0 0 auto;
  min-width: 92px;
}

@media screen and (max-width: 782px) {
  .swp-sidebar {
    padding-top: 2px;
  }

  .swp-sidebar .widget,
  .swp-sidebar-widget {
    margin-bottom: 26px;
    padding-top: 12px;
  }

  .swp-sidebar .widget:first-child,
  .swp-sidebar-widget:first-child {
    padding-top: 0;
  }

  .swp-sidebar .widget-title,
  .swp-sidebar h2,
  .swp-sidebar h3 {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .swp-sidebar .search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .swp-sidebar .search-form label,
  .swp-sidebar .search-field,
  .swp-sidebar .search-submit {
    width: 100%;
  }

  .swp-sidebar .search-submit {
    min-width: 0;
  }

  .swp-sidebar ul,
  .swp-sidebar ol {
    padding-left: 0;
  }
}


/* SWP authoritative heading scale. */
.entry h1 { font-size: var(--swp-font-size-h1); }
.entry h2 { font-size: var(--swp-font-size-h2); }
.entry h3 { font-size: var(--swp-font-size-h3); }
.entry h4 { font-size: var(--swp-font-size-h4); }
.entry h5 { font-size: var(--swp-font-size-h5); }
.entry h6 { font-size: var(--swp-font-size-h6); }

@media screen and (max-width: 700px) {
  .entry h1 { font-size: 40px; }
  .entry h2 { font-size: 32px; }
  .entry h3 { font-size: 26px; }
  .entry h4 { font-size: 21px; }
  .entry h5 { font-size: 18px; }
  .entry h6 { font-size: 14px; }
}


/* Footer widgets are laid out by the footer grid, not legacy flex classes. */
.swp-footer-widget {
  min-width: 0;
}


/* Anchor-based buttons must keep button text color.
 * This comes after generic content-link rules so normal link color cannot
 * override the button label. */
.entry a.button,
.entry a.wp-block-button__link,
.entry a[class*="button"],
a.button,
a.wp-block-button__link {
  color: var(--swp-color-white);
  text-decoration: none;
}

.entry a.button:hover,
.entry a.button:focus,
.entry a.wp-block-button__link:hover,
.entry a.wp-block-button__link:focus,
.entry a[class*="button"]:hover,
.entry a[class*="button"]:focus,
a.button:hover,
a.button:focus,
a.wp-block-button__link:hover,
a.wp-block-button__link:focus {
  color: var(--swp-color-white);
  text-decoration: none;
}


/* ---------------- Mobile Inline Content Images ----------------
 * Keep classic WordPress left/right image wrapping on larger screens, but
 * prevent narrow text columns beside floated images on phones. */
@media screen and (max-width: 700px) {
  .entry img.alignleft,
  .entry img.alignright,
  .entry .alignleft,
  .entry .alignright,
  .entry figure.alignleft,
  .entry figure.alignright,
  .entry .wp-caption.alignleft,
  .entry .wp-caption.alignright {
    float: none !important;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 18px !important;
  }

  .entry figure.alignleft img,
  .entry figure.alignright img,
  .entry .wp-caption.alignleft img,
  .entry .wp-caption.alignright img {
    display: block;
    width: 100%;
    height: auto;
  }

  .entry figure.alignleft figcaption,
  .entry figure.alignright figcaption,
  .entry .wp-caption.alignleft .wp-caption-text,
  .entry .wp-caption.alignright .wp-caption-text {
    margin-top: 8px;
  }
}


/* ---------------- Footer Search Widget ----------------
 * Keep classic and block Search widgets aligned with the flatter SWP footer
 * treatment rather than falling back to WordPress widget defaults. */
.swp-footer-widget-area .widget_search .widget-title,
.swp-footer-widget-area .wp-block-search__label {
  display: block;
  margin: 0 0 9px;
  color: var(--swp-color-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.25;
  text-transform: uppercase;
}

.swp-footer-widget-area .search-form,
.swp-footer-widget-area .wp-block-search__inside-wrapper {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.swp-footer-widget-area .search-form__label,
.swp-footer-widget-area .wp-block-search__inside-wrapper .wp-block-search__input {
  min-width: 0;
}

.swp-footer-widget-area .search-form__label {
  flex: 1 1 auto;
}

.swp-footer-widget-area .search-field,
.swp-footer-widget-area .wp-block-search__input {
  width: 100%;
  min-width: 0;
}

.swp-footer-widget-area .search-submit,
.swp-footer-widget-area .wp-block-search__button {
  flex: 0 0 auto;
  min-width: 84px;
  margin: 0;
}

@media screen and (max-width: 560px) {
  .swp-footer-widget-area .search-form,
  .swp-footer-widget-area .wp-block-search__inside-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .swp-footer-widget-area .search-submit,
  .swp-footer-widget-area .wp-block-search__button {
    width: 100%;
    min-width: 0;
  }
}


/* ---------------- Single Post Featured Image ----------------
 * Three global presentation modes:
 * 1. Article Width: matches the article measure with a restrained landscape crop.
 * 2. Full Width: full-bleed viewport hero on normal full-width posts.
 * 3. Hero Overlay: full-bleed image with breadcrumb/title/meta over the image.
 */

.swp-single-featured-image {
  margin-top: 24px;
  margin-bottom: 30px;
}

.swp-single-featured-image__media {
  position: relative;
  overflow: hidden;
  background: var(--swp-color-surface);
}

.swp-single-featured-image__img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center center;
}

.swp-single-featured-image__caption {
  margin: 9px auto 0;
  color: var(--swp-color-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Default: same width as the article with a shallower editorial crop. */
.swp-single-featured-image--article {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.swp-single-featured-image--article .swp-single-featured-image__media {
  height: clamp(220px, 22vw, 320px);
}

/* Full-bleed styles span the viewport only on the normal full-width post. */
.swp-single-featured-image--full,
.swp-single-featured-image--overlay {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin-left: -50vw;
  margin-right: -50vw;
}

.swp-single-featured-image--full .swp-single-featured-image__media {
  height: clamp(240px, 24vw, 360px);
}

.swp-single-featured-image--overlay .swp-single-featured-image__media {
  height: clamp(250px, 24vw, 340px);
}

.swp-single-featured-image--full .swp-single-featured-image__caption,
.swp-single-featured-image--overlay .swp-single-featured-image__caption {
  width: min(1280px, calc(100% - (2 * var(--swp-site-gutter, 24px))));
}

/* Sidebar posts keep wide/overlay imagery within the primary content column. */
.swp-content-layout--right-sidebar .swp-single-featured-image--full,
.swp-content-layout--right-sidebar .swp-single-featured-image--overlay {
  left: auto;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Title-overlay mode. */
.swp-single-featured-image--overlay {
  margin-top: 0;
  margin-bottom: 0;
}

.swp-single-featured-image__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(15, 23, 31, 0.24) 0%,
      rgba(15, 23, 31, 0.18) 30%,
      rgba(15, 23, 31, 0.72) 100%
    );
}

.swp-single-featured-image__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px) var(--swp-site-gutter, 24px);
}

.swp-single-featured-image__title {
  width: min(1040px, 100%);
  margin: 0;
  color: var(--swp-color-white);
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.swp-single-featured-image__below {
  width: min(1040px, 100%);
  margin: 16px auto 28px;
  text-align: center;
}

.swp-single-featured-image__below .swp-breadcrumbs {
  margin-bottom: 10px;
}

.swp-single-featured-image__below .swp-entry-meta {
  justify-content: center;
}

@media screen and (max-width: 700px) {
  .swp-single-featured-image {
    margin-top: 18px;
    margin-bottom: 24px;
  }

  .swp-single-featured-image--overlay {
    margin-top: 0;
  }

  .swp-single-featured-image--article .swp-single-featured-image__media,
  .swp-single-featured-image--full .swp-single-featured-image__media {
    height: clamp(190px, 52vw, 250px);
  }

  .swp-single-featured-image--overlay .swp-single-featured-image__media {
    height: clamp(220px, 58vw, 280px);
    min-height: 0;
  }

  .swp-single-featured-image__caption {
    font-size: 11px;
  }

  .swp-single-featured-image__overlay {
    align-items: flex-end;
    padding: 24px 20px;
  }

  .swp-single-featured-image__title {
    font-size: clamp(28px, 8.5vw, 40px);
  }

  .swp-single-featured-image__below {
    margin-top: 14px;
    margin-bottom: 24px;
    padding: 0 4px;
  }
}


/* Pages reuse the Featured Image presentation system. */
.swp-page-featured-image.swp-single-featured-image--overlay {
  margin-bottom: 24px;
}

.swp-main-content--hero-overlay .swp-page-featured-image.swp-single-featured-image--overlay {
  margin-bottom: 24px;
}


/* ---------------- Utility Template Consistency ----------------
 * Keep 404/search-empty/landing/splash actions aligned with current SWP button language. */
.error404 .button,
.error404 button,
.swp-no-results .button,
.swp-no-results button,
.swp-no-results .search-submit {
  border-radius: 0;
}

.swp-no-results {
  padding-bottom: 8px;
}


/* ---------------- SWP Subscribers / Event Notify Me ---------------- */
.swp-event__button--notify-me {
  cursor: pointer;
  font: inherit;
}

.swp-modal-open {
  overflow: hidden;
}

.swp-notify-modal[hidden] {
  display: none;
}

.swp-notify-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
}

.swp-notify-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .72);
}

.swp-notify-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 36px);
  background: var(--swp-color-surface, #fff);
  color: var(--swp-color-text, #1f2933);
  box-sizing: border-box;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
}

.swp-notify-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.swp-notify-modal__dialog h2,
.swp-mailing-list__heading {
  margin-top: 0;
}

.swp-notify-modal__event {
  margin: -.35rem 0 .5rem;
  font-weight: 700;
}

.swp-notify-modal__intro,
.swp-mailing-list__description {
  color: var(--swp-color-muted, #64748b);
}

.swp-subscriber-form {
  display: grid;
  gap: 14px;
}

.swp-subscriber-form p {
  margin: 0;
}

.swp-subscriber-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  text-align: left;
}

.swp-subscriber-form input[type="text"],
.swp-subscriber-form input[type="email"] {
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid var(--swp-color-border, #cbd5e1);
  border-radius: 0;
  background: #fff;
  color: #111827;
  box-sizing: border-box;
}

.swp-subscriber-form__field-note {
  display: block;
  margin-top: 5px;
  color: var(--swp-color-muted, #64748b);
  font-size: .9em;
  font-weight: 400;
}

.swp-subscriber-form__checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400;
}

.swp-subscriber-form__checkbox input {
  margin-top: .25em;
}

.swp-subscriber-form__submit {
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: var(--swp-color-primary-dark, #174f7c);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.swp-subscriber-form__submit:disabled {
  cursor: default;
  opacity: .65;
}

.swp-subscriber-form__message {
  min-height: 1.5em;
}

.swp-subscriber-form__message.is-error {
  color: #8a1f11;
}

.swp-subscriber-form__message.is-success {
  color: #17683a;
}

.swp-subscriber-form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.swp-mailing-list {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.swp-mailing-list__form {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(16px, 2.5vw, 28px);
}

.swp-mailing-list__form > p {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.swp-mailing-list__consent,
.swp-mailing-list__form > .swp-subscriber-form__message,
.swp-mailing-list__form > .swp-subscriber-form__submit {
  grid-column: 1 / -1;
}

.swp-mailing-list__consent {
  text-align: left;
}

.swp-mailing-list__consent label {
  margin-bottom: 0;
  line-height: 1.45;
}

@media screen and (max-width: 600px) {
  .swp-mailing-list__form {
    grid-template-columns: 1fr;
  }

  .swp-mailing-list__consent,
  .swp-mailing-list__form > .swp-subscriber-form__message,
  .swp-mailing-list__form > .swp-subscriber-form__submit {
    grid-column: auto;
  }

  .swp-notify-modal {
    padding: 14px;
  }

  .swp-notify-modal__dialog {
    max-height: calc(100vh - 28px);
    padding: 24px 18px;
  }
}

/* SWP native Contact + Booking forms */
.swp-native-form {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.swp-native-form__heading {
  text-align: center;
}

.swp-native-form__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(16px, 2.5vw, 28px);
  row-gap: 14px;
  width: 100%;
}

.swp-native-form__field {
  width: 100%;
  margin: 0;
}

.swp-native-form__column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.swp-native-form__field--message-fill {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.swp-native-form__field--message-fill textarea {
  flex: 1 1 auto;
  min-height: 0;
}

.swp-contact-form-wrap .swp-native-form__column--contact-message .swp-native-form__field--message-fill,
.swp-contact-form-wrap .swp-native-form__column--contact-message textarea {
  height: 100%;
}

.swp-booking-form-wrap .swp-native-form__column--booking-right .swp-native-form__field--message-fill textarea {
  min-height: 126px;
}

.swp-native-form__field--full,
.swp-native-form__checkbox,
.swp-native-form__submit,
.swp-native-form__message {
  grid-column: 1 / -1 !important;
}

.swp-native-form__field--full {
  width: 100% !important;
  max-width: none !important;
}

.swp-native-form__field label {
  display: block;
  margin: 0 0 6px;
  text-align: left;
  font-weight: 700;
}

.swp-native-form__field input,
.swp-native-form__field textarea,
.swp-native-form__field select {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.swp-native-form__field textarea {
  min-height: 180px;
  resize: vertical;
}


.swp-native-form__checkbox {
  width: 100%;
  margin: 0;
}

.swp-native-form__checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  text-align: left;
}

.swp-native-form__checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  width: auto;
  margin-top: .2em;
}

.swp-native-form__submit {
  width: 100%;
  margin-top: 2px;
}

.swp-native-form__submit:disabled {
  cursor: default;
  opacity: .65;
}

.swp-native-form__message {
  min-height: 1.5em;
  margin: 0;
}

.swp-native-form__message.is-error {
  color: #8a1f11;
}

.swp-native-form__message.is-success {
  color: #17683a;
}

.swp-native-form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media screen and (max-width: 600px) {
  .swp-native-form__form {
    grid-template-columns: 1fr;
  }

  .swp-native-form__field--full,
  .swp-native-form__checkbox,
  .swp-native-form__submit,
  .swp-native-form__message {
    grid-column: auto !important;
  }
}
