.blog-container-container {
    padding-top: 10rem;
}

/* BLOG TITLE
---------------------------------------------------------------------------------------------------- */
.blog-title-content {
    display: block;
    margin-top: var(--space-12);
}

.blog-title-h1 {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-h2);
    line-height: var(--line-height-relaxed);
    text-align: center;
}

.blog-title-plain {
    color: var(--text-primary);
    font-size: var(--font-size-body-md);
    margin-bottom: var(--space-12);
    text-align: center;
}

.blog-pagination-content {
    display: flex;
    justify-content: center;
}

.blog-pagination-content-btn {
    background-color: var(--color-primary) !important;
    border: 1px solid var(--color-primary) !important;
    padding: var(--space-2) var(--space-4) !important;
    color: var(--text-light) !important;
    text-decoration: none !important;
    margin-right: var(--space-4) !important;
}

.blog-pagination-content-btn-unactive {
    background-color: var(--color-white) !important;
    border: 1px solid var(--color-primary) !important;
    padding: var(--space-2) var(--space-4) !important;
    color: var(--color-primary) !important;
    text-decoration: none !important;
    margin-right: var(--space-4) !important;
}

/* BLOG DETIAL
---------------------------------------------------------------------------------------------------- */

/* ----------- MEDIA - MOBILE TABLETS IPADS -----------*/
@media (max-width: 1024px) {
    .blog-detail-content {
        margin: var(--space-4);
    }

    .blog-detail-content-plain img {
        object-fit: cover !important;
        height: 300px !important;
        width: 100% !important;
    }
}

/* ------------- MEDIA - LAPTOPS DESKTOPS -------------*/
@media (min-width: 1025px) {
    .blog-detail-content {
        margin: var(--space-16) 0;
    }
}

.blog-detail-layout-container {
    display: flex;
    gap: var(--space-12);
    flex-wrap: wrap;
    align-items: flex-start;
}

.blog-detail-main {
    width: 100%;
    max-width: var(--container-content-width);
    flex: 0 0 auto;
}

.blog-detail-sidebar {
    width: 100%;
    max-width: 500px;
    flex: 0 0 auto;
}

@media (max-width: 1200px) {
    .blog-detail-layout-container {
        gap: var(--space-8);
    }

    .blog-detail-sidebar {
        max-width: 300px;
    }
}

@media (max-width: 991px) {
    .blog-detail-layout-container {
        flex-direction: column;
        align-items: center;
    }

    .blog-detail-main,
    .blog-detail-sidebar {
        max-width: 100%;
    }
}

.blog-detail-content-h1 {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-h2);
    line-height: var(--line-height-relaxed);
}

.blog-detail-content-h2 {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-h4);
}

.blog-detail-content-h3 {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-body-md);
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.blog-detail-content-plain {
    color: var(--text-primary);
    font-size: var(--font-size-body-md);
    margin-bottom: var(--space-4);
    word-break: break-word;
    overflow-wrap: break-word;
}

.blog-detail-content-plain h1,
.blog-detail-content-plain h2,
.blog-detail-content-plain h3,
.blog-detail-content-plain h4,
.blog-detail-content-plain h5,
.blog-detail-content-plain h6,
.blog-detail-content-plain p,
.blog-detail-content-plain span,
.blog-detail-content-plain div {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Breadcrumb overflow / date overlap prevention */
.blog-breadcrumb {
    flex: 1;
    min-width: 0;
}

.blog-breadcrumb .current {
    display: inline-block !important;
    vertical-align: bottom;
    max-width: 400px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .blog-breadcrumb .current {
        max-width: 150px !important;
    }
}

.blog-detail-content-plain img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

.blog-detail-content-plain iframe {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
    width: 325px;
    /* Default for TikTok */
    height: 580px;
    border-radius: 8px;
}

.blog-detail-content-plain iframe[src*="youtube"] {
    width: 100%;
    height: 400px;
}

/* Restore rich text styles reset by global reset.css */
.blog-detail-content-plain b,
.blog-detail-content-plain strong {
    font-weight: var(--font-weight-bold);
}

.blog-detail-content-plain i,
.blog-detail-content-plain em {
    font-style: italic;
}

.blog-detail-content-plain u {
    text-decoration: underline;
}

.blog-detail-content-plain ul {
    list-style-type: disc;
    padding-left: var(--space-8);
    margin-bottom: var(--space-4);
}

.blog-detail-content-plain ol {
    list-style-type: decimal;
    padding-left: var(--space-8);
    margin-bottom: var(--space-4);
}

.blog-detail-content-plain li {
    margin-bottom: var(--space-2);
}

.blog-detail-content-plain p {
    margin-bottom: var(--space-4);
    line-height: var(--line-height-relaxed);
}

.blog-detail-content-plain h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    line-height: var(--line-height-snug);
}

