:root {
  --gold-primary: #d4af37;
  --gold-light: #fdf0a6;
  --gold-accent: #f5c842;

  --bg-dark: linear-gradient(
    90deg,
    #080400 0%,
    #140b02 18%,
    #2c1905 50%,
    #1b0f03 82%,
    #090501 100%
  );

  --color-primary: #000000;
  --color-secondary: #2c1905;
  --color-accent: #2c1905;
  --color-accent-light: #f7e9b8;
  --color-header: #141414;
  --color-button: #2c1905;
  --color-button-hover: #fff;
  --color-text: #fff;

  --footer-bg-: #000000;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-dark);
  color: #e5e5e5;
  font-family:
    "Kanit",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  overflow-x: hidden;
  padding-bottom: 75px;
  letter-spacing: 0.2px;
}

.heading-color {
  color: var(--gold-accent);
}

hr.divider {
  margin: 1em 0 1.5em;
  min-height: 0.2em;
  border: 0;
  background: linear-gradient(
    90deg in oklch,
    oklch(37.73% 0.059 78.15) 17.4%,
    oklch(41.79% 0.0675 82.88) 21.7%,
    oklch(71.98% 0.1205 96.38) 65.2%,
    oklch(74.73% 0.1227 97.89) 69.6%,
    oklch(77.33% 0.1229 99.02) 73.9%,
    oklch(88.81% 0.094 99.32) 95.7%,
    oklch(90.16% 0.0896 99.22) 100%
  );
}
hr.divider:nth-child(odd) {
  background: linear-gradient(
    270deg in oklch,
    oklch(37.73% 0.059 78.15) 17.4%,
    oklch(41.79% 0.0675 82.88) 21.7%,
    oklch(71.98% 0.1205 96.38) 65.2%,
    oklch(74.73% 0.1227 97.89) 69.6%,
    oklch(77.33% 0.1229 99.02) 73.9%,
    oklch(88.81% 0.094 99.32) 95.7%,
    oklch(90.16% 0.0896 99.22) 100%
  );
}

ul li a {
  color: var(--gold-light);
}

img.img-transition- {
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
img.img-transition-:hover {
  border-color: #f5d36d;
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 22px rgba(212, 175, 55, 0.14),
    0 6px 20px rgba(212, 175, 55, 0.18);
}

.footer-copyright {
  background: var(--footer-bg-);
  padding: 1em;
}

p a,
p strong {
  color: var(--gold-primary);
}

.txt-int {
  text-indent: 1em;
}

ol li strong,
ul li strong {
  color: var(--gold-primary);
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.toc-title {
  text-align: center;
  font-weight: 700;
  margin: 0;
  padding: 0;
  visibility: hidden;
  position: relative;
  justify-content: center;
}

.toc-title:after {
  visibility: visible;
  display: flex;
  justify-content: center;
  content: "สารบัญ";
  font-size: 2em;
  color: #fff126;
}

.widget-toc {
  display: table;
  background-image: linear-gradient(rgb(0, 0, 0, 0.3), rgb(0, 0, 0, 0.3));
  border-radius: 5px;
  border: 2px solid transparent;
  padding-right: 1rem;
  margin: 2em 0 !important;
  font-size: 95%;
  width: 50%;
}

@media (max-width: 991px) {
  .widget-toc {
    width: 100%;
  }
}

.widget-toc a {
  color: #f1f1f1;
  text-decoration: underline !important;
  font-size: 16px;
}
.widget-toc a:hover {
  text-decoration: none;
  opacity: 0.6;
  transition: 0.3s;
}
.widget-toc ol {
  padding-right: 0px;
  counter-reset: item;
}
.widget-toc ol li {
  display: block;
  position: relative;
}
.widget-toc ol li:before {
  content: counters(item, ".");
  counter-increment: item;
  position: absolute;
  margin-right: 100%;
  right: 0.5rem;
  inline-size: max-content;
}

/* =========================================
   Site Header
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(
    90deg,
    #070400 0%,
    #120a02 22%,
    #2b1a06 58%,
    #241605 78%,
    #0d0702 100%
  );
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.site-header-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 32px;
}

.site-nav-link {
  color: #f5f2eb;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  padding: 6px 2px;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link.active {
  color: var(--gold-accent);
  text-shadow: 0 0 10px rgba(245, 200, 66, 0.35);
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-register,
.btn-header-login,
.btn-mobile-register,
.btn-mobile-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  height: 44px;
  padding: 0 20px;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.btn-header-register,
.btn-mobile-register {
  color: #141414;
  background: linear-gradient(90deg, #f7f7f7 0%, #e2e2e2 45%, #b0b0b0 100%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn-header-register:hover,
.btn-mobile-register:hover {
  color: #000000;
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-header-login,
.btn-mobile-login {
  color: #1a1204;
  background: linear-gradient(
    90deg,
    #f8d367 0%,
    #d5a238 48%,
    #a87624 85%,
    #d8a944 100%
  );
  border: 1px solid rgba(253, 240, 166, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 198, 0.75),
    0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn-header-login:hover,
.btn-mobile-login:hover {
  color: #120c02;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 198, 0.9),
    0 4px 14px rgba(212, 175, 55, 0.35);
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 4px;
  color: var(--gold-light);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.site-nav-toggle:hover {
  background: rgba(212, 175, 55, 0.24);
  border-color: var(--gold-accent);
}

.site-mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 1120px) {
  .site-header-inner {
    padding: 12px 16px;
    gap: 16px;
  }

  .site-nav {
    gap: 20px;
  }

  .btn-header-register,
  .btn-header-login {
    min-width: 112px;
    padding: 0 14px;
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .site-header-inner {
    flex-wrap: wrap;
    min-height: 68px;
  }

  .site-logo img {
    height: 42px;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-header-nav-wrap {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex-basis: 100%;
    gap: 16px;
    padding: 14px 0 6px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
  }

  .site-header-nav-wrap.is-open {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav-link {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-header-actions {
    width: 100%;
    gap: 10px;
  }

  .btn-header-register,
  .btn-header-login,
  .btn-mobile-register,
  .btn-mobile-login {
    flex: 1;
    min-width: 0;
  }

  .site-mobile-actions {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

/* =========================================
   Hero Banner Section
   ========================================= */
.hero-banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #050300;
  background: center bottom / cover no-repeat
    url("../assets/img/PC-Banner-Background.webp");
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.hero-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 16px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 32px;
}

.hero-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-banner-logo {
  margin-bottom: 12px;
}

.hero-banner-logo img {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.75));
}

