/* Experiences Widget Component */

.wt-experiences-section {
    padding: 6rem 0;
    color: #ffffff;
    box-sizing: border-box;
    background-image: radial-gradient(circle at 20% 30%,#e9632614,#0000 50%),radial-gradient(circle at 80% 70%,#66795314,#0000 50%);
}

.wt-experiences-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    gap: 2rem;
}

.wt-experiences-title-area {
    flex: 1;
}

.wt-experiences-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 1.5rem;
}

.wt-experiences-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: normal;
    margin: 0;
}

.wt-experiences-title .highlight {
    color: var(--primary);
    font-style: italic;
}

.wt-experiences-desc {
    flex: 1;
    font-size: 0.95rem;
    color: #9F978C;
    line-height: 1.6;
    max-width: 400px;
    margin-top: 2rem;
}

/* Grid Layout */
.wt-experiences-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Card Base */
.wt-exp-card {
    position: relative;
    border-radius: 4px;
    box-sizing: border-box;
    overflow: hidden;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    background-color: var(--background);
    height: 550px; /* Fixed height for all cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #352518; /* faint border to prevent layout shift */
}

.wt-exp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--primary); /* orange border on hover */
}

.wt-exp-overlay {
    position: absolute;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    background: linear-gradient(to bottom, rgba(17, 12, 8, 0.2) 0%, rgba(17, 12, 8, 0.95) 45%, #110C08 60%, #110C08 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.wt-exp-card:hover .wt-exp-overlay {
    background: linear-gradient(to bottom, rgba(17, 12, 8, 0.1) 0%, rgba(17, 12, 8, 0.9) 45%, #110C08 60%, #110C08 100%);
}

/* Card Sizes */
.wt-card-large {
    grid-column: span 2;
}

.wt-card-small {
    grid-column: span 1;
}

/* Top Badges */
.wt-exp-badges {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.wt-badge {
    font-size: 0.55rem;
    font-family: sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    height: 24px;
    padding: 0 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.wt-badge-duration {
    background-color: rgba(17, 12, 8, 0.8);
    color: #ffffff;
}

.wt-badge-level {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Content Area */
.wt-exp-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.wt-exp-title {
    font-size: 1.8rem;
    margin: 0;
    font-weight: normal;
}

.wt-exp-subtitle {
    font-size: 0.85rem;
    color: var(--primary) !important;
    font-style: italic;
    margin: 0.5rem 0 0 0;
}

.wt-exp-desc {
    font-size: 0.85rem;
    color: #a3a3a3;
    line-height: 1.6;
    margin: 0;
}

.wt-exp-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1.5rem;
}

.wt-exp-highlights-list li {
    font-size: 0.8rem;
    color: #cccccc;
    position: relative;
    padding-left: 1rem;
    line-height: 1.4;
}

.wt-exp-highlights-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--primary);
}

/* Large Card Specific Styles */
.wt-card-large .wt-exp-title {
    font-size: 2.1rem;
}

/* Bottom Bar inside Card */
.wt-exp-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wt-exp-features {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888888;
    font-family: sans-serif;
}

.wt-exp-view {
    font-size: 0.8rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
}

.wt-exp-view svg {
    transition: transform 0.3s ease;
}

.wt-exp-card:hover .wt-exp-view svg {
    transform: translate(3px, -3px);
}

/* Footer Button */
.wt-experiences-footer {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.wt-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-family: sans-serif;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.wt-btn-outline:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.wt-btn-outline svg {
    transition: transform 0.3s ease;
}

.wt-btn-outline:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .wt-experiences-section {
        padding: 4rem 0;
    }
    .wt-experiences-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wt-experiences-desc {
        margin-top: 0;
        max-width: 100%;
    }

    .wt-experiences-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wt-card-large {
        grid-column: span 2;
    }

    .wt-card-small {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .wt-experiences-section {
        padding: 4rem 0;
    }

    .wt-experiences-grid {
        grid-template-columns: 1fr;
    }

    .wt-card-large, .wt-card-small {
        grid-column: span 1;
        min-height: 650px;
        height: auto;
    }

    .wt-exp-title, .wt-card-large .wt-exp-title {
        font-size: 1.5rem;
    }

    .wt-exp-desc {
        font-size: 0.8rem;
    }

    .wt-exp-content {
        padding: 2rem 1.5rem;
    }
}

/* =========================================
   EXPERIENCES HERO (from widget)
   ========================================= */
.wt-experiences-hero {
    background-color: transparent;
    color: #fff;
    padding: 8rem 0 4rem 0;
    display: flex;
    align-items: center;
    background-image: radial-gradient(circle at 20% 30%,#e9632614,#0000 50%),radial-gradient(circle at 80% 70%,#66795314,#0000 50%);
}

.wt-exp-hero-inner {
}

.wt-exp-subtitle {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 2rem;
}

.wt-exp-hero-inner .wt-exp-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin: 0 0 2rem 0;
    font-weight: normal;
    font-family: 'Fraunces', serif;
}

.wt-exp-title-main {
    color: #fff;
}

.wt-exp-title-highlight {
    color: var(--primary);
    font-style: italic;
}

.wt-exp-hero-desc {
    max-width: 600px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #9F978C;
    margin-bottom: 3rem;
}

.wt-exp-filters-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.wt-exp-filters-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
}

.wt-exp-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.wt-exp-filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
    font-family: sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wt-exp-filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.wt-exp-filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

@media (max-width: 768px) {
    .wt-exp-hero-inner .wt-exp-title { font-size: 3rem; }
    .wt-exp-filters-wrap { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* =========================================
   EXPERIENCES LIST WIDGET (AJAX)
   ========================================= */
.wt-experiences-list-section {
    background-color: transparent;
    padding: 2rem 0 6rem 0;
}

#wt-experiences-ajax-container {
    transition: opacity 0.3s ease;
}

.wt-experiences-list-wrapper {
    display: flex;
    flex-direction: column;
}

.wt-exp-list-item {
    display: grid;
    grid-template-columns: 50px 400px 1fr 80px;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wt-exp-list-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wt-exp-list-num {
    font-size: 0.65rem;
    font-family: sans-serif;
    color: #666;
    letter-spacing: 1px;
}

.wt-exp-list-img a {
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.wt-exp-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wt-exp-list-item:hover .wt-exp-list-img img {
    transform: scale(1.05);
}

.wt-exp-list-placeholder {
    display: block;
    width: 100%;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.05);
}

.wt-exp-list-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wt-exp-list-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.wt-exp-list-badges .wt-badge-level {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.15);
}

.wt-exp-list-title-link {
    text-decoration: none;
    color: inherit;
}

.wt-exp-list-title {
    font-size: 2rem;
    font-family: 'Fraunces', serif;
    font-weight: normal;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.wt-exp-list-item:hover .wt-exp-list-title {
    color: var(--primary);
}

.wt-exp-list-subtitle {
    font-size: 0.85rem;
    color: var(--primary);
    font-style: italic;
    margin-bottom: 1rem;
}

.wt-exp-list-desc {
    font-size: 0.85rem;
    color: #9F978C;
    line-height: 1.6;
    max-width: 600px;
}

.wt-exp-list-view a {
    font-size: 0.85rem;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.wt-exp-list-view a:hover {
    color: var(--primary);
}

/* Pagination */
.wt-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.wt-pagination a, .wt-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 40px;
    padding: 0 10px;
    font-size: 0.85rem;
    color: #888;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.wt-pagination a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.wt-pagination .current {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.wt-no-experiences {
    text-align: center;
    font-size: 1.2rem;
    color: #888;
    padding: 4rem 0;
}

@media (max-width: 1024px) {
    .wt-exp-list-item {
        grid-template-columns: 30px 250px 1fr;
        gap: 2rem;
    }
    .wt-exp-list-view {
        display: none; /* Hide view button on smaller screens, title is clickable anyway */
    }
}

@media (max-width: 768px) {
    .wt-exp-list-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .wt-exp-list-num {
        display: none;
    }
    .wt-exp-list-img a {
        height: 250px;
    }
}
