/* ========== Real Estate Updates / News Landing – Redesign ========== */
/* Applies when news-style.css is loaded: single news posts + pages with slug news-landing, news, or real-estate-updates (see gep_news_landing_slugs filter to add more). */

:root {
  --default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --news-primary: #0d5c36;
  --news-primary-mid: #1a7a4c;
  --news-accent: #4db37c;
  --news-accent-light: #6bc994;
  --news-gold: #c9a227;
  --news-bg: #fafcfb;
  --news-bg-card: #ffffff;
  --news-text: #1a1f1c;
  --news-text-muted: #5a6560;
  --news-border: rgba(13, 92, 54, 0.12);
  --news-radius: 12px;
  --news-radius-sm: 8px;
  --news-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --news-shadow-hover: 0 8px 28px rgba(13, 92, 54, 0.12);
}

/* Scope all styles to body.gep-news-landing or body.single-news to override Elementor */
body.gep-news-landing *,
body.single-news * {
  font-family: Inter, var(--default-font-family) !important;
  box-sizing: border-box;
}

body.gep-news-landing a,
body.single-news a {
  text-decoration: none;
  color: var(--news-text);
  transition: color 0.2s ease;
}

body.gep-news-landing a:hover,
body.single-news a:hover {
  color: var(--news-primary-mid);
}

body.gep-news-landing,
body.single-news {
  background: var(--news-bg) !important;
  overflow-x: hidden;
  color: var(--news-text) !important;
  line-height: 1.6;
}

body.gep-news-landing .main-con,
body.single-news .main-con {
  position: relative !important;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) 3rem !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
}

body.gep-news-landing .site-header .site-branding,
body.single-news .site-header .site-branding {
  flex-direction: column;
  align-items: stretch;
  display: none;
}

body.gep-news-landing .site-footer,
body.single-news .site-footer {
  display: none;
}

body.gep-news-landing .news-details,
body.single-news .news-details {
  position: relative;
}

/* Hero: Real Estate Updates heading */
body.gep-news-landing .head,
body.single-news .head {
  position: relative !important;
  color: var(--news-text) !important;
  font-family: Inter, var(--default-font-family) !important;
  font-size: clamp(1.625rem, 4vw, 2rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
  margin-bottom: 0.5em !important;
  padding-bottom: 0.5em !important;
}

body.gep-news-landing .head::after,
body.single-news .head::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 48px !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--news-accent), var(--news-gold)) !important;
  border-radius: 2px !important;
}

body.gep-news-landing .title,
body.single-news .title {
  position: relative !important;
  padding-bottom: 1.25em !important;
  display: flex !important;
  gap: 0.5em !important;
  flex-direction: column !important;
  margin-top: 0.25em !important;
}

body.gep-news-landing .news-featured-img,
body.gep-news-landing .news-featured-img img,
body.single-news .news-featured-img,
body.single-news .news-featured-img img {
  position: relative !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  min-height: 240px !important;
  object-fit: cover !important;
  top: 0 !important;
  left: 0 !important;
  border-radius: var(--news-radius) !important;
  box-shadow: var(--news-shadow) !important;
  overflow: hidden !important;
}

body.gep-news-landing .news-featured-img img,
body.single-news .news-featured-img img {
  display: block !important;
}

/* Featured news image (shortcode) */
body.gep-news-landing .featured-news-image,
body.single-news .featured-news-image,
.featured-news-image {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--news-radius) !important;
  border: 2px solid var(--news-border) !important;
  box-shadow: var(--news-shadow) !important;
  background: var(--news-bg-card) !important;
  height: auto !important;
}

body.gep-news-landing .featured-news-image img,
body.single-news .featured-news-image img,
.featured-news-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  vertical-align: middle !important;
  transition: transform 0.3s ease !important;
}

body.gep-news-landing .featured-news-card:hover .featured-news-image,
body.single-news .featured-news-card:hover .featured-news-image,
.featured-news-card:hover .featured-news-image {
  border-color: var(--news-accent) !important;
  box-shadow: var(--news-shadow-hover) !important;
}

body.gep-news-landing .featured-news-card:hover .featured-news-image img,
body.single-news .featured-news-card:hover .featured-news-image img,
.featured-news-card:hover .featured-news-image img {
  transform: scale(1.03) !important;
}