.hero-banner-title {
  margin: 0 0 6px;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: 0.5px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f1f1 55%, #b9b9b9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.85));
}

.hero-banner-subtitle {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.9vw, 2.35rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 58%, #b3b3b3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.85));
}

.hero-banner-support {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #f3f3f3;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.85);
}

.hero-banner-hours {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(
    0deg in oklch,
    oklch(55.91% 0.1406 53.44) 0%,
    oklch(67.72% 0.1474 68.23) 33.3%,
    oklch(83.07% 0.1612 83.03) 66.7%,
    oklch(90.94% 0.1132 89.37) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.8)) brightness(1.8);
}

.hero-banner-wallet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-wallet img {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.75));
}

.hero-banner-media {
  position: relative;
  width: 100%;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-banner-media img {
  display: block;
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 991px) {
  .hero-banner-inner {
    min-height: 340px;
    padding: 36px 12px 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-banner-logo img {
    max-width: 210px;
  }

  .hero-banner-media {
    min-height: 180px;
  }
}

@media (max-width: 575px) {
  .hero-banner-inner {
    min-height: 280px;
    padding: 28px 8px 0;
  }

  .hero-banner-logo img {
    max-width: 180px;
  }

  .hero-banner-wallet img {
    height: 36px;
  }

  .hero-banner-media {
    min-height: 120px;
  }
}

/* =========================================
   Site Footer
   ========================================= */
.site-footer {
  width: 100%;
  padding-top: 3em;
  color: #e8e4dc;
}

.site-footer-main {
  background: linear-gradient(
    90deg,
    #080400 0%,
    #140b02 18%,
    #2c1905 50%,
    #1b0f03 82%,
    #090501 100%
  );
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: 40px 20px 36px;
}

.site-footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  text-decoration: none;
}

.site-footer-logo img {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.75));
}

.site-footer-desc {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.7;
  color: #e4ded2;
}

.site-footer-highlight {
  color: var(--gold-accent);
  font-weight: 700;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 32px;
  margin-bottom: 28px;
}

.site-footer-nav a {
  color: #f3efe6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.site-footer-nav a:hover {
  color: var(--gold-accent);
  text-shadow: 0 0 10px rgba(245, 200, 66, 0.35);
}

.site-footer-providers {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 28px;
}

