
/* =========================================================
   NEWS DETAIL
========================================================= */

.gfh-news-detail {
    background: #f8fafc;
    min-height: 100vh;
}


/* Article */

.gfh-news-article {
    background: #fff;
    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 8px 35px rgba(15, 23, 42, .07);
}


/* =========================================================
   HERO IMAGE
========================================================= */
.gfh-news-detail-image {
    position: relative;
    overflow: hidden;
}

.gfh-news-detail-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* พื้นดำโปร่งแสงด้านล่าง */
.gfh-news-detail-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
	 background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
    pointer-events: none;
}

/* ชื่อข่าว */
.gfh-detail-image-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 60px 30px 25px;
}

.gfh-detail-image-title h1 {
    margin: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Category ให้อยู่ด้านบน */
.gfh-detail-category {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;

    padding: 6px 14px;
    border-radius: 20px;

    color: #fff;
    background: rgba(0, 0, 0, 0.55);

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   CATEGORY BADGE
========================================================= */

.gfh-detail-category {
    position: absolute;

    top: 22px;
    left: 22px;

    z-index: 3;

    padding: 7px 15px;

    background: #00bcd4;

    color: #fff;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 600;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .18);
}


/* =========================================================
   IMAGE TITLE
========================================================= */

.gfh-detail-image-title {
    position: absolute;

    left: 30px;
    right: 30px;
    bottom: 25px;

    z-index: 3;

    color: #fff;
}

.gfh-detail-image-title h1 {
	color:#fff;
    margin: 0;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}


/* =========================================================
   ARTICLE BODY
========================================================= */

.gfh-news-detail-body {
    padding: 35px 40px 45px;
}


/* Meta */

.gfh-detail-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-bottom: 22px;

    color: #94a3b8;

    font-size: 13px;
}

.gfh-detail-meta i {
    color: #00a6c7;
}


/* Excerpt */

.gfh-detail-excerpt {
    margin-bottom: 30px;

    padding: 18px 20px;

    background: #f0f9ff;

    border-left: 4px solid #00bcd4;

    border-radius: 10px;

    color: #334155;

    font-size: 16px;
    line-height: 1.8;

    font-weight: 500;
}


/* Content */

.gfh-detail-content {
    color: #334155;

    font-size: 16px;

    line-height: 1.9;
}

.gfh-detail-content p {
    margin-bottom: 20px;
}

.gfh-detail-content img {
    max-width: 100%;
    height: auto;

    border-radius: 12px;
}


/* =========================================================
   EVENT INFORMATION
========================================================= */

.gfh-event-box {
    margin-top: 35px;

    padding: 22px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 16px;
}

.gfh-event-title {
    margin-bottom: 15px;

    color: #0f172a;

    font-size: 18px;

    font-weight: 700;
}

.gfh-event-row {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;

    color: #475569;

    font-size: 14px;
}

.gfh-event-row:last-child {
    margin-bottom: 0;
}

.gfh-event-row i {
    width: 20px;

    color: #00a6c7;

    text-align: center;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.gfh-back-news {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 25px;

    color: #0097b2;

    font-weight: 600;

    text-decoration: none;
}

.gfh-back-news:hover {
    color: #006f82;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .gfh-news-detail-image {
        height: 260px;
    }

    .gfh-detail-image-title {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .gfh-detail-image-title h1 {
        font-size: 23px;
    }

    .gfh-news-detail-body {
        padding: 25px 20px 35px;
    }

    .gfh-detail-meta {
        gap: 10px 15px;
    }

    .gfh-detail-content {
        font-size: 15px;
    }

}


	/* count */
/* =========================================================
   Detail Countdown
========================================================= */

.gfh-detail-countdown {
    padding: 20px 25px;

    background: #0f172a;

    text-align: center;

    border-top: 1px solid #1e293b;
}


/* Title */

.gfh-countdown-title {
    margin-bottom: 14px;

    font-size: 14px;
    font-weight: 600;

    color: #475569;
}


/* Countdown Row */

.gfh-countdown-time {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;
}


/* =========================================================
   Countdown Box
========================================================= */

.gfh-countdown-time > div {
    min-width: 65px;
    padding: 10px 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    box-shadow:  0 4px 12px rgba(15, 23, 42, .06);
    transition: all .25s ease;
}


/* Hover */

.gfh-countdown-time > div {
    min-width: 80px;

    padding: 15px 10px;

    background: #000000;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 14px;

    text-align: center;

    box-shadow: 0 5px 15px rgba(0,0,0,.25);
}


/* Number */

.gfh-countdown-time strong {
    display: block;

    font-size: 40px;
    line-height: 1;

    font-weight: 800;

    color: #ffffff;
    letter-spacing: 1px;
}


/* Label */

.gfh-countdown-time small {
    display: block;

    margin-top: 7px;

    font-size: 10px;

    font-weight: 500;

    color: #94a3b8;
}


/* Colon */
/* =========================================================
   Detail Countdown - Dark Premium
========================================================= */

.gfh-detail-countdown {
    padding: 20px 25px;

    /* background: #0f172a; */

    text-align: center;

    /* border-top: 1px solid #1e293b; */
}


/* Title */

.gfh-countdown-title {
    margin-bottom: 14px;

    font-size: 14px;
    font-weight: 600;

    color: #ffffff;

    opacity: .9;
}


/* Row */

.gfh-countdown-time {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;
}


/* Individual Box */

.gfh-countdown-time > div {
    min-width: 65px;

    padding: 11px 8px;

    background: #000000;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 12px;

    text-align: center;

    box-shadow:
        0 5px 15px rgba(0,0,0,.25);

    transition: .25s ease;
}


/* Hover */

.gfh-countdown-time > div:hover {
    transform: translateY(-2px);

    background: #111827;

    border-color: rgba(255,255,255,.22);
}


/* Number */

.gfh-countdown-time strong {
    display: block;

    font-size: 48px;

    line-height: 1;

    font-weight: 700;

    color: #ffffff;
}


/* Label */

.gfh-countdown-time small {
    display: block;

    margin-top: 7px;

    font-size: 10px;

    font-weight: 500;

    color: rgba(255,255,255,.65);
}


/* Colon */
.gfh-countdown-time > span {
    font-size: 24px;
    font-weight: 700;
    color: #64748b;
}
/* =========================================================
   Mobile
========================================================= */
@media (max-width: 767px) {
    .gfh-detail-countdown {padding: 8px 5px;}
    .gfh-countdown-title {font-size: 13px; margin-bottom: 12px;}
    .gfh-countdown-time {gap: 5px;}
    .gfh-countdown-time > div {min-width: 52px; padding: 9px 5px; border-radius: 10px;}
    .gfh-countdown-time strong {font-size: 32px;}
    .gfh-countdown-time small {margin-top: 5px; font-size: 9px;}
    .gfh-countdown-time > span {font-size: 28px;}
}


/*  newsList */