/*
 * Crie Seu Destino — visual layer v3
 *
 * This stylesheet is intentionally additive. The recovered OceanWP/Elementor
 * styles remain available underneath it so that content and historical pages
 * keep their original structure while the new visual system is rolled out.
 */

:root {
  --csd-ink: #252a25;
  --csd-ink-soft: #4d554c;
  --csd-paper: #f5f0e7;
  --csd-surface: #fffdf8;
  --csd-surface-muted: #ece5d8;
  --csd-line: #d9d0c1;
  --csd-accent: #a65335;
  --csd-accent-dark: #7d3824;
  --csd-bronze: #c28d4c;
  --csd-olive: #6f765d;
  --csd-shadow: 0 18px 50px rgba(37, 42, 37, .09);
  --csd-radius: 14px;
  --csd-content-width: 1180px;
  --csd-reading-width: 760px;
  --csd-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --csd-serif: "Roboto Slab", Georgia, "Times New Roman", serif;
}

html {
  background: var(--csd-paper);
  scroll-behavior: smooth;
}

body,
body.oceanwp-theme {
  background: var(--csd-paper) !important;
  color: var(--csd-ink) !important;
  font-family: var(--csd-sans) !important;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

img,
video,
iframe {
  max-width: 100%;
}

a {
  color: var(--csd-accent) !important;
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

a:hover,
a:focus-visible {
  color: var(--csd-accent-dark) !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(194, 141, 76, .6);
  outline-offset: 3px;
}

.screen-reader-text,
.skip-link {
  z-index: 10000;
}

.skip-link:focus {
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: var(--csd-bronze);
  color: var(--csd-ink) !important;
  clip: auto;
}

/* Header and navigation */

#site-header,
.site-header {
  position: relative;
  z-index: 20;
  background: var(--csd-ink) !important;
  border-bottom: 1px solid rgba(255, 253, 248, .14);
  box-shadow: 0 8px 28px rgba(37, 42, 37, .12);
}

#site-header-inner,
.site-header {
  width: min(100% - 2rem, var(--csd-content-width)) !important;
  min-height: 86px;
  margin: 0 auto !important;
  padding: 1rem 0 !important;
}

#site-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

#site-logo,
#site-logo-inner {
  max-width: 440px;
}

#site-logo a.site-title,
.site-header > a:first-child {
  display: inline-block;
  color: var(--csd-surface) !important;
  font-family: var(--csd-serif) !important;
  font-size: clamp(1.05rem, 2vw, 1.35rem) !important;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.18 !important;
  text-decoration: none;
}

#site-navigation-wrap {
  margin-left: auto;
}

#site-navigation .main-menu {
  display: flex;
  align-items: center;
  gap: .35rem;
}

#site-navigation .main-menu > li > a.menu-link,
#site-navigation .search-toggle-li > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .55rem .75rem;
  border-radius: 999px;
  color: rgba(255, 253, 248, .86) !important;
  font-size: .82rem !important;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.2 !important;
  text-decoration: none;
}

#site-navigation .main-menu > li > a.menu-link:hover,
#site-navigation .main-menu > li > a.menu-link:focus-visible,
#site-navigation .search-toggle-li > a:hover,
#site-navigation .search-toggle-li > a:focus-visible {
  background: rgba(255, 253, 248, .1);
  color: #fff !important;
}

#site-navigation .sub-menu {
  min-width: 180px;
  padding: .45rem;
  border: 1px solid rgba(255, 253, 248, .12);
  border-radius: 12px;
  background: var(--csd-ink) !important;
  box-shadow: var(--csd-shadow);
}

#site-navigation .sub-menu a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 8px;
  color: var(--csd-surface) !important;
  font-size: .85rem;
  text-decoration: none;
}

#site-navigation .sub-menu a:hover,
#site-navigation .sub-menu a:focus-visible {
  background: rgba(255, 253, 248, .1);
}

#searchform-dropdown,
#mobile-menu-search {
  border: 1px solid var(--csd-line) !important;
  border-radius: 12px;
  background: var(--csd-surface) !important;
  box-shadow: var(--csd-shadow);
}

#searchform-dropdown input,
#mobile-menu-search input,
form input[type="search"],
form input[type="text"],
form input[type="email"],
form textarea,
form select {
  min-height: 44px;
  border: 1px solid var(--csd-line) !important;
  border-radius: 9px !important;
  background: var(--csd-surface) !important;
  color: var(--csd-ink) !important;
  font: inherit;
}

.oceanwp-mobile-menu-icon {
  display: none;
  margin-left: auto;
}

.oceanwp-mobile-menu-icon a {
  color: var(--csd-surface) !important;
  text-decoration: none;
}

#mobile-dropdown {
  border-top: 1px solid rgba(255, 253, 248, .12);
  background: var(--csd-ink) !important;
}

#mobile-dropdown > nav {
  width: min(100% - 2rem, var(--csd-content-width));
  margin: 0 auto;
  padding: .65rem 0 1rem;
}

#mobile-dropdown ul.menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

#mobile-dropdown ul.menu a {
  display: block;
  padding: .6rem .25rem;
  color: var(--csd-surface) !important;
  text-decoration: none;
}

