/* === CTA BLOCK CSS (assets/css/cta-block.css) === */
.inline_blog_cta {
    position: relative;
    margin: auto;
    max-width: 700px;
    width: 100%;
    border-radius: 16px;
    background: var(--primary-1000, #000000); /* Fallback color */
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.inline_blog_cta:hover {
    background: var(--primary-900, #333333); /* Fallback color */
  
    transform: scale(1.02);
}

.inline_blog_cta img {
    max-width: 120px !important;
    height: auto; /* Ensure image scales proportionally */
    border-radius: 8px !important;
    margin: unset; /* Override any default margins */
}

/* Specific styling for the paragraph inside the CTA for color control */
.inline_blog_cta p {
    color: var(--neutral-100, #ffffff); /* Fallback color */
    margin: 0; /* Remove default paragraph margins */
    padding: 0; /* Remove default paragraph padding */
    flex-grow: 1; /* Allow text to take available space */
}

/* Specific styling for the paragraph inside the CTA on hover */
.inline_blog_cta:hover p {
    color: var(--neutral-1000, #000000); /* Fallback color */
    margin: 0; /* Ensure margins remain 0 on hover */
    padding: 0; /* Ensure padding remains 0 on hover */
}

/* Basic responsiveness for smaller screens */
@media (max-width: 600px) {
    .inline_blog_cta {
        flex-direction: column; /* Stack items vertically on small screens */
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    .inline_blog_cta img {
        max-width: 80px !important; /* Smaller icon on mobile */
    }
}
