.swin-home {
  --swin-gold: #977b34;
  --swin-dark: #25211a;
  --swin-gutter: clamp(14px, 3.15vw, 56px);
}
.swin-home .event_menu > .header {
  position: relative !important;
  inset: auto !important;
  background: #fff;
  box-shadow: none;
}
.swin-home .event_menu > .header img[src$="/images/logo.png"] {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.swin-home .swin-visit-strip,
.swin-home .box_banner {
  width: auto;
  margin-inline: var(--swin-gutter);
}
.swin-visit-strip {
  min-height: 52px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 7px clamp(12px, 2vw, 30px);
  border-bottom: 1px solid var(--swin-gold);
  background: linear-gradient(105deg, #f5f1e5, #faf7ef);
  color: var(--swin-dark);
}
.swin-visit-strip a {
  color: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.swin-visit-strip i { margin-inline-end: .45em; }
.swin-visit-strip__booking {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--swin-gold);
  padding: 8px 14px;
}
.swin-home .box_banner { position: relative; margin-block: 7px 14px; }
.swin-home .box_banner img[data-u="image"] { object-fit: cover; }
.swin-hero-copy {
  position: absolute;
  z-index: 10;
  inset: auto auto clamp(14px, 2vw, 28px) clamp(14px, 2vw, 30px);
  max-width: calc(100% - 30px);
  box-sizing: border-box;
  padding: 16px clamp(16px, 2vw, 28px);
  background: linear-gradient(95deg, #f9f3e5 3%, #f9f3e5ef 76%, #f9f3e5d9);
  color: var(--swin-dark);
}
.swin-hero-copy h1,
.swin-home .swin-intro .box_title_text {
  margin: 0;
  color: var(--swin-dark);
  font: 700 clamp(26px, 3vw, 48px)/1.14 Georgia, 'Times New Roman', serif;
  letter-spacing: 0;
}
.swin-hero-copy p { margin: 5px 0 14px; font-size: clamp(15px, 1.55vw, 23px); line-height: 1.35; }
.swin-hero-copy__links { display: flex; flex-wrap: wrap; gap: 9px 16px; }
.swin-home .swin-action {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 9px 19px;
  border: 1px solid var(--swin-gold);
  color: #fff;
  background: #816725;
  font: 700 16px/1.3 Arial, sans-serif;
  text-decoration: none;
}
.swin-home .swin-action--outline { color: #71571e; background: #faf2de; }
.swin-home .swin-action:hover,
.swin-visit-strip__booking:hover { background: #644d19; color: #fff; }
.swin-home .swin-intro {
  background: radial-gradient(ellipse at 28% 0%, #f4e9cb, transparent 65%), linear-gradient(115deg, #d7c28a, #af944d) !important;
  color: var(--swin-dark);
  padding: clamp(24px, 3.3vw, 50px) var(--swin-gutter);
}
.swin-home .swin-intro .box_introduce {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 22px 34px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0;
}
.swin-home .swin-intro .box_title { grid-column: 1 / -1; margin: 0; width: 100%; text-align: center; }
.swin-home .swin-intro .box_title_text { text-transform: uppercase; }
.swin-home .swin-intro .box_title_line { margin: 10px auto 0; }
.swin-home .swin-intro .box_introduce_left,
.swin-home .swin-intro .box_introduce_right {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--swin-dark);
}
.swin-home .swin-intro .box_introduce_left { align-self: center; }
.swin-home .swin-intro .box_introduce_left p { margin: 0 0 18px; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.45; color: inherit; }
.swin-home .swin-intro .box_introduce_right figure { margin: 0; border: 1px solid #f4e8cd; background: #e8d9b2; }
.swin-home .swin-intro .box_introduce_right img { display: block; width: 100%; height: auto; }
.swin-intro__benefits { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; margin: 0 0 19px; list-style: none; }
.swin-intro__benefits li { display: flex; gap: 7px; align-items: center; font-weight: 700; color: var(--swin-dark); }
.swin-intro__benefits i { width: 18px; text-align: center; }
@media (min-width: 1100px) {
  .swin-home .event_menu > .header.fl_pc {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(190px, 17vw, 270px) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 70px;
    box-sizing: border-box;
    padding: 6px var(--swin-gutter);
  }
  .swin-home .header.fl_pc .header_left,
  .swin-home .header.fl_pc .header_center,
  .swin-home .header.fl_pc .header_right { position: static; float: none; width: auto; margin: 0; padding: 0; }
  .swin-home .header.fl_pc .header_right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
  .swin-home .header.fl_pc .header_left .fl_social { display: none; }
  .swin-home .header.fl_pc .menu { display: flex; justify-content: center; gap: clamp(6px, 1.2vw, 20px); margin: 0; padding: 0; }
  .swin-home .header.fl_pc .menu > li { float: none; width: auto; margin: 0; padding: 0; }
  .swin-home .header.fl_pc .menu > li > a { font-weight: 700; font-size: clamp(13px, 1.2vw, 19px); line-height: 2.7; white-space: nowrap; color: #242424; }
  .swin-home .header.fl_pc .btn_flag { position: static; float: none; display: flex; gap: 3px; margin: 0; }
  .swin-home .header.fl_pc .header_center h1 { margin: 0; }
  .swin-home .header.fl_pc figure.logo { box-sizing: border-box; width: 100%; margin: 0; padding: 15px 16px; background: linear-gradient(#4c4c4c, #080808); }
}
@media (max-width: 1099px) {
  .swin-home .event_menu > .header.fl_mobile .div_nav figure { background: linear-gradient(#4c4c4c, #080808); padding: 8px 12px; }
}
@media (max-width: 640px) {
  .swin-visit-strip { justify-content: space-between; gap: 8px; min-height: 43px; padding: 6px 9px; }
  .swin-visit-strip a { font-size: 13px; }
  .swin-visit-strip__booking { padding: 6px 7px; }
  .swin-hero-copy { position: static; max-width: 100%; padding: 13px 12px; }
  .swin-hero-copy h1 { font-size: clamp(22px, 5.4vw, 28px); }
  .swin-hero-copy p { margin: 4px 0 9px; }
  .swin-home .swin-action { padding: 7px 10px; font-size: 14px; }
  .swin-home .swin-intro .box_introduce { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .swin-home .swin-intro .box_title_text { font-size: 26px; }
  .swin-intro__benefits { font-size: 13px; }
}

/* Refine the homepage layout around the existing theme rules. */
.swin-home .event_menu > .header { width: 100%; max-width: none; box-sizing: border-box; }
.swin-home .box_banner { width: calc(100% - 2 * var(--swin-gutter)); max-width: none; }
.swin-home .swin-intro { width: 100%; box-sizing: border-box; }
.swin-home #IsPopup { display: none !important; }
.swin-home .swin-intro .box_title { padding: 0; min-height: 0; }
.swin-home .swin-intro .box_title_line { position: relative; width: min(100%, 470px); height: 20px; }
.swin-home .swin-intro .box_title_line img { display: none; }
.swin-home .swin-intro .box_title_line::before,
.swin-home .swin-intro .box_title_line::after { content: ''; position: absolute; inset: 9px 0 auto; height: 1px; background: #fff7e4; }
.swin-home .swin-intro .box_title_line::after { inset: 4px calc(50% - 5px) auto; height: 10px; transform: rotate(45deg); }
@media (min-width: 1100px) {
  .swin-home .event_menu > .header.fl_mobile { display: none !important; }
  .swin-home .header.fl_pc .header_left .menu { justify-content: flex-start; }
  .swin-home .header.fl_pc .menu > li > a { text-transform: none; padding-inline: 2px; }
  .swin-home .header.fl_pc .header_center h1,
  .swin-home .header.fl_pc .header_center h1 > a { display: block; height: auto; }
  .swin-home .header.fl_pc figure.logo { display: flex; float: none; align-items: center; height: 56px; overflow: visible; padding: 10px 16px; }
  .swin-home .header.fl_pc .btn_flag { height: auto; width: auto; flex: 0 0 auto; }
  .swin-home .header.fl_pc .btn_flag li { width: auto; height: auto; margin: 0; }
  .swin-home .header.fl_pc .btn_flag img { width: 23px; height: auto; vertical-align: middle; }
}
@media (max-width: 1099px) {
  .swin-home .event_menu > .header.fl_pc { display: none !important; }
  .swin-home .event_menu > .header.fl_mobile { display: block !important; }
}

.swin-home .swin-intro .box_title_line { float: none; margin: 10px auto 0 !important; }
.swin-home .box_banner img[src$="/swin-toa-nha-nguyen-van-dau-trang-chu.jpg"] { object-fit: cover; object-position: 50% 64%; }

/* Trang chủ: sáu mục điều hướng và logo SWIN TOWER. */
.swin-home .event_menu > .header .menu > li:has(> a[data-active="news"]),
.swin-home .event_menu > header #slide-out > li:has(> a[data-active="news"]) { display: none !important; }
.swin-home .header.fl_pc figure.logo,
.swin-home .event_menu > header .div_menu > figure,
.swin-home .event_menu > .header.fl_mobile .div_nav figure {
  background: linear-gradient(180deg, #1682ba 0%, #154c7b 46%, #0a1c43 100%);
}
@media (min-width: 1100px) {
  .swin-home .event_menu > .header.fl_pc { min-height: 74px; gap: clamp(12px, 2vw, 34px); }
  .swin-home .header.fl_pc .header_left > .menu,
  .swin-home .header.fl_pc .header_right > .menu { width: 100%; display: grid; grid-template-columns: 1fr max-content 1fr; gap: clamp(14px, 2vw, 32px); align-items: center; }
  .swin-home .header.fl_pc .menu > li { text-align: center; }
  .swin-home .header.fl_pc .menu > li > a { font-size: clamp(13px, 1.08vw, 17px); font-weight: 700; letter-spacing: 0; }
  .swin-home .header.fl_pc .header_right { gap: clamp(10px, 1.2vw, 19px); }
  .swin-home .header.fl_pc .btn_flag { display: flex; gap: clamp(7px, 1vw, 14px); }
  .swin-home .header.fl_pc figure.logo { height: 54px; }
}

/* Banner Trang chủ: khung thấp, nội dung gọn và ưu tiên ảnh. */
.swin-home .swin-hero-copy h1 span { display: block; font: inherit; color: inherit; }
.swin-home .swin-hero-copy p span { display: block; }
@media (min-width: 900px) {
  .swin-home .box_banner { height: clamp(310px, 26.7vw, 460px); }
  .swin-home .box_banner > #box_banner {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
  }
  .swin-home .swin-hero-copy {
    inset: 0 auto 0 clamp(42px, 5vw, 96px);
    width: clamp(272px, 28%, 390px);
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px clamp(10px, 1.2vw, 18px);
    background: transparent;
    pointer-events: none;
  }
  .swin-home .swin-hero-copy::before {
    content: '';
    position: absolute;
    inset: 0 -34px 0 calc(-1 * clamp(42px, 5vw, 96px));
    z-index: -1;
    background: linear-gradient(90deg, #f3ead9ed 0%, #f8efdcf5 60%, #f8efdcbd 85%, #f8efdc00 100%);
  }
  .swin-home .swin-hero-copy h1 { font-size: clamp(26px, 2.05vw, 36px); }
  .swin-home .swin-hero-copy h1::after { content: ''; display: block; width: 56px; height: 2px; margin-top: 13px; background: #987634; }
  .swin-home .swin-hero-copy p { margin: 10px 0 15px; font-size: clamp(15px, 1.3vw, 19px); }
  .swin-home .swin-hero-copy__links { gap: 8px 10px; }
  .swin-home .swin-hero-copy .swin-action { pointer-events: auto; padding: 8px 12px; font-size: clamp(13px, 1vw, 15px); }
}
@media (max-width: 899px) {
  .swin-home .swin-hero-copy { position: static; max-width: 100%; }
}