.site-footer-provider-item {
  height: 46px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 7, 3, 0.76);
  border: 1px solid rgba(191, 144, 48, 0.34);
  border-radius: 3px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.site-footer-provider-item:hover {
  border-color: rgba(245, 200, 66, 0.8);
  background: rgba(26, 17, 6, 0.92);
  transform: translateY(-1px);
}

.site-footer-provider-item img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site-footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.site-footer-badge {
  display: block;
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.site-footer-badge.is-wallet {
  height: 32px;
}

.site-footer .footer-copyright {
  background: linear-gradient(90deg, #050301 0%, #110b04 50%, #050301 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  padding: 16px 16px 18px;
  text-align: center;
  font-size: 13px;
  color: #dcd6ca;
}

.site-footer .footer-admin-link {
  color: var(--gold-primary);
  font-size: xx-small;
  text-decoration: none;
  opacity: 0.65;
  margin-bottom: 4px;
}

.site-footer .footer-admin-link:hover {
  opacity: 1;
}

@media (max-width: 991px) {
  .site-footer-providers {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .site-footer-main {
    padding: 32px 14px 28px;
  }

  .site-footer-logo img {
    height: 42px;
  }

  .site-footer-desc br {
    display: none;
  }

  .site-footer-nav {
    gap: 10px 20px;
  }

  .site-footer-providers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .site-footer-provider-item {
    height: 42px;
    padding: 5px 6px;
  }

  .site-footer-badges {
    gap: 12px;
  }

  .site-footer-badge {
    height: 26px;
  }
}

/* Mobile */

#account-actions-mobile {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 100%;
}

@media (min-width: 992px) {
  #account-actions-mobile {
    display: none;
  }
}

#account-actions-mobile .-outer-wrapper {
  display: flex;
  align-items: flex-end;
}

#account-actions-mobile .-left-wrapper,
#account-actions-mobile .-right-wrapper {
  display: flex;
  align-items: flex-end;
  flex: 1;
  z-index: 2;
  height: 70px;
  padding-bottom: 6px;
  background: linear-gradient(
    180deg,
    var(--color-button, #225db9),
    var(--color-primary, #041d4a)
  );
  border-top: 3px solid var(--color-accent, #fcb502);
  transition: -webkit-filter 0.2s;
  transition: filter 0.2s;
  transition:
    filter 0.2s,
    -webkit-filter 0.2s;
}

#account-actions-mobile .-center-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  z-index: 2;
  width: 74px;
  height: 74px;
  margin: 0 8px 16px;
  padding-bottom: 8px;
  color: var(--color-text, #f5f0e6);
  background: linear-gradient(
    180deg,
    var(--color-button, #1f55ad),
    var(--color-primary, #0a2a60)
  );
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 10px hsla(0, 0%, 100%, 0.4);
}

#account-actions-mobile .-center-wrapper:hover {
  text-shadow:
    0 0 10px white,
    0 0 10px white;
  color: #fff;
  text-decoration: none;
}

#account-actions-mobile .-center-wrapper .-selected {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  transition: all 0.4s;
  background-size: 450px;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  background-position: 0 0;
  border-radius: 50%;
}

.-selected h5 {
  position: absolute;
  bottom: 6px;
  font-size: 12px;
  font-weight: 300;
  margin: 0;
  color: var(--color-text);
}

.-selected img {
  width: 65px !important;
  max-width: 65px !important;
  height: auto;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

#account-actions-mobile .-fake-center-bg-wrapper {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 50px;
  transition: -webkit-filter 0.2s;
  transition: filter 0.2s;
  transition:
    filter 0.2s,
    -webkit-filter 0.2s;
  overflow: hidden;
}

#account-actions-mobile .-fake-center-bg-wrapper svg {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 108px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

#account-actions-mobile .-fake-center-bg-wrapper svg path {
  fill: url(#rectangleGradient);
}

#account-actions-mobile .-left-wrapper {
  border-top-left-radius: 10px;
  border-top-right-radius: 22px;
}

#account-actions-mobile .-right-wrapper {
  border-top-right-radius: 10px;
  border-top-left-radius: 22px;
}

#account-actions-mobile .-item-wrapper {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: var(--color-text, #f5f0e6);
  position: relative;
}

.-ic-img img {
  width: 40px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding-bottom: 20px;
  position: relative;
}

#account-actions-mobile .-item-wrapper .-text {
  font-size: 0.875rem;
  color: var(--color-text);
  transition: color 0.2s;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  margin: 0 auto;
  margin-top: 0.25rem;
}

@media (max-width: 575.98px) {
  #account-actions-mobile .-item-wrapper .-text {
    font-size: 0.8rem;
  }
}

