.elementor-25 .elementor-element.elementor-element-227faeb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-f0705bb *//* =========================================================
   288UP Guide Home - Magazine Content Hub
   Scope: content after global Header only
   Theme: Black / Orange / Gold Premium
========================================================= */

.upg-page,
.upg-page *,
.upg-page *::before,
.upg-page *::after {
  box-sizing: border-box;
}

.upg-page {
  --upg-primary: #FF5A00;
  --upg-secondary: #050505;
  --upg-text: #FFFFFF;
  --upg-accent: #FFB347;

  --upg-dark-bg: #050505;
  --upg-deep-bg: #111111;
  --upg-deep-bg-2: #090909;

  --upg-orange: #FF5A00;
  --upg-orange-dark: #B83800;
  --upg-muted: #A8A8A8;
  --upg-border: #FF5A0073;

  --upg-card: rgba(17, 17, 17, 0.88);
  --upg-card-2: rgba(9, 9, 9, 0.86);
  --upg-line: rgba(255, 90, 0, 0.45);
  --upg-gold-soft: rgba(255, 179, 71, 0.22);
  --upg-orange-soft: rgba(255, 90, 0, 0.18);

  --upg-radius: 18px;
  --upg-radius-lg: 24px;
  --upg-shadow: 0 18px 50px rgba(0, 0, 0, 0.46);

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100vh;
  color: var(--upg-text);
  font-family: Prompt, "Noto Sans Thai", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 90, 0, 0.10), transparent 34%),
    radial-gradient(circle at 82% 8%, rgba(255, 179, 71, 0.10), transparent 32%),
    linear-gradient(180deg, #050505 0%, #090909 48%, #050505 100%);
  overflow-x: hidden;
}

.upg-page a {
  color: inherit;
  text-decoration: none;
}

.upg-container,
.upg-cat-bg-container,
.upg-wide-banner-container {
  width: min(1280px, calc(100vw - 48px));
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.upg-section {
  padding: 18px 0;
}

.upg-kicker,
.upg-card-kicker {
  margin: 0 0 12px;
  color: var(--upg-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.upg-section-head,
.upg-section-head-wide {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.upg-section-head h2,
.upg-section-head-wide h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.upg-section-head a,
.upg-section-head-wide a {
  color: var(--upg-accent);
  font-size: 14px;
  font-weight: 900;
}

.upg-panel,
.upg-faq-item,
.upg-home-post-card {
  border: 1px solid var(--upg-border);
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 90, 0, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.88), rgba(9, 9, 9, 0.94));
  box-shadow: var(--upg-shadow);
  border-radius: var(--upg-radius);
}

/* =========================================================
   Buttons
========================================================= */

.upg-btn,
.upg-btn-small,
.upg-home-post-readmore,
.upg-page .zgd-home-post-readmore {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 13px;
  text-align: center;
  line-height: 1.1 !important;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, filter 0.18s ease;
}

.upg-btn-primary,
.upg-btn-gold,
.upg-home-post-readmore,
.upg-page .zgd-home-post-readmore {
  color: #160900 !important;
  background: linear-gradient(180deg, #FFB347 0%, #FF5A00 58%, #B83800 100%);
  border: 1px solid rgba(255, 179, 71, 0.45);
  box-shadow: 0 14px 34px rgba(255, 90, 0, 0.28);
}

.upg-btn-outline,
.upg-btn-blue {
  color: #ffffff !important;
  background: rgba(255, 90, 0, 0.10);
  border: 1px solid var(--upg-border);
}

.upg-btn-small {
  min-height: 38px;
  padding: 0 15px;
  color: #160900 !important;
  background: linear-gradient(180deg, #FFB347 0%, #FF5A00 100%);
  border: 1px solid rgba(255, 179, 71, 0.40);
  font-size: 13px;
}

.upg-btn:hover,
.upg-btn-small:hover,
.upg-home-post-readmore:hover,
.upg-page .zgd-home-post-readmore:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* =========================================================
   01 Hero + Random Featured Article
========================================================= */

.upg-hero {
  padding: 42px 0 30px;
  background: transparent !important;
}

.upg-hero-grid {
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(620px, 1.18fr);
  gap: 44px;
  align-items: center;
}

.upg-hero-copy {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.upg-hero-copy h1 {
  margin: 0;
  max-width: 640px;
  color: #ffffff;
  font-size: clamp(42px, 3.35vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.028em;
  font-weight: 900;
  text-wrap: balance;
}

.upg-hero-desc {
  max-width: 650px;
  margin: 20px 0 26px;
  color: var(--upg-muted);
  font-size: 15.5px;
  line-height: 1.82;
}

.upg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.upg-hero .upg-btn {
  min-height: 48px;
  padding-left: 24px;
  padding-right: 24px;
  font-size: 15px;
}

.upg-hero-feature-shortcode {
  width: 100%;
  min-width: 0;
  height: 100%;
}

/* Support shortcode output: [zgd_random_feature_card] */
.upg-page .zgd-feature-card-random {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 500px;
  border-radius: 28px;
  border: 1px solid rgba(255, 90, 0, 0.42);
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 179, 71, 0.18), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(255, 90, 0, 0.24), transparent 36%),
    linear-gradient(135deg, rgba(17, 17, 17, 0.98), rgba(5, 5, 5, 0.98));
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.upg-page .zgd-feature-card-random::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    var(--zgd-random-bg, none) center center / cover no-repeat,
    radial-gradient(circle at 18% 18%, rgba(255, 90, 0, 0.18), transparent 32%),
    linear-gradient(135deg, #111111 0%, #090909 58%, #050505 100%);
  transform: scale(1.02);
  transition: transform 0.5s ease, filter 0.5s ease;
  pointer-events: none;
}

.upg-page .zgd-feature-card-random:hover::before {
  transform: scale(1.06);
  filter: saturate(1.08) brightness(1.04);
}

.upg-page .zgd-feature-card-random .zgd-feature-card-click {
  position: absolute;
  inset: 0;
  z-index: 4;
  text-indent: -9999px;
  overflow: hidden;
}

.upg-page .zgd-feature-card-random .zgd-feature-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.18) 0%, rgba(5, 5, 5, 0.38) 24%, rgba(5, 5, 5, 0.72) 62%, rgba(5, 5, 5, 0.98) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.86) 0%, rgba(5, 5, 5, 0.52) 44%, rgba(5, 5, 5, 0.20) 100%);
}

.upg-page .zgd-feature-card-random .zgd-feature-card-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  padding: 28px 32px 30px;
}

