/*
* Theme Name: Wildy Child
* Description: This is a child theme of Wildy, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: wildy
* Version: 1.1.1
*/

/* Custom Dropdown Styles */
.custom-dropdown-container {
    position: relative;
    width: 320px;
    font-family: 'Urbanist', sans-serif;
}
.dropdown-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 20px;
    background-color: white;
    border: 1px solid #dcdcdc;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #333;
    text-transform: uppercase;
    transition: border-color 0.2s ease;
}
.dropdown-button:hover {
    border-color: #a0a0a0;
}
.dropdown-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.dropdown-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #dcdcdc;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.dropdown-options ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dropdown-options li:not(:last-child) {
    border-bottom: 1px solid #ebebeb;
}
.dropdown-options a {
    display: block;
    padding: 18px 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-options a:hover {
    background-color: #f5f5ff5;
    color: #333 !important;
}
.custom-dropdown-container.active .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.custom-dropdown-container.active .dropdown-arrow {
    transform: rotate(180deg);
}
.custom-dropdown-container .dropdown-options a:hover {
    color: #333 !important;
}
.custom-dropdown-container .dropdown-button,
.custom-dropdown-container .dropdown-button span {
    color: #333 !important;
}

.custom-dropdown-container .dropdown-button:hover,
.custom-dropdown-container .dropdown-button:hover span {
    color: #333 !important;
}
/* =================================================================== */
/* Card Slider Section Styles (Updated)
/* =================================================================== */

.card-slider-section {
    width: 100%;
    margin: 0 auto;
    padding: 60px 0;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;    
    padding: 0 15px;
	margin-bottom:100px;
}
.slider-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 60px;
    font-weight: 800;
    color: #111;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.1;
}

.slider-navigation {
    display: flex;
    gap: 12px;
	 margin-bottom: 4px; 
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
    width: 48px;
    height: 48px;
    margin: 0;
    background-color: #111;
    border: 1px solid #111;
    border-radius: 100px;
    color: white;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #333;
    border-color: #333;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 8px;
    font-weight: 800;
}

.swiper.card-swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Swiper slide reset */
.swiper-slide {
    background: transparent;
    border: none;
    height: auto;
    display: block;
    text-align: left;
}
/* ======================= */
/* Card slider layout: 4 cols on desktop */
/* ======================= */

.card-swiper .swiper-wrapper {
    display: flex;
    justify-content: flex-start; /* left align */
}

.card-swiper .swiper-slide {
    width: 25%;
    flex: 0 0 25%;
}

/* 3 columns on medium screens */
@media (max-width: 1024px) {
    .card-swiper .swiper-slide {
        width: 33.3333%;
        flex: 0 0 33.3333%;
    }
}

/* 2 columns on tablets */
@media (max-width: 768px) {
    .card-swiper .swiper-slide {
        width: 50%;
        flex: 0 0 50%;
    }
}

/* 1 column on mobile */
@media (max-width: 480px) {
    .card-swiper .swiper-slide {
        width: 100%;
        flex: 0 0 100%;
    }
}

/* =================================================================== */
/* Custom Card Component Styles
/* =================================================================== */

.hunt-card {
    position: relative;
    height: 510px;
	width: 456px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: white;
    cursor: pointer;
    text-decoration: none;

}

.hunt-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.hunt-card:hover::after {
    background-color: rgba(0, 0, 0, 0);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.card-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: white;
}

.card-button {
	height:48px;
    display: flex;
	flex-direction: column;
	justify-content:center;
		
    width: 100%;

    background-color: white;
    border: none;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    transition: background-color 0.2s ease;
}

.card-button:hover {
     background-color: #f0f0f0;
	height: 48px;
	
}

/* =================================================================== */
/* "View All" Button Styles
/* =================================================================== */

.slider-footer {
    text-align: center; /* Horizontally centers the button */
    padding-top: 40px;  /* Creates space between the cards and this button */
}

.view-all-button {
    display: inline-block;
    background-color: #111; /* Black background */
    color: white;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 18px 45px; /* Vertical and horizontal padding */
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.view-all-button:hover {
    background-color: #333; /* Darker black on hover */
}

/* =================================================================== */
/* Social Follow Banner Styles
/* =================================================================== */

.social-follow-section {
    background-color: #272727;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
	height:104px;
}
.social-follow-text{
	margin-left:55px;
	
}

.social-follow-text h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.social-follow-text p {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #d1d1d1;
    margin: 0;
}

.social-follow-icons {
    display: flex;
    align-items: center;
    gap: 20px;
	margin-right:50px;
}

.social-follow-icons a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.social-follow-icons a:hover {
    opacity: 0.7;
}

.social-follow-icons svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .social-follow-section {
        justify-content: center;
        text-align: center;
        padding: 30px 20px;
    }
}

