.lp2 {
    background: #ffffff;
    color: #07162f;
    font-family: "Sarabun", "Kanit", Arial, sans-serif;
}

.lp2 *,
.lp2 *::before,
.lp2 *::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

.lp2 a {
    text-decoration: none;
}

/* Mobile / tablet default */
.lp2-hero {
    min-height: 430px;
    display: flex;
    align-items: center;
    padding: 54px 0 48px;
    background-image:
        linear-gradient(90deg, rgba(4, 15, 33, .96) 0%, rgba(4, 15, 33, .90) 36%, rgba(4, 15, 33, .34) 68%, rgba(4, 15, 33, .15) 100%),
        var(--lp2-hero-mobile);
    background-size: cover;
    background-position: center top;
}

/* Desktop ≥ 992px — แยก background-image / position ได้อิสระ */
@media (min-width: 992px) {
    .lp2-hero {
        background-image:
            linear-gradient(90deg, rgba(4, 15, 33, .96) 0%, rgba(4, 15, 33, .88) 38%, rgba(4, 15, 33, .18) 62%, rgba(4, 15, 33, .00) 100%),
            var(--lp2-hero-desktop);
        background-size: cover;
        background-position: center center;
    }
}

.lp2-hero-copy {
    max-width: 650px;
}

.lp2-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.lp2-kicker span,
.lp2-kicker strong {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #0b2448;
}

.lp2-kicker strong {
    background: #d7bd68;
    color: #07162f;
}

.lp2-hero h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 40px;
    line-height: 1.24;
    font-weight: 700;
}

.lp2-hero h2 {
    margin: 0 0 18px;
    max-width: 620px;
    color: #f5d276;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 32px;
    line-height: 1.32;
    font-weight: 700;
}

.lp2-hero p {
    max-width: 580px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    line-height: 1.8;
}

.lp2-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.lp2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.lp2-btn i {
    margin-left: 10px;
}

.lp2-btn:hover {
    transform: translateY(-2px);
}

.lp2-btn-gold {
    background: #d7bd68;
    border-color: #d7bd68;
    color: #07162f;
}

.lp2-btn-outline {
    background: rgba(255, 255, 255, .05);
    border-color: rgba(255, 255, 255, .72);
    color: #ffffff;
}

.lp2 .lp2-btn-outline,
.lp2 .lp2-btn-outline:hover,
.lp2 .lp2-btn-outline:focus,
.lp2 .lp2-btn-outline i {
    color: #ffffff !important;
}

.lp2-diagnosis {
    padding: 44px 0 54px;
    background: #f6f8fb;
}

.lp2-section-heading h2 {
    margin: 0 0 16px;
    color: #07162f;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.lp2-section-heading span {
    display: inline-block;
    margin-bottom: 7px;
    color: #b19951;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.lp2-section-heading-center {
    max-width: 760px;
    margin: 0 auto 18px;
    text-align: center;
}

.lp2-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.lp2-pain-card {
    min-height: 112px;
    padding: 14px 10px;
    border: 3px solid #c9b270;
    border-radius: 8px;
    background: #ffffff;
    color: #07162f;
    cursor: pointer;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.lp2-pain-card i {
    display: block;
    margin: 0 auto 9px;
    color: #07162f;
    font-size: 32px;
}

.lp2-pain-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(7, 22, 47, .14);
}

.lp2-pain-card.is-active {
    position: relative;
    background: #061735;
    color: #ffffff;
}

.lp2-pain-card.is-active i {
    color: #d7bd68;
}

.lp2-pain-card.is-active::after {
    content: "\f14a";
    position: absolute;
    top: 9px;
    right: 9px;
    color: #d7bd68;
    font-family: "Font Awesome 5 Free";
    font-size: 18px;
    font-weight: 900;
}

.lp2-contact-panel {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #dfe4ec;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(7, 22, 47, .10);
}

.lp2-panel-head {
    display: grid;
    grid-template-columns: 82px 1fr 400px;
    gap: 18px;
    align-items: center;
    padding: 8px 8px 0;
    border-bottom: 1px solid #e8ecf2;
    overflow: hidden;
}

.lp2-panel-head p {
    margin: 0 0 6px;
    color: #b19951;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.lp2-form-mark {
    position: relative;
    top: auto;
    left: auto;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #d7bd68;
    border-radius: 50%;
    background: #ffffff;
    color: #07162f;
    box-shadow: 0 10px 24px rgba(7, 22, 47, .12);
}

