/* Homepage DiscoverCars partner section. */
.rental-car-partner { padding-top: 28px; padding-bottom: 8px; }
.rental-car-card { display: flex; align-items: center; gap: 20px; max-width: 960px; margin: 0 auto; padding: 24px 28px; border: 1px solid #e3eaf1; border-radius: 18px; background: #fff; box-shadow: 0 6px 22px #102c450a; }
.rental-car-icon { display: grid; place-items: center; flex: 0 0 52px; height: 52px; border-radius: 14px; background: #edf3ff; font-size: 28px; }
.rental-car-copy { flex: 1; min-width: 0; }
.rental-car-copy h2 { margin: 0 0 6px; font-family: inherit; font-size: 20px; font-weight: 600; line-height: 1.3; }
.rental-car-copy p { margin: 0; font-size: 14px; color: #40576b; }
.rental-car-provider { display: block; margin-top: 6px; font-size: 12px; color: #526477; }
.rental-car-cta { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 46px; padding: 12px 20px; border-radius: 10px; background: #2563eb; color: white; font-size: 14px; font-weight: 600; text-decoration: none; }
.rental-car-cta:hover { background: #1d4ed8; color: white; }
.rental-car-cta:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 4px; }
.rental-car-new-tab { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rental-car-disclosure { max-width: 960px; margin: 12px auto 0; color: #526477; font-size: 12px; line-height: 1.6; text-align: center; }
@media (max-width: 767px) {
  .rental-car-card { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 20px; border-radius: 16px; }
  .rental-car-icon { height: 36px; font-size: 23px; border-radius: 10px; }
  .rental-car-copy h2 { font-size: 18px; }
  .rental-car-cta { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
  .rental-car-disclosure { padding: 0 8px; }
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 1.5; /* Editorial readability */
  color: var(--color-text-primary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-display: swap; /* Prevent layout shift */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  line-height: 1.2; /* Editorial tightness */
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em; /* Editorial refinement */
}

h1 {
  font-weight: var(--font-weight-bold);
}

h2 {
  font-weight: var(--font-weight-medium);
}

h3 {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-semibold);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-relaxed);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

/* Focus States for Accessibility */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* Give the existing Featured Destinations photography a brighter, fresher finish. */
.destinations-carousel .card-image{filter:brightness(1.1) saturate(1.12) contrast(1.04)}
.destinations-carousel .card-image>div{background:linear-gradient(to bottom,transparent 0%,rgba(7,35,61,.12) 100%)!important}

/* Agoda October Editorial Campaign Promotion */
.editorial-promo-section {
    padding-top: 40px;
    padding-bottom: 40px;
}
.editorial-promo-card {
    display: grid;
    grid-template-columns: 44% 56%;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e3eaf1;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(16, 44, 69, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.editorial-promo-media {
    position: relative;
    min-height: 260px;
    background: #f4f1e8;
}
.editorial-promo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 55%;
    display: block;
}
.editorial-promo-media-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #15343b;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}
.editorial-promo-body {
    padding: 38px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.editorial-promo-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #e45b3e;
    margin-bottom: 10px;
    display: inline-block;
}
.editorial-promo-headline {
    font-family: var(--font-display, 'Georgia', serif);
    font-size: 1.85rem;
    line-height: 1.25;
    color: #15343b;
    margin: 0 0 12px 0;
    font-weight: 700;
}
.editorial-promo-desc {
    color: #556b6f;
    font-size: 1.02rem;
    line-height: 1.5;
    margin: 0 0 24px 0;
    max-width: 520px;
}
.editorial-promo-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.editorial-promo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #15343b;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}
.editorial-promo-cta:hover {
    background: #0d2328;
    transform: translateY(-1px);
    color: #ffffff !important;
}
.editorial-promo-teaser-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2f5;
    color: #556b6f !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 11px 22px;
    border-radius: 999px;
    cursor: default;
    border: 1px solid #dbe2e8;
}
.editorial-promo-partner-label {
    font-size: 0.82rem;
    color: #7b8e92;
}
.editorial-promo-disclosure {
    font-size: 0.75rem;
    color: #8b9ea2;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .editorial-promo-card {
        grid-template-columns: 1fr;
    }
    .editorial-promo-media {
        min-height: 220px;
        max-height: 280px;
    }
    .editorial-promo-body {
        padding: 28px 24px;
    }
    .editorial-promo-headline {
        font-size: 1.5rem;
    }
    .editorial-promo-desc {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
}
@media (max-width: 480px) {
    .editorial-promo-section {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .editorial-promo-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .editorial-promo-cta, .editorial-promo-teaser-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .editorial-promo-headline {
        font-size: 1.35rem;
    }
}

/* Featured Stays: 3 Editorial Hotel Cards */
.featured-stays-section {
    padding-top: 48px;
    padding-bottom: 56px;
}
.featured-stays-header {
    margin-bottom: 28px;
    text-align: left;
}
.featured-stays-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #e45b3e;
    margin-bottom: 8px;
    display: inline-block;
}
.featured-stays-headline {
    font-family: var(--font-display, 'Georgia', serif);
    font-size: 2.1rem;
    line-height: 1.25;
    color: #15343b;
    margin: 0 0 8px 0;
    font-weight: 700;
}
.featured-stays-subtitle {
    color: #556b6f;
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}
.featured-stays-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.hotel-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e3eaf1;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 44, 69, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hotel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(16, 44, 69, 0.09);
}
/* Screen reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hotel-gallery {
    display: flex;
    flex-direction: column;
    background: #f4f1e8;
}
.hotel-gallery-main {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.hotel-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}
.hotel-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
}
.hotel-thumb-btn {
    appearance: none;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    height: 72px;
    display: block;
    position: relative;
    transition: border-color 0.15s ease, opacity 0.15s ease;
}
.hotel-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hotel-thumb-btn:hover {
    opacity: 0.85;
}
.hotel-thumb-btn:focus-visible {
    outline: 2px solid #15343b;
    outline-offset: 2px;
}
.hotel-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hotel-card-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.hotel-stars {
    color: #d97706;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}
.hotel-location {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}
.hotel-name {
    font-family: var(--font-display, 'Georgia', serif);
    font-size: 1.25rem;
    line-height: 1.35;
    color: #15343b;
    margin: 0 0 10px 0;
    font-weight: 700;
}
.hotel-description {
    font-size: 0.9rem;
    color: #556b6f;
    line-height: 1.5;
    margin: 0 0 18px 0;
    flex: 1;
}
.hotel-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.hotel-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #15343b;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    min-height: 44px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}
.hotel-card-cta:hover {
    background: #0d2328;
    transform: translateY(-1px);
    color: #ffffff !important;
}
.hotel-card-provider {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.featured-stays-disclosure {
    margin-top: 24px;
    text-align: center;
}
.featured-stays-disclosure p {
    font-size: 0.76rem;
    color: #8b9ea2;
    margin: 0;
    line-height: 1.4;
}

/* Tablet: 1080px */
@media (max-width: 1080px) {
    .featured-stays-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .featured-stays-grid .hotel-card:last-child {
        grid-column: 1 / -1;
        max-width: 580px;
        margin: 0 auto;
        width: 100%;
    }
    .featured-stays-headline {
        font-size: 1.8rem;
    }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {
    .featured-stays-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .featured-stays-grid .hotel-card:last-child {
        grid-column: auto;
        max-width: none;
    }
    .featured-stays-section {
        padding-top: 32px;
        padding-bottom: 36px;
    }
    .featured-stays-headline {
        font-size: 1.5rem;
    }
    .hotel-gallery-main {
        height: 200px;
    }
    .hotel-thumb-btn {
        height: 56px;
    }
}

@media (max-width: 480px) {
    .hotel-card-body {
        padding: 16px 16px 18px;
    }
    .hotel-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hotel-card-cta {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .hotel-card-provider {
        text-align: center;
    }
}


