/*
Theme Name: Clone Theme
Theme URI: https://example.com/
Author: You
Description: Minimal theme to render custom header/footer
Version: 1.0
Text Domain: clone-theme
*/

/* ============================================
   CSS VARIABLES & RESET
============================================ */
:root {
  --bg: #0b0b10;
  --bg-soft: #12121a;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #7c3aed;
  --primary-700: #6d28d9;
  --primary-900: #4c1d95;
  --card: #171723;
  --border: #222235;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  
}

html {
  scroll-behavior: smooth;
}

/* ============================================
   BASE STYLES (DESKTOP FIRST)
============================================ */

/* Body & Background */
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background-color: var(--bg);
  background-image: radial-gradient(
      1200px 700px at -10% -20%,
      rgba(124, 58, 237, 0.28),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 110% -10%,
      rgba(76, 29, 149, 0.25),
      transparent 60%
    ),
    radial-gradient(
      800px 500px at 50% 120%,
      rgba(124, 58, 237, 0.14),
      transparent 70%
    ),
    radial-gradient(closest-side, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 70%),
    radial-gradient(
      1px 1px at 0 0,
      rgba(255, 255, 255, 0.04) 0.5px,
      transparent 0.6px
    ),
    radial-gradient(
      1px 1px at 8px 8px,
      rgba(255, 255, 255, 0.04) 0.5px,
      transparent 0.6px
    );
  background-size: auto, auto, auto, 150% 150%, 16px 16px, 16px 16px;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  color: var(--text);
  line-height: 1.6;
}
h1,h2,h3,h4,h5 {color: #1ed8ff;}
/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
 
}
/* Blockchain Style Pagenavi */
        .wp-pagenavi {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 24px;
            margin: 40px 0;
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(88, 28, 135, 0.12) 100%);
            border-radius: 16px;
            border: 1px solid rgba(124, 58, 237, 0.2);
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
            position: relative;
            overflow: hidden;
        }

        /* Hiệu ứng blockchain pattern nền */
        .wp-pagenavi::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px),
                linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px);
            background-size: 20px 20px;
            pointer-events: none;
            z-index: 0;
        }

        /* Text "Trang x trên y" */
        .wp-pagenavi .pages {
            font-size: 14px;
            font-weight: 600;
            color: rgb(124, 58, 237);
            padding: 10px 18px;
            background: rgba(124, 58, 237, 0.1);
            border-radius: 10px;
            border: 1px solid rgba(124, 58, 237, 0.25);
            letter-spacing: 0.5px;
            text-transform: uppercase;
            font-family: 'Courier New', monospace;
            z-index: 1;
        }

        /* Nút trang số */
        .wp-pagenavi a.page,
        .wp-pagenavi span.current {
            min-width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            border-radius: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            z-index: 1;
            font-family: 'Courier New', monospace;
            border: 2px solid transparent;
        }

        /* Nút trang thường */
        .wp-pagenavi a.page {
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(88, 28, 135, 0.2));
            color: rgb(124, 58, 237);
            border-color: rgba(124, 58, 237, 0.3);
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
        }

        .wp-pagenavi a.page:hover {
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(88, 28, 135, 0.9));
            color: white;
            border-color: rgb(124, 58, 237);
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4),
                        0 0 20px rgba(124, 58, 237, 0.3);
        }

        /* Trang hiện tại */
        .wp-pagenavi span.current {
            background: linear-gradient(135deg, rgb(124, 58, 237), rgb(88, 28, 135));
            color: white;
            border-color: rgb(147, 51, 234);
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5),
                        inset 0 1px 3px rgba(255, 255, 255, 0.2);
            cursor: default;
        }

        .wp-pagenavi span.current::after {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 12px;
            padding: 2px;
            background: linear-gradient(135deg, rgb(147, 51, 234), rgb(124, 58, 237));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            animation: glow 2s ease-in-out infinite;
        }

        @keyframes glow {
            0%, 100% { opacity: 0.6; }
            50% { opacity: 1; }
        }

        /* Nút Next/Previous */
        .wp-pagenavi a.nextpostslink,
        .wp-pagenavi a.previouspostslink {
            min-width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-weight: 700;
            font-size: 18px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(88, 28, 135, 0.25));
            color: rgb(124, 58, 237);
            border: 2px solid rgba(124, 58, 237, 0.4);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            z-index: 1;
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
        }

        .wp-pagenavi a.nextpostslink::before,
        .wp-pagenavi a.previouspostslink::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .wp-pagenavi a.nextpostslink:hover,
        .wp-pagenavi a.previouspostslink:hover {
            background: linear-gradient(135deg, rgb(124, 58, 237), rgb(88, 28, 135));
            color: white;
            border-color: rgb(147, 51, 234);
            transform: translateY(-3px) scale(1.08);
            box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45),
                        0 0 24px rgba(124, 58, 237, 0.35);
        }

        .wp-pagenavi a.nextpostslink:hover::before,
        .wp-pagenavi a.previouspostslink:hover::before {
            width: 100px;
            height: 100px;
        }

        /* Hiệu ứng click */
        .wp-pagenavi a:active {
            transform: translateY(-1px) scale(0.98);
        }
