#page {
    padding-top: 0px;
}

/* HERO */

.page-hero {
    position: relative;
    padding: 20rem 0 0;
    background-size: cover;
    background-position: center;
    background-color: var(--tertiaryColor);
}

.page-hero:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(180deg, #000000ab, transparent);
}

.page-hero .container {
    position: relative;
}

.page-hero h1 {
    color: white;
    padding: 0 15rem;
    text-align: center;
    line-height: 90%;
    position: relative;
    z-index: 1;
}
.page-hero h1.show-menu {
    z-index: 0;
}

.hero-bar {
    background: var(--primaryColor);
    padding: 1rem 0 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 0;
}

.hero-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-bar p {
    color: white;
    font-size: 1rem;
    line-height: 140%;
}

.hero-bar h6 {
    text-align: center;
    color: white;
    font-size: 1.5rem;
}

.tagline {
    width: 13rem;
}

.keywords {
    display: flex;
    gap: 1rem;
    justify-content: center;
    color: white;
    margin-top: 4px;
}

.keywords span:last-of-type {
    display:none;
}

.socials {
    width: 13rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.socials a {
    color: white;
}

h2.intro-title {
    margin-top: -5px;
}

.flex-one-third {
    flex: 1 1 29%;
}
.flex-two-third {
    flex: 1 1 71%;
}

/* CONTENT */

section {
    padding: 5rem 0;
}

section.page-section {
    padding: 3rem 0;
}

#page-content p {
    padding-bottom: 1rem;
}

#page-content .content h3, #page-content .content h4 {
    padding-bottom: 1.5rem;
}

#page-content .content {
    max-width: 60rem;
    margin:0 auto;
}

#page-content .content ol, #page-content .content ul {
    list-style-position: outside;
    padding-left: 2rem;
}

#page-content a {
    color: var(--primaryColor);
}

.content p {
    padding-bottom: 1.5rem;
}
.content p:last-of-type {
    padding-bottom: 0;
}
.content p a {
    text-decoration: underline;
}

.content h3 {
    padding-bottom: 1rem;
}

/* SERVICES */

.service {
    display: flex;
    padding: 1.88rem;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    border-radius: 0.95rem;
    background: rgba(124, 62, 77, 0.10);
    position: relative
}

.service:nth-of-type(2n + 2) {
    background: rgba(212, 162, 118, 0.20);
}
.service:nth-of-type(2n + 2) .btn, .service:nth-of-type(2n + 2) .icon-wrap {
    background: var(--secondaryColor);
}

.service:nth-of-type(2n + 3) {
    background: rgba(255, 237, 216, 0.30);    
}
.service:nth-of-type(2n + 3) .btn, .service:nth-of-type(2n + 3) .icon-wrap {
    background: var(--tertiaryColor);
    color: #131313;
}


.service p {
    font-size: 0.9rem;
    line-height: 160%;
    margin-top: 1rem;
}

.service ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service ul li {
    display: flex;
    gap: 14px;
    font-size: 0.9rem;
    line-height: 150%;
    margin-bottom: 0.5rem;
}

.service ul li i {
    margin-top: 3px;
}

.service em {
    font-size: 0.8rem;
}

.service .corner-icon {
    padding: 35px 0 0 30px;
    height: 120px;
    width: 120px;
}

.service .corner-icon .icon-wrap {
    width: 85px;
    height: 85px;
    padding: 1.5rem;
}

.sample {
    border-radius: 12px;
    border: 1.5px solid rgba(242, 236, 237, 0.70);
    background: rgba(249, 245, 246, 0.50);
    display: flex;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    gap: 12px;
    align-self: stretch;
}

/* QUOTE */

.quote {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    min-height: 400px;
}

.quote-text {
    width: 22rem;
    z-index: 2;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: white;
}

.quote-text h5 {
    color: #353535;
    font-size: 1.2rem;
    line-height: 120%;
    margin-bottom: 5px;
}

.quote-text p {
    font-style: italic;
    font-size: 0.9rem;
    color: #353535;
}

.quote img {
    height: 14rem;
    width: 13rem;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.40);
    margin-left: -4rem;
}

.quote-icon {
    position: absolute;
    top: -35px;
    right: -35px;
    background: white;
    color: var(--primaryColor);
    border-radius: 100%;
    height: 70px;
    width: 70px;
    text-align: center;
    line-height: 170%;
    font-size: 44px;
}

/* BLOG */
.blog-post .relative {
    border-radius: 22px;
    height: 22rem;
}
.blog-post img {
    border-radius: 22px;
    height: 22rem;
    transition: 0.2s all;
}

.blog-post img:hover {
    transform: scale(1.2);
}
.blog-post svg {
    transition: 0.2s all;
}
.blog-post:hover svg {
    transform: rotate(22.5deg);
    transition: 0.2s all;
}

