/*
Theme Name: Cocoon
Theme URI: https://cocoonlongevityresort.com
Description: Cocoon Child Theme
Author: Cocoon
Template: blocksy
Version: 1.0
Text Domain: cocoon
*/

/* ==================================================
   COCOON LOCAL FONTS
================================================== */

/* Playfair Display: normal */
@font-face {
    font-family: "Playfair Display";
    src: url("assets/fonts/PlayfairDisplay-VariableFont_wght.ttf")
        format("truetype");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

/* Playfair Display: italic */
@font-face {
    font-family: "Playfair Display";
    src: url("assets/fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf")
        format("truetype");
    font-weight: 400 900;
    font-style: italic;
    font-display: swap;
}

/* PT Sans: regular */
@font-face {
    font-family: "PT Sans";
    src: url("assets/fonts/PTSans-Regular.ttf")
        format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* PT Sans: italic */
@font-face {
    font-family: "PT Sans";
    src: url("assets/fonts/PTSans-Italic.ttf")
        format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* PT Sans: bold */
@font-face {
    font-family: "PT Sans";
    src: url("assets/fonts/PTSans-Bold.ttf")
        format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* PT Sans: bold italic */
@font-face {
    font-family: "PT Sans";
    src: url("assets/fonts/PTSans-BoldItalic.ttf")
        format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

body,
button,
input,
select,
textarea,
h4,
h5,
h6 {
    font-family: "PT Sans", Arial, sans-serif;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", Georgia, serif;
}

body,
body h4,
body h5,
body h6 {
    --theme-font-family: "PT Sans", Arial, sans-serif;
}

body h1,
body h2,
body h3 {
    font-family: "Playfair Display", Georgia, serif;
}

body .is-layout-flex {
    display: flex;
    padding: 0px !important;
	margin: 0px;
}
.ct-footer [data-column]>[data-id] {
    margin: var(--margin);
    padding: 0px 20px;
}
.ct-back-to-top {
	background: var(--top-button-background-color, var(--theme-palette-color-4))!important;
}
.ct-icon, .ct-icon-container svg {
	fill: #ffffff !important;
}

/* Decorative divider below H1 or H2 */
.cocoon-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: min(100%, 360px);
    margin: 14px auto 28px;
    color: #ce982c;
}

.cocoon-title-divider::before,
.cocoon-title-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #777777;
}

.cocoon-title-divider svg {
    display: block;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

/* Smaller version below H2 */
h2 + .cocoon-title-divider {
    width: min(100%, 300px);
    margin-top: 12px;
    margin-bottom: 24px;
}

h2 + .cocoon-title-divider svg {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
}

@media (max-width: 767px) {
    .cocoon-title-divider {
        width: min(85%, 300px);
        gap: 12px;
    }
}


/* ============================================
ICON DIVIDER
============================================ */

#top .avia-font-cocoon, body .avia-font-cocoon, html body [data-av_iconfont='cocoon']:before {
    font-family: 'cocoon';
}

.hr-custom {
    margin: 0;
    display: block;
    min-height: 21px;
    height: auto;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}
.hr.hr-outer .hr-inner {
    width: 120px;
    max-width: 45%;
    margin: 0px 10px;
}
.hr-custom.hr-icon-yes .hr-inner {
    margin-left: 10px;
    margin-right: 10px;
}
.hr-custom .hr-inner {
    display: inline-block;
    position: relative;
    vertical-align: super;
}

.hr-inner {
    width: 100%;
    position: absolute;
    height: 1px;
    left: 0;
    top: 50%;
    width: 100%;
    margin-top: -1px;
    border-top-width: 1px;
    border-top-style: solid;
}

#ctrbCounters-1 .ctrbCounters .counter {
    text-align: center;
    width: 250px !important;
    height: 250px !important;
    padding: 20px 0px;
    border: thin solid gold !important;
    border-radius: 5px;
}
#ctrbCounters-1 .ctrbCounters .counter .counterLabel {
    font-weight: 400;
    font-size: 14px !important;
    letter-spacing: normal;
    text-align: left;
}
#ctrbCounters-1 .ctrbCounters .counter .counterNumber {
    font-weight: 500;
    font-size: 78px !important;
    line-height: normal;
}

#ctrbCounters-1 .ctrbCounters .counter .counterIconLabel {
    font-size: 52px !important;
}
.theme2 {
    padding: 20px;
}
.counterLabel {
    padding: 15px !important;
}
.counterNumber {
    color: var(--theme-palette-color-4, #666666);
    margin: 0px !important;
}

.cta-btn {
    display: inline-flex;
    min-height: 54px;
    padding: 14px 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ce982c;
    background: #ce982c;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 180ms ease,
        color 180ms ease;
    border-radius: 6px;
}

.cta-btn:hover,
.cta-btn:focus-visible {
    background: transparent;
    color: #ce982c;
}