.aligncenter {text-align:center; margin: auto;width: auto !important;}
/* ============================================
   HEADER & NAVIGATION - DESKTOP
============================================ */
#atm99{scroll-margin-top: 30vh;}
#8xbet{scroll-margin-top: 30vh;}
#bk8{scroll-margin-top: 30vh;}
#s666{scroll-margin-top: 30vh;}
#sodo66{scroll-margin-top: 30vh;}
#loto188{scroll-margin-top: 30vh;}
#lixi88{scroll-margin-top: 30vh;}
#vn88{scroll-margin-top: 30vh;}
#gi8{scroll-margin-top: 30vh;}
#lode88{scroll-margin-top: 30vh;}



/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 16, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.nav-btn {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-btn a span {
  color: white !important;
}

/* Brand/Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 25px;
  text-decoration: none;
  color: var(--text);
}

.brand:hover,
.brand:focus {
  text-decoration: none;
}

.brand span {
  font-size: 33px;
  text-decoration: none;
}

.logo {
  width: 150px;
}

.logo img {
  width: 100%;
}

.logo span {
  font-size: 18px;
}

/* Menu */
.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
}

.menu-item {
  color: white;
}

/* Burger Menu (Hidden on Desktop) */
.burger {
  display: none;
  margin-left: 8px;
}

.burger button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.nav-btn_mobile {
  display: none;
  position: absolute;
  background-color: #222235;
  z-index: 9999;
  top: 0px;
  left: -100%;
  width: 70%;
  height: 100vh;
  flex-direction: column;
  transition: all 0.2s ease-in-out;
  align-items: center;
}

/* ============================================
   BUTTONS & INTERACTIVE ELEMENTS - DESKTOP
============================================ */

/* Registration Button */
.registration-button_nav {
  background: #6c5ce7;
  color: #ffffff;
  border: none;
  padding: 12px 1rem;
  font-size: 1rem;
  font-weight: lighter;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  gap: 10px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.registration-button_nav:hover {
  background: #5b21b6;
}

.registration-button_nav span {
  background-color: transparent;
}

.registration-button_nav svg {
  background-color: transparent;
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

/* CTA Buttons */
.btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-primary:hover {
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.15);
}

.cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-left: 10px;
  transform: translateX(10px);
}

/* ============================================
   HERO SECTION & BANNERS - DESKTOP
============================================ */