.blog-post h4 {
    height: 4.5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blog-meta {
    border-top: 1px solid #0E0E0E;
    margin-top: 1rem;
    padding-top: 1rem;
    color: var(--primaryColor);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.blog-meta p {
    color: #0E0E0E;
    font-size: 0.9rem;
}

.blog-meta span {
    color: #0E0E0E;
    font-size: 0.7rem;
}

.pagination {
    margin-top: 4rem;
    text-align: center;
    display: flex;
    justify-content: center;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 1rem 0;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 16px 7px;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.2s all;
}

.pagination .current {
    background-color: var(--primaryColor);
    color: #fff;
}

.pagination .page-numbers:hover {
    background-color: #7c3e4d7d;
}

/* BOOKS */

.book-image-wrap {
    background: #F2ECED;
    padding: 2rem;
    height: 24rem;
}
.book-image-wrap img {
    height: 100%;
    margin: 0 auto;
    display: block;
    box-shadow: 4px 4px 15px 0px rgba(0, 0, 0, 0.15);
}

/* MISC */

.bubbles {
    position: relative;
}
.bubbles img {
    max-width: 69%;
    height: 32rem;
    object-fit: cover;
    object-position: center;
    border-radius: 1.25rem;
    margin: 3rem 5rem;
}
.bubbles:before {
    content: '';
    position: absolute;
    top: 0rem;
    left: 0rem;
    width: 19rem;
    height: 18rem;
    border-radius: 50%;
    background: #d4a276;
    z-index: -1;
}
.bubbles:after {
    content: '';
    position: absolute;
    bottom: 4rem;
    right: 3rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: #ffedd8;
    z-index: -1;
}

img.icon {
    height: 40px;
    width: 40px;
    display: block;
}
img.icon-big {
    height: 100px;
    width: 100px;
    display: block;
    border-radius: 50%;
}

.corner-icon {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background-image: url(/wp-content/uploads/2025/03/curved-bg.png);
    background-size: cover;
    padding: 38px 0 0 38px;
    height: 139px;
    width: 139px;
    z-index: 2;
}

.corner-icon .icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--primaryColor);
    padding: 0.85rem;
}

.corner-icon svg {
    width: 90px;
    height: 90px;
}

.page-box {
    border-radius: 11px;
    background: rgba(124, 62, 77, 0.10);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schema-faq {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
}

.schema-faq-question {
    font-family: 'EightiesComeback', sans-serif;
    line-height: 118%;
    font-weight: 500;
    letter-spacing: 0.2px;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    display: block;
}

/* CAROUSEL */

.card {
    min-height: 21.2rem;
    display: flex;
    padding: 3.25rem 4.5rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    border-radius: 5rem 0.75rem;
    border: 2px solid #F8E8ED;
    background: #F3EAED;
}
.slick-left-active .card, .slick-current .card {
    background: white;
}

.carousel .slick-list {
    padding-left: 0 !important;
}

.carousel .slick-slide:not(:last-child) {
    margin-right: 2rem;
}

ul.slick-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    list-style: none;
}

ul.slick-dots li button {
    background: white;
    border: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0;
}

ul.slick-dots li.slick-active button {
    background: var(--primaryColor);
}

.slick-arrow {
    background: var(--primaryColor);
    border-radius: 100%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 30%;
    left: -25px;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
    transition: 0.2s all;
}

.slick-arrow:hover {
    background: var(--secondaryColor)
}

.slick-prev {
    top: 40%;
}

.slick-next {
    top: 60%;
}

/* GALLERY */

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 3rem;
    gap: 1.25rem;
    justify-content: center;
}

.gallery-item {
    flex: 23.7% 1 1;
    aspect-ratio: 7 / 6;
    cursor: pointer;
    position: relative;
    min-width: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3131319e;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s all;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 40px;
    color: var(--primaryColor);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: #313131cf;
}

.modal-content {
    position: relative;
    margin: auto;
    width: 80%;
    max-width: 80%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

#modal-image {
    max-height: 90vh;
    width: auto;
    object-fit: cover;
    margin: 0 auto;
}

/* Modal Navigation buttons */
.prev:not(.page-numbers), .next:not(.page-numbers) {
    cursor: pointer;
    position: absolute;
    top: calc(50% - 15px);
    user-select: none;
    -webkit-user-select: none;
    background: var(--primaryColor);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    transition: 0.2s all;
}
.prev:hover, .next:hover {
    filter:brightness(1.2);
}
.prev img, .next img {
    height: 30px;
}
.prev { left: 15px; }
.next { right: 15px; }

.close {
    position: absolute;
    top: 55px;
    right: 25px;
    color: #212121;
    font-weight: 300;
    cursor: pointer;
    background: #EFEDED;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    line-height: 48px;
    text-align: center;
    transition: 0.2s all;
}
.close img {
    height: 17px;
    width: auto;
    max-width: 100%;
    border-radius: 0;
}
.close:hover {
    background: var(--secondaryColor);
}

/* NEWSLETTER */

form.newsletter {
    display: flex;
    gap: 5px;
}

form.newsletter input {
    padding: 0.75rem;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 1.1rem;
    width: 350px;
    outline: none;
}

small.newsletter-disclaimer {
    font-size: 0.7rem;
    max-width: 30rem;
    text-align: center;
}
