:root {
    --gutp-bg: #090909;
    --gutp-panel: #141414;
    --gutp-panel-2: #1c1c1c;
    --gutp-line: rgba(255, 255, 255, .10);
    --gutp-red: #b50912;
    --gutp-red-bright: #e51b25;
    --gutp-gold: #f5bd32;
    --gutp-gold-soft: #ffe39a;
    --gutp-text: #f5f5f5;
    --gutp-muted: #b7b7b7;
    --gutp-radius: 16px;
}

html { scroll-behavior: smooth; }
body.gutp-tag-page {
    margin: 0;
    color: var(--gutp-text);
    background:
        radial-gradient(circle at 50% -10%, rgba(181, 9, 18, .22), transparent 34rem),
        var(--gutp-bg);
    font-family: Arial, "Noto Sans Thai", Tahoma, sans-serif;
    line-height: 1.7;
}
body.gutp-tag-page * { box-sizing: border-box; }
body.gutp-tag-page img { max-width: 100%; }
.gutp-shell { width: min(1170px, calc(100% - 32px)); margin-inline: auto; }

.gutp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 8, .94);
    border-bottom: 1px solid rgba(245, 189, 50, .25);
    backdrop-filter: blur(14px);
}
.gutp-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gutp-brand { display: inline-flex; align-items: center; color: var(--gutp-gold); font-size: 24px; font-weight: 900; text-decoration: none; }
.gutp-brand img { display: block; width: auto; max-width: 210px; height: 58px; object-fit: contain; }
.gutp-nav { display: flex; align-items: center; gap: 8px; }
.gutp-nav a { color: #eee; padding: 10px 13px; border-radius: 9px; text-decoration: none; font-size: 14px; }
.gutp-nav a:hover, .gutp-nav a[aria-current="page"] { color: var(--gutp-gold); background: rgba(245, 189, 50, .08); }
.gutp-nav .gutp-nav-cta {
    margin-left: 8px;
    color: #260b00;
    font-weight: 800;
    background: linear-gradient(180deg, #ffd55f, #e88d0a);
    box-shadow: 0 5px 18px rgba(232, 141, 10, .22);
}
.gutp-nav .gutp-nav-cta:hover { color: #260b00; background: linear-gradient(180deg, #ffe489, #f0a11d); }

.gutp-banner { padding: 18px 0 0; }
.gutp-banner img {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    border: 1px solid rgba(245, 189, 50, .28);
    border-radius: var(--gutp-radius);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

.gutp-main { min-height: 60vh; padding: 22px 0 72px; }
.gutp-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: #8f8f8f; font-size: 13px; margin: 0 0 16px; }
.gutp-breadcrumb a { color: var(--gutp-gold-soft); text-decoration: none; }
.gutp-breadcrumb a:hover { text-decoration: underline; }

.gutp-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 5vw, 54px);
    border: 1px solid rgba(245, 189, 50, .20);
    border-top: 3px solid var(--gutp-red-bright);
    border-radius: var(--gutp-radius);
    background: linear-gradient(140deg, rgba(181, 9, 18, .14), rgba(245, 189, 50, .04) 55%, transparent), var(--gutp-panel);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .24);
}
.gutp-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -150px;
    right: -80px;
    border-radius: 50%;
    background: rgba(245, 189, 50, .08);
    filter: blur(2px);
}
.gutp-kicker { position: relative; z-index: 1; color: var(--gutp-gold); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.gutp-hero h1 { position: relative; z-index: 1; max-width: 960px; margin: 8px 0 14px; color: #fff; font-size: clamp(29px, 5vw, 48px); line-height: 1.25; }
.gutp-count { display: inline-flex; margin-top: 15px; padding: 6px 13px; color: var(--gutp-gold-soft); background: rgba(245, 189, 50, .08); border: 1px solid rgba(245, 189, 50, .22); border-radius: 999px; font-size: 13px; }
.gutp-richtext { position: relative; z-index: 1; color: #dedede; font-size: 16px; }
.gutp-richtext > :first-child { margin-top: 0; }
.gutp-richtext > :last-child { margin-bottom: 0; }
.gutp-richtext h2, .gutp-richtext h3 { color: var(--gutp-gold-soft); line-height: 1.35; }
.gutp-richtext h2 { font-size: clamp(24px, 4vw, 32px); }
.gutp-richtext h3 { font-size: clamp(19px, 3vw, 24px); }
.gutp-richtext a { color: var(--gutp-gold); text-underline-offset: 3px; }
.gutp-richtext ul, .gutp-richtext ol { padding-left: 1.35rem; }
.gutp-richtext blockquote { margin: 22px 0; padding: 14px 18px; color: #f5e9cf; background: rgba(245, 189, 50, .06); border-left: 4px solid var(--gutp-gold); border-radius: 0 10px 10px 0; }

.gutp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.gutp-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
    border: 1px solid var(--gutp-line);
    border-radius: var(--gutp-radius);
    background: var(--gutp-panel);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gutp-card:hover { transform: translateY(-4px); border-color: rgba(245, 189, 50, .40); box-shadow: 0 20px 44px rgba(0, 0, 0, .34); }
.gutp-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #250708, #151515); text-decoration: none; }
.gutp-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gutp-card:hover .gutp-card-image img { transform: scale(1.035); }
.gutp-card-image-empty { display: grid; place-items: center; color: rgba(245, 189, 50, .5); font-size: 72px; font-weight: 900; }
.gutp-card-body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.gutp-card-meta { color: var(--gutp-gold); font-size: 12px; }
.gutp-card h2 { margin: 7px 0 9px; font-size: 20px; line-height: 1.42; }
.gutp-card h2 a { color: #fff; text-decoration: none; }
.gutp-card h2 a:hover { color: var(--gutp-gold-soft); }
.gutp-card p { margin: 0 0 18px; color: var(--gutp-muted); font-size: 14px; line-height: 1.7; }
.gutp-readmore { margin-top: auto; color: var(--gutp-gold); font-weight: 800; font-size: 14px; text-decoration: none; }
.gutp-readmore:hover { color: #fff1bb; }

.gutp-pagination { margin-top: 34px; }
.gutp-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.gutp-pagination a, .gutp-pagination span { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: 6px 12px; color: #eee; background: var(--gutp-panel); border: 1px solid var(--gutp-line); border-radius: 9px; text-decoration: none; }
.gutp-pagination a:hover, .gutp-pagination .current { color: #200a00; font-weight: 900; background: var(--gutp-gold); border-color: var(--gutp-gold); }

.gutp-bottom { margin-top: 34px; padding: clamp(24px, 5vw, 46px); background: var(--gutp-panel); border: 1px solid var(--gutp-line); border-radius: var(--gutp-radius); }
.gutp-empty { margin-top: 28px; padding: 48px 28px; text-align: center; background: var(--gutp-panel); border: 1px dashed rgba(245, 189, 50, .30); border-radius: var(--gutp-radius); }
.gutp-empty h2 { margin-top: 0; color: var(--gutp-gold-soft); }
.gutp-empty p { color: var(--gutp-muted); }
.gutp-empty a { display: inline-block; margin-top: 8px; padding: 10px 18px; color: #280d00; font-weight: 800; background: var(--gutp-gold); border-radius: 9px; text-decoration: none; }

.gutp-footer { padding: 26px 0; color: #929292; background: #050505; border-top: 1px solid rgba(245, 189, 50, .16); }
.gutp-footer .gutp-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gutp-footer p { margin: 0; }
.gutp-footer a { color: var(--gutp-gold-soft); text-decoration: none; }
.gutp-mobile-cta { display: none; }

@media (max-width: 900px) {
    .gutp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    body.gutp-tag-page { padding-bottom: 70px; }
    .gutp-shell { width: min(100% - 22px, 1170px); }
    .gutp-header-inner { min-height: 65px; }
    .gutp-brand img { max-width: 150px; height: 46px; }
    .gutp-nav a:not(.gutp-nav-cta) { display: none; }
    .gutp-nav .gutp-nav-cta { margin-left: 0; padding: 8px 12px; }
    .gutp-banner { padding-top: 10px; }
    .gutp-banner .gutp-shell { width: 100%; }
    .gutp-banner img { border-radius: 0; border-left: 0; border-right: 0; }
    .gutp-main { padding-top: 16px; padding-bottom: 44px; }
    .gutp-hero { padding: 24px 20px; }
    .gutp-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
    .gutp-footer .gutp-shell { display: block; text-align: center; }
    .gutp-footer a { display: inline-block; margin-top: 7px; }
    .gutp-mobile-cta {
        position: fixed;
        z-index: 200;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: 1fr 1.45fr;
        gap: 8px;
        padding: 8px 10px;
        background: rgba(4, 4, 4, .97);
        border-top: 1px solid rgba(245, 189, 50, .30);
        box-shadow: 0 -8px 30px rgba(0, 0, 0, .40);
    }
    .gutp-mobile-cta a { display: grid; place-items: center; min-height: 46px; color: #eee; font-weight: 800; background: #252525; border-radius: 9px; text-decoration: none; }
    .gutp-mobile-cta .gutp-mobile-cta-main { color: #260b00; background: linear-gradient(180deg, #ffd55f, #e88d0a); }
}

