/* ============================================================
   home.css — Blue Medical Theme
   Palette:
     Navy dark   : #061b45 / #0a2d6e
     Blue primary: #0d5db5
     Cyan accent : #29b6f6
     Red CTA     : #e53935
     Soft bg     : #e8f4fd / #f0f7ff
   ============================================================ */

/* ── HERO ────────────────────────────────────────────────── */
.home-hero {
    background: linear-gradient(160deg, #061b45 0%, #0a2d6e 45%, #0d5db5 100%);
    padding: 64px 0 48px;
    position: relative;
    overflow: hidden;
}

/* Dot texture */
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(41, 182, 246, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Glow blob */
.home-hero::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(41, 182, 246, 0.14), transparent 65%);
    pointer-events: none;
}

.home-hero__inner {
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.home-hero__content {
    max-width: 720px;
    width: 100%;
}

/* Badge pill */
.home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(41, 182, 246, 0.15);
    border: 1px solid rgba(41, 182, 246, 0.3);
    border-radius: 999px;
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #7dd3fc;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.home-hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #29b6f6;
    flex: 0 0 6px;
    animation: heroBadgePulse 2s ease-in-out infinite;
}

@keyframes heroBadgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Title */
.home-hero__title {
    margin: 0 0 8px;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.home-hero__title-prefix {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Rotator pill — RED */
.home-hero__rotator {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding: 12px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    box-shadow: 0 16px 40px rgba(229, 57, 53, 0.35);
    color: #fff;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}

.home-hero__rotator-current {
    display: inline-block;
    min-width: 10ch;
    white-space: nowrap;
}

.home-hero__rotator-current::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 0.95em;
    margin-left: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    vertical-align: -0.08em;
    animation: rtmHeroCaret 0.9s steps(1) infinite;
}

@keyframes rtmHeroCaret {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.home-hero__rotator-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.home-hero__rotator-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: min(360px, calc(100vw - 48px));
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #c5d8f0;
    box-shadow: 0 28px 80px rgba(10, 45, 110, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.home-hero__rotator-option {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    background: #f8fbff;
    color: #1a3a6e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    transition: all 0.18s ease;
    cursor: pointer;
}

.home-hero__rotator-option.is-active,
.home-hero__rotator-option:hover {
    background: #e8f4fd;
    color: #0d5db5;
    transform: translateX(2px);
}

/* Description */
.home-hero__desc {
    margin: 0 auto 28px;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    line-height: 1.7;
}

/* Search bar */
.home-hero__search {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    max-width: 580px;
    margin: 0 auto 20px;
    padding: 6px 6px 6px 16px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(10, 45, 110, 0.25);
    min-height: 62px;
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease,
                max-height 0.24s ease, margin 0.24s ease, padding 0.24s ease, box-shadow 0.24s ease;
    max-height: 96px;
}
/* FIX SEARCH HOME HERO */
.home-hero__search-inner{
    display:flex;
    align-items:center;
    width:100%;
    gap:12px;
    flex-wrap:nowrap;
}

.home-hero__input-wrap{
    flex:1 1 auto;
    min-width:0;
}

.home-hero__input{
    width:100% !important;
    border:none !important;
    outline:none !important;
    box-shadow:none !important;
    background:transparent !important;
    padding:0 !important;
    margin:0 !important;
    height:auto !important;
    min-height:auto !important;
    font-size:15px !important;
}

.home-hero__input:focus{
    border:none !important;
    outline:none !important;
    box-shadow:none !important;
    background:transparent !important;
}

.home-hero__button{
    flex:0 0 48px;
    margin-left:auto;
}
body.home.rtm-header-search-visible .home-hero__search {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    box-shadow: none;
}

.home-hero__select-wrap {
    position: relative;
    flex: 0 0 auto;
    max-width: 140px;
}

.home-hero__select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    padding: 8px 24px 8px 0;
    white-space: nowrap;
    font-family: inherit;
}

.home-hero__select-arrow {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #9ca3af;
    display: flex;
}

.home-hero__divider {
    width: 1px;
    height: 24px;
    background: #e5e7eb;
    margin: 0 14px;
    flex: 0 0 1px;
}

.home-hero__input-wrap {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #9ca3af;
}

.home-hero__input-wrap.is-open .home-hero__suggestions { display: block; }

.home-hero__input-icon { flex: 0 0 auto; }

.home-hero__input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #111827;
    font-size: 15px;
    padding: 8px 0;
    font-family: inherit;
}

.home-hero__input::placeholder { color: #9ca3af; }

.home-hero__clear {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: color 0.15s, background 0.15s;
}

.home-hero__clear:hover { color: #374151; background: #f3f4f6; }

/* Search button — RED */
.home-hero__button {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 50%;
    background: #e53935;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    transition: background 0.18s, transform 0.18s;
}

.home-hero__button:hover { background: #c62828; transform: translateY(-1px); }

/* Suggestion dropdown */
.home-hero__suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: -44px;
    right: -44px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(10, 45, 110, 0.16);
    list-style: none;
    margin: 0;
    padding: 6px;
    z-index: 999;
    display: none;
    max-height: 360px;
    overflow: auto;
    border: 1px solid #c5d8f0;
}

.home-hero__suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.12s;
    color: #374151;
    font-size: 14px;
}

.home-hero__suggestion-item:hover { background: #e8f4fd; }

.home-hero__suggestion-name { flex: 1; font-weight: 600; color: #111827; }

.home-hero__suggestion-type {
    font-size: 12px;
    color: #0d5db5;
    background: #e8f4fd;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

/* Popular tags */
.home-hero__tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.home-hero__tags-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.home-hero__tag {
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.home-hero__tag:hover {
    background: rgba(41, 182, 246, 0.15);
    border-color: #29b6f6;
    color: #29b6f6;
}

/* ── QUICK CATEGORIES ────────────────────────────────────── */
.home-quick-categories {
    background: #e8f4fd;
    border-bottom: 1px solid #c5d8f0;
    padding: 18px 0 22px;
}

.home-quick-categories__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.home-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    border-radius: 14px;
    border: 1.5px solid #c5d8f0;
    background: #fff;
    color: #3a5a8a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.home-category-item:hover {
    border-color: #29b6f6;
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(13, 93, 181, 0.1);
}

.home-category-item.is-active {
    border-color: #0d5db5;
    background: #0d5db5;
    color: #fff;
    box-shadow: 0 4px 16px rgba(13, 93, 181, 0.3);
}

.home-category-item__icon { font-size: 20px; line-height: 1; }

.home-category-item__label { font-size: 12px; font-weight: 700; }

.home-category-item__count {
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(13, 93, 181, 0.1);
    color: #0d5db5;
    font-weight: 700;
}

.home-category-item.is-active .home-category-item__count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ── MAIN CONTENT ────────────────────────────────────────── */
.home-main-content {
    background: #f0f7ff;
    padding: 24px 0 40px;
}

.home-main-content__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 300px;
    gap: 20px;
    align-items: start;
}

.home-main-content__left {
    background: #fff;
    border-radius: 16px;
    padding: 18px 18px 22px;
    border: 1px solid #c5d8f0;
    box-shadow: 0 4px 20px rgba(13, 93, 181, 0.07);
}

.home-main-content__right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Facility tabs */
.home-facility-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e8f4fd;
}

.home-facility-tabs__item {
    background: transparent;
    border: none;
    color: #5a6a8a;
    min-height: auto;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
}

.home-facility-tabs__item:hover {
    background: #e8f4fd;
    color: #0d5db5;
}

.home-facility-tabs__item.is-active {
    color: #fff;
    background: #0d5db5;
}

/* Facility list */
.home-facility-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Facility cards */
.home-facility-list .facility-card {
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    border: 1px solid #ddeaf8;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(13, 93, 181, 0.07);
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.home-facility-list .facility-card:hover {
    box-shadow: 0 8px 28px rgba(13, 93, 181, 0.13);
    border-color: #29b6f6;
    transform: translateY(-2px);
}

.home-facility-list .facility-card__link {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    width: 100%;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.home-facility-list .facility-card__thumb-wrap { width: 100%; }

.home-facility-list .facility-card__thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f4fd 0%, #c5d8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-facility-list .facility-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.home-facility-list .facility-card__thumb-placeholder {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    color: #0d5db5;
}

.home-facility-list .facility-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-facility-list .facility-card__title {
    margin: 0;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
    color: #0a2d6e;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-transform: capitalize;
}

.home-facility-list .facility-card__website {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    word-break: break-word;
}

/* Rating */
.home-facility-list .facility-card__rating-row {
    --facility-rating-color: #f59e0b;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.home-facility-list .facility-card__rating-row--1 { --facility-rating-color: #dc2626; }
.home-facility-list .facility-card__rating-row--2,
.home-facility-list .facility-card__rating-row--3 { --facility-rating-color: #c2410c; }
.home-facility-list .facility-card__rating-row--4 { --facility-rating-color: #eab308; }
.home-facility-list .facility-card__rating-row--5 { --facility-rating-color: #16a34a; }

.home-facility-list .facility-card__stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.home-facility-list .facility-card__star {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #e8f4fd;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.home-facility-list .facility-card__star.is-active {
    background: var(--facility-rating-color);
}

.home-facility-list .facility-card__rating-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--facility-rating-color);
}

.home-facility-list .facility-card__review-count,
.home-facility-list .facility-card__divider {
    font-size: 13px;
    color: #4b5563;
}

.home-facility-list .facility-card__divider { color: #c3c8d2; }

/* Meta info */
.home-facility-list .facility-card__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #4b5563;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.home-facility-list .facility-card__icon {
    flex: 0 0 20px;
    width: 20px;
    min-width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #29b6f6;
    font-size: 15px;
    line-height: 1;
    margin-top: 2px;
}

/* Type badge */
.home-facility-list .facility-card__type-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #e8f4fd;
    color: #0d5db5;
    border: 1px solid #c5d8f0;
}

/* Pagination */
.home-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 18px;
}

.home-pagination__item,
.home-pagination__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-height: 34px;
    border-radius: 50%;
    background: #e8f4fd;
    color: #0d5db5;
    font-size: 13px;
    font-weight: 600;
    padding: 0;
    border: 1px solid #c5d8f0;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.home-pagination__item:hover,
.home-pagination__arrow:hover {
    background: #0d5db5;
    color: #fff;
    border-color: #0d5db5;
}

.home-pagination__item.is-active {
    background: #0d5db5;
    color: #fff;
    border-color: #0d5db5;
}

.home-pagination__arrow.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.home-pagination__dots {
    color: #9ca3af;
    font-size: 13px;
}

/* ── SIDEBAR / REVIEW FEED ───────────────────────────────── */
.home-sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    border: 1px solid #c5d8f0;
    box-shadow: 0 4px 16px rgba(13, 93, 181, 0.06);
}

.home-review-feed__title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: #0a2d6e;
    padding-bottom: 10px;
    border-bottom: 2px solid #29b6f6;
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-review-feed__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-feed-card {
    padding: 12px;
    background: #f8fbff;
    border-radius: 12px;
    border: 1px solid #ddeaf8;
}

.review-feed-card__meta {
    margin: 0 0 4px;
    font-size: 12px;
    color: #4b5563;
}

.review-feed-card__meta a {
    color: #0d5db5;
    font-weight: 600;
}

.review-feed-card__meta a:hover { color: #29b6f6; }

.review-feed-card__rating {
    margin-bottom: 4px;
    font-size: 12px;
    color: #f59e0b;
}

.review-feed-card__time {
    margin: 0 0 6px;
    font-size: 11px;
    color: #9ca3af;
}

.review-feed-card__content {
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

/* ── MARQUEE ─────────────────────────────────────────────── */
.rtm-marquee {
    background: linear-gradient(90deg, #061b45, #0d5db5, #061b45);
    padding: 12px 0;
    overflow: hidden;
    border-top: 1px solid rgba(41, 182, 246, 0.2);
    border-bottom: 1px solid rgba(41, 182, 246, 0.2);
}

.rtm-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: rtmMarqueeScroll 30s linear infinite;
}

@keyframes rtmMarqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-33.33%); }
}

.rtm-marquee__track:hover { animation-play-state: paused; }

.rtm-marquee__item {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    padding: 0 18px;
}

.rtm-marquee__sep {
    color: #29b6f6;
    font-size: 12px;
    flex: 0 0 auto;
}

/* ── COMMUNITY CTA ───────────────────────────────────────── */
.home-community-cta {
    background: #f0f7ff;
    padding: 28px 0 40px;
}

.home-community-cta__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 40px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a2d6e 0%, #0d5db5 60%, #1565c0 100%);
    position: relative;
}

/* Glow blobs inside box */
.home-community-cta__box::before {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(41, 182, 246, 0.18), transparent 70%);
    pointer-events: none;
}

.home-community-cta__box::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 200px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.1), transparent 70%);
    pointer-events: none;
}