.blog-detail-content-plain h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    line-height: var(--line-height-snug);
}

.blog-detail-content-plain h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
    line-height: var(--line-height-snug);
}

.blog-detail-content-plain h4 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-4);
    margin-bottom: var(--space-2);
}

.blog-detail-content-plain a {
    text-decoration: underline;
    color: var(--color-primary);
}

/* Don't underline buttons that are links */
.blog-detail-content-plain a[class*="btn"],
.blog-detail-content-plain a[class*="bg-btn"],
.blog-detail-content-plain a[id*="btn"] {
    text-decoration: none !important;
}

.blog-detail-content-plain table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-4);
}

.blog-detail-content-plain th,
.blog-detail-content-plain td {
    border: 1px solid var(--border-default);
    padding: var(--space-2) var(--space-3);
}

.blog-detail-content-plain blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-4);
    margin-left: 0;
    margin-bottom: var(--space-4);
    font-style: italic;
    color: var(--text-secondary);
}

.blog-toc-list {
    list-style: none !important;
}

.blog-detail-content-plain-sm {
    color: var(--text-primary);
    font-size: var(--font-size-body-sm) !important;
}

.blog-detail-content-plain-light {
    color: var(--text-primary);
    font-size: var(--font-size-body-sm);
    font-weight: var(--font-weight-light) !important;
}

.blog-detail-content-span {
    text-decoration: none !important;
}



.blog-detail-content-list-card-img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-right: 15px;
}



.blog-detail-social-icon {
    width: 25px;
    height: 25px;
    margin-right: 7px;
}

.blog-tag-btn {
    text-align: center !important;
    color: var(--text-primary) !important;
    display: block;
    margin-right: var(--space-2);
    font-size: var(--font-size-body-sm);
    border-radius: var(--radius-sm);
    border: solid 0.1rem var(--border-light);
    background-color: var(--color-white);
    padding: var(--space-1) var(--space-5);
    height: max-content;
    text-decoration: none !important;
    margin-bottom: var(--space-2);
}





.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
    color: var(--text-light);
}





/* =====================================================
   BLOG CTA BUTTONS - RESPONSIVE STYLES
   ===================================================== */