.hero {
  width: 100%;
  border: 1px solid var(--border);
  margin: 0 0px 1.2rem 0;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(to right, #171723 17%, #222235 100%);
  border-radius: 5px;
  background-image: url("lode.jpg");
}

.hero p,
.hero h1 {
  margin: 0;
}

.banner-home {
  background: linear-gradient(270deg, #5e2f70 0%, #1e1722 81.5%);
  position: relative;
  display: flex;
  justify-content: center;
  padding: 25px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.title-home {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
}

.description-home {
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ============================================
   CARDS & CONTENT LAYOUTS - DESKTOP
============================================ */

/* Card Base */
.card {
  border-radius: 5px !important;
  margin-bottom: 30px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    margin-top:15px;
    border-radius:14px !important;
}

.card:hover {
  border-color: rgba(124, 58, 237, 0.35);
}

.card.card-pad.post-2.page.type-page.status-publish.hentry {
  background: linear-gradient(to right, #171723 17%, #222235 100%) !important;
}

/* Review Cards */
.card-pad-review {
  gap: 10px;
  display: flex;
  flex-direction: row; 
  justify-content: space-between;
  padding: 20px 20px;
  border: 1px solid #2a2a63;
  border-radius: 5px;
  cursor: pointer;
  background: #171723;
}

.desc {
  width: 40%;
  margin-right: 100px;
}

.desc p:last-child {
  margin-bottom: 0;
}

.left-card {
  width: 60%;
  align-items: center;
  display: flex;
  justify-content: left;
  margin-left: 10px;
  gap: 30px;
}

.left-card > .image {
  border-radius: 5px;
  object-fit: cover;
  width: fit-content;
  height: 100px;
  overflow: hidden;
}

.card_button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
}

.card_button a {
  text-decoration: none;
  color: white;
  padding: 10px 25px;
  border-radius: 5px;
  transition: 0.25s linear;
}

.card_button .btn_green {
  border: 1px solid #27c769;
}

.card_button .btn_green:hover {
  border: 1px solid #27c769;
  background-color: #035c55 !important;
  box-shadow: 0px 0px 20px -4px #27c769;
}

.card_button .btn_purple {
  border: 1px solid #7c3aed;
}

.card_button .btn_purple:hover {
  border: 1px solid #7c3aed;
  background-color: #4c1d95 !important;
  box-shadow: 0px 0px 20px #7c3aed;
}

/* ============================================
   ARTICLE LISTS & GRIDS - DESKTOP
============================================ */

/* Article Grid */
.list-article {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-info {
  margin-bottom: 1.2rem;
  border-bottom: 3px solid #C4B5FD;
}

.article-news {
  background: #171723;
  border-radius: 10px;
  overflow: hidden;
  
  border: 1px solid #222235;
}

.article-news a {
  text-decoration: none;
  color: inherit !important;
}

.article-news:hover .article-link__box .article-content .arrow-box .more-arrow {
  transform: translateX(3px);
}

.article-news > a .article-content .article-title > h2 {
  display: -webkit-box;      
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis; 
}

.more-arrow {
  transition: all 0.3s ease-in-out;
}

.article-link {
  overflow: hidden;
}

.article-link img {
  transition: all 0.2s ease-in-out;
}

.article-news:hover img {
  transform: scale(1.1);
}

.article-img {
  width: 100%;
  height: 250px;
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================
   TOPLIST & RANKINGS - DESKTOP
============================================ */

.toplist {
  --gap: 14px;
  --cols: 3;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: center;
}

.toplist > * {
  flex: 0 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
}

.toplist .card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.toplist .site-info {
  display: flex;
  flex-direction: column;
}

.toplist .actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ============================================
   TABLES & DATA - DESKTOP
============================================ */

table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 15px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
}

tbody {
  background-color: #171723;
}

tbody tr td span {
  color: white !important;
  transition: 0.2s ease;
}

tbody tr {
  border: 1px solid gray;
}

tbody tr td img {
  width: 100%;
  height: auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

table thead tr,
table tbody tr:first-child {
  background: #6d28d9;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

table th, 
table td {
  padding: 16px;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
}

table td:first-child,
table td:nth-child(2),
table td:nth-child(3),
table td:nth-child(5),
table td:nth-child(6) {
  text-align: center;
}

/* Table Column Specific Styles */
table td:first-child {
  font-weight: bold;
  color: #ff1b1b;
  font-size: 18px;
}

table td:nth-child(2) {
  font-weight: bold;
  color: #ff1b1b;
  font-size: 16px;
  width: 20% !important;
}

table td:nth-child(4) {
  line-height: 1.6;
  color:#ff1b1b;
}

table td:nth-child(5) {
  font-style: italic;
  color: #d63031;
  font-weight: 600;
}

table td:nth-child(6) {
  width: 18% !important;
}

/* ============================================
   MODALS & OVERLAYS - DESKTOP
============================================ */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  width: 100%;
  height: 100%;
}

.modal-content {
  position: absolute;
  width: min(980px, 92vw);
  height: auto;
  background: #0f111a;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px #1b1b28 inset;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease, top 0.35s ease,
    left 0.35s ease;
  max-height: 85vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.modal-content h2 {
  margin: 0;
  padding: 16px 20px;
  font-size: 20px;
  font-weight: 800;
  color: #e5e7eb;
  background: linear-gradient(to right, #171723 0%, #1d1d2b 100%);
  border-bottom: 1px solid #1b1b28;
  position: sticky;
  top: 0;
  z-index: 1;
}

.modal-content .close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 22px;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* ============================================
   ANIMATIONS & EFFECTS - DESKTOP
============================================ */

.animated-icon {
  animation: iconMoveAndGlow 3s ease-in-out infinite;
}

@keyframes iconMoveAndGlow {
  0% {
    transform: rotate(0deg);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  15% {
    transform: rotate(17deg);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  25% {
    transform: rotate(17deg);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8))
      drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
  }
  35% {
    transform: rotate(17deg);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8))
      drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
  }
  45% {
    transform: rotate(0deg);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  55% {
    transform: rotate(0deg);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  65% {
    transform: rotate(-17deg);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  75% {
    transform: rotate(-17deg);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8))
      drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
  }
  85% {
    transform: rotate(-17deg);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8))
      drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
  }
  95% {
    transform: rotate(0deg);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  100% {
    transform: rotate(0deg);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
}

/* ============================================
   FOOTER - DESKTOP
============================================ */

#site-footer {
  background: #12121a;
  color: #d1d1d1;
  font-size: 14px;
  line-height: 1.6;
  padding: 50px 0 20px;
  margin-top: 40px;
}

#site-footer .footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

#site-footer .footer-title span {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  color: #fff;
}

#site-footer .footer-title span::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  margin-top: 6px;
  border-radius: 3px;
}

/* ============================================
   BACK TO TOP BUTTON - ALL SIZES
============================================ */

#back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #36d1dc, #5b86e5);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

#back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(54, 209, 220, 0.4);
  opacity: 1;
}

#back-to-top.hide {
  display: none;
}

#back-to-top.show {
  display: flex;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 0.9; transform: scale(1); }
}