/* Main layout */

#outer-wrap,
#wrap,
#main {
  background: transparent !important;
}

#main {
  min-height: 55vh;
}

#content-wrap,
.elementor-section.elementor-section-boxed > .elementor-container {
  width: min(100% - 2rem, var(--csd-content-width)) !important;
  max-width: var(--csd-content-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#content-wrap {
  padding-top: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.elementor-section {
  border-color: var(--csd-line) !important;
}

.elementor-widget-container,
.elementor-widget-text-editor {
  color: inherit;
}

.elementor-heading-title,
.entry-title,
.single-post-title,
.page-header-title,
.widget-title,
.comment-reply-title {
  color: var(--csd-ink) !important;
  font-family: var(--csd-serif) !important;
  font-weight: 700;
  letter-spacing: -.035em;
}

.elementor-heading-title {
  font-size: clamp(1.8rem, 4vw, 3.25rem) !important;
  line-height: 1.08 !important;
}

/* Home and editorial listing surfaces */

.home #main > .elementor > .elementor-top-section:first-child {
  margin: 0 auto 2rem;
  padding: 0 0 2rem;
  background: transparent !important;
  color: var(--csd-ink);
}

.home .elementor-element-15dc5f90 {
  width: 100% !important;
  margin: 0 0 2rem !important;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 6vw, 5rem) !important;
  background:
    radial-gradient(circle at 80% 20%, rgba(194, 141, 76, .28), transparent 36%),
    linear-gradient(135deg, #252a25 0%, #344238 54%, #5f674e 100%) !important;
  color: var(--csd-surface);
  border-radius: 0 0 var(--csd-radius) var(--csd-radius);
  box-shadow: var(--csd-shadow);
}

.home .elementor-element-15dc5f90 .elementor-heading-title,
.home .elementor-element-15dc5f90 p,
.home .elementor-element-15dc5f90 a {
  color: var(--csd-surface) !important;
}

.home .elementor-element-08d294a {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home .elementor-element-08d294a > .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1.85fr) minmax(230px, .72fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.home .elementor-element-08d294a > .elementor-container > .elementor-column {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
}

.home .elementor-element-3c53c06 h5,
.home .elementor-element-61d11ff h5 {
  margin: 0 0 1rem;
  color: var(--csd-ink) !important;
  font-family: var(--csd-serif);
  font-size: 1.25rem;
  line-height: 1.2;
}

.home .elementor-element-61d11ff {
  padding: 1.25rem;
  border: 1px solid var(--csd-line);
  border-radius: var(--csd-radius);
  background: var(--csd-surface);
  box-shadow: 0 8px 25px rgba(37, 42, 37, .05);
}

.home .elementor-element-61d11ff ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home .elementor-element-61d11ff li {
  margin: 0;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(217, 208, 193, .7);
  color: var(--csd-ink-soft);
  font-size: .88rem;
  line-height: 1.35;
}

.home .elementor-element-61d11ff li:last-child {
  border-bottom: 0;
}

.home .elementor-element-61d11ff li a {
  text-decoration: none;
}

.home #main > .elementor > .elementor-top-section:not(:first-child),
.page-id-1345 #main > .elementor > .elementor-top-section:not(:first-child) {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.home .oceanwp-recent-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home .oceanwp-recent-posts > li {
  display: flex;
  min-width: 0;
  width: auto !important;
  float: none !important;
  flex-direction: column;
  margin: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--csd-line);
  border-radius: var(--csd-radius);
  background: var(--csd-surface);
  box-shadow: 0 8px 25px rgba(37, 42, 37, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}

.home .oceanwp-recent-posts > li:hover {
  transform: translateY(-3px);
  box-shadow: var(--csd-shadow);
}

.home .recent-posts-thumbnail {
  display: block;
  width: 100% !important;
  float: none !important;
  margin-bottom: .8rem;
}

.home .recent-posts-thumbnail img {
  display: block;
  width: 100% !important;
  height: 160px;
  border-radius: 10px;
  object-fit: cover;
}

.home .recent-posts-title,
.home .recent-posts-title a {
  color: var(--csd-ink) !important;
  font-family: var(--csd-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.home .recent-posts-details,
.home .recent-posts-details-inner {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.home .recent-posts-details-inner {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  justify-content: space-between;
  gap: .6rem;
}

.home .recent-posts-info,
.home .recent-posts-info a {
  color: var(--csd-ink-soft) !important;
  font-size: .78rem;
}

.elementor-button,
body .elementor-button.elementor-size-md,
body .elementor-button.elementor-size-xl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .75rem 1.15rem !important;
  border: 1px solid var(--csd-accent) !important;
  border-radius: 999px !important;
  background: var(--csd-accent) !important;
  color: #fffaf2 !important;
  font-size: .83rem !important;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.elementor-button:hover,
.elementor-button:focus-visible {
  border-color: var(--csd-accent-dark) !important;
  background: var(--csd-accent-dark) !important;
  color: #fffaf2 !important;
}

/* Articles and long-form reading */

.single-post #content-wrap,
.single-post #primary,
.single-post #content {
  width: min(100%, var(--csd-reading-width)) !important;
  max-width: var(--csd-reading-width) !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-post article {
  overflow: hidden;
}

.single-post article > .thumbnail {
  margin-bottom: 1.75rem;
}

.single-post article > .thumbnail img {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: var(--csd-radius);
  object-fit: cover;
  box-shadow: var(--csd-shadow);
}

.single-post .entry-header {
  margin-bottom: 1rem;
}

.single-post .single-post-title,
.single-post .entry-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem) !important;
  line-height: 1.02 !important;
}

.single-post ul.meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .85rem;
  margin: 0 0 2rem;
  padding: .85rem 0;
  border-top: 1px solid var(--csd-line);
  border-bottom: 1px solid var(--csd-line);
  color: var(--csd-ink-soft);
  list-style: none;
}

.single-post ul.meta li,
.single-post ul.meta li a {
  color: var(--csd-ink-soft) !important;
  font-size: .82rem !important;
  text-decoration: none;
}

.single-post .entry-content {
  color: #333a33;
  font-size: 1.08rem;
  line-height: 1.86;
}

.single-post .entry-content p,
.single-post .entry-content > div {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
  margin: 2.4rem 0 .85rem;
  color: var(--csd-ink);
  font-family: var(--csd-serif);
  line-height: 1.18;
}

.single-post .entry-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.single-post .entry-content h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.single-post .entry-content img {
  height: auto;
  border-radius: 10px;
}

.single-post .entry-content blockquote,
blockquote {
  margin: 2rem 0;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--csd-bronze) !important;
  border-radius: 0 10px 10px 0;
  background: var(--csd-surface-muted);
  color: var(--csd-ink);
  font-family: var(--csd-serif);
  font-size: 1.25rem;
  font-style: italic;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
  margin-top: 0;
  margin-bottom: 1.4rem;
  padding-left: 1.35rem;
}

