.rc_line{
  border:0 !important;
	height: 2px;
 background: linear-gradient(to right, #7f4305, #ca8736, #7f4305);
}
.rc_front_margin { margin-top:70px;}

.cta-editorial a {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}
/* HARD override of theme hover */
.cta-editorial a:hover,
.cta-editorial a:focus,
.cta-editorial a:active {
  color: inherit !important;
  background: none !important;
  border-bottom-color: currentColor !important;
  opacity: 0.55;
  transform: none !important;
  box-shadow: none !important;
}

.cmplz-document {
    max-width: 100% !important;
}

@media (max-width: 768px) {
  .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
    width: 100% !important;
  }
}

.menu-item.separator-link {
  pointer-events: none;
  opacity: 0.35;
  margin: 0.8em 0;
}

.ct-footer .menu a {
  text-transform: none !important;
  font-size: 15px !important;
  line-height: 1.6;
}


/* ================================
   LUXURY GALLERY SYSTEM (OVERRIDES SAFE)
   ================================ */

/* Base spacing */
.lux-gallery {
  margin-top: 80px !important;
  margin-bottom: 80px !important;
}

/* Kill WP default figure spacing */
.lux-gallery figure.wp-block-image {
  margin: 0 !important;
}

/* Override Gutenberg nested gallery flex width rule */
.lux-gallery.has-nested-images figure.wp-block-image {
  width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2) !important;
}

/* Ensure image behaves cleanly */
.lux-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

/* ================================
   MOBILE OVERRIDES
   ================================ */
@media (max-width: 768px) {

  .lux-gallery {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
  }

  /* Force single column on mobile */
  .lux-gallery.has-nested-images figure.wp-block-image {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
  }

}

/* ================================
   DESKTOP IMAGE RHYTHM
   ================================ */

@media (min-width: 769px) {

  /* Add breathing room WITHOUT breaking 2-column layout */
  .lux-gallery.has-nested-images figure.wp-block-image {
    padding: 12px !important;
    box-sizing: border-box;
  }

}

/* =========================================
   COLLECTION LAYOUT
========================================= */

.collection-block {
    padding: 4rem 0;
}

.collection-columns {
    align-items: center;
    gap: 2rem;
}

/* Images */

.collection-columns figure {
    margin: 0;
}

.collection-columns img {
    display: block;
    width: 100%;
    height: auto;
}

/* Typography */

.collection-columns h2 {
    margin-bottom: 1rem;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 781px) {

    /* smaller spacing between collections */

    .collection-block {
        padding: 3.5rem 0;
    }

    /* stack vertically */

    .collection-columns {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    /* order:
       title/text first
       image second
    */

    .collection-columns > .wp-block-column:last-child {
        order: 1;
        text-align: center;
    }

    .collection-columns > .wp-block-column:first-child {
        order: 2;
    }

    /* hide second image */

    .secondary-image {
        display: none;
    }

    /* narrower image for luxury spacing */

    .collection-columns figure {
        width: 84%;
        margin: 0 auto;
    }

    /* typography adjustments */

    .collection-columns h2 {
        margin-bottom: 0.5rem;
    }

.collection-text {
    order: 1;
}

.image-primary {
    order: 2;
}

.image-secondary {
    display: none;
}
}


/* =========================================
   FULLSCREEN MENU OVERLAY
========================================= */

.header-menu-1 {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.96);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

    z-index: 9999;
}

/* OPEN STATE */

.header-menu-1.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* =========================================
   MENU LIST
========================================= */

.header-menu-1 ul {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 1rem;

    list-style: none;

    padding: 0;
    margin: 0;
}

/* =========================================
   MENU ITEMS ANIMATION
========================================= */