/* Reset links inside lists (ul/ol/li) back to normal inline links instead of buttons */
.blog-detail-content-plain ul a,
.blog-detail-content-plain ol a,
.blog-detail-content-plain li a,
.blog-detail-content-plain ul a[href],
.blog-detail-content-plain ol a[href],
.blog-detail-content-plain li a[href],
.blog-detail-content-plain ul a[href*="/services"],
.blog-detail-content-plain ol a[href*="/services"],
.blog-detail-content-plain li a[href*="/services"] {
    box-sizing: content-box !important;
    display: inline !important;
    color: #397e8f !important;
    background-color: transparent !important;
    background: none !important;
    font-size: inherit !important;
    padding: 0 !important;
    text-decoration: underline !important;
    text-align: left !important;
    border: none !important;
    border-radius: 0 !important;
    font-weight: normal !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    transition: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.blog-detail-content-plain ul a:hover,
.blog-detail-content-plain ol a:hover,
.blog-detail-content-plain li a:hover,
.blog-detail-content-plain ul a[href]:hover,
.blog-detail-content-plain ol a[href]:hover,
.blog-detail-content-plain li a[href]:hover,
.blog-detail-content-plain ul a[href*="/services"]:hover,
.blog-detail-content-plain ol a[href*="/services"]:hover,
.blog-detail-content-plain li a[href*="/services"]:hover {
    color: #2a5f6c !important;
    background-color: transparent !important;
    text-decoration: underline !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Base styles for CTA buttons from database content */
.blog-detail-content-plain .bg-btn-lf,
.blog-detail-content-plain .bg-btn-rt,
.blog-detail-content-plain #bg-btn-lf,
.blog-detail-content-plain #bg-btn-rt,
.blog-detail-content-plain a[id="bg-btn-lf"],
.blog-detail-content-plain a[id="bg-btn-rt"],
.blog-detail-content-plain a[href*="/services/"],
.blog-detail-content-plain a[href*="/services"],
.blog-detail-content-plain a[style*="background-color: white"],
.blog-detail-content-plain a[style*="background-color:rgb(255, 255, 255)"],
.blog-detail-content-plain a[style*="background-color: rgb(255, 255, 255)"],
.blog-detail-content-plain a[style*="background-color: #ffffff"],
.blog-detail-content-plain a[style*="background-color:#ffffff"] {
    box-sizing: border-box;
    display: inline-block !important;
    color: #333 !important;
    background-color: white !important;
    font-size: 16px !important;
    padding: 12px 28px !important;
    text-decoration: none !important;
    text-align: center !important;
    border: 1px solid #397e8f !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.blog-detail-content-plain .bg-btn-lf:hover,
.blog-detail-content-plain .bg-btn-rt:hover,
.blog-detail-content-plain #bg-btn-lf:hover,
.blog-detail-content-plain #bg-btn-rt:hover,
.blog-detail-content-plain a[id="bg-btn-lf"]:hover,
.blog-detail-content-plain a[id="bg-btn-rt"]:hover,
.blog-detail-content-plain a[href*="/services/"]:hover,
.blog-detail-content-plain a[href*="/services"]:hover,
.blog-detail-content-plain a[style*="background-color: white"]:hover,
.blog-detail-content-plain a[style*="background-color:rgb(255, 255, 255)"]:hover,
.blog-detail-content-plain a[style*="background-color: rgb(255, 255, 255)"]:hover,
.blog-detail-content-plain a[style*="background-color: #ffffff"]:hover,
.blog-detail-content-plain a[style*="background-color:#ffffff"]:hover {
    background-color: #f0f7f9 !important;
    border-color: #2a5f6c !important;
    color: #397e8f !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Styles for the design CTA button (green/teal background) */
.blog-detail-content-plain #bg-btn-design,
.blog-detail-content-plain .bg-btn-design,
.blog-detail-content-plain a[id="bg-btn-design"],
.blog-detail-content-plain a[href*="lin.ee"],
.blog-detail-content-plain a[href*="/customer-line"],
.blog-detail-content-plain a[style*="background-color: rgb(57, 126, 143)"],
.blog-detail-content-plain a[style*="background-color:rgb(57, 126, 143)"],
.blog-detail-content-plain a[style*="background-color: #397e8f"],
.blog-detail-content-plain a[style*="background-color:#397e8f"] {
    box-sizing: border-box;
    display: inline-block !important;
    color: white !important;
    background-color: #397e8f !important;
    font-size: 16px !important;
    padding: 12px 28px !important;
    text-decoration: none !important;
    text-align: center !important;
    border: 1px solid #397e8f !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    width: 100% !important;
    margin: 12px 0 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(57, 126, 143, 0.15) !important;
}

.blog-detail-content-plain #bg-btn-design:hover,
.blog-detail-content-plain .bg-btn-design:hover,
.blog-detail-content-plain a[id="bg-btn-design"]:hover,
.blog-detail-content-plain a[href*="lin.ee"]:hover,
.blog-detail-content-plain a[href*="/customer-line"]:hover,
.blog-detail-content-plain a[style*="background-color: rgb(57, 126, 143)"]:hover,
.blog-detail-content-plain a[style*="background-color:rgb(57, 126, 143)"]:hover,
.blog-detail-content-plain a[style*="background-color: #397e8f"]:hover,
.blog-detail-content-plain a[style*="background-color:#397e8f"]:hover {
    background-color: #2a5f6c !important;
    border-color: #2a5f6c !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(57, 126, 143, 0.25) !important;
}

/* ------------- MEDIA - LAPTOPS DESKTOPS (จอใหญ่: ปุ่มอยู่คู่กัน) -------------*/
@media (min-width: 769px) {

    /* Keep buttons side by side on desktop and make container span full-width */
    .blog-detail-content-plain div[style*="display: flex"],
    .blog-detail-content-plain div[style*="display:flex"] {
        width: 100% !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
    }

    /* Size services and outline links symmetrically side-by-side on desktop to fill full-width */
    .blog-detail-content-plain div[style*="display: flex"] a,
    .blog-detail-content-plain div[style*="display:flex"] a,
    .blog-detail-content-plain .bg-btn-lf,
    .blog-detail-content-plain .bg-btn-rt,
    .blog-detail-content-plain #bg-btn-lf,
    .blog-detail-content-plain #bg-btn-rt,
    .blog-detail-content-plain a[id="bg-btn-lf"],
    .blog-detail-content-plain a[id="bg-btn-rt"],
    .blog-detail-content-plain a[href*="/services/"],
    .blog-detail-content-plain a[href*="/services"],
    .blog-detail-content-plain a[style*="background-color: white"],
    .blog-detail-content-plain a[style*="background-color:rgb(255, 255, 255)"],
    .blog-detail-content-plain a[style*="background-color: rgb(255, 255, 255)"],
    .blog-detail-content-plain a[style*="background-color: #ffffff"],
    .blog-detail-content-plain a[style*="background-color:#ffffff"] {
        width: calc(50% - 6px) !important;
        margin-right: 0 !important;
    }

    /* CTA button wrapper - the div with display:grid */
    .blog-detail-content-plain div[style*="display: grid"],
    .blog-detail-content-plain div[style*="display:grid"] {
        display: grid !important;
        width: 100% !important;
        justify-content: stretch !important;
        justify-items: stretch !important;
    }
}

/* ----------- MEDIA - MOBILE TABLETS (จอเล็ก: ปุ่มเคาะบรรทัด) -----------*/
@media (max-width: 768px) {

    /* Make the flex container stack vertically on mobile */
    .blog-detail-content-plain div[style*="display: flex"],
    .blog-detail-content-plain div[style*="display:flex"] {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    /* Make buttons full width on mobile */
    .blog-detail-content-plain div[style*="display: flex"] a,
    .blog-detail-content-plain div[style*="display:flex"] a,
    .blog-detail-content-plain .bg-btn-lf,
    .blog-detail-content-plain .bg-btn-rt,
    .blog-detail-content-plain #bg-btn-lf,
    .blog-detail-content-plain #bg-btn-rt,
    .blog-detail-content-plain a[id="bg-btn-lf"],
    .blog-detail-content-plain a[id="bg-btn-rt"],
    .blog-detail-content-plain a[href*="/services/"],
    .blog-detail-content-plain a[href*="/services"],
    .blog-detail-content-plain a[style*="background-color: white"],
    .blog-detail-content-plain a[style*="background-color:rgb(255, 255, 255)"],
    .blog-detail-content-plain a[style*="background-color: rgb(255, 255, 255)"],
    .blog-detail-content-plain a[style*="background-color: #ffffff"],
    .blog-detail-content-plain a[style*="background-color:#ffffff"] {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: var(--space-3) !important;
        text-align: center !important;
    }

    /* Fix for the design button (green CTA button) */
    .blog-detail-content-plain #bg-btn-design,
    .blog-detail-content-plain .bg-btn-design,
    .blog-detail-content-plain a[id="bg-btn-design"],
    .blog-detail-content-plain a[href*="lin.ee"],
.blog-detail-content-plain a[href*="/customer-line"],
    .blog-detail-content-plain a[style*="background-color: rgb(57, 126, 143)"],
    .blog-detail-content-plain a[style*="background-color:rgb(57, 126, 143)"],
    .blog-detail-content-plain a[style*="background-color: #397e8f"],
    .blog-detail-content-plain a[style*="background-color:#397e8f"] {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
    }

    /* Override inline width:100% with proper alignment for grid container */
    .blog-detail-content-plain div[style*="display: grid"],
    .blog-detail-content-plain div[style*="display:grid"] {
        width: 100% !important;
        justify-content: stretch !important;
        justify-items: stretch !important;
    }
}

/* =====================================================
   BLOG CATEGORIES SECTION (index page)
   ===================================================== */

.blog-categories-section {
    padding: var(--space-12) 0 var(--space-16);
    background-color: #f6f6f6;
}

.blog-category-group {
    margin-bottom: 3.5rem;
}

.blog-category-group:last-child {
    margin-bottom: 0;
}

.blog-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.blog-category-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-category-divider {
    width: 5px;
    height: 28px;
    background: #397e8f;
    border-radius: 0;
    display: inline-block;
}

.blog-category-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

.btn-pill-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 1px solid #397e8f;
    color: #444;
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pill-outline:hover {
    background: rgba(57, 126, 143, 0.05);
    border-color: #397e8f;
    color: #397e8f;
    transform: translateY(-2px);
}

.btn-pill-outline .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #397e8f;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-pill-outline .arrow i,
.btn-pill-outline .arrow svg {
    color: #fff !important;
    fill: #fff !important;
    font-size: 0.85rem;
    width: 1em;
    height: 1em;
}

.btn-pill-outline:hover .arrow {
    background: #2a5f6c;
    transform: scale(1.05);
}

/* =====================================================
   BLOG CARDS (shared between index & category pages)
   ===================================================== */

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog-card-image-wrapper {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background-color: #f5f7f8;
}

.blog-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1rem;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    line-height: 1.5;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #999;
    font-size: 0.8rem;
}

.blog-card-meta i {
    font-size: 0.75rem;
}

/* =====================================================
   BLOG CATEGORY NAV TABS (category page)
   ===================================================== */

.blog-category-nav-section {
    padding-bottom: 0;
    background: #fff;
}

.blog-category-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.blog-category-tab {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.blog-category-tab:hover {
    color: #397e8f;
    background: rgba(57, 126, 143, 0.06);
}

.blog-category-tab--active {
    color: #397e8f;
    font-weight: 700;
    border-bottom: 2px solid #397e8f;
    border-radius: 6px 6px 0 0;
}

.blog-category-tab-divider {
    color: #ddd;
    font-size: 1rem;
    user-select: none;
}

/* =====================================================
   BLOG CATEGORY HERO (category page title)
   ===================================================== */

.blog-category-hero-section {
    padding: 2.5rem 0 1rem;
    background: #fff;
}

.blog-category-hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    text-align: left;
}

.blog-category-hero-highlight {
    color: #397e8f;
}

/* =====================================================
   BLOG FEATURED CARDS (category page — top 3)
   ===================================================== */

.blog-featured-section {
    padding: 0 0 2rem;
    background: #fff;
}

.blog-featured-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.blog-featured-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.blog-featured-card-image-wrapper {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
    background-color: #f5f7f8;
}

.blog-featured-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-featured-card:hover .blog-featured-card-image {
    transform: scale(1.05);
}

.blog-featured-card-body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.blog-featured-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    line-height: 1.5;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-featured-card-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.blog-featured-card-meta i {
    font-size: 0.8rem;
}

.blog-featured-card-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =====================================================
   BLOG ALL POSTS GRID (category page — remaining)
   ===================================================== */

.blog-allposts-section {
    padding: 0 0 var(--space-16);
    background: #fff;
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */

@media (max-width: 768px) {
    .blog-category-title {
        font-size: 1.15rem;
    }

    .blog-category-viewall {
        font-size: 0.85rem;
    }

    .blog-card-body {
        padding: 0.75rem;
    }

    .blog-card-title {
        font-size: 0.85rem;
    }

    .blog-card-meta {
        font-size: 0.7rem;
    }

    .blog-category-nav-section {
        padding-top: 80px;
    }

    .blog-category-tabs {
        gap: 0.25rem;
    }

    .blog-category-tab {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .blog-category-tab-divider {
        font-size: 0.85rem;
    }

    .blog-category-hero-title {
        font-size: 1.25rem;
    }

    .blog-featured-card-body {
        padding: 1rem;
    }

    .blog-featured-card-title {
        font-size: 1rem;
    }

    .blog-featured-card-desc {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .blog-categories-section {
        padding: var(--space-8) 0 var(--space-12);
    }
}

/* =====================================================
   BLOG & INTERVIEW DETAIL CONSOLIDATED STYLES
   ===================================================== */

.blog-detail-content-plain img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px;
    display: block;
}

.blog-reading-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

/* Table of Contents */
.blog-toc-container {
    background-color: #f8fcfd;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
    border: 1px solid #e1eaf1;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .blog-toc-container {
        padding: 1.25rem 1rem;
    }
}

.blog-toc-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: margin-bottom 0.25s ease, padding-bottom 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}

.blog-toc-title:hover {
    color: #397e8f;
}

.blog-toc-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(57, 126, 143, 0.08);
    color: #397e8f;
    flex-shrink: 0;
    margin-left: 0.75rem;
    transition: transform 0.3s ease, background-color 0.2s ease;
    transform: rotate(180deg);
}

.blog-toc-title:hover .blog-toc-toggle-icon {
    background-color: rgba(57, 126, 143, 0.18);
}

.blog-toc-container.is-collapsed {
    padding-bottom: 1.25rem;
}

.blog-toc-container.is-collapsed .blog-toc-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom-color: transparent;
}

.blog-toc-container.is-collapsed .blog-toc-toggle-icon {
    transform: rotate(0deg);
}

.blog-toc-container.is-collapsed .blog-toc-list {
    display: none;
}

.blog-toc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    word-wrap: break-word;
    word-break: break-word;
}

.blog-toc-item {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.8rem;
}

.blog-toc-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-size: 1.25rem;
    line-height: 1;
    top: 2px;
}

