/**
 Theme Name: Psiholog Madalina Pop
 Template:   twentytwentyfour
 Author: DDAI
 Author URI: https://DDAI.ro
 Description: A custom Wordpress Theme built by DDAI from Scratch for Madalina Pop, psychotherapist.
 Version: 1.0
 License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytheme
 */

.no-margin {
  margin: 0px !important;
}

.feature-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.feature-card-with-bg {
  background-image: url('https://psihologmadalinapop.ro/wp-content/uploads/2025/08/Psiholog-Madalina-Pop-Feature-Normal.png');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  transition: background-image 0.2s ease-in-out;
  Height:140px;
  max-width: 300px;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-with-bg:hover {
  background-image: url('https://psihologmadalinapop.ro/wp-content/uploads/2025/08/Psiholog-Madalina-Pop-Feature-Hover.png');
}

.feature-card-title {
  margin: 0 0 8px;
  text-align: center;
}

.feature-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

div > .no-padding {
    padding: 0% !important;
}

.feature-question {
    opacity: 0;
    animation: showElement 0.4s forwards;
    animation-delay: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0px;
    padding-bottom: 5vh;
    padding-left: 10%;
    padding-right: 10%
}


.feature-question {
    font-weight:100;
    font-style: italic;
    font-size: 1rem;
    color: var(--wp--preset--color--contrast);
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 10%;
    padding-right: 10%;
    margin: 0%;
}

.feature-answer {
    opacity: 0;
    animation: showElement 0.4s forwards;
    animation-delay: 2.5s; /* wait 2 seconds before showing */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 10%;
    padding-right: 10%;
}

.feature-answer {
    font-weight: 300;
    font-style: italic;
    font-size: 1rem;
    color: var(--wp--preset--color--contrast-3) !important;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 10%;
    padding-right: 10%;
    margin: 0%;
}


.feature-button {
    border-radius: 8px;
    overflow: hidden;
    Height:80px;
    /* width: 300px; */
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-button > a {
    opacity: 0;
    animation: showElement 0.4s forwards;
    animation-delay: 3.5s; /* wait 2 seconds before showing */
    background-image: url('https://psihologmadalinapop.ro/wp-content/uploads/2025/08/Psiholog-Madalina-Pop-Feature-Button.png');
    background-size: cover;
    background-position: center;
    background-color: var(--wp--preset--color--accent);
    border-radius: 8px;
    overflow: hidden;
    transition: background-image 0.2s ease-in-out;
    Height:80px;
    width:
    
    22300px;
    padding-left: 80px;
    padding-right: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-button > a:hover {
    background-image: url('https://psihologmadalinapop.ro/wp-content/uploads/2025/09/Psiholog-Madalina-Pop-Feature-Button-Hover.png');
    background-color: var(--wp--preset--color--contrast);
}

@keyframes showElement {
  to {
    opacity: 1;
  }
}

.main-feature{
  background: rgba(255,255,255,.35); /* or any semi-transparent color */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); /* Safari */
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.4);
}

.main-feature-box {
  height: 65vh;
}

.main-footer {
  height: 5vh;
  padding: 0px;
}

.main-image {
  display: flex;
  justify-content: end;
  align-content: end;
  height: 65vh;
  flex-wrap: wrap;
  margin-top: 0px;
}

/* snippet for the main feature image to not have the space below into the main feature box  */

.main-image > img {
  max-width: auto;
  height: auto; 
  width: auto;
  display: flex;
  max-height: 65vh;
  flex-direction: column;
  align-items: end;
}

.main-image + p {
  margin: 0px;
}
 /* completely hide the mobile features on any display that is not mobile */ 
.mobile-features {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .main-image > img {
    max-height: 25vh;
  }
  .main-image {
    max-height: 25vh;
    overflow: hidden;
  }

  .main-image > img {
    max-height: 25vh;
    width: auto;
  }
  .feature-question {
    /* font-size: 1.2em !important; */
  }
  .hide-on-mobile {
    display: none !important;
}

  .mobile-features {
    display:contents;
  }

.feature-card-with-bg {
  max-width: 600px;
}

.main-feature {
  padding: 10px 2px 10px 2px;
  box-shadow: inset 4px 4px 16px 12px rgba(255,255,255,0.95);
  overflow-y:visible;
  background: rgba(255,255,255,.85); /* or any semi-transparent color */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Safari */
}

.homepage-main-feature {
  padding: 0px 2px 0px 2px !important;
  /* box-shadow: none; */
}

.content-block {
  height: 75vh;
  overflow: scroll;
}

#wprev-slider-1 {
  display:none;
}

#wprev-slider-1:has( > div) {
  display: none;
}

#wprev-slider-1 + span {
  display:none;
}

#wprev-slider-1 + span + span {
  display:none;
}

#wprev-slider-1 + span + span + nav {
  display:none;
}

.wp-block-post-content p {
  text-align: left !important;
  hyphens: none !important;
  font-size: 0.9em;
  line-height: 1.6;
  max-width: 100%;
  word-break: normal;
  text-wrap: pretty;
}

