/* =============================================================================
   Badminton Horse — Accommodation directory
   Covers: list, detail, search results, no-results, edit form

   Scale anchor: .bht-acc-list__header h2 = 3.5rem
   All other sizes are derived from that baseline.
   ============================================================================= */



/* TinyMCE toolbar icons rely on the dashicons icon font.
   The wildcard rule above must not touch .mce-* elements (handled by :not above),
   but we also explicitly restore the font for the icon elements to be safe. */
.bht-acc .mce-ico {
    font-family: dashicons;
}

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */

.bht-acc-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 500px;
    background: #1e2a6e;
}

.bht-acc-hero__img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 30%;
}

.bht-acc-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 56px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
}

.bht-acc-hero__title {
    margin: 0;
    font-size: 3.5rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
}

/* ---------------------------------------------------------------------------
   Shared page container
   --------------------------------------------------------------------------- */

.bht-acc {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 32px 80px;
    font-family: inherit;
    color: #1a1a2e;
}

/* ---------------------------------------------------------------------------
   List page — header block
   --------------------------------------------------------------------------- */

.bht-acc-list__header {
    margin-bottom: 44px;
}

.bht-acc-list__header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 20px;
    color: #1a1a2e;
    line-height: 1.15;
}

.bht-acc-list__intro {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 28px;
}

/* ---------------------------------------------------------------------------
   Search form
   --------------------------------------------------------------------------- */

.bht-acc-search-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bht-acc-search-form__row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: nowrap;
}

.bht-acc-search-field-wrap {
    position: relative;
    min-width: 0;
}

.bht-acc-search-field-wrap .bht-acc-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
    color: #6E7375;
}

input[type="search"].bht-acc-search-field,
.bht-acc-search-field {
    display: block;
    width: 333px;
    height: 48px;
    padding: 0 20px 0 58px;
    border: 1px solid #f4f6f7;
    border-radius: 30px;
    font-size: 1.375rem;
    color: #6E7375;
    outline: none;
    transition: border-color 0.15s;
    background: #f4f6f7;
    -webkit-appearance: none;
    appearance: none;
}

.bht-acc-search-field::placeholder {
    color: #131214;
}

.bht-acc-search-field:focus {
    border-color: #3c48b4;
}

.bht-acc-search-submit {
    height: 48px;
    padding: 0 40px;
    background: #27348b;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.bht-acc-search-submit:hover {
    background: #1e2a6e;
}

.bht-acc-search-reset {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    color: #3c48b4;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.bht-acc-search-reset:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   List page — filters (admin-configurable, see class-filters.php)

   Structure and slide-from-the-right behaviour mirror the Historical
   Results filter panel (badminton-historical-results/assets/css/
   results.css: .bhr-filter-panel etc.), adapted to submit via plain GET
   rather than AJAX.
   --------------------------------------------------------------------------- */

.bht-acc-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border: 1px solid #f4f6f7;
    border-radius: 30px;
    background: #f4f6f7;
    color: #131214;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.15s, background 0.15s;
}

.bht-acc-filters-btn:hover {
    border-color: #3c48b4;
    background: #eceffb;
}

.bht-acc-filters-btn__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #27348b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

/* Slide-out panel */

.bht-acc-filter-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100vw;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 32px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.bht-acc-filter-panel[hidden] {
    display: none;
}

.bht-acc-filter-panel.is-open {
    transform: translateX(0);
}

.bht-acc-filter-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e8f0;
    flex-shrink: 0;
}

.bht-acc-filter-panel__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.bht-acc-filter-panel__close {
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: color 0.15s, background 0.15s;
}

.bht-acc-filter-panel__close:hover {
    color: #1a1a2e;
    background: #f4f6f7;
}

.bht-acc-filter-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.bht-acc-filter-panel__section {
    border: none;
    margin: 0;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e8f0;
}

.bht-acc-filter-panel__section-title {
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--bhr-grey-text);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 14px;
    display: block;
}