.lp2-form-mark i {
    font-size: 27px;
}

.lp2-form-mark span {
    position: absolute;
    right: -4px;
    bottom: 3px;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d7bd68;
    color: #07162f;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.lp2-panel-head h2 {
    margin: 0;
    padding-left: 0;
    color: #07162f;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
}

.lp2-speaker-visual {
    align-self: end;
    justify-self: end;
    /* max-height: 350px; */
    overflow: hidden;
}

.lp2-speaker-visual img {
    display: block;
    width: 380px;
    max-width: 100%;
    height: auto;
    margin-bottom: -42px;
}

.lp2-form-section {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid #e1e6ee;
    border-radius: 10px;
    background: #fbfcfe;
}

.lp2-interest-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.lp2-interest-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 126px;
    margin: 0;
    padding: 16px 12px;
    border: 3px solid #c9b270;
    border-radius: 10px;
    background: #ffffff;
    color: #07162f;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
    text-align: center;
}

.lp2-interest-option:hover {
    border-color: #c9b270;
    box-shadow: 0 14px 30px rgba(7, 22, 47, .10);
    transform: translateY(-2px);
}

.lp2-interest-option:active {
    transform: translateY(6px) scale(.97);
    box-shadow: inset 0 10px 22px rgba(7, 22, 47, .24);
}

.lp2-interest-option::before,
.lp2-interest-option::after {
    content: "";
    position: absolute;
    inset: -18px;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle, #f6d36b 0 3px, transparent 4px),
        radial-gradient(circle, #ffffff 0 2px, transparent 3px),
        radial-gradient(circle, #2ec4b6 0 2px, transparent 3px),
        radial-gradient(circle, #0b4d8a 0 2px, transparent 3px);
    background-position: 18% 22%, 78% 24%, 22% 76%, 82% 78%;
    background-repeat: no-repeat;
    transform: scale(.72);
}

.lp2-interest-option::after {
    background-position: 50% 10%, 12% 50%, 88% 52%, 48% 90%;
}

.lp2-interest-option.is-popping::before {
    animation: lp2-sparkle-pop .62s ease-out;
}

.lp2-interest-option.is-popping::after {
    animation: lp2-sparkle-pop .62s ease-out .06s;
}

.lp2-interest-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lp2-interest-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #aeb7c4;
    border-radius: 5px;
    background: #ffffff;
}

.lp2-interest-check::after {
    content: "\f00c";
    display: none;
    color: #07162f;
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    font-weight: 900;
}

.lp2-interest-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #edf2f8;
    color: #07162f;
    font-size: 25px;
}

.lp2-interest-copy strong,
.lp2-interest-copy em {
    display: block;
}

.lp2-interest-copy strong {
    margin-bottom: 0;
    color: #07162f;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.lp2-interest-copy em {
    display: none;
}

.lp2-interest-option input:checked ~ .lp2-interest-check {
    border-color: #d7bd68;
    background: #d7bd68;
}

.lp2-interest-option input:checked ~ .lp2-interest-check::after {
    display: block;
}

.lp2-interest-option input:checked ~ .lp2-interest-icon {
    background: #07162f;
    color: #d7bd68;
}

.lp2-interest-option:has(input:checked) {
    border-color: #d7bd68;
    background: #07162f;
    color: #ffffff;
    transform: translateY(5px) scale(.985);
    box-shadow: inset 0 10px 24px rgba(0, 0, 0, .35), 0 5px 0 #c9b270;
}

.lp2-interest-option:has(input:checked) .lp2-interest-copy strong {
    color: #ffffff;
}

@keyframes lp2-sparkle-pop {
    0% {
        opacity: 0;
        transform: scale(.62) rotate(0deg);
    }
    35% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.18) rotate(16deg);
    }
}

.lp2-form-message {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 15px;
}

.lp2-form-message-success {
    background: #edf8ef;
    border: 1px solid #9ed6a5;
    color: #166322;
}

.lp2-form-message-error {
    background: #fff0f0;
    border: 1px solid #e6a2a2;
    color: #8a2020;
}

.lp2-contact-form {
    padding-top: 0;
}

.lp2-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.lp2-field {
    min-width: 0;
}

