/* ============================================
   RESET & BASE STYLES
   Movido para /assets/css/reset.css (carregado via foundation.css)
   ============================================ */

/* ============================================
   CSS VARIABLES (COLORS)
   ============================================ */
:root {
  --color-primary: #C5A059;
  --color-background-light: #F9F5EB;
  --color-background-dark: #1A1918;
  --color-paper-light: #F2EFE5;
  --color-paper-dark: #242321;
  --color-text-light: #2D2A26;
  --color-text-dark: #E6E2D6;
  --color-accent-light: #8C3A3A;
  --color-accent-dark: #D47E7E;
}

/* ============================================
   TEXT SELECTION STYLES
   Movido para /assets/css/base.css (carregado via foundation.css)
   ============================================ */

/* ============================================
   SCROLLBAR STYLES
   Movido para /assets/css/base.css (carregado via foundation.css)
   ============================================ */

/* ============================================
   PAGE (BODY)
   Movido para /assets/css/base.css (carregado via foundation.css)
   ============================================ */

/* ============================================
   NAVIGATION
   ============================================ */
/* O CSS do header foi movido para /css/components/header.css */
/* Importado via link tag no HTML */

/* ============================================
   MAIN CONTENT
   ============================================ */
.main {
  flex-grow: 1;
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  margin-bottom: 4rem;
  text-align: center;
  position: relative;
}

.header__divider {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(197, 160, 89, 0.2);
  z-index: -10;
}

.header__content {
  display: inline-block;
  background-color: var(--color-background-light);
  padding: 0 2rem;
  transition: background-color 300ms;
}

.dark .header__content {
  background-color: var(--color-background-dark);
}

.header__label {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.header__title {
  font-family: 'Cinzel', serif;
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.dark .header__title {
  color: var(--color-text-dark);
}

@media (min-width: 768px) {
  .header__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .header__title {
    font-size: 3.75rem;
  }
}

.header__subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.125rem;
  opacity: 0.6;
}

.header__navigation {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.nav-button:hover {
  background-color: var(--color-primary);
  color: var(--color-background-light);
}

.dark .nav-button {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.dark .nav-button:hover {
  background-color: var(--color-primary);
  color: var(--color-background-dark);
}

.nav-button .material-icons {
  font-size: 1.125rem;
}

.nav-button--back {
  background-color: var(--color-primary);
  color: var(--color-background-light);
  border-color: var(--color-primary);
}

.nav-button--back:hover {
  background-color: rgba(197, 160, 89, 0.9);
  border-color: rgba(197, 160, 89, 0.9);
}

.dark .nav-button--back {
  background-color: var(--color-primary);
  color: var(--color-background-dark);
  border-color: var(--color-primary);
}

.dark .nav-button--back:hover {
  background-color: rgba(197, 160, 89, 0.85);
  border-color: rgba(197, 160, 89, 0.85);
}

/* Botões de Parashá (Torah/Haftarah) */
.parashah-button {
  padding: 0.5rem 1.5rem;
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.parashah-button:hover {
  background-color: rgba(197, 160, 89, 0.1);
}

.parashah-button--active {
  background-color: var(--color-primary);
  color: var(--color-background-light);
}

.dark .parashah-button {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.dark .parashah-button:hover {
  background-color: rgba(197, 160, 89, 0.2);
}

/* Precisa vir depois de ".dark .parashah-button" (mesma especificidade,
   cascata por ordem): senão o botão ativo herda a cor de texto do estado
   normal e fica com texto dourado sobre fundo dourado, sem contraste. */
.dark .parashah-button--active {
  color: var(--color-background-dark);
}

/* ============================================
   TEXT GRID
   ============================================ */
.text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .text-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    row-gap: 1.5rem;
    column-gap: 6rem;
  }
}

@media (min-width: 1024px) {
  .text-grid {
    row-gap: 1.5rem;
  }
}

.text-grid__divider {
  display: none;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(197, 160, 89, 0.3), transparent);
  margin-left: -0.5px;
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 768px) {
  .text-grid__divider {
    display: block;
  }
}

/* Título sticky para mobile */
.text-grid__sticky-title {
  display: none;
  position: sticky;
  top: var(--zt-nav-height, 72px);
  padding: 1rem;
  background-color: var(--color-background-light);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  z-index: 20;
  text-align: center;
}

.dark .text-grid__sticky-title {
  background-color: var(--color-background-dark);
}

.text-grid__sticky-title-text {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .text-grid__sticky-title {
    display: none !important;
  }
}

/* Headers - apenas no desktop */
.text-grid__header {
  display: none;
}

@media (min-width: 768px) {
  .text-grid__header {
    display: block;
    position: sticky;
    top: var(--zt-nav-height, 72px);
    padding: 2rem 0 1rem;
    background-color: var(--color-background-light);
    z-index: 12;
    margin-bottom: 1.5rem;
    transition: background-color 300ms;
  }

  .dark .text-grid__header {
    background-color: var(--color-background-dark);
  }

  .text-grid__header--hebrew {
    grid-column: 1;
  }

  .text-grid__header--translation {
    grid-column: 2;
  }
}

.text-grid__heading {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 1.5rem;
}

.text-grid__heading--right {
  direction: ltr;
  justify-content: flex-end;
  text-align: right;
}

.text-grid__heading-line {
  width: 2rem;
  height: 1px;
  background-color: var(--color-primary);
}

.text-grid__source-note {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 0.7rem;
  opacity: 0.6;
  text-align: right;
}

.text-grid__header--translation .text-grid__source-note {
  text-align: left;
}

.nt-text-toggle {
  display: block;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
  width: 100%;
  text-align: right;
}

.text-grid__header--hebrew .nt-text-toggle {
  margin-left: auto;
  width: auto;
}

.text-grid__source-note a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 300ms;
}

.text-grid__source-note a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.dark .text-grid__source-note {
  opacity: 0.7;
}

/* Verse pairs - mobile: empilhados, desktop: lado a lado */
.text-grid__verse-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.text-grid__verse-pair.verse-pair--highlighted {
  background: transparent;
  box-shadow: none;
}

@media (min-width: 768px) {
  .text-grid__verse-pair {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 6rem;
    align-items: start;
  }
}

.text-grid__verse {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 0;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.text-grid__verse-pair.verse-pair--highlighted .text-grid__verse {
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 34%, transparent);
  border-radius: var(--radius-sm, 4px);
}

.text-grid__verse--hebrew {
  direction: rtl;
  text-align: right;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
  min-height: 0;
  height: fit-content;
}

@media (min-width: 768px) {
  .text-grid__verse--hebrew {
    grid-column: 1;
  }

.text-grid__verse--translation {
  grid-column: 2;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
}
}

.text-grid__hebrew-verse {
  margin: 0;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.875rem;
  line-height: 1.4;
  color: var(--color-text-light);
  text-align: right;
  flex: 1;
  min-height: 0;
}

.text-grid__hebrew-verse::first-line {
  line-height: 1;
}

.dark .text-grid__hebrew-verse {
  color: var(--color-text-dark);
}

.text-grid__hebrew-verse:empty {
  display: none;
}

.text-grid__verse-number {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.3;
  flex-shrink: 0;
}

/* Número do versículo na tradução tem line-height de 1 */
.text-grid__verse--translation .text-grid__verse-number {
  line-height: 1;
}

.text-grid__translation-verse {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--color-text-light);
  text-align: left;
  flex: 1;
}

