/**
 * EczaneSoft Theme - Özel Stiller
 * Tailwind ile yapılamayan özel stiller buraya eklenebilir.
 *
 * @package EczaneSoft
 */

/* WordPress Varsayılan Hizalama */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.alignwide {
    max-width: 100%;
    width: 100%;
}

.alignfull {
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* WordPress Caption */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    text-align: center;
}

/* WordPress Gallery */
.gallery {
    display: grid;
    gap: 0.5rem;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Sayfalama stilleri */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.page-numbers:hover {
    background-color: #eff6ff;
    border-color: #3b82f6;
    color: #2563eb;
}

.page-numbers.current {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.page-numbers.dots {
    border: none;
    background: transparent;
}

/* Yorum stilleri */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.comment-list .comment:last-child {
    border-bottom: none;
}

.comment-list .comment .comment-author img {
    border-radius: 9999px;
    margin-right: 0.75rem;
}

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

/* Line clamp */
.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Geçiş animasyonları */
.transition-shadow {
    transition-property: box-shadow;
    transition-duration: 200ms;
    transition-timing-function: ease;
}
