/*
Theme Name: DMN WP STARTER
Description: DMN WP STARTER Child theme for customizations.
Author: DMN Creative
Author URI: mailto:dev@dmncreative.com
Template: oceanwp
Text Domain:  dmnwpstarter
Version: 2.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* Importing fonts */
/* @import "assets/fonts/fonts.css"; */
/* Importing fonts end */

/* Helpers and Init Styles */
:root{
    --site-headings-font: "Josefin Sans";
    --site-body-font: "Lato";
    --site-main-green: #20B5AC;
    --site-main-black: #272727;
    --site-main-white: #ffffff;
    --site-main-brown: #AEB095;
    --site-button-padding: clamp(12px, 1.5vw, 15px) clamp(16px, 3vw, 30px) clamp(12px, 1.5vw, 15px) clamp(16px, 3vw, 30px);
    --site-h1-size: clamp(25px, calc(25px + (50 - 25) * ((100vw - 360px) / (1920 - 360))), 50px);
    --site-h2-size: clamp(20px, calc(20px + (50 - 20) * ((100vw - 860px) / (1920 - 860))), 50px);
    --site-h3-size: clamp(18px, calc(18px + (35 - 18) * ((100vw - 860px) / (1920 - 860))), 35px);
    --site-h4-size: clamp(16px, calc(18px + (25 - 16) * ((100vw - 860px) / (1920 - 860))), 25px);
    --site-h5-size: clamp(4rem, 3.7vw + .9rem, 8rem);
    --site-span-size: clamp(1.4rem, 1.1vw + 0.05rem, 2rem);
}

a:focus {
    outline: none !important;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0px;
}

.site-content p, .site-content span:not(.xpro-title-focus), .archive .site p, .archive .site span:not(.xpro-title-focus), .cust-webinar-template-container p {
    font-size: var(--site-span-size);
}

.site-content h1, .archive .site h1, .cust-webinar-template-container h1 {
    font-size: var(--site-h1-size);
}

.site-content h2, .archive .site h2, .cust-webinar-template-container h2 {
    font-size: var(--site-h2-size);
}

.site-content h3, .archive .site h3, .cust-webinar-template-container h3 {
    font-size: var(--site-h3-size);
}

.site-content h4, .archive .site h4, .cust-webinar-template-container h4 {
    font-size: var(--site-h4-size);
}

.site-content h5, .archive .site h5, .cust-webinar-template-container h5 {
    font-size: var(--site-h5-size);
}

.site-content .elementor-widget-button .elementor-button-wrapper .elementor-button-text, .site-content a, .site-content li, .cust-webinar-template-container {
    font-size: var(--site-span-size);
}

.oceanwp-pagination .page-numbers a.page-numbers, .oceanwp-pagination .page-numbers span.page-numbers {
    font-size: var(--site-span-size);
}

.cust-boxed-container-left > .e-con-inner {
    margin: 0px 0px 0px auto;
}

.cust-boxed-container-right > .e-con-inner {
    margin: 0px auto 0px 0px;
}
/* Helpers End */

/* Header Menu */

.oceanwp-mobile-menu-icon a.mobile-menu .oceanwp-text {
    padding-left: 20px;
    font-weight: 600;
}

#sidr {
    width: 500px !important;
    left: -500px !important;
    right: auto !important;
    transition: left 0.3s ease;
    padding-left: 80px;
    padding-right: 50px;
}

#sidr ul {
  padding-top: 20px;
  background: var(--site-main-white);
}

body.sidr-open #sidr,
body.mobile-menu-active #sidr {
    left: 0 !important;
}

.sidr-class-dropdown-menu ul a::before {
    display: none;
}

.sidr-class-toggle-sidr-close {
  padding: 50px 0 !important;
}

.sidr-class-dropdown-menu > li > a {
    font-size: var(--site-h4-size) !important;
    font-weight: bold;
    color: var(--site-main-black);
    border-bottom: 1px solid var(--site-main-black);
    padding: 15px 0px;
}

.sidr-class-dropdown-menu ul li a {
    font-size: var(--site-span-size) !important;
    background-color: var(--site-main-white);
    border-bottom: none;
    padding: 0px;    
}

.sidr-class-dropdown-menu li {
    border: none !important;
    padding: 5px 0px;
    background-color: var(--site-main-white);
}

