/*
Theme Name: Lourdes Viajes
Theme URI: http://example.com/lourdes-viajes
Author: Antigravity
Author URI: http://example.com
Description: Un tema moderno y atractivo para Lourdes Viajes construido con Bootstrap y TailwindCSS.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lourdes-viajes
Tags: responsive, modern, bootstrap, tailwindcss
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Formal Corporate Palette */
    --primary-color: #1A2B45;
    /* Deep Navy Blue */
    --secondary-color: #C5A059;
    /* Muted Gold */
    --accent-color: #0F1C2E;
    /* Darker Navy */
    --text-color: #2C333A;
    /* Dark Grey for text */
    --light-bg: #F8F9FA;
    /* Crisp Off-White */
    --white: #ffffff;

    /* Elegant Shadows & Transitions */
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;

    /* Bootstrap Variable Overrides */
    --bs-primary: #1A2B45;
    --bs-secondary: #C5A059;
    --bs-light: #F8F9FA;
    --bs-dark: #0F1C2E;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    /* Modern, highly legible sans-serif */
    font-size: 17px;
    line-height: 1.8;
    color: #1a1a1a;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* Professional, bold sans-serif for headings */
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Top Bar (Primera fila del header) */
.top-bar {
    background-color: var(--accent-color);
    /* Darkest Navy */
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-links a {
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Main Header (Segunda fila) */
.contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}

.main-header {
    background-color: var(--white);
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* Clean border instead of shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
}

.logo img {
    width: auto;
    height: auto;
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px 15px;
        /* Reduce horizontal padding */
    }

    .logo img {
        max-height: 50px;
        /* Smaller logo for small screens */
    }
}

/* Navegación - ELIMINADO: ahora se usa lourdes-main-menu en custom-menu.css */

/* Slider de viajes destacados */
.featured-trips-slider {
    position: relative;
    height: 60vh;
    /* Default responsive height */
    min-height: 500px;
    overflow: hidden;
}

/* Mobile Devices */
@media (max-width: 576px) {
    .featured-trips-slider {
        height: 80vh;
        /* Taller on mobile to show content */
        min-height: 450px;
    }
}

/* Tablets */
@media (min-width: 577px) and (max-width: 991px) {
    .featured-trips-slider {
        height: 60vh;
        min-height: 500px;
    }
}

/* Laptops & Desktop (HD) */
@media (min-width: 992px) {
    .featured-trips-slider {
        height: 650px;
    }
}

/* Full HD */
@media (min-width: 1920px) {
    .featured-trips-slider {
        height: 800px;
    }
}

/* 2K */
@media (min-width: 2560px) {
    .featured-trips-slider {
        height: 950px;
    }
}

/* 4K */
@media (min-width: 3840px) {
    .featured-trips-slider {
        height: 1200px;
    }
}



.swiper-button-next,
.swiper-button-prev {
    color: #FFFFFF !important;
}

.swiper-pagination-bullet {
    background: #FFFFFF !important;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content-presentacion {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 43, 69, 0.85);
    /* Solid Navy Overlay */
    color: var(--white);
    padding: 30px 20px;
    border-bottom: 3px solid var(--secondary-color);
}


.slide-content-presentacion .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.slide-content-presentacion h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.slide-content-presentacion h2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Typography for Slider */
@media (min-width: 768px) {
    .slide-content-presentacion h1 {
        font-size: 2.5rem;
    }

    .slide-content-presentacion h2 {
        font-size: 1.4rem;
    }
}

@media (min-width: 1200px) {
    .slide-content-presentacion h1 {
        font-size: 3rem;
    }

    .slide-content-presentacion h2 {
        font-size: 1.6rem;
    }
}

@media (min-width: 1920px) {
    .slide-content-presentacion h1 {
        font-size: 3.5rem;
    }

    .slide-content-presentacion h2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 2560px) {
    .slide-content-presentacion h1 {
        font-size: 4.5rem;
    }

    .slide-content-presentacion h2 {
        font-size: 2.2rem;
    }
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 43, 69, 0.9);
    /* Solid Navy Overlay */
    color: var(--white);
    padding: 15px 20px;
    /* Reduced padding */
    border-top: 4px solid var(--secondary-color);
}

.slide-content .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.slide-text-group-presentation {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    align-items: center;
}

.slide-text-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Allow text group to grow */
    flex-basis: auto;
    /* Allow text group to shrink */
}

.slide-content h2 {
    font-size: 24px;
    /* Reduced font size */
    margin-bottom: 5px;
    /* Tiny margin */
    animation: slideUp 0.8s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    /* Limit to 1 line */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}

.slide-content p {
    font-size: 16px;
    /* Reduced font size */
    margin-bottom: 0;
    animation: slideUp 1s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    /* Limit to 1 line */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}

