/*
Theme Name: Munch & Mend Child
Template: astra
Author: 1.0
Author URI: DM
Version: 1.0.1739459247
Updated: 2025-02-13 15:07:27

*/

.mm-account-menu{
    display: none !important;
}

@media only screen and (max-width: 924px) {
.mm-account-menu{
    display: block !important;
}
}


.mm-hide-menu-item{
	display: none !important;
}


/* List Styling */
    article ul {
      list-style: none;
      padding-left: 0;
    }

    article ul li {
      position: relative;
      padding-left: 40px;
      margin-bottom: 16px;
      line-height: 1.5;
    }

    article ul li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 24px;
      height: 24px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2323b5b8' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='8' cy='10' r='1.5' fill='white'/%3E%3Ccircle cx='14' cy='8' r='1' fill='white'/%3E%3Ccircle cx='16' cy='14' r='1.2' fill='white'/%3E%3Ccircle cx='10' cy='16' r='1' fill='white'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
    }



article ol {
  list-style: none;
  padding-left: 0;
  counter-reset: item;
}

article ol li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
  line-height: 1.5;
  counter-increment: item;
}

article ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: #23b5b8;
  border-radius: 50%;
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 24px;
}

/* End List Styling */


/* Block Quote Styling */

blockquote {
  position: relative;
  margin: 30px 0;
  padding: 20px 30px;
  //background-color: #f5f1fa;
  color: #333;
  border-radius: 8px;
  font-style: italic;
    font-weight: 400;
}

blockquote::before {
  content: '“';
  font-size: 60px;
  color: #9a7ab5;
  position: absolute;
  top: 0px;
  left: 10px;
    line-height: 20px;
 font-family: "Grechen Fuemen", cursive;
    font-weight: 700;
}

blockquote cite {
  display: block;
  padding-top: 10px;
  font-size: 0.9em;
  color: #6e5a85;
  text-align: right;
  font-family: "Grechen Fuemen", cursive;
}

/* Block Quote Styling End */


#quote-slider {
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    height: 50px;
    position: relative;
    background: #9a7ab5;
    width:100%;
}

#quote-slider-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.6s ease;
}

.quote {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 10px;
    box-sizing: border-box;
	line-height: 1.4;
	font-size:16px;
	font-weight: 700;
	font-family: "Architects Daughter", cursive;
	letter-spacing:1px;
}
.quote p {
    margin-bottom: 0;
    color: #ffffff;
}

hr{
    height:1px;
    background-color: #9a7ab5;
    border-radius: 5px;
}



/* Fix font bold issue */
article p{
    font-weight: normal;
}


#welcome{
    scroll-margin-top: 120px; /* match your header height */
}



.hero {
  position: relative;
  height: 45vh;
  background-image: url('https://donnateststg.wpenginepowered.com/wp-content/uploads/2025/05/br3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 56%;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 768px) {
	.hero-content {
  width: 100%;
	}
}



.hero h1 {
  font-size: 4rem;
  margin-bottom: 0;
}

.hero hr {
  width: 86%;
  margin: 10px auto;
  height: 3px;
}

.hero-sub-heading {
  width: 86%;
  text-align: center;
  margin: 0 auto;
  color: white;
  opacity: 0;
  animation: bounceIn 0.8s ease-out forwards;
  animation-delay: 3.2s;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-buttons button {
  padding: 15px 30px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 40px;
}

.btn-primary {
  background-color: #23b5b8;
  color: white;
  border: 1px solid #23b5b8 !important;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 1px solid !important;
}

.btn-primary:hover,
.btn-secondary:hover {
  color: white;
  border-color: #9a7ab5 !important;
}

.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  text-align: center;
}

.centered > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Typewriter effect */
.typewriter {
  white-space: nowrap;
  overflow: hidden;
  border-right: none;
  width: 0;
  animation: typing 3s steps(30, end) forwards;
  position: relative;
}

.typewriter::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: white;
  animation: blink 0.7s step-end infinite, fadeOut 0.5s ease forwards;
  animation-delay: 0s, 3s;
}

/* Down arrow */
.down-arrow {
  margin: 0 auto 40px auto;
  text-align: center;
  font-size: 5rem;
  padding-top: 25px;
  animation: bounceDown 1.2s infinite;
}

.down-arrow a {
  color: white;
}

/* Scroll adjustment */
#welcome {
  scroll-margin-top: 200px;
}