.blog-toc-item.toc-h3 {
    margin-left: 1.5rem;
    margin-bottom: 0.6rem;
}

.blog-toc-item.toc-h3::before {
    content: "◦";
    font-size: 1rem;
    top: 4px;
    color: #397e8f !important;
}

.blog-toc-item a {
    color: #397e8f;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
    line-height: 1.5;
}

.blog-toc-item a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.blog-toc-link {
    color: #397e8f !important;
}

/* Breadcrumb Styles */
.blog-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #777;
    margin-top: 1.5rem;
    font-weight: 400;
    flex: 1;
    min-width: 0;
}

.blog-breadcrumb a {
    color: #777;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-breadcrumb a:hover {
    color: #397e8f;
    text-decoration: underline;
}

.blog-breadcrumb .separator {
    font-size: 0.9rem;
    color: #999;
    margin: 0 0.25rem;
}

.blog-breadcrumb .current {
    color: #397e8f;
    font-weight: 500;
    display: inline-block !important;
    vertical-align: bottom;
    max-width: 400px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .blog-breadcrumb {
        font-size: 0.95rem;
        margin-top: 1rem;
    }

    .blog-breadcrumb .current {
        max-width: 150px !important;
    }
}

/* Ensure sticky works by removing overflow constraints if any */
html,
body {
    overflow-x: visible !important;
}

