/* Grove entry cards (Phase 3) */
.grove-entry {
    --ge-ink: #141b2d;
    --ge-accent: #e8713a;
    --ge-soft: #fdf3ec;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0;
    padding: 18px 20px;
    background: var(--ge-soft);
    border: 1px solid rgba(232, 113, 58, .28);
    border-left: 4px solid var(--ge-accent);
    border-radius: 12px;
    color: var(--ge-ink);
    font-size: 16px;
    line-height: 1.5;
    box-sizing: border-box;
    clear: both;
    animation: grove-entry-in .45s ease-out both;
}
.grove-entry * { box-sizing: border-box; }
.grove-entry-mark {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ge-ink);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -.02em;
}
.grove-entry-body { flex: 1 1 auto; min-width: 0; }
.grove-entry p.grove-entry-h { margin: 0 0 2px !important; font-weight: 700; font-size: 17px; color: var(--ge-ink); }
.grove-entry p.grove-entry-s { margin: 0 !important; font-size: 14.5px; color: #4a5160; }
.grove-entry a.grove-entry-btn, .grove-entry button.grove-entry-btn {
    flex: 0 0 auto;
    display: inline-block;
    padding: 11px 18px;
    background: var(--ge-accent);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.grove-entry a.grove-entry-btn:hover, .grove-entry button.grove-entry-btn:hover { background: #d4602b; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(232, 113, 58, .3); }
.grove-entry a.grove-entry-btn:focus-visible, .grove-entry button.grove-entry-btn:focus-visible { outline: 3px solid var(--ge-ink); outline-offset: 2px; }
.grove-entry-home { max-width: 1100px; margin: 32px auto; }
@keyframes grove-entry-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
    .grove-entry { flex-wrap: wrap; padding: 16px; margin: 22px 0; }
    .grove-entry-mark { display: none; }
    .grove-entry a.grove-entry-btn { width: 100%; text-align: center; white-space: normal; }
    .grove-entry-home { margin: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) { .grove-entry { animation: none; } }

/* Homepage type-in box */
.grove-entry-ask { display: block; padding: 22px 24px; }
.grove-ask-top { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.grove-ask-form { display: flex; gap: 10px; margin: 0; }
.grove-ask-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.grove-ask-field { position: relative; flex: 1 1 auto; }
.grove-entry .grove-ask-input { width: 100%; height: 52px; padding: 0 16px; font-size: 16px; color: var(--ge-ink); background: #fff; border: 1.5px solid rgba(20,27,45,.18); border-radius: 10px; outline: none; box-shadow: none; margin: 0; transition: border-color .15s, box-shadow .15s; }
.grove-entry .grove-ask-input:focus { border-color: var(--ge-accent); box-shadow: 0 0 0 4px rgba(232,113,58,.15); }
.grove-ask-ph { position: absolute; left: 17px; right: 16px; top: 50%; transform: translateY(-40%); color: #8a909c; font-size: 16px; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .18s ease, transform .18s ease; }
.grove-ask-ph.is-in { opacity: 1; transform: translateY(-50%); }
.grove-entry button.grove-ask-btn { height: 52px; border: 0; cursor: pointer; font-family: inherit !important; font-weight: 700 !important; font-style: normal; letter-spacing: normal; text-transform: none; line-height: 1; padding: 0 22px; }
@media (max-width: 640px) {
  .grove-ask-form { flex-direction: column; }
  .grove-entry .grove-ask-input { height: 62px; }
  .grove-ask-ph { font-size: 14.5px; line-height: 1.3; white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .grove-entry button.grove-ask-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .grove-ask-ph { transition: none; } }