.bht-acc-filter-panel__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    cursor: pointer;
    font-size: 1.4375rem;
    color: #333;
    line-height: 1.3;
    margin: 10px 0px;
}

.bht-acc-filter-panel__option input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #27348b;
}

.bht-acc-filter-panel__footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex-shrink: 0;
}

.bht-acc-filter-panel__clear,
.bht-acc-filter-panel__apply {
    height: 46px;
    padding: 0;
    border-radius: 24px;
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.bht-acc-filter-panel__clear {
    border: 1.5px solid #d8dce8;
    background: transparent;
    color: #333;
    transition: background 0.15s, border-color 0.15s;
}

.bht-acc-filter-panel__clear:hover {
    background: #f4f6f7;
    border-color: #9ca3af;
}

.bht-acc-filter-panel__apply {
    border: none;
    background: #27348b;
    color: #fff;
    transition: background 0.15s;
}

.bht-acc-filter-panel__apply:hover {
    background: #1e2a6e;
}

/* Overlay */

.bht-acc-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
}

.bht-acc-filter-overlay[hidden] {
    display: none;
}

.bht-acc-filter-overlay.is-visible {
    display: block;
}

body.bht-acc-body--panel-open {
    overflow: hidden;
}

/* ---------------------------------------------------------------------------
   List page — distance group
   --------------------------------------------------------------------------- */

.bht-acc-list__group {
    margin-bottom: 0;
}

.bht-acc-list__group:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: red;
}

.bht-acc-list__group-title {
    margin: 0;
    padding: 14px 24px;
    background: #27348b;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.bht-acc-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e8f0;
    border-top: none;
}

/* ---------------------------------------------------------------------------
   List row item (shared with search results)
   --------------------------------------------------------------------------- */

.bht-acc-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 20px 22px;
    border-bottom: 1px solid #e5e8f0;
}

.bht-acc-list__item:last-child {
    border-bottom: none;
}

.bht-acc-list__item:hover {
    background: #f7f8fc;
}

.bht-acc-list__item-inner {
    display: flex;
    align-items: center;
}

.bht-acc-list__item-link {
    text-decoration: none;
    color: inherit;
    transition: background 0.12s;
}

.bht-acc-list__item-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #e5e8f0;
    margin-right: 22px;
}

.bht-acc-list__item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bht-acc-thumb--placeholder {
    object-fit: contain;
    padding: 10px;
}

.bht-acc-list__item-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bht-acc-list__item-body {
    display: flex;
    flex-direction: column;
    width: 320px;
}

.bht-acc-list__item-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.bht-acc-list__item-type {
    font-size: 1.4rem;
    color: #131214;
    line-height: 1.3;
}

.bht-acc-list__item:hover .bht-acc-list__item-title {
    text-decoration: underline;
}

/* Address sits inline at the same level as badge — between body and badge */
.bht-acc-list__item-address {
    font-size: 1.4rem;
    color: #131214;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.bht-acc-list__item-address-link {
    color: inherit;
    text-decoration: none;
}

.bht-acc-list__item-address-link:hover {
    color: #3c48b4;
    text-decoration: underline;
}

.bht-acc-pin-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.bht-acc-pin-icon svg {
    width: 18px;
    height: 18px;
    stroke: #888;
    fill: none;
}

.bht-acc-list__item-chevron {
    font-size: 4rem;
    color: #131214;
    flex-shrink: 0;
    line-height: 1;
    padding-left: 6px;
}

/* ---------------------------------------------------------------------------
   Badges
   --------------------------------------------------------------------------- */


