body.tidyers-interior-page {
  background: #f8fafc;
  color: var(--tidyers-ink);
}

.tidyers-interior-page #page,
.tidyers-interior-page .site { background: transparent; }

.tidyers-interior-hero {
  padding: 142px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 10%, rgba(142, 173, 216, 0.22), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f4f7fb 100%);
}

.tidyers-interior-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
  gap: 72px;
  align-items: center;
}

.tidyers-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  color: #748391;
  font-size: 11px;
  font-weight: 600;
}

.tidyers-breadcrumbs a:hover { color: var(--tidyers-blue); }
.tidyers-breadcrumbs span[aria-current="page"] { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tidyers-interior-hero h1 {
  max-width: 760px;
  margin: 18px 0 22px;
  color: var(--tidyers-ink);
  font-family: Manrope, sans-serif;
  font-size: clamp(46px, 5.7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.tidyers-interior-hero__content > p {
  max-width: 650px;
  margin: 0;
  color: var(--tidyers-copy);
  font-size: 17px;
  line-height: 1.75;
}

.tidyers-interior-hero__meta { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--tidyers-copy); font-size: 13px; font-weight: 600; }
.tidyers-interior-hero__meta a { color: var(--tidyers-blue-dark); }
.tidyers-interior-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.tidyers-interior-hero__visual { position: relative; min-height: 430px; }
.tidyers-interior-hero__visual::before { position: absolute; top: -28px; right: -34px; width: 160px; height: 160px; border-radius: 50%; background: #e1eaf5; content: ""; }
.tidyers-interior-hero__visual img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; border-radius: 30px; object-fit: cover; box-shadow: 0 20px 55px rgba(26, 53, 88, 0.14); }
.tidyers-interior-hero__visual::after { position: absolute; z-index: 2; inset: 55% 0 0; border-radius: 0 0 30px 30px; background: linear-gradient(transparent, rgba(19, 39, 63, 0.24)); content: ""; pointer-events: none; }
.tidyers-interior-hero__badge { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-radius: 13px; background: rgba(255, 255, 255, 0.96); color: var(--tidyers-navy); box-shadow: 0 10px 28px rgba(26, 53, 88, 0.12); font-size: 11px; font-weight: 700; }
.tidyers-interior-hero__badge span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--tidyers-blue-pale); color: var(--tidyers-blue); }

