/* Activities page styles */

.hg-activities-page{
    padding: 0 20px 0 0;
    background: #f2f5f7;
    min-height: 70vh;
}

@media (min-width: 922px){
    .site-content .ast-container{
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (min-width: 922px){
    body.page-id-26491 .site-content .ast-container{
        display: block !important;
    }
}

.hg-activities-hero{
    text-align: center;
    margin: 0 0 26px;
    background: #ffffff;
    padding: 24px 16px 18px;
}

.hg-activities-hero h1{
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 700;
    color: #1f4270;
    margin: 0 auto;
    max-width: 980px;
    line-height: 1.15;
    padding-bottom: 10px;
    border-bottom: 1px solid #b7c8df;
}

.hg-activities-hero__subtitle{
    margin: 10px 0 0;
    color: #44556f;
    font-size: clamp(15px, 1.8vw, 24px);
    line-height: 1.45;
}


.hg-activities-layout{
    display: block;
    gap: 24px;
    align-items: stretch;
    width: 100%;
    margin: 0;
}

.side-filter{
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    width: 280px;
    min-height: calc(100vh - 70px);
    z-index: 20;
    display: flex;
    flex-direction: column;
}

.side-filter__top{
    padding: 16px 18px 12px;
    border-bottom: 1px solid rgba(16, 32, 54, 0.08);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-filter__top .header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.side-filter__top .header__title{
    font-size: 18px;
    font-weight: 700;
    color: #102036;
}

.side-filter__chips{
    margin-top: 2px;
}

.hg-clear-filters{
    font-size: 12px;
    font-weight: 700;
    color: #2a5bd7;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(42, 91, 215, 0.35);
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(16, 32, 54, 0.06);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hg-clear-filters:hover{
    background: #f1f5ff;
    border-color: rgba(42, 91, 215, 0.6);
    color: #1f4fc1;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(16, 32, 54, 0.12);
}

.hg-clear-filters:focus-visible{
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 91, 215, 0.2);
}

.side-filter__inner{
    display: block;
    padding: 4px 18px 18px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    max-height: none;
}

.side-filter__item{
    padding: 12px 0;
    border-bottom: 1px solid rgba(16, 32, 54, 0.06);
}

.side-filter__item:last-of-type{
    border-bottom: none;
}

.side-filter__item-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.side-filter__item-content{
    display: block;
}

.side-filter__item.is-collapsed .side-filter__item-content{
    display: none;
}

.side-filter__item.is-collapsed .side-filter__icon--minus{
    display: none;
}

.side-filter__item.is-collapsed .side-filter__icon--plus{
    display: inline-flex;
}

.side-filter__item-header-title{
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #102036;
}

.side-filter__icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #102036;
    font-size: 16px;
    line-height: 1;
}

.side-filter__icon--plus{
    display: none;
}

.side-filter__item-content-ul{
    display: grid;
    gap: 8px;
}


.sui-radio,
.sui-checkbox{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #102036;
    cursor: pointer;
    position: relative;
}

.sui-radio__origin,
.sui-checkbox__origin-input{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sui-radio__check{
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(16, 32, 54, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sui-radio__check-select{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
}

.sui-radio__origin:checked + .sui-radio__check{
    border-color: #0170B9;
    background: #0170B9;
}

.sui-radio__origin:checked + .sui-radio__check .sui-radio__check-select{
    opacity: 1;
}

.sui-checkbox__label-select{
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(16, 32, 54, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
}

.sui-checkbox__label-icon{
    width: 8px;
    height: 8px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    opacity: 0;
}

.sui-checkbox__origin-input:checked + .sui-checkbox__label-select{
    background: #0170B9;
    border-color: #0170B9;
}

.sui-checkbox__origin-input:checked + .sui-checkbox__label-select .sui-checkbox__label-icon{
    opacity: 1;
}

.hg-activities-content{
    min-height: 200px;
    padding: 0 20px 0 8px;
    margin-left: 280px;
}

.hg-activities-content > *{
    max-width: 1200px;
    margin-right: auto;
}

.hg-experiences-grid{
    display: grid;
    gap: 16px;
    padding: 10px 0 40px;
}

@media (min-width: 1800px){
    .hg-experiences-grid{
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) and (max-width: 1799px){
    .hg-experiences-grid{
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 1199px){
    .hg-experiences-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px){
    .hg-experiences-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

.hg-experience-card{
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(16, 32, 54, 0.08);
    box-shadow: 0 14px 30px rgba(16, 32, 54, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hg-experience-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(16, 32, 54, 0.14);
}

.hg-experience-card__media{
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #eef2f6;
    overflow: hidden;
}

.hg-experience-card__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hg-experience-card__media-placeholder{
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e7edf4 0%, #f6f8fb 100%);
}

.hg-experience-card__body{
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
}

.hg-experience-card__title{
    font-size: 16px;
    font-weight: 700;
    color: #102036;
}

.hg-experience-card__title--center{
    text-align: center;
}

.hg-experience-card__meta{
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: #5b677a;
    font-weight: 600;
}

.hg-experience-card__meta-item{
    display: block;
}

.hg-experience-card__cta{
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    background: #0170B9;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.hg-experience-card__cta--center{
    align-self: center;
    margin-left: auto;
    margin-right: auto;
}

.hg-experience-card__cta:hover{
    background: #015e9a;
    color: #ffffff;
}

.hg-experiences-empty{
    font-size: 15px;
    color: #5b677a;
}

.hg-activities-active-filters{
    margin-bottom: 8px;
}

.hg-activities-active-filters__chips{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hg-filter-chip{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #d8dbe2;
    background: #ffffff;
    color: #102036;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.hg-filter-chip:hover{
    background: #f3f5f7;
    color: #102036;
}

.hg-filter-chip__close{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: #6b7280;
    font-size: 12px;
    line-height: 1;
}


@media (max-width: 640px){
    .hg-activities-page{ padding: 50px 16px 60px; }
    .hg-activities-layout{ grid-template-columns: 1fr; }
    .side-filter{
        width: 100%;
        border-left: 1px solid rgba(16, 32, 54, 0.08);
        border-radius: 12px;
        position: static;
        min-height: auto;
    }
    .hg-activities-content{ order: 2; padding: 0; margin-left: 0; }
}