.sidr-left > .sidr-inner > .sidr-class-mobile-menu .fa-brands,
.sidr-left > .sidr-inner > .sidr-class-mobile-menu .fa-regular {
    position: relative;
    font-size: 22px;
}

.sidr-left > .sidr-inner > .sidr-class-mobile-menu .fa-brands a,
.sidr-left > .sidr-inner > .sidr-class-mobile-menu .fa-regular a  {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0px;
    border: none;
}

.sidr-left > .sidr-inner > .sidr-class-mobile-menu .fa-brands::before,
.sidr-left > .sidr-inner > .sidr-class-mobile-menu .fa-regular::before {
    display: block;
    width: 20px;
    height: 20px;
}

.sidr-left > .sidr-inner > .sidr-class-mobile-menu .fa-brands:hover::before,
.sidr-left > .sidr-inner > .sidr-class-mobile-menu .fa-regular:hover::before {
    color: var(--site-main-brown);
    cursor: pointer;
}

.sidr-left > .sidr-inner > .sidr-class-mobile-menu > .fa-brands,
.sidr-left > .sidr-inner > .sidr-class-mobile-menu > .fa-regular {
    margin: 50px 15px 0px 0px;
}

/* Header Sticky Bar */

#mysticky-nav img {
    transition: all 0.4s ease;
}

#mysticky-nav.wrapfixed img {
    max-width: 150px ;
    width: 100%;
}

#mysticky-nav.wrapfixed #site-header-inner {
    padding: 10px 10px 10px 10px;
}

/* Header Sticky Bar End */

/* Header Menu End */

/* FORMS */

/* Global Changes */

.wpcf7 .wpcf7-form .wpcf7-response-output {
    margin: 0px;
}

.wpcf7 .wpcf7-form.sent .wpcf7-response-output {
    border-color: var(--site-main-green);
}

/* Global Changes End */ 

/* Relocation Popup Form */
.cust-relocation-form .row {
    --bs-gutter-x: 30px;
    margin-top: 20px;
}

.cust-popup-heading h2 {
  font-size: clamp(20px, calc(20px + (45 - 20) * ((100vw - 860px) / (1920 - 860))), 45px);
}

.cust-relocation-form .row input[type="text"], 
.cust-relocation-form .row input[type="email"], 
.cust-relocation-form .row input[type="tel"] { 
    font-size: clamp(1.4rem, 1.1vw + 0.04rem, 1.8rem);
    min-height: 45px;
    opacity: 0.5;
    font-weight: 300;
}

.cust-relocation-form .row input[type="submit"] {
    background-color: var(--site-main-white);
    color: var(--site-main-black);
    border-bottom: 1px solid;
    padding-bottom: 4px;
}

.cust-relocation-form .row input[type="submit"]:hover {
   color: var(--site-main-brown);
}

.cust-relocation-form .row:last-child .col-md-12:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin-top: 40px;
}

.cust-relocation-form .row .col-md-12:last-child .wpcf7-spinner {
    position: absolute;
    margin: 0px;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.sent .wpcf7-response-output {
    margin-top: 20px;
    text-align: center;
}

.wpcf7-form.sent .cust-relocation-form{
    display: none;
}

/* Relocation Popup Form End */

/* Contact Us Form */
.cust-get-in-touch-form{
    padding: 0px;
}

.cust-get-in-touch-form .row {
    --bs-gutter-y: 20px;
    --bs-gutter-x: 30px;
}

.cust-get-in-touch-form .row:not(:last-child) {
    margin-bottom: 20px;
}

.cust-get-in-touch-form .row {
    font-size: var(--site-h4-size);
    font-weight: bold;
}

.cust-get-in-touch-form .row input[type="text"], 
.cust-get-in-touch-form .row input[type="email"], 
.cust-get-in-touch-form .row input[type="date"],
.cust-get-in-touch-form .row input[type="number"],  
.cust-get-in-touch-form .row input[type="tel"],
.cust-get-in-touch-form .row select, 
.cust-get-in-touch-form .row textarea { 
    font-size: clamp(1.4rem, 1.1vw + 0.04rem, 1.8rem);
    min-height: 45px;
    opacity: 0.5;
    font-weight: 300;
}

.cust-get-in-touch-form .row input[type="date"]{
    text-transform: uppercase; 
}

.cust-get-in-touch-form textarea.wpcf7-textarea {
    max-height: 50px;
}

.cust-get-in-touch-form .cust-get-in-touch-radio {
    display: flex;
    flex-direction: column;
}

.cust-get-in-touch-form .cust-get-in-touch-radio span .wpcf7-list-item{
    margin: 10px 10px 0px 0px;
}

.cust-get-in-touch-form .cust-get-in-touch-radio input[type="radio"]{
    margin-right: 5px;
}

.cust-get-in-touch-form .cust-get-in-touch-radio .wpcf7-list-item {
    font-weight: 300;
}

.cust-get-in-touch-form .row .cust-get-in-touch-submit-btn input[type="submit"] {
    background-color: var(--site-main-white);
    color: var(--site-main-black);
    border-bottom: 1px solid;
    padding-bottom: 4px;
}

.cust-get-in-touch-form .row .cust-get-in-touch-submit-btn input[type="submit"]:hover {
   color: var(--site-main-brown);
}

.cust-get-in-touch-form .row:last-child .col-md-12:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin-top: 40px;
}