/* =================================================================== */
/* Custom Hunt Stepper Component Styles
/* =================================================================== */

.stepper-section-container {
	width: 100%;
	margin: 0 auto;
	background-color: transparent; /* Transparent background */
	padding: 40px 20px;
	box-sizing: border-box;
}

.stepper-visual {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	position: relative;
	margin-bottom: 50px;
	padding: 0 30px; /* Padding to ensure circles aren't cut off */
}

/* Progress line background */
.stepper-progress-bg {
	position: absolute;
	top: 50%;
	left: 30px;
	right: 30px;
	height: 2px;
	background-color: #E0E0E0;
	transform: translateY(-50%);
	z-index: 1;
}

/* Progress line fill */
.stepper-progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background-color: #FA5004;
	width: 0%;
	transition: width 0.4s ease;
}

.stepper-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	cursor: pointer;
	position: relative;
	z-index: 3;
	flex: 1;
}

.step-label {
	font-size: 14px;
	font-weight: 700;
	color: #C4C4C4;
	margin-bottom: 15px;
	transition: color 0.3s ease;
	text-transform: uppercase;
	white-space: nowrap;
}

.step-circle-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.step-circle {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: white;
	border: 3px solid #E0E0E0;
	transition: all 0.3s ease;
	position: relative;
	z-index: 2;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Active step styles */
.stepper-step.active .step-label {
	color: #FA5004;
	font-weight: 700;
}

.stepper-step.active .step-circle {
	background-color: #FA5004;
	border-color: #FA5004;
	transform: scale(1.2);
	box-shadow: 0 4px 8px rgba(250, 80, 4, 0.3);
}

/* Completed step styles */
.stepper-step.completed .step-label {
	color: #FA5004;
}

.stepper-step.completed .step-circle {
	background-color: #FA5004;
	border-color: #FA5004;
}

/* Checkmark for completed steps */
.stepper-step.completed .step-circle::after {
	content: '✓';
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 12px;
	font-weight: bold;
}

/* Content panels */
.stepper-content-panels {
	padding: 40px 20px;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	min-height: 300px;
	margin-bottom: 30px;
}

.content-panel {
	display: none;
	animation: fadeIn 0.3s ease;
}

.content-panel.active {
	display: block;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.content-panel h3 {
	color: #242424;
	font-size: 28px;
	margin-bottom: 20px;
	font-weight: 700;
}

.content-panel p {
	color: #666;
	line-height: 1.6;
	font-size: 16px;
}

/* Navigation buttons */
.stepper-navigation {
	display: flex;
	justify-content: center;
	gap: 15px;
}

.stepper-button {
	background-color: #242424;
	color: white;
	border: none;
	padding: 14px 35px;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s ease;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.stepper-button:hover:not(:disabled) {
	background-color: #FA5004;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(250, 80, 4, 0.3);
}

.stepper-button:disabled {
	background-color: #C4C4C4;
	cursor: not-allowed;
	opacity: 0.6;
	box-shadow: none;
}

.stepper-button.primary {
	background-color: #FA5004;
}

.stepper-button.primary:hover:not(:disabled) {
	background-color: #E04504;
}

/* Responsive design */
@media (max-width: 768px) {
	.step-label {
		font-size: 12px;
	}

	.stepper-visual {
		padding: 0 15px;
	}

	.stepper-progress-bg {
		left: 15px;
		right: 15px;
	}

	.stepper-button {
		padding: 12px 25px;
		font-size: 14px;
	}
}
/* Whole card */
.journal-card {
    display: flex;
    flex-direction: column;
    background: #F2F2F2;      /* Figma background */
    border-radius: 3px;
    overflow: hidden;
    text-decoration: none;
    color: #111;
    height: 100%;
}

/* Top image */
.journal-card-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Bottom grey panel */
.journal-card-body {
    background: #F2F2F2;      /* make sure the panel is grey */
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Typo inside the card */
.journal-card-category {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #777;
}

.journal-card-title {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.journal-card-description {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    color: #555;
    margin: 0;
}

.journal-card-meta {
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    color: #777;
    margin-top: auto; /* pushes date to bottom of the panel */
}
/* Limit this to your join section */

/* EMAIL LABEL + INPUT STYLE */
.join-tribe .tribe-email-ui {
  display: flex;
  flex-direction: column;
}

.join-tribe .tribe-email-ui label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 6px;
}

.join-tribe .tribe-email-ui input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #666;
  padding: 8px 0;
  width: 280px;
  color: #fff;
  font-size: 16px;
}

.join-tribe .tribe-email-ui input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Make the two inner containers share space nicely */
.join-tribe > .elementor-container,
.join-tribe > .e-con-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .join-tribe > .elementor-container,
  .join-tribe > .e-con-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .join-tribe {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .join-tribe .tribe-email-ui input {
    width: 100%;
  }
}
.journal-single {
    background-color: #fff;
}

/* ===== SINGLE NEWS LAYOUT ===== */

/* Full-width hero with background image */
.journal-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;

    min-height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    color: #fff;
	margin-top : 0 !important
}
body.single-news .journal-hero {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    min-height: 380px;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.journal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.75));
}