/* ============================================
   LARGE DESKTOP SCREENS (1200px+)
============================================ */

@media (min-width: 1200px) {
  .title-home {
    font-size: 2.2rem;
  }

  .description-home {
    font-size: 1.1rem;
  }
}

/* ============================================
   LAPTOP SCREENS (992px - 1199px)
============================================ */

@media (max-width: 1199px) and (min-width: 992px) {
  .banner-home {
    padding: 15px;
  }

  .title-home {
    font-size: 2rem;
  }

  .description-home {
    font-size: 1rem;
  }
}

/* ============================================
   TABLET SCREENS (768px - 991px)
============================================ */

@media (max-width: 991px) {
  /* Footer - 2 columns on tablet */
  #site-footer .footer-widgets {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Article Grid - 2 columns */
  .list-article {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Toplist - 2 columns */
  .toplist {
    --cols: 2;
  }

  /* Banner adjustments */
  .banner-home {
    height: auto;
    padding: 5px;
  }

  .title-home {
    font-size: 1.8rem;
  }

  .description-home {
    font-size: 1rem;
  }
}

/* ============================================
   TABLET NAVIGATION (900px and below)
============================================ */

@media (max-width: 900px) {
  .nav {
    display: flex;
    justify-content: left;
    gap: 1rem;
  }

  .nav .burger {
    margin-left: auto;
    cursor: pointer !important;
  }

  .nav-btn ul {
    display: none;
  }

  .burger {
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    justify-self: end;
  }

  .burger button {
    background: none;
    outline: none;
    border: none;
  }

  .nav-btn_mobile {
    display: flex;
  }

  .nav-btn_mobile.open {
    left: 0;
  }

  .nav-btn_mobile .logo {
    padding: 10px;
    width: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-btn_mobile .logo img {
    width: 70px;
  }

  .nav-btn_mobile .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-btn_mobile .menu li {
    padding: 10px;
  }

  .overlay {
    background-color: #17172335;
    position: absolute;
    width: 100%;
    top: 0;
    height: 100vh;
    z-index: 100;
    display: none;
  }

  .overlay.open {
    display: block;
  }

  /* Navigation Menu */
  .menu {
    display: none;
  }

  .toplist .card {
    grid-template-columns: 1fr;
  }

  .toplist .actions {
    justify-content: flex-start;
  }
}

/* ============================================
   SMALL TABLET SCREENS (768px and below)
============================================ */

@media (max-width: 768px) {
  /* Sticky header for mobile */
  #masthead {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  /* Related posts */
  .related-posts.post-lq .sidebar.row {
    gap: 1rem;
  }

  /* Modal content adjustments */
  .modal-content p {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .modal-content p strong {
    display: block;
  }
  /* AUTHOR  */
/*    .author-avatar img {
    width:50%;height:auto;border-radius: 10px;margin-top:10px}
    
    .author-bio p:nth-child(1) {
    left:200px !important
 
    }
    .author-bio p:nth-child(1) {
    width: 45%}
    .size-full{
       height:auto;
    
    }
    .author-title {
        top:182px;
        left:235px !important
    }
  */
}

/* ============================================
   MOBILE SCREENS (576px and below)
============================================ */
.wp-pagenavi {
                gap: 8px;
                padding: 16px;
                flex-wrap: wrap;
            }
            
            .wp-pagenavi .pages {
                width: 100%;
                text-align: center;
                margin-bottom: 8px;
            }
            
            .wp-pagenavi a.page,
            .wp-pagenavi span.current,
            .wp-pagenavi a.nextpostslink,
            .wp-pagenavi a.previouspostslink {
                min-width: 40px;
                height: 40px;
                font-size: 14px;
            }

@media (max-width: 576px) {
  /* Article Grid - single column */
  .list-article {
    grid-template-columns: 1fr;
  }

  /* Toplist - single column */
  .toplist {
    --cols: 1;
  }

  /* Footer - single column */
  #site-footer .footer-widgets {
    grid-template-columns: 1fr;
  }

  /* Banner adjustments */
  .title-home {
    font-size: 1.7rem;
  }

  .description-home {
    font-size: 1.1rem;
  }

  .button-banner {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  /* Slider adjustments */
  .slider-item {
    height: 160px;
    padding: 8px;
  }

  .comp-header {
    font-size: 14px;
    padding: 8px 4px;
  }

  .team img {
    height: 28px;
  }

  .team-name {
    font-size: 12px;
  }

  .match-time {
    font-size: 18px;
  }

  .match-date {
    font-size: 11px;
  }

  /* Odds adjustments */
  .odds-text {
    font-size: 11px;
  }

  .box-odds-text span {
    font-size: 11px;
  }

  .box-odds .btn-register {
    font-size: 12px;
    padding: 6px 10px;
  }

  .teams {
    gap: 20px;
    padding: 0 15px;
  }
}

/* ============================================
   EXTRA SMALL MOBILE (480px and below)
============================================ */

@media (max-width: 480px) {
  .custom_lp_item {
    flex-direction: column;
  }

  .custom_lp_thumbnail {
    margin-right: 0;
    margin-bottom: 15px;
    flex: 0 0 auto;
  }
}

/* ============================================
   ULTRA SMALL MOBILE (650px and below)
============================================ */

@media (max-width: 650px) {
  /* Table responsive wrapper */
  .guide {
    width: 100%;
    overflow-x: auto;
  }

  .guide .summary table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
  }

  /* Hide some table columns on mobile */
  table td:nth-child(1),
  table td:nth-child(3),
  table td:nth-child(6) {
    display: none;
  }

  /* Card adjustments for mobile */
  .desc {
    display: none;
  }

  .left-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: 0;
    gap: 10px;
  }

  .brand {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .card_button {
    display: flex;
    flex-direction: row;
    position: relative;
    top: 0;
    right: 0;
    margin-top: 0;
    transform: translateY(0);
  }

  .card-pad-review {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
  }

  .accordion-body ul {
    margin-left: 0;
  }
    .accordion-body ul li span {
    	color: gray
    }

  .infor {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .tag {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Content layout adjustments */
  .box-entry .row {
    flex-direction: column;
    position: relative;
    z-index: 1;
  }

  .box-entry .row .col-md-4 {
    width: 100%;
  }

  .box-entry .row .col-md-8 {
    width: 100%;
  }

  #toc {
    padding: 0;
    margin-bottom: 1rem;
  }
}

/* ============================================
   REMAINING COMPONENTS & UTILITIES
============================================ */

/* Links & Typography */
a {
  text-decoration: none;
  color: #ff88d7;
}

li::marker {
  color: #C4B5FD !important;
}

/* WordPress Emojis */
img.wp-smiley,
img.emoji {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 1em !important;
  width: 1em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
}

/* Custom List Posts */
.custom_lp_container {
  margin: 20px 0;
}

.custom_lp_item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.custom_lp_item:last-child {
  border-bottom: none;
}

.custom_lp_thumbnail {
  flex: 0 0 120px;
  margin-right: 15px;
}

.custom_lp_thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.custom_lp_content {
  flex: 1;
}

.custom_lp_title {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
}

.custom_lp_title a {
  color: #333;
  text-decoration: none;
}

.custom_lp_title a:hover {
  color: #0073aa;
}

.custom_lp_meta {
  font-size: 12px;
  color: #777;
  margin-bottom: 10px;
}

.custom_lp_excerpt {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.custom_lp_readmore {
  display: inline-block;
  font-size: 14px;
  color: #0073aa;
  text-decoration: none;
}

.custom_lp_readmore:hover {
  text-decoration: underline;
}

/* Feature Boxes */
.tinhnang {
  background: #fcfcca;
  padding: 8px 10px 10px 25px;
  border: 1px dashed #8d8d8d;
  border-radius: 5px;
}

/* Gift Animation */
.img-gift {
  animation: logoAnimation 4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes logoAnimation {
  0% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
  }
  25% {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 1)) brightness(1.2);
  }
  50% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 30px rgba(255, 140, 0, 0.9)) hue-rotate(10deg);
  }
  75% {
    transform: scale(1.05) rotate(-5deg);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 1)) brightness(1.2);
  }
  100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
  }
}

