.credit-cards_section h1 {
    font-size: 42px;
    margin-bottom: 1.5rem;
}

.credit-cards_article h2 {
    font-size: 24px;
    margin: 1rem 0 0.5rem;
}

p.article {
    font-size: 16px;
    line-height: 34px;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dadada;
    text-align: justify;
}

.article-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-wrapper {
    display: flex;
    gap: 0.75rem;
}

.article-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.article-author h4 {
    color: var(--color-1);
}

.article-author span {
    font-size: 12px;
}

.author-detail {
    display: flex;
    gap: 1rem;
}

.article-date {
    display: flex;
    gap: 0.4rem;
    color: var(--color-4);
}

.credit-cards_wrapper,
.similar-brands_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    align-items: stretch;
    gap: 1.25rem;
    white-space: normal;
    overflow: visible;
    padding: 1.25rem 0;
}

.credit-card_box {
    max-width: none;
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 16, 68, 0.07);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.credit-card_box img {
    width: 100%;
    max-width: 165px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.credit-card_box h3 {
    white-space: normal;
    font-size: 16px;
    line-height: 1.35;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.viewButton{
    margin-top: 0.5rem;
    display: block;
    width: 100%;
    padding: 0.45rem;
    border-radius: 6px;
    border: 1px solid var(--color-1);
    color: var(--color-1);
    font-weight: 600;
}

/* width */
.credit-cards_wrapper::-webkit-scrollbar,
.similar-brands_wrapper::-webkit-scrollbar {
    height: 2px;
}

/* Track */
.credit-cards_wrapper::-webkit-scrollbar-track,
.similar-brands_wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.credit-cards_wrapper::-webkit-scrollbar-thumb,
.similar-brands_wrapper::-webkit-scrollbar-thumb {
    background: var(--color-1);
}

.features-table {
    margin-top: 1.5rem;
    width: 100%;
}

.features-table th {
    border: 1px solid #dadada;
    width: 50%;
    padding: 0.75rem;
}

.features-table td {
    border: 1px solid #dadada;
    width: 50%;
    padding: 0.75rem;
}

.product-details {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 20px;
}

.product-details-container {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-details-header {
    padding: 10px 0;
    font-weight: bold;
}

.section-title {
    font-size: 20px;
    margin: 0;
}

.product-details-content {
    margin-top: 20px;
}

.details-list {
    list-style-type: disc;
    padding-left: 20px;
}

.detail-item {
    margin-bottom: 10px;
    font-size: 15px;
}


.pros-cons-container {
    font-size: 0.875rem;
    line-height: 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin: 32px 0;
}

.alert-card {
    border-radius: 0.5rem;
    padding: 1.25rem;
    min-height: 180px;
    height: 100%;
}

.cons-alert {
    background-color: rgb(254 242 242);
    border: 1px solid #F87171;
}

.pros-alert {
    background-color: rgb(221 255 196);
    border: 1px solid #3BB54A;
}

.alert-svg {
    width: 1.25rem;
    height: 1.25rem;
}

.alert-heading {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: bold;
}

.alert-container {
    display: flex;
    flex-direction: column;
    margin-left: 1.25rem;
}

.alert-wrap {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.alert-list {
    padding-left: 1.25rem;
    margin-top: 0.25rem;
    list-style-type: disc;
}

.similar-brands {
    margin-top: 1.5rem;
}

.similar-brands_wrapper > a {
    display: flex;
    height: 100%;
}

.similar-brands_item {
    min-width: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    text-wrap: wrap;
    white-space: normal;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 16, 68, 0.06);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.similar-brands_item:hover {
    background: var(--color-1);
    color: #fff;
}

.similar-brands_item img {
    width: 100%;
    max-width: 165px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.65rem;
}

.similar-brands_item h3 {
    font-size: 15px;
    line-height: 1.35;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
