/**
 * Custom Styles
 *
 * Add your custom CSS overrides here.
 * This file is loaded after style.css.
 *
 * @package BulgarianLawyer
 */

/* WordPress block editor alignment overrides */
.entry-content > .alignwide {
    max-width: var(--container-max);
    width: 100%;
}

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

/* WordPress gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    width: 100%;
    border-radius: var(--radius-sm);
}

/* WordPress comment form styling */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

.comment-form label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.comment-form p {
    margin-bottom: var(--space-lg);
}

/* Comment list styling */
.comment-list .comment {
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--color-border-light);
}

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

.comment-author {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.comment-metadata {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply a {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-accent);
}

/* ============================================
   CONTACT CARDS (full-width grid, no form)
   ============================================ */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.contact-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.contact-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
}

.contact-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 1.5;
}

.contact-card strong {
    display: block;
    font-size: var(--fs-sm);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.contact-card span,
.contact-card a {
    font-size: var(--fs-sm);
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact-card a:hover {
    color: var(--color-accent);
}

@media (max-width: 1024px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .cta-banner,
    .hero__actions,
    .btn,
    .menu-toggle,
    .lang-switcher,
    .contact-form {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
