/* Geghama News Grid */

.geghama-news-grid,
.geghama-news-grid * {
    box-sizing: border-box;
}

.geghama-news-grid {
    --geghama-text: #111111;
    --geghama-muted: #666666;
    --geghama-line: #e6e6e6;
    --geghama-accent: #111111;

    display: grid;
    gap: 32px;

    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    font-family: Arial, Helvetica, sans-serif;
    color: var(--geghama-text);
}

.geghama-news-columns-1 {
    grid-template-columns: 1fr;
}

.geghama-news-columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.geghama-news-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.geghama-news-columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.geghama-news-column {
    min-width: 0;
}

.geghama-news-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    margin: 0 0 12px;
    padding: 0;
    border-top: 2px solid #222;
}

.geghama-news-heading-mark {
    flex: 0 0 5px;
    width: 5px;
    height: 21px;
    background: var(--geghama-accent);
}

.geghama-news-heading h2 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.geghama-news-heading a,
.geghama-news-featured-title a,
.geghama-news-list-content h3 a {
    color: inherit;
    text-decoration: none;
}

.geghama-news-heading a:hover,
.geghama-news-featured-title a:hover,
.geghama-news-list-content h3 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.geghama-news-featured {
    margin: 0;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--geghama-line);
}

.geghama-news-featured-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #e7e7e7;
}

.geghama-news-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.geghama-news-featured-image:hover .geghama-news-img,
.geghama-news-thumb:hover .geghama-news-img {
    transform: scale(1.025);
}

.geghama-news-featured-title {
    margin: 10px 0 0;
    padding: 0;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.35px;
}

.geghama-news-list-item {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid var(--geghama-line);
}

.geghama-news-list-item:last-child {
    border-bottom: 0;
}

.geghama-news-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #e7e7e7;
}

.geghama-news-list-content {
    min-width: 0;
}

.geghama-news-list-content h3 {
    margin: 0;
    padding: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.28;
}

.geghama-news-date {
    margin-top: 6px;
    color: var(--geghama-muted);
    font-size: 12px;
    line-height: 1.3;
}

.geghama-news-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.13), transparent 27%),
        linear-gradient(135deg, #1b1b1b, #565656);
}

.geghama-news-placeholder span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.geghama-news-placeholder-featured span {
    font-size: 20px;
    letter-spacing: 3px;
}

.geghama-news-message {
    padding: 18px;
    color: #555;
    background: #f4f4f4;
    border-left: 4px solid #222;
}

@media (max-width: 980px) {
    .geghama-news-columns-3,
    .geghama-news-columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .geghama-news-grid,
    .geghama-news-columns-2,
    .geghama-news-columns-3,
    .geghama-news-columns-4 {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .geghama-news-list-item {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .geghama-news-featured-title {
        font-size: 22px;
    }
}

@media (max-width: 430px) {
    .geghama-news-list-item {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 10px;
    }

    .geghama-news-list-content h3 {
        font-size: 15px;
    }
}
