/*
Theme Name: CaboRojo Guide TT5
Theme URI: https://caborojo.com/
Description: CaboRojo.com child theme built on Twenty Twenty-Five.
Author: Codex
Template: twentytwentyfive
Version: 1.0.0
Text Domain: caborojo-guide-tt5
*/

:root {
  --cr-navy: #21395f;
  --cr-ink: #142033;
  --cr-mist: #eef3f8;
  --cr-soft: #f8fbff;
  --cr-accent: #d6453d;
  --cr-line: rgba(33,57,95,.12);
  --cr-shadow: 0 18px 48px rgba(20,32,51,.08);
}

body {
  background: linear-gradient(180deg, #f7fafc 0%, #ffffff 26rem);
}

header.wp-block-group.caborojo-site-header {
  border-bottom: 1px solid var(--cr-line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.caborojo-site-header .wp-block-navigation {
  gap: 1.25rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.caborojo-site-header .wp-block-site-title a,
.caborojo-site-header .wp-block-navigation a,
.caborojo-footer a {
  text-decoration: none;
}

.caborojo-site-header .wp-block-navigation a:hover,
.caborojo-footer a:hover {
  color: var(--cr-accent);
}

.caborojo-home-shell {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.caborojo-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--cr-line);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}

.caborojo-footer .wp-block-heading {
  margin-bottom: .5rem;
}

.caborojo-footer ul {
  margin: 0;
  padding-left: 1rem;
}

.caborojo-footer p,
.caborojo-footer li,
.caborojo-site-header p {
  color: #5e728f;
}

@media (max-width: 781px) {
  header.wp-block-group.caborojo-site-header {
    position: static;
  }

  .caborojo-site-header .wp-block-columns {
    gap: 1rem;
  }
}


body.single-post main.wp-block-group.has-global-padding {
  font-size: 16px;
  line-height: 1.7;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

body.single-post .wp-block-post-title {
  max-width: 820px;
  margin: 0 auto 1.25rem;
  font-size: clamp(2.4rem, 4.8vw, 4.4rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: var(--cr-ink);
}

body.single-post .wp-block-post-featured-image,
body.single-post .wp-block-post-content > figure,
body.single-post .wp-block-post-content > .wp-block-image {
  max-width: 960px;
  margin: 1.5rem auto 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--cr-shadow);
}

body.single-post .wp-block-post-featured-image img,
body.single-post .wp-block-post-content > figure img,
body.single-post .wp-block-post-content > .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

body.single-post .wp-block-post-content {
  font-size: 1rem;
  line-height: 1.75;
}

body.single-post .wp-block-post-content > *:not(.alignwide):not(.alignfull) {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

body.single-post .wp-block-post-content p,
body.single-post .wp-block-post-content li {
  font-size: 1.125rem !important;
  line-height: 1.8 !important;
  color: #334766;
}

body.single-post .wp-block-post-content p {
  margin-top: 1rem !important;
}

body.single-post .wp-block-post-content h2,
body.single-post .wp-block-post-content h3,
body.single-post .wp-block-post-content h4 {
  max-width: 780px;
  margin: 2.75rem auto 1rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em;
  color: var(--cr-ink);
}

body.single-post .wp-block-post-content ul,
body.single-post .wp-block-post-content ol {
  max-width: 780px;
  margin: 1.25rem auto;
  padding-left: 1.35rem;
}

body.single-post .wp-block-post-content li + li {
  margin-top: 0.55rem;
}

body.single-post .wp-block-separator {
  max-width: 780px;
  margin: 2rem auto;
  border-color: var(--cr-line);
  opacity: 1;
}

body.single-post .wp-block-post-terms,
body.single-post nav[aria-label='Post navigation'],
body.single-post .comments-area,
body.single-post .wp-block-query {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

body.single-post .wp-block-post-terms {
  margin-top: 2rem;
}

body.single-post .wp-block-query .wp-block-post-template {
  gap: 1rem;
}

body.single-post .wp-block-query .wp-block-post {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--cr-line);
  border-radius: 20px;
  background: #fff;
}

@media (max-width: 781px) {
  body.single-post .wp-block-post-title {
    font-size: clamp(2.1rem, 11vw, 3rem) !important;
    line-height: 1.02 !important;
  }

  body.single-post .wp-block-post-content p,
  body.single-post .wp-block-post-content li {
    font-size: 1rem !important;
    line-height: 1.72 !important;
  }

  body.single-post .wp-block-post-content h2,
  body.single-post .wp-block-post-content h3,
  body.single-post .wp-block-post-content h4 {
    font-size: 1.45rem !important;
  }

  body.single-post .wp-block-post-featured-image,
  body.single-post .wp-block-post-content > figure,
  body.single-post .wp-block-post-content > .wp-block-image {
    border-radius: 20px;
  }
}


.cr-home12 .useful-card.email h3,
.cr-home12 .useful-card.email .mini {
  color: #fff;
}

.cr-home12 .useful-card.email {
  box-shadow: 0 22px 55px rgba(18, 42, 82, .2);
}

body.single-post .d-block.text-center.text-md-start.d-md-flex.p-3.bg-light {
  max-width: 780px;
  margin: 2.5rem auto 0;
  padding: 1.4rem 1.5rem !important;
  border: 1px solid var(--cr-line);
  border-radius: 22px;
  background: linear-gradient(180deg,#fbfdff 0%,#f4f8fd 100%) !important;
  box-shadow: 0 12px 30px rgba(20,32,51,.05);
  align-items: flex-start;
  gap: 1rem;
}

body.single-post .d-block.text-center.text-md-start.d-md-flex.p-3.bg-light .media-body {
  flex: 1 1 auto;
}

body.single-post .d-block.text-center.text-md-start.d-md-flex.p-3.bg-light .media-body h5 {
  margin: 0 0 .45rem;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em;
}

body.single-post .d-block.text-center.text-md-start.d-md-flex.p-3.bg-light .media-body p {
  margin: 0;
  font-size: .98rem !important;
  line-height: 1.65 !important;
  color: #526887;
}

body.single-post .comment-reply-title,
body.single-post .comments-title,
body.single-post .wp-block-comments-title {
  font-size: 1.35rem !important;
  line-height: 1.1 !important;
  letter-spacing: -.03em;
  color: var(--cr-ink);
}

body.single-post .logged-in-as,
body.single-post .comment-notes {
  color: #6d7f9b;
  font-size: .95rem;
}

body.single-post .comment-form label {
  display: inline-block;
  margin-bottom: .45rem;
  font-weight: 700;
  color: var(--cr-ink);
}

body.single-post .comment-form-comment,
body.single-post .comment-form-author,
body.single-post .comment-form-email,
body.single-post .comment-form-url,
body.single-post .form-submit {
  margin-top: 1rem;
}

body.single-post nav[aria-label='Post navigation'] {
  gap: 1rem;
}

body.single-post .wp-block-post-navigation-link {
  flex: 1 1 0;
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--cr-line);
  border-radius: 18px;
  background: #fff;
}

body.single-post .wp-block-query .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.single-post .wp-block-query .wp-block-post {
  margin: 0;
}

body.single-post .wp-block-query .wp-block-post > .wp-block-group {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .8rem;
  padding: 1.15rem 1.2rem !important;
  border: 1px solid var(--cr-line) !important;
  border-radius: 20px;
  background: linear-gradient(180deg,#fff 0%,#f7fbff 100%);
  box-shadow: 0 12px 30px rgba(20,32,51,.05);
}

body.single-post .wp-block-query .wp-block-post > .wp-block-group > * {
  width: 100%;
}

body.single-post .wp-block-query .wp-block-post-title {
  font-size: 1.35rem !important;
  line-height: 1.05 !important;
}

body.single-post .wp-block-query .wp-block-post-date {
  margin-top: auto;
  text-align: left !important;
}

body.single-post .wp-block-query .wp-block-post-date a {
  text-decoration: none;
  color: #6d7f9b;
}

@media (max-width: 781px) {
  body.single-post nav[aria-label='Post navigation'] {
    flex-direction: column;
  }

  body.single-post .d-block.text-center.text-md-start.d-md-flex.p-3.bg-light {
    padding: 1rem !important;
  }
}