/* Word of the Day CSS Styles */

.c-word-of-the-day {
  width: 100%;
  padding: 64px 0;
  background: #ffffff;
  box-sizing: border-box;
  font-family: var(--font-family, sans-serif);
}

.c-word-of-the-day__container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  gap: 64px;
  align-items: start;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Left Column: Word details */
.c-word-of-the-day__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.c-word-of-the-day__label {
  font-size: 25px;
  line-height: 38px;
  color: #2c3e50;
  font-family: var(--font-family-mmc-bold);
  text-align: left;
  margin-bottom: 0;
  display: block;
  margin: 0;
}

.c-word-of-the-day__title {
  letter-spacing: 0px;
  color: #009DE0;
  text-transform: capitalize;
  font-family: var(--font-family);
  font-size: 40px;
  line-height: 50px;
  font-weight: 400;
  margin: 20px 0;
}

.c-word-of-the-day__definition {
  letter-spacing: 0px;
  color: #727B83;
  font-size: 15px;
  line-height: 22px;
  margin: 0 0 32px;
  max-width: 580px;
  font-weight: 500;
}

.c-word-of-the-day__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 580px;
  box-sizing: border-box;
}

.c-word-of-the-day__link {
  font-size: 15px;
  outline: none;
  letter-spacing: 0.8px;
  color: #00AC41;
  text-transform: uppercase;
  line-height: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.c-word-of-the-day__link:hover {
  color: #029443;
  text-decoration: underline;
}

.c-word-of-the-day__share {
  display: flex;
  gap: 16px;
}

.c-word-of-the-day__share-link {
  color: #a0aec0;
  transition: color 0.15s ease;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.c-word-of-the-day__share-link:hover {
  color: #0070c0;
}

.c-word-of-the-day__share-icon {
  width: 100%;
  height: 100%;
}

/* Right Column: Share Banner Card */
.c-word-of-the-day__banner {
  flex: 0 0 460px;
  width: 460px;
  background: linear-gradient(135deg, #0082e6 0%, #3e4eb8 100%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.c-word-of-the-day__banner-media {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.c-word-of-the-day__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.c-word-of-the-day__banner-body {
  padding: 20px 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  flex: 1;
}

.c-word-of-the-day__banner-title {
  font-family: var(--font-family-mmc-bold);
  color: #fff;
  font-size: 28px;
  line-height: 40px;
  text-align: left;
  margin: 0;
  margin-bottom: 20px;
}

.c-word-of-the-day__banner-desc {
  color: #fff;
  line-height: 22px;
  font-size: 15px;
  margin: 0 0 24px;
  max-width: 280px;
  font-weight: 500;
  text-align: left;
}

.c-word-of-the-day__banner-share {
  display: flex;
  gap: 14px;
}

.c-word-of-the-day__banner-share-btn {
  background: #ffffff;
  color: #3e4eb8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.c-word-of-the-day__banner-share-btn:hover {
  transform: scale(1.08);
}

.c-word-of-the-day__banner-share-btn svg {
  width: 15px;
  height: 15px;
}

/* ---- Responsive Viewports ---- */
@media (max-width: 900px) {
  .c-word-of-the-day__container {
    flex-direction: column;
    gap: 48px;
  }
  .c-word-of-the-day__banner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    flex: none;
  }
  .c-word-of-the-day__title {
    font-size: 32px;
  }
  .c-word-of-the-day__definition {
    max-width: 100%;
  }
  .c-word-of-the-day__footer {
    max-width: 100%;
  }
}
