/* 13Bodas invitation adapter for Weddingo. The vendor stylesheet stays unmodified. */
:where(.template-weddingo) .main-header .logo .wgo-logo-text {
      font-weight: 700;
      font-size: 24px;
      color: #181818;
      text-decoration: none;
      line-height: 1.1;
      display: inline-block;
    }

    :where(.template-weddingo) .main-header .logo .wgo-logo-text span {
      color: #8B4E30;
    }

    :where(.template-weddingo) .main-header .navigation>li>a {
      text-transform: none;
    }

    :where(.template-weddingo) .main-header .card-icon,
    :where(.template-weddingo) .search-popup,
    :where(.template-weddingo) #style-switcher,
    :where(.template-weddingo) .demo-right-nav {
      display: none !important;
    }

    :where(.template-weddingo) .main-header .navigation>li.current>a {
      color: #8B4E30;
    }

    :where(.template-weddingo) .banner-contents .wgo-hero-meta {
      margin-top: 12px;
      color: #5f5f5f;
      line-height: 1.55;
      max-width: 540px;
    }

    :where(.template-weddingo) .banner-contents .wgo-hero-meta strong {
      color: #1f1f1f;
    }

    :where(.template-weddingo) .banner-contents .wgo-hero-actions .btn-part+.btn-part {
      margin-left: 12px;
    }

    :where(.template-weddingo) .banner-image .main-thumb {
      width: 100%;
      max-height: 640px;
      object-fit: cover;
      border-radius: 14px;
    }

    :where(.template-weddingo) .wgo-section-note {
      max-width: 820px;
      margin: 12px auto 0;
      color: #656565;
      line-height: 1.6;
      text-align: center;
    }

    :where(.template-weddingo) .feature-section .feature-title-wrap {
      max-width: 760px;
      margin: 0 auto 46px;
      text-align: center;
    }

    :where(.template-weddingo) .feature-section .feature-title-wrap .title {
      margin-bottom: 8px;
    }

    :where(.template-weddingo) .feature-section .feature-title-wrap .wgo-section-note {
      margin-top: 8px;
    }

    :where(.template-weddingo) .feature-section .feature-block .inner-box {
      height: 100%;
    }

    :where(.template-weddingo) .feature-section .feature-block .icon {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    :where(.template-weddingo) .feature-section .feature-block .icon .wgo-feature-icon {
      width: 100px;
      height: 100px;
      object-fit: contain;
    }

    :where(.template-weddingo) .feature-section .feature-block .text .wgo-feature-linebreak {
      display: block;
    }

    :where(.template-weddingo) .feature-section .line img {
      display: block;
      max-width: 11px;
      width: 100%;
      height: auto;
    }

    :where(.template-weddingo) .eventtime-section .counter-thumb-1 img,
    :where(.template-weddingo) .eventtime-section .counter-thumb-2 img {
      width: 280px;
      /* Define un ancho fijo (puedes ajustarlo a 250px o 300px) */
      height: 280px;
      /* Define un alto fijo igual al ancho */
      object-fit: cover;
      /* Evita que la foto se estire o deforme */
      border-radius: 50%;
      /* Mantiene el diseño circular */
      box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.15);
      /* Añade una sombra elegante para separarlas del fondo */
    }

    :where(.template-weddingo) .eventtime-section .time-counter .time-countdown {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
    }

    :where(.template-weddingo) .eventtime-section .wgo-count-sub {
      display: block;
      margin-top: 8px;
      font-size: 14px;
      color: #656565;
      line-height: 1.5;
    }

    :where(.template-weddingo) .eventtime-section .wgo-count-placeholder {
      margin-top: 12px;
      text-align: center;
      color: #656565;
    }

    :where(.template-weddingo) .eventtime-section .eventtime-text .wgo-eventtime-note {
      display: block;
      margin-top: 6px;
      font-size: 14px;
      line-height: 1.5;
      opacity: .9;
    }

    :where(.template-weddingo) .bridegroom-section .groom-image img,
    :where(.template-weddingo) .bridegroom-section .bride-image img {
      object-fit: cover;
    }

    :where(.template-weddingo) .bridegroom-section .social {
      display: none !important;
    }

    :where(.template-weddingo) .story-section .section-top .icon.wgo-story-icon svg {
      width: 27px;
      height: 27px;
      display: block;
      margin: 0 auto;
    }

    :where(.template-weddingo) .story-section .story-item .content .subtitle {
      line-height: 1.4;
    }

    :where(.template-weddingo) .gallery-section .gallery-item img {
      width: 100%;
      height: 280px;
      object-fit: cover;
    }

    :where(.template-weddingo) .contact-section .wgo-rsvp-flash,
    :where(.template-weddingo) .contact-section .wgo-rsvp-ajax-msg {
      margin-bottom: 12px;
      padding: 11px 14px;
      border-radius: 10px;
      font-size: 14px;
      line-height: 1.4;
    }

    :where(.template-weddingo) .contact-section .wgo-rsvp-ajax-msg[hidden],
    :where(.template-weddingo) .contact-section .wgo-rsvp-loader[hidden] {
      display: none !important;
    }

    :where(.template-weddingo) .contact-section .wgo-rsvp-flash.success,
    :where(.template-weddingo) .contact-section .wgo-rsvp-ajax-msg.success {
      background: #e9f7ef;
      color: #206a3a;
      border: 1px solid #b7e0c5;
    }

    :where(.template-weddingo) .contact-section .wgo-rsvp-flash.error,
    :where(.template-weddingo) .contact-section .wgo-rsvp-ajax-msg.error {
      background: #fdeeee;
      color: #8a2f2f;
      border: 1px solid #efc0c0;
    }

    :where(.template-weddingo) .contact-section .wgo-rsvp-loader {
      display: inline-block;
      margin-left: 10px;
      color: #656565;
      font-size: 14px;
    }

    :where(.template-weddingo) .contact-section .wgo-field-error {
      display: block;
      margin: -20px 0 18px;
      color: #8a2f2f;
      font-size: 13px;
      line-height: 1.4;
    }

    :where(.template-weddingo) .contact-section .input-field[aria-invalid="true"],
    :where(.template-weddingo) .contact-section .text-field[aria-invalid="true"] {
      border-color: #a33b3b;
      box-shadow: 0 0 0 2px rgba(163, 59, 59, .14);
    }

    :where(.template-weddingo) .contact-section .wgo-rsvp-conditional[hidden] {
      display: none !important;
    }

    :where(.template-weddingo) .contact-section .wgo-section-note {
      text-align: left;
      margin-left: 0;
      margin-right: 0;
    }

    :where(.template-weddingo) .contact-section .contact-form .nice-select {
      width: 100%;
      margin-bottom: 30px;
      border-radius: 8px;
    }

    :where(.template-weddingo) .contact-section .contact-form .nice-select .list {
      width: 100%;
    }

    :where(.template-weddingo) .contact-section .wgo-radio-group {
      margin-top: 16px;
    }

    :where(.template-weddingo) .contact-section .wgo-radio-option {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
      color: #2d2d2d;
    }

    :where(.template-weddingo) .contact-section .wgo-radio-option input {
      margin: 0;
    }

    :where(.template-weddingo) .contact-section .contact-thumb .thumb1 img,
    :where(.template-weddingo) .contact-section .contact-thumb .thumb2 img {
      width: 100%;
      object-fit: cover;
      border-radius: 12px;
    }

    :where(.template-weddingo) .team-section .team-member .member-image img {
      width: 100%;
      height: 360px;
      object-fit: cover;
    }

    :where(.template-weddingo) .team-section .wgo-portrait-empty {
      position: relative;
      display: grid;
      place-items: center;
      width: 100%;
      height: clamp(13rem, 22vw, 16rem);
      overflow: hidden;
      border: 1px solid rgba(139, 78, 48, .22);
      background: #f7efea;
      color: #8B4E30;
    }

    :where(.template-weddingo) .team-section .wgo-portrait-empty::before {
      position: absolute;
      inset: 1.25rem;
      border: 1px solid rgba(139, 78, 48, .25);
      border-radius: 50% 50% .5rem .5rem;
      content: "";
    }

    :where(.template-weddingo) .team-section .wgo-portrait-empty__initial {
      position: relative;
      font-family: var(--title-font);
      font-size: clamp(3rem, 6vw, 4.75rem);
      font-weight: 500;
      line-height: 1;
    }

    :where(.template-weddingo) .team-section .wgo-party-card--placeholder .member-image {
      padding-inline: clamp(1.25rem, 3vw, 2rem);
    }

    :where(.template-weddingo) .team-section .team-member .social {
      display: none !important;
    }

    :where(.template-weddingo) .team-section .team-member .name a {
      pointer-events: none;
      text-decoration: none;
      color: inherit;
    }

    :where(.template-weddingo) .work-process-section .wgo-map-wrap iframe {
      width: 100%;
      height: 540px;
      border: 0;
      border-radius: 14px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    }

    :where(.template-weddingo) .work-process-section .wgo-map-wrap img {
      width: 100%;
      max-height: 540px;
      object-fit: cover;
      border-radius: 14px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    }

    :where(.template-weddingo) .work-process-section .work-process-item .content .text {
      line-height: 1.6;
    }

    :where(.template-weddingo) .work-process-section .work-process-item .content .text span {
      font-weight: 700;
    }

    :where(.template-weddingo) .work-process-section .wgo-inline-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 10px;
      color: #8B4E30;
      font-weight: 600;
      text-decoration: none;
    }

    :where(.template-weddingo) .work-process-section .wgo-location-label {
      margin-bottom: 3px;
      color: #8B4E30;
      font-size: 14px;
      font-weight: 700;
    }

    :where(.template-weddingo) .work-process-section .wgo-inline-link:hover {
      color: #6F3D26;
    }

    :where(.template-weddingo) .blog-section .blog-item {
      height: 100%;
      display: flex;
      flex-direction: column;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
      background: #fff;
      border: 1px solid rgba(199, 134, 101, .14);
      transition: transform .25s ease, box-shadow .25s ease;
    }

    :where(.template-weddingo) .blog-section .blog-item:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 34px rgba(0, 0, 0, .1);
    }

    :where(.template-weddingo) .blog-section .blog-item .thumb {
      position: relative;
      overflow: hidden;
    }

    :where(.template-weddingo) .blog-section .blog-item .thumb img {
      width: 100%;
      height: 240px;
      object-fit: cover;
      transition: transform .35s ease;
    }

    :where(.template-weddingo) .blog-section .blog-item:hover .thumb img {
      transform: scale(1.04);
    }

    :where(.template-weddingo) .blog-section .blog-item .content {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding-bottom: 6px;
    }

    :where(.template-weddingo) .blog-section .blog-item .content .title a {
      color: inherit;
      text-decoration: none;
    }

    :where(.template-weddingo) .blog-section .blog-item .content .title a:hover {
      color: #8B4E30;
    }

    :where(.template-weddingo) .blog-section .blog-item .blog-meta p {
      min-width: 110px;
      text-align: center;
      padding: 8px 10px;
      line-height: 1.1;
    }

    :where(.template-weddingo) .blog-section .blog-item .blog-meta p span {
      display: block;
      margin-top: 3px;
      font-size: 11px;
      line-height: 1.25;
    }

    :where(.template-weddingo) .blog-section .blog-item.wgo-gift-claimed .blog-meta p {
      background: #8a2f2f;
    }

    :where(.template-weddingo) .blog-section .blog-item.wgo-gift-fund .blog-meta p {
      background: #2d7a67;
    }

    :where(.template-weddingo) .blog-section .wgo-gift-meta {
      color: #656565;
      line-height: 1.55;
      margin-bottom: 8px;
    }

    :where(.template-weddingo) .blog-section .wgo-gift-summary {
      margin-top: 6px;
      color: #4f4f4f;
      font-size: 13px;
      line-height: 1.5;
    }

    :where(.template-weddingo) .blog-section .wgo-gift-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }

    :where(.template-weddingo) .blog-section .wgo-gift-pill {
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11px;
      border: 1px solid #bfe8db;
      background: #edf8f5;
      color: #2d7a67;
      font-weight: 600;
    }

    :where(.template-weddingo) .blog-section .wgo-gift-pill.claimed {
      background: #fdeeee;
      color: #8a2f2f;
      border-color: #efc0c0;
    }

    :where(.template-weddingo) .blog-section .wgo-gift-link {
      margin-top: auto;
      padding-top: 10px;
      display: inline-flex;
      gap: 6px;
      align-items: center;
      color: #8B4E30;
      font-weight: 700;
      text-decoration: none;
    }

    :where(.template-weddingo) .blog-section .wgo-gift-link:hover {
      color: #6F3D26;
    }

    :where(.template-weddingo) .blog-section .wgo-gift-link.is-disabled {
      color: #9d9d9d;
      cursor: default;
      pointer-events: none;
    }

    :where(.template-weddingo) .faq-section {
      background: #fffaf6;
    }

    :where(.template-weddingo) .faq-section .wgo-faq-card {
      background: #fff;
      border: 1px solid rgba(199, 134, 101, .18);
      border-radius: 10px;
      box-shadow: 0 16px 40px rgba(30, 20, 14, .06);
      height: 100%;
      padding: 26px;
    }

    :where(.template-weddingo) .faq-section .wgo-faq-card h4 {
      color: #26211f;
      font-size: 22px;
      line-height: 1.35;
      margin-bottom: 12px;
    }

    :where(.template-weddingo) .faq-section .wgo-faq-card p {
      color: #6f6965;
      line-height: 1.65;
      margin-bottom: 0;
    }

    :where(.template-weddingo) .blog-section .wgo-gift-logos .logo-card {
      min-height: 84px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    :where(.template-weddingo) .blog-section .wgo-gift-logos .main-logo img {
      max-height: 42px;
      width: auto;
      object-fit: contain;
    }

    :where(.template-weddingo) .testimonial-section {
      display: none !important;
    }

    :where(.template-weddingo) .footer-section-one .footer-wrapper {
      background-size: cover !important;
      background-position: center center !important;
    }

    :where(.template-weddingo) .footer-section-one .wgo-footer-text {
      color: #d8d8d8;
      line-height: 1.65;
    }

    :where(.template-weddingo) .footer-section-one .widget-link a[href^="#"] {
      cursor: pointer;
    }

    :where(.template-weddingo) .footer-section-one .wgo-footer-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #fff;
      background: #8B4E30;
      border-radius: 999px;
      padding: 11px 16px;
      text-decoration: none;
      font-weight: 600;
    }

    :where(.template-weddingo) .footer-section-one .wgo-footer-cta:hover {
      background: #6F3D26;
      color: #fff;
    }

    :where(.template-weddingo) .footer-section-one .footer-bottom p,
    :where(.template-weddingo) .footer-section-one .footer-bottom a {
      color: #d9d9d9;
    }

    :where(.template-weddingo) .footer-section-one .footer-contact-meta .contact-items .icon {
      color: #8B4E30;
    }

    @media (max-width: 1199px) {
      :where(.template-weddingo) .gallery-section .gallery-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      :where(.template-weddingo) .team-section .team-member .member-image img {
        height: 300px;
      }

      :where(.template-weddingo) .work-process-section .wgo-map-wrap iframe {
        height: 420px;
      }
    }

    @media (max-width: 991.98px) {
      :where(.template-weddingo) .eventtime-section .time-counter .time-countdown .counter-column {
        margin-right: 30px;
        padding-right: 50px;
      }

      :where(.template-weddingo) .eventtime-section .time-counter .time-countdown .counter-column .count {
        font-size: 60px;
      }
    }

    @media (max-width: 767px) {
      :where(.template-weddingo) .main-header .logo .wgo-logo-text {
        font-size: 19px;
      }

      :where(.template-weddingo) .banner-contents .wgo-hero-actions .btn-part+.btn-part {
        margin-left: 0;
        margin-top: 12px;
      }

      :where(.template-weddingo) .gallery-section .gallery-items {
        grid-template-columns: 1fr;
        gap: 14px;
      }

      :where(.template-weddingo) .gallery-section .gallery-item img {
        height: 240px;
      }

      :where(.template-weddingo) .work-process-section .wgo-map-wrap iframe {
        height: 320px;
      }

      :where(.template-weddingo) .feature-section .feature-block .text .wgo-feature-linebreak {
        display: inline;
      }

      :where(.template-weddingo) .eventtime-section .time-counter .time-countdown .counter-column .count {
        font-size: 50px;
      }

      :where(.template-weddingo) .eventtime-section .time-counter .time-countdown .counter-column sub {
        font-size: 16px;
      }
    }

    @media (max-width: 575.98px) {
      :where(.template-weddingo) .eventtime-section .time-counter .time-countdown {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 20px;
      }

      :where(.template-weddingo) .eventtime-section .time-counter .time-countdown .counter-column {
        margin-right: 0;
        padding-right: 0;
      }

      :where(.template-weddingo) .eventtime-section .time-counter .time-countdown .counter-column:before {
        display: none;
      }
    }

    body:where(.template-weddingo) {
      max-width: 100%;
      overflow-x: hidden;
      overflow-x: clip;
    }

    :where(.template-weddingo) .wgo-media-empty {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 320px;
      border-radius: 24px;
      background: #f3e9e3;
      color: #70412d;
      font-size: 18px;
      text-align: center;
    }

    .template-weddingo .mobile-menu {
      overflow: hidden;
    }

    .template-weddingo .mobile-nav-toggler,
    .template-weddingo .mobile-menu .close-btn,
    .template-weddingo .mobile-menu .menu-backdrop {
      border: 0;
      background: transparent;
    }

    @media (prefers-reduced-motion: reduce) {
      body:where(.template-weddingo) {
        scroll-behavior: auto !important;
      }

      .template-weddingo *,
      .template-weddingo *::before,
      .template-weddingo *::after {
        animation: none !important;
        transition: none !important;
      }

      .template-weddingo .wow,
      .template-weddingo .animated {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
      }

      .template-weddingo .preloader {
        display: none !important;
      }
    }

    :where(.template-weddingo) #rsvp.invitation-background-ready {
      background-image: var(--invitation-background-image, var(--invitation-background-fallback)) !important;
    }

    @media (scripting: none) {
      :where(.template-weddingo) #rsvp[data-invitation-background="deferred"] {
        background-image: var(--invitation-background-fallback) !important;
      }
    }

    body.template-weddingo #b13-branding {
      color: #595959;
      opacity: 1;
    }

