/* ============================================================
   Help / FAQ page: modern look consistent with the how-to guides
   Scoped to .faqv2 so it never affects other pages.
   Shares the green card-based palette used in css/guides.css
   ============================================================ */

.faqv2 {
    text-align: left;
}

/* ---- Intro lead (matches .htv2-lead) ---- */
.faqv2-lead {
    max-width: 940px;
    margin: 10px auto 30px;
    background: linear-gradient(135deg, #f4faf3, #eef6ec);
    border: 1px solid #e1ebde;
    border-left: 4px solid #3aa635;
    border-radius: 12px;
    padding: 18px 22px;
    color: #3a4734;
    font-size: 16px;
    line-height: 1.6;
}

/* ---- Section titles ---- */
.faqv2 .section-title {
    max-width: 940px;
    margin: 38px auto 22px;
    text-align: center;
}

.faqv2 .section-title h2 {
    display: inline-block;
    font-size: 26px;
    font-weight: 400;
    color: #26331e;
    margin: 0;
    padding-bottom: 12px;
    position: relative;
}

.faqv2 .section-title h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 110px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #45b53f, #1f7a1c);
}

.faqv2 .section-title hr {
    display: none;
}

/* ---- Quick links cards (replaces content-boxes-v6 look) ---- */
.faqv2-quicklinks {
    max-width: 940px;
    margin: 0 auto 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.faqv2-ql-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e8ece6;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(0,0,0,.06);
    padding: 26px 22px;
    text-align: center;
    text-decoration: none !important;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.faqv2-ql-card:hover {
    transform: translateY(-4px);
    border-color: #3aa635;
    box-shadow: 0 14px 30px rgba(31,122,28,.16);
    color: inherit;
    text-decoration: none !important;
}

.faqv2-ql-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #45b53f, #1f7a1c);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(31,122,28,.30);
}

.faqv2-ql-icon i {
    font-size: 26px;
    line-height: 1;
    color: #ffffff;
}

.faqv2-ql-card h2 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #26331e;
    margin: 0 0 8px;
}

.faqv2-ql-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #5b6753;
    margin: 0;
}

/* ---- FAQ list (overrides launched.css .faq-container styles) ---- */
.faqv2 .faq-container {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
}

/* Search box */
.faqv2 .faq-container .faq-search {
    margin: 0 0 26px;
}

.faqv2 .faq-container .faq-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 18px;
    font-size: 15px;
    color: #2c3a24;
    background: #ffffff;
    border: 1px solid #dfe6dc;
    border-radius: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.faqv2 .faq-container .faq-search input:focus {
    outline: none;
    border-color: #3aa635;
    box-shadow: 0 4px 12px rgba(31,122,28,.18);
}

.faqv2 .faq-container .faq-empty {
    max-width: 940px;
    margin: 0 auto 20px;
    padding: 18px 22px;
    background: #fff8e8;
    border: 1px solid #f3e2b6;
    border-left: 4px solid #f0ad4e;
    border-radius: 10px;
    color: #6b5a2e;
    font-size: 15px;
}

/* The list itself */
.faqv2 .faq-container .faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each FAQ as a card */
.faqv2 .faq-container .faq-list li.faq-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    background: #ffffff;
    border: 1px solid #e8ece6;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(0,0,0,.06);
    padding: 24px 28px 24px 92px;
    margin-bottom: 22px;
    scroll-margin-top: 90px;
}

/* Number badge */
.faqv2 .faq-container .faq-list li.faq-item .faq-icon {
    display: block;
    position: absolute;
    left: 24px;
    top: 24px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
}

.faqv2 .faq-container .faq-list li.faq-item .faq-text {
    display: block;
    margin: 0;
}

.faqv2 .faq-container .faq-list li.faq-item .faq-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #45b53f, #1f7a1c);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 12px rgba(31,122,28,.32);
    text-shadow: 0 -1px 0 rgba(0,0,0,.2);
}

.faqv2 .faq-container .faq-list li.faq-item .faq-text {
    margin: 0;
}

.faqv2 .faq-container .faq-list li.faq-item .faq-text h4 {
    font-size: 20px;
    font-weight: 500;
    color: #26331e;
    margin: 4px 0 14px;
    line-height: 1.3;
}

.faqv2 .faq-container .faq-list li.faq-item .faq-text h5 {
    font-size: 16px;
    font-weight: 700;
    color: #2c3a24;
    margin: 20px 0 8px;
}

.faqv2 .faq-container .faq-list li.faq-item .faq-text p,
.faqv2 .faq-container .faq-list li.faq-item .faq-text li {
    font-size: 15px;
    line-height: 1.75;
    color: #41493b;
}

.faqv2 .faq-container .faq-list li.faq-item .faq-text ol,
.faqv2 .faq-container .faq-list li.faq-item .faq-text ul {
    margin: 6px 0 12px;
    padding-left: 22px;
}

.faqv2 .faq-container .faq-list li.faq-item .faq-text a {
    color: #1f7a1c;
    font-weight: 600;
}

.faqv2 .faq-container .faq-list li.faq-item .faq-text textarea.input-block-level {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dfe6dc;
    border-radius: 8px;
    padding: 10px 12px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    background: #f6f8f5;
    color: #41493b;
}

.faqv2 .faq-container .faq-list li.faq-item .faq-text img.img-responsive {
    border-radius: 10px;
    border: 1px solid #ececec;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

@media (max-width: 600px) {
    .faqv2 .faq-container .faq-list li.faq-item {
        padding: 70px 18px 20px;
    }

    .faqv2 .faq-container .faq-list li.faq-item .faq-number {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}