.related-posts .related-post,
.single-post .comment-body {
  border-color: var(--csd-line) !important;
}

/* Forms, notices and utility elements */

button,
input[type="submit"],
input[type="button"] {
  min-height: 44px;
  border-radius: 999px !important;
  font: inherit;
  font-weight: 700;
}

.searchform-submit,
#mobile-menu-search button {
  border-color: var(--csd-accent) !important;
  background: var(--csd-accent) !important;
  color: #fffaf2 !important;
}

.page-numbers,
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 2rem;
}

.page-numbers a,
.page-numbers span,
.page-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: .4rem .7rem;
  border: 1px solid var(--csd-line);
  border-radius: 999px;
  background: var(--csd-surface);
  color: var(--csd-ink) !important;
  font-size: .85rem !important;
  text-decoration: none;
}

/* Footer */

#footer,
.site-footer {
  margin-top: 2rem;
  background: var(--csd-ink) !important;
  color: rgba(255, 253, 248, .74) !important;
}

#footer-inner {
  width: min(100% - 2rem, var(--csd-content-width));
  margin: 0 auto;
}

#footer-widgets {
  border-bottom: 1px solid rgba(255, 253, 248, .12);
}

#footer-bottom-inner {
  width: min(100% - 2rem, var(--csd-content-width));
  padding: 1.2rem 0;
}

#footer a,
#footer-bottom,
#copyright {
  color: rgba(255, 253, 248, .74) !important;
}

/* Fallback pages generated by the migration */

.site-header,
.content,
.site-footer {
  font-family: var(--csd-sans);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.content {
  width: min(100% - 2rem, var(--csd-reading-width));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6rem) 0;
}

.content article {
  padding: clamp(1.3rem, 5vw, 3rem);
  border: 1px solid var(--csd-line);
  border-radius: var(--csd-radius);
  background: var(--csd-surface);
  box-shadow: var(--csd-shadow);
}

.content h1 {
  font-family: var(--csd-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.eyebrow {
  color: var(--csd-accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Responsive layout */

@media (max-width: 980px) {
  #site-navigation .main-menu > li > a.menu-link,
  #site-navigation .search-toggle-li > a {
    padding-inline: .55rem;
    font-size: .76rem !important;
  }

  #site-logo a.site-title {
    max-width: 270px;
  }
}

@media (max-width: 840px) {
  #site-header-inner {
    min-height: 72px;
  }

  #site-navigation-wrap {
    display: none;
  }

  .oceanwp-mobile-menu-icon {
    display: block;
  }

  .home .oceanwp-recent-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  #site-header-inner,
  #content-wrap,
  #footer-bottom-inner,
  .elementor-section.elementor-section-boxed > .elementor-container {
    width: min(100% - 1.25rem, var(--csd-content-width)) !important;
  }

  #site-logo a.site-title {
    max-width: 235px;
    font-size: 1rem !important;
  }

  .home .oceanwp-recent-posts {
    grid-template-columns: 1fr;
  }

  .home .oceanwp-recent-posts > li {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: .85rem;
  }

  .home .recent-posts-thumbnail {
    grid-row: span 2;
    margin: 0;
  }

  .home .recent-posts-thumbnail img {
    width: 92px !important;
    height: 92px;
  }

  .home .elementor-element-08d294a > .elementor-container {
    grid-template-columns: 1fr;
  }

  .single-post .entry-content {
    font-size: 1rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
  }
}

