/* Blogs | DRE Homes — page styles */
/* ================= OFF-PLAN LISTING PAGE ================= */
.op-hero {
  min-height: 74vh;
  padding-bottom: 50px;
}
.op-hero h1 {
  font-size: clamp(42px, 5.6vw, 84px);
  max-width: 1100px;
}
.op-hero .sub {
  margin-bottom: 30px;
}
.op-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  max-width: 760px;
}
.op-search > svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex: none;
}
.op-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  color: var(--text);
  font: 16px var(--font);
  padding: 12px 0;
}
.op-search input::placeholder {
  color: var(--faint);
}
.quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.quick button {
  border: 1px solid var(--stroke);
  background: rgba(var(--tint-rgb), 0.08);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.quick button:hover,
.quick button.on {
  border-color: var(--stroke-acc);
  color: var(--text);
}
.op-list {
  padding-top: 40px;
}
.fbar {
  position: sticky;
  top: 100px;
  z-index: 20;
  padding: 10px;
  border-radius: 26px;
  margin-bottom: 22px;
  background:
    linear-gradient(145deg, rgba(var(--tint-rgb), 0.14), rgba(var(--tint-rgb), 0.04)), rgba(var(--bg-rgb), 0.82) !important;
}
.fb-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
}
.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 18px;
  background: rgba(var(--tint-rgb), 0.07);
  border: 1px solid var(--stroke);
}
.seg button {
  border: 0;
  background: none;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.seg button.on {
  background: var(--btn);
  color: var(--btn-fg);
}
.fsel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 18px;
  background: rgba(var(--tint-rgb), 0.07);
  border: 1px solid var(--stroke);
  flex: 1;
  min-width: 130px;
}
.fsel span {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.fsel select {
  border: 0;
  background: none;
  outline: none;
  color: var(--text);
  font: 500 14px var(--font);
  padding: 2px 0;
  cursor: pointer;
  width: 100%;
}
.fsel select option {
  background: #fff;
  color: #000;
}
.fmore {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(var(--tint-rgb), 0.07);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.fmore svg {
  width: 18px;
  height: 18px;
}
.fmore b {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-fg);
  font-size: 11px;
  display: none;
  place-items: center;
  padding: 0 6px;
}
.fmore b.on {
  display: grid;
}
.more {
  padding: 12px 6px 4px;
}
.beds {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.beds button {
  min-width: 52px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.beds button.on {
  background: var(--btn);
  color: var(--btn-fg);
  border-color: var(--btn);
}
.rbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 4px 0 22px;
  flex-wrap: wrap;
}
.rbar p {
  color: var(--muted);
  font-size: 14px;
}
.rbar p b {
  color: var(--text);
  font-weight: 600;
}
.rbar-r {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.sort {
  min-width: 190px;
  flex: none;
}
.clear {
  border: 0;
  background: none;
  color: var(--acc);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.favbtn {
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(var(--tint-rgb), 0.07);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
}
.favbtn[aria-pressed="true"] {
  background: var(--btn);
  color: var(--btn-fg);
  border-color: var(--btn);
}
.favbtn b {
  font-size: 12px;
}
.vt {
  display: flex;
  padding: 4px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(var(--tint-rgb), 0.07);
}
.vt button {
  width: 40px;
  border: 0;
  background: none;
  color: var(--muted);
  border-radius: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.vt button svg {
  width: 16px;
  height: 16px;
}
.vt button.on {
  background: var(--btn);
  color: var(--btn-fg);
}
.opg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.oc {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(var(--tint-rgb), 0.1), rgba(var(--tint-rgb), 0.03));
  display: flex;
  flex-direction: column;
  transition: 0.4s;
  animation: tmIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes tmIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
.oc:hover {
  border-color: var(--stroke-acc);
  transform: translateY(-5px);
  box-shadow: 0 30px 60px var(--shadow);
}
.oc-img {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #888;
}
.oc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.oc:hover .oc-img img {
  transform: scale(1.06);
}
.oc .badge {
  top: 12px;
  left: 12px;
}
.oc-loc {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(var(--bg-rgb), 0.6);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--stroke);
  display: flex;
  gap: 6px;
  align-items: center;
}
.oc-loc svg {
  width: 12px;
  height: 12px;
  color: var(--acc);
}
.oc-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(var(--bg-rgb), 0.5);
  color: var(--text);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 17px;
  transition: 0.25s;
}
.oc-fav[aria-pressed="true"] {
  background: var(--btn);
  color: var(--btn-fg);
  border-color: var(--btn);
}
.oc-b {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.oc-dev {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc);
}
.oc-b h3 {
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
}
.oc-b h3 a:hover {
  color: var(--acc);
}
.oc-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
  margin-top: 16px;
}
.oc-meta small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.oc-meta b {
  font-weight: 500;
  font-size: 16px;
}
.oc-meta .pr b {
  font-size: 18px;
  color: var(--text);
}
.oc-meta .pr em {
  font-style: normal;
  color: var(--acc);
  font-weight: 500;
}
.oc-act {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 16px;
}
.oc-act .btn {
  justify-content: center;
  padding: 12px 16px;
}
.oc-wa {
  width: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  color: #25d366;
  transition: 0.25s;
}
.oc-wa:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.oc-wa svg {
  width: 20px;
  height: 20px;
}
.opg.list {
  grid-template-columns: 1fr;
}
.opg.list .oc {
  flex-direction: row;
}
.opg.list .oc-img {
  aspect-ratio: auto;
  width: 340px;
  flex: none;
  min-height: 230px;
}
.opg.list .oc-b {
  padding: 26px 30px;
}
.opg.list .oc-act {
  max-width: 380px;
}
.op-empty {
  text-align: center;
  padding: 60px 30px;
  border-radius: 28px;
}
.op-empty h3 {
  font-weight: 300;
  font-size: 28px;
  margin-bottom: 8px;
}
.op-empty p {
  color: var(--muted);
}
.pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pager button {
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(var(--tint-rgb), 0.07);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.pager button.on {
  background: var(--btn);
  color: var(--btn-fg);
  border-color: var(--btn);
}
.pager button:disabled {
  opacity: 0.35;
  cursor: default;
}
.op-note {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--faint);
}
.op-note a {
  color: var(--acc);
}
.op-cta {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: center;
  padding: 50px 54px;
  border-radius: 34px;
}
.op-cta-b {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.op-cta-b .btn {
  justify-content: center;
}
@media (max-width: 1180px) {
  .fsel {
    min-width: 120px;
  }
}
@media (max-width: 1080px) {
  .opg {
    grid-template-columns: 1fr 1fr;
  }
  .fbar {
    position: relative;
    top: auto;
  }
  .seg {
    width: 100%;
    overflow-x: auto;
  }
  .op-cta {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .opg.list .oc-img {
    width: 260px;
  }
}
@media (max-width: 640px) {
  .op-hero {
    min-height: auto;
    padding: 140px 0 36px;
  }
  .op-search {
    padding: 6px 6px 6px 16px;
  }
  .op-search .btn {
    padding: 12px 16px;
  }
  .fsel {
    min-width: calc(50% - 4px);
    flex: 1 1 calc(50% - 4px);
  }
  .fmore {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
  .rbar-r {
    width: 100%;
    flex-wrap: wrap;
  }
  .sort {
    flex: 1;
  }
  .opg {
    grid-template-columns: 1fr;
  }
  .opg.list .oc {
    flex-direction: column;
  }
  .opg.list .oc-img {
    width: auto;
    aspect-ratio: 4/3;
  }
  .op-cta {
    padding: 28px 20px;
  }
}

/* ================= DEVELOPER PROJECTS BROWSER ================= */
.ctiles {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.ct {
  position: relative;
  height: 150px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(var(--tint-rgb), 0.06);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: flex-end;
  color: var(--text);
  transition: 0.35s;
}
.ct-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ct:hover .ct-bg {
  transform: scale(1.08);
}
.ct-in {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  text-align: left;
}
.ct-in b {
  display: block;
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.2;
}
.ct-in small {
  font-size: 11px;
  color: var(--muted);
}
.ct:hover {
  border-color: var(--stroke-acc);
  transform: translateY(-4px);
}
.ct.on {
  border-color: var(--acc);
  box-shadow: 0 0 0 2px var(--acc);
}
.ct-all {
  align-items: center;
  justify-content: center;
}
.ct-all .ct-in {
  text-align: center;
  background: none;
  border: 0;
  box-shadow: none;
}
.fsearch {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 2;
  min-width: 220px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(var(--tint-rgb), 0.07);
  border: 1px solid var(--stroke);
}
.fsearch svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: none;
}
.fsearch input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  color: var(--text);
  font: 15px var(--font);
  padding: 14px 0;
}
.fsearch input::placeholder {
  color: var(--faint);
}
.fb-row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 4px 2px;
  flex-wrap: wrap;
}
.oc-hand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--btn);
  color: var(--btn-fg);
}
.dp-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 34px;
  align-items: end;
}
.dp-logo {
  width: 190px;
  height: 190px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  padding: 30px;
}
.dp-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: var(--dev-filter);
}
.dp-hero {
  min-height: 84vh;
}
.dp-hero h1 {
  font-size: clamp(52px, 7vw, 108px);
  line-height: 0.95;
  margin: 14px 0 18px;
}
.dp-hero .sub {
  max-width: 640px;
  margin-bottom: 26px;
}
.dp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  border-radius: 24px;
  overflow: hidden;
}
.dp-stats div {
  padding: 20px 24px;
  border-right: 1px solid var(--stroke);
}
.dp-stats div:last-child {
  border: 0;
}
.dp-stats small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.dp-stats b {
  font-weight: 400;
  font-size: 18px;
}
.dp-about {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
  align-items: start;
}
.dp-about .lead {
  max-width: none;
  margin-bottom: 16px;
}
.dp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.dp-pills span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke-acc);
  color: var(--acc);
  font-size: 13px;
  font-weight: 600;
}
.od-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.od {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 10px 16px;
  border-radius: 22px;
  transition: 0.35s;
}
.od:hover {
  border-color: var(--stroke-acc);
  transform: translateY(-4px);
}
.od-logo {
  height: 96px;
  border-radius: 16px;
  background: linear-gradient(160deg, #fff, #f4f0ea);
  display: grid;
  place-items: center;
  padding: 16px;
}
.od-logo img {
  max-width: 80%;
  max-height: 52px;
  object-fit: contain;
}
.od b {
  font-weight: 500;
  font-size: 14px;
  text-align: center;
}
@media (min-width: 1081px) {
  .fbar {
    top: 96px;
  }
}
/* @media (min-width: 1081px) and (max-width: 1500px) {
  .dp-hero .wrap,
  section .wrap {
    padding-right: 96px;
  }
} */
@media (max-width: 1180px) {
  .ctiles {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1080px) {
  .dp-about {
    grid-template-columns: 1fr;
  }
  .od-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dp-stats {
    grid-template-columns: 1fr 1fr;
  }
  .dp-stats div:nth-child(2) {
    border-right: 0;
  }
  .dp-stats div {
    border-bottom: 1px solid var(--stroke);
  }
}
@media (max-width: 640px) {
  .dp-hero {
    min-height: auto;
    padding: 130px 0 40px;
  }
  .dp-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dp-logo {
    width: 120px;
    height: 120px;
    padding: 20px;
    border-radius: 24px;
  }
  .dp-stats div {
    padding: 14px 16px;
  }
  .dp-stats b {
    font-size: 15px;
  }
  .ctiles {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -16px 16px;
    padding: 0 16px;
  }
  .ct {
    flex: 0 0 46%;
    height: 130px;
    scroll-snap-align: start;
  }
  .fsearch {
    flex: 1 1 100%;
  }
  .od-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
/* ================= DEVELOPER PROFILE ================= */
.dp-hero {
  min-height: 84vh;
}
.dp-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 34px;
  align-items: end;
}
.dp-logo {
  width: 190px;
  height: 190px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  padding: 30px;
}
.dp-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: var(--dev-filter);
}
.dp-hero h1 {
  font-size: clamp(52px, 7vw, 108px);
  line-height: 0.95;
  margin: 14px 0 18px;
}
.dp-hero .sub {
  max-width: 640px;
  margin-bottom: 26px;
}
.dp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  border-radius: 24px;
  overflow: hidden;
}
.dp-stats div {
  padding: 20px 24px;
  border-right: 1px solid var(--stroke);
}
.dp-stats div:last-child {
  border: 0;
}
.dp-stats small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.dp-stats b {
  font-weight: 400;
  font-size: 18px;
}
.dp-about {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
  align-items: start;
}
.dp-about .lead {
  max-width: none;
  margin-bottom: 16px;
}
.dp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.dp-pills span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke-acc);
  color: var(--acc);
  font-size: 13px;
  font-weight: 600;
}
.dp-why {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border-radius: 34px;
  overflow: hidden;
  padding: 0;
}
.dw-img {
  min-height: 520px;
  background-size: cover;
  background-position: center;
}
.dw-tx {
  padding: 50px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dw-tx .lead {
  margin-bottom: 24px;
}
.dw-pts {
  display: grid;
  gap: 14px;
}
.dw-pts > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: rgba(var(--tint-rgb), 0.06);
}
.dw-ic {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--btn);
  color: var(--btn-fg);
}
.dw-ic svg {
  width: 22px;
  height: 22px;
}
.dw-pts b {
  font-weight: 500;
  font-size: 16px;
}
.dw-pts p {
  font-size: 14px;
  color: var(--muted);
}
.dp-proj {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border-radius: 32px;
  overflow: hidden;
  padding: 0;
  transition: 0.4s;
}
.dp-proj:hover {
  border-color: var(--stroke-acc);
}
.dpp-img {
  position: relative;
  display: block;
  min-height: 440px;
  overflow: hidden;
  background: #888;
}
.dpp-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dp-proj:hover .dpp-img img {
  transform: scale(1.05);
}
.dpp-img .badge {
  top: 16px;
  left: 16px;
}
.dpp-b {
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.dpp-b h3 {
  font-weight: 200;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.02;
}
.dpp-b .lead {
  font-size: 15px;
}
.dpp-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 0;
  margin: 6px 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}