.bht-acc-badge-container {
    width: 118px;
}
.bht-acc-badge {
    display: inline-block;
    height: 28px;
    width: 108px;
    line-height: 28px;
    text-align: center;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bht-acc-badge--booked {
    background: #E6E9EB;
    color: #6E7375;
}

.bht-acc-badge--available {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* ---------------------------------------------------------------------------
   Single / detail page
   --------------------------------------------------------------------------- */

.bht-acc-breadcrumb {
    font-size: 1.5rem;
    color: #3c48b4;
    margin-bottom: 32px;
}

.bht-acc-breadcrumb a {
    color: #3c48b4;
    text-decoration: none;
}

.bht-acc-breadcrumb a:hover {
    text-decoration: underline;
}

.bht-acc-single__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    grid-template-areas:
        "intro sidebar"
        "lower lower";
    gap: 56px;
    align-items: start;
}

.bht-acc-single__intro {
    grid-area: intro;
}

.bht-acc-single__sidebar {
    grid-area: sidebar;
}

.bht-acc-single__lower {
    grid-area: lower;
    width: 100%;
}

/* Section headings (left column) */

.bht-acc-single__about h2,
.bht-acc-single__gallery h2,
.bht-acc-single__rooms h2,
.bht-acc-single__services h2,
.bht-acc-single__nearby h2 {
    font-size: 3.7rem;
    font-weight: 600;
    margin: 0 0 22px;
    color: #1a1a2e;
    padding-bottom: 14px;
    line-height: 1.2;
}

.bht-acc-single__about-body {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #333;
}

.bht-acc-single__accommodation-type {
    font-size: 2rem;
    line-height: 1.6;
    color: #1a1a2e;
}

.bht-acc-single__accommodation-type strong {
    color: #1a1a2e;
    margin-right: 6px;
}

/* Gallery */

.bht-acc-single__gallery {
    margin-bottom: 44px;
}

.bht-acc-single__gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bht-acc-single__gallery-item {
    display: block;
    width: 160px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    background: #e5e8f0;
}

.bht-acc-single__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.15s;
}

.bht-acc-single__gallery-item:hover img {
    opacity: 0.85;
}

/* Room cards */

.bht-acc-single__rooms {
    margin-bottom: 44px;
}

.bht-acc-single__rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.bht-acc-room-card {
    height: 170px;
    border: 1px solid #d8dce8;
    border-radius: 10px;
    padding: 16px 18px;
    background: #F4F6F7;
}

.bht-acc-room-card--booked {
    background: #f4f5fa;
}

.bht-acc-room-card--booked .bht-acc-room-card__type,
.bht-acc-room-card--booked .bht-acc-room-card__desc,
.bht-acc-room-card--booked .bht-acc-room-card__price {
    color: #aaa;
}

.bht-acc-room-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.bht-acc-room-card__type {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
}

.bht-acc-room-card__desc {
    font-size: 1.5rem;
    color: #6E7375;
    line-height: 1.6;
    margin: 0 0 12px;
}

.bht-acc-room-card__price {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #27348b;
}

/* Guest services */

.bht-acc-single__services {
    margin-bottom: 44px;
}

.bht-acc-single__services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}

.bht-acc-service-card {
    display: flex;
    justify-content: space-between;
    height: 149px;
    background: #27348b;
    border-radius: 10px;
    padding: 16px 18px;
    color: #fff;
}

.bht-acc-service-card__header {
    width: 320px;
    margin-bottom: 12px;
}

.bht-acc-service-card__label {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #fff;
}

.bht-acc-service-card__icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.bht-acc-service-card__desc {
    font-size: 1.4rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

/* Nearby accommodations */

.bht-acc-single__nearby {
    margin-bottom: 44px;
}

.bht-acc-single__nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.bht-acc-nearby-card {
    display: flex;
    flex-direction: column;
    width: 160px;
    height: 270px;
    background: #F4F6F7;
    border-radius: 10px;
    padding: 16px 12px;
}

.bht-acc-nearby-card__link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    font-size: 1.2rem;
    text-decoration: none;
    color: #1a1a2e;
}

.bht-acc-nearby-card__img {
    width: 136px;
    height: 124px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    background: #e5e8f0;
}

.bht-acc-nearby-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 14px;
    margin: 18px 0 0;
    color: #1a1a2e;
}

.bht-acc-nearby-card__link:hover .bht-acc-nearby-card__title {
    text-decoration: underline;
}

