html {
  scroll-behavior: smooth;
}
/* Alignfull Compatibility */
body {
    overflow-x: hidden;
}
.entry-content .alignfull {
    margin-left: calc( -50vw + 50%);
    margin-right: calc( -50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

/*Reset Default Blocks Gap*/
.wp-site-blocks > * {
    margin-block-start: 0;
}

/* Navigation */
@media screen and (min-width: 600px){
    .wp-block-navigation ul.wp-block-navigation-submenu li {
        border-bottom: 1px solid rgba(0,0,0,.15);
    }
}

.post-template-default .wp-block-post-featured-image{
    display: none;
}

/* LIMIT SCOPE to ONLY this contact section */
.wp-block-group.expert-contact-form {
    position: relative;
   background: linear-gradient(140deg, #9b4dff, #2f80ed) !important;
    background-size: 300% 300%;
    animation: bgshift 14s ease-in-out infinite alternate;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    color: #fff !important;
}
.wpcf7 {
  background: linear-gradient(135deg, #1e1e2f, #2d2f44, #171721) !important;
     
}
  
/* gradient animation */
@keyframes bgshift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Make BOTH columns vertically aligned center */
.wp-block-group.expert-contact-form .wp-block-columns {
    align-items: center !important;
}

/* LEFT text full white */
.wp-block-group.expert-contact-form h2,
.wp-block-group.expert-contact-form p {
    color: #ffffff !important;
}

/* === FORM CARD (NO BREAKAGE) === */
.wp-block-group.expert-contact-form .wpcf7 {
    background: rgba(255,255,255,0.10) ;
    padding: 25px 25px !important;
    border-radius: 16px !important;
    backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    max-width: 450px !important;
    margin-left: auto !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important;
}

/* prevent breakage */
.wp-block-group.expert-contact-form form * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* === FIX INPUT FIELDS === */
.wp-block-group.expert-contact-form .wpcf7-form-control {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.28) !important;
    color: #fff !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* focus effect */
.wp-block-group.expert-contact-form .wpcf7-form-control:focus {
    border-color: #c58aff !important;
    box-shadow: 0 0 12px #c58aff !important;
}

/* === FIX LABEL COLOR === */
.wp-block-group.expert-contact-form label {
    color: #fff !important;
    font-weight: 500;
}


.wp-block-group.expert-contact-form .wpcf7-submit:hover {
    box-shadow: 0 0 15px rgba(209,107,250,0.8) !important;
}
/* ========= Premium CTA Button ========= */
:root{
  --btn-radius: 999px;
  --btn-pad-y: 12px;
  --btn-pad-x: 22px;

  --btn-grad-a: #6E59F4;
  --btn-grad-b: #5D7CF7;
  --btn-grad-c: #00C2A8;

  --btn-shadow: 0 8px 18px rgba(94, 117, 247, .25);
  --btn-inset: inset 0 1px 0 rgba(255,255,255,.35),
               inset 0 -2px 0 rgba(0,0,0,.08);

  --btn-text: #ffffff;
}

/* WP Button + Submit Button + Contact Form 7 Submit */
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: 44px;
  border-radius: var(--btn-radius);
  border: none;

  background: linear-gradient(135deg, var(--btn-grad-a), var(--btn-grad-b) 50%, var(--btn-grad-c));
  color: var(--btn-text) !important;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;

  box-shadow: var(--btn-shadow), var(--btn-inset);
  transition: all .18s ease;
}

/* Hover */
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(94, 117, 247, .30), var(--btn-inset);
}

/* Active */
.wp-block-button__link:active,
button[type="submit"]:active,
input[type="submit"]:active,
.wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(94, 117, 247, .22),
              inset 0 2px 0 rgba(0,0,0,.12);
}

/* Focus */
.wp-block-button__link:focus-visible,
button[type="submit"]:focus-visible,
input[type="submit"]:focus-visible,
.wpcf7-submit:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px rgba(94,117,247,.65),
    var(--btn-inset);
}