/* Invitation structure --------------------------------------------------- */
.template-weddingo {
  overflow-x: clip;
}

.template-weddingo-demo .main-header {
  margin-top: 26px;
}

.template-weddingo .wgo-hero .main-thumb,
.template-weddingo .wgo-couple .bride-image img,
.template-weddingo .wgo-couple .groom-image img,
.template-weddingo .wgo-party .member-image img,
.template-weddingo .wgo-gallery .gallery-item img {
  object-fit: cover;
}

.template-weddingo .wgo-event-details .feature-block .inner-box {
  height: 100%;
}

.template-weddingo .wgo-countdown .time-countdown {
  justify-content: center;
}

.template-weddingo .wgo-agenda .work-process-item .content .text {
  line-height: 1.6;
}

.template-weddingo .wgo-gifts .blog-item .content {
  min-width: 0;
}

/* The source theme composes two irregular editorial rows. Every saved event
 * photo remains reachable, but the desktop rhythm preserves that asymmetric
 * identity instead of flattening the gallery into identical cards. */
.template-weddingo .wgo-gallery .gallery-items {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  overflow: visible;
}

.template-weddingo .wgo-gallery .gallery-item,
.template-weddingo .wgo-gallery .gallery-link {
  display: block;
  min-width: 0;
  height: auto;
}