body.gep-news-landing .date,
body.single-news .date {
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: var(--news-text-muted) !important;
}

body.gep-news-landing .description,
body.single-news .description {
  position: relative !important;
  color: var(--news-text) !important;
  font-family: Inter, var(--default-font-family) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  max-width: 42em !important;
  padding-top: 0.5em !important;
}

body.gep-news-landing .description a,
body.single-news .description a {
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  color: var(--news-accent) !important;
}

body.gep-news-landing .description a:hover,
body.single-news .description a:hover {
  color: var(--news-primary-mid) !important;
}

body.gep-news-landing .more-news-container,
body.single-news .more-news-container {
  position: relative !important;
  margin-top: 2rem !important;
  width: 100% !important;
}

@media (max-width: 899px) {

  body.gep-news-landing .more-news-container,
  body.single-news .more-news-container {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
  }

  body.gep-news-landing .more-news-container .most-read-widget,
  body.single-news .more-news-container .most-read-widget {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Only on news-landing (not homepage): sidebar floats to the right of main content */
@media (min-width: 900px) {

  body.gep-news-landing:not(.home) .more-news-container,
  body.single-news .more-news-container {
    position: absolute !important;
    left: 60em !important;
    top: 2em !important;
  }
}

body.gep-news-landing .news-card,
body.single-news .news-card {
  display: flex !important;
  gap: 1rem !important;
  align-items: flex-start !important;
}

body.gep-news-landing .news-card {
  padding-bottom: 0 !important;
}

body.single-news .news-card {
  padding-bottom: 1.5rem !important;
}

body.gep-news-landing .sidebar-img,
body.single-news .sidebar-img {
  position: relative !important;
  width: 120px !important;
  min-width: 120px !important;
  height: 72px !important;
  border-radius: var(--news-radius-sm) !important;
  overflow: hidden !important;
  object-fit: cover !important;
}

body.gep-news-landing .news-title,
body.single-news .news-title {
  justify-content: flex-start !important;
  width: auto !important;
  color: var(--news-text) !important;
  font-family: Inter, var(--default-font-family) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

body.gep-news-landing .more-news-heading,
body.single-news .more-news-heading {
  justify-content: flex-start !important;
  position: relative !important;
  color: #fff !important;
  font-family: Inter, var(--default-font-family) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  text-align: left !important;
  background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-accent) 100%) !important;
  padding: 0.5em 0.75em !important;
  border-radius: var(--news-radius-sm) var(--news-radius-sm) 0 0 !important;
  letter-spacing: 0.02em !important;
}

body.gep-news-landing .sidebar-header,
body.single-news .sidebar-header {
  position: absolute !important;
  height: auto !important;
  width: auto !important;
  max-width: 320px !important;
  z-index: 10 !important;
  top: 1.5rem !important;
  padding-left: 0 !important;
}

body.gep-news-landing .border-group,
body.single-news .border-group {
  position: relative !important;
  height: auto !important;
  border: 1px solid var(--news-border) !important;
  border-radius: var(--news-radius) !important;
  padding: 1rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  background: var(--news-bg-card) !important;
  box-shadow: var(--news-shadow) !important;
}

.more-news-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Most Read widget – redesigned (news-landing / news context) */
body.gep-news-landing .most-read-widget,
body.single-news .most-read-widget {
  background: var(--news-bg-card) !important;
  padding: 0 !important;
  border: 1px solid var(--news-border) !important;
  border-radius: var(--news-radius) !important;
  max-width: 340px !important;
  box-shadow: var(--news-shadow) !important;
  overflow: hidden !important;
}

body.gep-news-landing .most-read-widget .widget-title,
body.single-news .most-read-widget .widget-title {
  background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-accent) 100%) !important;
  color: #fff !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  padding: 0.625rem 1rem !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  letter-spacing: 0.02em !important;
}

body.gep-news-landing .most-read-widget .most-read-list,
body.single-news .most-read-widget .most-read-list {
  padding: 0.75rem 1rem 1rem !important;
}

body.gep-news-landing .most-read-widget .most-read-item,
body.single-news .most-read-widget .most-read-item {
  border-bottom: 1px solid var(--news-border) !important;
  padding: 0.625rem 0 0.625rem !important;
}

