/* ==========================================================================
   Hartie cu Povesti — site-wide UI polish
   Enqueued from functions.php (handle: hartie-ui)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page 187 (Hartie cu Povesti / creare carte)
   -------------------------------------------------------------------------- */

/* Hide the leftover empty BeBuilder section that creates dead space
   between the FAQ and the footer. (Better: delete it in BeBuilder.) */
.page-id-187 .mcb-section-6eacdd3b2 {
    display: none;
}

/* ---- Hero (Subheader) — gradient, centered, benefit subtitle ---- */
.page-id-187 #Subheader {
    background: linear-gradient(180deg, #cbe7f2 0%, #eaf6fb 72%, #fffdf9 100%) !important;
    padding: 150px 0 56px; /* clears the transparent sticky header */
    text-align: center;
}

.page-id-187 #Subheader .title {
    font-size: clamp(30px, 4.5vw, 48px);
    line-height: 1.15;
    width: 100%;
}

/* Temporary subtitle via CSS until the copy is added in BeBuilder */
.page-id-187 #Subheader .title::after {
    content: 'Încarci câteva fotografii, personalizezi textul, iar noi tipărim o carte premium cu povestea voastră.';
    display: block;
    max-width: 580px;
    margin: 14px auto 0;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: #4a5b66;
    line-height: 1.6;
}

.page-id-187 #Subheader .breadcrumbs {
    display: none;
}

/* ---- Benefit feature list → cards ---- */
.page-id-187 .column_feature_list .feature_list ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 16px;
    margin: 0;
}

.page-id-187 .column_feature_list .feature_list ul li {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e8eef2;
    border-radius: 16px;
    padding: 18px 16px !important;
    box-shadow: 0 3px 10px rgba(40, 60, 80, 0.05);
    text-align: left;
}

.page-id-187 .column_feature_list .feature_list li .icon {
    flex: 0 0 46px;
    height: 46px;
    border-radius: 12px;
    background: #f5b8c4 !important;
    display: grid;
    place-items: center;
    margin: 0 !important;
}

.page-id-187 .column_feature_list .feature_list li .icon i {
    color: #7a2937 !important;
    font-size: 20px;
}

.page-id-187 .column_feature_list .feature_list hr {
    display: none;
}

/* ---- Steps → numbered timeline (FPD column untouched — Phase 2) ---- */
.page-id-187 .mcb-section-ggdkak5o {
    counter-reset: hartie-step;
}

/* Center the full-width section content like the mockup container */
.page-id-187 .mcb-section-ggdkak5o > .section_wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.page-id-187 .mcb-section-ggdkak5o .column_divider,
.page-id-187 .mcb-section-ggdkak5o .column_divider_2 {
    display: none;
}

.page-id-187 .mcb-item-25c0b0ab1,
.page-id-187 .mcb-item-2b86c9261,
.page-id-187 .mcb-item-d2986e7c9,
.page-id-187 .mcb-item-56pz22u {
    position: relative;
    padding: 0 0 30px 66px !important;
}

/* Number chip */
.page-id-187 .mcb-item-25c0b0ab1::before,
.page-id-187 .mcb-item-2b86c9261::before,
.page-id-187 .mcb-item-d2986e7c9::before,
.page-id-187 .mcb-item-56pz22u::before {
    counter-increment: hartie-step;
    content: counter(hartie-step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #9fd2e6;
    color: #2c3e50;
    font-weight: 800;
    font-size: 18px;
    display: grid;
    place-items: center;
    z-index: 2;
}

/* First step highlighted as "current" */
.page-id-187 .mcb-item-25c0b0ab1::before {
    background: #f5b8c4;
    border-color: #e88aa0;
}

/* Connecting line between chips (not after the last step) */
.page-id-187 .mcb-item-25c0b0ab1::after,
.page-id-187 .mcb-item-2b86c9261::after,
.page-id-187 .mcb-item-d2986e7c9::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 46px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #9fd2e6, #f5b8c4);
    z-index: 1;
}

.page-id-187 .mcb-section-ggdkak5o .column_column h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

/* ---- Designer container: card chrome with title bar (mockup "editor frame") ---- */
.page-id-187 .mcb-item-zxra5xko .mcb-column-inner::before {
    content: 'Editorul cărții tale';
    display: block;
    background: #f6fafc;
    border: 1px solid #e8eef2;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #5a6570;
    letter-spacing: .3px;
}

.page-id-187 .fpd-container {
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    border: 1px solid #e8eef2;
    box-shadow: 0 14px 40px rgba(40, 60, 80, 0.12);
}

/* --------------------------------------------------------------------------
   FAQ accordion (BeTheme FAQ element) — card look, used on any page
   -------------------------------------------------------------------------- */

.column_faq .mfn-acc .question,
.column_faq .question {
    background: #fff;
    border: 1px solid #e8eef2;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.column_faq .question:hover {
    border-color: #cbe7f2;
    box-shadow: 0 6px 18px rgba(40, 60, 80, 0.08);
}

.column_faq .question > .title {
    position: relative;
    display: block;
    padding: 16px 56px 16px 64px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
}

/* Number chip (BeTheme renders .num absolutely positioned) */
.column_faq .question > .title > .num {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    line-height: 28px;
    margin: 0;
    padding: 0;
    text-align: center;
    border-radius: 50%;
    background: #cbe7f2;
    color: #2c3e50;
    font-size: 13px;
    font-weight: 700;
    border-right: 0 !important;
}

/* Active question */
.column_faq .question.active {
    border-color: #f5b8c4;
}

.column_faq .question.active > .title > .num {
    background: #f5b8c4;
    color: #7a2937;
}

.column_faq .question > .answer {
    padding: 0 20px 18px 64px;
    color: #5a6570;
    line-height: 1.65;
}

/* Neutralize BeTheme default grey boxes/borders inside the FAQ element */
.column_faq .question > .title,
.column_faq .question > .answer {
    background: transparent !important;
    border: 0 !important;
}

/* --------------------------------------------------------------------------
   Footer template: tidy spacing while the demo content is being replaced
   -------------------------------------------------------------------------- */

.mfn-footer-tmpl-builder .mcb-section {
    padding-top: 60px;
}
