.culture-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 1.25rem;
  align-items: stretch;
}

.culture-guide-feature,
.culture-note,
.tradition-feature,
.phrase-card,
.quiz-card {
  border: 1px solid rgba(23, 19, 15, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 70px rgba(39, 28, 17, 0.08);
}

.culture-guide-feature {
  min-height: 25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff8ed;
  background:
    linear-gradient(180deg, rgba(6, 45, 39, 0.18), rgba(6, 45, 39, 0.9)),
    linear-gradient(135deg, #062d27, #7a282c);
}

.culture-guide-feature h3 {
  margin: 0.7rem 0 1rem;
  color: #fff8ed;
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1.03;
}

.culture-guide-feature p:last-child {
  margin: 0;
  color: rgba(255, 248, 237, 0.78);
  font-family: var(--font-primary);
  font-size: 1.04rem;
  line-height: 1.62;
}

.culture-guide-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.culture-note {
  min-height: 25rem;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.culture-note span {
  color: #9e7f25;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}

.culture-note h3 {
  margin: auto 0 0.75rem;
  color: #17130f;
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 600;
  line-height: 1.08;
}

.culture-note p {
  margin: 0;
  color: rgba(23, 19, 15, 0.68);
  font-family: var(--font-primary);
  font-size: 0.98rem;
  line-height: 1.52;
}

.culture-traditions {
  background: rgba(255, 255, 255, 0.42);
}

.tradition-feature-list {
  display: grid;
  gap: 1.4rem;
}

.tradition-feature {
  min-height: 31rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1fr);
}

.tradition-feature:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.92fr);
}

.tradition-feature:nth-child(even) .tradition-feature-media {
  order: 2;
}

.tradition-feature-media {
  min-height: 31rem;
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.06), rgba(5, 4, 3, 0.34)),
    var(--culture-card-image, linear-gradient(135deg, #062d27, #7a282c));
  background-size: cover;
  background-position: center;
}

.tradition-feature-igbo .tradition-feature-media {
  background-position: center 38%;
}

.tradition-feature-yoruba .tradition-feature-media {
  background-position: center 46%;
}

.tradition-feature-shared .tradition-feature-media {
  background-position: center 42%;
}

.tradition-feature-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tradition-feature-body h3 {
  margin: 0.55rem 0 1rem;
  color: #17130f;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 0.98;
}

.tradition-feature-body > p:not(.tradition-origin) {
  margin: 0 0 1.25rem;
  color: rgba(23, 19, 15, 0.72);
  font-family: var(--font-primary);
  font-size: 1.05rem;
  line-height: 1.66;
}

.tradition-feature-body strong {
  color: #17130f;
  font-weight: 700;
}

.tradition-details {
  padding: 1.15rem;
  border: 1px solid rgba(158, 127, 37, 0.18);
  border-radius: 8px;
  background: rgba(247, 235, 216, 0.72);
}

.tradition-details h4 {
  margin: 0 0 0.75rem;
  color: #17130f;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.tradition-details ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tradition-details li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(23, 19, 15, 0.72);
  font-family: var(--font-primary);
  font-size: 0.97rem;
  line-height: 1.42;
}

.tradition-details li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #9e7f25;
}

