/* News / article page — content, gallery, sidebar. Variables: site.css */

.article-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.article-main-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
    border-bottom: 4px solid var(--main-red);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h3 {
    color: var(--main-blue);
    font-weight: 800;
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.article-body ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-body ul li {
    margin-bottom: 10px;
    position: relative;
    list-style: none;
}

.article-body ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--main-red);
    position: absolute;
    left: -25px;
    top: 2px;
    font-size: 1rem;
}

.article-quote {
    background-color: var(--bg-gray);
    border-left: 5px solid var(--main-red);
    padding: 20px 25px;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--main-blue);
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    cursor: pointer;
}

.sidebar-widget {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.widget-title {
    font-weight: 800;
    color: var(--main-blue);
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--main-red);
}

.house-info-mini {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.house-info-mini i {
    color: var(--main-red);
    font-size: 1.5rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.house-info-mini h6 {
    margin: 0;
    font-weight: 700;
    color: var(--main-blue);
    font-size: 1rem;
}

.house-info-mini p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

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

.other-news-item {
    border-bottom: 1px dashed #eaeaea;
    padding: 15px 0;
}

.other-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.other-news-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    display: block;
}

.other-news-title {
    font-weight: 600;
    color: var(--main-blue);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.3;
    display: block;
    transition: color 0.3s;
}

.other-news-title:hover {
    color: var(--main-red);
}

@media (max-width: 768px) {
    .article-card {
        padding: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