.lp2-field-wide {
    grid-column: span 1;
}

.lp2-field label {
    display: block;
    margin: 0 0 4px;
    color: #07162f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.lp2-field {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 14px;
    align-items: start;
}

.lp2-field input,
.lp2-field textarea {
    width: 100%;
    border: 1px solid #b7bec7;
    border-radius: 6px;
    background: #ffffff;
    color: #07162f;
    font-family: "Sarabun", "Kanit", Arial, sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.lp2-field input {
    height: 42px;
    padding: 7px 11px;
}

.lp2-field textarea {
    min-height: 76px;
    resize: vertical;
    padding: 9px 11px;
    line-height: 1.45;
}

.lp2-field input:focus,
.lp2-field textarea:focus {
    border-color: #0b4d8a;
    box-shadow: 0 0 0 3px rgba(11, 77, 138, .12);
}

.lp2-security {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 7px;
}

.lp2-security span {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #07162f;
    color: #ffffff;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    user-select: none;
}

.lp2-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.lp2-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    margin-top: 18px;
    padding: 10px 22px;
    border: 0;
    border-radius: 8px;
    background: #07162f;
    color: #ffffff;
    cursor: pointer;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.lp2-submit-btn i {
    margin-left: 10px;
    color: #d7bd68;
}

.lp2-journey {
    padding: 34px 0 24px;
    border-top: 1px solid #edf0f4;
    background: #ffffff;
}

.lp2-journey-title {
    max-width: 960px;
    margin: 0 auto 28px;
    text-align: center;
}

.lp2-journey-title h2 {
    margin: 0;
    color: #b19951;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 29px;
    line-height: 1.35;
    font-weight: 700;
}

.lp2-journey-title strong {
    color: #07162f;
}

.lp2-journey-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 34px;
}

.lp2-step {
    position: relative;
    text-align: center;
}

.lp2-step:not(:last-child)::after {
    content: "\f061";
    position: absolute;
    top: 38px;
    right: -26px;
    color: #07162f;
    font-family: "Font Awesome 5 Free";
    font-size: 22px;
    font-weight: 900;
}

.lp2-step-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border: 4px solid #d9dde3;
    border-radius: 50%;
    background: #ffffff;
    color: #07162f;
    font-size: 31px;
}

.lp2-step h3 {
    margin: 0 0 4px;
    color: #07162f;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.lp2-step p {
    margin: 0 auto;
    max-width: 160px;
    color: #14233b;
    font-size: 15px;
    line-height: 1.35;
}

.lp2-stats {
    padding: 10px 0 46px;
    background: #ffffff;
}

.lp2-stats-band {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 2px solid #d7bd68;
    border-radius: 8px;
    background: #07162f;
    box-shadow: 0 18px 36px rgba(7, 22, 47, .18);
    overflow: hidden;
}

.lp2-stat {
    min-height: 174px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 16px;
    color: #ffffff;
    text-align: center;
}

.lp2-stat:not(:last-child) {
    border-right: 1px solid rgba(215, 189, 104, .55);
}

.lp2-stat i {
    margin-bottom: 10px;
    color: #d7bd68;
    font-size: 36px;
}

.lp2-stat strong {
    display: block;
    margin-bottom: 5px;
    color: #f5d276;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 31px;
    line-height: 1.15;
    font-weight: 700;
}

.lp2-stat:last-child strong {
    font-size: 23px;
}

.lp2-stat span {
    display: block;
    max-width: 180px;
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    line-height: 1.45;
}

.lp2-content-head {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.lp2-content-head span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 9px;
    padding: 4px 14px;
    border-radius: 999px;
    background: #fff7dd;
    color: #8a712d;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.lp2-content-head h2 {
    margin: 0 0 8px;
    color: #07162f;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
}

.lp2-content-head p {
    margin: 0;
    color: #536071;
    font-size: 17px;
    line-height: 1.7;
}

/* ── Latest Courses ── */
.lp2-latest-courses {
    padding: 56px 0 70px;
    background:
        radial-gradient(ellipse 70% 55% at 95% 5%,  rgba(26,74,138,.40) 0%, transparent 65%),
        radial-gradient(ellipse 50% 50% at 5%  95%, rgba(13,77,107,.28) 0%, transparent 60%),
        #07162f;
    position: relative;
}