/* v5 refinement: make the reading scale unmistakably larger */

:root {
  --csd-text-body: clamp(1.08rem, 1.04rem + .25vw, 1.18rem);
  --csd-text-small: clamp(.98rem, .94rem + .15vw, 1.05rem);
  --csd-text-meta: clamp(.9rem, .86rem + .15vw, 1rem);
  --csd-text-nav: clamp(.92rem, .88rem + .15vw, 1.02rem);
}

body[data-csd-style="v6"] {
  font-size: var(--csd-text-body) !important;
}

body[data-csd-style="v6"] #site-logo a.site-logo-text {
  font-size: clamp(1.24rem, 1.12rem + .5vw, 1.45rem) !important;
}

body[data-csd-style="v6"] #site-navigation .main-menu > li > a.menu-link,
body[data-csd-style="v6"] #site-navigation .search-toggle-li > a {
  font-size: var(--csd-text-nav) !important;
}

body[data-csd-style="v6"] .home .elementor-element-3c53c06 h5,
body[data-csd-style="v6"] .home .elementor-element-61d11ff h5 {
  font-size: 1.34rem;
}

body[data-csd-style="v6"] .home .recent-posts-title,
body[data-csd-style="v6"] .home .recent-posts-title a,
body[data-csd-style="v6"] .page-id-1345 .recent-posts-title,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-title {
  font-size: 1.18rem;
  line-height: 1.3;
}

body[data-csd-style="v6"] .home .recent-posts-info,
body[data-csd-style="v6"] .home .recent-posts-info a,
body[data-csd-style="v6"] .page-id-1345 .recent-posts-info,
body[data-csd-style="v6"] .page-id-1345 .recent-posts-info a,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-info,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-info a {
  font-size: var(--csd-text-meta) !important;
}

body[data-csd-style="v6"] .home .elementor-element-61d11ff li {
  font-size: var(--csd-text-small);
  line-height: 1.55;
}

body[data-csd-style="v6"] .single-post .entry-content,
body[data-csd-style="v6"] .elementor-widget-text-editor,
body[data-csd-style="v6"] .elementor-widget-text-editor p,
body[data-csd-style="v6"] .content article {
  font-size: var(--csd-text-body);
}

body[data-csd-style="v6"] .single-post .entry-content {
  line-height: 1.86;
}

body[data-csd-style="v6"] .single-post ul.meta li,
body[data-csd-style="v6"] .single-post ul.meta li a,
body[data-csd-style="v6"] #related-posts .published,
body[data-csd-style="v6"] .author-bio-description,
body[data-csd-style="v6"] .wpcf7-form label {
  font-size: var(--csd-text-meta) !important;
}

body[data-csd-style="v6"] .elementor-button,
body[data-csd-style="v6"] input[type="submit"],
body[data-csd-style="v6"] button[type="submit"] {
  font-size: var(--csd-text-small) !important;
}

body[data-csd-style="v6"] #footer,
body[data-csd-style="v6"] .site-footer {
  font-size: var(--csd-text-small);
}

@media (max-width: 620px) {
  body[data-csd-style="v6"] {
    font-size: 1.06rem !important;
  }

  body[data-csd-style="v6"] #site-logo a.site-logo-text {
    font-size: 1.16rem !important;
  }

  body[data-csd-style="v6"] #mobile-dropdown ul.menu a {
    font-size: 1.04rem !important;
  }

  body[data-csd-style="v6"] .home .recent-posts-title,
  body[data-csd-style="v6"] .home .recent-posts-title a {
    font-size: 1.12rem;
  }
}

/* v4 refinement: brighter surfaces, larger type and no legacy page veil */

:root {
  --csd-text-body: clamp(1.03rem, 1rem + .18vw, 1.08rem);
  --csd-text-small: clamp(.88rem, .84rem + .12vw, .94rem);
  --csd-text-meta: clamp(.8rem, .77rem + .1vw, .86rem);
  --csd-text-nav: clamp(.82rem, .78rem + .12vw, .92rem);
}

body[data-csd-style="v6"] {
  background: var(--csd-paper) !important;
  font-size: var(--csd-text-body) !important;
  line-height: 1.78;
}

body[data-csd-style="v6"] .elementor-background-overlay,
body[data-csd-style="v6"] .recent-posts-thumbnail .overlay {
  display: none !important;
}

body[data-csd-style="v6"] #site-header-inner {
  min-height: 70px;
  padding-block: .72rem !important;
}

body[data-csd-style="v6"] #site-logo a.site-logo-text {
  max-width: 430px;
  font-size: clamp(1.08rem, 1rem + .45vw, 1.32rem) !important;
  line-height: 1.18 !important;
}

body[data-csd-style="v6"] #site-navigation .main-menu > li > a.menu-link,
body[data-csd-style="v6"] #site-navigation .search-toggle-li > a {
  min-height: 38px;
  padding-inline: .62rem;
  font-size: var(--csd-text-nav) !important;
}

body[data-csd-style="v6"] #site-navigation .search-toggle-li > a {
  min-width: 38px;
  justify-content: center;
}

body[data-csd-style="v6"] #main > .elementor > .elementor-top-section:first-child {
  min-height: 0 !important;
  padding-top: clamp(1.5rem, 3vw, 2.75rem) !important;
}