.dark .text-grid__translation-verse {
  color: var(--color-text-dark);
}

/* ============================================
   DROP CAP
   ============================================ */
.drop-cap::first-letter {
  float: left;
  font-size: 3.5rem;
  line-height: 0.8;
  font-family: 'Cinzel', serif;
  margin-right: 0.5rem;
  margin-top: 0.1rem;
  color: #C5A059;
}

.text-grid__verse-note {
  font-size: 0.75rem;
  color: var(--color-primary);
  cursor: pointer;
  text-decoration: none;
}

.text-grid__verse-note:hover {
  text-decoration: underline;
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.comments {
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  position: relative;
}

.comments__label {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-background-light);
  padding: 0 1rem;
  font-family: 'Cinzel', serif;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.dark .comments__label {
  background-color: var(--color-background-dark);
}

.comments__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .comments__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Sidebar ocupa todas as colunas */
  .comments__grid .sidebar {
    grid-column: 1 / -1;
  }
}

/* ============================================
   PROSE STYLES (Typography Plugin)
   ============================================ */
.comments__article {
  color: #292524;
}

.dark .comments__article {
  color: #e7e5e4;
}

.comments__article p {
  font-family: 'Cormorant Garamond', serif;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.comments__article h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-top: 0;
}

.dark .comments__article h3 {
  color: var(--color-text-dark);
}

.comments__article-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-top: 0;
}

.dark .comments__article-title {
  color: var(--color-text-dark);
}

.comments__article-text {
  text-align: justify;
}

.comments__article-ref {
  font-size: 0.875rem;
  font-style: italic;
  opacity: 0.75;
  margin-top: 1rem;
}

.comments__article-hebrew {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.125rem;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  background-color: var(--color-paper-light);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(197, 160, 89, 0.1);
  height: fit-content;
  grid-column: 1 / -1;
}

.dark .sidebar {
  background-color: var(--color-paper-dark);
}

.sidebar__title {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.sidebar__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.875rem;
  list-style: none;
}

@media (min-width: 768px) {
  .sidebar__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sidebar__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sidebar__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  transition: opacity 300ms, background-color 300ms;
  padding: 0.5rem;
  border-radius: 4px;
  align-items: flex-start;
}

.sidebar__item:hover {
  background-color: rgba(197, 160, 89, 0.1);
}