.upg-page .zgd-feature-card-random .zgd-feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.upg-page .zgd-feature-card-random .zgd-featured-label,
.upg-page .zgd-feature-card-random .zgd-featured-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.upg-page .zgd-feature-card-random .zgd-featured-label {
  color: var(--upg-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 90, 0, 0.16);
  border: 1px solid rgba(255, 90, 0, 0.38);
}

.upg-page .zgd-feature-card-random .zgd-featured-date {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.upg-page .zgd-feature-card-random .zgd-feature-card-body {
  max-width: 720px;
}

.upg-page .zgd-feature-card-random .zgd-featured-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 0 14px;
  color: #160900;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFB347 0%, #FF5A00 100%);
  box-shadow: 0 12px 24px rgba(255, 90, 0, 0.22);
}

.upg-page .zgd-feature-card-random h2 {
  margin: 0 0 14px;
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(34px, 2.65vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.028em;
  font-weight: 900;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.48);
}

.upg-page .zgd-feature-card-random h2 a {
  position: relative;
  z-index: 5;
  color: #ffffff !important;
  text-decoration: none !important;
}

.upg-page .zgd-feature-card-random p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.72;
}

.upg-page .zgd-feature-card-random .zgd-feature-readmore {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 20px;
  padding: 0 20px;
  color: #160900 !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none !important;
  border-radius: 14px;
  background: linear-gradient(180deg, #FFB347 0%, #FF5A00 58%, #B83800 100%);
  border: 1px solid rgba(255, 179, 71, 0.45);
  box-shadow: 0 14px 28px rgba(255, 90, 0, 0.24);
}

/* =========================================================
   02 Quick Subcategory Bar
========================================================= */

.upg-v1-subnav-section {
  padding-top: 4px;
  padding-bottom: 12px;
}

.upg-v1-subnav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--upg-border);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 90, 0, 0.13), transparent 30%),
    rgba(17, 17, 17, 0.76);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.30);
}

.upg-v1-subnav strong {
  color: var(--upg-accent);
  font-size: 14px;
  font-weight: 900;
  margin-right: 4px;
}

.upg-v1-subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 90, 0, 0.11);
  border: 1px solid rgba(255, 90, 0, 0.28);
  font-size: 13px;
  font-weight: 900;
}

.upg-v1-subnav a:hover {
  color: var(--upg-accent);
  border-color: rgba(255, 179, 71, 0.48);
  background: rgba(255, 179, 71, 0.09);
}

