/* Phrase views reuse the Single shell and panels. Every override stays in this module. */
.wedcy-phrase { overflow-wrap: anywhere; }
.wedcy-phrase h1, .wedcy-phrase .breadcrumb_last { text-transform: none; letter-spacing: normal; }
.wedcy-phrase h1 { color: #663d20; }
.wedcy-phrase .wedcy-phrase__header { margin-bottom: 12px; }
.wedcy-phrase .wedcy-phrase__register { color: #777; font: 400 13px/1.65 Tahoma, sans-serif; }
.wedcy-phrase .wedcy-phrase__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 9px; margin-top: 0; }
.wedcy-phrase .wedcy-phrase__register-tag { display: inline-block; padding: 1px 7px; border: 1px solid #818181; border-radius: 12px; background: #ffffff; color: #818181; font: 400 12px/1.5 Tahoma, sans-serif; }
.wedcy-phrase .wedcy-phrase__reading { color: #e08542; font: 400 15px/1.65 Tahoma, sans-serif; }
.wedcy-phrase .wedcy-single__section > h2 { border-bottom: 1px solid var(--panel-border); }
.wedcy-phrase .wedcy-phrase__contexts { list-style: none; padding: 0; margin: 0; }
.wedcy-phrase .wedcy-phrase__context { min-width: 0; padding: 13px 14px; margin-bottom: 10px; background: #fff; border: 1px solid #c9e4ef; border-radius: 4px; }
.wedcy-phrase .wedcy-phrase__context h3 { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 9px; padding-bottom: 8px; margin-bottom: 4px; color: #2462a9; font: 500 19px/1.5 Prompt, sans-serif; border-bottom: 1px solid #d4eaf3; }
.wedcy-phrase .wedcy-phrase__number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 2px 0 0; color: #fff; background: #2462a9; border-radius: 4px; text-align: center; font: 500 15px/1 Prompt, sans-serif; }
.wedcy-phrase .wedcy-phrase__turn { padding-bottom: 8px; }
.wedcy-phrase .wedcy-phrase__turn + .wedcy-phrase__turn { padding-top: 0; }
.wedcy-phrase .wedcy-phrase__explanation { padding-top: 0; font-size: 15px; line-height: 1.5; }
.wedcy-phrase .wedcy-phrase__nearby + .wedcy-phrase__nearby { border-top: 1px dashed #c2c2c2; padding-top: 14px; margin-top: 14px; }
.wedcy-phrase .wedcy-phrase__nearby > h3 { color: #8a5229; font: 500 22px/1.5 "Roboto Slab", sans-serif; }
.wedcy-phrase .wedcy-phrase__nearby-meaning { margin: 0 0 5px; }
.wedcy-phrase .wedcy-phrase__nearby-dialogue { padding: 10px 12px 2px; margin-bottom: 8px; border: 1px solid #dadada; border-radius: 4px; background: #fff; }
.wedcy-phrase .wedcy-phrase__related-manual { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #8a5229; border-radius: 4px; }
.wedcy-phrase .wedcy-single__related-item h3 { text-transform: none; font: 500 19px/1.7 "Roboto Slab", sans-serif; }
.wedcy-phrase .wedcy-single__related-meta.wedcy-phrase__reading { font-size: 13px; }
.wedcy-phrase--archive .breadcrumb_last { text-transform: uppercase; }
.wedcy-phrase--archive .wedcy-phrase__entry { margin-bottom: 0; padding-block: 10px; border-bottom: 1px solid #e4ddd6; }
.wedcy-phrase--archive .wedcy-phrase__entry > h2 { font: 400 23px/1.4 "Roboto Slab", sans-serif; color: #663d20; }
.wedcy-phrase--archive .wedcy-phrase__entry-meaning { font-size: 15px; line-height: 1.65; }
.wedcy-phrase--archive .wedcy-category__header h1 { text-shadow: none; font-size: 34px; }
.wedcy-phrase .wedcy-single__recommendations h3 { text-transform: none; overflow-wrap: anywhere; }
.wedcy-phrase .wedcy-single__recommendation-static { display: block; padding: 3px 12px 6px; }
@media (max-width: 767px) {
    .wedcy-phrase .wedcy-phrase__context { padding: 10px; }
    .wedcy-phrase .wedcy-single__section > h2 { padding-inline: 10px; font-size: 18px; }
    .wedcy-phrase .wedcy-single__panel { padding-inline: 10px; }
    .wedcy-phrase .wedcy-phrase__nearby > h3 { font-size: 20px; }
    .wedcy-phrase--archive .wedcy-category__header h1 { font-size: 28px; }
}
