/* =========================
   COMPONENTS CSS
   Additional component styles
========================== */

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--muted);
    transition: color .2s;
}

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

.breadcrumbs span {
    color: var(--text);
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--glass);
    font-weight: 600;
    transition: all .2s;
}

.pagination a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Post Navigation */
.post-navigation {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.post-navigation a {
    padding: 24px;
    border-radius: var(--radius2);
    background: var(--glass);
    border: 1px solid var(--border);
    transition: all .25s;
}

.post-navigation a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.nav-subtitle {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-weight: 700;
    color: var(--text);
}

/* Entry Content */
.entry-content {
    font-size: 17px;
    line-height: 1.8;
}

.entry-content h2 {
    margin: 48px 0 24px;
}

.entry-content h3 {
    margin: 36px 0 16px;
}

.entry-content p {
    margin-bottom: 24px;
}

.entry-content ul,
.entry-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 12px;
}

.entry-content img {
    border-radius: var(--radius);
    margin: 32px 0;
}

.entry-content blockquote {
    margin: 32px 0;
    padding: 24px;
    border-left: 4px solid var(--primary);
    background: var(--glass);
    border-radius: var(--radius);
    font-style: italic;
}

.entry-content code {
    background: var(--glass);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 14px;
}

.entry-content pre {
    background: var(--glass);
    padding: 24px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 24px 0;
}

.entry-content pre code {
    background: none;
    padding: 0;
}

/* Comments */
.comments-area {
    margin-top: 48px;
}

.comments-title {
    margin-bottom: 32px;
}

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

.comment {
    margin-bottom: 24px;
    padding: 24px;
    background: var(--glass);
    border-radius: var(--radius);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-author img {
    border-radius: 50%;
}

.comment-metadata {
    font-size: 13px;
    color: var(--muted);
}

.comment-content {
    margin-top: 12px;
}

.reply {
    margin-top: 12px;
}

.reply a {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

/* Comment Form */
.comment-form {
    margin-top: 32px;
    padding: 32px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--glass);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: all .2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--focus);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .submit {
    margin-top: 16px;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--glass);
    color: var(--text);
    font-size: 15px;
}

.search-form button {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}

.search-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow2);
}

/* Widget Styles */
.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 20px;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.widget a {
    color: var(--muted);
    transition: color .2s;
}

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

/* Tags */
.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.tags a {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--glass);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    transition: all .2s;
}

.tags a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Social Share */
.social-share {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* Page Links */
.page-links {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* Alignment Classes */
.alignleft {
    float: left;
    margin-right: 24px;
}

.alignright {
    float: right;
    margin-left: 24px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress Core Classes */
.sticky {
    /* Styles for sticky posts */
}

.bypostauthor {
    /* Styles for post author comments */
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.gallery-item img {
    border-radius: var(--radius);
}