body.gep-news-landing .most-read-widget .most-read-item:last-child,
body.single-news .most-read-widget .most-read-item:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

body.gep-news-landing .most-read-widget .most-read-link,
body.single-news .most-read-widget .most-read-link {
  padding: 0.5rem !important;
  margin: -0.5rem !important;
  border-radius: var(--news-radius-sm) !important;
  transition: background 0.2s ease !important;
}

body.gep-news-landing .most-read-widget .most-read-link:hover,
body.single-news .most-read-widget .most-read-link:hover {
  background: var(--news-bg) !important;
}

body.gep-news-landing .most-read-widget .most-read-img,
body.single-news .most-read-widget .most-read-img {
  width: 64px !important;
  min-width: 64px !important;
  height: 48px !important;
  border-radius: 6px !important;
  border: 1px solid var(--news-border) !important;
}

body.gep-news-landing .most-read-widget .most-read-category,
body.single-news .most-read-widget .most-read-category {
  font-size: 0.625rem !important;
  font-weight: 700 !important;
  color: var(--news-accent) !important;
  letter-spacing: 0.06em !important;
}

body.gep-news-landing .most-read-widget .most-read-title,
body.single-news .most-read-widget .most-read-title {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--news-text) !important;
  line-height: 1.35 !important;
}

body.gep-news-landing .most-read-widget .more-news-link,
body.single-news .most-read-widget .more-news-link {
  padding: 0.75rem 1rem !important;
  border-top: 1px solid var(--news-border) !important;
  text-align: right !important;
}

body.gep-news-landing .most-read-widget .more-news-link p,
body.single-news .most-read-widget .more-news-link p {
  margin: 0 !important;
  font-size: 0.8125rem !important;
  color: var(--news-accent) !important;
  font-weight: 600 !important;
}

body.gep-news-landing .most-read-widget .more-news-link:hover p,
body.single-news .most-read-widget .more-news-link:hover p {
  color: var(--news-primary-mid) !important;
}

/* ========== Premium Newsletter section – redesigned ========== */
.rectangle-41 {
  position: relative;
  width: 100%;
  max-width: 1140px;
  min-height: 320px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2.5rem 2.5rem;
  background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-accent) 100%);
  border-radius: var(--news-radius);
  box-shadow: var(--news-shadow-hover);
  z-index: 8;
  box-sizing: border-box;
}

