:root {
  --wph-bg: #f7f7f6;
  --wph-surface: #ffffff;
  --wph-ink: #17191d;
  --wph-muted: #6f7681;
  --wph-line: rgba(23, 25, 29, 0.1);
  --wph-accent: #b99a5f;
  --wph-accent-dark: #8f743e;
  --wph-soft: #efebe3;
  --wph-radius: 8px;
  --wph-shadow: 0 18px 50px rgba(20, 24, 32, 0.1);
}

.wph-page {
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--wph-bg);
  color: var(--wph-ink);
  font-family: inherit;
  overflow: clip;
}

.wph-container {
  width: min(100% - 40px, 1480px);
  margin-inline: auto;
}

.wph-hero {
  padding: clamp(42px, 4vw, 62px) 0 clamp(18px, 3vw, 28px);
  background: var(--wph-bg);
}

.wph-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(310px, 0.78fr);
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 16px;
  min-height: clamp(420px, 43vw, 560px);
  max-height: 570px;
}

.wph-hero-carousel {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--wph-radius);
}

.wph-hero-main-carousel {
  grid-row: 1 / -1;
}

.wph-hero-side {
  display: grid;
  grid-row: 1 / -1;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 0;
}

.wph-hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.wph-overlay-card,
.wph-card {
  position: relative;
  border-radius: var(--wph-radius);
  overflow: hidden;
  background: var(--wph-surface);
}

.wph-overlay-card {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px) scale(1.015);
  box-shadow: 0 18px 46px rgba(20, 24, 32, 0.16);
  isolation: isolate;
  transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.55s ease, box-shadow 0.32s ease;
}

.wph-overlay-card.is-active,
.wph-hero-carousel.is-static .wph-overlay-card {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

.wph-overlay-card a,
.wph-card a {
  color: inherit;
  text-decoration: none;
}

.wph-overlay-card a {
  display: block;
  height: 100%;
}

.wph-overlay-card img,
.wph-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 0.65s ease, filter 0.65s ease;
}

.wph-overlay-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.02), rgba(5, 7, 11, 0.72)),
    linear-gradient(90deg, rgba(5, 7, 11, 0.48), rgba(5, 7, 11, 0.04));
  transition: opacity 0.4s ease, background 0.4s ease;
}

.wph-overlay-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(185, 154, 95, 0.28), rgba(255, 255, 255, 0) 42%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0));
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.wph-overlay-card:hover img,
.wph-card:hover .wph-card-image img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.045);
}

.wph-overlay-card:hover {
  box-shadow: 0 26px 68px rgba(20, 24, 32, 0.24);
  transform: translateY(-3px);
}

.wph-overlay-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.wph-overlay-card:hover::after {
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0), rgba(5, 7, 11, 0.8)),
    linear-gradient(90deg, rgba(5, 7, 11, 0.42), rgba(5, 7, 11, 0.02));
}

.wph-hero-main {
  min-height: 100%;
}

.wph-overlay-content {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 4vw, 54px);
  right: clamp(20px, 4vw, 54px);
  bottom: clamp(20px, 4vw, 52px);
  color: #fff;
  transform: translateY(0);
  transition: transform 0.32s ease;
}

.wph-overlay-card:hover .wph-overlay-content {
  transform: translateY(-4px);
}

.wph-overlay-content h1 {
  max-width: 820px;
  margin: 10px 0 14px;
  color: #fff;
  font-size: clamp(26px, 2.75vw, 42px);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: 0;
}

.wph-hero-small .wph-overlay-content {
  left: 20px;
  right: 20px;
  bottom: 18px;
}

.wph-hero-small .wph-overlay-content h1 {
  font-size: clamp(16px, 0.98vw, 19px);
  line-height: 1.18;
  margin-bottom: 10px;
}

.wph-hero-dots {
  position: absolute;
  z-index: 5;
  left: 22px;
  bottom: 18px;
  display: flex;
  gap: 7px;
}

.wph-hero-small-carousel .wph-hero-dots {
  left: auto;
  right: 14px;
  bottom: 12px;
}

.wph-hero-dots button {
  width: 24px;
  height: 3px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.wph-hero-dots button.is-active {
  width: 38px;
  background: var(--wph-accent);
}

.wph-hero-small-carousel .wph-hero-dots button {
  width: 14px;
}

.wph-hero-small-carousel .wph-hero-dots button.is-active {
  width: 24px;
}

.wph-hero-controls {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 20px;
  display: flex;
  gap: 8px;
}

.wph-hero-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wph-hero-controls button:hover {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(185, 154, 95, 0.86);
  color: #141414;
  transform: translateY(-1px);
}

.wph-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--wph-accent);
  color: #141414;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wph-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.wph-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wph-meta span::before {
  width: 5px;
  height: 5px;
  border-radius: 99px;
  content: "";
  background: currentColor;
  opacity: 0.62;
}