.lp2-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative;
    z-index: 1;
}

/* Course card — mirrors article card */
.lp2-course-card {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    overflow: hidden;
    transform: translateY(22px);
    opacity: 0;
    animation: lp2-blog-float .78s ease forwards;
    transition: border-color .28s ease, transform .28s ease, background .28s ease, box-shadow .28s ease;
    display: flex;
    flex-direction: column;
}

.lp2-course-card:hover {
    border-color: rgba(215,189,104,.55);
    background: rgba(255,255,255,.09);
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,.32);
}

.lp2-course-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.08) 40%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s ease;
    pointer-events: none;
    z-index: 1;
}

.lp2-course-card:hover::before {
    transform: translateX(100%);
}

.lp2-course-media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0d2040;
    overflow: hidden;
    flex-shrink: 0;
}

.lp2-course-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .55s ease;
}

.lp2-course-card:hover .lp2-course-media img {
    transform: scale(1.05);
}

.lp2-course-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.lp2-course-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.55);
}

.lp2-course-cat {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(215,189,104,.18);
    color: #f5d276 !important;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.lp2-course-meta-top small {
    color: rgba(255,255,255,.50);
    font-size: 12px;
}

.lp2-course-meta-top small i {
    margin-right: 3px;
    color: #b19951;
}

.lp2-course-body h3 {
    margin: 0;
    color: #ffffff;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}

.lp2-course-card:hover .lp2-course-body h3 {
    color: #f5d276;
}

.lp2-course-eng {
    margin: 0;
    color: rgba(255,255,255,.50);
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp2-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.50);
    font-size: 13px;
}

.lp2-course-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f5d276 !important;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: gap .2s ease;
}

.lp2-course-card:hover .lp2-course-read {
    gap: 10px;
}

/* ── Latest Articles — animated background ── */
.lp2-latest-articles {
    position: relative;
    overflow: hidden;
    padding: 56px 0 70px;
    background:
        radial-gradient(circle 1px at center, rgba(215,189,104,.10) 0, transparent 1px),
        radial-gradient(ellipse 80% 55% at 88% 8%,  rgba(26,74,138,.48) 0%, transparent 62%),
        radial-gradient(ellipse 65% 55% at 12% 92%, rgba(215,189,104,.20) 0%, transparent 60%),
        #07162f;
    background-size: 36px 36px, 100% 100%, 100% 100%, auto;
}

/* Animated blobs */
.lp2-art-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.lp2-art-bg span {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: lp2-blob-appear .8s ease forwards;
}

.lp2-art-bg span:nth-child(1) {
    width: 540px; height: 540px;
    background: radial-gradient(circle, rgba(26,74,138,.75), transparent 70%);
    top: -170px; right: -70px;
    animation: lp2-blob-appear .8s ease forwards,
               lp2-blob-drift1 16s ease-in-out .8s infinite;
}

.lp2-art-bg span:nth-child(2) {
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(215,189,104,.45), transparent 70%);
    bottom: -130px; left: -90px;
    animation: lp2-blob-appear .8s ease .2s forwards,
               lp2-blob-drift2 20s ease-in-out 1s infinite;
}

.lp2-art-bg span:nth-child(3) {
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(0,200,220,.30), transparent 70%);
    top: 35%; left: 42%;
    animation: lp2-blob-appear .8s ease .4s forwards,
               lp2-blob-drift3 26s ease-in-out 1.2s infinite;
}

@keyframes lp2-blob-appear { to { opacity: 1; } }

@keyframes lp2-blob-drift1 {
    0%, 100% { transform: translate(0,   0)   scale(1); }
    30%       { transform: translate(-80px, 65px) scale(1.12); }
    65%       { transform: translate(65px, -55px) scale(0.92); }
}
@keyframes lp2-blob-drift2 {
    0%, 100% { transform: translate(0,    0)    scale(1); }
    35%       { transform: translate(105px, -90px) scale(1.08); }
    70%       { transform: translate(-55px, 75px) scale(0.94); }
}
@keyframes lp2-blob-drift3 {
    0%, 100% { transform: translate(0,    0)    scale(1); }
    40%       { transform: translate(-75px, -65px) scale(1.14); }
    75%       { transform: translate(95px,  55px) scale(0.88); }
}

.lp2-art-container {
    position: relative;
    z-index: 1;
}