.home-community-cta__content {
    max-width: 480px;
    position: relative;
    z-index: 1;
}

/* Label */
.home-community-cta__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #29b6f6;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.home-community-cta__title {
    margin: 0 0 14px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.home-community-cta__desc {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
}

.home-community-cta__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* CTA button — RED */
.home-community-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.home-community-cta__button:hover {
    background: #c62828;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(229, 57, 53, 0.5);
    color: #fff;
}

/* Social icons */
.home-community-cta__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.home-community-cta__social:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    color: #fff;
}

/* Slider */
.rtm-cta-slider {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

.rtm-cta-slider__track { position: relative; }

.rtm-cta-slider__slide {
    display: none;
    gap: 10px;
    align-items: center;
}

.rtm-cta-slider__slide--active {
    display: flex;
}

.rtm-cta-slider__img-wrap {
    width: 90px;
    height: 120px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.rtm-cta-slider__img-wrap:nth-child(2) {
    height: 145px;
    margin-top: -12px;
}

.rtm-cta-slider__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rtm-cta-slider__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.rtm-cta-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.rtm-cta-slider__dot.is-active {
    background: #29b6f6;
    transform: scale(1.3);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .home-main-content__grid {
        grid-template-columns: 1fr;
    }

    .home-main-content__right {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .home-hero { padding: 48px 0 36px; }
    .home-hero__title { font-size: 36px; }

    .home-hero__rotator {
        min-height: 60px;
        padding: 10px 20px;
    }

    .home-community-cta__box {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .home-community-cta__actions { justify-content: center; }

    .rtm-cta-slider__slide { justify-content: center; }
}

@media (max-width: 767px) {
    .home-hero { padding: 40px 0 28px; }

    .home-hero__title {
        font-size: 28px;
        gap: 10px;
    }

    .home-hero__title span { color: #fff; text-transform: capitalize; }
    .home-hero__title-prefix { color: #7dd3fc !important; }

    #rtm-hero-rotator { display: none; }

    .home-hero__rotator {
        width: 100%;
        justify-content: center;
        min-height: 54px;
        padding: 10px 16px;
        border-radius: 20px;
        font-size: 28px;
    }

    .home-hero__rotator-menu {
        position: static;
        min-width: 100%;
        width: 100%;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.15);
        padding: 6px;
        gap: 5px;
        border-radius: 16px;
    }

    .home-hero__rotator-option {
        height: 44px;
        min-height: 44px;
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        font-size: 14px;
        border-radius: 12px;
    }

    .home-hero__rotator-option.is-active,
    .home-hero__rotator-option:hover {
        background: rgba(255, 255, 255, 0.22);
        color: #fff;
        transform: none;
    }

    .home-hero__search {
        border-radius: 12px;
        min-height: 52px;
        padding: 5px 5px 5px 14px;
    }

    .home-hero__button {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        border-radius: 10px;
    }

    .home-main-content__right { grid-template-columns: 1fr; }

    .home-facility-list .facility-card__link {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .home-facility-list .facility-card__title { font-size: 16px; }

    .home-community-cta__title { font-size: 26px; }

    .home-community-cta__box { padding: 28px 20px; }

    .rtm-cta-slider { display: none; }
}