/* ==========================================================================
   Home Promotion Pack Section (Modern UI & Card Redesign)
   Matching Courses Page Card Typography, Radius & Dimensions
   Font Family: 'ThaiSansNeue_Regular' for normal, 'ThaiSansNeue_Bold' for bold
   ========================================================================== */

.home-promo-section {
    padding: 3rem 0;
    background-color: #f8fafc;
    background-image: url("/images/bg-course.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    font-family: 'ThaiSansNeue_Regular' !important;
    letter-spacing: 1px !important;
}

.home-promo-section * {
    font-family: inherit;
    letter-spacing: 1px !important;
}

/* Exempt Icon Fonts from font-family override */
.home-promo-section i[class*="fa-"],
.home-promo-section i.fas,
.home-promo-section i.far,
.home-promo-section i.fab,
.home-promo-section i[class*="flaticon-"],
.home-promo-section i[class*="la-"],
.home-promo-section [class*="fa-"],
.home-promo-section [class*="flaticon-"],
.home-promo-section [class*="la-"] {
    font-family: "Font Awesome 5 Free", "FontAwesome", "Flaticon", sans-serif !important;
    letter-spacing: normal !important;
}

.home-promo-section i.fas,
.home-promo-section .fas {
    font-weight: 900 !important;
}

.home-promo-section i.far,
.home-promo-section .far {
    font-weight: 400 !important;
}

.home-promo-section h1,
.home-promo-section h2,
.home-promo-section h3,
.home-promo-section h4,
.home-promo-section h5,
.home-promo-section h6,
.home-promo-title {
    font-family: inherit !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.home-promo-header {
    width: 100% !important;
    text-align: center !important;
    /* margin-bottom: 2rem !important; */
    display: block !important;
}

.home-promo-title {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    color: var(--theme-primary, #0137DE) !important;
    letter-spacing: 1px !important;
    margin: 0 auto !important;
}

.home-promo-wrapper {
    position: relative;
}

/* Category Filter Carousel (Matching Figma) */
.home-promo-categories-container {
    max-width: 1240px;
    margin: 0 auto 0 auto;
    position: relative;
    padding: 0 50px;
}

.home-promo-categories-carousel {
    position: relative;
    width: 100% !important;
}

.home-promo-categories-carousel .owl-stage-outer {
    padding: 6px 0 !important;
    overflow: hidden;
}

.home-promo-categories-carousel .owl-stage {
    display: flex !important;
    align-items: center !important;
}

.home-promo-categories-carousel .owl-item {
    width: auto !important;
    margin-right: 12px !important;
}

.home-promo-cat-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.35rem 1.15rem !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    height: 38px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    width: auto !important;
    letter-spacing: 1px !important;
    text-align: center !important;
}

.home-promo-cat-pill:hover {
    border-color: var(--theme-primary, #0137DE) !important;
    color: var(--theme-primary, #0137DE) !important;
    background-color: #ffffff !important;
}

.home-promo-cat-pill.active {
    background: transparent !important;
    border: 1.5px solid var(--theme-primary, #0137DE) !important;
    color: var(--theme-primary, #0137DE) !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

/* Category Carousel Nav Buttons (Matching Figma thin circular border & chevron) */
.home-promo-categories-carousel .owl-nav button.owl-prev,
.home-promo-categories-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #1e293b !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    z-index: 10;
    margin: 0 !important;
    padding: 0 !important;
}

.home-promo-categories-carousel .owl-nav button.owl-prev:hover,
.home-promo-categories-carousel .owl-nav button.owl-next:hover {
    background: var(--theme-primary, #0137DE) !important;
    color: #ffffff !important;
    border-color: var(--theme-primary, #0137DE) !important;
}

.home-promo-categories-carousel .owl-nav button.owl-prev {
    left: -48px !important;
}

.home-promo-categories-carousel .owl-nav button.owl-next {
    right: -48px !important;
}

.home-promo-categories-carousel .owl-nav button.owl-prev svg,
.home-promo-categories-carousel .owl-nav button.owl-next svg {
    stroke: currentColor !important;
    width: 16px !important;
    height: 16px !important;
}

/* "ดูคอร์สทั้งหมด" link */
/* .home-promo-more-row {
    margin-bottom: 1rem;
} */

.home-promo-more-link {
    font-family: inherit !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #10b981;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.home-promo-more-link:hover {
    color: #059669;
    transform: translateX(2px);
}

.home-promo-more-link i {
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   Modern Course / Promotion Card
   Radius: 10px (Exact match to .iproduct.m-portlet in courses-page.css)
   Typography: Exact match to courses-page.css
   -------------------------------------------------------------------------- */
.home-promo-products-carousel {
    padding: 10px 25px 25px 25px !important;
}

.home-promo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin: 5px 0;
}

.home-promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.home-promo-card__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f1f5f9;
    display: block;
}

.home-promo-card__img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.home-promo-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    transition: transform 0.3s ease;
}

.home-promo-card:hover .home-promo-card__img {
    transform: scale(1.04);
}

.home-promo-card__category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--theme-primary, #0137DE);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 10px;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Card Body Matching .courses-page-wrapper .m-widget19__content */
.home-promo-card__body {
    padding: 0.75rem 0.85rem 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 155px;
}

/* Card Header with Site Logo and Course Title - Vertically Centered & Tight Spacing */
.home-promo-card__header {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 0.35rem !important;
    min-height: 2.7em;
}

.home-promo-card__site-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
}

.home-promo-card__logo-partner {
    width: 45px !important;
    height: 45px !important;
    border-radius: 6px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: block !important;
}

/* Course Name: 18px Bold (Exact match to .fz-name-course in courses-page.css) */
.home-promo-card__title {
    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
    line-height: 1.35 !important;
    letter-spacing: 1px !important;
    min-height: 2.7em !important;
    max-height: 2.7em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
    white-space: normal !important;
}

.home-promo-card__title a {
    color: #000000 !important;
    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.home-promo-card__title a:hover {
    color: var(--theme-primary, #0137DE) !important;
}

/* Description: 16px Regular (Exact match to .truncate_line_2 in courses-page.css) */
.home-promo-card__desc {
    font-family: 'ThaiSansNeue_Regular' !important;
    font-size: 16px !important;
    color: #475569 !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: 0px !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    min-height: 2.8em !important;
    max-height: 2.8em !important;
    height: 2.8em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
}

/* Metadata (Course Count / Teacher / Rating): 18px Regular (Match .course-count-text / .text-muted in courses-page.css) */
.home-promo-card__meta {
    margin-bottom: 0.35rem;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-promo-card__pack-tag {
    font-family: 'ThaiSansNeue_Regular' !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #475569 !important;
    line-height: 1.3 !important;
    letter-spacing: 1px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.home-promo-card__pack-tag i {
    color: var(--theme-primary, #0137DE);
}

/* Course Card Icons (Folders, CalendarBlank, UserCircle) matching courses-page.css */
.home-promo-card .course-card-icon,
.course-card-icon {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    object-fit: contain !important;
    margin-right: 6px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.home-promo-card .course-date-expired-text,
.home-promo-card .course-count-text,
.course-date-expired-text,
.course-count-text {
    font-family: 'ThaiSansNeue_Regular' !important;
    font-size: 16px !important;
    color: #475569 !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 1px !important;
}

.home-promo-card .course-count-text.font-weight-500,
.course-count-text.font-weight-500 {
    font-weight: 500 !important;
    font-size: 16px !important;
}

.home-promo-card__teacher {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'ThaiSansNeue_Regular' !important;
    font-size: 16px !important;
    color: #777777 !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 1px !important;
}

.home-promo-teacher-icon {
    width: 18px;
    height: 18px;
    color: #777777;
    flex-shrink: 0;
}

.home-promo-card__teacher-link {
    color: #777777 !important;
    font-family: 'ThaiSansNeue_Regular' !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
}

.home-promo-card__teacher-link:hover {
    color: var(--theme-primary, #0137DE) !important;
}

.home-promo-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-promo-card__rating-count {
    font-family: 'ThaiSansNeue_Regular' !important;
    font-size: 18px !important;
    color: #000000 !important;
    letter-spacing: 1px !important;
}

/* Footer: Price & Action (Exact match to .m-widget19__action in courses-page.css) */
.home-promo-card__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-promo-card__price-wrap {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

/* Original Discount Price: 14px Strikethrough (Exact match to .discount-mn in courses-page.css) */
.home-promo-card__price-origin {
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #ef4444 !important;
    margin-right: auto;
    position: relative;
    display: inline-block;
    text-decoration: none !important;
    text-align: left;
    white-space: nowrap;
    /* letter-spacing: 1px !important; */
}

.home-promo-card__price-origin::after {
    content: "";
    position: absolute;
    left: 0;
    top: 62%;
    transform: translateY(-50%);
    width: 100%;
    height: 1.5px;
    background-color: #ef4444;
    pointer-events: none;
}

/* Sale Price / Free: 20px Bold Green (Exact match to .font-s30 in courses-page.css) */
.home-promo-card__price-sale {
    font-family: inherit !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #34bfa3 !important;
    margin-left: auto;
    text-align: right;
    letter-spacing: 0 !important;
    white-space: nowrap;
}

.home-promo-card__price-free {
    font-family: inherit !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #059669 !important;
    margin-left: auto;
    text-align: right;
    letter-spacing: 1px !important;
}

/* Action Buttons: 16px Bold, 40px height, 14px border-radius (Exact match to courses-page.css) */
.home-promo-card__action {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
}

/* 1. Detail Button: Default White (#ffffff), Hover Blue Theme */
.home-promo-section .home-promo-card__btn-detail,
.home-promo-section .btn-course-detail {
    flex: 1 1 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    padding: 0 0.75rem !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    cursor: pointer !important;
    text-align: center !important;
}

.home-promo-section .home-promo-card__btn-detail p,
.home-promo-section .btn-course-detail p {
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #000000 !important;
    line-height: 1 !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    transition: color 0.2s ease !important;
}

.home-promo-section .home-promo-card__btn-detail:hover,
.home-promo-section .home-promo-card__btn-detail:focus,
.home-promo-section .home-promo-card__btn-detail:active,
.home-promo-section .btn-course-detail:hover,
.home-promo-section .btn-course-detail:focus,
.home-promo-section .btn-course-detail:active {
    background-color: var(--theme-primary, #0137de) !important;
    border-color: var(--theme-primary, #0137de) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(1, 55, 222, 0.28) !important;
    text-decoration: none !important;
}

.home-promo-section .home-promo-card__btn-detail:hover p,
.home-promo-section .home-promo-card__btn-detail:focus p,
.home-promo-section .home-promo-card__btn-detail:active p,
.home-promo-section .btn-course-detail:hover p,
.home-promo-section .btn-course-detail:focus p,
.home-promo-section .btn-course-detail:active p {
    color: #ffffff !important;
}

/* 2. Cart / Free Join Button: Default White (#ffffff), Hover Blue Theme */
.home-promo-section .home-promo-card__btn-cart,
.home-promo-section .btn-preview {
    width: 44px !important;
    height: 40px !important;
    min-width: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.home-promo-section .home-promo-card__btn-cart:hover,
.home-promo-section .home-promo-card__btn-cart:focus,
.home-promo-section .home-promo-card__btn-cart:active,
.home-promo-section .btn-preview:hover,
.home-promo-section .btn-preview:focus,
.home-promo-section .btn-preview:active {
    background-color: var(--theme-primary, #0137de) !important;
    border-color: var(--theme-primary, #0137de) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(1, 55, 222, 0.28) !important;
}

.home-promo-section .home-promo-card__btn-cart i,
.home-promo-section .home-promo-card__btn-cart svg,
.home-promo-section .btn-preview i,
.home-promo-section .btn-preview svg {
    color: #000000 !important;
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
}

.home-promo-section .home-promo-card__btn-cart i.fa-shopping-cart,
.home-promo-section .home-promo-card__btn-cart i.icon-shopping-cart,
.home-promo-section .btn-preview .fa-shopping-cart,
.home-promo-section .btn-preview .icon-shopping-cart {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.home-promo-section .home-promo-card__btn-cart:hover i,
.home-promo-section .home-promo-card__btn-cart:hover svg,
.home-promo-section .home-promo-card__btn-cart:focus i,
.home-promo-section .home-promo-card__btn-cart:focus svg,
.home-promo-section .btn-preview:hover i,
.home-promo-section .btn-preview:hover svg,
.home-promo-section .btn-preview:focus i,
.home-promo-section .btn-preview:focus svg {
    color: #ffffff !important;
}

/* Owl Carousel Custom Controls */
.home-promo-products-carousel .owl-nav button.owl-prev,
.home-promo-products-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
    color: #000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    z-index: 10;
}

.home-promo-products-carousel .owl-nav button.owl-prev:hover,
.home-promo-products-carousel .owl-nav button.owl-next:hover {
    background: #0137DE !important;
    color: #ffffff !important;
    border-color: #0137DE !important;
    box-shadow: 0 4px 14px rgba(1, 55, 222, 0.25) !important;
}

.home-promo-products-carousel .owl-nav button.owl-prev {
    left: -12px;
}

.home-promo-products-carousel .owl-nav button.owl-next {
    right: -12px;
}

.home-promo-wrapper .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* margin-top: 16px; */
}

.home-promo-wrapper .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1 !important;
    border: none !important;
    transition: all 0.2s ease;
    padding: 0 !important;
    outline: none !important;
}

.home-promo-wrapper .owl-dots .owl-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #0137DE !important;
}

/* ==========================================================================
   Mobile Responsive Adjustments (Tighten side paddings on mobile screens)
   ========================================================================== */
@media (max-width: 768px) {
    .home-promo-section {
        padding: 1.5rem 0 !important;
    }

    .home-promo-header {
        margin-bottom: 1.25rem !important;
    }

    .home-promo-title {
        font-size: 26px !important;
    }

    .home-promo-categories-container {
        padding: 0 42px !important;
        margin-bottom: 1.25rem !important;
    }

    .home-promo-categories-carousel .owl-nav button.owl-prev {
        left: -38px !important;
    }

    .home-promo-categories-carousel .owl-nav button.owl-next {
        right: -38px !important;
    }

    /* Products carousel: ให้มีระยะ padding ด้านข้างสำหรับให้ปุ่มลูกศรอยู่ครึ่งนอกครึ่งใน/ด้านนอก ไม่ทับตัวการ์ด */
    .home-promo-products-carousel {
        padding: 5px 20px 15px 20px !important;
    }

    .home-promo-products-carousel .owl-nav button.owl-prev {
        left: -10px !important;
    }

    .home-promo-products-carousel .owl-nav button.owl-next {
        right: -10px !important;
    }

    .home-promo-products-carousel .owl-item {
        padding: 0 4px !important;
    }

    .home-promo-more-row {
        margin-bottom: 0.5rem !important;
        padding: 0 8px !important;
    }
}

@media (max-width: 480px) {
    .home-promo-categories-container {
        padding: 0 38px !important;
    }

    .home-promo-categories-carousel .owl-nav button.owl-prev {
        left: -34px !important;
    }

    .home-promo-categories-carousel .owl-nav button.owl-next {
        right: -34px !important;
    }

    .home-promo-products-carousel {
        padding: 5px 16px 15px 16px !important;
    }

    .home-promo-products-carousel .owl-nav button.owl-prev {
        left: -6px !important;
    }

    .home-promo-products-carousel .owl-nav button.owl-next {
        right: -6px !important;
    }
}

/* --------------------------------------------------------------------------
   Home Referral Section Styling (Matching Courses Page Design)
   -------------------------------------------------------------------------- */
.home-ref-title {
    font-size: 38px !important;
    font-weight: 700 !important;
    color: var(--theme-primary, #0137DE) !important;
    letter-spacing: 1px !important;
    line-height: 1.3 !important;
}

@media (max-width: 768px) {
    .home-ref-title {
        font-size: 28px !important;
    }
}

@media (max-width: 480px) {
    .home-ref-title {
        font-size: 24px !important;
    }
}

/* Referral Card Styling matching Courses Page */
.sec-ref--shadow {
    background: #ffffff !important;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.06) !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 1.75rem 1.5rem !important;
    transition: all 0.25s ease !important;
}

.sec-ref--shadow:hover {
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

.sec-ref--text h1 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    line-height: 1.3 !important;
    margin-top: 12px !important;
    margin-bottom: 8px !important;
    letter-spacing: 1px !important;
}

.sec-ref--text p {
    font-size: 18px !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    letter-spacing: 1px !important;
}

/* Action button (Solid Theme Primary Pill Button) */
.btn-home-ref-action {
    background-color: var(--theme-primary, #0137DE) !important;
    border: 1.5px solid var(--theme-primary, #0137DE) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 14px rgba(1, 55, 222, 0.3) !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.btn-home-ref-action h1 {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0.6rem 2.5rem !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
}

.btn-home-ref-action:hover,
.btn-home-ref-action:focus,
.btn-home-ref-action:active {
    background-color: #012cb3 !important;
    border-color: #012cb3 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(1, 55, 222, 0.45) !important;
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .btn-home-ref-action h1 {
        margin: 0.5rem 1.5rem !important;
        font-size: 18px !important;
    }
}