/* ==========================================================================
   VARIETY FUNERALS – PACKAGE BOXES
   Reuses theme classes: .content-row (section padding), ul.ticks (green
   ticks) and .btn.green (button + arrow). Only the card look is added here.

   WP Bakery: Row "packages content-row" (stretch row)
     > Inner row (equal height) > two 1/2 columns, class "package" plus:
         "featured-desktop" – yellow border + badge on desktop
         "featured-mobile"  – yellow border + badge on mobile, shown first
     > one text block each: <p class="package-badge">, H3 with icon,
       intro line, ul.ticks, a.btn.green
   ========================================================================== */
.packages { background: #FAEEF4; }
.packages .vc_inner { margin-top: 28px; }   /* room for the badge that sits above the box */   /* spacing: add class "large" to the row (layout.css) */

.package > .vc_column-inner {
    position: relative;
    height: 100%;
    margin: 0 15px;                 /* keeps the column gutter now the inner box has the border */
    padding: 32px !important;
    border: 2px solid #EBD3E0;
    border-radius: 20px;
    background: #fff;
}
.package .wpb_text_column,
.package .wpb_text_column > .wpb_wrapper { display: flex; flex-direction: column; height: 100%; margin: 0; }

.package-badge {
    display: none;
    position: absolute;
    bottom: 100%;                   /* sits on top of the box, like a tab */
    left: 22px;
    margin: 0 0 2px;
    padding: 6px 12px;
    border-radius: 6px 6px 0 0;
    background: #FABA05;
    color: #51022C;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.package h3 { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; font-size: 28px; color: #840047; }
.package h3 + p { font-weight: 600; color: #1E1A1C; }
.package h3 img { box-sizing: content-box; width: 24px; height: 24px; padding: 12px; border-radius: 12px; background: #F7E8EF; }

.package ul.ticks { margin: 16px 0 28px; }
.package ul.ticks li { padding: 5px 0 5px 30px; border: 0; }
.package .btn { justify-content: center; width: 100%; margin-top: auto; }   /* buttons line up at the bottom */

/* featured card: desktop */
@media (min-width: 768px) {
    .package.featured-desktop > .vc_column-inner { border-color: #FABA05; }
    .package.featured-desktop .package-badge { display: block; }
}
/* featured card: mobile (shown first) */
@media (max-width: 767px) {
    .packages .vc_inner { display: flex; flex-direction: column; gap: 32px; }
    .package > .vc_column-inner { padding: 28px 22px !important; }
    .package.featured-mobile { order: -1; }
    .package.featured-mobile > .vc_column-inner { border-color: #FABA05; }
    .package.featured-mobile .package-badge { display: block; }
    .package h3 { font-size: 24px; }
}
@media (max-width: 480px) {
    .package-badge { left: 14px; }
}
