/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
/* --- Filter Bar --- */
.dflip-filter-form {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f8f8f8;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 25px;
}
.dflip-filter-form select,
.dflip-filter-form input[type="text"],
.dflip-filter-form input[type="date"],
.dflip-filter-form button {
  padding: 8px 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}
.dflip-filter-form button {
  background: #0073aa;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}
.dflip-filter-form button:hover {
  background: #005f8d;
}

/* --- Flipbook Layout --- */
.flipbook-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.flipbook-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
}
.flipbook-thumb {
  min-width: 180px;
}
.flipbook-info {
  flex: 1;
}
.flipbook-title {
  margin: 0 0 8px;
  font-size: 1.2em;
}
.flipbook-title a {
  color: #0073aa;
  text-decoration: none;
}
.flipbook-title a:hover {
  text-decoration: underline;
}
.flipbook-desc {
  margin-bottom: 10px;
  color: #555;
  line-height: 1.4;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .dflip-filter-form {
    flex-direction: column;
  }
  .flipbook-item {
    flex-direction: column;
  }
}



/* --- JOBS ADDED BY ALEXEY --- */

/* Container */
.bcwwa_x7f9_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Filter Section */
.bcwwa_x7f9_filters {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e6f4f8 0%, #bedcea 100%);
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #bedcea;
    display: block !important;
    visibility: visible !important;
}

.bcwwa_x7f9_title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1b2243;
    margin: 0 0 1.25rem 0;
    text-align: center;
}

.bcwwa_x7f9_btn_wrap {
    margin-bottom: 1rem;
}

.bcwwa_x7f9_label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1b2243;
    margin-bottom: 0.75rem;
}

.bcwwa_x7f9_btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bcwwa_x7f9_btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bcwwa_x7f9_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.bcwwa_x7f9_btn:hover::before {
    left: 100%;
}

.bcwwa_x7f9_btn:hover {
    border-color: #3274a5;
    color: #3274a5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 116, 165, 0.15);
}

.bcwwa_x7f9_btn.bcwwa_x7f9_active {
    background: linear-gradient(135deg, #3274a5 0%, #285a85 100%);
    border-color: #3274a5;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(50, 116, 165, 0.3);
    transform: translateY(-2px);
}

.bcwwa_x7f9_count {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    text-align: right;
}

.bcwwa_x7f9_empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #64748b;
    font-size: 1.1rem;
    animation: bcwwa_x7f9_fadein 0.5s ease;
}

/* Jobs List */
.bcwwa_x7f9_list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* Job Card */
.bcwwa_x7f9_job {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 2rem 2.25rem;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bcwwa_x7f9_job::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3274a5 0%, #285a85 100%);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bcwwa_x7f9_job:hover::before {
    transform: scaleY(1);
}

.bcwwa_x7f9_job:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: #3274a5;
    box-shadow: 0 20px 40px rgba(50, 116, 165, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.bcwwa_x7f9_header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.bcwwa_x7f9_company {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3274a5;
    margin: 0;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.bcwwa_x7f9_job:hover .bcwwa_x7f9_company {
    color: #285a85;
}

.bcwwa_x7f9_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.95rem;
    color: #475569;
    align-items: center;
}

.bcwwa_x7f9_position {
    font-weight: 600;
    color: #1b2243;
    padding: 0.25rem 0.5rem;
    background: #e6f4f8;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.bcwwa_x7f9_job:hover .bcwwa_x7f9_position {
    background: #bedcea;
    color: #285a85;
}

.bcwwa_x7f9_location,
.bcwwa_x7f9_date {
    color: #64748b;
    font-weight: 500;
}

.bcwwa_x7f9_contact {
    margin-left: auto;
    font-style: italic;
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.bcwwa_x7f9_job:hover .bcwwa_x7f9_contact {
    color: #64748b;
}

.bcwwa_x7f9_sep {
    color: #cbd5e1;
    font-weight: 300;
}

.bcwwa_x7f9_excerpt {
    margin: 1rem 0 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    transition: color 0.3s ease;
}

.bcwwa_x7f9_job:hover .bcwwa_x7f9_excerpt {
    color: #1e293b;
}

.bcwwa_x7f9_footer {
    display: flex;
    justify-content: flex-start;
}

.bcwwa_x7f9_cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #3274a5;
    color: #ffffff;
    background: linear-gradient(135deg, #3274a5 0%, #285a85 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bcwwa_x7f9_cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.bcwwa_x7f9_cta:hover::before {
    left: 100%;
}

.bcwwa_x7f9_cta:hover {
    background: linear-gradient(135deg, #12c1df 0%, #3274a5 100%);
    border-color: #12c1df;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(18, 193, 223, 0.4);
}

.bcwwa_x7f9_cta:active {
    transform: translateY(0) scale(1);
}

.bcwwa_x7f9_arrow {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.3s ease;
}

.bcwwa_x7f9_cta:hover .bcwwa_x7f9_arrow {
    transform: translateX(4px);
}

/* Animations */
@keyframes bcwwa_x7f9_fade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bcwwa_x7f9_fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.bcwwa_x7f9_animate {
    opacity: 0;
    animation: bcwwa_x7f9_fade 0.6s ease forwards;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bcwwa_x7f9_container {
        padding: 1rem 0.75rem;
    }

    .bcwwa_x7f9_filters {
        padding: 1.25rem;
        margin-bottom: 2rem;
    }

    .bcwwa_x7f9_btns {
        gap: 0.5rem;
    }

    .bcwwa_x7f9_btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .bcwwa_x7f9_job {
        padding: 1.5rem 1.5rem;
    }

    .bcwwa_x7f9_company {
        font-size: 1.25rem;
    }

    .bcwwa_x7f9_meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .bcwwa_x7f9_contact {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .bcwwa_x7f9_count {
        text-align: left;
        margin-top: 0.5rem;
    }
}

@media (max-width: 640px) {
    .bcwwa_x7f9_job {
        padding: 1.25rem 1.25rem;
    }

    .bcwwa_x7f9_company {
        font-size: 1.1rem;
    }

    .bcwwa_x7f9_excerpt {
        font-size: 0.95rem;
    }

    .bcwwa_x7f9_cta {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
}
.tribe-common--breakpoint-medium .tribe-filter-bar--horizontal.tribe-filter-bar--has-selected-filters.tribe-filter-bar .tribe-filter-bar__actions {z-index:0 !important;}