.template-weddingo .wgo-gallery .gallery-item {
  grid-column: span 3;
}

.template-weddingo .wgo-gallery .gallery-item img {
  display: block;
  height: 19rem;
}

.template-weddingo .wgo-gallery-row--primary .gallery-item:nth-child(1) {
  grid-column: span 3;
}

.template-weddingo .wgo-gallery-row--primary .gallery-item:nth-child(1) img {
  height: 20rem;
}

.template-weddingo .wgo-gallery-row--primary .gallery-item:nth-child(2) {
  grid-column: span 4;
}

.template-weddingo .wgo-gallery-row--primary .gallery-item:nth-child(2) img {
  height: 25rem;
}

.template-weddingo .wgo-gallery-row--primary .gallery-item:nth-child(3) {
  grid-column: span 2;
}

.template-weddingo .wgo-gallery-row--primary .gallery-item:nth-child(3) img {
  height: 17rem;
}

.template-weddingo .wgo-gallery-row--primary .gallery-item:nth-child(4) img {
  height: 22rem;
}

.template-weddingo .wgo-gallery-row--secondary .gallery-item:nth-child(1) {
  grid-column: span 4;
}

.template-weddingo .wgo-gallery-row--secondary .gallery-item:nth-child(1) img {
  height: 23rem;
}

