/* Rental Guide full-width GeneratePress reset.
   This stylesheet loads only on /rental-guide/, so these rules do not affect other pages. */
.site.grid-container {
  width:100% !important;
  max-width:none !important;
}
.site-content {
  display:block !important;
  width:100% !important;
  max-width:none !important;
  padding:0 !important;
}
.content-area {
  float:none !important;
  width:100% !important;
  max-width:none !important;
}
.site-main { margin:0 !important; }
.inside-article { padding:0 !important; }
.entry-header { display:none !important; }
.entry-content { margin:0 !important; }
.entry-content > .udcr-terms {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}

.udcr-terms,
.udcr-terms * { box-sizing: border-box; }

.udcr-terms {
  --t-navy:#062640;
  --t-navy2:#0a3966;
  --t-blue:#0873dc;
  --t-blue-soft:#eaf5ff;
  --t-yellow:#ffc400;
  --t-ink:#102a43;
  --t-muted:#607387;
  --t-line:#dbe6ef;
  --t-soft:#f5f9fc;
  --t-green:#087f5b;
  --t-red:#b42318;
  --t-orange:#f97316;
  --t-paper:#fff;
  --t-radius:22px;
  --t-shadow:0 18px 55px rgba(6,38,64,.10);
  color:var(--t-ink);
  background:#fff;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Thai","Helvetica Neue",Arial,sans-serif;
  font-size:16.5px;
  line-height:1.7;
}