/* Keyframes */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  80% {
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes typing {
  from { width: 0; }
  to { width: 26ch; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Responsive styles */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-sub-heading {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 60px 0;
    background-attachment: scroll;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero hr {
    width: 80%;
  }

  .typewriter {
    font-size: 1.5rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 20px; /* More space between heading and sub-heading */
  }

  .hero-sub-heading {
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .hero-content {
    padding-top: 5px;
  }

  .typewriter {
    font-size: 1.2rem;
  }

  .down-arrow {
    font-size: 3rem; /* Smaller icon on mobile */
  }
}




.page-id-367 .entry-content{
    margin-top: 40px
}


.colour-box-link:hover{
    text-decoration: none !important;
}

ul#caf-layout-pagination.post-layout1 li:before{
    display: none;
}

.blog .ast-post-filter {
  display: none !important; 
}
.ast-post-filter-single.ast-button:hover{
    color: #ffffff;
}


.mm-about-header-extra .mm-subtitle {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffffff;
}

.mm-goal {
  padding: 1.5rem;
  border: solid 1px rgb(183,31,178);
  border-radius: 0.5rem;  /* optional rounded corners */
  display: flex;
  flex-direction: column; /* keeps icon, title, text stacked */
  justify-content: flex-start; /* align content to top */
    text-align: center;
}

.mm-goal:hover {
    background: rgb(58,58,58);
    color: #ffffff;
}	
	
	
.ast-advanced-headers-title{
    color: #ff8c41;
}


/* Ensure subtitle sits above Astra's overlay layer */
.mm-about-header-extra {
  position: relative;
  z-index: 5; /* Higher than Astra's overlay (usually z-index: 3 or 4) */
  text-align: center;
  margin: 5px auto 0;
  padding: 0 12px;
}












.mm-underline-left {
  display: inline-block;           /* underline matches text width */
  font-size: 40px;                 /* fixed size */
  font-weight: 700;                /* optional: bold */
  line-height: 1.2;                /* good vertical rhythm */
  padding-bottom: 8px;             /* space for underline */
  background-image: linear-gradient(#9a7ab5,#9a7ab5);
  background-repeat: no-repeat;
  background-size: 0% 4px;         /* start hidden */
  background-position: 0 100%;     /* align left, bottom */
  animation: mmUnderlineLeft 0.8s ease forwards;
}

@keyframes mmUnderlineLeft {
  to { background-size: 100% 4px; } /* grow full width under text */
}

/* Accessibility: if user prefers no motion */
@media (prefers-reduced-motion: reduce) {
  .mm-underline-left {
    animation: none;
    background-size: 100% 4px;
  }
}


.mm-underline-wrapper {
  text-align: center;              /* centers the text block */
}

.mm-underline-center {
  display: inline-block;           /* underline matches text width */
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  padding-bottom: 8px;

  background-image: linear-gradient(#9a7ab5, #9a7ab5);
  background-repeat: no-repeat;
  background-size: 0% 4px;         /* start hidden */
  background-position: 50% 100%;   /* center bottom */

  animation: mmUnderlineCenter 0.8s ease forwards;
}

@keyframes mmUnderlineCenter {
  to {
    background-size: 100% 4px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mm-underline-center {
    animation: none;
    background-size: 100% 4px;
  }
}












.mm-card{
    margin-top: 60px
}


/* Bigger, centered icons */
.mm-goal .mm-ico {
  font-size: 48px;       /* bigger icons */
  margin-bottom: 16px;   /* space below icon */
  display: block;
  text-align: center;
}

/* Center headings */
.mm-goal h3 {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

/* Paragraph spacing */
.mm-goal p {
  font-size: 16px;
  line-height: 1.6;
}













/* wrapper just centers inline content */
.mm-heading { text-align: center; }

/* span shrinks to text width and anchors the underline */
.mm-heading__text {
  position: relative;
  display: inline-block;   /* shrink to text width */
  padding-bottom: 8px;     /* space for the underline */
}

/* animated underline, perfectly centered under text */
.mm-heading__text::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;                /* start hidden */
  height: 3px;
  background-color: #9a7ab5;
  animation: mmLineGrow .8s ease forwards;  /* forwards = stays visible */
}

@keyframes mmLineGrow {
  from { width: 0; }
  to   { width: 100%; }    /* equals the span (text) width */
}

/* optional: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .mm-heading__text::after { animation: none; width: 100%; }
}

/*
iframe {
    border: solid #1db6b8 2px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    min-height: 300px !important;
}
*/





.mm-qa{
    background: #9a7ab5;
    color: #ffffff;
    padding: 50px;
    position: relative;
}

.mm-qa:before {
    position: absolute;
    right: 0;
    top: 0;
    content: "";
    width: 280px;
    height: 100%;
    background-image: url("https://donnatest1.wpenginepowered.com/wp-content/uploads/2025/11/sil2-removebg-preview.png");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .3
}


.mm-qa h3{
    color: #ffffff;
    width:80%;
}

.page-template-page-munch-mend-about .mm-qa:before {
    opacity: .1;
}




.mm-quote-section{
    margin-top: 20px;
    position: relative;
}


.big-quote{
    position: absolute;
    font-size: 150px;
    width:100%;
    height: 100%;
    top:-30px;
    left:20px;
    opacity: .2;
}
.mm-qa p{
    width:83%;
    padding-top: 10px;
}

@media (max-width: 700px) {
    .mm-qa p{
        width:100%;
    }

	.top-col-about-me{
	margin-top:40px;
	
}
	
}






.mm-quote-words{
    
    font-style: italic !important;
    font-size: 18px;
    margin-bottom: 0;
}

@media (min-width: 600px) {
    .polaroid-deck{
        height: 420px;
    }
}

@media (min-width: 400px) {
    .polaroid-deck{
        height: 380px;
    }
}



/* Cancel the big forced height on embedded videos */
.mm-video-embed iframe,
.video-embed iframe {
    min-height: 0 !important;
}


@media (max-width: 767.98px) {
    .video-embed {
        margin-bottom: 16px;
    }
}




/* Make embedded videos fill their container (same on all templates) */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 — controls HEIGHT */
}

/* Make the iframe fill the wrapper completely */
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  min-height: 0 !important; /* overrides the global 300px height */
}



.mm-section{ 
    margin-top:20px !important;
	margin-bottom: 20px;
}



.mm-sub-heading{
    color: #25b6b9;
    font-family: "Architects Daughter", cursive;
    font-size: 24px;
}



.mm-sub-heading{
    position: relative;
}

.mm-sub-heading:before{
    content: '"';
    position: absolute;
    font-size: 80px;
    left:-30px;
    top: -30px;
    color: #9a7ab5;
    font-family: poppins;
    opacity: .5
}

.mm-sub-heading:after{
    content: '"';
    position: absolute;
    font-size: 80px;
    right:-20px;
    bottom: -80px;
    color: #9a7ab5;
    font-family: poppins;
    opacity: .5
}


.mm-section img{
    border-radius: 8px;
}





/* Put arrows outside */
.rpc-carousel { position: relative; }

.rpc-nav{
  position:absolute;
  top:45%;
  transform:translateY(-50%);
  border:0;
  background:rgba(0,0,0,.55);
  color:#fff;
  width:40px;
  height:40px;
  border-radius:999px;
  cursor:pointer;
  z-index:5;
}

.rpc-dots{ display:none !important; }





.rpc-prev{ left:-56px; }
.rpc-next{ right:-56px; }

/* On small screens, keep them inside so they don't get cut off */
@media (max-width: 640px){
  .rpc-prev{ left:10px; }
  .rpc-next{ right:10px; }
}


.rpc-thumb{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 16 / 9; /* keeps cards even */
  object-fit: cover;
}











/* My Topics */

/* ===============================
   SECTION + GRID
================================ */
.mm-topics-home {
  width: 100%;
  padding: 2rem 0;
}

.mm-topics-home-wrapper{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  width: 100%;
}

/* ===============================
   FLIP CARD BASE
================================ */
.mm-flip-card{
  position: relative;
  min-height: 260px;
  perspective: 1000px;
}

/* Front / back colours via CSS variables */
.mm-topics-home-wrapper .mm-flip-card:nth-child(1){
  --front: #6a4cff;
  --back:  #3d2abf;
}
.mm-topics-home-wrapper .mm-flip-card:nth-child(2){
  --front: #ff6f61;
  --back:  #c9483e;
}
.mm-topics-home-wrapper .mm-flip-card:nth-child(3){
  --front: #2bb673;
  --back:  #1f7f51;
}
.mm-topics-home-wrapper .mm-flip-card:nth-child(4){
  --front: #f4a261;
  --back:  #c77a3f;
}
.mm-topics-home-wrapper .mm-flip-card:nth-child(5){
  --front: #264653;
  --back:  #16303a;
}

/* ===============================
   INNER ROTATION
================================ */
.mm-flip-inner{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  transform-style: preserve-3d;
  transition: transform 0.65s ease;
}

/* ===============================
   CARD FACES
================================ */
.mm-flip-face{
  position: absolute;
  inset: 0;
  padding: 2rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  backface-visibility: hidden;
  color: #fff !important;
}

/* Front face */
.mm-flip-front{
  background: var(--front);
}

.mm-flip-front i{
  font-size: 2.5rem;
  opacity: 0.9;
    margin-bottom: 20px;
}

/* Keep first lines aligned */
.mm-topic-text{
  min-height: 4.5em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.mm-topic-text h3{
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.25;
  color: #fff !important;
}

/* Back face */
.mm-flip-back{
  background: var(--back);
  gap: 1rem;
}

.mm-flip-back p{
  margin: 0;
  max-width: 26ch;
  line-height: 1.4;
  color: #fff !important;
}

/* Button */
.mm-flip-btn{
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.1rem;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff !important;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mm-flip-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.18);
}

/* ===============================
   FLIP DIRECTIONS
================================ */

/* LEFT */
.flip-left .mm-flip-back{ transform: rotateY(180deg); }
.flip-left.is-flipped .mm-flip-inner{ transform: rotateY(180deg); }

/* RIGHT */
.flip-right .mm-flip-back{ transform: rotateY(-180deg); }
.flip-right.is-flipped .mm-flip-inner{ transform: rotateY(-180deg); }

/* UP */
.flip-up .mm-flip-back{ transform: rotateX(-180deg); }
.flip-up.is-flipped .mm-flip-inner{ transform: rotateX(-180deg); }

/* DOWN */
.flip-down .mm-flip-back{ transform: rotateX(180deg); }
.flip-down.is-flipped .mm-flip-inner{ transform: rotateX(180deg); }

/* ===============================
   DESKTOP HOVER SUPPORT
================================ */
@media (hover: hover) and (pointer: fine){
  .flip-left:hover .mm-flip-inner{ transform: rotateY(180deg); }
  .flip-right:hover .mm-flip-inner{ transform: rotateY(-180deg); }
  .flip-up:hover .mm-flip-inner{ transform: rotateX(-180deg); }
  .flip-down:hover .mm-flip-inner{ transform: rotateX(180deg); }
}



/* Mobile: one card per row */
@media (max-width: 640px){
  .mm-topics-home-wrapper{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .mm-topics-home-wrapper{
    grid-template-columns: 1fr;
    row-gap: 1.5rem; /* space between stacked cards */
  }
}




@media (min-width: 1024px) {
  .mmcb-flow__inner {
    gap: 10px; /* was 14px */
  }
}

/*
@media (min-width: 1024px) {
  .mmcb-flow.is-horizontal .mmcb-flow__inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

*/
.mm-full-width {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
    background: rgb(241,243,243);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}




.mm-full-width-boxes {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

}

.mm-full-width-boxes{
    margin-bottom: 0
}


.mm-inner {
  max-width: 1200px; /* match Astra container */
  margin: 0 auto;
  padding: 60px 20px;
}

@media (max-width: 700px) {
	.mm-inner {
  padding: 20px 20px;
}	

	.mm-underline-left{
    font-size: 30px;
}
	
}

.mm-underline-left{
    margin-bottom: 20px
}





.mm-inner-boxes {
  width: 100%; /* match Astra container */
  margin: 0 auto;
}




.mm-topics-home-wrapper .mm-flip-card:nth-child(6){
  --front: #3a86ff;
  --back:  #245ec2;
}

@media (min-width: 1024px){
  .mm-topics-home-wrapper{
    grid-template-columns: repeat(3, 1fr);
  }
}




.home h3{
    margin-bottom: 20px;
}





/* Footer */

.mm-top-footer {
    border-top: 1px solid rgb(66,201,210);
    padding-top: 20px;
}

/* === mm-top-footer ONLY === */
.mm-top-footer {
  padding: 40px 32px;
}

/* layout */
.mm-top-footer__inner {
  max-width: 1280px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr max-content;
  gap: 56px;
  align-items: start;
}

/* headings INSIDE top footer only */
.mm-top-footer__title {
  margin: 0 0 16px 0;
}

/* lists INSIDE top footer only */
.mm-top-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-top-footer__item {
  margin: 0 0 10px 0;
}

/* links */
.mm-top-footer__link {
  text-decoration: none;
  color: inherit;
}

.mm-top-footer__link:hover {
  text-decoration: underline;
}

/* icons */
.mm-top-footer__link i {
  width: 1.2em;
  display: inline-block;
  vertical-align: middle;
}

/* responsive */
@media (max-width: 900px) {
  .mm-top-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .mm-top-footer__inner {
    grid-template-columns: 1fr;
  }
}


/* Brand */

.mm-top-footer__brand{
    padding-right: 30px;
}
.mm-top-footer__logo img {
  max-width: 260px;
  height: auto;
  display: block;
 margin:  0 auto 30px auto;
    padding-right: 30px;
}

.mm-top-footer__text {
  margin: 16px 0 0 0;
}

/* Titles */
.mm-top-footer__title {
  margin: 0 0 16px 0;
}

/* Lists – hard reset */
.mm-top-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-top-footer__item {
  margin: 0 0 10px 0;
  padding: 0;
}

/* Links */
.mm-top-footer__link {
  text-decoration: none;
  color: inherit;
}

.mm-top-footer__link:hover {
  text-decoration: underline;
}

/* Social icon alignment */
.mm-top-footer__link i {
  width: 1.2em;
  display: inline-block;
  vertical-align: middle;
}

.mm-top-footer__linktext {
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 900px) {
  .mm-top-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .mm-top-footer__inner {
    grid-template-columns: 1fr;
  }
}





.mm-top-footer{
  padding: 40px 12px;
}

.mm-top-footer__inner{

  margin: 0 auto;

  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr max-content;
  gap: 56px;
  align-items:start;
  justify-content: space-between;
}




.mm-video-embed iframe{
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;       /* make sure iframe has none */
  display: block;
}

.video-embed.mm-video-embed{
  border: 2px solid #1db6b8;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.video-embed { margin-bottom: 40px; }





.blog .ast-post-filter {
  display: none !important; 
}




/* Tablet: 2 columns */
@media (max-width: 900px) {
  .mm-top-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile: stack */
@media (max-width: 520px) {
  .mm-top-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


.mm-video-embed .mm-video{
  margin-bottom: 30px !important;
}




/* Base (all devices) */
.mm-top-footer {
  padding: 40px 32px;
}

.mm-top-footer .mm-top-footer__inner {
  max-width: 1280px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr max-content;
  gap: 56px;
  align-items: start;
}

.mm-top-footer .mm-top-footer__title {
  margin: 0 0 16px 0;
}

.mm-top-footer .mm-top-footer__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mm-top-footer .mm-top-footer__item {
  margin: 0 0 10px 0;
}

.mm-top-footer .mm-top-footer__link {
  text-decoration: none;
  color: inherit;
}

.mm-top-footer .mm-top-footer__link:hover {
  text-decoration: underline;
}

.mm-top-footer .mm-top-footer__link i {
  width: 1.2em;
  display: inline-block;
  vertical-align: middle;
}

/* Tablet */
@media (max-width: 900px) {
  .mm-top-footer {
    padding: 32px 24px;
  }

  .mm-top-footer .mm-top-footer__inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }

  /* Brand spans full width on tablet */
  .mm-top-footer .mm-top-footer__brand {
    grid-column: 1 / -1;
  }
}

/* Mobile (stack) */
@media (max-width: 520px) {
  .mm-top-footer {
    padding: 28px 18px;
  }

  .mm-top-footer .mm-top-footer__inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 520px) {

  /* Center all columns */
  .mm-top-footer__brand,
  .mm-top-footer__col {
    text-align: center;
  }

  /* Lists: no inline-block trick */
  .mm-top-footer__list {
    text-align: center;
  }

  /* Social icons: keep icon + text nicely spaced */
  .mm-top-footer__link i {
    margin-right: 6px;
  }
}


  .mm-top-footer{
    border-top: 2px solid rgb(66, 201, 210) !important;
  }




.mm-am-bp p{
    margin-top: 40px;
}




.mm-top-footer__logo{
    display:flex;
    justify-content: center;
}

.mm-top-footer__logo img{
    margin-bottom: 30px;
    width:300px !important;
    
}

@media (max-width: 700px) {

.about-img-1, .about-img-2{
    margin-top: 30px;
}


.about-img-2{
    margin-top: 20px;
    margin-bottom: 20px;
}



.button, .mm-underline-left{
    margin-bottom: 20px;
}
}




/*possible footer fix */

.mm-top-footer,
.mm-top-footer__inner {
  max-width: 100%;
}

.mm-top-footer__inner > * {
  min-width: 0;
}


.mm-top-footer img,
.hero img {
  max-width: 100%;
  height: auto;
  display: block;
}
.hero,
.mm-top-footer__inner {
  flex-wrap: wrap; /* only helps if they are flex */
}





/* Hero fix mobile */
/* --- HERO: prevent mobile overflow --- */

@media (max-width: 768px) {
  .hero {
    overflow-x: hidden;
  }

  /* Slightly reduce font size so it fits naturally */
  .hero .typewriter {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .hero-sub-heading {
    max-width: 100%;
    margin: 12px auto 0;
  }
}



@media (max-width: 768px) {
mm-top-footer__text{
	margin-bottom:30px;
}
}

.mm-top-footer{
    margin-top: 20px
}

/* About me vid fix */

.mm-video-embed.mm-video{
border: 2px solid #1db6b8;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}





/* Post slider fix */
/* Ensure cards show a visible border in all themes */
.rpc-card{
  border: 2px solid rgba(0,0,0,.18) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  background: #fff;
}

/* Make sure slides have a little breathing room so border is visible */
.rpc-slide{
  padding: 4px;
  box-sizing: border-box;
}


/* Arrows: nicer look */
.rpc-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.2);
  background:#fff;
  color:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:10;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  line-height:1;
  font-size:28px;
}

.rpc-prev{ left:-64px; }
.rpc-next{ right:-64px; }

.rpc-nav:hover{
  transform:translateY(-50%) scale(1.03);
}

/* Hide arrows on mobile */
@media (max-width: 768px){
  .rpc-nav{ display:none !important; }
}

@media (min-width:1024px){

/* Prevent the track/slides from creating horizontal overflow */
.rpc-viewport{ overflow: hidden; }
.rpc-track{ min-width: 0; }
.rpc-slide{ min-width: 32.4%; }
}






/* =========================================================
   Vimeo embeds inside post content (Astra posts/pages)
   Gives the same border + rounded corners everywhere
   ========================================================= */

/* Target the common Vimeo wrapper: div[style*="padding: 56.25%"] that contains a vimeo iframe */
.entry-content div[style*="padding: 56.25%"][style*="position: relative"]{
  border: 2px solid #1db6b8;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 0 24px 0; /* space under the video */
}

/* Make sure the iframe truly fills the wrapper */
.entry-content div[style*="padding: 56.25%"][style*="position: relative"] > iframe[src*="player.vimeo.com"]{
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0 !important;
}


/* =========================================================
   Style ALL inline Vimeo embeds generated in post content
   ========================================================= */

/* The responsive wrapper div Vimeo/WordPress outputs */
.entry-content div[style*="padding:56.25%"][style*="position:relative"]{
  border: 2px solid #1db6b8;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 0 24px 0;
}

/* Ensure the iframe fills the wrapper */
.entry-content div[style*="padding:56.25%"][style*="position:relative"] > iframe[src*="player.vimeo.com"]{
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0 !important;
}



.home iframe{
  border: 2px solid #1db6b8;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 0 24px 0; /* space under the video */
}
@media (max-width: 768px){
	.home iframe{
  margin: 20px 0 24px 0; /* space under the video */
}
}



@media (min-width: 768px){
.mm-welcome-mobile-vid{
    display: none;
}
}


@media (max-width: 768px){
.mm-welcome-desktop-vid{
    display: none;
}
    
    .mm-welcome-mobile-vid{
        margin-bottom: 40px;
    }
	
.home .all-about{
		margin-bottom:0 !important;
	}
    
}



@media (max-width: 768px){	

.home .site .site-content #primary {
		margin-top:0 !important;
	}
	
	.mm-section{
    margin-top:0 !important;

}
	
}



@media (max-width: 768px) {
  .mm-underline-left.all-about {
    display: table;        /* shrink-to-fit without inline quirks */
    margin: 0 auto;        /* centers the element */
    text-align: center;
    background-position: 50% 100%;
  }
}






/* About me vid adjust */
@media (min-width: 1067px) {
.page-template-about-me .mm-video-embed.mm-video {
    margin-top: 36px;
}
}


*/
.page-template-page-munch-mend-about .mm-underline-left{
    margin-bottom: -20px !important;
}
*/


.mm-a{
    font-size:26px;
    line-height: 1.8 !important;
    text-decoration: underline !important;

}

.mm-reflection-row h3{
    margin-bottom: 20px !important;
}


.search-field{
    margin-bottom: 20px;
}




/* Flow boxes vertical Fix */

/* Make mobile layout the default everywhere */
.mmcb-flow__inner{
  flex-direction: column !important;
  align-items: stretch !important;
  overflow: visible !important;
}

.mmcb-flow.is-horizontal .mmcb-flow__inner{
  overflow: visible !important;   /* cancels any overflow-x:auto */
}

.mmcb-flow__arrowwrap{
  transform: rotate(90deg) !important;
  margin: 6px 0 !important;
}

.mmcb-flow__arrowwrap::before{
  width: 40px !important;
  height: 16px !important;
}


.mmcb-flow__box{
  padding:18px !important;
}

/* Fix extra spacing in the LAST flow box (Phase 4) */
.mmcb-flow__box:last-of-type .mmcb-flow__body br {
  display: none !important;
}






/* Scalloped edges for flow boxes */


.scalloped-box{
  --r: 22px;                 /* scallop radius */
  --bg: #29e0c1;

  background: var(--bg);
  padding: calc(1.6 * var(--r)) calc(2.2 * var(--r));
  border-radius: calc(2 * var(--r)); /* keeps corners soft */

  /* Let content define height */
  display: block;


  /* optional: keep it “card-like” even with tiny content */
  min-height: 160px;

  /* The scalloped edge mask */
  -webkit-mask:
    linear-gradient(#000 0 0) no-repeat
      50%/calc(100% - 2*var(--r)) calc(100% - 2*var(--r)),
    radial-gradient(farthest-side, #000 97%, #0000)
      0 0/calc(2*var(--r)) calc(2*var(--r)) round;

  mask:
    linear-gradient(#000 0 0) no-repeat
      50%/calc(100% - 2*var(--r)) calc(100% - 2*var(--r)),
    radial-gradient(farthest-side, #000 97%, #0000)
      0 0/calc(2*var(--r)) calc(2*var(--r)) round;
}

/* quick themes */
.scalloped-box.orange{ --bg:#f3cf77; }
.scalloped-box.turquoise{ --bg:#59cfc6; }
.scalloped-box.purple{ --bg:#b7a2ff; }

/* text styling (optional) */
.title{
  font-size: 28px !important;
  font-weight: 900;
  color: #e8773a;
text-shadow: 1px 1px 1px #5e5d5d;
  text-align: center;
    margin-bottom: 0 !important;
    margin-top: 20px !important;
    letter-spacing: 1px !important;
    
}
.subtitle{
  margin-top: 10px !important;
  font-size: clamp(14px, 1.6vw, 24px);
  font-weight: 800;
  color: #ffffff !important;
  text-align: center;
    line-height: 1 !important;
}
.text{
  margin: 0;
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 1.45;
  text-align: center;
  color: rgba(26,25,25,0.78);

}



.flow-arrow{
  width:4px;
  height:40px;
  margin:20px auto;
  background:#e8773a;
  position:relative;
  border-radius:999px;
}

.flow-arrow::after{
  content:"";
  position:absolute;
  bottom:-10px;
  left:50%;
  transform:translateX(-50%);
  border-left:10px solid transparent;
  border-right:10px solid transparent;
  border-top:14px solid #e8773a;
}




.flow-arrow{
  width:8px;              /* thicker shaft */
  height:48px;
  margin:26px auto;
  background:#e8773a;
  position:relative;
  border-radius:999px;
}

/* arrow head */
.flow-arrow::after{
  content:"";
  position:absolute;
  bottom:-14px;
  left:50%;
  transform:translateX(-50%);
  border-left:14px solid transparent;
  border-right:14px solid transparent;
  border-top:20px solid #e8773a;
}





.ast-title-bar-wrap {
    background-position: center center !important;
}





@media (max-width: 1067px) {
    .mm-coming-soon, .mm-useful-links-wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
}
}



/* Hide Blog for now */

.ast-builder-button-wrap{
    display: none;
}