.wph-profile-band {
  padding: 10px 0 clamp(30px, 4vw, 50px);
  background:
    linear-gradient(180deg, var(--wph-bg), #fff 72%, var(--wph-bg));
}

.wph-profile-card {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  border: 1px solid rgba(185, 154, 95, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 25, 29, 0.96), rgba(44, 40, 32, 0.9)),
    var(--wph-ink);
  box-shadow: 0 24px 70px rgba(23, 25, 29, 0.16);
  color: var(--wph-ink);
  min-height: 190px;
  padding: clamp(22px, 3.2vw, 34px);
  text-decoration: none;
  overflow: hidden;
}

.wph-profile-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 14% 18%, rgba(185, 154, 95, 0.36), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 58%);
  pointer-events: none;
}

.wph-profile-card::after {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: -34px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(185, 154, 95, 0.24);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.wph-profile-media {
  position: relative;
  z-index: 1;
  display: block;
  width: 160px;
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  overflow: hidden;
  background: #1f2329;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), 0 0 0 9px rgba(185, 154, 95, 0.12);
}

.wph-profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.wph-profile-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--wph-accent);
  font-size: 34px;
  font-weight: 800;
}

.wph-profile-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.wph-profile-copy .wph-kicker {
  margin: 0;
}

.wph-profile-copy strong {
  color: #fff;
  font-size: clamp(38px, 3.8vw, 58px);
  line-height: 1;
  font-weight: 780;
}

.wph-profile-copy small {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.65;
}

.wph-profile-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  background: var(--wph-accent);
  color: #161616;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wph-profile-card:hover .wph-profile-action {
  background: #d2b777;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  transform: translateX(4px);
}

.wph-section {
  padding: clamp(28px, 4vw, 62px) 0;
}

.wph-section-head {
  margin-bottom: 20px;
}

.wph-section-head h2,
.wph-cta h2 {
  margin: 0;
  color: var(--wph-ink);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0;
}

.wph-section-head-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--wph-line);
  padding-bottom: 16px;
}