/* =========================================================
   03 Wide Banner
========================================================= */

.upg-wide-banner-section,
.upg-wide-banner-section *,
.upg-wide-banner-section *::before,
.upg-wide-banner-section *::after {
  box-sizing: border-box;
}

.upg-wide-banner-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 8px 0 22px;
  overflow: hidden;
}

.upg-wide-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  border-radius: 24px;
  border: 1px solid var(--upg-border);
  background: linear-gradient(135deg, rgba(17,17,17,0.95), rgba(5,5,5,0.98));
  box-shadow:
    0 22px 60px rgba(0,0,0,0.44),
    0 0 0 1px rgba(255,90,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.upg-wide-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,5,5,0.52) 0%, rgba(5,5,5,0.10) 32%, rgba(5,5,5,0.08) 68%, rgba(5,5,5,0.42) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 46%, rgba(0,0,0,0.28) 100%);
}

.upg-wide-banner::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  pointer-events: none;
  border-radius: 18px;
  border: 1px solid rgba(255, 179, 71, 0.16);
}

.upg-wide-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.upg-wide-banner:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) brightness(1.03);
}

.upg-wide-banner-shine {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, transparent 34%, rgba(255,255,255,0.18) 46%, transparent 58%, transparent 100%);
  transform: translateX(-130%);
  transition: transform 0.85s ease;
}

.upg-wide-banner:hover .upg-wide-banner-shine {
  transform: translateX(130%);
}

/* =========================================================
   04 Page Intent Hub Cards - Support shortcode output
========================================================= */

.upg-page-intent-dynamic-wrap {
  width: 100%;
}

.upg-page .zgd-page-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.upg-page .zgd-page-hub-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 330px;
  border-radius: 22px;
  border: 1px solid var(--upg-border);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.10) 0%, rgba(5, 5, 5, 0.56) 44%, rgba(5, 5, 5, 0.94) 100%),
    var(--zgd-page-card-bg, linear-gradient(135deg, #111111, #050505)) center / cover no-repeat;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.upg-page .zgd-page-hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 90, 0, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.44) 0%, rgba(5, 5, 5, 0.12) 46%, rgba(5, 5, 5, 0.40) 100%);
}

.upg-page .zgd-page-hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 179, 71, 0.58);
  filter: brightness(1.07);
}

.upg-page .zgd-page-hub-click {
  position: absolute;
  inset: 0;
  z-index: 6;
}

.upg-page .zgd-page-hub-media {
  position: relative;
  z-index: 2;
  min-height: 150px;
  padding: 18px;
}

.upg-page .zgd-page-hub-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 40px;
  border-radius: 999px;
  color: #160900;
  background: linear-gradient(180deg, #FFB347 0%, #FF5A00 100%);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(255, 90, 0, 0.24);
}

.upg-page .zgd-page-hub-body {
  position: relative;
  z-index: 2;
  padding: 0 18px 20px;
}

.upg-page .zgd-page-hub-body h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.32;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.upg-page .zgd-page-hub-body p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.68;
}

.upg-page .zgd-page-hub-readmore {
  position: relative;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  color: #160900;
  background: linear-gradient(180deg, #FFB347 0%, #FF5A00 100%);
  font-size: 13px;
  font-weight: 900;
}

/* =========================================================
   05 Category Background Cards
========================================================= */

.upg-cat-bg-section {
  padding: 18px 0;
}

.upg-cat-bg-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.upg-cat-bg-head p {
  margin: 0 0 12px;
  color: var(--upg-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.upg-cat-bg-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.upg-cat-bg-head a {
  color: var(--upg-accent);
  font-size: 14px;
  font-weight: 900;
}

.upg-cat-bg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.upg-cat-bg-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 270px;
  border-radius: 24px;
  border: 1px solid var(--upg-border);
  background:
    linear-gradient(180deg, rgba(5,5,5,0.06) 0%, rgba(5,5,5,0.50) 42%, rgba(5,5,5,0.96) 100%),
    var(--upg-cat-bg, linear-gradient(135deg, #111111, #050505)) center / cover no-repeat;
  box-shadow: var(--upg-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.upg-cat-bg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 90, 0, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(5,5,5,0.34), transparent 48%, rgba(5,5,5,0.34));
  pointer-events: none;
}

.upg-cat-bg-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 179, 71, 0.58);
  filter: brightness(1.06);
}

.upg-cat-bg-tag {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  color: #160900;
  background: linear-gradient(180deg, #FFB347 0%, #FF5A00 100%);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.upg-cat-bg-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 270px;
  padding: 20px;
}

.upg-cat-bg-body h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.upg-cat-bg-body p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.68;
}

.upg-cat-bg-body strong {
  color: var(--upg-accent);
  font-size: 14px;
  font-weight: 900;
}

/* =========================================================
   06 SEO Article Intro
========================================================= */

.upg-v1-seo-article-section {
  padding-top: 22px;
  padding-bottom: 22px;
}

.upg-v1-seo-article-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 42px);
  border-radius: 24px;
  border: 1px solid var(--upg-border);
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 90, 0, 0.13), transparent 34%),
    radial-gradient(circle at 8% 0%, rgba(255, 179, 71, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.88), rgba(9, 9, 9, 0.96));
  box-shadow: var(--upg-shadow);
}

