/*
 Theme Name:   WDW Custom Theme
 Theme URI:    https://welldressedwalrus.com
 Description:  Custom Kadence Child Theme for your website
 Author:       Well Dressed Walrus
 Author URI:   https://welldressedwalrus.com
 Template:     kadence
 Version:      1.0.2
 Tags:         customizable, modern, responsive-layout, gutenberg, header builder, footer builder
 Text Domain:  kadencechild
*/

/* Theme customization starts here
-------------------------------------------------------------- */
/****************************** Header ****************************************/
/*.site-header-wrap, .site-main-header-wrap, .site-header-row-container-inner, #main-header > div > div > div > div > div > div {z-index: 10000 !important;}*/
#masthead.site-header {
    z-index: 99999 !important;
}
.site-top-header-wrap {background-color: var(--global-palette1) !important;}
/****************************** Footer ****************************************/


/****************************** Homepage ****************************************/
.w-100{
	width:100%;
}
.high-button .button {z-index: 100 !important;}
.pink-text strong{
	color:#FF867E;
}
.kadence-video-intrinsic svg {
    background: #fff;
    border-radius: 50%;
}

.mt-atuo{
	margin-top:auto;
}
/****************************** Homepage Mobile ****************************************/

/****************************** CPT ****************************************/
/* 1. The Outer Wrapper: Transparent with rounded corners only for the image */
.kt-blocks-post-grid-item-inner-wrap {
    background-color: transparent !important; /* Make parent transparent */
    box-shadow: none !important;
    overflow: visible !important; /* Allow the white box to shadow/overlap freely */
}

/* 2. The Image: Give it the rounding directly */
.kadence-post-image img {
    border-radius: 20px !important;
}

/* 3. The Floating White Box: This is where the magic happens */
.kt-blocks-post-grid-item-inner {
    background-color: #ffffff !important;
    border-radius: 15px !important;
    margin: -30px 20px 20px 20px !important; /* Negative margin pulls it up over the image, side margins create the 'floating' gap */
    padding: 35px 20px 0px 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; /* Soft shadow as seen in the image */
    position: relative;
    z-index: 10;
}

/* 4. Reset child margins that might conflict */
.kt-blocks-post-grid-item-inner header.entry-header {
    margin-top: 0 !important;
}

/* Container Layout */
.ma-lh-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px 20px; /* Increased vertical gap to account for the overlapping boxes */
    padding: 40px 0;
}

/* Main Card Wrapper */
.ma-lh-card {
    display: flex;
    flex-direction: column;
    overflow: visible; /* Allows the content box to hang over the bottom */
    background: transparent;
    position: relative;
}

/* Image Container */
.ma-lh-image {
    display: block;
    width: 100%;
    border-radius: 30px; /* Rounded corners for the image */
    overflow: hidden;
    z-index: 1;
}

.ma-lh-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlapping Content Wrapper */
.ma-lh-card-content {
    margin-top: -35px; /* Pulls the white box up over the image */
    padding: 0 25px;    /* Adds space on sides to make the box narrower than the image */
    position: relative;
    z-index: 2;
}

/* The White Box */
.ma-lh-card-body {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns content to the left */
}

/* Category Label (e.g., "PODCAST") */
.ma-lh-type {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #002845;
    margin-bottom: 8px;
}

/* Headline */
.ma-lh-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #002845;
    margin-bottom: 12px;
	margin-top: 0px !important;
    line-height: 1.2;
}

/* Description Text */
.ma-lh-excerpt {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Responsive adjustment for mobile */
@media (max-width: 992px) {
    .ma-lh-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ma-lh-cards {
        grid-template-columns: 1fr;
    }
}

/****************************** CPT ****************************************/


/******************************* Subpage ***************************************/


/******************************* Subpage ***************************************/


/******************************* Subpage ***************************************/


/******************************* Mobile ***************************************/

@media screen and (max-width: 1024px) {
  br {
    display:none
  }
	.br-block br{
		display:block;
	}
}

/* Mobile Styles (Max-width: 767px) */
@media (max-width: 767px) {
  /* H1: Primary Hero Title */
  /* Reduced from 55px to 32px to ensure it fits without excessive wrapping */
  h1 {
    font-size: 32px !important;
  }

  /* H2: Section Headers */
  /* Reduced from 30px to 26px to maintain hierarchy under H1 */
  h2 {
    font-size: 26px !important;
  }

  /* H3: Sub-section / Card Titles */
  /* Reduced from 24px to 20px for better density in grids/columns */
  h3 {
    font-size: 20px !important;
  }
	
	.popup-video .kadence-video-intrinsic svg {
		font-size: 65px;
	}
}

/******************************* ADA ***************************************/