/*Theme Name: Florya
Theme URI: https://1.envato.market/Ao94VD
Author: webRedox WordPress Team
Author URI: https://webredox.net/
Description: Florya – Wedding and Event Planner WordPress Theme is perfect if you like a clean, modern and creative template. This template is ideal for wedding planner, event planner, wedding organizer, organization wedding events, wedding coordinator, wedding designer, planner office, wedding photographer and those who need an easy, attractive and effective way to share their work with clients.
Version: 2.2.5
License: 
License URI:
Tags: two-columns, custom-background, custom-colors, featured-images, theme-options
Text Domain: florya
*/

.wp-caption {
	margin-bottom: 1.75em;
	max-width: 100%;
}
.wp-caption-text {
	opacity: 1;
	visibility: visible;
	-webkit-transition: opacity 0.24s ease-in-out;
	-moz-transition: opacity 0.24s ease-in-out;
	transition: opacity 0.24s ease-in-out;
}
.sticky { 
    color: #000;
}
.gallery-caption {
	opacity: 1;
	visibility: visible;
	-webkit-transition: opacity 0.24s ease-in-out;
	-moz-transition: opacity 0.24s ease-in-out;
	transition: opacity 0.24s ease-in-out;
}
.bypostauthor {
	color:#000;
}
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}
.alignright {
    display: block;
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}
.aligncenter {
    margin-left: auto;
    margin-right: auto;
    display: block;
    clear: both;
    margin-bottom: 20px;
}
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	/* many screen reader and browser combinations announce broken words as they would appear visually */
	word-wrap: normal !important;
}
.screen-reader-text:focus {
    color:#000;	
}
.wp-block-image.alignfull img, 
.wp-block-image.alignwide img {
    width: 100%;
}
rs-module-wrap{	
	max-width:100%;	
	left:0px!important;
}

/* ============================================
     PORTFOLIOS CSS
     ============================================ */
.wedding-detail {
    --wd-green: #313D2E;
    --wd-beige: #CDCEC2;
    --wd-cream: #F5F1EB;
    --wd-black: #000000;
    --wd-sage: #8B8E7F;
    --wd-light-sage: #CDCEC2;
    --wd-white: #FFFFFF;
    font-family: "DM Sans", sans-serif;
    color: var(--wd-black);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    line-height: 1.6;
  }

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

  /* ============================================
     NAVEGACIÓN
     ============================================ */
  .wd-nav-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--wd-sage);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 0;
    border-bottom: 1px solid var(--wd-light-sage);
    transition: color 0.3s;
  }

  .wd-nav-back:hover {
    color: var(--wd-green);
    text-decoration: none;
  }

  /* ============================================
     BOTÓN REGRESAR
     ============================================ */
  .wd-back-wrap {
    padding: 20px 0;
  }

  .wd-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wd-beige);
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid transparent;
    transition: color 0.3s, border-color 0.3s;
  }

  .wd-back-btn:hover {
    color: var(--wd-white);
    border-bottom-color: var(--wd-white);
    text-decoration: none;
  }

  .wd-back-arrow {
    font-size: 16px;
    transition: transform 0.3s;
  }

  .wd-back-btn:hover .wd-back-arrow {
    transform: translateX(-4px);
  }

  /* ============================================
     HERO
     ============================================ */
  .wd-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
  }

  .wd-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }

  .wd-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 50px;
    padding-top: 80px;
    background: linear-gradient(transparent, rgba(49, 61, 46, 0.85));
    z-index: 2;
  }

  .wd-hero-names {
    font-size: clamp(28px, 5vw, 48px);
    color: var(--wd-white);
    font-weight: 400;
    margin: 0;
  }