.upg-v1-seo-article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 90, 0, 0.04), transparent 26%, transparent 74%, rgba(255, 179, 71, 0.04));
  opacity: 0.9;
}

.upg-v1-seo-article-card > * {
  position: relative;
  z-index: 2;
}

.upg-v1-seo-article-card h2 {
  max-width: 980px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.22;
  font-weight: 1000;
  letter-spacing: -0.035em;
}

.upg-v1-seo-article-card h3 {
  max-width: 980px;
  margin: 30px 0 12px;
  color: #ffffff;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.32;
  font-weight: 1000;
  letter-spacing: -0.025em;
}

.upg-v1-seo-article-card p {
  max-width: 1040px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15.5px;
  line-height: 1.9;
}

/* =========================================================
   07 Beginner Guide + Category Reviews
========================================================= */

.upg-v1-guide-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.95fr);
  gap: 16px;
}

.upg-v1-guide-panel,
.upg-v1-review-panel {
  padding: 16px;
}

.upg-v1-shortcode-wrap {
  width: 100%;
}

.upg-v1-review-list {
  display: grid;
  gap: 10px;
}

.upg-v1-review-list a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 90, 0, 0.24);
  background: rgba(5, 5, 5, 0.42);
}

.upg-v1-review-list strong {
  min-height: 44px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--upg-accent);
  background: rgba(255,255,255,0.06);
  font-size: 14px;
  font-weight: 900;
}

.upg-v1-review-list span {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.upg-v1-review-list em {
  display: block;
  margin-top: 3px;
  color: var(--upg-muted);
  font-size: 12px;
  font-style: normal;
}

/* Support shortcode output: [zgd_category_post_cards] */
.upg-page .zgd-cat-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}

.upg-page .zgd-cat-card-link {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  border-radius: 24px;
  border: 1px solid var(--upg-border);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 90, 0, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.88), rgba(5, 5, 5, 0.98));
  box-shadow: var(--upg-shadow);
  text-decoration: none !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.upg-page .zgd-cat-card-link:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 179, 71, 0.52);
}

.upg-page .zgd-cat-card-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 90, 0, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(17, 17, 17, 0.92), rgba(5, 5, 5, 0.98));
}

.upg-page .zgd-cat-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.70) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.36), transparent 52%, rgba(5, 5, 5, 0.24));
}

.upg-page .zgd-cat-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.upg-page .zgd-cat-card-link:hover .zgd-cat-card-media img {
  transform: scale(1.07);
  filter: saturate(1.08) brightness(1.04);
}

.upg-page .zgd-cat-number {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  color: #160900;
  background: linear-gradient(180deg, #FFB347 0%, #FF5A00 58%, #B83800 100%);
  font-size: 19px;
  font-weight: 1000;
  line-height: 1;
}

.upg-page .zgd-cat-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #160900;
  background: var(--upg-accent);
  font-size: 12px;
  font-weight: 900;
}

.upg-page .zgd-cat-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 20px 20px;
}

.upg-page .zgd-cat-card-body h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.22;
  font-weight: 1000;
}

.upg-page .zgd-cat-card-body p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.72;
}

.upg-page .zgd-cat-readmore {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--upg-accent);
  font-size: 15px;
  font-weight: 1000;
}

/* =========================================================
   08 Highlight Guide
========================================================= */

.upg-v1-highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 16px;
}

.upg-v1-highlight-main,
.upg-v1-highlight-side {
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: 22px;
  border: 1px solid var(--upg-border);
  background:
    radial-gradient(circle at 80% 30%, rgba(255,90,0,0.20), transparent 32%),
    radial-gradient(circle at 16% 12%, rgba(255,179,71,0.12), transparent 32%),
    linear-gradient(135deg, rgba(17, 17, 17, 0.90), rgba(5, 5, 5, 0.98));
  box-shadow: var(--upg-shadow);
}