.lp2-content-head-light span {
    background: rgba(215, 189, 104, .16);
    color: #f5d276;
}

.lp2-content-head-light h2 {
    color: #ffffff;
}

.lp2-content-head-light p {
    color: rgba(255, 255, 255, .78);
}

.lp2-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lp2-article-card {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    overflow: hidden;
    transform: translateY(22px);
    opacity: 0;
    animation: lp2-blog-float .78s ease forwards;
    transition: border-color .28s ease, transform .28s ease, background .28s ease, box-shadow .28s ease;
    display: flex;
    flex-direction: column;
}

.lp2-article-card:hover {
    border-color: rgba(215, 189, 104, .55);
    background: rgba(255, 255, 255, .09);
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .32);
}

/* Shimmer sweep on hover */
.lp2-article-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.08) 40%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s ease;
    pointer-events: none;
    z-index: 1;
}

.lp2-article-card:hover::before {
    transform: translateX(100%);
}

/* Image area – full image, no crop */
.lp2-article-media {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0d2040;
    overflow: hidden;
    flex-shrink: 0;
}

.lp2-article-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .55s ease;
}

.lp2-article-card:hover .lp2-article-media img {
    transform: scale(1.05);
}

.lp2-article-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(7,22,47,.55) 100%);
    pointer-events: none;
}

/* Article body */
.lp2-article-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.lp2-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}

.lp2-art-cat {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(215, 189, 104, .18);
    color: #f5d276 !important;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.lp2-article-meta small {
    color: rgba(255, 255, 255, .50);
    font-size: 12px;
}

.lp2-article-meta small i {
    margin-right: 3px;
    color: #b19951;
}

.lp2-article-body h3 {
    margin: 0;
    color: #ffffff;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}

.lp2-article-card:hover .lp2-article-body h3 {
    color: #f5d276;
}

.lp2-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .50);
    font-size: 13px;
}

.lp2-art-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f5d276 !important;
    font-family: "Kanit", "Sarabun", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: gap .2s ease;
}

.lp2-article-card:hover .lp2-art-read {
    gap: 10px;
}

@keyframes lp2-card-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lp2-blog-float {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 991px) {
    .lp2-hero {
        min-height: auto;
        padding: 44px 0;
        background-position: 62% center;
    }

    .lp2-hero h1 {
        font-size: 34px;
    }

    .lp2-hero h2 {
        font-size: 27px;
    }

    .lp2-contact-panel {
        margin-top: 0;
        padding: 24px;
    }

    .lp2-panel-head {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding-bottom: 0;
    }

    .lp2-speaker-visual {
        max-height: 190px;
        justify-self: center;
    }

    .lp2-speaker-visual img {
        width: 210px;
        margin-bottom: -46px;
    }

    .lp2-interest-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp2-form-mark {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 0;
    }

    .lp2-form-grid {
        grid-template-columns: 1fr;
    }

    .lp2-field {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .lp2-journey-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp2-step:not(:last-child)::after {
        display: none;
    }

    .lp2-stats-band {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp2-course-grid,
    .lp2-article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp2-stat:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(215, 189, 104, .4);
    }
}

@media (max-width: 575px) {
    .lp2-hero {
        padding: 34px 0;
    }

    .lp2-kicker {
        font-size: 14px;
    }

    .lp2-hero h1 {
        font-size: 28px;
    }

    .lp2-hero h2 {
        font-size: 23px;
    }

    .lp2-hero p {
        font-size: 15px;
    }

    .lp2-btn {
        width: 100%;
    }

    .lp2-section-heading h2,
    .lp2-panel-head h2,
    .lp2-journey-title h2,
    .lp2-content-head h2 {
        font-size: 23px;
    }

    .lp2-contact-panel {
        padding: 18px;
    }

    .lp2-form-section {
        padding: 18px;
    }

    .lp2-interest-option {
        min-height: 118px;
        padding: 14px;
    }

    .lp2-interest-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .lp2-pain-grid,
    .lp2-interest-list,
    .lp2-form-grid,
    .lp2-course-grid,
    .lp2-article-grid,
    .lp2-journey-steps,
    .lp2-stats-band {
        grid-template-columns: 1fr;
    }

    .lp2-field-wide {
        grid-column: span 1;
    }

    .lp2-stat {
        min-height: 142px;
    }
}