.dpp-meta small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.dpp-meta b {
  font-weight: 500;
  font-size: 15px;
}
.dpp-meta b.em {
  color: var(--acc);
}
.dpp-act {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.dpp-wa svg {
  width: 16px;
  height: 16px;
  color: #25d366;
}
.od-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.od {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 10px 16px;
  border-radius: 22px;
  transition: 0.35s;
}
.od:hover {
  border-color: var(--stroke-acc);
  transform: translateY(-4px);
}
.od-logo {
  height: 96px;
  border-radius: 16px;
  background: linear-gradient(160deg, #fff, #f4f0ea);
  display: grid;
  place-items: center;
  padding: 16px;
}
.od-logo img {
  max-width: 80%;
  max-height: 52px;
  object-fit: contain;
}
.od b {
  font-weight: 500;
  font-size: 14px;
  text-align: center;
}
/* @media (min-width: 1081px) and (max-width: 1500px) {
  .dp-hero .wrap,
  section .wrap {
    padding-right: 96px;
  }
} */
@media (max-width: 1080px) {
  .dp-about,
  .dp-why,
  .dp-proj {
    grid-template-columns: 1fr;
  }
  .dw-img {
    min-height: 300px;
  }
  .dpp-img {
    min-height: 300px;
  }
  .od-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dp-stats {
    grid-template-columns: 1fr 1fr;
  }
  .dp-stats div:nth-child(2) {
    border-right: 0;
  }
  .dp-stats div {
    border-bottom: 1px solid var(--stroke);
  }
}
@media (max-width: 640px) {
  .dp-hero {
    min-height: auto;
    padding: 130px 0 40px;
  }
  .dp-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dp-logo {
    width: 120px;
    height: 120px;
    padding: 20px;
    border-radius: 24px;
  }
  .dp-stats div {
    padding: 14px 16px;
  }
  .dp-stats b {
    font-size: 15px;
  }
  .dw-tx,
  .dpp-b {
    padding: 28px 22px;
  }
  .dpp-meta {
    grid-template-columns: 1fr 1fr;
  }
  .od-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* ================= BLOGS PAGE ================= */
.bl-hero {
  min-height: 76vh;
}
.cchips {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px;
}
.cchips button {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.cchips button b {
  font-size: 11px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(var(--tint-rgb), 0.12);
}
.cchips button.on {
  background: var(--btn);
  color: var(--btn-fg);
}
.cchips button.on b {
  background: rgba(255, 255, 255, 0.22);
}
@media (max-width: 640px) {
  .cchips {
    border-radius: 18px;
    width: 100%;
  }
}
.bl-hero h1 {
  font-size: clamp(56px, 8.5vw, 130px);
  line-height: 0.92;
  margin: 16px 0 20px;
}
.bl-hero .sub {
  max-width: 660px;
  margin-bottom: 30px;
}
.btag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(var(--tint-rgb), 0.14);
  border: 1px solid var(--stroke);
  color: var(--acc);
}
.bmeta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 900;
  color: var(--faint);
  flex-wrap: wrap;
}
.bmeta svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.bmeta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  margin: 0 4px;
  opacity: 0.6;
}
.bf-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
}
.bf-grid > * {
  min-width: 0;
}
.bf-main {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
  color: #fff;
}
.bf-main > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bf-main:hover > img {
  transform: scale(1.04);
}
.bf-in {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 24px 26px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bf-in b {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  font-weight: 300;
}
.bf-in p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bf-in .bmeta {
  color: rgba(255, 255, 255, 0.75);
}
.bf-go {
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
}
.bf-side {
  display: grid;
  gap: 16px;
}
.bf-s {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px;
  border-radius: 24px;
  color: var(--text);
  align-items: center;
}
.bf-si {
  display: block;
  height: 100%;
  min-height: 150px;
  border-radius: 16px;
  overflow: hidden;
}
.bf-si img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.bf-s:hover .bf-si img {
  transform: scale(1.06);
}
.bf-st {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 8px;
  min-width: 0;
}
.bf-st b {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#blCat {
  margin-bottom: 14px;
}
.bl-row {
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr);
}
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.bc {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  color: var(--text);
  animation: tmIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.bc-img {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.bc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bc:hover .bc-img img {
  transform: scale(1.06);
}
.bc-img .btag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.bc-b {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
  flex: 1;
}
.bc-b h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.32;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bc-b h3 a {
  color: inherit;
}
.bc-b p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bc-f {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--stroke);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.bc-f a {
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
  white-space: nowrap;
}
.bc mark {
  background: rgba(var(--tint-rgb), 0.25);
  color: inherit;
  border-radius: 4px;
  padding: 0 2px;
}
.pager .dots {
  min-width: 30px;
  display: grid;
  place-items: center;
  color: var(--faint);
}
.bg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.bg-c {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 20px;
  border-radius: 24px;
  color: var(--text);
}
.bg-n {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 2;
  font-size: 44px;
  font-weight: 200;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.bg-i {
  display: block;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
}
.bg-i img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.bg-c:hover .bg-i img {
  transform: scale(1.06);
}
.bg-c b {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  padding: 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bg-c .bmeta {
  padding: 0 6px;
}
.bg-go {
  padding: 0 6px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
}
@media (max-width: 1080px) {
  .bf-grid {
    grid-template-columns: 1fr;
  }
  .bf-side {
    grid-template-columns: 1fr 1fr;
  }
  .bf-s {
    grid-template-columns: 1fr;
  }
  .bf-si {
    min-height: 0;
    aspect-ratio: 16/9;
  }
  .bl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .bl-hero {
    min-height: auto;
    padding: 130px 0 40px;
  }
  .bf-main {
    min-height: 460px;
  }
  .bf-in {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 18px;
  }
  .bf-side {
    grid-template-columns: 1fr;
  }
  .bf-s {
    grid-template-columns: 110px 1fr;
  }
  .bf-si {
    aspect-ratio: auto;
    min-height: 110px;
  }
  .bf-st b {
    font-size: 15px;
  }
  .bl-row {
    grid-template-columns: 1fr 1fr;
  }
  .bl-row .fsearch {
    grid-column: 1/-1;
  }
  .bl-grid,
  .bg-grid {
    grid-template-columns: 1fr;
  }
}
