.entry-pic {
    padding-top: 0 !important;
    height: auto;
}

.entry-pic img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.entry-pic-list {
    height: auto;
    align-self: stretch;
    min-height: 110px;
    position: relative;
}

.entry-pic-list img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

h2.entry-title,
h2.wp-block-heading {
    font-size: 16px;
}

h2.entry-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.s-content-list {
    flex-direction: row-reverse;
}

.s-content-rlist {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    background-color: var(--s-bg-1);
    border-radius: var(--s-rounded-2);
    /* box-shadow: var(--s-shadow-1); */
    gap: 0;
    border-bottom: 1px solid #E7E7E7;
    padding-bottom: 10px;
}

.gb-tabs__menu {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 0 24px;
    margin-bottom: 10px;
}

.gb-tabs__menu-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px !important;
    border-radius: 999px;
    border: 1px solid #DADADA;
    font-size: 16px;
    color: rgba(34, 34, 34, 0.9);
    cursor: pointer;
    background: transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gb-tabs__menu-item[aria-selected="true"],
.gb-tabs__menu-item.gb-block-is-current,
.gb-tabs__menu-item:hover {
    background: #0080ff !important;
    border-color: #0080ff !important;
    color: #fff !important;
}

.header-grid {
    align-items: center !important;
    padding: 12px 24px !important;
    gap: 24px !important;
}

.sub-header {
    width: 100%;
    justify-content: space-evenly !important;
}

.sub-header>* {
    flex: 1;
    text-align: center;
}

.sub-header .gb-navigation,
.sub-header .gb-menu-container {
    width: 100%;
}

.sub-header .gb-menu {
    justify-content: space-between !important;
    width: 100% !important;
}

.sub-header .gb-menu>li {
    flex: 1 !important;
    text-align: center;
}

.logo-brand {
    align-items: center !important;
    /* gap: 8px; */
}

.logo-brand .wp-block-image {
    margin: 0 !important;
}

.logo-brand h2 {
    margin: 0;
    padding: 0 4px;
}

.wp-block-search__no-button .wp-block-search__inside-wrapper {
    border: 1.5px solid #ddd !important;
    border-radius: 999px !important;
    padding: 8px 20px 8px 44px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 16px center !important;
    background-size: 18px !important;
    overflow: hidden;
}

.wp-block-search__no-button .wp-block-search__input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: 15px;
    color: #333;
    width: 100%;
}

.s-camp-hero {
    position: relative !important;
    overflow: hidden !important;
}

.student1,
.student2 {
    position: absolute !important;
    bottom: -40px !important;
    width: clamp(180px, 20vw, 300px) !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    z-index: 10;
}

.student1 {
    right: calc(50% + 340px) !important;
    left: auto !important;
    object-position: right bottom !important;
}

.student2 {
    left: calc(50% + 370px) !important;
    right: auto !important;
    object-position: left bottom !important;
}

@media (max-width: 1280px) {
    .student1,
    .student2 {
        width: 160px !important;
    }
}

@media (max-width: 1100px) {
    .student1,
    .student2 {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .header-grid {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 8px 16px !important;
        gap: 0 !important;
    }
    .header-row {
        order: 2;
        flex: 1;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative;
    }
    .header-btn {
        display: none !important;
    }
    .header-row .wp-block-search__no-button {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .header-row .wp-block-search__no-button .wp-block-search__inside-wrapper {
        border: none !important;
        background-color: transparent !important;
        background-position: center !important;
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        min-width: unset !important;
        position: relative;
    }
    .header-row .wp-block-search__no-button .wp-block-search__input {
        position: absolute !important;
        right: 0;
        top: 0;
        width: 36px !important;
        height: 36px !important;
        opacity: 0;
        cursor: pointer;
        border-radius: 999px !important;
        transition: width 0.3s, opacity 0.3s, right 0.3s;
        background: white !important;
        border: none !important;
        padding: 0 !important;
    }
    .header-row .wp-block-search__no-button:focus-within .wp-block-search__input {
        width: 200px !important;
        right: 0;
        opacity: 1;
        cursor: text;
        border: 1.5px solid #ddd !important;
        padding: 6px 16px 6px 36px !important;
    }
    .sub-header {
        order: 1;
        width: auto !important;
        flex: 0 0 auto;
        justify-content: flex-start !important;
    }
    .sub-header .gb-menu-toggle {
        display: flex !important;
    }
}


/* Banner CTA */

#banner-cta {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    width: 180px;
    transition: opacity 0.3s, transform 0.3s;
}

#banner-cta.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

#banner-cta a img {
    max-width: 100%;
    width: 80%;
    height: auto;
    display: block;
    border-radius: 12px;
}

#banner-cta-close {
    position: absolute;
    top: 0%;
    right: 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e53935;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    #banner-cta {
        width: 130px;
        bottom: 16px;
        left: 16px;
    }
}