/* Additional Travel Blog Styling */

/* Travel Tips Widget Styling */
.travel-tips {
    display: grid;
    gap: 1rem;
}

.tip-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tip-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tip-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Destination Tags */
.destination-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.destination-tag {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.destination-tag:hover {
    background: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: var(--light-blue);
    color: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Post Navigation */
.post-navigation {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

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

.nav-previous a,
.nav-next a {
    display: block;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

.nav-subtitle {
    display: block;
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
}

/* Post Tags */
.post-tags {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.tags-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-right: 0.5rem;
}

.post-tags a {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.9rem;
}

.newsletter-form button {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--secondary-blue);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.page-numbers li a,
.page-numbers li span {
    display: block;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-numbers li a:hover,
.page-numbers .current {
    background: var(--primary-blue);
    color: var(--white);
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
}

/* Comments list container with scroll */
.comments-list-container {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
}

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

.comment-list li {
    list-style-type: none;
}

.comment-list .children {
    list-style: none;
    padding-left: 0;
    margin-left: 2rem;
}

.comment {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--dark-gray);
}

.comment-meta {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.comment-content {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Comment Form */
.comment-form {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Reset margin for comment area elements */
.comments-wrapper *,
.comment-form *,
.comment-list * {
    margin: revert;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.comment-form .submit {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.comment-form .submit:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    transform: scale(1.05);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.search-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.9rem;
}

.search-form button {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: var(--secondary-blue);
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeIn 0.6s ease-out;
}

/* Override plugin table of contents styling */
#ez-toc-container,
.ez-toc-container,
.toc-container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/* Remove arrows/bullets from TOC lists */
#ez-toc-container ul,
#ez-toc-container ol,
.ez-toc-container ul,
.ez-toc-container ol,
.toc-container ul,
.toc-container ol {
    list-style: none !important;
    list-style-type: none !important;
}

#ez-toc-container ul li,
#ez-toc-container ol li,
.ez-toc-container ul li,
.ez-toc-container ol li,
.toc-container ul li,
.toc-container ol li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Remove any pseudo-element arrows */
#ez-toc-container ul li:before,
#ez-toc-container ol li:before,
.ez-toc-container ul li:before,
.ez-toc-container ol li:before,
.toc-container ul li:before,
.toc-container ol li:before {
    content: none !important;
    display: none !important;
}

/* Remove underline from TOC links */
#ez-toc-container a,
.ez-toc-container a,
.toc-container a {
    text-decoration: none !important;
}

#ez-toc-container a:hover,
.ez-toc-container a:hover,
.toc-container a:hover {
    text-decoration: none !important;
}

/* Fast smooth scroll for TOC navigation */
html {
    scroll-behavior: smooth;
}

/* Override slow scroll with faster transition */
html.smooth-scroll {
    scroll-behavior: auto;
}

/* Target elements for fast scroll */
:target {
    scroll-margin-top: 100px;
}

/* Dark Theme for Table of Contents */
body[data-theme="dark"] #ez-toc-container a,
body[data-theme="dark"] .ez-toc-container a,
body[data-theme="dark"] .toc-container a,
body[data-theme="dark"] .ez-toc-link {
    color: #ffffff !important;
}

body[data-theme="dark"] #ez-toc-container a:hover,
body[data-theme="dark"] .ez-toc-container a:hover,
body[data-theme="dark"] .toc-container a:hover,
body[data-theme="dark"] .ez-toc-link:hover {
    color: #d4a574 !important;
}