.blog-detail-content,
.web-content {
    overflow: visible !important;
}

/* Sticky Sidebar */
.blog-sticky-column {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    z-index: 10;
    align-self: flex-start;
}

@media (max-width: 991px) {
    .blog-sticky-column {
        position: static;
        margin-top: 2rem;
    }
}

/* =====================================================
   RICH TEXT EDITOR CLEANUP & UTILITIES
   ===================================================== */

/* Collapse empty paragraphs and consecutive blank lines from rich text editor */
.blog-detail-content-plain p:empty,
.blog-detail-content-plain p:has(> br:only-child),
.blog-detail-content-plain p:has(br:only-child) {
    display: none !important;
}

/* Responsive Image Banners in Editor Content */

/* Strip CTA button styles from any link wrapping an image banner */
.blog-detail-content-plain a:has(img),
.blog-detail-content-plain a:has(img.blog-call2action-website),
.blog-detail-content-plain a:has(img.blog-call2action-mobile),
.blog-detail-content-plain a[href*="lin.ee"]:has(img),
.blog-detail-content-plain a[href*="/customer-line"]:has(img) {
    background-color: transparent !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    display: inline-block !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
}

/* Ensure banner images themselves span full-width inside the content */
.blog-detail-content-plain img.blog-call2action-website,
.blog-detail-content-plain img.blog-call2action-mobile,
.blog-detail-content-plain img[src*="Banner_Desktop_Size"],
.blog-detail-content-plain img[src*="desktop"],
.blog-detail-content-plain img[src*="-pc-"],
.blog-detail-content-plain img[src*="Mobile_Size"],
.blog-detail-content-plain img[src*="mobile"],
.blog-detail-content-plain img[src*="-mb-"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Hide mobile banners on desktop */
@media (min-width: 769px) {

    .blog-detail-content-plain img[src*="Mobile_Size"],
    .blog-detail-content-plain img[src*="mobile"],
    .blog-detail-content-plain img[src*="-mb-"],
    .blog-detail-content-plain img.blog-call2action-mobile {
        display: none !important;
    }

    .blog-detail-content-plain a:has(img[src*="Mobile_Size"]),
    .blog-detail-content-plain a:has(img[src*="mobile"]),
    .blog-detail-content-plain a:has(img[src*="-mb-"]),
    .blog-detail-content-plain a:has(img.blog-call2action-mobile) {
        display: none !important;
    }

    .blog-detail-content-plain img[src*="Banner_Desktop_Size"],
    .blog-detail-content-plain img[src*="desktop"],
    .blog-detail-content-plain img[src*="-pc-"],
    .blog-detail-content-plain img.blog-call2action-website {
        display: block !important;
    }
}

/* Hide desktop banners on mobile */
@media (max-width: 768px) {

    .blog-detail-content-plain img[src*="Banner_Desktop_Size"],
    .blog-detail-content-plain img[src*="desktop"],
    .blog-detail-content-plain img[src*="-pc-"],
    .blog-detail-content-plain img.blog-call2action-website {
        display: none !important;
    }

    .blog-detail-content-plain a:has(img[src*="Banner_Desktop_Size"]),
    .blog-detail-content-plain a:has(img[src*="desktop"]),
    .blog-detail-content-plain a:has(img[src*="-pc-"]),
    .blog-detail-content-plain a:has(img.blog-call2action-website) {
        display: none !important;
    }

    .blog-detail-content-plain img[src*="Mobile_Size"],
    .blog-detail-content-plain img[src*="mobile"],
    .blog-detail-content-plain img[src*="-mb-"],
    .blog-detail-content-plain img.blog-call2action-mobile {
        display: block !important;
    }
}

/* ==========================================
   PREMIUM CUSTOM BLOCK EDITOR frontend styles
   ========================================== */

/* 1. Responsive Banner Block */
.responsive-banner-container {
    width: 100%;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.responsive-banner-container:hover {
    transform: translateY(-2px);
}

.responsive-banner-container img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

@media (min-width: 769px) {
    .responsive-banner-container img.mobile-banner {
        display: none !important;
    }

    .responsive-banner-container img.desktop-banner {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .responsive-banner-container img.desktop-banner {
        display: none !important;
    }

    .responsive-banner-container img.mobile-banner {
        display: block !important;
    }
}

/* 2. Custom Block Table Builder */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.custom-editor-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
}

.custom-editor-table th {
    background-color: #397e8f !important;
    color: #ffffff !important;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border: 1px solid #e9ecef;
}

.custom-editor-table td {
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    color: #495057;
    line-height: 1.5;
}

.custom-editor-table tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

.custom-editor-table tbody tr:hover {
    background-color: rgba(57, 126, 143, 0.05);
}

/* 3. Custom Block CTA Buttons */
.blog-detail-content-plain .blog-flex-container {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

@media (min-width: 769px) {
    .blog-detail-content-plain .blog-flex-container {
        flex-direction: row !important;
    }

    .blog-detail-content-plain .blog-flex-container a.bg-btn-design,
    .blog-detail-content-plain .blog-flex-container a.bg-btn-lf,
    .blog-detail-content-plain .blog-flex-container a.bg-btn-rt,
    .blog-detail-content-plain .blog-flex-container a {
        flex: 1 1 0% !important;
        width: 0 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (max-width: 768px) {
    .blog-detail-content-plain .blog-flex-container {
        flex-direction: column !important;
    }

    .blog-detail-content-plain .blog-flex-container a.bg-btn-design,
    .blog-detail-content-plain .blog-flex-container a.bg-btn-lf,
    .blog-detail-content-plain .blog-flex-container a.bg-btn-rt,
    .blog-detail-content-plain .blog-flex-container a {
        flex: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* 4. Custom Block Spacer */
.blog-spacer {
    width: 100% !important;
    clear: both !important;
    display: block !important;
}

/* 5. Custom Block Video Embed */
.blog-video-container {
    width: 100% !important;
    position: relative !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    overflow: hidden !important;
}

/* Aspect Ratio: 16:9 for general videos */
.blog-video-container.ratio-16-9 {
    aspect-ratio: 16 / 9 !important;
    padding-bottom: 0 !important;
    height: auto !important;
}

/* Aspect Ratio: 9:16 for portrait videos (like TikTok or YT Shorts) */
.blog-video-container.ratio-9-16 {
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    aspect-ratio: 9 / 16 !important;
    padding-bottom: 0 !important;
    height: auto !important;
}

.blog-video-container iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* Quill text alignment classes for front-end rendering */
.blog-detail-content-plain .ql-align-center,
.content-text-block .ql-align-center,
.ql-align-center {
    text-align: center !important;
}

.blog-detail-content-plain .ql-align-right,
.content-text-block .ql-align-right,
.ql-align-right {
    text-align: right !important;
}

.blog-detail-content-plain .ql-align-justify,
.content-text-block .ql-align-justify,
.ql-align-justify {
    text-align: justify !important;
}

.blog-detail-content-plain .ql-align-left,
.content-text-block .ql-align-left,
.ql-align-left {
    text-align: left !important;
}

/* Quill 2.0 Unordered/Ordered List Styles */
.blog-detail-content-plain ol li[data-list="bullet"],
.content-text-block ol li[data-list="bullet"],
.blog-detail-content-plain li[data-list="bullet"],
li[data-list="bullet"] {
    list-style-type: disc !important;
}

.blog-detail-content-plain ol li[data-list="ordered"],
.content-text-block ol li[data-list="ordered"],
.blog-detail-content-plain li[data-list="ordered"],
li[data-list="ordered"] {
    list-style-type: decimal !important;
}

/* Custom Table Block styles to support line breaks and list alignment */
.custom-editor-table th,
.custom-editor-table td {
    white-space: pre-wrap !important;
    vertical-align: top !important;
    line-height: 1.5 !important;
}

/* ==========================================================================
   Google Preferred Sources Card
   ========================================================================== */
.google-preferred-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 36px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.google-preferred-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.google-preferred-icon svg path {
    transition: fill 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active state when user clicked Add to Preferred Sources */
.google-preferred-card.is-active .google-preferred-icon {
    background-color: #FEF3C7;
    box-shadow: 0 0 0 1px #FDE68A;
}

.google-preferred-card.is-active .google-preferred-icon svg path {
    fill: #F59E0B;
}

@keyframes starGlowPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3) rotate(15deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.google-preferred-card.just-activated .google-preferred-icon {
    animation: starGlowPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.google-preferred-body {
    flex: 1;
    min-width: 0;
}

.google-preferred-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.google-preferred-pipe {
    color: #9ca3af;
    font-weight: 300;
    margin: 0 4px;
    font-size: 1.3rem;
}

.google-preferred-brand {
    color: #0b6a78;
    font-weight: 700;
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: -0.01em;
}

.google-preferred-desc {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.google-preferred-btn-container {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

@media (max-width: 640px) {
    .google-preferred-card {
        padding: 18px 20px;
        gap: 14px;
    }

    .google-preferred-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .google-preferred-title {
        font-size: 1.05rem;
    }

    .google-preferred-brand {
        font-size: 1.35rem;
    }

    .google-preferred-desc {
        font-size: 0.875rem;
    }

    .google-preferred-card .google-preferred-btn {
        height: 44px !important;
        padding: 0 18px !important;
        font-size: 13px !important;
    }
}

/* ==========================================================================
   Inline LINE Button (inside Text Block paragraphs/lists) & CTA LINE Button
   Overrides legacy full-width teal rule for inline LINE links in BlockEditor
   ========================================================================== */
.blog-detail-content-plain a.inline-line-pill,
.blog-detail-content-plain .content-text-block a[href*="lin.ee"]:not(:has(img)),
.blog-detail-content-plain .content-text-block a[href*="/customer-line"]:not(:has(img)),
.blog-detail-content-plain .content-text-block a[href*="line.me"]:not(:has(img)) {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: auto !important;
    height: auto !important;
    background-color: #06C755 !important;
    background: #06C755 !important;
    color: #ffffff !important;
    border: 1px solid #06C755 !important;
    border-radius: 999px !important;
    padding: 2px 12px 2px 9px !important;
    margin: 2px 4px !important;
    font-size: 0.92em !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    vertical-align: middle !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 4px rgba(6, 199, 85, 0.22) !important;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.blog-detail-content-plain a.inline-line-pill::before,
.blog-detail-content-plain .content-text-block a[href*="lin.ee"]:not(:has(img))::before,
.blog-detail-content-plain .content-text-block a[href*="/customer-line"]:not(:has(img))::before,
.blog-detail-content-plain .content-text-block a[href*="line.me"]:not(:has(img))::before {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.627-.63h2.386c.349 0 .63.285.63.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.627-.63.349 0 .631.285.631.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.blog-detail-content-plain a.inline-line-pill:hover,
.blog-detail-content-plain .content-text-block a[href*="lin.ee"]:not(:has(img)):hover,
.blog-detail-content-plain .content-text-block a[href*="/customer-line"]:not(:has(img)):hover,
.blog-detail-content-plain .content-text-block a[href*="line.me"]:not(:has(img)):hover {
    background-color: #05b34c !important;
    background: #05b34c !important;
    border-color: #05b34c !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(6, 199, 85, 0.32) !important;
}

/* CTA Block LINE Button (full-size button inside .blog-flex-container) */
.blog-detail-content-plain .blog-flex-container a[href*="lin.ee"],
.blog-detail-content-plain .blog-flex-container a[href*="/customer-line"],
.blog-detail-content-plain .blog-flex-container a[href*="line.me"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background-color: #06C755 !important;
    color: #ffffff !important;
    border: 1px solid #06C755 !important;
    box-shadow: 0 4px 8px rgba(6, 199, 85, 0.22) !important;
}

.blog-detail-content-plain .blog-flex-container a[href*="lin.ee"]::before,
.blog-detail-content-plain .blog-flex-container a[href*="/customer-line"]::before,
.blog-detail-content-plain .blog-flex-container a[href*="line.me"]::before {
    content: "" !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.627-.63h2.386c.349 0 .63.285.63.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.627-.63.349 0 .631.285.631.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.blog-detail-content-plain .blog-flex-container a[href*="lin.ee"]:hover,
.blog-detail-content-plain .blog-flex-container a[href*="/customer-line"]:hover,
.blog-detail-content-plain .blog-flex-container a[href*="line.me"]:hover {
    background-color: #05b34c !important;
    border-color: #05b34c !important;
    color: #ffffff !important;
    box-shadow: 0 6px 12px rgba(6, 199, 85, 0.3) !important;
}