/* Button Hover Effects */
.btn-register:hover {
  background: linear-gradient(0deg, #5b2466, #c767d8);
}

.btn-gift:hover {
  background: linear-gradient(0deg, #594c76, #7d7591);
}

/* Special Button Effects */
.item-adz-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(197, 36, 58, 0.3);
}

.item-adz-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 25%,
    transparent 25.5%,
    transparent 30%,
    rgba(255, 200, 200, 0.2) 33%,
    transparent 33.5%,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 42%,
    transparent 42.5%,
    transparent 47%,
    rgba(255, 150, 150, 0.2) 50%,
    transparent 50.5%,
    transparent 100%
  );
  animation: holographicShine 3s linear infinite;
}

@keyframes holographicShine {
  0% {
    transform: translateX(-100%) translateY(-100%);
  }
  100% {
    transform: translateX(100%) translateY(100%);
  }
}

.item-adz-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 25px rgba(197, 36, 58, 0.4);
}

/* Last Update Section */
.last-update {
  font-size: 14px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}

.last-update span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ececec;
  font-size: 15px;
  white-space: nowrap;
}

.last-update img {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.last-update a {
  text-decoration: underline;
  color: #d674ff;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
  font-size: 15px;
  width: max-content;
}

.last-update a:hover {
  color: #fff;
}

/* FAQ Sections */
.question {
  cursor: pointer;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  transition: 0.4s;
  font-size: var(--h3-font-size);
  font-weight: 600;
}

.question p {
  font-size: var(--h4-font-size);
  font-weight: 600;
  color: var(--primary-color);
}

.answer {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
}

.question p::after {
  content: "▼";
  margin-left: 5px;
}

.question.active p::after {
  content: "▲";
}
.accordion-body ul li span {color: #9ca3af !important;}

/* Modern FAQ Styles */
.faq-container {
  margin: 40px auto;
  padding: 20px;
  width: 100%;
}

.faq-container h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.faq-title {
  text-align: left;
  font-size: 28px;
  color: #c4b5fd;
}

.faq-item {
  margin-bottom: 15px;
  width: 100%;
  border: 2px solid #222235;
  border-radius: 12px;
  background: #171723;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.faq-item:hover {
  border-color: #4c1d95;
}

.faq-item.active {
  border-color: #4c1d95;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #171723 0%, #1e1e3a 100%);
  transition: all 0.3s ease;
  position: relative;
  color: white !important;
}

.faq-question:hover {
  background: linear-gradient(135deg, #1e1e3a 0%, #222235 100%);
}

.faq-question.active {
  background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
}

.question-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.question-number {
  background: #171723;
  color: #c4b5fd;
  width: 35px;
  height: 35px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #222235;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
}

.faq-item.active .question-number {
  border: 1px solid #4c1d95;
  transform: scale(1.1);
}

.question-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
}

svg.arrow-down {
  color: #c4b5fd;
  font-size: 1rem !important;
  transition: all 0.3s ease;
  transform: rotate(0deg);
}

.faq-item.active svg {
  transform: rotate(180deg);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #171723;
}

.faq-answer.active {
  max-height: 200px;
}

.answer-content {
  padding: 20px;
  padding-top: 0;
  color: #e5e7eb;
  line-height: 1.6;
  font-size: 1.2rem;
}

.answer-content p {
  margin-bottom: 10px;
}

.answer-content p:last-child {
  margin-bottom: 0;
}

.faq-title_box {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.faq-container h3 {
  margin-top: 0;
  padding: 0;
}

/* Accordion Body Styles */
.accordion-body ul {
  margin-left: 30px;
}

.accordion-body ol li span {
  color: #9ca3af;
}

.accordion-body ol li b {
  color: #00d0ff !important;
}

.accordion-body ul li b {
  color: #00d0ff !important;
}

.accordion-body p {
  color: #9ca3af !important;
}

/* Tags & Badges */
.tag {
  display: flex;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}

.tag-item {
  border: 1px solid #222235;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: lighter;
  background: #146915;
}

.tag-item:hover {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.15),
    rgba(76, 29, 149, 0.15)
  );
  border-color: rgba(124, 58, 237, 0.35);
}

.rank-badge {
  border: 1px solid #222235;
  border-radius: 9px;
  padding: 5px 15px;
  color: #debd03;
  box-shadow: 0px 0px 14px 5px #663266;
  background: #210a39;
  font-size: 20px;
  font-weight: bold;
}

/* Star Rating */
.star-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
}