.udcr-terms a { color:inherit; text-decoration:none; }
.udcr-terms h1,.udcr-terms h2,.udcr-terms h3 { margin-top:0; color:var(--t-navy); letter-spacing:-.03em; line-height:1.16; }
.udcr-terms h1 { font-size:clamp(2.3rem,5vw,4.65rem); color:#fff; margin-bottom:18px; }
.udcr-terms h2 { font-size:clamp(1.7rem,3.3vw,2.55rem); margin-bottom:14px; }
.udcr-terms h3 { font-size:1.13rem; margin-bottom:8px; }
.udcr-terms p { margin-top:0; }
.udcr-terms p:last-child { margin-bottom:0; }

.udcr-terms-wrap { width:min(1180px,calc(100% - 40px)); margin-inline:auto; }

.udcr-terms-hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:30px 0 96px;
  color:#fff;
  background:
    radial-gradient(circle at 88% 18%,rgba(69,164,255,.32),transparent 30%),
    linear-gradient(122deg,#041b31 0%,#093c70 56%,#0873dc 100%);
}
.udcr-terms-hero::after {
  position:absolute; z-index:-1; right:-160px; bottom:-240px;
  width:620px; height:620px; border:1px solid rgba(255,255,255,.13);
  border-radius:50%; box-shadow:0 0 0 78px rgba(255,255,255,.03),0 0 0 165px rgba(255,255,255,.022);
  content:"";
}

.udcr-terms-topbar {
  display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:58px;
}
.udcr-terms-brand { display:flex; align-items:center; gap:11px; color:#fff; font-weight:850; }
.udcr-terms-brandmark {
  display:grid; width:42px; height:42px; place-items:center; border-radius:12px;
  background:var(--t-yellow); color:#041b31; font-size:.74rem; font-weight:950;
}
.udcr-terms-lang {
  display:inline-flex; gap:4px; padding:4px; border:1px solid rgba(255,255,255,.3);
  border-radius:999px; background:rgba(4,27,49,.35); backdrop-filter:blur(10px);
}
.udcr-terms-lang button {
  min-height:38px; padding:7px 14px; border:0; border-radius:999px; background:transparent;
  color:rgba(255,255,255,.8); cursor:pointer; font:inherit; font-size:.86rem; font-weight:850;
}
.udcr-terms-lang button[aria-pressed="true"] { background:#fff; color:#041b31; }

.udcr-terms-eyebrow {
  display:inline-flex; align-items:center; gap:8px; margin-bottom:15px; color:#acd5ff;
  font-size:.79rem; font-weight:850; letter-spacing:.10em; text-transform:uppercase;
}
.udcr-terms-eyebrow::before { width:8px; height:8px; border-radius:50%; background:var(--t-yellow); content:""; }

.udcr-terms-hero-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr); gap:56px; align-items:end; }
.udcr-terms-hero-copy > p { max-width:760px; color:rgba(255,255,255,.82); font-size:1.08rem; }

.udcr-terms-hero-actions { display:flex; flex-wrap:wrap; gap:11px; margin-top:26px; }
.udcr-terms-btn {
  display:inline-flex; min-height:50px; align-items:center; justify-content:center; gap:8px;
  padding:12px 19px; border:2px solid transparent; border-radius:12px;
  background:var(--t-yellow); color:#041b31!important; font-weight:850; line-height:1.2;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.udcr-terms-btn:hover,.udcr-terms-btn:focus-visible { transform:translateY(-2px); background:#ffd235; box-shadow:0 10px 26px rgba(255,196,0,.18); }
.udcr-terms-btn--outline { border-color:rgba(255,255,255,.5); background:transparent; color:#fff!important; }
.udcr-terms-btn--outline:hover { background:rgba(255,255,255,.09); }
.udcr-terms-btn--blue { background:var(--t-blue); color:#fff!important; }

.udcr-terms-version {
  padding:24px; border:1px solid rgba(255,255,255,.22); border-radius:20px;
  background:rgba(255,255,255,.09); backdrop-filter:blur(12px);
}
.udcr-terms-version-label { color:#acd5ff; font-size:.77rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.udcr-terms-version strong { display:block; margin:5px 0 12px; color:#fff; font-size:1.18rem; }
.udcr-terms-version p { color:rgba(255,255,255,.74); font-size:.88rem; }

.udcr-terms-summary-wrap { position:relative; z-index:5; margin-top:-54px; }
.udcr-terms-summary {
  display:grid; grid-template-columns:repeat(4,1fr); overflow:hidden;
  border:1px solid var(--t-line); border-radius:22px; background:#fff; box-shadow:var(--t-shadow);
}
.udcr-terms-summary-card { padding:24px 22px; }
.udcr-terms-summary-card + .udcr-terms-summary-card { border-left:1px solid var(--t-line); }
.udcr-terms-summary-icon {
  display:grid; width:39px; height:39px; margin-bottom:13px; place-items:center;
  border-radius:11px; background:var(--t-blue-soft); color:var(--t-blue); font-size:.78rem; font-weight:950;
}
.udcr-terms-summary-card strong { display:block; margin-bottom:3px; color:var(--t-navy); }
.udcr-terms-summary-card span { color:var(--t-muted); font-size:.86rem; }

.udcr-terms-layout {
  display:grid; grid-template-columns:270px minmax(0,1fr); gap:46px; align-items:start;
  padding:72px 0 90px;
}
.udcr-terms-sidebar { position:sticky; top:28px; }
.udcr-terms-toc {
  overflow:hidden; border:1px solid var(--t-line); border-radius:18px; background:#fff;
  box-shadow:0 10px 34px rgba(6,38,64,.06);
}
.udcr-terms-toc-head { padding:18px 18px 14px; border-bottom:1px solid var(--t-line); }
.udcr-terms-toc-head strong { color:var(--t-navy); font-size:.94rem; }
.udcr-terms-toc nav { display:grid; max-height:64vh; overflow:auto; padding:8px; }
.udcr-terms-toc a {
  display:block; padding:9px 11px; border-radius:9px; color:#52677c; font-size:.82rem; font-weight:700; line-height:1.35;
}
.udcr-terms-toc a:hover,.udcr-terms-toc a.is-active { background:var(--t-blue-soft); color:var(--t-blue); }
.udcr-terms-side-actions { display:grid; gap:9px; margin-top:13px; }
.udcr-terms-side-actions .udcr-terms-btn { width:100%; min-height:44px; padding:10px 12px; font-size:.84rem; }
.udcr-terms-print { border:1px solid var(--t-line)!important; background:#fff!important; color:var(--t-navy)!important; }

.udcr-terms-content { min-width:0; }
.udcr-terms-intro {
  margin-bottom:28px; padding:24px 26px; border:1px solid #b9daf8; border-radius:18px;
  background:linear-gradient(135deg,#eef8ff,#f9fcff);
}
.udcr-terms-intro strong { color:var(--t-navy); }

.udcr-terms-section {
  scroll-margin-top:26px; margin-bottom:20px; padding:30px;
  border:1px solid var(--t-line); border-radius:20px; background:#fff;
}
.udcr-terms-section--important { border-color:#f6d58f; background:linear-gradient(180deg,#fffdf7,#fff); }
.udcr-terms-section-number {
  display:inline-grid; min-width:34px; height:34px; margin-bottom:13px; place-items:center; padding:0 8px;
  border-radius:10px; background:var(--t-blue-soft); color:var(--t-blue); font-size:.77rem; font-weight:950;
}

.udcr-terms-list { display:grid; gap:9px; margin:14px 0 0; padding:0; list-style:none; }
.udcr-terms-list li { position:relative; padding-left:25px; }
.udcr-terms-list li::before { position:absolute; left:0; top:.1em; color:var(--t-green); content:"✓"; font-weight:950; }
.udcr-terms-list--warning li::before { color:var(--t-orange); content:"!"; }

.udcr-terms-grid2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:16px; }
.udcr-terms-mini {
  padding:18px; border:1px solid var(--t-line); border-radius:14px; background:var(--t-soft);
}
.udcr-terms-mini strong { display:block; margin-bottom:4px; color:var(--t-navy); }
.udcr-terms-mini p { color:var(--t-muted); font-size:.89rem; }

.udcr-terms-callout {
  margin-top:18px; padding:16px 18px; border-left:4px solid var(--t-blue);
  border-radius:0 12px 12px 0; background:var(--t-blue-soft); color:#36536e;
}
.udcr-terms-callout--warning { border-left-color:var(--t-orange); background:#fff7ed; }
.udcr-terms-callout--danger { border-left-color:var(--t-red); background:#fff2f0; color:#713126; }

.udcr-terms-table-wrap { overflow:auto; margin-top:18px; border:1px solid var(--t-line); border-radius:15px; }
.udcr-terms table { width:100%; min-width:660px; border-collapse:collapse; background:#fff; }
.udcr-terms th,.udcr-terms td { padding:13px 14px; border-bottom:1px solid var(--t-line); vertical-align:top; text-align:left; }
.udcr-terms th { background:#f2f7fb; color:var(--t-navy); font-size:.82rem; font-weight:850; }
.udcr-terms td { color:#465f77; font-size:.87rem; }
.udcr-terms tr:last-child td { border-bottom:0; }

.udcr-terms-faq { display:grid; gap:10px; margin-top:18px; }
.udcr-terms-faq details { border:1px solid var(--t-line); border-radius:13px; background:#fff; }
.udcr-terms-faq summary { position:relative; cursor:pointer; list-style:none; padding:17px 48px 17px 18px; color:var(--t-navy); font-weight:850; }
.udcr-terms-faq summary::-webkit-details-marker { display:none; }
.udcr-terms-faq summary::after { position:absolute; right:18px; top:50%; transform:translateY(-50%); color:var(--t-blue); content:"+"; font-size:1.25rem; }
.udcr-terms-faq details[open] summary::after { content:"−"; }
.udcr-terms-faq-answer { padding:0 18px 18px; color:var(--t-muted); }

.udcr-terms-final {
  margin-top:30px; padding:34px; border-radius:22px;
  background:linear-gradient(125deg,var(--t-navy),#0a4e8d); color:#fff;
}
.udcr-terms-final h2 { color:#fff; }
.udcr-terms-final p { max-width:760px; color:rgba(255,255,255,.76); }
.udcr-terms-final .udcr-terms-hero-actions { margin-top:19px; }

.udcr-terms-progress {
  position:fixed; z-index:9999; top:0; left:0; width:0; height:3px;
  background:var(--t-yellow); pointer-events:none;
}

@media (max-width:980px) {
  .udcr-terms-hero-grid { grid-template-columns:1fr; gap:28px; }
  .udcr-terms-summary { grid-template-columns:repeat(2,1fr); }
  .udcr-terms-summary-card:nth-child(3) { border-left:0; border-top:1px solid var(--t-line); }
  .udcr-terms-summary-card:nth-child(4) { border-top:1px solid var(--t-line); }
  .udcr-terms-layout { grid-template-columns:1fr; gap:24px; }
  .udcr-terms-sidebar { position:static; }
  .udcr-terms-toc nav { grid-template-columns:repeat(2,1fr); max-height:none; }
  .udcr-terms-side-actions { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:640px) {
  .udcr-terms { font-size:16px; }
  .udcr-terms-wrap { width:min(100% - 28px,1180px); }
  .udcr-terms-hero { padding-bottom:78px; }
  .udcr-terms-topbar { align-items:flex-start; margin-bottom:44px; }
  .udcr-terms-lang button { min-height:34px; padding:5px 10px; }
  .udcr-terms-summary { grid-template-columns:1fr; }
  .udcr-terms-summary-card + .udcr-terms-summary-card { border-left:0; border-top:1px solid var(--t-line); }
  .udcr-terms-layout { padding-top:52px; }
  .udcr-terms-toc nav { grid-template-columns:1fr; }
  .udcr-terms-side-actions { grid-template-columns:1fr; }
  .udcr-terms-section { padding:22px 18px; border-radius:16px; }
  .udcr-terms-grid2 { grid-template-columns:1fr; }
  .udcr-terms-final { padding:26px 20px; }
}

@media print {
  .udcr-terms-topbar,.udcr-terms-hero-actions,.udcr-terms-summary-wrap,.udcr-terms-sidebar,.udcr-terms-progress,.site-header,.site-footer { display:none!important; }
  .udcr-terms-hero { padding:28px 0; background:#fff!important; color:#000!important; }
  .udcr-terms h1,.udcr-terms-hero-copy>p,.udcr-terms-eyebrow { color:#000!important; }
  .udcr-terms-layout { display:block; padding:20px 0; }
  .udcr-terms-section { break-inside:avoid; box-shadow:none; }
}
