﻿.ex-words {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.topic-head {
    position: relative;
    /*width: 100%;*/
    height: auto;    
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
}

.topic-overlay {
    background-color: rgba(255, 255, 255, 0.9); 
    padding: 15px;
    border-radius: 8px;
}

.topic-head h1 {
    font-size: 150%;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.topic-head h2 {
    font-size: 100%;
    font-weight: 400;
    margin: 0;
}

.h1-image {
    background-size: cover;
    width: 70px;
    height: 70px;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    outline: none;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
    background-color: transparent;
    border-radius: 5px;
}


.word-card {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

    .word-card:last-child {
        border-bottom: none;
    }

.word {
    font-size: 1.1em;
    margin-bottom: 8px;
    font-weight: bold;
}

.transcription {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 12px;
}

.translation {
    font-size: 1em;
    color: #444;
    margin-top: 5px;
}

.examples p {
    margin-bottom: 10px;
}

.english-word {
    font-weight: bold;
}

.example-translation {
    font-size: 0.95em;
    color: #555;
    margin-top: 3px;
}

.sound-button {
    display: inline-block;
    margin-left: 8px;
    width: 25px !important;
    height: 25px !important;
}

.transcription-table-td{
    text-align:right;
}

/*dark-mode*/
body.dark-mode .topic-overlay {
    background-color: rgb(57 57 57 / 96%);
}


