
#converter-grid-wrapper {
    background-color: #f2f2f2;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #818589;
    font-family: Arial, sans-serif;
    max-width: 1000px;
    margin: 20px auto;
}

#converter-grid-wrapper .intro-text {
    color: #000;
    margin: 0 0 5px 0;
    font-size: 16px;
}

/* Serif link as requested */
#converter-grid-wrapper .serif-cta {
    font-family: "Georgia", "Times New Roman", serif;
    color: #722F37;
    text-decoration: none;
    font-size: 15px;
}

#converter-grid-wrapper .serif-cta:hover {
    text-decoration: underline;
}

/* Depth Line (The separator) */
#converter-grid-wrapper .separator-line {
    border: 0;
    height: 1px;
    background: #818589;
    opacity: 0.3;
    margin: 25px 0;
}

/* Grid Layout: Forces 5 columns wide */
#converter-grid-wrapper .main-button-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 buttons per row */
    gap: 12px;
}

/* Button Styling matching the screenshot */
#converter-grid-wrapper .action-btn {
    background-color: #ffffff;
    color: #000;
    text-decoration: none;
    text-align: center;
    padding: 15px 5px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover effect using your #722F37 color */
#converter-grid-wrapper .action-btn:hover {
    background-color: #722F37;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(114, 47, 55, 0.2);
}

/* Responsive adjustment for tablets/phones */
@media (max-width: 900px) {
    #converter-grid-wrapper .main-button-grid {
        grid-template-columns: repeat(2, 1fr); /* Drops to 2 columns on small screens */
    }
}