/* ── formula-reference-card-grid · HonTitan Custom Widgets ── */

.ht-frcg { font-family: inherit; }

/* Header */
.ht-frcg__header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.ht-frcg__eyebrow {
    display: block; font-size: 13px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #002699; margin-bottom: 12px;
}
.ht-frcg__heading { font-size: 30px; font-weight: 600; line-height: 1.3; color: #000000; margin-bottom: 16px; }
.ht-frcg__sub     { font-size: 17px; font-weight: 400; line-height: 1.7; color: #727579; }

/* Grid — 3 columns */
.ht-frcg__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card */
.ht-frcg__card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.13);
    padding: 24px;
}

.ht-frcg__card-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: #002699;
    margin-bottom: 8px;
}

.ht-frcg__card-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #727579;
    margin-bottom: 14px;
}

.ht-frcg__code {
    background: #F5F7FB;
    border: 1px solid #CECECE;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    line-height: 1.85;
    color: #000000;
}

/* ── TABLET ≤ 1024px ─── */
@media (max-width: 1024px) {
    .ht-frcg__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── MOBILE ≤ 767px ─── */
@media (max-width: 767px) {
    .ht-frcg__heading { font-size: 24px; }
    .ht-frcg__sub     { font-size: 15px; }
    .ht-frcg__grid    { grid-template-columns: 1fr; }
}