.star-rating ul {
  display: flex;
  padding: 0;
  margin: 0;
}

.star-rating ul li {
  list-style: none;
  width: 12px;
  height: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.star-rating ul li img {
  width: 12px !important;
  height: 12px !important;
}

.star-rating_text {
  font-size: 12px;
}

/* Review Components */
.review_basic-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.review_basic-item span {
  font-size: 12px;
  color: #a3a3a3;
}

.infor {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Section Titles */
.section-title {
  border-left: 3px solid #1b1b28;
  border-bottom: 1px solid #1b1b28;
  border-right: 1px solid #1b1b28;
  border-top: 1px solid #1b1b28;
  padding-left: 10px;
  position: relative;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
  z-index: 99;
}

.section-title::before {
  content: "";
  background-color: #7c3aed;
  width: 0%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.8s ease-in-out;
  z-index: -1;
}

.section-title:hover::before {
  width: 100%;
}

/* Summary Styles */
.summary > h3 {
  padding: 0 10px;
}

.summary ul li::marker {
  color: rgb(109, 40, 217);
}

.summary ul {
  margin-left: 45px;
}

.summary h3 {
  background: linear-gradient(to right, #0B0B10, #171723);
  border-left: 5px solid #7C3AED;
  border-bottom-left-radius: 3px;
  color: white;
  border-top-left-radius: 3px;
  padding: 7px 0;
  padding-left: 10px;
  line-height: 40px;
}


/* Breadcrumbs */
.breadcrumbs {
  background-color: #171723;
  padding: 12px 10px;
  border-radius: 0px;
  border: 1px solid #222235;
  margin-bottom: 16px;
}

.breadcrumbs .container nav p {
  background-color: #171723;
}

.breadcrumbs .container nav p a {
  background-color: #171723;
}

.breadcrumbs .container nav p span {
  background-color: #171723;
}

.rank-math-breadcrumb p a {
  color: #c3b5fd82 !important;
  text-decoration: none !important;
  border-bottom: 1px solid;
  font-weight: 500;
}

.rank-math-breadcrumb p {
  margin: 0;
}

.separator {
  color: #C4B5FD;
}

.last {
  position: relative;
  color: #C4B5FD;
  font-weight: bold;
}

.last::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  transition: all 0.2s ease-in-out;
  height: 10%;
  background-color: #C4B5FD;
}

.last:hover::before {
  width: 100%;
}

.last:hover {
  cursor: pointer;
}

/* Post Details */
.title_pages {
  margin-top: 16px;
}

.post-meta {
  padding: 10px 5px;
  padding-bottom: 1.2rem;
  border-bottom: 3px solid #C4B5FD;
}

.post-meta > p {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.box-entry {
  margin-top: 16px;
}

/* Table of Contents */
#toc::-webkit-scrollbar {
  width: 6px;
}

#toc::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

#toc {
  border-radius: 8px;
  padding: 0 16px;
  width: 100%;
  position: sticky;
  top: 100px;
  left: 104px;
  z-index: 2;
  max-height: 600px;
  overflow-y: auto;
}

#toc > p {
  padding: 10px 0;
  border-bottom: 1px solid #C4B5FD;
}

