/**
 * Icon Block - Frontend Styles
 */

.sic-icon-block {
    /* Padding wordt via inline style gezet */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Horizontaal links uitgelijnd */
    justify-content: flex-start; /* Verticaal bovenaan */
    margin: 0; /* Remove any default margins */
    box-sizing: border-box;
}

.sic-icon-block__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sic-icon-block__link:hover {
    text-decoration: none;
    color: inherit;
}

/* Fix for WordPress blocks - remove ALL inherited margins/padding */
.sic-icon-block {
    margin: 0 !important;
}

/* Ensure icon block content doesn't have unexpected spacing */
.sic-icon-block > * {
    max-width: 100%;
}

/* Center alignment */
.sic-icon-block[style*="text-align: center"] {
    align-items: center;
}

/* Right alignment */
.sic-icon-block[style*="text-align: right"] {
    align-items: flex-end;
}

.sic-icon-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sic-icon-block:hover .sic-icon-block__icon {
    transform: scale(1.1);
}

.sic-icon-block__icon {
    display: inline-block;
    margin: 0 0 1rem 0;
    line-height: 1;
    transition: transform 0.3s ease;
}

.sic-icon-block__icon svg {
    width: 1em;
    height: 1em;
    display: block;
}

.sic-icon-block__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0.5rem 0 0.75rem 0;
    color: var(--color-heading, #1a1a1a);
}

.sic-icon-block__content {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.5rem 0 0 0;
    color: var(--color-text, #333333);
}

/* Responsive */
@media (max-width: 768px) {
    .sic-icon-block__title {
        font-size: 1.25rem;
    }
}