.wph-kicker {
  margin: 0 0 8px;
  color: var(--wph-accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wph-link {
  color: var(--wph-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.wph-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.wph-main-flow {
  display: grid;
  gap: clamp(32px, 4.6vw, 58px);
}

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

.wph-card {
  border: 1px solid var(--wph-line);
  box-shadow: 0 10px 26px rgba(20, 24, 32, 0.045);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wph-card:hover {
  border-color: rgba(185, 154, 95, 0.38);
  box-shadow: var(--wph-shadow);
  transform: translateY(-3px);
}

.wph-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  background: #e7e9ec;
  overflow: hidden;
}

.wph-card-body {
  padding: 18px;
}

.wph-card-body h3 {
  margin: 12px 0 9px;
  color: var(--wph-ink);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0;
}

.wph-card-body p {
  margin: 0 0 16px;
  color: var(--wph-muted);
  font-size: 14px;
  line-height: 1.6;
}

.wph-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
}

.wph-card-featured .wph-card-image {
  aspect-ratio: auto;
  min-height: 330px;
}

.wph-card-featured .wph-card-body {
  padding: clamp(20px, 3vw, 30px);
}

.wph-card-featured .wph-card-body h3 {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.06;
}

.wph-latest-grid {
  display: grid;
  gap: 14px;
}

.wph-card-horizontal {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: stretch;
}

.wph-card-horizontal .wph-card-image {
  aspect-ratio: auto;
  min-height: 150px;
}

.wph-card-horizontal .wph-card-body {
  padding: 18px 20px;
}

.wph-card-horizontal .wph-card-body h3 {
  font-size: clamp(19px, 1.5vw, 25px);
}

.wph-meta-dark {
  color: var(--wph-muted);
  font-size: 12px;
}

.wph-editor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wph-card-compact .wph-card-body h3 {
  font-size: 18px;
}

.wph-card-compact .wph-card-body p {
  display: none;
}

.wph-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.wph-side-card {
  border: 1px solid var(--wph-line);
  border-radius: var(--wph-radius);
  background: var(--wph-surface);
  padding: 20px;
  box-shadow: 0 10px 26px rgba(20, 24, 32, 0.04);
}

.wph-side-card h3 {
  margin: 0 0 16px;
  color: var(--wph-ink);
  font-size: 18px;
  font-weight: 760;
}

.wph-ranked-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ranked;
}

.wph-ranked-list li {
  counter-increment: ranked;
  border-top: 1px solid var(--wph-line);
  padding: 14px 0;
}

.wph-ranked-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.wph-ranked-list a {
  display: grid;
  grid-template-columns: 32px 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--wph-ink);
  text-decoration: none;
}

.wph-ranked-list a::before {
  content: counter(ranked, decimal-leading-zero);
  color: var(--wph-accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.wph-ranked-thumb {
  display: block;
  width: 62px;
  aspect-ratio: 1;
  border-radius: 7px;
  overflow: hidden;
  background: #e9e7e2;
}

.wph-ranked-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.wph-ranked-thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(185, 154, 95, 0.34), rgba(23, 25, 29, 0.18)),
    #e9e7e2;
}

.wph-ranked-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wph-ranked-copy strong {
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wph-ranked-list small {
  color: var(--wph-muted);
  font-size: 12px;
}

.wph-ranked-list a:hover .wph-ranked-thumb img {
  transform: scale(1.08);
}

.wph-category-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wph-category-list a {
  display: flex;
  justify-content: space-between;
  border-radius: 6px;
  background: #f3f4f5;
  padding: 10px 12px;
  color: var(--wph-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.wph-category-list em {
  color: var(--wph-muted);
  font-style: normal;
}

.wph-banner {
  display: grid;
  min-height: 210px;
  align-content: end;
  background:
    linear-gradient(135deg, rgba(23, 25, 29, 0.88), rgba(23, 25, 29, 0.38)),
    linear-gradient(135deg, #2b3036, #b99a5f);
  color: #fff;
}

.wph-banner span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wph-banner strong {
  max-width: 240px;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.1;
}

.wph-cta {
  padding: clamp(38px, 6vw, 64px) 0;
  background: #17191d;
}

.wph-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wph-cta h2 {
  color: #fff;
}

.wph-newsletter {
  display: flex;
  width: min(100%, 480px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--wph-radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
}

.wph-newsletter input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 14px;
  outline: 0;
}

.wph-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.wph-newsletter button {
  border: 0;
  border-radius: 6px;
  background: var(--wph-accent);
  color: #141414;
  padding: 13px 18px;
  font-weight: 800;
  cursor: pointer;
}

body .whb-header,
body .whb-main-header {
  position: relative;
  z-index: 9999;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

body .whb-header .wd-dropdown,
body .whb-header .sub-menu,
body .whb-header .wd-sub-menu,
body .whb-header .wd-dropdown-menu,
body .whb-header .wd-design-full-width,
body .whb-header .wd-design-sized,
body .whb-header .wd-mega-menu,
body .whb-header .wd-nav[class*="wd-style"] .wd-dropdown {
  z-index: 10020;
}

body .wd-close-side,
body .mobile-nav,
body .wd-side-hidden,
body .wd-side-hidden.wd-opened,
body .wd-search-full-screen,
body .wd-popup,
body .mfp-wrap {
  z-index: 10030;
}

body:not(.woodmart-loaded) .whb-header,
body .whb-header.whb-sticked {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(23, 25, 29, 0.08);
  backdrop-filter: blur(14px);
}

@media (max-width: 1180px) {
  .wph-hero-grid,
  .wph-content-layout {
    grid-template-columns: 1fr;
  }

  .wph-hero-grid {
    grid-template-rows: 420px auto;
    max-height: none;
    min-height: 0;
  }

  .wph-hero-side {
    grid-row: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 240px;
    min-height: 240px;
  }

  .wph-hero-small {
    min-height: 210px;
  }

  .wph-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wph-category-grid,
  .wph-editor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wph-card-featured,
  .wph-card-horizontal {
    grid-template-columns: 1fr;
  }

  .wph-card-featured .wph-card-image,
  .wph-card-horizontal .wph-card-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .wph-container {
    width: min(100% - 22px, 1440px);
  }

  .wph-hero {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .wph-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: clamp(330px, 92vw, 430px);
    min-height: 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .wph-hero-side {
    display: none;
  }

  .wph-overlay-card {
    min-height: 0;
  }

  .wph-hero-small .wph-overlay-content h1,
  .wph-overlay-content h1 {
    font-size: clamp(20px, 5.8vw, 27px);
    line-height: 1.12;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .wph-overlay-content {
    left: 16px;
    right: 16px;
    bottom: 48px;
  }

  .wph-hero-dots {
    left: 16px;
    right: 76px;
    bottom: 18px;
    overflow: hidden;
  }

  .wph-hero-dots button {
    width: 13px;
    flex: 0 0 13px;
  }

  .wph-hero-dots button.is-active {
    width: 24px;
    flex-basis: 24px;
  }

  .wph-hero-controls {
    right: 14px;
    bottom: 12px;
    gap: 6px;
  }

  .wph-hero-controls button {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .wph-category-grid,
  .wph-editor-grid,
  .wph-sidebar {
    grid-template-columns: 1fr;
  }

  .wph-profile-card {
    grid-template-columns: 82px 1fr;
    gap: 16px;
    min-height: 0;
    padding: 18px;
  }

  .wph-profile-media {
    width: 82px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), 0 0 0 6px rgba(185, 154, 95, 0.12);
  }

  .wph-profile-copy strong {
    font-size: 26px;
  }

  .wph-profile-copy small {
    font-size: 14px;
  }

  .wph-profile-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .wph-ranked-list a {
    grid-template-columns: 28px 56px minmax(0, 1fr);
    gap: 10px;
  }

  .wph-ranked-thumb {
    width: 56px;
  }

  .wph-card-featured {
    grid-column: auto;
    grid-row: auto;
  }

  .wph-section-head-inline,
  .wph-cta-inner,
  .wph-newsletter {
    align-items: stretch;
    flex-direction: column;
  }

  .wph-newsletter button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wph-overlay-card img,
  .wph-overlay-card,
  .wph-card,
  .wph-card-image img,
  body .whb-header,
  body .whb-main-header {
    transition: none;
  }
}