.bht-acc-nearby-card__type {
    height: 45px;
    font-size: 1.4rem;
    line-height: 1.4rem;
    color: #6E7375;
    margin: 0.7rem 0 0;
    text-overflow: ellipsis;
    overflow: hidden;
}

.bht-acc-nearby-card__explore {
    font-size: 1.4rem;
    font-weight: 600;
}

.bht-acc-nearby-card__link:hover .bht-acc-nearby-card__explore {
    text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   Contact sidebar card
   --------------------------------------------------------------------------- */

/* Featured image — rectangular block above contact card (matches tradestand pattern) */

.bht-acc-single__featured-img {
    width: 100%;
    margin-bottom: 24px;
}

.bht-acc-single__featured-img__bg {
    background-size: 0, cover;
    background-position: 0 0, center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 51.9vw;
    max-height: 260px;
    background-color: #eef0f8;
}

@media (min-width: 768px) {
    .bht-acc-single__featured-img__bg {
        background-position: 0 0, right center;
        background-size: auto auto, cover;
        width: 100%;
        max-width: 490px;
        height: 260px;
    }
}

.bht-acc-contact-card {
    background: #fff;
    position: sticky;
    top: 28px;
}

.bht-acc-contact-card__title {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 24px;
    color: #1a1a2e;
    line-height: 1.2;
}

.bht-acc-contact-card__email,
.bht-acc-contact-card__phone,
.bht-acc-contact-card__website {
    margin: 0 0 14px;
    font-size: 1.6rem;
    word-break: break-word;
    line-height: 1.5;
}

.bht-acc-contact-card__email a,
.bht-acc-contact-card__phone a,
.bht-acc-contact-card__website a,
.bht-acc-contact-card__address-link {
    color: #3c48b4;
    text-decoration: none;
}

.bht-acc-contact-card__email a:hover,
.bht-acc-contact-card__phone a:hover,
.bht-acc-contact-card__website a:hover,
.bht-acc-contact-card__address-link:hover {
    text-decoration: underline;
}

.bht-acc-contact-card__address {
    font-size: 1.6rem;
    font-style: normal;
    line-height: 1.65;
    color: #444;
    margin: 14px 0 28px;
}

.bht-acc-contact-card__book-btn {
    display: block;
    width: 320px;
    height: 48px;
    background: #27348b;
    color: #fff;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 48px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
    letter-spacing: 0.02em;
}

.bht-acc-contact-card__book-btn:hover {
    background: #1e2a6e;
    color: #fff;
}

/* ---------------------------------------------------------------------------
   No-results empty state (rendered as a partial inside list.php)
   --------------------------------------------------------------------------- */

.bht-acc-no-results__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 24px;
    background: #f4f5fa;
    text-align: center;
    margin-top: 8px;
    border-radius: 10px;
}

.bht-acc-no-results__icon {
    display: block;
    width: 120px;
    height: 120px;
    margin-bottom: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none'%3E%3Ccircle cx='48' cy='48' r='46' fill='%23e8eaf6'/%3E%3Ccircle cx='43' cy='40' r='18' stroke='%2327348b' stroke-width='4'/%3E%3Cpath d='M57 54l12 12' stroke='%2327348b' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.bht-acc-no-results__heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    line-height: 1.2;
}

.bht-acc-no-results__body {
    font-size: 1.5rem;
    color: #666;
    margin: 0 0 36px;
    max-width: 440px;
    line-height: 1.65;
}

.bht-acc-no-results__reset {
    display: inline-block;
    padding: 16px 44px;
    border: 2px solid #d0d5e0;
    border-radius: 32px;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    transition: background 0.12s;
}

.bht-acc-no-results__reset:hover {
    background: #f0f1f8;
}

/* ---------------------------------------------------------------------------
   Edit form page (matches tradestand update listing)
   Colours/fonts aligned with trade_stands.scss + theme application form
   --------------------------------------------------------------------------- */