.upg-v1-highlight-main {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.upg-v1-highlight-main h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(25px, 2.4vw, 36px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.upg-v1-highlight-main p {
  max-width: 980px;
  margin: 0 0 16px;
  color: var(--upg-muted);
  font-size: 15px;
  line-height: 1.82;
}

.upg-v1-highlight-main .upg-btn {
  width: fit-content;
  margin-top: 6px;
}

.upg-v1-highlight-side {
  display: grid;
  gap: 12px;
  align-content: center;
}

.upg-v1-highlight-side a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 90, 0, 0.24);
  background: rgba(5, 5, 5, 0.42);
}

.upg-v1-highlight-side span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #160900;
  background: linear-gradient(180deg, #FFB347 0%, #FF5A00 100%);
  font-size: 14px;
  font-weight: 900;
}

.upg-v1-highlight-side strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

/* =========================================================
   09 Latest Articles Dynamic - Support shortcode output
========================================================= */

.upg-latest-dynamic-wrap {
  width: 100%;
}

.upg-page .zgd-home-post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.upg-page .zgd-home-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--upg-border);
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 90, 0, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.88), rgba(5, 5, 5, 0.96));
  box-shadow: var(--upg-shadow);
  border-radius: var(--upg-radius);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.upg-page .zgd-home-post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 179, 71, 0.52);
}

.upg-page .zgd-home-post-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 90, 0, 0.20), transparent 38%),
    linear-gradient(135deg, rgba(17, 17, 17, 0.92), rgba(5, 5, 5, 0.96));
}

.upg-page .zgd-home-post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.upg-page .zgd-home-post-card:hover .zgd-home-post-thumb img {
  transform: scale(1.045);
  filter: saturate(1.06) brightness(1.04);
}

.upg-page .zgd-home-post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.upg-page .zgd-home-post-category {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  padding: 6px 10px;
  margin-bottom: 10px;
  color: #160900;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFB347, #FF5A00 62%, #B83800);
}

.upg-page .zgd-home-post-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.42;
}

.upg-page .zgd-home-post-card h3 a {
  color: #ffffff !important;
}

.upg-page .zgd-home-post-card p {
  margin: 0 0 14px;
  color: var(--upg-muted);
  font-size: 14px;
  line-height: 1.72;
}

/* =========================================================
   10 CTA
========================================================= */

.upg-main-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--upg-border);
  background:
    radial-gradient(circle at 88% 30%, rgba(255,90,0,0.18), transparent 26%),
    linear-gradient(135deg, rgba(17,17,17,0.90), rgba(5,5,5,0.98));
  box-shadow: 0 22px 60px rgba(0,0,0,0.42);
}

.upg-main-cta h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
}

.upg-main-cta p {
  max-width: 760px;
  margin: 0;
  color: var(--upg-muted);
  line-height: 1.7;
}

/* =========================================================
   11 Info Links
========================================================= */

.upg-info-links-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: var(--upg-radius);
  border: 1px solid var(--upg-border);
  background:
    radial-gradient(circle at 86% 22%, rgba(255,90,0,0.14), transparent 32%),
    linear-gradient(180deg, rgba(17,17,17,0.88), rgba(5,5,5,0.96));
  box-shadow: var(--upg-shadow);
}

.upg-info-links-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  font-weight: 900;
}

.upg-info-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.upg-info-links-grid a {
  min-height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 90, 0, 0.10);
  border: 1px solid rgba(255, 90, 0, 0.24);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  line-height: 1.15;
}

.upg-info-links-grid a:hover {
  color: var(--upg-accent);
  border-color: rgba(255,179,71,0.38);
  background: rgba(255,179,71,0.08);
}

/* =========================================================
   12 FAQ
========================================================= */

.upg-faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.upg-faq-item {
  overflow: hidden;
}

