/* Serambi Moden — dimuat selepas style.css tema default */
:root {
  --primary-color: #1f4fd8;
  --accent-color: #16a34a;
  --dark-color: #1e2a38;
  --heading-font: 'Poppins', system-ui, sans-serif;
  --radius: 10px;
}
.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; }
body.theme-serambi-moden { background: #fff; }

/* Header */
.theme-serambi-moden .site-header { background: #fff; box-shadow: 0 1px 0 var(--line); border-bottom: 0; }
.theme-serambi-moden .header-inner { min-height: 76px; }
.theme-serambi-moden .brand { margin-right: 32px; }
.theme-serambi-moden .site-nav { flex: 1; justify-content: center; gap: 0; flex-wrap: nowrap; min-width: 0; }
.theme-serambi-moden .site-nav > a, .theme-serambi-moden .has-sub > a { padding: 10px 9px; white-space: nowrap; }
.theme-serambi-moden .site-nav > a, .theme-serambi-moden .has-sub > a, .theme-serambi-moden .sub-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.theme-serambi-moden .site-nav > a[aria-current="page"] { background: var(--primary-color); color: #fff; }
.theme-serambi-moden .site-nav .nav-cta { margin-left: 12px; white-space: nowrap; flex: none; background: #fff; color: var(--ink); border: 2px solid var(--primary-color); border-radius: 999px; padding: 8px 18px 8px 8px; font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.theme-serambi-moden .site-nav .nav-cta svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--primary-color); color: #fff; }
.theme-serambi-moden .site-nav .nav-cta:hover { background: var(--primary-color); color: #fff; }

/* Hero */
.m-hero { position: relative; color: #fff; background: var(--dark-color); padding: 96px 0 48px; }
.m-hero.has-img { background: linear-gradient(90deg, rgba(10, 18, 30, .82) 0%, rgba(10, 18, 30, .45) 60%, rgba(10, 18, 30, .25) 100%), var(--hero-img) center / cover; }
.m-hero-inner { display: flex; flex-direction: column; gap: 72px; }
.m-hero-copy { max-width: 560px; }
.m-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; margin: 0 0 10px; opacity: .9; }
.m-hero h1 { font-size: clamp(32px, 5vw, 54px); margin-bottom: 14px; }
.m-hero-sub { font-size: 17px; opacity: .9; margin: 0 0 26px; }
.m-hero .btn-primary { border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; padding: 12px 22px; }

.m-search { background: rgba(14, 22, 34, .78); backdrop-filter: blur(6px); border-radius: 8px; padding: 0 18px 18px; max-width: 980px; }
.m-tabs { border: 0; margin: 0; padding: 0; display: flex; gap: 4px; }
.m-tabs label { cursor: pointer; }
.m-tabs input { position: absolute; opacity: 0; }
.m-tabs span { display: inline-block; padding: 14px 20px; font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .75); border-bottom: 3px solid transparent; }
.m-tabs input:checked + span { color: #fff; border-bottom-color: var(--accent-color); }
.m-tabs input:focus-visible + span { outline: 2px solid #fff; outline-offset: -4px; }
.m-search-row { display: grid; grid-template-columns: 220px 1fr auto auto; gap: 10px; align-items: center; margin-top: 14px; }
.m-search-row select, .m-search-row input { min-height: 46px; padding: 10px 12px; border: 0; border-radius: 6px; font: 15px var(--body-font); color: var(--ink); background: #fff; width: 100%; }
.m-search-row .btn { min-height: 46px; border-radius: 6px; padding: 0 22px; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; }
.m-adv { color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }

/* Listing */
.m-listings .section-head h2 { font-weight: 500; font-size: clamp(24px, 3vw, 32px); }
.m-listings .link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.m-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.m-card { border: 0; border-radius: 0; }
.m-card:hover { box-shadow: none; transform: none; }
.m-card .card-media { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; }
.m-card .card-media img { transition: transform .3s; }
.m-card:hover .card-media img { transform: scale(1.04); }
.m-card .card-body { padding: 12px 0 0; gap: 4px; }
.m-card .card-title { font-size: 16px; font-weight: 600; }
.m-card .card-price { font-size: 17px; color: var(--ink); }
.m-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.m-badge { background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 8px; border-radius: 3px; }
.m-badge-feat { background: var(--accent-color); color: #fff; }
.m-badge-status { background: #c62828; color: #fff; }
.m-specs { list-style: none; margin: 6px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.m-specs li { display: inline-flex; align-items: center; gap: 5px; }

/* CTA */
.m-cta { padding: 72px 0; background: var(--dark-color); }
.m-cta.has-img { background: linear-gradient(rgba(20, 30, 45, .55), rgba(20, 30, 45, .55)), var(--cta-img) center / cover; }
.m-cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.m-cta-box { display: flex; gap: 20px; align-items: center; padding: 30px; background: var(--primary-color); color: #fff; border-radius: 6px; text-decoration: none !important; transition: transform .15s; }
.m-cta-box:hover { transform: translateY(-3px); }
.m-cta-box strong { display: block; font: 600 20px var(--heading-font); margin-bottom: 6px; }
.m-cta-box span span { opacity: .9; font-size: 14px; }
.m-cta-icon { flex: none; width: 72px; height: 72px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; display: grid; place-items: center; }

/* Banner ejen */
.m-agent { background: var(--accent-color); color: #fff; padding: 30px 0; }
.m-agent-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.m-agent h2 { margin: 0; flex: 1; font-weight: 500; font-size: clamp(22px, 3vw, 30px); }
.m-btn-light { background: #fff; color: var(--ink); border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; }
.m-btn-light:hover { background: #f1f5f9; }

/* Kenapa pilih kami */
.m-why { background: var(--dark-color); color: #fff; padding: 64px 0 70px; }
.m-why h2 { text-align: center; font-weight: 500; font-size: clamp(24px, 3vw, 32px); margin-bottom: 40px; }
.m-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 34px; }
.m-why-item { display: flex; gap: 16px; }
.m-why-icon { flex: none; color: #fff; opacity: .9; }
.m-why-item h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.m-why-item p { margin: 0; font-size: 14px; color: #c8d0da; }

/* Footer */
.theme-serambi-moden .site-footer { background: var(--dark-color); margin-top: 0; }
.theme-serambi-moden .footer-title { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.theme-serambi-moden .footer-bottom { border-top-color: rgba(255, 255, 255, .12); }
.theme-serambi-moden .social-links a { background: rgba(255, 255, 255, .08); }

/* Responsive */
@media (max-width: 1100px) {
  .theme-serambi-moden .site-nav { justify-content: flex-start; flex-wrap: wrap; }
  .theme-serambi-moden .site-nav .nav-cta { margin: 10px 0 0; align-self: flex-start; }
}
@media (max-width: 860px) {
  .m-hero { padding: 56px 0 32px; }
  .m-hero-inner { gap: 36px; }
  .m-search-row { grid-template-columns: 1fr; }
  .m-adv { text-align: center; padding: 4px 0; }
}

/* Blok kandungan dalam gaya Serambi Moden */
.theme-serambi-moden .b-hero .btn-primary, .theme-serambi-moden .b-search-row .btn { border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.theme-serambi-moden .b-cta-box { border-radius: 6px; }
.theme-serambi-moden .b-bg-accent { color: #fff; }
.theme-serambi-moden .b-banner h2 { font-weight: 500; }
.theme-serambi-moden .b-btn-light, .theme-serambi-moden .m-btn-light { border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; }
.theme-serambi-moden .b-features h2 { font-weight: 500; }
.theme-serambi-moden .b-feature h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.theme-serambi-moden .b-listings .section-head h2 { font-weight: 500; font-size: clamp(24px, 3vw, 32px); }
.theme-serambi-moden .b-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
