.blog {
    max-width: 700px;
    margin: 50px auto;
    text-align: center;
    padding: 0 50px;
}

.blog img {
    width: 200px;
    max-height: 200px;
    object-fit: contain;
}

.blog h2 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 40px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px var(--green),
        0 0 30px var(--green),
        0 0 4px var(--green);
}

.blog-text {
    line-height: 2;
    text-align: right;
}

.blog-effect-title {
    font-size: 40px;
    cursor: pointer;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.blogs-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.blog-nav-btn {
    padding: 12px 10px;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    color: var(--green);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.blog-nav-btn:hover {
    transform: translateY(-2px);
    background: transparent;
}

.blog-nav-btn.active {
    border: 2px solid white;
    font-weight: bold;
}

.blog-list {
    text-align: right;
    line-height: 2;
    padding-right: 20px;
}

.blog-cta {
    margin: 60px 0 20px;
    padding: 40px 25px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.blog-cta-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.blog-cta-title span {
    color: var(--green);
    text-shadow: 0 0 10px rgba(3, 241, 162, 0.5);
}

.blog-cta-text {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.blog-cta-btn {
    display: inline-block;
    text-decoration: none;
}

/* מאמרים קשורים */
.blog-related {
    margin-top: 60px;
}

.blog-related-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 18px;
}

.blog-related-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.blog-related-link {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 26px;
    text-decoration: none;
    color: white;
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.35);
    transition: box-shadow 0.4s, transform 0.4s;
}

/* שתי פינות של מסגרת שמתארכות למסגרת מלאה במעבר */
.blog-related-link::before,
.blog-related-link::after {
    content: "";
    position: absolute;
    width: 38%;
    height: 50%;
    border: 0 solid var(--green);
    pointer-events: none;
    transition: width 0.45s ease, height 0.45s ease, border-radius 0.45s ease;
}

.blog-related-link::before {
    top: 0;
    right: 0;
    border-top-width: 2px;
    border-right-width: 2px;
    border-top-right-radius: 16px;
}

.blog-related-link::after {
    bottom: 0;
    left: 0;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-bottom-left-radius: 16px;
}

.blog-related-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4), 0 0 26px rgba(3, 241, 162, 0.2);
}

.blog-related-link:hover::before,
.blog-related-link:hover::after {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

@media (max-width: 600px) {
    .blog-related-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* סימן שאלה בראש מאמרי השאלות והתשובות */
.blog-faq-icon {
    width: 120px;
    height: 120px;
    margin: 30px auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 60px;
    font-weight: bold;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid var(--green);
    box-shadow:
        0 0 0 12px rgba(3, 241, 162, 0.12),
        0 0 40px rgba(3, 241, 162, 0.45);
    animation: float 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .blog-faq-icon {
        animation: none;
    }
}

@media (max-width: 600px) {
    .blog-faq-icon {
        width: 90px;
        height: 90px;
        font-size: 44px;
    }
}