.culture-text-link {
  width: fit-content;
  margin-top: 1rem;
  color: #7a282c;
  font-family: var(--font-accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.culture-text-link:hover {
  color: #062d27;
}

.culture-etiquette-band {
  padding: 6.5rem 0;
  color: #fff8ed;
  background:
    linear-gradient(135deg, rgba(6, 45, 39, 0.94), rgba(23, 19, 15, 0.94)),
    radial-gradient(circle at 20% 20%, rgba(216, 184, 97, 0.18), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(122, 40, 44, 0.3), transparent 34%);
}

.etiquette-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.etiquette-card {
  min-height: 18rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 248, 237, 0.14);
  border-radius: 8px;
  background: rgba(255, 248, 237, 0.06);
}

.etiquette-index {
  display: block;
  margin-bottom: 4.2rem;
  color: #d8b861;
}

.etiquette-card h3 {
  margin: 0 0 0.75rem;
  color: #fff8ed;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.12;
}

.etiquette-card p {
  margin: 0;
  color: rgba(255, 248, 237, 0.72);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  line-height: 1.52;
}

.phrases-section {
  background: #fff8ed;
}

.phrases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.phrase-card {
  min-height: 15.5rem;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.phrase-card:hover {
  transform: translateY(-3px);
  border-color: rgba(158, 127, 37, 0.45);
  box-shadow: 0 30px 80px rgba(39, 28, 17, 0.11);
}

.phrase-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.phrase-card-top p {
  color: #9e7f25;
}

.phrase-audio-btn {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 2.35rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(23, 19, 15, 0.14);
  border-radius: 50%;
  color: #17130f;
  background: #fff8ed;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.phrase-audio-btn::before {
  content: "";
  width: 1.02rem;
  height: 1.02rem;
  background: currentColor;
  clip-path: polygon(0 34%, 36% 34%, 70% 8%, 70% 92%, 36% 66%, 0 66%);
}

.phrase-audio-btn::after {
  content: "";
  width: 0.56rem;
  height: 0.88rem;
  margin-left: -0.45rem;
  border: 2px solid currentColor;
  border-left: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 0 50% 50% 0;
}

.phrase-audio-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(158, 127, 37, 0.58);
  color: #9e7f25;
}

.phrase-audio-btn.is-playing {
  color: #7a282c;
  border-color: rgba(122, 40, 44, 0.45);
}

.phrase-text {
  margin: 2.4rem 0 0.75rem;
  color: #17130f;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.04;
}

.phrase-meaning,
.phrase-pronunciation {
  margin: 0;
  color: rgba(23, 19, 15, 0.66);
  font-family: var(--font-primary);
  font-size: 0.98rem;
  line-height: 1.45;
}

.phrase-pronunciation {
  margin-top: 0.55rem;
  color: rgba(122, 40, 44, 0.78);
  font-size: 0.9rem;
}

.quiz-section {
  padding-top: 4.5rem;
}

.culture-quiz-container {
  width: min(100% - 3rem, 940px);
}

.quiz-card {
  padding: 1.5rem;
}

.quiz-container {
  display: grid;
  gap: 1rem;
}

.quiz-question {
  padding: 1.1rem;
  border: 1px solid rgba(23, 19, 15, 0.1);
  border-radius: 8px;
  background: rgba(255, 248, 237, 0.64);
}

.quiz-question-text {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0 0 1rem;
  color: #17130f;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.25;
}

.quiz-question-num {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff8ed;
  background: #7a282c;
  font-family: var(--font-accent);
  font-size: 0.82rem;
}

.quiz-options {
  display: grid;
  gap: 0.65rem;
}

.quiz-option {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(23, 19, 15, 0.14);
  border-radius: 8px;
  color: #17130f;
  background: rgba(255, 255, 255, 0.76);
  font-family: var(--font-primary);
  font-size: 0.98rem;
  line-height: 1.36;
  text-align: left;
  cursor: pointer;
}

.quiz-option:hover,
.quiz-option.selected {
  border-color: rgba(158, 127, 37, 0.56);
  background: rgba(216, 184, 97, 0.14);
}

.quiz-option.correct {
  border-color: rgba(6, 45, 39, 0.5);
  background: rgba(6, 45, 39, 0.1);
}

.quiz-option.incorrect {
  border-color: rgba(122, 40, 44, 0.5);
  background: rgba(122, 40, 44, 0.1);
}

.quiz-feedback {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border-radius: 8px;
  color: rgba(23, 19, 15, 0.72);
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.quiz-controls {
  margin-top: 1.1rem;
}

.quiz-result {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(158, 127, 37, 0.18);
  border-radius: 8px;
  text-align: center;
  background: rgba(247, 235, 216, 0.72);
}

.quiz-score {
  color: #9e7f25;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.quiz-result-message {
  margin: 0.75rem auto 1rem;
  color: rgba(23, 19, 15, 0.72);
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.5;
}

.culture-cta {
  padding: 2rem 0 7rem;
  background: #fff8ed;
}

.culture-cta-inner {
  min-height: 24rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  color: #fff8ed;
  background:
    linear-gradient(135deg, rgba(6, 45, 39, 0.94), rgba(122, 40, 44, 0.88)),
    linear-gradient(180deg, #062d27, #17130f);
}

.culture-cta-inner h2 {
  max-width: 47rem;
  margin: 0.8rem 0 1.4rem;
  color: #fff8ed;
  font-family: var(--font-display);
  font-size: 2.55rem;
  font-weight: 500;
  line-height: 1.04;
}