.template-weddingo .wgo-gallery-row--secondary .gallery-item:nth-child(2) {
  grid-column: span 2;
}

.template-weddingo .wgo-gallery-row--secondary .gallery-item:nth-child(2) img {
  height: 18rem;
}

.template-weddingo .wgo-gallery-row--secondary .gallery-item:nth-child(3) img {
  height: 21rem;
}

.template-weddingo .wgo-gallery-row--secondary .gallery-item:nth-child(4) img {
  height: 25rem;
}

.template-weddingo .wgo-gallery .gallery-link {
  border-radius: .875rem;
  outline-offset: .25rem;
}

.template-weddingo .wgo-gallery .gallery-link:focus-visible {
  outline: .1875rem solid #8b4e30;
}

.template-weddingo .wgo-faq {
  background: #fffaf6;
}

/* The vendor story component assumes fixed marketing images and lets its
 * date badge leave the image frame. These tracks keep the badge contained
 * while preserving Weddingo's asymmetric, arched composition. */
.template-weddingo .wgo-story {
  --wgo-story-date-size: 11.75rem;
  --wgo-story-date-overlap: 1.25rem;
  --wgo-story-media-height: clamp(19rem, 31vw, 26.25rem);
}

/* El tema original dibujaba una linea de 1374px para tres historias fijas.
 * Con contenido real esa medida termina a mitad de la cronologia. Los bordes
 * se calculan desde el centro del primer y ultimo hito y crecen con el DOM. */