.bht-acc-edit-heading {
    background: #F6F8FB;
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.bht-acc-edit-heading .row {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.bht-acc-edit-heading h1 {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2;
    color: #2A3034;
    text-align: center;
}

@media (min-width: 768px) {
    .bht-acc-edit-heading {
        margin-bottom: 0;
    }

    .bht-acc-edit-heading .row {
        padding: 40px 20px;
    }

    .bht-acc-edit-heading h1 {
        font-size: 42px;
        line-height: 1.14;
        text-align: left;
    }
}

.bht-acc-edit {
    max-width: 1100px;
    padding: 20px 20px 70px;
    color: #2A3034;
    font-family: 'Raleway', sans-serif;
}

.bht-acc-edit .row {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.bht-acc-edit__main {
    width: 100%;
    max-width: 700px;
}

@media (min-width: 768px) {
    .bht-acc-edit__main {
        padding-right: 70px;
    }
}

.bht-acc-edit p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0 0 16px;
    color: #2A3034;
}

.bht-acc-edit p a {
    color: #4A5790;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease-in, border-color 0.2s ease-in;
}

.bht-acc-edit p a:hover {
    color: #5F70BB;
    border-bottom-color: #4A5790;
}

/* ACF front-end form — mirrors .single-tsapplication .page-content rules */

.bht-acc-edit #website-updates .acf-form {
    margin-top: 8px;
}

.bht-acc-edit #website-updates .acf-fields > .acf-field {
    border-top: 1px solid #ECECEC;
    padding: 20px 0;
}

.bht-acc-edit #website-updates .acf-field > .acf-label {
    margin-bottom: 10px;
}

.bht-acc-edit #website-updates .acf-field > .acf-label label {
    font-size: 18px;
    font-weight: 500;
    color: #2A3034;
    line-height: 1.3;
}

.bht-acc-edit #website-updates .acf-field .acf-input .description,
.bht-acc-edit #website-updates .acf-field .acf-input p {
    color: #22272A;
    font-size: 16px;
    line-height: 1.5;
}

.bht-acc-edit #website-updates .acf-field .acf-input p a {
    color: #4A5790;
    text-decoration: underline;
}

.bht-acc-edit #website-updates .acf-field .acf-input p a:hover,
.bht-acc-edit #website-updates .acf-field .acf-input p a:focus {
    color: #5F70BB;
}

.bht-acc-edit #website-updates .acf-input input[type="text"],
.bht-acc-edit #website-updates .acf-input input[type="email"],
.bht-acc-edit #website-updates .acf-input input[type="url"],
.bht-acc-edit #website-updates .acf-input input[type="number"],
.bht-acc-edit #website-updates .acf-input input[type="tel"],
.bht-acc-edit #website-updates .acf-input input[type="search"],
.bht-acc-edit #website-updates .acf-input textarea,
.bht-acc-edit #website-updates .acf-input select {
    width: 100%;
    max-width: 100%;
    padding: 10px 15px;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    color: #2A3034;
    background: #fff;
    border: 1px solid #A0AAB0;
    border-radius: 0;
    box-shadow: none;
}

.bht-acc-edit #website-updates .acf-input input:focus,
.bht-acc-edit #website-updates .acf-input textarea:focus,
.bht-acc-edit #website-updates .acf-input select:focus {
    outline: none;
    border-color: #A0AAB0;
    box-shadow: 0 0 5px rgba(25, 120, 74, 0.5);
}

.bht-acc-edit #website-updates .acf-input .acf-icon {
    top: 50%;
    transform: translateY(-50%);
}

.bht-acc-edit #website-updates .acf-radio-list li label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
}

.bht-acc-edit #website-updates .acf-radio-list li label input {
    margin: 0;
}

.bht-acc-edit #website-updates .acf-field-true-false {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.bht-acc-edit #website-updates .acf-field-true-false .acf-label {
    margin: 0;
}

.bht-acc-edit #website-updates .acf-field-true-false .acf-input label,
.bht-acc-edit #website-updates .acf-field-true-false .acf-input input {
    margin: 0;
}