.tidyers-entry-shell { padding: 90px 0 110px; background: #fff; }
.tidyers-entry-content { width: 100%; max-width: 1040px; margin-inline: auto; color: #4f606d; font-size: 16px; line-height: 1.8; }
.tidyers-entry-content::after { display: table; clear: both; content: ""; }

.tidyers-entry-content > *:first-child { margin-top: 0; }
.tidyers-entry-content > *:last-child { margin-bottom: 0; }
.tidyers-entry-content p { margin-top: 0; margin-bottom: 1.35em; }
.tidyers-entry-content h1,
.tidyers-entry-content h2,
.tidyers-entry-content h3,
.tidyers-entry-content h4,
.tidyers-entry-content h5,
.tidyers-entry-content h6 { color: var(--tidyers-ink); font-family: Manrope, sans-serif; letter-spacing: -0.035em; line-height: 1.2; }
.tidyers-entry-content h2 { margin: 1.6em 0 0.55em; font-size: clamp(30px, 3.7vw, 46px); }
.tidyers-entry-content h3 { margin: 1.5em 0 0.5em; font-size: clamp(24px, 2.8vw, 32px); }
.tidyers-entry-content h4 { margin: 1.4em 0 0.5em; font-size: 21px; }
.tidyers-entry-content a:not(.tidyers-button):not(.elementor-button) { color: var(--tidyers-blue-dark); text-decoration: underline; text-decoration-color: rgba(69, 116, 184, 0.35); text-underline-offset: 3px; }
.tidyers-entry-content a:hover { text-decoration-color: currentColor; }
.tidyers-entry-content ul,
.tidyers-entry-content ol { margin: 1.25em 0 1.5em; padding-left: 1.35em; }
.tidyers-entry-content li { margin-bottom: 0.48em; }
.tidyers-entry-content li::marker { color: var(--tidyers-blue); font-weight: 700; }
.tidyers-entry-content blockquote { margin: 2.2em 0; padding: 26px 30px; border: 0; border-left: 4px solid var(--tidyers-blue); border-radius: 0 18px 18px 0; background: #edf3fa; color: var(--tidyers-navy); font-family: Manrope, sans-serif; font-size: 19px; }
.tidyers-entry-content img { border-radius: 22px; }
.tidyers-entry-content figure { margin-top: 2em; margin-bottom: 2em; }
.tidyers-entry-content figcaption { margin-top: 8px; color: #748391; font-size: 11px; text-align: center; }
.tidyers-entry-content hr { margin: 55px 0; border: 0; border-top: 1px solid var(--tidyers-border); }
.tidyers-entry-content table { width: 100%; margin: 30px 0; overflow: hidden; border: 1px solid var(--tidyers-border); border-collapse: separate; border-spacing: 0; border-radius: 16px; }
.tidyers-entry-content th,
.tidyers-entry-content td { padding: 14px 16px; border-right: 1px solid var(--tidyers-border); border-bottom: 1px solid var(--tidyers-border); text-align: left; }
.tidyers-entry-content th { background: #edf3fa; color: var(--tidyers-navy); font-size: 13px; }
.tidyers-entry-content tr:last-child td { border-bottom: 0; }
.tidyers-entry-content tr > *:last-child { border-right: 0; }

.tidyers-treatment-section { margin: 0 auto 80px; }
.tidyers-treatment-section__heading { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px 70px; align-items: end; margin-bottom: 34px; }
.tidyers-treatment-section__heading .tidyers-eyebrow { grid-column: 1 / -1; }
.tidyers-treatment-section__heading h2 { margin: 0; color: var(--tidyers-ink); font-family: Manrope, sans-serif; font-size: clamp(34px, 4.2vw, 52px); letter-spacing: -0.045em; line-height: 1.07; }
.tidyers-treatment-section__heading p { margin: 0; color: var(--tidyers-copy); line-height: 1.75; }
.tidyers-treatment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.tidyers-treatment-grid article { min-height: 200px; scroll-margin-top: 110px; padding: 24px; border: 1px solid var(--tidyers-border); border-radius: 20px; background: #f8fafc; }
.tidyers-treatment-grid article > span { display: block; margin-bottom: 30px; color: rgba(69, 116, 184, 0.3); font-family: Manrope, sans-serif; font-size: 28px; font-weight: 800; }
.tidyers-treatment-grid h3 { margin: 0 0 8px; color: var(--tidyers-navy); font-family: Manrope, sans-serif; font-size: 18px; }
.tidyers-treatment-grid p { margin: 0; color: var(--tidyers-copy); font-size: 12px; line-height: 1.65; }

/* Gutenberg content */
.tidyers-entry-content .alignwide { width: min(1180px, calc(100vw - 40px)); max-width: none; margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }
.tidyers-entry-content .alignfull { width: 100vw; max-width: none; margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }
.tidyers-entry-content .wp-block-button__link { padding: 15px 22px; border-radius: 13px; background: var(--tidyers-blue); color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none !important; }
.tidyers-entry-content .wp-block-button__link:hover { background: var(--tidyers-blue-dark); }
.tidyers-entry-content .wp-block-group { border-radius: 24px; }

/* Existing Elementor content is restyled without changing saved page data. */
.tidyers-entry-content > .elementor { width: 100vw; margin-right: 50%; margin-left: 50%; transform: translateX(-50%); }
.tidyers-entry-content .elementor-section.elementor-section-boxed > .elementor-container,
.tidyers-entry-content .e-con.e-con-boxed > .e-con-inner { width: min(1180px, calc(100% - 40px)); max-width: 1180px; }
.tidyers-entry-content .elementor-section,
.tidyers-entry-content .e-con { --e-global-color-primary: var(--tidyers-blue); --e-global-color-secondary: var(--tidyers-navy); }
.tidyers-entry-content .elementor-widget-heading .elementor-heading-title { color: var(--tidyers-ink); font-family: Manrope, sans-serif; letter-spacing: -0.035em; line-height: 1.15; }
.tidyers-entry-content .elementor-widget-text-editor { color: #536471; font-family: Inter, sans-serif; line-height: 1.75; }
.tidyers-entry-content .elementor-button { min-height: 50px; padding: 16px 22px; border: 1px solid transparent; border-radius: 13px; background: var(--tidyers-blue); color: #fff; font-family: Inter, sans-serif; font-size: 13px; font-weight: 700; box-shadow: none; }
.tidyers-entry-content .elementor-button:hover { background: var(--tidyers-blue-dark); transform: translateY(-1px); }
.tidyers-entry-content .elementor-widget-image img { border-radius: 24px; }
.tidyers-entry-content .elementor-widget-icon-box,
.tidyers-entry-content .elementor-widget-image-box,
.tidyers-entry-content .elementor-widget-testimonial,
.tidyers-entry-content .elementor-widget-counter { height: 100%; padding: 24px; border: 1px solid var(--tidyers-border); border-radius: 20px; background: #fff; box-shadow: 0 10px 32px rgba(26, 53, 88, 0.06); }
.tidyers-entry-content .elementor-icon-box-title,
.tidyers-entry-content .elementor-image-box-title,
.tidyers-entry-content .elementor-counter-title { color: var(--tidyers-navy) !important; font-family: Manrope, sans-serif; }
.tidyers-entry-content .elementor-counter-number-wrapper { color: var(--tidyers-blue); font-family: Manrope, sans-serif; font-weight: 800; }
.tidyers-entry-content .elementor-shape { display: none; }

/* Forms from Elementor, Contact Form 7, WPForms and native blocks. */
.tidyers-entry-content form { padding: 28px; border: 1px solid var(--tidyers-border); border-radius: 22px; background: #f8fafc; }
.tidyers-entry-content form label { color: var(--tidyers-navy); font-size: 12px; font-weight: 700; }
.tidyers-entry-content input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.tidyers-entry-content select,
.tidyers-entry-content textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d6e0ea; border-radius: 11px; background: #fff; color: var(--tidyers-ink); box-shadow: none; }
.tidyers-entry-content textarea { min-height: 140px; resize: vertical; }
.tidyers-entry-content input:focus,
.tidyers-entry-content select:focus,
.tidyers-entry-content textarea:focus { border-color: var(--tidyers-blue); outline: 3px solid rgba(69, 116, 184, 0.12); }
.tidyers-entry-content input[type="submit"],
.tidyers-entry-content button[type="submit"] { min-height: 50px; padding: 0 24px; border: 0; border-radius: 13px; background: var(--tidyers-blue); color: #fff; cursor: pointer; font-size: 13px; font-weight: 700; }
.tidyers-entry-content input[type="submit"]:hover,
.tidyers-entry-content button[type="submit"]:hover { background: var(--tidyers-blue-dark); }

.tidyers-interior-cta { padding: 0 0 90px; background: #fff; }
.tidyers-interior-cta__card { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 54px 58px; border-radius: 30px; background: var(--tidyers-navy-light); color: #fff; }
.tidyers-interior-cta__card > div > span { color: #c8d9ea; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.tidyers-interior-cta h2 { margin: 8px 0 9px; color: #fff; font-family: Manrope, sans-serif; font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.045em; line-height: 1.05; }
.tidyers-interior-cta p { margin: 0; color: #c9d5e0; }

/* Blog and archive cards */
.tidyers-listing-shell { padding: 90px 0 110px; background: #fff; }
.tidyers-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tidyers-post-card { overflow: hidden; border: 1px solid var(--tidyers-border); border-radius: 24px; background: #fff; box-shadow: 0 10px 35px rgba(26, 53, 88, 0.06); }
.tidyers-post-card__image { display: block; height: 280px; overflow: hidden; background: #e7eef5; }
.tidyers-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.tidyers-post-card:hover .tidyers-post-card__image img { transform: scale(1.035); }
.tidyers-post-card__body { padding: 26px; }
.tidyers-post-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: #758492; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tidyers-post-card__meta a { color: var(--tidyers-blue-dark); }
.tidyers-post-card h2 { margin: 0 0 11px; color: var(--tidyers-ink); font-family: Manrope, sans-serif; font-size: 25px; letter-spacing: -0.035em; line-height: 1.2; }
.tidyers-post-card h2 a:hover { color: var(--tidyers-blue-dark); }
.tidyers-post-card p { margin: 0 0 18px; color: var(--tidyers-copy); font-size: 13px; line-height: 1.7; }
.tidyers-post-card__link { display: inline-flex; gap: 8px; align-items: center; color: var(--tidyers-blue-dark) !important; font-size: 12px; font-weight: 800; }
.tidyers-post-card__link span { transition: transform 0.2s ease; }
.tidyers-post-card__link:hover span { transform: translateX(3px); }

.navigation.pagination { margin-top: 45px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 12px; border: 1px solid var(--tidyers-border); border-radius: 11px; background: #fff; color: var(--tidyers-navy); font-size: 12px; font-weight: 700; }
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover { border-color: var(--tidyers-blue); background: var(--tidyers-blue); color: #fff; }

.tidyers-empty-state { padding: 65px 30px; border: 1px solid var(--tidyers-border); border-radius: 24px; background: #f8fafc; text-align: center; }
.tidyers-empty-state h2 { margin: 0 0 8px; color: var(--tidyers-ink); font-family: Manrope, sans-serif; font-size: 30px; }
.tidyers-empty-state p { margin: 0; color: var(--tidyers-copy); }
.tidyers-search-box { max-width: 720px; margin: 0 auto 45px; }
.tidyers-search-box form { display: flex; padding: 8px; border: 1px solid var(--tidyers-border); border-radius: 16px; background: #f8fafc; }
.tidyers-search-box label { flex: 1; }
.tidyers-search-box input[type="search"] { width: 100%; height: 48px; padding: 0 14px; border: 0; background: transparent; outline: 0; }
.tidyers-search-box input[type="submit"] { min-width: 105px; border: 0; border-radius: 11px; background: var(--tidyers-blue); color: #fff; font-weight: 700; }

/* Article layout */
.tidyers-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.tidyers-article-content { max-width: 760px; margin: 0; font-size: 17px; }
.tidyers-article-aside { position: sticky; top: 110px; }
.tidyers-article-aside__card { padding: 26px; border-radius: 22px; background: #edf3fa; }
.tidyers-article-aside__card > span { color: var(--tidyers-blue-dark); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.tidyers-article-aside h2 { margin: 10px 0; color: var(--tidyers-navy); font-family: Manrope, sans-serif; font-size: 25px; letter-spacing: -0.035em; line-height: 1.18; }
.tidyers-article-aside p { margin: 0 0 20px; color: var(--tidyers-copy); font-size: 12px; line-height: 1.65; }
.tidyers-article-aside .tidyers-button { width: 100%; }
.tidyers-article-footer { margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--tidyers-border); }
.tidyers-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 11px; }
.tidyers-tags > span { color: var(--tidyers-navy); font-weight: 800; }
.tidyers-tags a { padding: 6px 9px; border-radius: 999px; background: var(--tidyers-blue-pale); text-decoration: none !important; }

/* WordPress comments, if enabled */
.comments-area { width: min(760px, calc(100% - 40px)); margin: -55px auto 90px; padding: 30px; border: 1px solid var(--tidyers-border); border-radius: 22px; background: #fff; }
.comments-area .comments-title,
.comments-area .comment-reply-title { font-family: Manrope, sans-serif; }
.comments-area textarea { width: 100%; border: 1px solid var(--tidyers-border); border-radius: 12px; }

/* 404 */
.tidyers-not-found { min-height: 760px; display: grid; place-items: center; padding: 140px 0 80px; background: radial-gradient(circle at 50% 35%, #e8f0f9, #f8fafc 58%); }
.tidyers-not-found__card { position: relative; overflow: hidden; max-width: 760px; margin: auto; padding: 70px 55px; border: 1px solid var(--tidyers-border); border-radius: 30px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--tidyers-shadow); text-align: center; }
.tidyers-not-found__number { position: absolute; top: -72px; right: -8px; color: rgba(69, 116, 184, 0.07); font-family: Manrope, sans-serif; font-size: 220px; font-weight: 800; line-height: 1; }
.tidyers-not-found .tidyers-eyebrow { position: relative; }
.tidyers-not-found h1 { position: relative; margin: 18px 0 14px; color: var(--tidyers-ink); font-family: Manrope, sans-serif; font-size: clamp(42px, 6vw, 68px); letter-spacing: -0.05em; line-height: 1.04; }
.tidyers-not-found p { position: relative; max-width: 570px; margin: 0 auto; color: var(--tidyers-copy); }
.tidyers-not-found__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

@media (max-width: 900px) {
  .tidyers-interior-hero { padding-top: 125px; }
  .tidyers-interior-hero__grid { grid-template-columns: 1fr; gap: 42px; }
  .tidyers-interior-hero__visual { min-height: 440px; }
  .tidyers-article-layout { grid-template-columns: 1fr; gap: 45px; }
  .tidyers-article-content { max-width: none; }
  .tidyers-article-aside { position: static; }
  .tidyers-interior-cta__card { grid-template-columns: 1fr; }
  .tidyers-treatment-section__heading { grid-template-columns: 1fr; gap: 18px; }
  .tidyers-treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .tidyers-interior-hero { padding: 108px 0 58px; }
  .tidyers-interior-hero h1 { font-size: clamp(41px, 12vw, 58px); }
  .tidyers-interior-hero__content > p { font-size: 15px; }
  .tidyers-interior-hero__actions .tidyers-button { flex: 1 1 100%; }
  .tidyers-interior-hero__visual { min-height: 340px; }
  .tidyers-interior-hero__visual img { border-radius: 24px; }
  .tidyers-interior-hero__badge { right: 12px; bottom: 12px; }
  .tidyers-entry-shell,
  .tidyers-listing-shell { padding: 70px 0 78px; }
  .tidyers-entry-content { font-size: 15px; }
  .tidyers-entry-content .alignwide { width: calc(100vw - 24px); }
  .tidyers-entry-content .elementor-section.elementor-section-boxed > .elementor-container,
  .tidyers-entry-content .e-con.e-con-boxed > .e-con-inner { width: calc(100% - 24px); }
  .tidyers-entry-content form { padding: 19px; }
  .tidyers-treatment-section { margin-bottom: 60px; }
  .tidyers-treatment-grid { grid-template-columns: 1fr; }
  .tidyers-post-grid { grid-template-columns: 1fr; }
  .tidyers-post-card__image { height: 235px; }
  .tidyers-interior-cta { padding-bottom: 70px; }
  .tidyers-interior-cta__card { gap: 28px; padding: 36px 24px; border-radius: 24px; }
  .tidyers-interior-cta__card .tidyers-button { width: 100%; }
  .tidyers-not-found__card { padding: 55px 24px; }
  .tidyers-not-found__number { font-size: 160px; }
}