.journal-hero-inner {
    position: relative;
    padding: 60px 10%;
    max-width: 1200px;
    width: 100%;
}

.journal-back-link {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.journal-back-link:hover {
    opacity: 1;
}

/* Overwrite theme heading style inside hero */
.journal-hero-category {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 12px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.journal-hero-title {
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 8px;
    font-weight: 700;
    color: #fff !important;
    text-transform: none !important;
}

.journal-hero-meta {
    font-size: 14px;
    opacity: 0.9;
}

/* Content + sidebar wrapper */
.journal-content-wrapper {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 8%; /* was 10% */
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
    gap: 40px;
}

/* Left column (article) */
.journal-main {
    font-size: 16px;
    line-height: 1.7;
}

.journal-section + .journal-section {
    margin-top: 18px;
}

.journal-section-title {
    font-size: 20px;
    margin: 0 0 6px;
    font-weight: 700;
    text-transform: none;
}
.journal-intro .journal-section-content {
    font-size: 15px;
    color: #6f6f6f;
    margin-bottom: 28px;
}
.journal-section-content {
    font-size: 14px;
    line-height: 1.7;
    color: #222;
}

.journal-section-content p {
    margin: 0 0 8px;
}

/* Right column (recent news) */
.journal-sidebar {
    background-color: #f5f5f5;
    padding: 24px;
}

.journal-sidebar-title {
    font-size: 16px;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.journal-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.journal-recent-item + .journal-recent-item {
    margin-top: 14px;
}

.journal-recent-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.journal-recent-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    display: block;
}

.journal-recent-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journal-recent-date {
    font-size: 11px;
    color: #ff7a2f;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.journal-recent-title {
    font-size: 13px;
    font-weight: 600;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .journal-hero {
        width: 100%;
        left: 0;
        margin-left: 0;
        margin-right: 0;
        min-height: 260px;
    }

    .journal-hero-inner {
        padding: 40px 20px;
    }

    .journal-content-wrapper {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .journal-sidebar {
        margin-top: 30px;
    }
}
/* Remove default theme spacing above the hero on single news */
body.single-news .site-main,
body.single-news .content-area,
body.single-news main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.single-news .page-header,
body.single-news .entry-header {
    margin: 0 !important;
    padding: 0 !important;
}


/* ===== HUNTOURAGE FAQ GRID (Figma style) ===== */

/* Wrapper: 2 equal columns */
.ht-faq-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
}

/* Each column is vertical stack */
.ht-faq-column {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

/* One FAQ row */
.ht-faq-item {
    background: #f6f6f6;           
}

/* Question row */
.ht-faq-header {
    width: 100%;
	
    padding: 30px 20px;
    border: none;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
   align-self: stretch;
}

.ht-faq-question {
    font-family: 'Urbanist', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    color: #323439;
    text-transform: none;
    letter-spacing: 0;
	
}

/* Plus/minus icon in small circle */
.ht-faq-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #000;          
    color: #fff;              
    border: 1px solid #000;
    line-height: 1;
	font-size: 22px; 

}


/* Answer panel */
.ht-faq-body {
	font-family: 'Urbanist', sans-serif;
    padding: 10px 20px 16px;
    font-size: 18px;
	font-style: normal;
    line-height: 1.6;
    background: #ffffff;
	color: #323439;
	font-weight: 400;
    border-top: 1px solid rgba(0,0,0,0.04);
}

/* Remove default UL/paragraph spacing if any */
.ht-faq-body p:last-child {
    margin-bottom: 0;
}

/* Responsive: stack columns on mobile */
@media (max-width: 900px) {
    .ht-faq-wrapper {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }
}
.ht-faq-header:hover,
.ht-faq-header:focus {
    background: #f6f6f6 !important;   
    color: #262626 !important;
}

.ht-faq-header:hover .ht-faq-question,
.ht-faq-header:focus .ht-faq-question {
    color: #262626 !important;
}

.ht-faq-header:hover .ht-faq-toggle-icon,
.ht-faq-header:focus .ht-faq-toggle-icon {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}


/* === Contact card (white box on background) === */
.ht-contact-card {
    max-width: 840px;
  
    margin: 40px 0 0 0;   
    background: #ffffff;
    padding: 60px 80px;
}

/* 2-column layout like Figma */
.ht-contact-form .ht-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 24px;
}

.ht-contact-form .ht-field-full {
    grid-column: 1 / -1; /* full width row */
}

/* Labels */
.ht-contact-form label {
    display: block;
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
}

/* Underline-only inputs (override theme styles) */
.ht-contact-form .ht-input,
.ht-contact-form .ht-input.wpcf7-text,
.ht-contact-form .ht-input.wpcf7-textarea,
.ht-contact-form input[type="text"],
.ht-contact-form input[type="email"],
.ht-contact-form input[type="tel"],
.ht-contact-form textarea {
    width: 100%;
    border: none !important;
    border-bottom: 1px solid #d3d3d3 !important;
    padding: 6px 0 4px !important;
    font-size: 14px;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}

.ht-contact-form .ht-input::placeholder,
.ht-contact-form textarea::placeholder {
    color: #c0c0c0;
}

/* Textarea height */
.ht-contact-form .ht-textarea {
    min-height: 90px;
    resize: vertical;
}

/* Submit button full width at bottom */
.ht-contact-form .ht-row-submit {
    grid-column: 1 / -1;
    margin-top: 32px;
}

.ht-contact-form .ht-submit {
    width: 100%;
    padding: 14px 24px;
    border: none;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.ht-contact-form .ht-submit:hover {
    opacity: 0.9;
}

/* Mobile: stack fields under each other */
@media (max-width: 640px) {
    .ht-contact-card {
        padding: 32px 20px;
    }

    .ht-contact-form .ht-row {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
}

/* ============================
   EXPERTS SECTION WRAPPER
   ============================ */
.ht-experts-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0 40px; /* adjust top/bottom spacing as you like */
}

/* Title + subtitle */
.ht-experts-title {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.ht-experts-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 32px;
    max-width: 640px;
}

/* ============================
   GRID LAYOUT
   ============================ */
.ht-experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 32px;
}

/* ============================
   CARD
   ============================ */
.ht-expert-card {
    background: #f0f0f0;
    padding: 16px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;

    /* All cards same overall height */
    height: 320px;  /* tweak this if you want cards taller/shorter */
}

/* Fixed image zone so every card lines up */
.ht-expert-image-wrap {
    background: #e6e6e6;
    margin-bottom: 8px;
    flex: 1 0 auto;

    height: 240px;   /* same for every card – adjust with the card height */
    display: flex;
    align-items: flex-end;    /* image “sits” on the bottom like in Figma */
    justify-content: center;
    overflow: hidden;
}

/* Image inside card */
.ht-expert-image-wrap img {
    display: block;
    max-height: 100%;
    width: auto;
}

/* Name bar */
.ht-expert-info {
    background: #000000;
    padding: 8px 10px;
    min-height: 40px;      /* ensures consistent bar height */
}

/* Expert name + role – white text */
.ht-expert-name {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
}

/* ============================
   RESPONSIVE TWEAKS
   ============================ */
@media (max-width: 768px) {
    .ht-experts-section {
        padding: 40px 0 30px;
    }

    .ht-experts-title {
        font-size: 26px;
    }

    .ht-experts-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .ht-expert-card {
        height: 300px;      /* slightly smaller on mobile if you want */
    }

    .ht-expert-image-wrap {
        height: 220px;
    }
}