.bht-acc-edit #website-updates .acf-checkbox-list li label {
    margin: 0;
    padding-left: 34px;
    font-size: 16px;
}

.bht-acc-edit #website-updates .acf-checkbox-list li label input {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.bht-acc-edit #website-updates .acf-button,
.bht-acc-edit #website-updates .acf-repeater .acf-actions .acf-button {
    background-color: #4A5790;
    color: #fff;
    border: none;
    border-radius: 3px;
    line-height: 40px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    transition: background-color 0.2s ease-in-out;
}

.bht-acc-edit #website-updates .acf-button:hover,
.bht-acc-edit #website-updates .acf-button:focus,
.bht-acc-edit #website-updates .acf-button:active {
    background-color: #5F70BB;
    color: #fff;
}

.bht-acc-edit #website-updates .acf-form-submit {
    text-align: center;
    padding-top: 10px;
}

.bht-acc-edit #website-updates .acf-form-submit input[type="submit"] {
    display: inline-block;
    min-width: 200px;
    height: 40px;
    line-height: 40px;
    padding: 0 28px;
    background: #4A5790;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.bht-acc-edit #website-updates .acf-form-submit input[type="submit"]:hover {
    background: #5F70BB;
}

.bht-acc-edit #website-updates .acf-notice.-success {
    margin: 20px 0;
    padding: 16px 20px;
    background: #F6F8FB;
    border: 1px solid #ECECEC;
    font-size: 16px;
    line-height: 1.5;
}

.bht-acc-edit #website-updates .acf-notice.-success a,
.bht-acc-edit #website-updates #website-preview {
    color: #4A5790;
    font-weight: 600;
}

.bht-acc-edit #website-updates .acf-notice.-success a:hover,
.bht-acc-edit #website-updates #website-preview:hover {
    color: #5F70BB;
}

/* Repeater rows (gallery, rooms, guest services) */

.bht-acc-edit #website-updates .acf-repeater > table {
    width: 100%;
    border: 1px solid #ECECEC;
}

.bht-acc-edit #website-updates .acf-repeater .acf-row-handle {
    background: #F6F8FB;
}

.bht-acc-edit #website-updates .acf-repeater .acf-row > td {
    border-top: 1px solid #ECECEC;
    padding: 12px;
    font-size: 16px;
}

/* Preview button below form (tradestand .bht-center + .bht-button) */

.bht-acc-edit .entry-content {
    margin-top: 24px;
}

.bht-acc-edit__center {
    max-width: 700px;
    display: block;
    margin: 0 auto 20px;
    text-align: center;
}

.bht-acc-edit__button {
    display: block;
    line-height: 40px;
    padding: 0 20px;
    background: #4A5790;
    color: #fff !important;
    font-weight: 600 !important;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    border-radius: 3px;
    border: none;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.2s ease-in-out;
}

.bht-acc-edit__button:hover {
    background: #5F70BB;
    color: #fff !important;
}

@media (min-width: 768px) {
    .bht-acc-edit__button {
        display: inline-block;
    }
}

/* ---------------------------------------------------------------------------
   Responsive
   Desktop width values above are unchanged; rules below scale within the
   content area on smaller viewports.
   --------------------------------------------------------------------------- */

@media (max-width: 1000px) {
    .bht-acc-single__layout {
        grid-template-columns: 1fr 320px;
        gap: 40px;
    }
}

