/* style.css – shared between editor preview and front‑end */

/* Container for the list */
.acf-rib-list,
.acf-rib-preview-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Individual items */
.acf-rib-item,
.acf-rib-preview-item {
    width: 100%; /* three‑column layout; adjust as needed */
    box-sizing: border-box;
}

/* Link wrapper */
.acf-rib-link,
.acf-rib-preview-item a {
    display: flex;
    text-decoration: underline;
    color: inherit;
    /* border: 1px solid #e0e0e0; */
    border-radius: 4px;
    overflow: hidden;
    /* transition: transform .15s ease, box-shadow .15s ease; */
    align-items: center;
}

/* Hover effect */
.acf-rib-link:hover,
.acf-rib-preview-item a:hover {
    /* transform: translateY(-2px); */
    /* box-shadow: 0 4px 8px rgba(0,0,0,.1); */
}

/* Image */
.acf-rib-img,
.acf-rib-preview-img {
	width: 60px;
    height: auto;
    /* display: inline-block; */
    border-radius: 50%;
}

/* Title */
.acf-rib-title,
.acf-rib-preview-title {
    /* display: block; */
    padding: .5rem;
    font-weight: normal;
    text-align: left;
    /* background: #fafafa; */
}