.wp-block-group.expert-contact-form .wpcf7-submit {
    background: linear-gradient(90deg,#a044ff,#d16bfa) !important;
    padding: 14px !important;
    border-radius: 10px !important;
    border: none !important;
    color: #fff !important;
    font-size: 15px !important;
    width: 100% !important;
    cursor: pointer;
    transition: 0.3s;
}

.wp-block-group.expert-contact-form .wpcf7-submit:hover {
    box-shadow: 0 0 15px rgba(209,107,250,0.8) !important;
}

/* ========= Premium Card Base ========= */
.wp-container-core-group-is-layout-5e941e19 
> .wp-block-group.has-pure-white-background-color{
    position:relative;
    border-radius:16px;
    overflow:hidden;
    transition:.4s;
}

/* INNER FILL LAYER */
.wp-container-core-group-is-layout-5e941e19 
> .wp-block-group.has-pure-white-background-color::after{

    content:"";
    position:absolute;
    inset:0;
    border-radius:16px;

    background:linear-gradient(-45deg,#fc00ff,#00dbde);

    opacity:0;
    transition:.4s;
    z-index:0;
}

/* HOVER = COLOR FILL */
.wp-container-core-group-is-layout-5e941e19 
> .wp-block-group.has-pure-white-background-color:hover::after{
    opacity:1;
}

/* KEEP CONTENT ABOVE */
.wp-container-core-group-is-layout-5e941e19 
> .wp-block-group > *{
    position:relative;
    z-index:1;
}

/* OPTIONAL HOVER LIFT */
.wp-container-core-group-is-layout-5e941e19 
> .wp-block-group:hover{
    transform:translateY(-8px);
}

/* =======================================================
   BLOG LISTING → CARD BORDER
======================================================= */
.blog-listing .wp-block-post {
    border: 1px solid #e5e5e5;      /* subtle border */
    border-radius: 15px;            /* rounded corners */
    overflow: hidden;               /* smooth edges */
    background: #fff;
    transition: 
        transform .35s ease, 
        box-shadow .35s ease,
        border-color .35s ease;
}

.blog-listing .wp-block-post:hover {
    border-color: #d0d0d0;          /* slight dark border on hover */
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

/* =======================================================
   IMAGE PARALLAX ZOOM
======================================================= */
.blog-listing .wp-block-post-featured-image {
    overflow: hidden !important;
    border-radius: 15px 15px 0 0 !important;
}

.blog-listing .wp-block-post-featured-image img {
    transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}

.blog-listing .wp-block-post:hover .wp-block-post-featured-image img {
    transform: scale(1.12) translateY(-4px);
}



/* =======================================================
   TITLE COLOR ANIMATION
======================================================= */
.blog-listing .wp-block-post-title {
    transition: color .35s ease;
}

.blog-listing .wp-block-post:hover .wp-block-post-title {
    color: var(--wp--preset--color--highlight);
}

/* =======================================================
   LEARN MORE ANIMATION
======================================================= */
.blog-listing .wp-block-post-excerpt__more-link {
    position: relative;
    font-weight: 600;
    transition: color .35s ease;
}

.blog-listing .wp-block-post-excerpt__more-link::after {
    content: " →";
    opacity: 0;
    transform: translateX(-6px);
    transition: transform .35s ease, opacity .35s ease;
}

.blog-listing .wp-block-post:hover .wp-block-post-excerpt__more-link {
    color: var(--wp--preset--color--highlight);
}

.blog-listing .wp-block-post:hover .wp-block-post-excerpt__more-link::after {
    opacity: 1;
    transform: translateX(3px);
}

/* =======================================================
   FIX: FORCE ALL BLOG CARDS TO SAME HEIGHT
======================================================= */
.blog-listing .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Card container must stretch */
.blog-listing .wp-block-post {
    display: flex;
    flex-direction: column;
    height: 100%;              /* KEY PART */
    position: relative;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    transition: .35s ease;
}

/* Featured image fixed ratio */
.blog-listing .wp-block-post-featured-image img {
    width: 100%;
    height: 220px;             /* FIXED IMAGE HEIGHT */
    object-fit: cover;
    transition: transform .6s ease;
}

/* Excerpt pushes Learn More to bottom for perfect alignment */
.blog-listing .wp-block-post-excerpt {
    flex: 1;                   /* MAKES TEXT AREA FLEXIBLE */
    display: flex;
    flex-direction: column;
}



/* =======================================================
   PREMIUM ANIMATION
======================================================= */
.blog-listing .wp-block-post:hover {
    transform: translateY(-10px);
    border-color: #d0d0d0;
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

.blog-listing .wp-block-post:hover .wp-block-post-featured-image img {
    transform: scale(1.12);
}

/* =======================================================
   FULL CARD CLICKABLE
======================================================= */
.blog-listing .wp-block-post a.wp-block-post-title {
    position: relative;
    z-index: 2;
}

.blog-listing .wp-block-post a.wp-block-post-title::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}


.wp-container-core-post-content-is-layout-4b99461e > * + * {
    margin-block-start: ;
}
/* Container */
.image_text,
.Video_text {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 50px;
}

/* Left Column (Content) */
.image_text > .wp-block-column:first-child,
.Video_text > .wp-block-column:first-child {
  flex: 1 1 500px !important;
  max-width: 600px !important;
  animation: slideIn 1s ease forwards;
}

/* Heading */
.image_text > .wp-block-column:first-child h2.wp-block-heading,
.Video_text > .wp-block-column:first-child h2.wp-block-heading {
  margin-bottom: 10px !important;
}

/* Paragraphs */
.image_text > .wp-block-column:first-child p,
.Video_text > .wp-block-column:first-child p {
  margin-bottom: 10px !important;
}

/* Right Column (Image / Video) */
.image_text > .wp-block-column:last-child,
.Video_text > .wp-block-column:last-child {
  max-width: 600px !important;
  animation: fadeIn 1.5s ease forwards;
}

/* Image Styling */
.image_text > .wp-block-column:last-child img {
  width: 100% !important;
  border-radius: 20px !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
  transition: transform 0.3s;
}

.image_text > .wp-block-column:last-child img:hover {
  transform: scale(1.05);
}

/* Video Styling */
.Video_text > .wp-block-column:last-child iframe {
  width: 100% !important;
  border-radius: 20px !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
  transition: transform 0.3s;
}

.Video_text > .wp-block-column:last-child iframe:hover {
  transform: scale(1.03);
}

/* Animations */
@keyframes slideIn {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .image_text,
  .Video_text {
    flex-direction: column-reverse !important;
    padding: 30px !important;
    gap: 30px !important;
  }

  .image_text > .wp-block-column:first-child h2.wp-block-heading,
  .Video_text > .wp-block-column:first-child h2.wp-block-heading {
    font-size: 2.2rem !important;
  }

  .image_text > .wp-block-column:first-child p,
  .Video_text > .wp-block-column:first-child p {
    font-size: 1rem !important;
  }
}
/* Glassmorphism Card Base */
.image_card {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  overflow: hidden;
  padding: 25px;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Floating animation */
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.image_card {
  animation: floatCard 6s ease-in-out infinite;
}

/* Card hover effect */
.image_card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
}

/* Image styling with shadow overlay */
.image_card figure {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.image_card img {
  width: 100%;
  display: block;
  transition: transform 0.7s ease, filter 0.5s ease;
}

/* Image hover effect: zoom + color pop */
.image_card:hover img {
  transform: scale(1.08) rotate(0.5deg);
  filter: brightness(1.1) contrast(1.05);
}

/* Animated gradient overlay on image */
.image_card figure::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(45deg, #ff6f61, #ffca61, #61ffca);
  opacity: 0.2;
  mix-blend-mode: overlay;
  transition: opacity 0.5s ease;
}

.image_card:hover figure::after {
  opacity: 0.5;
}

/* Heading with glow effect */
.image_card h2 {
  text-shadow: 0 0 10px rgba(255,255,255,0.5), 0 0 20px rgba(255,111,97,0.4);
  margin: 20px 0 15px;
  transition: text-shadow 0.5s ease;
}

.image_card h2:hover {
  text-shadow: 0 0 20px rgba(255,255,255,0.7), 0 0 40px rgba(255,111,97,0.6);
}



/* Responsive */
@media (max-width: 768px) {
  .image_card {
    padding: 20px;
  }

}

@media (max-width: 480px) {
  .image_card {
    padding: 15px;
    border-radius: 20px;
  }

}


/* ==========================================================
HEADER 3 COLUMN (DESKTOP)
========================================================== */
/* ==========================================================
HEADER ONLY TARGET
========================================================== */

header.wp-block-template-part .wp-block-columns {
    align-items: center;
}

header.wp-block-template-part .wp-block-column:first-child {
    align-items: center;
}

header.wp-block-template-part .wp-block-column:nth-child(2) {
    display: flex;
    justify-content: center;
    align-items: center;
}

header.wp-block-template-part .wp-block-column:last-child {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Default (Desktop - 1200+ perfect) */
header.wp-block-template-part .wp-block-navigation__container > li {
    margin: 0 18px;
}

/* 960px FIX */
@media (max-width: 1100px) {
  header.wp-block-template-part .wp-block-navigation__container > li {
    margin: 0 10px;
  }
}

/* Extra safety (tablet) */
@media (max-width: 960px) {
  header.wp-block-template-part .wp-block-navigation__container > li {
    margin: 0 1px;
  }
}
@media (max-width: 600px) {
  header.wp-block-template-part .wp-block-navigation__container > li {
    margin: 0 14px;
  }
}
/* ==========================================================
MENU STYLE (HEADER ONLY)
========================================================== */

header.wp-block-template-part .wp-block-navigation a {
    font-family: "Poppins","Inter",sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    position: relative;
    padding: 8px 0;
    transition: .3s ease;
}
@media (max-width: 600px) {
  header.wp-block-template-part .wp-block-navigation a {
    font-size: 12px!important;
  }
}

header.wp-block-template-part .wp-block-navigation a:hover {
    color: #e60000 !important;
}

/* ==========================================================
PREMIUM MENU INTERACTION (HEADER ONLY)
========================================================== */

header.wp-block-template-part .wp-block-navigation a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #e60000 !important;
  transform: translateX(-50%);
  transition: .25s ease;
  opacity: 0.5;
}

header.wp-block-template-part .wp-block-navigation a:hover::after {
  width: 100%;
}
@media (max-width: 781px) {
  header.wp-block-template-part .wp-block-columns {
    flex-direction: column; /* Stack vertically */
    align-items: center!important;    /* Center all items */
    gap: 12px;              /* Add spacing between */
  }

  /* Logo - centered */
  header.wp-block-template-part .wp-block-column:first-child {
    width: auto;            /* auto width so it fits content */
    justify-content: center;
  }

  /* Menu full width below logo, center items */
  header.wp-block-template-part .wp-block-column:nth-child(2) {
    width: 100%;
    order: 2;
    justify-content: center;
  }

  /* Menu container items wrap & center */
  header.wp-block-template-part .wp-block-navigation__container {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  /* Button below menu, centered */
  header.wp-block-template-part .wp-block-column:last-child {
    width: auto;
    order: 3;
    justify-content: center;
  }

  /* Smaller button padding on mobile */
  .wp-block-button__link {
    padding: 10px 16px;
    font-size: 14px;
  }
}


/* HEADER */
.challenge-header{
  margin-bottom:60px;
}

.challenge-header h2{
  line-height:1.2;
  margin-bottom:15px;
}


/* GRID */
.challenge-grid{
  gap:30px !important;
}

/* CARD */
.challenge-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #dbdbdb; /* purple border - clearly visible */
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 20px;
  transition: 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}
/* HOVER EFFECT */
.challenge-card:hover{
  transform:translateY(-10px) scale(1.03);
  border-color:#6366f1;
  box-shadow:0 20px 60px rgba(99,102,241,0.3);
}

/* NUMBER */
.challenge-card h2{
  margin-bottom:10px;
  background:linear-gradient(45deg,#6366f1,#a855f7);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}



/* SOURCE (last paragraph) */
.challenge-card p:last-child{
  margin-top:15px;
}

/* FLOAT ANIMATION */
@keyframes float{
  0%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
  100%{transform:translateY(0)}
}

.challenge-card:nth-child(1){animation:float 5s infinite}
.challenge-card:nth-child(2){animation:float 6s infinite}
.challenge-card:nth-child(3){animation:float 7s infinite}

/* RESPONSIVE */
@media(max-width:768px){


  .challenge-header{
    text-align:center;
    margin:auto;
    margin-bottom:40px;
  }

}

/* ONLY for 600px and above */
@media (min-width: 859px) {
  .wp-block-navigation__submenu-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    gap: 8px 20px;
    padding: 15px !important;
    border-radius: 10px;
  }
}
@media (max-width: 599px) {
  .wp-block-navigation__submenu-container {
    display: block !important;
    padding: 10px !important;
  }
}

.wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch; /* IMPORTANT */
}

.wp-block-post-template li.wp-block-post {
    display: flex;
    flex-direction: column;
    height: 100%;
}


.wp-block-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px; /* approx 2 lines height */
}



/* FORCE FOOTER STYLE APPLY */
footer.wp-block-template-part .wp-block-cover {
  background-color: #0f2d4a !important;
}

/* TEXT COLOR FIX */
footer.wp-block-template-part,
footer.wp-block-template-part p,
footer.wp-block-template-part h6,
footer.wp-block-template-part a {
  color: #ffffff !important;
}

/* COLUMN GAP FIX */
footer.wp-block-template-part .wp-block-columns {
  gap: 40px !important;
}

/* HEADING STYLE */
footer.wp-block-template-part h6 {
  font-size: 16px !important;
  margin-bottom: 15px !important;
}

/* LINKS HOVER */
footer.wp-block-template-part a:hover {
  color: #e60000 !important
}

/* SOCIAL ICON HOVER */
footer.wp-block-template-part .wp-block-social-links a:hover {
  transform: scale(1.2);
}

/* COPYRIGHT LINE */
footer.wp-block-template-part .wp-block-group.is-content-justification-center {
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  margin-top: 30px !important;
  padding-top: 15px !important;
}
/* MOBILE 360px FIX */
/* MOBILE 360px */
@media (max-width: 360px) {

  /* CONTACT & USEFUL LINKS → NO PADDING */
  footer.wp-block-template-part .footer-contact-us,
  footer.wp-block-template-part .footer-useful-link {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* REST OF COLUMNS */
  footer.wp-block-template-part .wp-block-column:not(.footer-contact-us):not(.footer-useful-link) {
    padding: 15px 24px !important;
  }

}

/* Author Block Styling */
.wp-block-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Avatar container */
.wp-block-post-author__avatar {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%; /* circle banane ka main point */
  flex-shrink: 0;
}

/* Avatar image */
.wp-block-post-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* extra safety */
  display: block;
}

/* Author name */
.wp-block-post-author__name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
/* Remove left-right margin */
.wp-block-post-author {
  margin-left: 0!important;
  margin-right: 0!important;
}

/* Agar avatar ya content me bhi margin aa raha ho */
.wp-block-post-author__avatar,
.wp-block-post-author__content {
  margin-left: 0!important;
  margin-right: 0!important;
}

/* ONLY blog listing section */
.blog-listing .wp-block-post-template .wp-block-columns {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 6px;
}

/* Column width fix */
.blog-listing .wp-block-post-template .wp-block-column {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

/* Remove inner spacing */
.blog-listing .wp-block-post-template .wp-block-column > * {
  margin: 0 !important;
}



/* Text styling */
.blog-listing .wp-block-post-date,
.blog-listing .wp-block-post-time-to-read {
  font-size: 14px;
  color: #666;
  display: inline-block;
}

/* ONLY date + read time row (2 columns wali) */
.blog-listing .wp-block-post-template .wp-block-columns:has(.wp-block-post-time-to-read) {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 6px;
}

/* Column fix */
.blog-listing .wp-block-post-template .wp-block-columns:has(.wp-block-post-time-to-read) .wp-block-column {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

/* Remove spacing */
.blog-listing .wp-block-post-template .wp-block-columns:has(.wp-block-post-time-to-read) .wp-block-column > * {
  margin: 0 !important;
}

/* Separator ONLY here */
.blog-listing .wp-block-post-template .wp-block-columns:has(.wp-block-post-time-to-read) 
.wp-block-column:last-child::before {
  content: "|";
  margin: 0 8px;
  color: #aaa;
}
/* ========================================================
   Cedro Partner Section - Card Redesign
======================================================== */
.cedro-partner {
    background: #f0f4f8; /* soft section background */
    padding: 60px 20px;
    text-align: center;
}

.cedro-partner h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
}

.cedro-partner p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================================
   Partner Cards Container
======================================================== */


.partner-cards {
    perspective: 1200px;
    width: 250px;
    height: 350px;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s;
}



/* ========================================================
   Card Faces
======================================================== */
.partner-cards .card-face {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    position: absolute;
    top: -15px;
    left: 0;
    overflow: hidden;
    transition: transform 0.6s, background 0.6s;
    border-radius: 20px; /* Rounded corners */
    overflow: hidden;
}

/* Front Face */
.partner-cards .card-front {
    background: transparent; /* completely transparent */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* Heading inside front */
.partner-cards .card-front h2 {
    font-size: 1.25rem;
    margin: 0;
}

/* Back Face */
.partner-cards .card-back {
   background: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Flip effect */
.partner-cards:hover .card-front {
    transform: rotateY(180deg);
}
.partner-cards:hover .card-back {
    transform: rotateY(0deg);
}


/* ========================================================
   Responsive Adjustments
======================================================== */
@media (max-width: 900px) {
    .wp-block-columns {
        gap: 20px;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .partner-cards {
        width: 200px;
        height: 310px;
    }


}

/* Team Section */
.team-section {
    padding: 20px 20px;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

/* Team Card */
.team-card {
    background: #111827;
    border-radius: 20px;
    padding: 30px;
    width: 280px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
}

/* Card Hover Effect */
.team-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(59,130,246,0.5); /* soft glow */
    border: 1px solid rgba(59,130,246,0.6); /* accent border */
}

/* Team Image */
.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #3b82f6;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Image hover glow */
.team-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(59,130,246,0.5);
}

/* Name */
.team-card h2 {
    font-size: 22px;
    margin: 0 0 5px;
    color: #fff;
    font-weight: 600;
    transition: color 0.3s;
}

/* Name hover accent */
.team-card:hover h2 {
    color: #3b82f6;
}

/* Role */
.team-card p {
    font-size: 14px;
    margin: 0 0 15px;
    color: white;
}

/* Social Links Wrapper */
.team-card .wp-block-social-links {
  justify-content: center;
    display: flex;
    gap: 10px;
}

/* Social Links - Fixed 2 per member */
.wp-block-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    transition: background 0.3s, transform 0.3s;
}

/* Social hover */
.wp-block-social-links a:hover {
    background: #3b82f6;
    transform: scale(1.1);
}

/* Ensure only 2 icons per card (if more, hide extras) */
.team-card .wp-block-social-links a:nth-child(n+3) {
    display: none;
}

/* Responsive */
@media(max-width:768px){
    .team-section {
        justify-content: center;
    }
}
/* Target only the section with class image_text */
.image_text {
    display: flex;
    justify-content: center; /* centers columns horizontally */
    flex-wrap: wrap;         /* allows wrapping on smaller screens */
    align-items: center;     /* vertically aligns columns if needed */
}

/* Target columns inside this section */
.image_text .wp-block-column {
    display: flex;
    justify-content: center; /* centers content inside each column */
    align-items: center;     /* vertically centers content */
    flex-direction: column;  /* stack content inside column vertically */
}

/* Center figure and image specifically */
.image_text .wp-block-image {
    margin: 0;               /* remove default margins */
    text-align: center;      /* center inline images */
}

.image_text .wp-block-image img {
    display: block;          /* allow margin auto to work */
    margin: 0 auto;          /* center horizontally */
    max-width: 100%;         /* make image responsive */
    height: auto;
}
.image_textvideo{
    align-content: center !important;
}
.auto-typing {
  overflow: hidden;
  display: inline-block; /* optional */
  /* white-space: nowrap; */ /* remove this for multi-line */
}

.auto-typing.cursor {
  animation: blink 0.7s infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    left: -54px!important;
    top: 100%;
}
@media (max-width: 600px) {
  .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    min-width: 292px !important;
  }
}

@media (min-width: 859px) {
  .wp-block-navigation__submenu-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 20px;
    padding: 15px !important;
    position: absolute !important;
    left: 0;
    top: 100%;
    width: max-content;
    min-width: 320px;
    z-index: 9999;
  }

  .wp-block-navigation__submenu-container a {
    display: block;
    white-space: nowrap;
  }
}
    