/* Trang Đổi địa chỉ cũ ↔ mới */
.rubric-hero.ad-hero { padding: 20px 0 8px; }
.rubric-hero.ad-hero .rubric-hero__box { padding: 28px 30px !important; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #e11d48, #9f1239 55%, #4c0519) !important; }
.rubric-hero.ad-hero .rubric-hero__box::before { display: none; }
.rubric-hero.ad-hero h1, .rubric-hero.ad-hero p, .rubric-hero.ad-hero .crumbs, .rubric-hero.ad-hero .crumbs a { color: #fff; }
.rubric-hero.ad-hero h1 .icon { color: #fde047; }
.ad-en { opacity: .75; font-size: 14px; font-style: italic; }
@media (max-width: 640px) { .rubric-hero.ad-hero .rubric-hero__box { padding: 20px 18px !important; } }

.ad-box { margin: 16px auto 28px; padding: 20px 22px 24px; max-width: 900px; }
.ad-tabs { margin-bottom: 16px; }
.ad-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ad-box textarea, .ad-box input, .ad-box select { width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--soft, #f3f4f6); color: var(--ink); font: 500 16px/1.4 var(--f, inherit); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.ad-box textarea:focus, .ad-box input:focus, .ad-box select:focus { outline: 2px solid #e11d48; outline-offset: 1px; }
.ad-box textarea { resize: vertical; min-height: 64px; }
.ad-eg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); align-items: center; }
.ad-eg button { padding: 5px 11px; border: 0; border-radius: 999px; background: var(--soft, #f3f4f6); color: var(--ink); font: 600 12.5px/1 inherit; cursor: pointer; }
.ad-eg button:hover { background: #ffe4e6; color: #be123c; }
.ad-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
@media (max-width: 640px) { .ad-row { grid-template-columns: 1fr; } }
.ad-ac { position: relative; }
.ad-sug { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; max-height: 320px; overflow: auto; border-radius: 12px; background: var(--card, #fff); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35); }
.ad-sug[hidden] { display: none; }
.ad-sug button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: 500 14.5px/1.3 inherit; text-align: left; cursor: pointer; }
.ad-sug button:hover { background: #fff1f2; }
.ad-sug small { color: var(--muted); font-size: 12px; }
.ad-sug .muted { padding: 9px 12px; color: var(--muted); }

.ad-out { display: grid; gap: 12px; margin-top: 18px; }
.ad-out:empty { display: none; }
.ad-res { padding: 16px 18px; border-radius: 14px; background: linear-gradient(180deg, #fff7f8, var(--card, #fff)); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 22px -14px rgba(159, 18, 57, .35); }
.ad-res__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.ad-res__top small { color: var(--muted); font-size: 13px; }
.ad-badge { padding: 3px 10px; border-radius: 999px; font: 800 11.5px/1.4 inherit; text-transform: uppercase; letter-spacing: .03em; }
.ad-badge.is-full { background: #dcfce7; color: #166534; }
.ad-badge.is-part { background: #fef3c7; color: #92400e; }
.ad-res__addr { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ad-res__addr b { font-size: 20px; line-height: 1.35; color: var(--ink); }
.ad-copy { flex: none; padding: 8px 14px; border: 0; border-radius: 10px; background: #e11d48; color: #fff; font: 700 13px/1 inherit; cursor: pointer; }
.ad-copy:hover { background: #be123c; }
.ad-res__from { margin: 10px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.ad-res__from span { font-weight: 700; color: var(--ink); }
.ad-res__links { display: flex; gap: 16px; margin-top: 10px; font-size: 13.5px; font-weight: 700; }
.ad-res__links a { color: #e11d48; }
.ad-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 4px; }
.ad-chip { padding: 6px 11px; border-radius: 10px; background: #dcfce7; color: #14532d; font-size: 14px; font-weight: 600; }
.ad-chip.is-part { background: #fef3c7; color: #78350f; }
.ad-chip i { font-style: normal; font-size: 11px; opacity: .8; }
.ad-empty, .ad-warn, .ad-info { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; line-height: 1.55; }
.ad-empty { background: var(--soft, #f3f4f6); color: var(--muted); }
.ad-warn { background: #fef3c7; color: #78350f; }
.ad-info { background: #e0f2fe; color: #0c4a6e; }

.ad-notes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 900px; margin: 0 auto 40px; }
.ad-note { padding: 18px 20px; }
.ad-note h3 { font-size: 16px; margin-bottom: 8px; }
.ad-note p { font-size: 14px; line-height: 1.6; color: var(--muted); }
:root[data-theme="dark"] .ad-res { background: linear-gradient(180deg, #2a1218, var(--card)); }
@media (max-width: 640px) {
  .rubric-hero.ad-hero h1 { font-size: 26px; }
  .rubric-hero.ad-hero p { font-size: 14.5px; line-height: 1.5; }
  .ad-en { display: none; }
  .ad-box { padding: 16px 14px 18px; }
  .ad-res__addr b { font-size: 17px; }
}
.ad-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; overflow: visible; } .ad-tabs .tab { padding: 0 6px; } @media (max-width: 640px) { .ad-tabs .tab { font-size: 13px; } }