#account-actions-mobile .-item-wrapper:active,
#account-actions-mobile .-item-wrapper:hover {
  text-decoration: none;
}

#account-actions-mobile .-item-wrapper:active .-text,
#account-actions-mobile .-item-wrapper:hover .-text {
  color: var(--color-button-hover, #ffffff);
}

#account-actions-mobile .-fully-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
}

#account-actions-mobile.-active .-fake-center-bg-wrapper,
#account-actions-mobile.-active .-left-wrapper,
#account-actions-mobile.-active .-right-wrapper {
  -webkit-filter: brightness(0.5);
  filter: brightness(0.5);
}

#account-actions-mobile.-active .-fake-center-bg-wrapper a,
#account-actions-mobile.-active .-left-wrapper a,
#account-actions-mobile.-active .-right-wrapper a {
  pointer-events: none;
}

#account-actions-mobile.-active .-center-wrapper {
  background: linear-gradient(
    0deg,
    rgba(251, 200, 68, 0.85),
    rgba(248, 128, 18, 0.85)
  );
}

#account-actions-mobile.-active .-center-wrapper .-selected {
  display: none;
}

#account-actions-mobile.-active .-fully-overlay {
  display: block;
}

/* =========================================
   Blog, Article View & Author Pages
   ========================================= */
.blog-section {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-page-header,
.blog-section-heading,
.blog-empty-state {
  background: linear-gradient(
    180deg,
    rgba(38, 22, 6, 0.72) 0%,
    rgba(16, 9, 3, 0.88) 100%
  );
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 24px 22px;
  margin-bottom: 24px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.blog-section-heading {
  padding: 16px 20px;
  margin-bottom: 20px;
}

.blog-empty-state {
  padding: 40px 24px;
  margin: 24px 0;
}

.blog-empty-state p,
.blog-page-header p {
  color: #e4ded2;
  max-width: 760px;
  margin: 10px auto 0;
  line-height: 1.7;
}

.blog-heading-1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--gold-accent);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.blog-heading-2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--gold-accent);
}

/* Buttons */
.btn-gold-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 4px;
  border: 1px solid rgba(253, 240, 166, 0.75);
  background: linear-gradient(90deg, #f8d367 0%, #d5a238 50%, #a87624 100%);
  color: #1a1204;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 198, 0.8),
    0 3px 12px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.btn-gold-cta:hover {
  color: #120c02;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 198, 0.95),
    0 6px 16px rgba(212, 175, 55, 0.35);
}

.btn-gold-cta:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: rgba(20, 12, 4, 0.75);
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-accent);
  color: #ffffff;
}

/* Breadcrumb */
.blog-breadcrumb {
  margin: 0 0 18px;
  padding: 10px 16px;
  background: rgba(18, 11, 3, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 6px;
}

.blog-breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #cfc6b5;
}

.blog-breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-breadcrumb-list li + li::before {
  content: "›";
  color: var(--gold-primary);
  font-weight: 700;
}

.blog-breadcrumb-list a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-breadcrumb-list a:hover {
  color: var(--gold-accent);
  text-decoration: underline;
}

.blog-breadcrumb-list li[aria-current="page"] {
  color: #f5f2eb;
  font-weight: 600;
}

/* Filter & Search Bar */
.blog-filter-bar {
  background: rgba(18, 11, 4, 0.78);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-search-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.blog-search-input {
  flex: 1 1 240px;
  height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(8, 5, 2, 0.85);
  color: #f5f2eb;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.blog-search-input::placeholder {
  color: #9e9484;
}

.blog-search-input:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.blog-search-btn {
  height: 44px;
}

.blog-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(10, 7, 3, 0.75);
  color: #e8e1d5;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-cat-pill:hover {
  border-color: var(--gold-accent);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.14);
}

.blog-cat-pill.active {
  background: linear-gradient(90deg, #f8d367 0%, #d5a238 55%, #b37f1f 100%);
  border-color: #fdf0a6;
  color: #1a1204;
  font-weight: 700;
}

.blog-active-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 14px;
  color: #f0e8da;
}

.blog-active-filter strong {
  color: var(--gold-accent);
}

.blog-clear-filter {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
}

.blog-clear-filter:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Blog Cards */
.blog-card-col {
  display: flex;
}

.blog-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    rgba(32, 19, 6, 0.85) 0%,
    rgba(14, 9, 3, 0.94) 100%
  );
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 200, 66, 0.78);
  box-shadow:
    0 12px 28px rgba(212, 175, 55, 0.16),
    0 6px 18px rgba(0, 0, 0, 0.55);
}