.cust-get-in-touch-form .row .col-md-12:last-child .wpcf7-spinner {
    position: absolute;
    margin: 0px;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.sent .wpcf7-response-output {
    margin-top: 20px;
    text-align: center;
}

.wpcf7-form.sent .cust-contact-us-form{
    display: none;
}

/* Contact Us Form  End */

/* FORMS END */

/* BLOG */

/* Blog Archive Page */

.cust-blogs-header-title h2 {
    font-size: var(--site-h2-size);
}

.cust-blog-main-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 10px;
    max-width: 1650px;
    margin: 0 auto;
}

.cust-blog-archive-entry {
    flex: 0 0 calc(33.333% - 34px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease;
}

.cust-blog-archive-entry:hover {
    transform: translateY(-4px);
}

.cust-blog-archive-entry .blog-entry-image {
    aspect-ratio: 50/ 45;
    min-height: 360px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cust-blog-archive-entry .blog-entry-content {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cust-blog-archive-entry .cust-blog-date {
    font-size: 16px;
    font-weight: 400;
}

.cust-blog-archive-entry .blog-entry-content h4 {
    margin: 0;
    font-size: var(--site-h4-size);
    line-height: 1.2;
}

.cust-blog-archive-entry .blog-entry-content h4 a {
    text-transform: uppercase;
}

.cust-blog-archive-entry .cust-blog-excerpt {
    font-size: var(--site-span-size);
    line-height: 1.4;
}

.cust-blog-archive-entry .cust-btn-view-blog {
    margin-top: auto;
    display: inline-block;
    padding: 10px 0;
    font-size: clamp(1.4rem, 1.1vw + 0.05rem, 18rem);
    font-weight: 600;
    width: fit-content;
    text-decoration: underline;
}

.cust-blog-archive-entry .cust-btn-view-blog:hover {
    color: var(--site-main-brown);
}

/* PAGINATION */

.cust-blog-pagination-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.cust-blog-pagination-container .cust-archive-pagination {
    width: 100%;
    font-size: 18px;
    text-align: right;
    margin: 20px 10px 100px 10px;
}

.cust-archive-pagination a,
.cust-archive-pagination span {
    margin: 0 5px;
    text-decoration: none;
}

.cust-archive-pagination .current {
    font-weight: bold;
}

/* Blog Archive Page End */

/* Blog Single View Page */

.cust-blog-single-view-post-title {
    font-size: var(--site-h2-size);
    font-weight: bold;
    text-transform: uppercase;
    line-height: normal;
}

.cust-blog-single-view-post-date {
    font-size: var(--site-span-size);
    font-weight: bold;
}

/* Blog Single View Page End */


/* SWIPERS */

/* Case Studies Swiper */

.cust-case-study-card {
    overflow: hidden;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.cust-case-study-inner {
    display: flex;
    align-items: stretch;
}

.cust-case-study-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    border-right: 1px solid;
}

.cust-case-study-right {
    flex: 1;
    padding: 50px;
}

.cust-case-study-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
}

.cust-case-study-client {
    font-size: var(--site-span-size);
    font-weight: 500;
    display: block;
    font-style: italic;
    margin-top: 20px;
}

.cust-case-study-excerpt {
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    line-height: 1;
}

.case-study-button-prev,
.case-study-button-next {
    position: static !important;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex: 0 0 auto;
    cursor: pointer;
    color: var(--site-main-black);
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-next,
.nav-prev{
   z-index: 10; 
}

.case-study-button-prev::after,
.case-study-button-next::after {
    font-size: var(--site-span-size);
    line-height: 1;
    transition: all 0.3s ease;
}

.case-study-button-prev:hover::after,
.case-study-button-next:hover::after {
    color: var(--site-main-black);
    transform: scale(1.1);
}

.case-study-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    margin: 0;
    gap: 6px;
    flex: 0 0 auto;
    z-index: 1;
}

.case-study-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--site-main-white);
    border: 1px solid var(--site-main-black);
    opacity: 1;
    border-radius: 50%;
    cursor: pointer;
    margin: 0;
    transition: all 0.3s ease;
}