.slide-content .price {
    font-size: 28px;
    /* Slightly reduced */
    font-weight: bold;
    color: var(--secondary-color);
    animation: slideUp 1.2s ease;
    margin-left: auto;
    /* Push price to the right */
    white-space: nowrap;
    /* Prevent price from wrapping */
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hours-banner {
    background-color: var(--primary-color);
    /* Solid Navy */
    border: 1px solid var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    /* Slight round */
    text-align: center;
    display: table;
    /* Centers the box itself if we use margin auto */
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(44, 95, 141, 0.2);
    max-width: 90%;
    /* Prevent overflow on mobile */
    line-height: 1.5;
}

.hours-banner i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .hours-banner {
        border-radius: 30px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .hours-banner i {
        margin-right: 0 !important;
        font-size: 1.2rem;
    }
}

.hours-banner span {
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 14px;
    text-transform: uppercase;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    font-size: 24px;
}

.category-overlay,
.trip-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 10px 20px;
    transition: var(--transition);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-card:hover .category-overlay,
.trip-card-full:hover .trip-overlay {
    background: rgba(44, 95, 141, 0.85);
}

.category-overlay h3,
.trip-overlay h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.category-overlay p,
.trip-overlay p,
.trip-overlay .trip-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

/* Extra styles for trip meta which categories dont have */
.trip-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    margin-top: 5px;
}

