/* Blogs Lawyer Component Styles */
.blogs-lawyer-section {
    background: #fff;
    padding: 60px 0;
}
.blogs-lawyer-header {
    text-align: center;
    margin-bottom: 36px;
}
.blogs-lawyer-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 12px 0;
}
.blogs-lawyer-subtitle {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.blogs-lawyer-row {
    margin-top: 0;
}
.blogs-lawyer-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.blogs-lawyer-card-link:hover {
    text-decoration: none;
    color: inherit;
}
.blogs-lawyer-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-color: #e0e0e0;
    transition: box-shadow 0.3s ease;
}
.blogs-lawyer-card-link:hover .blogs-lawyer-card {
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.blogs-lawyer-card.blogs-lawyer-card-has-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.blogs-lawyer-card-hover-overlay {
    position: absolute;
    inset: 0;
    background: #f2f2f2;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}
.blogs-lawyer-card-link:hover .blogs-lawyer-card-hover-overlay {
    opacity: 1;
}
.blogs-lawyer-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px 22px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: #fff;
    transition: background 1s ease;
}
.blogs-lawyer-card-link:hover .blogs-lawyer-card-content {
    background: transparent;
    color: var(--color-text);
}
.blogs-lawyer-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.3;
    color: #fff;
}
.blogs-lawyer-card-link:hover .blogs-lawyer-card-title {
    color: var(--color-text);
}
.blogs-lawyer-card-line {
    border: none;
    border-top: 2px solid rgba(255,255,255,0.5);
    margin: 0 5px 5px 0;
}
.blogs-lawyer-card-link:hover .blogs-lawyer-card-line {
    border-top-color: rgba(0,0,0,0.2);
}
.blogs-lawyer-card-date {
    font-size: 0.9rem;
    opacity: 0.95;
    color: #fff;
}
.blogs-lawyer-card-link:hover .blogs-lawyer-card-date {
    opacity: 1;
    color: var(--color-text);
}
.blogs-lawyer-card-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: #666;
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    transition: opacity 0s ease, max-height 0s ease;
}
.blogs-lawyer-card-link:hover .blogs-lawyer-card-description {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    max-height: 200px;
    opacity: 1;
    color: var(--color-text);
    transition: opacity 1s ease, max-height 1s ease;
}
.blogs-lawyer-card-learn-more {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    padding: 0;
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    transition: opacity 0s ease, max-height 0s ease;
}
.blogs-lawyer-card-link:hover .blogs-lawyer-card-learn-more {
    position: relative;
    margin-bottom: 10px;
    max-height: 2em;
    opacity: 1;
    transition: opacity 1s ease, max-height 1s ease;
}
.blogs-lawyer-card-learn-more-arrow {
    font-size: 0.85rem;
    margin-left: 2px;
    transition: transform 0.2s ease;
}
@media (max-width: 991px) {
    .blogs-lawyer-section {
        padding: 40px 0;
    }
    .blogs-lawyer-header {
        margin-bottom: 28px;
    }
    .blogs-lawyer-title {
        font-size: 1.65rem;
    }
    .blogs-lawyer-subtitle {
        font-size: 1.05rem;
    }
    .blogs-lawyer-card-content {
        padding: 16px 18px;
    }
    .blogs-lawyer-card-title {
        font-size: 1.1rem;
    }
    .blogs-lawyer-card-description {
        font-size: 0.9rem;
    }
    .blogs-lawyer-search {
        margin-bottom: 32px;
    }
}

.blogs-lawyer-search {
    max-width: 520px;
    margin: 0 auto 48px;
    text-align: center;
}

.blogs-lawyer-search-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}

.blogs-lawyer-search-rule {
    width: 36px;
    height: 1px;
    background: #c8c8c8;
}

.blogs-lawyer-search-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8a8a8a;
}

.blogs-lawyer-search-input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #d5d5d5;
    border-radius: 0;
    background: transparent;
    padding: 10px 8px 12px;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-align: center;
    color: #222;
}

.blogs-lawyer-search-input::placeholder {
    color: #b0b0b0;
    font-weight: 400;
}

.blogs-lawyer-search-input:focus {
    outline: none;
    border-color: transparent !important;
    border-bottom-color: var(--color-primary) !important;
    box-shadow: none !important;
}

.blogs-lawyer-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