.menu-mobile-right-align {
  text-align: end;
}

}

.main-feature-column {
  height: 65vh;
  /* border: 1px solid red; */
}

.main-feature-box {
  height: 100%;
  justify-content: space-around;
}

/* let flex children shrink */
.wp-block-columns .wp-block-column { min-width: 0; }

/* images responsive */
/* .wp-block-image img { max-width: 100%; height: auto; display: block; } */

/* wrap long content */
.wp-block-columns .wp-block-column { overflow-wrap: anywhere; word-break: break-word; }

/* embeds responsive (fallback) */
.wp-block-embed__wrapper iframe { width: 100%; height: auto; aspect-ratio: 16/9; }


.tabs-education >ul >li > a {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--wp--preset--color--contrast);
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0%;
    padding-right: 0%;
    margin: 0%;
    text-decoration: none;
}

.tabs-education > ul > li > a {
  text-decoration: none;
}

.tabs-education > ul > li > a :active {
  text-decoration: underline;
}

.tabs-education > ul > li > a :hover {
  font-weight: 700;
}

.wp-site-blocks :focus {
  outline-width: 0px;
}

.wpcf7-form-control {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow:0 8px 20px rgba(0, 0, 0, 10%);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 5px 10px 5px;
}

@media (max-width: 600px) {
  .wpcf7-form-control {
    flex-direction: column;   /* vertical on mobile */
    align-items: flex-start;  /* optional */
  }
}

.wpcf7-textarea {
  height: 8rem;
}

.no-bottom-margin {
  margin-bottom: 5px;
}

/* custom css for contact form submit button to show like other buttons on the site */

input[type="submit"] {
    border-radius: 8px;
    overflow: hidden;
    Height:80px;
    width: 300px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--wp--preset--font-size--large);
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--alegreya-sans);
    font-style: italic;
    font-weight: 500;
}

input[type="submit"] {
    opacity: 0;
    animation: showElement 0.4s forwards;
    animation-delay: 1s; /* wait 2 seconds before showing */
    background-image: url('https://psihologmadalinapop.ro/wp-content/uploads/2025/08/Psiholog-Madalina-Pop-Feature-Button.png');
    background-size: cover;
    background-position: center;
    background-color: var(--wp--preset--color--accent);
    border-radius: 8px;
    overflow: hidden;
    transition: background-image 0.2s ease-in-out;
    Height:80px;
    width: 300px;
    padding-left: 80px;
    padding-right: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

input[type="submit"]:hover {
    background-image: url('https://psihologmadalinapop.ro/wp-content/uploads/2025/09/Psiholog-Madalina-Pop-Feature-Button-Hover.png');
    background-color: var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--base);
}

.wpcf7-checkbox {
  padding: 10px;
  
}

.submit-long-button > p > input {
  width: auto;
}

/* custom css to hide unused sections of the form for "programeaza o sedinta" contact form  */

.fade-box {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    margin-top: 10px;
    height: 1px;
}

.fade-box.visible {
    opacity: 1;
    visibility: visible;
    height: auto;
}

.social-media-icons {
  display:flex !important;
  justify-content: space-around !important;
}

.wp-block-details {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 16px;
}


/* custom code for the "read more" marker  */

/* Default icon = plus */
.wp-block-details summary::marker {
    content: "\f067"; /* FontAwesome fa-plus */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 0;
    padding: 16px !important;
    font-size: 20px;
    transition: 0.8s ease;
}

/* When details is open → minus */
.wp-block-details[open] summary::marker {
    content: "\f068"; /* FontAwesome fa-minus */
}


/* Google Reviews widget editing for with with feature cards */
.wprs_unslider {
  max-width: 300px !important;
}

.wprev-slider {
  margin-left: 0px;
  margin-right: 0px;
}

/* #wprev-slider-2 {
  height: 700px !important;
} */

#wprev-slider-2 > ul > li > div > div > div {
  height: 110px !important;
  padding: 10px 40px 10px 30px;
  margin: 0px;
  width: 350;
}

#wprev-slider-2 > ul > li > div > div {
  margin: 0px;
}

#wprev-slider-2 > ul > li > div > div ::before {
  content: none;
}

#wprev-slider-2 > ul > li > div > div > div > p {
  height: 90px !important;
  overflow: scroll;
}

.w3_wprs-row-padding, 
.w3_wprs-row-padding > .w3_wprs-col, 
.w3_wprs-row-padding > .w3_wprs-half, 
.w3_wprs-row-padding > .w3_wprs-quarter, 
.w3_wprs-row-padding > .w3_wprs-third, 
.w3_wprs-row-padding > .w3_wprs-threequarter, 
.w3_wprs-row-padding > .w3_wprs-twothird {
  padding-left: 2px;
  padding-right: 2px;
}

/* Simulate bold for menu items */
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:focus,
.wp-block-navigation .wp-block-navigation-item__label:hover,
.wp-block-navigation .wp-block-navigation-item__label:focus  {
  text-shadow: 0.03em 0 0 currentColor;
}


.wp-block-post-content p {
  text-align: justify;
  hyphens: auto;
}