/* Featured Wordle — compact, isolated card styles */
.featured-wordle,
.featured-wordle * {
  box-sizing: border-box;
}

.featured-wordle {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #103c31;
  font-family: Arial, Helvetica, sans-serif;
}

.featured-wordle .fw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  align-items: stretch;
}

.featured-wordle .fw-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #dceae6;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.featured-wordle .fw-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  height: 100%;
  padding: 20px 18px 18px;
}

.featured-wordle .fw-solver {
  color: #fff;
  border-color: #176e53;
	box-shadow: 0 3px 6px rgb(0 0 0 / 28%);
  background: linear-gradient(
    132deg,
    #006448 0%,
    #004b38 53%,
    #003e30 100%
  );
}

.featured-wordle .fw-decoration {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

.featured-wordle .fw-decoration-one {
  width: 180px;
  height: 180px;
  top: -118px;
  right: -75px;
  background: rgba(34, 151, 107, .26);
}

.featured-wordle .fw-decoration-two {
  width: 240px;
  height: 240px;
  right: -110px;
  bottom: -195px;
  background: rgba(15, 119, 83, .30);
}

.featured-wordle .fw-decoration-hints {
  width: 165px;
  height: 165px;
  right: -82px;
  top: -105px;
  background: #d9f6eb;
}

.featured-wordle .fw-decoration-quordle {
  width: 165px;
  height: 165px;
  right: -84px;
  top: -105px;
  background: #e0f0ff;
}

.featured-wordle .fw-hints {
  background: #fff;
  border-color: #aee7d4;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.featured-wordle .fw-quordle {
  background: #fff;
  border-color: #d6e4f1;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

/* Small category badges */
.featured-wordle .fw-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 24px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}

.featured-wordle .fw-label svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.featured-wordle .fw-label-solver {
  color: #098455;
  background: #d9f8e9;
}

.featured-wordle .fw-label-hints {
  color: #139b6c;
  background: #dcf7ed;
}

.featured-wordle .fw-label-quordle {
  color: #087bc6;
  background: #e1f1ff;
}

.featured-wordle .fw-label-quordle svg {
  fill: currentColor;
}

/* Compact square letter tiles */
.featured-wordle .fw-tiles {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 17px 0 18px;
}

.featured-wordle .fw-tile {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-width: 0;
  border: 1px solid #d4dcdd;
  border-radius: 7px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .035);
}

.featured-wordle .fw-green {
  background: #12a86b;
  border-color: #77d8ae;
}

.featured-wordle .fw-yellow {
  background: #ffc928;
  border-color: #f4d16a;
}

.featured-wordle .fw-gray {
  background: #465657;
  border-color: #b2c1c1;
}

.featured-wordle .fw-empty {
  background: #f0f4f4;
  border-color: #d7dede;
}

.featured-wordle .fw-gray-light {
  background: #858d8d;
  border-color: #c4cccc;
}

/* Card headings */
.featured-wordle .fw-card h2 {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.featured-wordle .fw-solver h2 {
  color: #fff;
}

.featured-wordle .fw-hints h2 {
  color: #063f30;
}

.featured-wordle .fw-quordle h2 {
  color: #102f43;
}

/* Descriptions */
.featured-wordle .fw-card p {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.featured-wordle .fw-solver p {
  color: #e0f0e9;
}

.featured-wordle .fw-hints p,
.featured-wordle .fw-quordle p {
  color: #586c79;
}

/* Divider */
.featured-wordle .fw-divider {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 1px;
  min-height: 1px;
  margin-top: 18px;
  margin-bottom: 12px;
}

.featured-wordle .fw-solver .fw-divider {
  background: rgba(201, 237, 221, .28);
}

.featured-wordle .fw-hints .fw-divider,
.featured-wordle .fw-quordle .fw-divider {
  background: #e4eae9;
}

/* Text links */
.featured-wordle .fw-link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
}

.featured-wordle .fw-link svg {
  display: block;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
}

.featured-wordle .fw-link:hover {
  opacity: .82;
  text-decoration: none;
}

.featured-wordle .fw-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Content-sized green button */
.featured-wordle .fw-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  padding: 10px 14px;
  margin: 0;
  border: 0;
  border-radius: 28px;
  color: #fff;
  background: #0ca66a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}

.featured-wordle .fw-link-button svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
}

.featured-wordle .fw-link-hints {
  color: #129766;
}

.featured-wordle .fw-link-quordle {
  color: #087bc6;
}

/* TABLET AND DESKTOP: 768px and above */
@media (min-width: 768px) {
  .featured-wordle .fw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .featured-wordle .fw-content {
    padding: 18px 15px 16px;
  }

  .featured-wordle .fw-label {
    gap: 5px;
    min-height: 28px;
    padding: 5px 9px;
    font-size: 10px;
  }

  .featured-wordle .fw-label svg {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .featured-wordle .fw-tiles {
    gap: 5px;
    margin: 15px 0 16px;
  }

  .featured-wordle .fw-tile {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }

  .featured-wordle .fw-card h2 {
    font-size: 19px;
  }

  .featured-wordle .fw-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .featured-wordle .fw-link {
    gap: 6px;
    font-size: 12px;
  }

  .featured-wordle .fw-link svg,
  .featured-wordle .fw-link-button svg {
    flex-basis: 17px;
    width: 17px;
    height: 17px;
  }

  .featured-wordle .fw-link-button {
    gap: 7px;
    padding: 9px 12px;
    font-size: 12px;
  }
}

/* TABLET: 768px–1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .featured-wordle .fw-grid {
    gap: 12px;
  }

  .featured-wordle .fw-content {
    padding: 16px 12px 15px;
  }

  .featured-wordle .fw-label {
    gap: 4px;
    padding: 5px 7px;
    font-size: 9px;
  }

  .featured-wordle .fw-label svg {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .featured-wordle .fw-tiles {
    gap: 4px;
    margin: 14px 0;
  }

  .featured-wordle .fw-tile {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    border-radius: 6px;
  }

  .featured-wordle .fw-card h2 {
    font-size: 17px;
    letter-spacing: -0.3px;
  }

  .featured-wordle .fw-card p {
    font-size: 12px;
  }

  .featured-wordle .fw-link {
    font-size: 11px;
  }

  .featured-wordle .fw-link-button {
    padding: 8px 10px;
    font-size: 11px;
  }
}

/* MOBILE: below 768px */
@media (max-width: 767px) {
  .featured-wordle .fw-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .featured-wordle .fw-card {
    border-radius: 17px;
  }

  .featured-wordle .fw-content {
    padding: 18px 16px 16px;
  }

  .featured-wordle .fw-label {
    gap: 5px;
    min-height: 28px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .featured-wordle .fw-label svg {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .featured-wordle .fw-tiles {
    gap: 6px;
    margin: 15px 0 16px;
  }

  .featured-wordle .fw-tile {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
  }

  .featured-wordle .fw-card h2 {
    font-size: 21px;
    line-height: 1.25;
  }

  .featured-wordle .fw-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .featured-wordle .fw-divider {
    margin-top: 16px;
    margin-bottom: 10px;
  }

  .featured-wordle .fw-link {
    font-size: 13px;
  }

  .featured-wordle .fw-link svg,
  .featured-wordle .fw-link-button svg {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }

  .featured-wordle .fw-link-button {
    gap: 8px;
    padding: 9px 13px;
    font-size: 13px;
  }
}