.dark .sidebar__item:hover {
  background-color: rgba(197, 160, 89, 0.15);
}

.sidebar__item-reference {
  color: var(--color-primary);
  font-weight: 700;
}

.sidebar__item-text {
  color: rgba(45, 42, 38, 0.8);
  transition: color 300ms;
}

.dark .sidebar__item-text {
  color: rgba(230, 226, 214, 0.8);
}

.sidebar__item:hover .sidebar__item-text {
  color: var(--color-text-light);
}

.dark .sidebar__item:hover .sidebar__item-text {
  color: var(--color-text-dark);
}

.sidebar__note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.sidebar__note-title {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.sidebar__note-text {
  font-size: 0.75rem;
  line-height: 1.75;
  opacity: 0.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  margin-top: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 300ms;
}

.dark .footer__link {
  color: var(--color-text-dark);
}

.footer__link:hover {
  color: var(--color-primary);
}

.footer__link--right {
  text-align: right;
}

.footer__link--right .footer__link-content {
  text-align: left;
}

.footer__icon {
  font-size: 1.125rem;
  transition: transform 300ms;
}

.footer__link:hover .footer__icon--left {
  transform: translateX(-0.25rem);
}

.footer__link:hover .footer__icon--right {
  transform: translateX(0.25rem);
}

.footer__link-content {
  text-align: right;
}

.footer__link-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0.5;
  text-transform: uppercase;
}

.footer__link-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  font-style: italic;
}

.footer__divider {
  height: 0.25rem;
  width: 0.25rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  opacity: 0.5;
}

/* ============================================
   ATTRIBUTION
   ============================================ */
.attribution {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(197, 160, 89, 0.1);
  text-align: center;
}

.attribution p {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-light);
  opacity: 0.7;
}

.dark .attribution p {
  color: var(--color-text-dark);
  opacity: 0.6;
}

.attribution a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 300ms;
}

.attribution a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.attribution small {
  display: inline-block;
}

/* ============================================
   DECORATIVE ELEMENT
   ============================================ */
.decorative {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
}

.decorative__path {
  color: var(--color-primary);
  fill: currentColor;
}

/* ============================================
   VERSE DETAIL BAR (Barra inferior de detalhes)
   ============================================ */
.verse-detail-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-paper-light);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  padding: 1rem 1.5rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 300ms ease-out;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.verse-detail-bar--visible {
  transform: translateY(0);
}

.dark .verse-detail-bar {
  background-color: var(--color-paper-dark);
  border-top-color: rgba(197, 160, 89, 0.1);
}

.verse-detail-bar__content {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.verse-detail-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.verse-detail-bar__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.verse-detail-bar__reference {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.verse-detail-bar__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.5;
  opacity: 0.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .verse-detail-bar__text {
  color: var(--color-text-dark);
}

.verse-detail-bar__button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 300ms, transform 300ms;
  white-space: nowrap;
}

.verse-detail-bar__button--secondary {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.dark .verse-detail-bar__button--secondary {
  color: var(--color-primary);
}

.verse-detail-bar__button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.verse-detail-bar__button:active {
  transform: translateY(0);
}

.verse-detail-bar__button .material-icons {
  font-size: 1.125rem;
}

@media (max-width: 767px) {
  .verse-detail-bar {
    padding: 1rem;
  }
  
  .verse-detail-bar__content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .verse-detail-bar__button {
    width: 100%;
    justify-content: center;
  }
  
  .verse-detail-bar__text {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

/* ============================================
   LEXICON BAR (empilha sobre verse-detail-bar)
   ============================================ */
.lexicon-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-paper-light);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  padding: 1rem 1.5rem;
  z-index: 1001; /* Acima da verse-detail-bar */
  transform: translateY(100%);
  transition: transform 300ms ease-out, bottom 300ms ease-out;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.lexicon-bar--visible {
  transform: translateY(0);
}


.dark .lexicon-bar {
  background-color: var(--color-paper-dark);
  border-top-color: rgba(197, 160, 89, 0.1);
}

.lexicon-bar__content {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.lexicon-bar__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.lexicon-bar__word {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  direction: ltr;
  text-align: left;
}

.dark .lexicon-bar__word {
  color: var(--color-primary);
}

.lexicon-bar__preview {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.5;
  opacity: 0.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .lexicon-bar__preview {
  color: var(--color-text-dark);
}

.lexicon-bar__button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent-light);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 300ms, transform 300ms;
  white-space: nowrap;
}

.dark .lexicon-bar__button {
  background-color: var(--color-accent-dark);
}

.lexicon-bar__button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.lexicon-bar__button:active {
  transform: translateY(0);
}

.lexicon-bar__button .material-icons {
  font-size: 1.125rem;
}

@media (max-width: 767px) {
  .lexicon-bar {
    padding: 1rem;
  }
  
  .lexicon-bar__content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .lexicon-bar__button {
    width: 100%;
    justify-content: center;
  }
  
  .lexicon-bar__preview {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}