#toc ol li a:hover {
  position: relative;
  color: #C4B5FD;
}

/* Related Posts */
.related-posts.post-lq {
  border-top: 3px solid #C4B5FD;
  margin: 1rem 0;
}

.related-posts.post-lq .sidebar.row .article-news a .article-content {
  padding-bottom: 1rem;
}

.related-posts.post-lq .title {
  padding: 10px 0;
  font-size: 24px;
  margin-bottom: 10px;
}

/* Article Content */
.article-content {
  position: relative;
  padding: 16px;
}

.article-title h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #C4B5FD;
}

.article-excerpt {
  color: white;
  margin-bottom: 10px;
}

.article-content .view-more {
  font-size: 15px;
  display: block;
  font-weight: bold;
  color: #C4B5FD;
  width: 100%;
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  border: 1px solid #C4B5FD;
  background-color: #c3b5fd16;
  z-index: 1;
}

.article-content .view-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #C4B5FD;
  width: 0%;
  height: 100%;
  transition: all 0.4s ease-in-out;
  z-index: -1;
}

.article-content .view-more:hover::before {
  width: 100%;
  transform-origin: left;
}

.article-content .view-more:hover {
  color: #7C3AED !important;
}

.article-line {
  width: 100%;
  height: 3px;
  margin: 10px 0;
  background-color: #C4B5FD;
  border-radius: 10px;
}

.arrow-box {
  display: block;
  padding: 5px;
  background-color: #C4B5FD;
  color: white;
  border-top-left-radius: 5px;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: absolute;
  bottom: 0;
  right: 0;
}

.more-arrow {
  display: block;
}

/* Footer Utilities */
.foot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 18px 0;
  font-size: 14px;
}

.copyright {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: #666;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
}

/* Anchor Offsets */
#guide,
#contact,
#toplist {
  scroll-margin-top: 80px;
}