body[data-csd-style="v6"] .home .elementor-element-15dc5f90 {
  max-width: var(--csd-content-width);
  margin: 0 auto 1.65rem !important;
  padding: clamp(2.35rem, 5vw, 4.6rem) clamp(1.35rem, 5vw, 4.5rem) !important;
}

body[data-csd-style="v6"] .home .elementor-element-15dc5f90 .elementor-heading-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.55rem) !important;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.04 !important;
  text-transform: none !important;
}

body[data-csd-style="v6"] .home .elementor-element-08d294a > .elementor-container {
  gap: clamp(1.1rem, 2.5vw, 2rem);
}

body[data-csd-style="v6"] .home .elementor-element-3c53c06 h5,
body[data-csd-style="v6"] .home .elementor-element-61d11ff h5 {
  font-size: 1.2rem;
  line-height: 1.25;
}

body[data-csd-style="v6"] .home .oceanwp-recent-posts > li {
  padding: .82rem !important;
}

body[data-csd-style="v6"] .home .recent-posts-thumbnail img {
  height: 170px;
  object-fit: cover;
}

body[data-csd-style="v6"] .home .recent-posts-title,
body[data-csd-style="v6"] .home .recent-posts-title a {
  font-size: 1.06rem;
  line-height: 1.28;
}

body[data-csd-style="v6"] .home .recent-posts-info,
body[data-csd-style="v6"] .home .recent-posts-info a {
  font-size: var(--csd-text-meta);
}

body[data-csd-style="v6"] .home .elementor-element-61d11ff {
  max-height: 520px;
  overflow: hidden;
}

body[data-csd-style="v6"] .home .elementor-element-61d11ff ul {
  max-height: 430px;
  overflow-y: auto;
  padding-right: .4rem;
  scrollbar-color: var(--csd-bronze) transparent;
}

body[data-csd-style="v6"] .home .elementor-element-61d11ff li {
  font-size: var(--csd-text-small);
  line-height: 1.45;
}

body[data-csd-style="v6"] .elementor-widget-text-editor,
body[data-csd-style="v6"] .elementor-widget-text-editor p,
body[data-csd-style="v6"] .entry-content,
body[data-csd-style="v6"] .author-bio-description {
  font-size: var(--csd-text-body);
}

body[data-csd-style="v6"] .single-post .entry-content {
  font-size: clamp(1.06rem, 1rem + .2vw, 1.14rem);
}

body[data-csd-style="v6"] .single-post .entry-content h2 {
  font-size: clamp(1.75rem, 2.2vw + 1rem, 2.55rem);
}

body[data-csd-style="v6"] .single-post .entry-content h3 {
  font-size: clamp(1.45rem, 1.4vw + 1rem, 1.95rem);
}

body[data-csd-style="v6"] .single-post ul.meta li,
body[data-csd-style="v6"] .single-post ul.meta li a,
body[data-csd-style="v6"] #related-posts .published {
  font-size: var(--csd-text-meta) !important;
}

body[data-csd-style="v6"] .page-id-2961 .elementor-testimonial-content {
  font-size: clamp(1.12rem, 1rem + .25vw, 1.28rem);
}

body[data-csd-style="v6"] .page-id-2961 .elementor-testimonial-name {
  font-size: var(--csd-text-meta);
}

body[data-csd-style="v6"] .page-id-83 .elementor-element-69117889 p,
body[data-csd-style="v6"] .wpcf7-form label {
  font-size: var(--csd-text-body);
}

body[data-csd-style="v6"] .page-id-83 .elementor-element-69117889 p:first-child {
  font-size: clamp(1.7rem, 2.2vw + 1rem, 2.45rem);
}

body[data-csd-style="v6"] .content article {
  font-size: var(--csd-text-body);
}

body[data-csd-style="v6"] .content article .eyebrow {
  font-size: var(--csd-text-meta);
}

@media (max-width: 840px) {
  body[data-csd-style="v6"] #site-header-inner {
    min-height: 64px;
  }

  body[data-csd-style="v6"] .home .elementor-element-15dc5f90 {
    margin-bottom: 1.25rem !important;
  }
}

@media (max-width: 620px) {
  body[data-csd-style="v6"] {
    font-size: 1.03rem !important;
  }

  body[data-csd-style="v6"] #site-header-inner {
    padding-block: .6rem !important;
  }

  body[data-csd-style="v6"] #site-logo a.site-logo-text {
    max-width: 275px;
    font-size: 1.06rem !important;
  }

  body[data-csd-style="v6"] .home .elementor-element-15dc5f90 {
    padding: 2.2rem 1.15rem !important;
  }

  body[data-csd-style="v6"] .home .elementor-element-15dc5f90 .elementor-heading-title {
    font-size: clamp(1.9rem, 9vw, 2.7rem) !important;
  }

  body[data-csd-style="v6"] .home .elementor-element-61d11ff {
    max-height: none;
  }

  body[data-csd-style="v6"] .home .elementor-element-61d11ff ul {
    max-height: 360px;
  }

  body[data-csd-style="v6"] .home .recent-posts-thumbnail img {
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* v3 refinement: editorial shell, content archives and recovered fallbacks */

body[data-csd-style="v6"] {
  overflow-x: hidden;
}

body[data-csd-style="v6"] #site-header {
  border-bottom-color: rgba(255, 253, 248, .18);
}