.upg-faq-item summary {
  min-height: 52px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.upg-faq-item summary::-webkit-details-marker {
  display: none;
}

.upg-faq-item summary::after {
  content: "⌄";
  color: var(--upg-accent);
}

.upg-faq-item[open] summary::after {
  content: "⌃";
}

.upg-faq-item p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--upg-muted);
  font-size: 13px;
  line-height: 1.65;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1120px) {
  .upg-hero-grid,
  .upg-v1-guide-review-grid,
  .upg-v1-highlight-grid {
    grid-template-columns: 1fr;
  }

  .upg-hero-copy {
    min-height: auto;
  }

  .upg-hero-copy h1 {
    max-width: 760px;
    font-size: clamp(38px, 5.4vw, 54px);
    line-height: 1.17;
  }

  .upg-hero-desc {
    max-width: 760px;
  }

  .upg-page .zgd-feature-card-random,
  .upg-page .zgd-feature-card-random .zgd-feature-card-inner {
    min-height: 500px;
  }

  .upg-page .zgd-page-hub-grid,
  .upg-cat-bg-grid,
  .upg-page .zgd-cat-post-grid,
  .upg-page .zgd-home-post-grid,
  .upg-faq-grid,
  .upg-info-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .upg-info-links-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .upg-container,
  .upg-cat-bg-container {
    width: min(100vw - 28px, 560px);
  }

  .upg-hero {
    padding-top: 28px;
  }

  .upg-hero-grid {
    gap: 24px;
  }

  .upg-hero-copy h1 {
    font-size: clamp(30px, 8.8vw, 40px);
    line-height: 1.22;
    letter-spacing: -0.012em;
  }

  .upg-hero-desc {
    font-size: 14px;
    line-height: 1.78;
  }

  .upg-hero-actions,
  .upg-main-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .upg-btn,
  .upg-btn-small,
  .upg-home-post-readmore,
  .upg-page .zgd-home-post-readmore {
    width: 100%;
    min-height: 44px;
    text-align: center;
    white-space: normal;
  }

  .upg-page .zgd-feature-card-random,
  .upg-page .zgd-feature-card-random .zgd-feature-card-inner {
    min-height: 430px;
  }

  .upg-page .zgd-feature-card-random {
    border-radius: 22px;
  }

  .upg-page .zgd-feature-card-random .zgd-feature-card-inner {
    padding: 20px 18px 22px;
  }

  .upg-page .zgd-feature-card-random .zgd-feature-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .upg-page .zgd-feature-card-random .zgd-featured-date {
    display: none;
  }

  .upg-page .zgd-feature-card-random h2 {
    font-size: 26px;
    line-height: 1.22;
    letter-spacing: -0.012em;
  }

  .upg-page .zgd-feature-card-random p {
    font-size: 14px;
    line-height: 1.7;
  }

  .upg-section-head,
  .upg-section-head-wide,
  .upg-cat-bg-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .upg-v1-subnav {
    align-items: flex-start;
  }

  .upg-v1-subnav strong {
    width: 100%;
  }

  .upg-page .zgd-page-hub-grid,
  .upg-cat-bg-grid,
  .upg-page .zgd-cat-post-grid,
  .upg-page .zgd-home-post-grid,
  .upg-faq-grid,
  .upg-info-links-grid {
    grid-template-columns: 1fr;
  }

  .upg-page .zgd-page-hub-card {
    min-height: 285px;
  }

  .upg-page .zgd-page-hub-body h3 {
    font-size: 21px;
  }

  .upg-wide-banner-section {
    width: 100%;
    padding: 8px 0 18px;
    margin-left: 0;
    margin-right: 0;
  }

  .upg-wide-banner-container {
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .upg-wide-banner {
    width: 100%;
    aspect-ratio: auto;
    border-radius: 12px;
  }

  .upg-wide-banner img {
    height: auto;
    object-fit: contain;
    transform: none;
  }

  .upg-v1-seo-article-card,
  .upg-v1-highlight-main,
  .upg-v1-highlight-side,
  .upg-main-cta,
  .upg-info-links-panel {
    padding: 18px;
  }

  .upg-v1-seo-article-card h2,
  .upg-v1-highlight-main h2 {
    font-size: 24px;
    line-height: 1.28;
  }

  .upg-v1-highlight-side a {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .upg-cat-bg-card,
  .upg-cat-bg-body {
    min-height: 230px;
  }

  .upg-main-cta h2 {
    font-size: 25px;
  }

  .upg-page .zgd-cat-card-link {
    min-height: auto;
    border-radius: 20px;
  }

  .upg-page .zgd-cat-card-media {
    aspect-ratio: 16 / 9;
  }

  .upg-page .zgd-cat-card-body {
    padding: 18px 16px 18px;
  }

  .upg-page .zgd-cat-card-body h3 {
    font-size: 23px;
  }
}

@media (max-width: 420px) {
  .upg-wide-banner-container {
    padding-left: 8px;
    padding-right: 8px;
  }
}/* End custom CSS */