.template-weddingo .wgo-story .story-collections::before {
  top: calc(var(--wgo-story-media-height) / 2);
  bottom: calc(var(--wgo-story-media-height) / 2);
  height: auto;
}

.template-weddingo .wgo-story-card {
  margin-bottom: clamp(3.75rem, 8vw, 7.5rem);
}

.template-weddingo .wgo-story-card:last-child {
  margin-bottom: 0;
}

.template-weddingo .wgo-story-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(var(--wgo-story-date-size) - var(--wgo-story-date-overlap));
  align-items: center;
  overflow: hidden;
  min-width: 0;
}

.template-weddingo .wgo-story-media--alternate {
  grid-template-columns: calc(var(--wgo-story-date-size) - var(--wgo-story-date-overlap)) minmax(0, 1fr);
}

.template-weddingo .wgo-story-image {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: var(--wgo-story-media-height);
  object-fit: cover;
  object-position: 58% 50%;
  border-radius: 0 999px 999px 0;
}

.template-weddingo .wgo-story-media--alternate .wgo-story-image {
  grid-column: 2;
  object-position: 42% 50%;
  border-radius: 999px 0 0 999px;
}

.template-weddingo .wgo-story-date {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: var(--wgo-story-date-size);
  aspect-ratio: 1;
  margin-left: calc(var(--wgo-story-date-overlap) * -1);
  border: 1.125rem solid var(--theme-color-white);
  border-radius: 50%;
  background: var(--theme-color1);
  color: var(--theme-color-white);
  font-family: var(--text-font);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  z-index: 1;
}