body[data-csd-style="v6"] #site-header-inner {
  min-height: 78px;
}

body[data-csd-style="v6"] #site-logo a.site-logo-text {
  max-width: 360px;
}

body[data-csd-style="v6"] #main > .elementor,
body[data-csd-style="v6"] .single-page-article,
body[data-csd-style="v6"] #content-wrap {
  overflow: visible;
}

body[data-csd-style="v6"] .elementor-top-section {
  margin: 0 auto;
}

body[data-csd-style="v6"] .elementor-top-section .elementor-widget-text-editor,
body[data-csd-style="v6"] .elementor-top-section .elementor-widget-text-editor p {
  color: var(--csd-ink-soft);
}

body[data-csd-style="v6"] .elementor-top-section:not(.home .elementor-top-section) {
  background: transparent;
}

/* Internal pages share a calm, readable page introduction. */

body[data-csd-style="v6"] .page:not(.home) .elementor > .elementor-top-section:first-child,
body[data-csd-style="v6"] .page:not(.home) .single-page-article > .entry > .elementor > .elementor-top-section:first-child {
  padding-top: clamp(2.25rem, 6vw, 5.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.75rem);
}

body[data-csd-style="v6"] .page:not(.home) .elementor > .elementor-top-section:first-child .elementor-heading-title {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.75rem) !important;
}

body[data-csd-style="v6"] .page:not(.home) .elementor > .elementor-top-section:not(:first-child) {
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 3.5rem);
}

body[data-csd-style="v6"] .page:not(.home) .elementor-section-boxed > .elementor-container {
  padding-inline: 0;
}

/* Blog and all OceanWP recent-post widgets use one consistent card system. */

body[data-csd-style="v6"] .page-id-1345 .elementor-element-2b4c3c62 {
  border-bottom: 1px solid var(--csd-line);
}

body[data-csd-style="v6"] .page-id-1345 .elementor-element-fc463fc {
  padding-top: clamp(1.25rem, 3vw, 2rem) !important;
}

body[data-csd-style="v6"] .page-id-1345 .oceanwp-recent-posts,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .oceanwp-recent-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-csd-style="v6"] .page-id-1345 .oceanwp-recent-posts > li,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .oceanwp-recent-posts > li {
  display: flex;
  min-width: 0;
  width: auto !important;
  min-height: 100%;
  float: none !important;
  flex-direction: column;
  margin: 0 !important;
  padding: 1rem !important;
  border: 1px solid var(--csd-line);
  border-radius: var(--csd-radius);
  background: var(--csd-surface);
  box-shadow: 0 8px 25px rgba(37, 42, 37, .05);
}

body[data-csd-style="v6"] .page-id-1345 .recent-posts-thumbnail,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-thumbnail {
  display: block;
  width: 100% !important;
  float: none !important;
  margin: 0 0 .85rem;
}

body[data-csd-style="v6"] .page-id-1345 .recent-posts-thumbnail img,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-thumbnail img {
  display: block;
  width: 100% !important;
  height: 178px;
  border-radius: 10px;
  object-fit: cover;
}