@media (max-width: 860px) {
    .bht-acc-hero__img {
        height: 320px;
    }

    .bht-acc-hero__overlay {
        padding: 28px 28px;
    }

    .bht-acc-hero__title {
        font-size: 2.25rem;
    }

    .bht-acc-list__header h2 {
        font-size: 2.25rem;
    }

    .bht-acc {
        padding: 36px 20px 64px;
    }

    /* Detail page — intro, contact sidebar, then full-width lower sections */
    .bht-acc-single__layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "sidebar"
            "lower";
        gap: 40px;
    }

    .bht-acc-contact-card {
        position: static;
    }

    .bht-acc-contact-card__book-btn {
        width: 100%;
        max-width: 100%;
    }

    /* Scale fixed-width detail components to container */
    .bht-acc-single__rooms-grid {
        grid-template-columns: 1fr;
    }

    .bht-acc-room-card {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .bht-acc-single__services-grid {
        grid-template-columns: 1fr;
    }

    .bht-acc-service-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 149px;
    }

    .bht-acc-service-card__header {
        width: auto;
        flex: 1;
        min-width: 0;
    }

    .bht-acc-single__nearby-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bht-acc-nearby-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 270px;
    }

    .bht-acc-nearby-card__img {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 136 / 124;
    }

    /* Gallery — 3-column grid on narrow screens */
    .bht-acc-single__gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .bht-acc-single__gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .bht-acc-search-form__row {
        flex-wrap: wrap;
    }

    .bht-acc-filter-panel {
        width: 100%;
        max-width: 100vw;
    }

    .bht-acc-search-field-wrap {
        width: 100%;
        flex: 1 1 100%;
    }

    input[type="search"].bht-acc-search-field,
    .bht-acc-search-field {
        width: 100%;
    }

    .bht-acc-search-submit,
    .bht-acc-filters-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .bht-acc {
        padding: 28px 16px 56px;
    }

    .bht-acc-hero__img {
        height: 260px;
    }

    .bht-acc-hero__overlay {
        padding: 20px 16px;
    }

    .bht-acc-hero__title {
        font-size: 1.75rem;
    }

    .bht-acc-list__header h2 {
        font-size: 1.75rem;
    }

    .bht-acc-breadcrumb {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .bht-acc-single__about h2,
    .bht-acc-single__gallery h2,
    .bht-acc-single__rooms h2,
    .bht-acc-single__services h2,
    .bht-acc-single__nearby h2,
    .bht-acc-contact-card__title {
        font-size: 3.7rem;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .bht-acc-single__about-body {
        font-size: 1rem;
    }

    .bht-acc-single__about,
    .bht-acc-single__gallery,
    .bht-acc-single__rooms,
    .bht-acc-single__services,
    .bht-acc-single__nearby {
        margin-bottom: 32px;
    }

    .bht-acc-room-card__desc {
        font-size: 1.3rem;
    }

    .bht-acc-service-card {
        padding: 14px 16px;
        gap: 12px;
    }

    .bht-acc-service-card__label {
        margin-bottom: 8px;
    }

    .bht-acc-service-card__desc {
        font-size: 1.3rem;
    }

    .bht-acc-service-card__icon {
        width: 72px;
        height: 72px;
        align-self: center;
    }

    .bht-acc-contact-card__email,
    .bht-acc-contact-card__phone,
    .bht-acc-contact-card__website,
    .bht-acc-contact-card__address {
        font-size: 1.5rem;
    }

    .bht-acc-contact-card__book-btn {
        font-size: 1.25rem;
        height: 48px;
        line-height: 48px;
    }

    .bht-acc-nearby-card__title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-top: 12px;
    }

    .bht-acc-nearby-card__type,
    .bht-acc-nearby-card__explore {
        font-size: 1.3rem;
    }

    .bht-acc-list__item-address {
        display: none;
    }

    .bht-acc-list__item-thumb {
        width: 64px;
        height: 64px;
    }

    .bht-acc-list__item-chevron {
        font-size: 2.5rem;
    }

    .bht-acc-badge-container {
        width: auto;
    }

    .bht-acc-badge {
        width: auto;
        min-width: 108px;
        padding: 0 12px;
    }

    input[type="search"].bht-acc-search-field,
    .bht-acc-search-field {
        font-size: 1rem;
        height: 48px;
        padding-left: 48px;
    }

    .bht-acc-search-field-wrap .bht-acc-search-icon {
        width: 18px;
        height: 18px;
        left: 14px;
    }

    .bht-acc-search-submit {
        height: 48px;
        font-size: 1rem;
        padding: 0 24px;
    }
}