.case-study-pagination .swiper-pagination-bullet-active {
    background: var(--site-main-black);
}

.case-study-pagination .swiper-pagination-bullet:hover {
    transform: scale(1.2);
}

/* Blog Swiper */

.blog-swiper-slide-column {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.blog-swiper-inner {
    display: flex;
    align-items: stretch;
    gap: 100px;
}

.blog-swiper-media {
    flex: 1.15;
}

.blog-swiper-content {
    flex: 0.85;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-swiper-content h4 {
    text-transform: uppercase;
    font-size: var(--site-h4-size);
    margin-top: 10px;
    max-width: 600px;
}

.blog-swiper-content h4 a {
    font-size: var(--site-h4-size);
}

.blog-swiper-content p,
.blog-swiper-content a {
   margin-top: 30px;
   max-width: 600px;
}

.blog-swiper-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.is-right .blog-swiper-inner {
    flex-direction: row-reverse;
}

.blog-swiper-date {
    font-size: clamp(1.4rem, 1.1vw + 0.05rem, 1.6rem) !important;
}

.blog-swiper-btn-container a {
    text-decoration: underline;
    text-underline-offset: 5px;
    font-weight: bold;
}

.blog-swiper-btn {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
}

/* Expert Swiper */

.experts-swiper-js {
    width: 100%;
    overflow: hidden;
}

.experts-swiper-js .swiper-wrapper {
    align-items: stretch;
}

.experts-swiper-js .swiper-slide {
    height: auto;
}

.experts-swiper-js .expert-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    height: 100%;

    background: var(--site-main-white);
}

.experts-swiper-js .expert-image {
    width: 100%;
    aspect-ratio: 525 / 471;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.experts-swiper-js .expert-info {
    padding: 30px 30px 40px 30px;

    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.experts-swiper-js .expert-info h3 {
    margin-bottom: 15px;
}

.experts-swiper-js .expert-info h4 {
    margin-bottom: 15px;
}

.experts-swiper-js .expert-info span {
    font-weight: 400;
    margin-bottom: 30px;
}

.experts-swiper-js .experts-swiper-btn {
    margin-top: auto;
    text-decoration: underline;
    display: inline-block;
}

.experts-swiper-js .expert-overlay {
    position: absolute;
    inset: 0;
    background: var(--site-main-white);

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

    padding: 60px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: opacity 0.3s ease, transform 0.3s ease;

    z-index: 2;
}

.experts-swiper-js .expert-card.is-active .expert-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.experts-swiper-js .expert-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    max-width: 90%;
}

.experts-swiper-js .expert-overlay-inner h3 {
    margin-bottom: 10px;
}

.experts-swiper-js .expert-overlay-inner span {
    margin-bottom: 40px;
    display: block;
    font-weight: 400;
}

.experts-swiper-js .expert-toggle-btn {
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 5px; 
    text-align: left;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s ease;
}

.experts-swiper-js .expert-toggle-btn:hover {
    color: var(--site-main-brown);
}

.experts-swiper-next:hover,
.experts-swiper-prev:hover {
    opacity: 30%;
    transition: all 0.3s ease;
}

/* Expert Swiper End */

/* Webinar Swiper */

.webinar-swiper-js {
    width: 100%;
    overflow: hidden;
}

.webinar-swiper-js .webinar-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--site-main-white);
    text-decoration: none;
    color: inherit;
}