body[data-csd-style="v6"] .page-id-1345 .recent-posts-details,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-details,
body[data-csd-style="v6"] .page-id-1345 .recent-posts-details-inner,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-details-inner {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

body[data-csd-style="v6"] .page-id-1345 .recent-posts-details-inner,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-details-inner {
  display: flex;
  min-height: 90px;
  flex-direction: column;
  justify-content: space-between;
  gap: .65rem;
}

body[data-csd-style="v6"] .page-id-1345 .recent-posts-title,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-title {
  color: var(--csd-ink) !important;
  font-family: var(--csd-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

body[data-csd-style="v6"] .page-id-1345 .recent-posts-info,
body[data-csd-style="v6"] .page-id-1345 .recent-posts-info a,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-info,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-info a {
  color: var(--csd-ink-soft) !important;
  font-size: .78rem;
  line-height: 1.35;
}

/* Quotes page: turn the long testimonial stream into readable quote cards. */

body[data-csd-style="v6"] .page-id-2961 .elementor-element-8d7ba27 {
  border-radius: 0 0 var(--csd-radius) var(--csd-radius);
  background:
    radial-gradient(circle at 86% 16%, rgba(194, 141, 76, .26), transparent 32%),
    linear-gradient(135deg, #252a25, #3d4b3d) !important;
  color: var(--csd-surface);
}

body[data-csd-style="v6"] .page-id-2961 .elementor-element-8d7ba27 .elementor-heading-title,
body[data-csd-style="v6"] .page-id-2961 .elementor-element-8d7ba27 .elementor-widget-container,
body[data-csd-style="v6"] .page-id-2961 .elementor-element-8d7ba27 p {
  color: var(--csd-surface) !important;
}

body[data-csd-style="v6"] .page-id-2961 .elementor-element-7fcb988f > .elementor-container {
  display: block;
}

body[data-csd-style="v6"] .page-id-2961 .elementor-element-1f448f91 > .elementor-widget-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body[data-csd-style="v6"] .page-id-2961 .elementor-element-1f448f91 > .elementor-widget-wrap > .elementor-widget-heading,
body[data-csd-style="v6"] .page-id-2961 .elementor-element-1f448f91 > .elementor-widget-wrap > .elementor-widget-spacer,
body[data-csd-style="v6"] .page-id-2961 .elementor-element-1f448f91 > .elementor-widget-wrap > .elementor-widget-divider {
  grid-column: 1 / -1;
}

body[data-csd-style="v6"] .page-id-2961 .elementor-testimonial-wrapper {
  height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--csd-line);
  border-radius: var(--csd-radius);
  background: var(--csd-surface);
  box-shadow: 0 8px 25px rgba(37, 42, 37, .05);
}

body[data-csd-style="v6"] .page-id-2961 .elementor-testimonial-content {
  min-height: 5.5rem;
  color: var(--csd-ink);
  font-family: var(--csd-serif);
  font-size: 1.16rem;
  line-height: 1.45;
}

body[data-csd-style="v6"] .page-id-2961 .elementor-testimonial-meta-inner {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1.25rem;
}

body[data-csd-style="v6"] .page-id-2961 .elementor-testimonial-image img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

body[data-csd-style="v6"] .page-id-2961 .elementor-testimonial-name {
  color: var(--csd-accent-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[data-csd-style="v6"] .page-id-2961 .elementor-widget-divider {
  margin-block: .25rem;
}

body[data-csd-style="v6"] .page-id-2961 .elementor-divider-separator {
  border-color: var(--csd-line) !important;
}

/* Regular pages and contact remain readable even when the old builder is absent. */

body[data-csd-style="v6"] .single-page-article > .entry {
  width: min(100%, var(--csd-reading-width));
  margin: 0 auto;
}

body[data-csd-style="v6"] .page-id-83 .elementor-element-7d773016 {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--csd-line);
  border-radius: var(--csd-radius);
  background: var(--csd-surface);
  box-shadow: var(--csd-shadow);
}

body[data-csd-style="v6"] .page-id-83 .elementor-element-69117889 p:first-child {
  color: var(--csd-ink);
  font-family: var(--csd-serif);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
}

body[data-csd-style="v6"] .wpcf7-form p {
  margin: 0 0 1rem;
}

body[data-csd-style="v6"] .wpcf7-form label {
  display: block;
  color: var(--csd-ink-soft);
  font-size: .88rem;
  font-weight: 700;
}

body[data-csd-style="v6"] .wpcf7-form input:not([type="submit"]),
body[data-csd-style="v6"] .wpcf7-form textarea {
  width: 100%;
  margin-top: .35rem;
}

body[data-csd-style="v6"] .wpcf7-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Article details and related reading. */

body[data-csd-style="v6"] #author-bio {
  margin-top: 3rem;
  padding: 1.35rem;
  border: 1px solid var(--csd-line);
  border-radius: var(--csd-radius);
  background: var(--csd-surface-muted);
}

body[data-csd-style="v6"] #author-bio-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

body[data-csd-style="v6"] .author-bio-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

body[data-csd-style="v6"] .author-bio-title {
  margin: 0 0 .25rem;
  font-family: var(--csd-serif);
}

body[data-csd-style="v6"] .author-bio-description {
  color: var(--csd-ink-soft);
  font-size: .9rem;
  line-height: 1.55;
}

body[data-csd-style="v6"] #related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--csd-line);
}

body[data-csd-style="v6"] #related-posts .related-posts-title {
  margin: 0 0 1rem;
  color: var(--csd-ink);
  font-family: var(--csd-serif);
  font-size: 1.6rem;
}

body[data-csd-style="v6"] #related-posts .oceanwp-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body[data-csd-style="v6"] #related-posts .related-post {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 0 1rem;
  overflow: hidden;
  border: 1px solid var(--csd-line);
  border-radius: var(--csd-radius);
  background: var(--csd-surface);
}

body[data-csd-style="v6"] #related-posts .related-post-media {
  margin: 0;
}

body[data-csd-style="v6"] #related-posts .related-post-media img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

body[data-csd-style="v6"] #related-posts .related-post-title,
body[data-csd-style="v6"] #related-posts .published {
  display: block;
  padding-inline: 1rem;
}

body[data-csd-style="v6"] #related-posts .related-post-title {
  margin: .9rem 0 .3rem;
  font-family: var(--csd-serif);
  font-size: 1rem;
  line-height: 1.25;
}

body[data-csd-style="v6"] #related-posts .related-post-title a {
  color: var(--csd-ink) !important;
  text-decoration: none;
}

body[data-csd-style="v6"] #related-posts .published {
  color: var(--csd-ink-soft);
  font-size: .78rem;
}

/* Generated fallback and 404 pages use the same visual language as cached pages. */

body[data-csd-style="v6"] .content {
  min-height: 62vh;
}

body[data-csd-style="v6"] .content article {
  overflow: hidden;
}

body[data-csd-style="v6"] .content article h1,
body[data-csd-style="v6"] .content article h2,
body[data-csd-style="v6"] .content article h3 {
  color: var(--csd-ink);
  font-family: var(--csd-serif);
  line-height: 1.1;
}

