/*
Theme Name: SG Real Estate
Author: Jeffrey
Version: 1.0
*/

/* =========================================
   1) DESIGN TOKENS (COLORS, SIZES)
   - Change these later to match branding
   ========================================= */
:root {
  --bg: #0b1220; /* Main page background */
  --surface: #111a2c; /* Card background */
  --text: #eaf0ff; /* Main text */
  --muted: #a9b6d3; /* Secondary text */
  --line: rgba(255, 255, 255, 0.12); /* Borders */
  --primary: #4f8cff; /* Primary button top */
  --primary2: #2f6bff; /* Primary button bottom */
  --radius: 18px; /* Default rounded corners */
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* =========================================
   2) BASE RESET / GLOBAL
   ========================================= */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(
      1200px 600px at 15% 10%,
      rgba(79, 140, 255, 0.25),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 85% 15%,
      rgba(100, 255, 193, 0.12),
      transparent 55%
    ),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.muted {
  color: var(--muted);
}

/* =========================================
   3) CONTAINER
   - This keeps content centered + readable width
   ========================================= */
.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* =========================================
   4) BASIC UI HELPERS
   ========================================= */
.card {
  border: 1px solid var(--line);
  background: rgba(17, 26, 44, 0.65);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 650;
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  border-color: rgba(79, 140, 255, 0.55);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

/* Hover/active states kept subtle and safe */
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

/* =========================================
   5) MOBILE DEFAULTS
   - We'll enhance responsiveness as we add sections
   ========================================= */
@media (max-width: 640px) {
  .btn {
    width: 100%;
  } /* Buttons stack full width on small screens */
}

/* =========================================
   HEADER (DARK + LOGO-FIRST)
   ========================================= */
.site-header {
  background: rgba(11, 18, 32, 0.95); /* retain dark theme */
  border-bottom: 1px solid var(--line);
}

/* =========================================
   HEADER (TIGHTER HEIGHT)
   ========================================= */
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 10px 0; /* ⬅️ reduced height */
}

/* =========================================
   BIG BRAND LOGO (HEADER)
   ========================================= */
.site-logo {
  width: 180px; /* BIG — intentional */
  height: auto;
  object-fit: contain;
  background: transparent;
  border: none;
  display: block;
}

/* Navigation */
.nav-main {
  display: flex;
  justify-content: right;
  gap: 22px;
}

.nav-main a {
  font-size: 14px;
  font-weight: 600;
  color: white;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-main a:hover {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

/* External icon placeholder */
.nav-main a.external::after {
  content: "↗";
  font-size: 11px;
  margin-left: 4px;
}

/* CTA button */
.header-cta {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 6px;
  background: #0b3a75;
  color: #fff;
}

/* Mobile */
@media (max-width: 900px) {
  .nav-main {
    display: none; /* we’ll add a mobile menu later */
  }
}

/* =========================================
   7) HERO SECTION (HOMEPAGE)
   - Styles the big headline + two main buttons
   ========================================= */
.hero {
  padding: 48px 0 26px; /* top/bottom spacing */
}

.hero-inner {
  display: flex;
  justify-content: center;
}

.hero-inner > div {
  max-width: 720px; /* keeps text readable */
  text-align: center;
}

.hero .actions {
  justify-content: center;
}

/* Small label pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  color: var(--muted);
  margin: 0 0 12px;
}

/* Headline + subhead text */
.hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.subhead {
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 58ch; /* keeps lines readable */
}

/* Button row */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap; /* wraps nicely on smaller screens */
}

/* Make buttons feel “bigger” in the hero only */
.hero .btn {
  padding: 12px 16px;
  border-radius: 16px;
}

.section-head-expert {
  margin-bottom: 16px;
  text-align: center;
}

/* =========================================
   8) COUNTRY CHOICE SECTION
   - Styles the 2 big country cards under hero
   ========================================= */
.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.country-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(17, 26, 44, 0.65);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.country-card:hover {
  background: rgba(17, 26, 44, 0.82);
  border-color: rgba(255, 255, 255, 0.18);
}

.country-flag {
  font-size: 32px;
}

.pill {
  display: inline-flex;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
}

/* Responsive: stack columns on smaller screens */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr; /* stack */
  }
}

@media (max-width: 640px) {
  .country-grid {
    grid-template-columns: 1fr; /* stack country cards */
  }
}