.template-weddingo .wgo-story-date span {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 3.75rem;
  padding-inline: .25rem;
  overflow-wrap: anywhere;
  font-size: clamp(1.3125rem, 1.8vw, 1.625rem);
  line-height: 1.1;
}

.template-weddingo .wgo-story-media--alternate .wgo-story-date {
  grid-column: 1;
  margin-left: 0;
  margin-right: calc(var(--wgo-story-date-overlap) * -1);
}

.template-weddingo .wgo-story-copy {
  max-width: 34rem;
  padding: clamp(1.5rem, 4vw, 4.5rem);
}

.template-weddingo .wgo-story-card--alternate .wgo-story-copy {
  margin-left: auto;
}

.template-weddingo .wgo-story-copy .title {
  overflow-wrap: anywhere;
}

/* RSVP ------------------------------------------------------------------- */
.template-weddingo .wgo-rsvp .contact-form {
  position: relative;
  z-index: 1;
  width: min(100%, 48rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1.25rem 3.5rem rgba(48, 31, 21, .14);
}

.template-weddingo .wgo-rsvp-field {
  min-width: 0;
  margin-bottom: 1.1rem;
}

.template-weddingo .wgo-rsvp-label {
  display: block;
  margin: 0 0 .45rem;
  color: #38302c;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
}

.template-weddingo .wgo-rsvp-label span {
  color: #6b625c;
  font-weight: 400;
}

.template-weddingo .wgo-rsvp .input-field,
.template-weddingo .wgo-rsvp .text-field {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(68, 50, 40, .2);
  border-radius: .5rem;
  background: #fff;
}

.template-weddingo .wgo-rsvp textarea.text-field {
  min-height: 8.5rem;
  resize: vertical;
}

.template-weddingo .wgo-rsvp .wgo-field-error {
  margin: .45rem 0 0;
}

.template-weddingo .wgo-rsvp .wgo-radio-group {
  min-width: 0;
  margin: .5rem 0 0;
  padding: 1rem;
  border: 1px solid rgba(68, 50, 40, .13);
  border-radius: .75rem;
  background: rgba(250, 247, 244, .82);
}

.template-weddingo .wgo-rsvp .wgo-radio-option {
  min-height: 1.5rem;
}

/* Event locations -------------------------------------------------------- */
.template-weddingo .wgo-location-list {
  display: grid;
  gap: 1.5rem;
  height: auto;
  overflow: visible;
}

.template-weddingo .wgo-location-card {
  overflow: hidden;
  border: 1px solid rgba(139, 78, 48, .16);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .875rem 2.25rem rgba(48, 31, 21, .08);
}

.template-weddingo .wgo-location-card .wgo-map-wrap iframe {
  display: block;
  width: 100%;
  height: clamp(16rem, 30vw, 23rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.template-weddingo .wgo-location-card__details {
  padding: 1.25rem 1.5rem 1.5rem;
}

.template-weddingo .wgo-location-card__details h3,
.template-weddingo .wgo-location-card__details p {
  margin: 0;
}

.template-weddingo .wgo-location-card__details h3 {
  color: #24201d;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
}

.template-weddingo .wgo-location-card__details p {
  margin-top: .4rem;
  color: #655e58;
  line-height: 1.6;
}

.template-weddingo .wgo-location-label {
  margin-bottom: .3rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Registry --------------------------------------------------------------- */
.template-weddingo .wgo-gifts .wgo-registry-card {
  overflow: hidden;
  border: 1px solid rgba(139, 78, 48, .18);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1rem 2.75rem rgba(48, 31, 21, .09);
}

.template-weddingo .wgo-gifts .wgo-registry-card:hover {
  transform: translateY(-.25rem);
  box-shadow: 0 1.25rem 3rem rgba(48, 31, 21, .13);
}

.template-weddingo .wgo-gifts .wgo-registry-card .thumb {
  position: relative;
  padding: 1rem;
  overflow: hidden;
  border-radius: 0;
  background: #f8f4f1;
}

.template-weddingo .wgo-registry-media-trigger {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: .875rem;
  background: #fff;
  cursor: zoom-in;
  outline-offset: .25rem;
}

.template-weddingo .wgo-registry-media-trigger:focus-visible {
  outline: .1875rem solid #8b4e30;
}

.template-weddingo .wgo-gifts .wgo-registry-media.wgo-registry-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: .875rem;
  transition: transform .25s ease;
}

.template-weddingo .wgo-registry-media-trigger:hover .wgo-registry-media,
.template-weddingo .wgo-registry-media-trigger:focus-visible .wgo-registry-media {
  transform: scale(1.015);
}

.template-weddingo .wgo-registry-media-hint {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: rgba(36, 32, 29, .86);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
}

.template-weddingo .wgo-gifts .wgo-registry-card .blog-meta {
  top: 1.75rem;
  left: 1.75rem;
  width: auto;
  height: auto;
  min-width: 0;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: #8b4e30;
}

.template-weddingo .wgo-gifts .wgo-registry-card .blog-meta p {
  min-width: 0;
  padding: 0;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .05em;
}

.template-weddingo .wgo-gifts .wgo-registry-card .content {
  flex: 1;
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 0;
}

.template-weddingo .wgo-gifts .wgo-registry-card .content .text {
  margin-bottom: 1.25rem;
  color: #5f5853;
  line-height: 1.7;
}

.template-weddingo .wgo-gifts .registry-bank-account {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.template-weddingo .wgo-gifts .registry-bank-account__list {
  display: grid;
  gap: 0;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(139, 78, 48, .14);
  border-radius: .75rem;
  background: #fbf8f6;
}

.template-weddingo .wgo-gifts .registry-bank-account__line {
  display: grid;
  grid-template-columns: minmax(5.5rem, .35fr) minmax(0, 1fr);
  gap: .75rem;
  min-width: 0;
  padding: .8rem 1rem;
}

.template-weddingo .wgo-gifts .registry-bank-account__line + .registry-bank-account__line {
  border-top: 1px solid rgba(139, 78, 48, .12);
}

.template-weddingo .wgo-gifts .registry-bank-account__line dt,
.template-weddingo .wgo-gifts .registry-bank-account__line dd {
  min-width: 0;
  margin: 0;
}

.template-weddingo .registry-bank-account__line dt {
  color: #7a5140;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.template-weddingo .registry-bank-account__line dd {
  overflow-wrap: anywhere;
  color: #2f2925;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

.template-weddingo .wgo-registry-copy {
  justify-self: start;
  min-height: 2.75rem;
  padding: .7rem 1rem;
  border: 1px solid #8b4e30;
  border-radius: 999px;
  background: #8b4e30;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.template-weddingo .wgo-registry-copy:hover {
  background: #6f3d26;
}

.template-weddingo .wgo-registry-copy:focus-visible {
  outline: .1875rem solid #8b4e30;
  outline-offset: .1875rem;
}

.template-weddingo .wgo-registry-copy:active {
  transform: translateY(.0625rem);
}

.template-weddingo .wgo-gifts [data-b13-registry-copy-status] {
  min-height: 1.35rem;
  color: #5f5853;
  font-size: .875rem;
  line-height: 1.45;
}

/* Preserve the vendor asset while moving the former inline declaration. */
.template-weddingo .wgo-footer .footer-wrapper {
  background-image: url('../images/footer/footer-Bg1_2.png');
}

.template-weddingo .wgo-footer #b13-branding {
  margin-top: 1.25rem;
  padding: 1.75rem 1rem 2.25rem;
  border-top: 1px solid rgba(63, 52, 47, .18);
  color: #3f342f;
}

.template-weddingo .wgo-footer .footer-bottom p,
.template-weddingo .wgo-footer .footer-bottom a {
  color: #3f342f;
}

.template-weddingo .wgo-footer .footer-bottom a:focus-visible {
  outline: .125rem solid currentColor;
  outline-offset: .1875rem;
}

@media (max-width: 991.98px) {
  .template-weddingo .wgo-gallery .gallery-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .template-weddingo .wgo-gallery .gallery-item,
  .template-weddingo .wgo-gallery-row--primary .gallery-item:nth-child(n),
  .template-weddingo .wgo-gallery-row--secondary .gallery-item:nth-child(n) {
    grid-column: auto;
  }

  .template-weddingo .wgo-gallery .gallery-item img,
  .template-weddingo .wgo-gallery-row--primary .gallery-item:nth-child(n) img,
  .template-weddingo .wgo-gallery-row--secondary .gallery-item:nth-child(n) img {
    height: 19rem;
  }

  .template-weddingo .wgo-story {
    --wgo-story-date-size: 9.5rem;
  }

  .template-weddingo .wgo-story-copy {
    max-width: none;
    padding: 1.75rem 0 0;
  }

  .template-weddingo .wgo-story-card--alternate .wgo-story-copy {
    margin-left: 0;
  }

  .template-weddingo .wgo-rsvp .contact-form {
    margin-inline: auto;
  }
}

@media (max-width: 767.98px) {
  .template-weddingo .wgo-gallery .gallery-items {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .template-weddingo .wgo-gallery .gallery-item img,
  .template-weddingo .wgo-gallery-row--primary .gallery-item:nth-child(n) img,
  .template-weddingo .wgo-gallery-row--secondary .gallery-item:nth-child(n) img {
    height: clamp(15rem, 68vw, 20rem);
  }

  .template-weddingo .wgo-story {
    --wgo-story-date-size: 7.5rem;
  }

  .template-weddingo .wgo-story-card {
    margin-bottom: 4.5rem;
  }

  .template-weddingo .wgo-story-media,
  .template-weddingo .wgo-story-media--alternate {
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
  }

  .template-weddingo .wgo-story-image,
  .template-weddingo .wgo-story-media--alternate .wgo-story-image {
    grid-column: 1;
    height: clamp(16rem, 78vw, 22rem);
    object-position: 50% 50%;
    border-radius: 1.25rem;
  }

  .template-weddingo .wgo-story-date,
  .template-weddingo .wgo-story-media--alternate .wgo-story-date {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    margin: 1rem 0 0;
    border-width: .75rem;
  }

  .template-weddingo .wgo-story-copy {
    padding-top: 1.5rem;
  }

  .template-weddingo .wgo-rsvp .contact-form {
    padding: 1.5rem 1.125rem;
  }

  .template-weddingo .wgo-location-card__details {
    padding: 1.125rem;
  }

  .template-weddingo .wgo-gifts .registry-bank-account__line {
    grid-template-columns: 1fr;
    gap: .25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .template-weddingo .wgo-registry-media,
  .template-weddingo .wgo-registry-copy,
  .template-weddingo .wgo-gifts .wgo-registry-card {
    transition: none;
  }
}

/* === Jerarquia de encabezados ===============================================
   Los titulos de item -historia, agenda, cortejo, menu, regalos y preguntas-
   eran h4 y h5 colgando de un h2 de seccion: saltos de dos y tres niveles.
   Suben a h3.

   El tema fija el cuerpo por etiqueta con variables, asi que subir de nivel los
   agrandaria. Estas clases les devuelven el tamaño que tenian usando las mismas
   variables del tema: no es un rediseño, es el mismo aspecto con la estructura
   corregida.
   ========================================================================== */

.template-weddingo .wgo-item-title {
  font-size: var(--h4-font-size);
  font-weight: var(--h4-font-weight);
  line-height: var(--line-height-heading-h4);
}

.template-weddingo .wgo-item-title--sm {
  font-size: var(--h5-font-size);
  font-weight: var(--h5-font-weight);
  line-height: var(--line-height-heading-h5);
}

/* "Nos casamos" en el panel del menu es un lema, no un encabezado: colgaba del
   h1 de la portada. Pasa a parrafo conservando su cuerpo. */
.template-weddingo .wgo-hero-lead {
  font-size: var(--h4-font-size);
  font-weight: var(--h4-font-weight);
  line-height: var(--line-height-heading-h4);
}

/* Titulo que nombra una seccion para quien la recorre con lector de pantalla y
   que no debe ocupar sitio en pantalla. Ni display:none ni visibility:hidden
   servirian: sacarian el titulo tambien del arbol de accesibilidad. */
.template-weddingo .wgo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