.wd-hero-names span{
	font-style: italic;
}

  .wd-hero-location {
    font-size: 13px;
    color: var(--wd-beige);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 10px;
  }

  /* ============================================
     BARRA DE DETALLES
     ============================================ */
  .wd-details-bar {
    background: var(--wd-beige);
    padding: 36px 0;
  }

  .wd-details-bar .row {
    justify-content: center;
  }

  .wd-detail-item {
    text-align: center;
    padding: 8px 24px;
  }

  .wd-detail-label {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--wd-sage);
    margin-bottom: 6px;
  }

  .wd-detail-value {
    font-size: 16px;
    color: var(--wd-green);
    letter-spacing: 1px;
  }

  /* ============================================
     HISTORIA
     ============================================ */
  .wd-story {
    padding: 80px 15px;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }

  .wd-story-label {
	font-family: "Instrument Serif", serif;
	font-style: italic;
    font-size: 3rem;
    color: var(--wd-sage);
    margin-bottom: 24px;
  }

  .wd-divider {
    width: 40px;
    height: 1px;
    background: var(--wd-beige);
    margin: 0 auto 24px;
  }

  .wd-story-text {
    font-size: 19px;
    line-height: 1.2;
    color: var(--wd-green);
  }

  /* ============================================
     GALERÍA — BOOTSTRAP GRID
     ============================================ */
  .wd-gallery {
    padding-bottom: 20px;
  }

  .wd-gallery .row {
    margin-left: -4px;
    margin-right: -4px;
    margin-bottom: 8px;
  }

  .wd-gallery .row:last-child {
    margin-bottom: 0;
  }

  .wd-gallery [class*="col-"] {
    padding-left: 4px;
    padding-right: 4px;
  }

  .wd-gallery img {
    width: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s;
  }

  .wd-gallery img:hover {
    opacity: 0.92;
  }

  .wd-gallery .wd-img-full {
    height: 500px;
  }

  .wd-gallery .wd-img-half {
    height: 400px;
  }

  .wd-gallery .wd-img-third {
    height: 350px;
  }

  /* ============================================
     LIGHTBOX
     ============================================ */
  .wd-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .wd-lightbox.active {
    display: flex;
  }

  .wd-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    cursor: default;
    animation: wd-fade-in 0.3s ease;
  }

  .wd-lightbox-close {
    position: fixed;
    top: 24px;
    right: 32px;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 100000;
    font-family: Arial, sans-serif;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
  }

  .wd-lightbox-close:hover {
    opacity: 1;
  }

  .wd-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 100000;
    font-family: Arial, sans-serif;
    opacity: 0.6;
    transition: opacity 0.3s;
    padding: 20px;
    user-select: none;
  }

  .wd-lightbox-nav:hover {
    opacity: 1;
  }

  .wd-lightbox-prev {
    left: 16px;
  }

  .wd-lightbox-next {
    right: 16px;
  }

  .wd-lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    letter-spacing: 2px;
    font-family: Georgia, serif;
  }

  @keyframes wd-fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }

  /* ============================================
     CTA
     ============================================ */
  .wd-cta-wrapper {
    padding: 60px 0 80px;
    background: var(--wd-white);
  }

  .wd-cta {
    padding: 80px 40px;
    text-align: center;
    background: var(--wd-cream);
    border-radius: 16px;
  }

  .wd-cta-label {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
	font-family: "DM Sans";
    color: var(--wd-sage);
    margin-bottom: 16px;
  }

  .wd-cta-title {
    font-size: clamp(28px, 5vw, 46px);
    color: var(--wd-green);
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.2;
  }

  .wd-cta-title em {
    font-style: italic;
    color: var(--wd-sage);
  }

  .wd-cta-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--wd-green);
    max-width: 540px;
    margin: 0 auto 12px;
  }

  .wd-cta-note {
    font-size: 14px;
    font-style: italic;
    color: var(--wd-sage);
    margin-bottom: 36px;
  }

  .wd-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .wd-btn {
    display: inline-block;
    padding: 16px 44px;
    font-size: 16px;
    letter-spacing: 2px;
    text-decoration: none;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    border-radius: 50px;
    transition: all 0.3s ease;
  }

  .wd-btn:hover {
    text-decoration: none;
  }

  .wd-btn-outline {
    border: 1px solid var(--wd-green);
    color: var(--wd-green);
    background: transparent;
  }

  .wd-btn-outline:hover {
    background: var(--wd-green);
    color: var(--wd-white);
  }

  .wd-btn-filled {
    border: 1px solid var(--wd-green);
    background: var(--wd-green);
    color: var(--wd-white);
  }

  .wd-btn-filled:hover {
    background: #252e22;
    border-color: #252e22;
    color: var(--wd-white);
  }

  /* ============================================
     RESPONSIVE
     ============================================ */
  @media (max-width: 768px) {
    .wd-hero {
      height: 60vh;
      min-height: 350px;
    }

    .wd-hero-overlay {
      padding-bottom: 32px;
      padding-top: 60px;
    }

    .wd-story {
      padding: 50px 15px;
    }

    .wd-gallery .wd-img-full {
      height: 280px;
    }

    .wd-gallery .wd-img-half {
      height: 280px;
    }

    .wd-gallery .wd-img-third {
      height: 240px;
    }

    .wd-cta {
      padding: 50px 24px;
    }

    .wd-cta-wrapper {
      padding: 40px 0 60px;
    }

    .wd-lightbox-nav {
      font-size: 28px;
      padding: 12px;
    }

    .wd-lightbox-prev {
      left: 8px;
    }

    .wd-lightbox-next {
      right: 8px;
    }
  }