.header-menu-1 li {
    opacity: 0;
    transform: translateY(16px);

    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

.header-menu-1.is-open li {
    opacity: 1;
    transform: translateY(0);
}

/* optional stagger */

.header-menu-1 li:nth-child(1) {
    transition-delay: 0.05s;
}

.header-menu-1 li:nth-child(2) {
    transition-delay: 0.10s;
}

.header-menu-1 li:nth-child(3) {
    transition-delay: 0.15s;
}

.header-menu-1 li:nth-child(4) {
    transition-delay: 0.20s;
}

.header-menu-1 li:nth-child(5) {
    transition-delay: 0.25s;
}

/* =========================================
   LINKS
========================================= */

.header-menu-1 a {
    text-decoration: none;
    text-transform: none !important;

    font-family: 'Kite One', sans-serif !important;
    font-weight: 400 !important;
    font-size: 28px !important;
    line-height: 1.5 !important;
    letter-spacing: 0.02em !important;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}
.header-menu-1 li a,
.header-menu-1 .ct-menu-link,
.header-menu-1 .ct-menu-link span {
    color: #a8977b !important;
}

/* HOVER */

.header-menu-1 a:hover {
   color: var(--theme-link-hover-color) !important;
}

/* =========================================
   REMOVE BLOCKSY DEFAULTS
========================================= */

.header-menu-1 .sub-menu {
    display: none !important;
}

.header-menu-1 .ct-menu-link {
    justify-content: center;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 781px) {

    .header-menu-1 a {
        font-size: 2.2rem;
    }

}

/* =========================================
   MENU TOGGLE
========================================= */
.desktop-menu-toggle {
    position: relative;
    width: 18px;
    height: 14px;
    cursor: pointer;
    z-index: 10002;
    color: currentColor;
}

.desktop-menu-toggle span {
    position: absolute;
    left: 0;
    width: 18px;
    height: 1.7px;

    border-radius: 1px;

    background: currentColor;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
    transform-origin: center;
}


.desktop-menu-toggle span:nth-child(1) {
    top: 0;
}

.desktop-menu-toggle span:nth-child(2) {
    top: 6.15px;
}

.desktop-menu-toggle span:nth-child(3) {
    top: 12.3px;
}

/* =========================================
   TOGGLE OPEN STATE
========================================= */

.desktop-menu-toggle.is-open span:nth-child(1) {
    transform:
        translateY(6px)
        rotate(45deg);
}

.desktop-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.desktop-menu-toggle.is-open span:nth-child(3) {
    transform:
        translateY(-6px)
        rotate(-45deg);
}

.desktop-menu-toggle.is-open span {
    background: #fff;
}

.desktop-menu-toggle.is-open:hover span {
    background: #fff;
}


/* =========================================
   BLOCKSY MOBILE MENU OVERRIDES
   (type-1 header)
========================================= */

[data-header*="type-1"] [data-id="mobile-menu"] {

    /* Typography */
    --theme-font-family: 'Kite One', sans-serif;
    --theme-font-weight: 400;
    --theme-font-size: 28px;
    --theme-link-initial-color: #a8977b;

    /* Layout */
    --mobile-menu-divider: none;
}

/* Ensure links use correct font + casing */
.mobile-menu .ct-menu-link,
.mobile-menu a {
    font-family: 'Kite One', sans-serif !important;
    text-transform: none !important;
    color:  #a8977b !important;

}

/* Alignment fixes (Blocksy uses flex internally) */
.mobile-menu .ct-menu-link {
    text-align: var(--text-horizontal-alignment);
    justify-content: var(--horizontal-alignment);
    --menu-item-padding: var(--items-vertical-spacing, 5px) 0;
}

/* hover (desktop + tablets) */
.mobile-menu .ct-menu-link:hover {
    color: var(--theme-link-hover-color);
}

/* touch feedback (mobile equivalent of hover) */
.mobile-menu .ct-menu-link:active {
    color: var(--theme-link-hover-color);
    opacity: 0.85;
}

/* optional: active/current page state */
.mobile-menu .current-menu-item > .ct-menu-link {
    color: var(--theme-link-hover-color);
}

/* =========================================================
   FRONT PAGE FLOATING POSITION
   ========================================================= */

body.home .desktop-menu-toggle {
    position: fixed;

    top: 60px;
    right: 60px;

    width: 18px;
    height: 14px;

    display: block;

    z-index: 10001;
}

/* =========================================================
   FRONT PAGE MOBILE MENU OVERRIDE (Blocksy-like)
   ========================================================= */

@media (max-width: 768px) {

    /* --- FULLSCREEN MENU LAYOUT --- */
    body.home .header-menu-1 {
        position: fixed;
        inset: 0;

        width: 100vw;
        height: 100vh;

        display: block !important;

        background: rgba(0, 0, 0, 0.96);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: opacity 0.35s ease, visibility 0.35s ease;

        z-index: 9999;
    }

    /* open state */
    body.home .header-menu-1.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* --- MENU CONTENT ALIGNMENT (Blocksy-style) --- */
    body.home .header-menu-1 nav,
    body.home .header-menu-1 ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        text-align: left;

        padding: 24px; /* gives mobile breathing room like Blocksy */
    }

    body.home .header-menu-1 a {
        text-align: left;
        font-size: 20px !important;
        font-weight: 700 !important;
    }

    /* --- TOGGLE (X / HAMBURGER) POSITION --- */
    body.home .desktop-menu-toggle {
        position: fixed;

        top: 18px;
        right: 18px;

        z-index: 10001;

        width: 18px;
        height: 14px;
    }

    /* --- SAFETY: prevent centering leaks --- */
    body.home .header-menu-1 * {
        text-align: left;
    }
}

.press-link a {
  background: none;
  border: none;
  padding: 0;

  color: inherit;

  text-decoration: underline;
  text-underline-offset: 4px;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  font-size: 0.8rem;
  font-weight: 400;
}

.press-link a:hover,
.press-link a:focus,
.press-link a:active {
  color: inherit !important;
  background: none !important;

  opacity: 0.55;

  transform: none !important;
  box-shadow: none !important;
}