.blog-card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0602;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}

.blog-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f8d367 0%, #d4a138 60%, #b07c1c 100%);
  color: #1a1204;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.blog-category-badge.is-inline {
  position: static;
  box-shadow: none;
}

.blog-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #bdb3a1;
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #cfc6b5;
}

.blog-card-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
}

.blog-card-title a {
  color: #f7f3ea;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: var(--gold-accent);
}

.blog-card-excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #d1c9bb;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
  font-size: 12px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.blog-tag-chip:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold-accent);
  color: #ffffff;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.blog-card-footer.is-end {
  justify-content: flex-end;
}

.blog-card-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #e4ded2;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.blog-card-author:hover {
  color: var(--gold-accent);
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-primary);
  flex-shrink: 0;
}

.blog-author-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
}

.blog-readmore:hover {
  color: var(--gold-light);
  gap: 7px;
}

/* Load More */
.blog-load-more {
  text-align: center;
  margin: 28px 0 12px;
}

.blog-counter {
  margin: 0 0 14px;
  font-size: 14px;
  color: #cfc6b5;
}

.blog-counter strong {
  color: var(--gold-accent);
}

/* Article Reader (view.php) */
.article-reader {
  background: linear-gradient(
    180deg,
    rgba(28, 17, 5, 0.86) 0%,
    rgba(12, 8, 3, 0.95) 100%
  );
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 32px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.article-header {
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.article-title {
  margin-bottom: 16px;
}

.article-author-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.article-author-bar .blog-author-avatar {
  width: 40px;
  height: 40px;
}

.article-author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.article-author-label {
  font-size: 12px;
  color: #b5aa98;
}

.article-author-name {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 15px;
}

.article-author-name:hover {
  color: var(--gold-accent);
  text-decoration: underline;
}

.article-featured {
  margin: 0 0 24px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: #080502;
}

.article-featured-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
}

.article-body {
  color: #ede7dc;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--gold-accent);
  margin: 1.5em 0 0.6em;
  line-height: 1.35;
}

.article-body p {
  margin-bottom: 1em;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 14px auto;
  display: block;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4rem;
  margin-bottom: 1.1em;
}

.article-body li {
  margin-bottom: 0.45em;
}

.article-body blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold-accent);
  background: rgba(212, 175, 55, 0.08);
  border-radius: 0 6px 6px 0;
  color: #f5efe2;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.article-body th {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-accent);
}

.article-tags-footer {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.article-tags-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
}

.article-prev-next {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(12, 8, 3, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #f5f2eb;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.article-nav-link.is-next {
  text-align: right;
}

.article-nav-link small {
  color: var(--gold-accent);
  font-size: 12px;
  font-weight: 700;
}

.article-nav-link span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.article-nav-link:hover {
  border-color: var(--gold-accent);
  background: rgba(212, 175, 55, 0.12);
}

.article-back-wrap {
  text-align: center;
  margin-top: 24px;
}

.related-articles {
  margin-top: 32px;
}

/* Author Profile Card (author.php) */
.author-profile-card {
  background: linear-gradient(
    180deg,
    rgba(36, 21, 6, 0.85) 0%,
    rgba(14, 9, 3, 0.94) 100%
  );
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 26px 28px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.author-profile-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.author-profile-avatar-wrap {
  flex-shrink: 0;
}

.author-profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-primary);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.author-profile-details {
  flex: 1;
  min-width: 0;
}

.author-profile-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.author-username-tag {
  font-size: 13px;
  color: #cfc6b5;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.author-profile-name {
  margin-bottom: 8px;
}

.author-profile-bio {
  margin: 0 0 14px;
  color: #e4ded2;
  font-size: 15px;
  line-height: 1.65;
}

.author-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.author-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(10, 6, 2, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.28);
  font-size: 13px;
  color: #e4ded2;
}

.author-stat-pill strong {
  color: var(--gold-accent);
}

@media (max-width: 767px) {
  .article-reader {
    padding: 20px 16px;
  }

  .article-prev-next {
    grid-template-columns: 1fr;
  }

  .article-nav-link.is-next {
    text-align: left;
  }

  .author-profile-card {
    padding: 20px 16px;
  }

  .author-profile-inner {
    flex-direction: column;
    text-align: center;
  }

  .author-profile-badges,
  .author-profile-stats {
    justify-content: center;
  }
}
