/**
 * Pronunciation Pages styles
 */

/* Admin styles */
.pronunciation-admin .spinner.is-active {
    visibility: visible;
}

/* Frontend styles */
.pronunciation-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.pronunciation-page .entry-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
}

.pronunciation-container {
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pronunciation-word {
    margin-bottom: 30px;
}

.pronunciation-word h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #333;
}

.phonetic-spelling {
    font-family: monospace;
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #555;
    font-style: italic;
}

.pronunciation-audio {
    margin: 20px 0;
}

.pronunciation-definition, 
.pronunciation-examples,
.pronunciation-similar-words,
.pronunciation-mispronunciations,
.pronunciation-collocations,
.pronunciation-fun-fact,
.pronunciation-quiz,
.pronunciation-word-family {
    margin-bottom: 25px;
}

.pronunciation-examples ul {
    padding-left: 20px;
}

.pronunciation-examples li {
    margin-bottom: 8px;
}

/* Responsive audio player */
.pronunciation-audio audio {
    width: 100%;
    max-width: 400px;
}

/* Pronunciation Pages Styles */

/* Header Styles */
.new-page-header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 20px;
}

.pronunciation-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo {
    max-height: 80px;
    width: auto;
}

.site-title-wrapper {
    text-align: center;
}

.site-title {
    font-size: 24px;
    margin: 0;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.site-description {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0;
}

/* Content Styles */
.pronunciation-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.pronunciation-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.word-title {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.pronunciation-audio {
    margin: 1.5rem 0;
    width: 100%;
}

.pronunciation-audio audio {
    width: 100%;
    border-radius: 30px;
}

.pronunciation-definition h3,
.pronunciation-examples h3,
.related-words h3,
.popular-words h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eaeaea;
}

.definition-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.examples-list,
.related-words-list,
.popular-words-list {
    list-style-position: inside;
    padding-left: 0;
}

.examples-list li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 1.05rem;
    position: relative;
    padding-left: 1.2rem;
}

.examples-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
}

.pronunciation-meta {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
}

.related-words-list li,
.popular-words-list li {
    margin-bottom: 0.5rem;
}

.related-words-list a,
.popular-words-list a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s;
}

.related-words-list a:hover,
.popular-words-list a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.no-word-data {
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-word-data p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.popular-words-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.popular-words-list li {
    margin: 5px;
}

.popular-words-list a {
    display: inline-block;
    padding: 5px 10px;
    background: #f1f1f1;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.popular-words-list a:hover {
    background: #3498db;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pronunciation-page {
        padding: 1rem;
    }
    
    .pronunciation-container,
    .pronunciation-meta {
        padding: 1.2rem;
    }
    
    .word-title {
        font-size: 1.8rem;
    }
    
    .phonetic-spelling {
        font-size: 1.2rem;
    }
} 