.trip-price-full {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

.trip-duration-full {
    font-size: 13px;
    color: #ddd;
}

/* Full Width Categories Grid Layout */
.destination-categories.full-width-categories,
.featured-trips-section.full-width-trips {
    width: 100%;
    margin: 20px 0 0 0;
    padding: 0;
    max-width: 100%;
}

.featured-trips-section.full-width-trips .container {
    padding-bottom: 20px;
}

.destination-categories.full-width-categories .section-title,
.featured-trips-section .section-title {
    position: relative;
    display: block;
    text-align: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 15px;
}

.destination-categories.full-width-categories .section-title::after,
.featured-trips-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.categories-grid-full,
.trips-grid-full {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
}

.destination-categories.full-width-categories .category-card,
.trip-card-full {
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    height: 400px;
    flex: 0 0 33.333%;
    max-width: 33.333%;
    box-sizing: border-box;
    display: block;
    position: relative;
}

/* Ensure 3 columns maximum logic overrides if needed for strict grids, but allowing flex basis to guide it */
@media (min-width: 993px) {

    .destination-categories.full-width-categories .category-card,
    .trip-card-full {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/* Tablet: 2 columns */
@media (max-width: 992px) {

    .destination-categories.full-width-categories .category-card,
    .trip-card-full {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Mobile: 1 column */
@media (max-width: 576px) {

    .destination-categories.full-width-categories .category-card,
    .trip-card-full {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Specific hover for full width cards - simple scaling internally, no card movement */
.destination-categories.full-width-categories .category-card,
.trip-card-full {
    overflow: hidden;
}

.destination-categories.full-width-categories .category-card:hover,
.trip-card-full:hover {
    transform: translateY(0);
    box-shadow: none;
}

.destination-categories.full-width-categories .category-card img,
.trip-card-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-categories.full-width-categories .category-card:hover img,
.trip-card-full:hover img {
    transform: scale(1.1);
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-section {
    text-align: center;
    margin-bottom: 40px;
}

.partners-section h3 {
    margin-bottom: 30px;
    font-size: 24px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo {
    background-color: var(--white);
    padding: 15px;
    border-radius: 10px;
    transition: var(--transition);
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.footer-links {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}


/* Breadcrumbs */
.breadcrumbs-container {
    background-color: #ffffff;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.breadcrumbs-container .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumbs-container a {
    color: #555;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.breadcrumbs-container a:hover {
    color: var(--primary-color);
    background-color: rgba(44, 95, 141, 0.08);
}

.breadcrumbs-container a i {
    color: var(--secondary-color);
}

.breadcrumbs-container .separator {
    color: #cbd3da;
    font-size: 12px;
}

.breadcrumbs-container .current {
    color: var(--primary-color);
    font-weight: 600;
    padding: 4px 12px;
    background-color: rgba(44, 95, 141, 0.1);
    border-radius: 20px;
    font-size: 13px;
}


/* Destination Hero Split Layout */
.destination-hero-split {
    padding: 30px 0;
    /* Reduced padding */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* Clean formal gray */
    overflow: hidden;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    /* More space for text, less for image */
    gap: 30px;
    /* Reduced gap */
    align-items: center;
    max-width: 1100px;
    /* Limit width to make it narrower */
    margin: 0 auto;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.image-frame {
    background: #fff;
    padding: 10px;
    /* Reduced padding */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    transform: rotate(0deg);
    /* Remove rotation for formal look */
    transition: transform 0.3s ease;
}

.image-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.image-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #eee;
}

/* Force landscape for hero split */
.hero-split-grid .image-frame img {
    aspect-ratio: 3/2;
    object-fit: cover;
}

.placeholder-frame {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2c5f8d;
    color: white;
    font-size: 3rem;
}

.hero-content-wrapper {
    position: relative;
}

.hero-title {
    font-size: 32px;
    /* Smaller title */
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 15px;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.hero-description {
    font-size: 19px;
    color: #333;
    line-height: 1.9;
}

/* Separator */
.section-separator-wave {
    line-height: 0;
    width: 100%;
    overflow: hidden;
}

.section-separator-wave svg {
    display: block;
    width: 100%;
    height: 60px;
    width: calc(100% + 1.3px);
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        padding: 5px 0;
    }

    .top-bar .container {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .contact-info {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }

    .contact-info .address-text {
        display: none;
    }

    .contact-info span a {
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .featured-trips-slider {
        height: 500px;
    }

    .slide-content-presentacion .container,
    .slide-content .container {
        justify-content: center;
        text-align: center;
    }

    .slide-text-group-presentation,
    .slide-text-group {
        text-align: center;
        align-items: center;
    }

    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slide-content .price {
        font-size: 24px;
        margin-left: 0;
        /* Remove auto margin on mobile so it centers */
        margin-top: 10px;
    }

    .section-title {
        font-size: 28px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .image-frame {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Single Featured Trip Hero Title */
/* Single Featured Trip Hero Title */
.post-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.post-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.post-hero .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 20px 0;
}

.post-hero .hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.post-hero h1 {
    color: white;
    margin: 0;
    font-size: 42px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .post-hero {
        height: 300px;
        /* Reduced height for mobile */
    }

    .post-hero h1 {
        font-size: 24px;
        text-align: center;
        width: 100%;
    }

    .post-hero .hero-overlay {
        padding: 15px 0;
    }
}

/* Trip Gallery */
.trip-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(44, 95, 141, 0.6);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    /* Ensure background matches container if needed, but white circle looks good on grey too */
    .gallery-overlay i {
        color: white;
        font-size: 24px;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }

    /* GLightbox overrides (optional) */
    .gslide-desc {
        font-family: 'Poppins', sans-serif;
    }

    @media (max-width: 768px) {
        .trip-gallery-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 10px !important;
        }

        .gallery-item {
            height: 120px;
        }
    }

}

/* Instagram Feed Integration Styles */
#sb_instagram {
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
}

#sb_instagram #sbi_images {
    padding: 5px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    /* Smaller boxes */
    gap: 15px !important;
}

#sb_instagram .sbi_item {
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    /* Force aspect ratio. Changed from 9/16 to 1/1 (square) to reduce height */
    position: relative;
    aspect-ratio: 1/1;
}

#sb_instagram .sbi_item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    z-index: 10;
}

#sb_instagram .sbi_photo {
    /* height: 100% !important; */
    /* Let plugin or auto height handle it, but cover if we force box height */
    width: 100% !important;
    display: block !important;
    /* remove absolute positioning that might be hiding it if container has no height */
    /* position: absolute !important; */
    /* top: 0; */
    /* left: 0; */
    object-fit: cover !important;
    background-size: cover !important;
    background-position: center !important;
    min-height: 100%;
    /* Ensure it fills the vertical space of the aspect-ratio box */
}

/* If the plugin uses an img tag inside .sbi_photo (sometimes it is a wrapper div) */
#sb_instagram .sbi_photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Hover overlay effect */
#sb_instagram .sbi_item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#sb_instagram .sbi_item:hover::after {
    opacity: 1;
}

#sb_instagram #sbi_load .sbi_load_btn,
#sb_instagram .sbi_follow_btn a {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 10px 25px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    font-family: inherit !important;
    text-transform: none !important;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4) !important;
    transition: all 0.3s ease !important;
}

#sb_instagram #sbi_load .sbi_load_btn:hover,
#sb_instagram .sbi_follow_btn a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.6) !important;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

#sb_instagram .sb_instagram_header {
    padding-bottom: 20px !important;
}

/* Small Mobile Tweaks */
@media (max-width: 400px) {
    .contact-info .email-item {
        display: none;
    }
}

/* Custom Helper Classes for Info Section */
.text-gold {
    color: var(--secondary-color) !important;
}

.ls-2 {
    letter-spacing: 2px !important;
}

.rotate-2 {
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.rotate-2:hover {
    transform: rotate(0deg) scale(1.02);
}

.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.methodology-row::before {
    content: '';
    position: absolute;
    top: 50px;
    /* Adjust based on step-number position */
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
    display: none;
    /* Hide on mobile by default */
}

@media (min-width: 992px) {
    .methodology-row::before {
        display: block;
    }
}