
    /* General Container for embedded blocks */
    .rsa-container {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        max-width: 960px;
        margin: 2em auto;
    }

    /* Headings */
    .rsa-container h2 {
        background: #eaf4fc;
        border-left: solid 5px #0095d9;
        text-align: center;
        font-size: 1.8em;
        margin-bottom: 0.5em;
        padding: 10px;
    }
    .rsa-container h3 {
        font-size: clamp(1.2em, 3.5vw, 1.5em);
        word-wrap: break-word;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 10px;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .rsa-container .rsa-h3-center {
        text-align: center;
        border-bottom: none;
    }

    /* Disclaimers / Attributions */
    .rsa-disclaimer {
        text-align: center;
        font-size: 0.8em;
        color: #666;
        margin-bottom: 30px;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        padding: 10px;
        background-color: #fff;
    }
    .rsa-attribution {
        font-size: 0.9em;
        color: #555;
        margin-bottom: 20px;
        padding: 10px;
        background-color: #f0f0f0;
        border-left: 4px solid #ccc;
    }

    .lead-paragraph {
    padding: 0 10px;
    }


    /* --- keyword-list --- */
    .keyword-list {
        list-style: none;
        padding: 0;
        margin: 20px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .keyword-list li {
        background-color: #f0f0f0;
        color: #333;
        padding: 8px 15px;
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        font-size: 14px;
        font-weight: 500;
        transition: background-color 0.2s, box-shadow 0.2s;
        cursor: default;
    }
    .keyword-list li:hover {
        background-color: #e0e0e0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }


    /* --- Layouts --- */
    /* Flex for affiliate items */
    .rsa-items-container-flex {
        display: flex;
        gap: 10px;
    }
    /* Grid for recipe items */
    .rsa-items-container-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(auto, 230px)); /* 4 columns with max width */
        gap: 10px;
        justify-content: center; /* Center the grid */
    }

    /* --- Card Base Styles --- */
    .rsa-item-card-affiliate, .rsa-item-card-recipe {
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
    }
    .rsa-item-card-affiliate a, .rsa-item-card-recipe a {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    .rsa-item-card-affiliate .img-container, .rsa-item-card-recipe .img-container {
        padding: 10px 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .rsa-item-card-affiliate .item-info, .rsa-item-card-recipe .item-info {
        padding: 0 5px 5px 5px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    .rsa-item-card-affiliate .item-name {
        font-size: 0.8em;
        word-wrap: break-word;
        height: 5.6em; /* 1.4 * 4 lines */
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 5px;
        flex-grow: 1;
    }
    .rsa-item-card-recipe .item-name {
        font-size: 0.8em;
        word-wrap: break-word;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 5px;
        flex-grow: 1;
        text-align: center;
    }

    /* --- Affiliate Card Specifics --- */
    .rsa-item-card-affiliate {
        flex: 1;
        min-width: 0;
    }
    .rsa-item-card-affiliate img {
        width: 100%;
        height: auto;
        max-width: 128px;
        display: block;
        margin: 0 auto;
        border-radius: 4px;
    }
    .rsa-item-card-affiliate .item-price {
        font-weight: bold;
        font-size: 1.1em;
        color: #e53935;
        margin-bottom: 10px;
        text-align: center;
    }
    .rsa-item-card-affiliate .affiliate-link {
        display: block;
        background-color: #ff9800;
        color: white;
        text-align: center;
        padding: 5px;
        border-radius: 5px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        margin-top: auto;
        font-size: 0.9em;
    }
    .rsa-item-card-affiliate .affiliate-link:hover { background-color: #f57c00; }

    /* --- Recipe Card Specifics --- */
    .rsa-item-card-recipe .img-container {
        height: auto;
        flex-shrink: 0;
    }
    .rsa-item-card-recipe img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        display: block;
        border-radius: 4px;
    }

    /* --- Table Styles --- */
    .rsa-container table {
        width: 100%;
        border-collapse: collapse;
        margin: 25px 0;
        font-size: 0.95em;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    .rsa-container th, .rsa-container td {
        padding: 12px 15px;
        text-align: left;
    }
    .rsa-container thead tr {
        background-color: #f8f8f8;
        color: #333;
        text-align: left;
        font-weight: bold;
        border-bottom: 2px solid #f0f0f0;
    }
    .rsa-container tbody tr {
        border-bottom: 1px solid #f0f0f0;
    }
    .rsa-container tbody tr:nth-of-type(even) {
        background-color: #fafafa;
    }
    .rsa-container tbody tr:last-of-type {
        border-bottom: none;
    }
    .rsa-container tbody tr:hover {
        background-color: #f1f1f1;
        cursor: pointer;
    }