.webinar-swiper-js .webinar-card .webinar-image {
    width: 100%;
    aspect-ratio: 510 / 420;
    background-size: cover;
    background-position: center;
}

.webinar-swiper-js .webinar-card .webinar-content {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.webinar-swiper-js .webinar-card .webinar-name {
    margin-bottom: 10px;
    color: var(--site-main-black);
    font-size: var(--site-h4-size);
}

.webinar-swiper-js .webinar-card .webinar-datetime {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.webinar-swiper-js .webinar-card .webinar-content span {
    font-size: clamp(1.4rem, 1.1vw + 0.05rem, 1.8rem) !important;
}

.webinar-swiper-js .webinar-card .webinar-date,
.webinar-swiper-js .webinar-card .webinar-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--site-main-black);
}

.webinar-swiper-js .webinar-card .webinar-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.webinar-swiper-js .webinar-readmore {
    margin-top: auto;
    text-decoration: underline;
    text-underline-offset: 5px; 
    font-weight: bold;
    color: var(--site-main-black);
    transition: color 0.2s ease;
}

.webinar-swiper-js  .webinar-readmore:hover {
    color: var(--site-main-brown);
}

.webinar-swiper-next:hover,
.webinar-swiper-prev:hover {
    opacity: 30%;
    transition: all 0.3s ease;
}

/* Webinar Swiper End */


/* Desktop Styles Only */
@media screen and (min-width: 992px)  {

}

/* Laptop Styles Only */
@media screen and (min-width: 992px) and (max-width: 1690px) {

    /* BLOG */
    .cust-blog-main-container {
        max-width: 1400px !important;
    }

    .cust-blog-main-container {
        gap: 40px !important;
    }

    /* Expert Swiper */

    .expert-card .expert-overlay {
        padding: 40px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 767px) {

    /* BLOG */

    .cust-blog-main-container {
        gap: 20px !important;
    }

    .cust-blog-archive-entry {
        flex: 0 0 100% !important;
        padding: 10px;
    }

    .cust-blog-archive-entry .blog-entry-content {
        padding: 30px 0 10px 0 !important;
    } 

     .cust-blog-pagination-container .cust-archive-pagination {
        margin: 10px 10px 40px 10px !important;
    }

    /* Blog Swiper */
    .blog-swiper-slide-column {
        gap: 50px !important;
    }

      .blog-swiper-inner {
        flex-direction: column !important;
    }

    .blog-swiper-media,
    .blog-swiper-content {
        flex: 1 1 100%;
        width: 100%;
    }

    .blog-swiper-inner {
        gap: 30px !important;
    }

    .blog-swiper-content p, .blog-swiper-content a {
        margin-top: 20px;
    }

    /* Expert Swiper */
    .expert-info h3 {
        margin-bottom: 5px;
    }

    .expert-overlay {
        padding: 30px;
    }

    .expert-overlay-inner span {
        margin-bottom: 20px;
    }

    /* Case Studies Swiper */
    .cust-case-study-inner {
        flex-direction: column;
    }

    .cust-case-study-left,
    .cust-case-study-right {
        border-right: none;
        padding-right: 0;
        padding: 20px;
    }

    /* footer */
    .cust-footer-container .cust-footer-menu-list .elementor-icon-list-items.elementor-inline-items  {
        display: flex;
        flex-direction: column;
    }
    
     /* Header Menu */
    #sidr {
        padding-left: 35px !important;
        padding-right: 35px !important;
    }

}

/* iPad Styles */
@media screen and (max-width: 850px) and (min-width: 780px)  {

    /* BLOG */

    .cust-blog-archive-entry {
        flex: 0 0 calc(50% - 25px) !important;
    }

    .cust-blog-pagination-container .cust-archive-pagination {
        margin: 20px 10px 40px 10px !important;
    }

    /* Blog Swiper */
    .blog-swiper-slide-column,
    .blog-swiper-inner {
        gap: 50px !important;
    }

    .blog-swiper-image {
        min-height: 400px;
    }
    
    /* Header Menu */
    #sidr {
        width: 300px !important;
        left: -300px !important;
        transition: left 0.3s ease;
        padding-left: 40px;
        padding-right: 25px;
    }

}

/* ANIMATIONS */

/* ANIMATIONS END */