body[data-csd-style="v6"] .content article h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

body[data-csd-style="v6"] .content article img {
  height: auto;
  border-radius: 10px;
}

body[data-csd-style="v6"] .content article a:not(.elementor-button) {
  font-weight: 650;
}

@media (max-width: 980px) {
  body[data-csd-style="v6"] .page-id-1345 .oceanwp-recent-posts,
  body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .oceanwp-recent-posts,
  body[data-csd-style="v6"] #related-posts .oceanwp-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body[data-csd-style="v6"] .page-id-2961 .elementor-element-1f448f91 > .elementor-widget-wrap,
  body[data-csd-style="v6"] .page-id-1345 .oceanwp-recent-posts,
  body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .oceanwp-recent-posts,
  body[data-csd-style="v6"] #related-posts .oceanwp-row {
    grid-template-columns: 1fr;
  }

  body[data-csd-style="v6"] .page-id-1345 .recent-posts-thumbnail img,
  body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-thumbnail img {
    height: 190px;
  }

  body[data-csd-style="v6"] #author-bio-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  body[data-csd-style="v6"] .page-id-2961 .elementor-element-8d7ba27 {
    border-radius: 0;
  }

  body[data-csd-style="v6"] .page-id-2961 .elementor-testimonial-content {
    min-height: 0;
    font-size: 1.05rem;
  }

  body[data-csd-style="v6"] .content {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
}

/* v5 final cascade: keep the larger type scale after all legacy refinements */

:root {
  --csd-text-body: clamp(1.08rem, 1.04rem + .25vw, 1.18rem);
  --csd-text-small: clamp(.98rem, .94rem + .15vw, 1.05rem);
  --csd-text-meta: clamp(.9rem, .86rem + .15vw, 1rem);
  --csd-text-nav: clamp(.92rem, .88rem + .15vw, 1.02rem);
}

body[data-csd-style="v6"] {
  font-size: var(--csd-text-body) !important;
}

body[data-csd-style="v6"] #site-logo a.site-logo-text {
  font-size: clamp(1.24rem, 1.12rem + .5vw, 1.45rem) !important;
}

body[data-csd-style="v6"] #site-navigation .main-menu > li > a.menu-link,
body[data-csd-style="v6"] #site-navigation .search-toggle-li > a {
  font-size: var(--csd-text-nav) !important;
}

body[data-csd-style="v6"] .home .elementor-element-3c53c06 h5,
body[data-csd-style="v6"] .home .elementor-element-61d11ff h5 {
  font-size: 1.34rem;
}

body[data-csd-style="v6"] .home .recent-posts-title,
body[data-csd-style="v6"] .home .recent-posts-title a,
body[data-csd-style="v6"] .page-id-1345 .recent-posts-title,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-title {
  font-size: 1.18rem;
  line-height: 1.3;
}

body[data-csd-style="v6"] .home .recent-posts-info,
body[data-csd-style="v6"] .home .recent-posts-info a,
body[data-csd-style="v6"] .page-id-1345 .recent-posts-info,
body[data-csd-style="v6"] .page-id-1345 .recent-posts-info a,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-info,
body[data-csd-style="v6"] .elementor-widget-wp-widget-ocean_recent_posts .recent-posts-info a {
  font-size: var(--csd-text-meta) !important;
}

body[data-csd-style="v6"] .home .elementor-element-61d11ff li {
  font-size: var(--csd-text-small);
  line-height: 1.55;
}

body[data-csd-style="v6"] .single-post .entry-content,
body[data-csd-style="v6"] .elementor-widget-text-editor,
body[data-csd-style="v6"] .elementor-widget-text-editor p,
body[data-csd-style="v6"] .content article {
  font-size: var(--csd-text-body);
}

body[data-csd-style="v6"] .single-post .entry-content {
  line-height: 1.86;
}

body[data-csd-style="v6"] .single-post ul.meta li,
body[data-csd-style="v6"] .single-post ul.meta li a,
body[data-csd-style="v6"] #related-posts .published,
body[data-csd-style="v6"] .author-bio-description,
body[data-csd-style="v6"] .wpcf7-form label {
  font-size: var(--csd-text-meta) !important;
}

body[data-csd-style="v6"] .elementor-button,
body[data-csd-style="v6"] input[type="submit"],
body[data-csd-style="v6"] button[type="submit"] {
  font-size: var(--csd-text-small) !important;
}

body[data-csd-style="v6"] #footer,
body[data-csd-style="v6"] .site-footer {
  font-size: var(--csd-text-small);
}

@media (max-width: 620px) {
  body[data-csd-style="v6"] {
    font-size: 1.06rem !important;
  }

  body[data-csd-style="v6"] #site-logo a.site-logo-text {
    font-size: 1.16rem !important;
  }

  body[data-csd-style="v6"] #mobile-dropdown ul.menu a {
    font-size: 1.04rem !important;
  }

  body[data-csd-style="v6"] .home .recent-posts-title,
  body[data-csd-style="v6"] .home .recent-posts-title a {
    font-size: 1.12rem;
  }
}