#guide {
  padding: 5px 15px;
}

.another {
  padding: 5px 30px;
  margin-top: 50px;
}

#reviews {
  margin-top: 100px;
}

/* Guide Content Height Lock */
#guide .card {
  max-height: 500px;
  overflow: auto;
  overscroll-behavior: contain;
}

#guide .card::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

#guide .card::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.35);
  border-radius: 8px;
}

/* Modal Body Lock */
body.modal-open {
  overflow: hidden;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .menu {
    transition: none;
  }
}

/*
==========================
        AUTHOR CSS
*/
/*author title css
------------------*/
.author-page {

}
.author-title {
    width: fit-content;
    padding: 10px 0;
}

.author-bio h2:nth-child(2) {
    margin-top: 35px
}

.size-full {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}
/* avatar author*/
:root {
  --avatar-width: 343px;
}
.author-avatar {
    background-color: #171723;
    border: 1px solid #222235;
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 10px 10px ;
    height: fit-content;
    margin: 10px 0;
    }
    .author-avatar > img{ width:30%;border-radius: 5px;height: auto;}




.author-bio p:nth-child(4) {
    color: gray;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: fit-content;
    /* border-radius: 10px; */
    gap: 5px;
}


.author-bio p:nth-child(6),.author-bio p:nth-child(8) ,.author-bio p:nth-child(10),.author-bio p:nth-child(12),.author-bio p:nth-child(14),.author-bio p:nth-child(17) ,.author-bio p:nth-child(19),.author-bio p:nth-child(21) ,.author-bio p:nth-child(22) ,.author-bio p:nth-child(24) ,.author-bio p:nth-child(26) ,.author-bio p:nth-child(28) ,.author-bio p:nth-child(30) ,.author-bio p:nth-child(32),.author-bio p:nth-child(33),.author-bio p:nth-child(31) {
    margin-left: 10px;
}
.author-title {    
    width: fit-content;
    padding: 10px 0;
    position: absolute;
    left: 535px;
}
.author-bio p:nth-child(1) {
    position: absolute;
    top: 24%;
    width: clamp(200px, 50vw, 800px);
    right: 210px;
    margin-top: 0;
    padding-bottom: 1rem;
    margin: 0 !important;
}

h2,h3,.author-bio h2:nth-child(2) {
    margin-top: 1rem; 
    padding: 2px 5px;
    border-left: 4px solid #7C3AED; 
}
.card-pad h2 {margin-top: 0; padding: 0; border: none;text-align: center;}

.author-latest-posts {
    border-top: 1px solid #C4B5FD;
}
@media screen and (max-width: 1300px) {
.author-title {    
    width: fit-content;
    padding: 10px 0;
    position: absolute;
    left:  33%;
}
.author-bio p:nth-child(1) {
    position: absolute;
    top: 23.1%;
    width: 62%;
    right: 3%;
    margin-top: 0;
    padding-bottom: 1rem;
    margin: 0 !important;
}
}
@media screen and (max-width: 1278px) {
    .author-bio p:nth-child(1) {
     right: 5%;
    }
}
/*
@media screen and (max-width: 1100px) {
    .author-bio p:nth-child(1) {
    width: 56%;
    }
}
@media screen and (max-width: 900px) {
    .author-bio p:nth-child(1) {
    width: 49%;
    top: 198px;
    }
}
@media screen and (max-width: 800px) {
    .author-bio p:nth-child(1) {
        
    }
}*/
/* Author css Moblie*/
@media screen and (max-width: 768px) {
    .author-title{
    position: unset;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 10px 0;
    border-bottom: 1px solid #C4B5FD; 
    }
    .author-avatar {
    background-color: #171723;
    border: 1px solid #222235;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 ;
    height: fit-content;
    margin: 10px 0;
    }
    .author-avatar > img{ width: 40%;border-radius: 5px;height: auto;}
    .author-bio p:nth-child(1) {
    position:unset;
    margin-top: 0;
    width: 100%;
    padding-bottom: 1rem;
    margin: 0 !important;
    border-bottom: 1px solid #C4B5FD;
    }
    h2,h3,
    .author-bio h2:nth-child(2) {
    margin-top: 1rem; 
    padding: 2px 5px;
    border-left: 4px solid #7C3AED; 
    }
    .author-bio p:nth-child(4) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    
    }
    .author-bio p:nth-child(4) .size-full{
    width: 100%; 
    height: auto;
    border-radius: 5px;
    }
    .author-latest-posts {
    border-top: 1px solid #C4B5FD;
    }
}

@media screen and (max-width: 480px) {
    .author-bio p:nth-child(4) {font-size: 14px;}
}