.flex-row-ffbf {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.vector-42 {
  flex-shrink: 0;
  width: 40px;
  height: 36px;
  background: url('assets/images/JSyg1mk67W.svg') no-repeat center;
  background-size: contain;
}

.premium-newsletter-43 {
  color: #f0d876;
  font-family: Inter, var(--default-font-family);
  font-size: clamp(1.35rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.our-premium-newsletter {
  position: relative;
  max-width: 520px;
  margin: 0 0 1.25rem 0;
  font-family: Inter, var(--default-font-family);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: rgba(245, 255, 245, 0.95);
}

.our-premium-newsletter-44,
.and-much-more,
.our-premium-newsletter-45 {
  color: rgba(245, 255, 245, 0.95);
  font-family: Inter, var(--default-font-family);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.subscribe-today-for-full-access {
  display: inline-block;
  margin-top: 0.5rem;
  color: #f0d876;
  font-family: Inter, var(--default-font-family);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  letter-spacing: -0.01em;
  border-bottom: 2px solid #f0d876;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.subscribe-today-for-full-access:hover {
  color: #fff;
  border-bottom-color: #fff;
  opacity: 1;
}

@media (max-width: 768px) {
  .rectangle-41 {
    padding: 1.75rem 1.25rem;
    min-height: 280px;
    border-radius: 12px;
  }

  .premium-newsletter-43 {
    font-size: 1.25rem;
  }

  .our-premium-newsletter,
  .our-premium-newsletter-44,
  .and-much-more,
  .our-premium-newsletter-45 {
    font-size: 0.9375rem;
  }

  .subscribe-today-for-full-access {
    font-size: 0.9375rem;
  }
}

.more-news-46 {
  position: relative;
  width: 92px;
  height: 17px;
  margin: 12px 0 0 10px;
  font-family: Inter, var(--default-font-family);
  font-size: 14px;
  font-weight: 700;
  line-height: 16.943px;
  text-align: left;
  text-overflow: initial;
  white-space: nowrap;
  z-index: 22;
}

.more-news-47 {
  position: relative;
  color: #4db37c;
  font-family: Inter, var(--default-font-family);
  font-size: 14px;
  font-weight: 700;
  line-height: 16.943px;
  text-align: left;
}

.more-news-48 {
  position: relative;
  color: #4db37c;
  font-family: Inter, var(--default-font-family);
  font-size: 14px;
  font-weight: 700;
  line-height: 16.943px;
  text-align: left;
}

.flex-row-ac {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 1089px;
  height: 145px;
  margin: -7px 0 0 38px;
  z-index: 23;
}

.image-49 {
  flex-shrink: 0;
  position: relative;
  width: 256px;
  height: 145px;
  background: url('assets/images/Q1srd0nCeF.svg') no-repeat center;
  background-size: cover;
  z-index: 13;
}

.shutterstock {
  flex-shrink: 0;
  position: relative;
  width: 256px;
  height: 145px;
  background: url('assets/images/yKqq4Tf74j.svg') no-repeat center;
  background-size: cover;
  z-index: 23;
}

.image-4a {
  flex-shrink: 0;
  position: relative;
  width: 255px;
  height: 145px;
  background: url('assets/images/zF10GQjLUa.svg') no-repeat center;
  background-size: cover;
  z-index: 14;
}

.image-4b {
  flex-shrink: 0;
  position: relative;
  width: 256px;
  height: 145px;
  background: url('assets/images/fUC7Pg7jOo.svg') no-repeat center;
  background-size: cover;
  z-index: 12;
}

.flex-row-da {
  position: relative;
  width: 1089px;
  height: 72px;
  margin: 13px 0 0 38px;
  z-index: 21;
}

.society-in-focus {
  position: absolute;
  width: 256px;
  height: 72px;
  top: 0;
  left: 0;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
  z-index: 16;
}

.society-in-focus-4c {
  position: relative;
  color: #f0d876;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
}

.society-in-focus-4d {
  position: relative;
  color: #333333;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
}

.al-kabir-town-lahore {
  position: relative;
  color: #f4fff5;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
  letter-spacing: 0.36px;
}

.market-indicators {
  position: absolute;
  width: 256px;
  height: 72px;
  top: 0;
  left: 278px;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
  z-index: 15;
}

.market-indicators-4e {
  position: relative;
  color: #f0d876;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
}

.market-indicators-4f {
  position: relative;
  color: #333333;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
}

.al-kabir-town-lahore-50 {
  position: relative;
  color: #f4fff5;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
  letter-spacing: 0.36px;
}

.deep-dive {
  position: absolute;
  width: 255px;
  height: 54px;
  top: 0;
  left: 556px;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
  z-index: 17;
}

.deep-dive-51 {
  position: relative;
  color: #f0d876;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
}

.deep-dive-52 {
  position: relative;
  color: #333333;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
}

.india-middle-east-european-economic-corridor {
  position: relative;
  color: #f4fff5;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
  letter-spacing: 0.18px;
}

.policy-regulations {
  position: absolute;
  width: 256px;
  height: 66px;
  top: 0;
  left: 833px;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
  z-index: 21;
}

.policy-regulations-53 {
  position: relative;
  color: #f0d876;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
}

.policy-regulations-54 {
  position: relative;
  color: #333333;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
}

.real-estate-in-the-dock {
  position: relative;
  color: #f4fff5;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: 21.784px;
  text-align: left;
}

.rectangle-55 {
  position: relative;
  width: 243px;
  height: 48px;
  margin: 26px 0 0 38px;
  background: url('assets/images/WTAXAAbgDE.svg') no-repeat center;
  background-size: cover;
  z-index: 19;
}

.subscribe {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: absolute;
  height: 22px;
  top: 13px;
  left: 12px;
  color: #333333;
  font-family: Inter, var(--default-font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 21.784px;
  text-align: left;
  white-space: nowrap;
  z-index: 20;
}

.previous-page {
  position: relative;
  left: 16em;
  top: 1em;
  text-decoration: underline;
  color: #333333;
}