/* =========================================
   LISTING GRID + CARDS
   ========================================= */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.listing-card {
  border: 1px solid var(--line);
  background: rgba(17, 26, 44, 0.65);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.listing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.listing-media {
  height: 170px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid var(--line);
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.listing-body {
  padding: 14px;
}

.listing-title {
  margin: 0 0 8px;
  font-size: 16px;
}

.listing-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.tag {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.listing-price {
  margin-top: 12px;
  font-weight: 800;
  font-size: 18px;
}

/* Responsive */
@media (max-width: 900px) {
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   CLEAR / OUTLINE BUTTON (HOMEPAGE)
   ========================================= */
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

/* Hover state: subtle highlight */
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

/* =========================================
   SINGLE LISTING PAGE
   ========================================= */
.page-title {
  margin: 18px 0 10px;
}

.single-wrap {
  border: 1px solid var(--line);
  background: rgba(17, 26, 44, 0.55);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Main hero image */
.single-hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.single-body {
  padding: 18px;
}

.single-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

/* Big price on single page */
.single-price {
  font-weight: 900;
  font-size: 24px;
  margin: 6px 0 14px;
}

/* Description text */
.single-desc {
  color: var(--muted);
  line-height: 1.6;
}

/* Photo gallery grid */
.single-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.single-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* Responsive */
@media (max-width: 900px) {
  .single-hero img {
    height: 300px;
  }
  .single-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .single-hero img {
    height: 240px;
  }
  .single-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* =========================================
   LISTING STATUS BADGES
   ========================================= */
.listing-media {
  position: relative; /* allows absolute positioning of badge */
}

.listing-status {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #fff;
}

/* Status colors */
.status-sold {
  background: rgba(220, 38, 38, 0.95); /* red */
}

.status-pending {
  background: rgba(245, 158, 11, 0.95); /* amber */
}
/* =========================================
   TOP INFO BAR (RIGHT-ALIGNED)
   ========================================= */
.top-bar {
  background: rgba(11, 18, 32, 0.98);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.top-bar-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 6px 0;
}

/* Right group */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  white-space: nowrap;
}

.top-name {
  color: var(--text);
  font-weight: 700;
}

.top-tagline {
  font-style: italic;
}

.top-phone {
  color: var(--text);
  font-weight: 600;
}

.sep {
  opacity: 0.35;
}

/* Social icons */
.social-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Mobile: simplify */
@media (max-width: 640px) {
  .top-bar-right {
    font-size: 12px;
    gap: 4px;
  }

  .top-tagline {
    display: none; /* hide tagline on small screens */
  }
}

/* =========================================
   ABOUT PAGE (LEFT TEXT / RIGHT PHOTO)
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr; /* left bigger, right photo */
  gap: 16px;
  align-items: stretch;
}

main.section {
  margin-top: 20px; /* space below header border */
}

.about-content {
  padding: 16px;
}

.about-content h3 {
  margin: 0 0 10px;
  text-align: center;
}

.about-photo-img {
  width: 75%;
  height: 75%;
  min-height: 120px; /* ensures it feels “full” */
  object-fit: cover;
  display: block;
}

/* Highlights */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.highlight {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.highlight-title {
  font-weight: 800;
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-highlights {
    grid-template-columns: 1fr;
  }
  .about-photo-wrap {
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
  }

  .about-photo-img {
    width: 100%;
    max-width: 360px; /* keeps it looking clean */
    height: auto;
  }
}

/* =========================================
   MOBILE MENU
   ========================================= */
/* Make sure header-right lines up nicely */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hamburger button (hidden on desktop by default) */
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  line-height: 1;
}

/* Mobile drawer hidden by default */
.nav-mobile {
  display: none;
  margin-top: 10px;
  padding: 10px 0 16px;
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 8px;
}

.nav-mobile a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.nav-mobile a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* Mobile behavior */
@media (max-width: 900px) {
  .nav-main {
    display: none;
  } /* hide desktop nav */
  .nav-toggle {
    display: inline-flex;
  } /* show hamburger */
  body.menu-open .nav-mobile {
    display: flex;
  } /* open drawer */
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: start;
  margin-top: 14px;
}

.contact-card {
  padding: 16px;
}

.contact-success {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(100, 255, 193, 0.25);
  background: rgba(100, 255, 193, 0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(169, 182, 211, 0.8);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(79, 140, 255, 0.6);
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-row.two {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-row.two {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  margin-top: 64px;
  padding-top: 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.footer-col {
  padding: 8px 4px;
}

.footer-title {
  font-size: 12px;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.footer-name {
  font-size: 15px; /* ⬅️ was 18px */
}

.footer-reg {
  font-size: 11px;
}

.footer-meta {
  margin: 0 0 4px;
}

.footer-broker {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.footer-phone {
  display: inline-flex;
  font-weight: 900;
  font-size: 18px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(79, 140, 255, 0.35);
  background: rgba(79, 140, 255, 0.1);
}

.footer-phone:hover {
  border-color: rgba(79, 140, 255, 0.65);
  background: rgba(79, 140, 255, 0.14);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.footer-social .social-icon img {
  width: 16px;
  height: 16px;
}

.footer-contact-link {
  color: var(--text);
  opacity: 0.95;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact-link:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  opacity: 0.9;
  text-align: right;
}
/* Free-flowing footer refinements */
.footer-brand {
  margin-bottom: 14px;
}

.footer-links a {
  padding: 6px 0;
  border: none;
  background: transparent;
}

.footer-links a:hover {
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-phone {
  margin-bottom: 8px;
}

.footer-social {
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   LARGE CTA SECTION (PRE-FOOTER)
   ========================================= */
.cta-section {
  margin-top: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(
      800px 400px at 50% 0%,
      rgba(79, 140, 255, 0.22),
      transparent 60%
    ),
    rgba(11, 18, 32, 0.95);
}

.cta-inner {
  text-align: center;
}

.cta-title {
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 10px;
  font-weight: 900;
}

.cta-sub {
  max-width: 60ch;
  margin: 0 auto 20px;
  font-size: 16px;
}

.cta-btn {
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 14px;
}

/* Mobile */
@media (max-width: 640px) {
  .cta-section {
    padding: 40px 0;
  }
}
/* Honeypot - light anti spam for contact me*/
.sg-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}
/* =========================================
   FEATURED LISTING (HOMEPAGE HERO)
   ========================================= */
.featured-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  margin: 18px 0 16px;
  border: 1px solid var(--line);
  background: rgba(17, 26, 44, 0.55);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ===== Fix Featured Listing image crop/fill ===== */
.featured-card .featured-media {
  height: auto;
  overflow: hidden;
}

.featured-card .featured-media img.wp-post-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.featured-body {
  padding: 14px 14px 12px;
}

.featured-top {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.featured-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(79, 140, 255, 0.35);
  background: rgba(79, 140, 255, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.featured-title {
  margin: 0 0 10px;
  font-size: 18px;
}

.featured-price {
  margin-top: 12px;
  font-weight: 900;
  font-size: 20px;
}

.featured-link {
  margin-top: 10px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-media {
    height: 200px;
  }
}

/* WordPress gallery styling inside listing content */
.single-desc .wp-block-gallery {
  margin-top: 14px;
}

.single-desc .wp-block-gallery img {
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* =========================================
   LISTING PHOTO SLIDER + LIGHTBOX
   ========================================= */
.sg-slider {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.sg-viewport {
  overflow: hidden;
}

.sg-track {
  display: flex;
  transition: transform 260ms ease;
  will-change: transform;
}
.sg-track > * {
  margin: 0;
}

.sg-slide {
  flex: 0 0 100%; /* ⬅️ IMPORTANT: one slide per view */
  width: 100%;
  height: 420px;
  position: relative;
  cursor: zoom-in;
  background: rgba(255, 255, 255, 0.03);
}

.sg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* arrows appear on hover */
.sg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.65);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
  z-index: 2;
}

.sg-slider:hover .sg-nav {
  opacity: 1;
  pointer-events: auto;
}

.sg-prev {
  left: 12px;
}
.sg-next {
  right: 12px;
}

/* Lightbox */
.sg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.sg-lightbox.is-open {
  display: flex;
}

.sg-lightbox-inner {
  position: relative;
  width: min(1100px, 96vw);
  height: min(720px, 86vh);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(11, 18, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sg-lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-out;
}

.sg-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  z-index: 3;
}

.sg-lb-prev,
.sg-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  z-index: 3;
}

.sg-lb-prev {
  left: 14px;
}
.sg-lb-next {
  right: 14px;
}

@media (max-width: 900px) {
  .sg-slide {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .sg-slide {
    height: 260px;
  }
}