/* Main styles for ThaoNhiEvent theme */

/* Additional styles beyond the basic ones in style.css */

/* Button styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #004499;
    color: #fff;
}

/* Form styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Blog post styles */
.post {
    margin-bottom: 40px;
}

.post-thumbnail {
    margin-bottom: 20px;
}

.post-title {
    margin-bottom: 10px;
}

.post-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Widget styles */
.widget {
    margin-bottom: 30px;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 8px;
}

/* Search form */
.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    margin-right: 10px;
}

/* Responsive images */
img {
    height: auto;
    max-width: 100%;
}

/* Accessibility improvements */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Navigation Styles */
.main-navigation {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 15px;
    flex-direction: column;
    justify-content: center;
}

.hamburger-box {
    width: 65px;
    height: 24px;
    display: inline-block;
    position: relative;
                                    DOI VI TRI MENU
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner, 
.hamburger-inner::before, 
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    position: absolute;
    transition: transform 0.3s ease;
}

.hamburger-inner::before, 
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

.menu-toggle-text {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 500;
}

.primary-menu-container {
    display: flex;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
    margin: 0 15px;
}

.menu a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    position: relative;
}

.menu a:hover {
    color: #0066cc;
}

.menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu .sub-menu li {
    margin: 0;
    width: 100%;
}

.menu .sub-menu a {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.menu .sub-menu a:hover {
    background-color: #f8f8f8;
}

/* Single Post and Page Styles */
.entry-header {
    margin-bottom: 30px;
    text-align: center;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.posted-on,
.byline {
    margin-right: 15px;
}

.entry-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #333;
}

.entry-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.8rem;
    color: #444;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-left: 4px solid #0066cc;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.post-thumbnail {
    margin-bottom: 2rem;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ff0000;
    color: #000dff;
    font-size: 0.9rem;
                                  DANG TRONG DUOC GAN #000dff CUNG MAU TIEU  
}

.cat-links,
.tags-links {
    display: block;
    margin-bottom: 0.5rem;
}

.edit-link {
    display: block;
    margin-top: 1rem;
}

/* Navigation between posts */
.post-navigation {
    margin: 3rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 0.8rem;
    color: #0018ff;
    margin-bottom: 0.5rem;
                           SAU TRUOC
}

.nav-title {
    font-weight: 500;
    color: #333;
                           TIEU DE SAU TRUOC
}

/* Comments area */
.comments-area {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-meta {
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: bold;
}

.comment-metadata {
    font-size: 0.8rem;
    color: #666;
}

.comment-content {
    line-height: 1.6;
}

/* Responsive design for single posts */
@media (max-width: 768px) {
    .entry-title {
        font-size: 2rem;
    }
    
    .entry-content {
        font-size: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
}