/*
Theme Name: AM Tube Trade
Theme URI: https://example.com
Author: AdverMedia
Description: Custom trade theme for partners listing with status checker and modern UI.
Version: 1.0
Text Domain: am-tube-trade
*/

/* ========== CSS DARI HTML ASLI ========== */

:root{
  --bg:#050712;
  --card:#101322;
  --card-soft:#14182a;
  --accent:#3f82ff;
  --accent-soft:rgba(63,130,255,0.16);
  --text:#f4f5ff;
  --text-soft:#979cbc;
  --border:#262a40;
  --radius:12px;
}
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
body{
  background:radial-gradient(circle at top,#191f3c 0,var(--bg) 40%,#02030a 100%);
  color:var(--text);
  min-height:100vh;
}
a{text-decoration:none;color:inherit;}
.wrap{
  max-width:900px;
  margin:0 auto;
  padding:24px 16px 40px;
}

/* =============== TOP HEADER (LIKE TOPPORNSITES) =============== */
.am-main-header{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(5,7,18,0.97);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.am-header-inner{
  max-width:900px;
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  gap:16px;
}

/* brand kiri */
.am-brand-left{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
  flex-shrink:0;
}
.am-brand-icon{
  width:32px;
  height:32px;
  border-radius:10px;
  overflow:hidden;
  background:rgba(255,255,255,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
}
.am-brand-icon img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}
.am-brand-title{
  font-size:15px;
  font-weight:700;
}
.am-brand-sub{
  font-size:11px;
  color:var(--text-soft);
}

/* search tengah */
.am-header-search{
  flex:1;
  max-width:430px;
  position:relative;
}
.am-header-search input{
  width:100%;
  background:#050712;
  border-radius:999px;
  border:1px solid var(--border);
  padding:9px 14px 9px 32px;
  font-size:13px;
  color:var(--text);
  outline:none;
}
.am-header-search input::placeholder{
  color:#6b708f;
}
.am-search-icon{
  position:absolute;
  left:10px;
  top:50%;
  transform:translateY(-50%);
  font-size:13px;
  opacity:.7;
}

/* menu kanan */
.am-header-menu ul{
  list-style:none;
  display:flex;
  gap:18px;
  margin:0;
  padding:0;
}
.am-header-menu a{
  color:var(--text-soft);
  font-size:14px;
  font-weight:500;
  padding:6px 0;
  position:relative;
  text-decoration:none;
  transition:color .2s;
}
.am-header-menu a::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-4px;
  height:2px;
  border-radius:999px;
  background:#1ddf78;
  opacity:0;
  transform:scaleX(0.3);
  transition:opacity .2s, transform .2s;
}
.am-header-menu a:hover,
.am-header-menu a.active{
  color:#ffffff;
}
.am-header-menu a:hover::after,
.am-header-menu a.active::after{
  opacity:1;
  transform:scaleX(1);
}

/* icon user */
.am-user-btn{
  width:30px;
  height:30px;
  border-radius:999px;
  border:none;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
  margin-left:6px;
}
.am-user-circle{
  width:26px;
  height:26px;
  border-radius:999px;
  background:linear-gradient(135deg,#3f82ff,#1d4ed8);
  position:relative;
}
.am-user-circle::before,
.am-user-circle::after{
  content:'';
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  background:#f9fafb;
}
.am-user-circle::before{
  top:5px;
  width:11px;
  height:11px;
  border-radius:999px;
}
.am-user-circle::after{
  bottom:4px;
  width:14px;
  height:7px;
  border-radius:999px 999px 4px 4px;
}

/* burger mobile */
.am-header-toggle{
  display:none;
  font-size:22px;
  background:none;
  border:none;
  color:#fff;
  cursor:pointer;
  margin-left:8px;
}

/* ========== RESPONSIVE ========== */
@media (max-width:900px){
  .am-header-inner{
    gap:10px;
  }
  .am-header-search{
    max-width:none;
  }
}
@media (max-width:720px){
  .am-header-search{
    display:none; /* sembunyikan search di layar kecil */
  }
  .am-header-menu{
    display:none;
  }
  .am-header-toggle{
    display:block;
  }

  /* menu dropdown saat burger diklik */
  .am-main-header.open .am-header-menu{
    display:block;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:rgba(5,7,18,0.98);
    border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .am-main-header.open .am-header-menu ul{
    max-width:900px;
    margin:0 auto;
    padding:10px 16px 12px;
    flex-direction:column;
    gap:10px;
  }
}

/* LIST CARD */
.list-card{
  background:var(--card-soft);
  border-radius:var(--radius);
  border:1px solid var(--border);
  overflow:hidden;
}
.list-head{
  padding:10px 14px;
  border-bottom:1px solid var(--border);
  font-size:12px;
  color:var(--text-soft);
}
table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
tbody tr{
  border-top:1px solid rgba(255,255,255,0.04);
  background:rgba(9,12,26,0.96);
  transition:.12s;
}
tbody tr:nth-child(even){
  background:rgba(11,15,30,0.96);
}
tbody tr:hover{
  background:rgba(31,41,79,0.96);
}
td{
  padding:10px 14px;
  vertical-align:middle;
}

.site-row{
  display:flex;
  align-items:center;
  gap:10px;
}
.favicon-box{
  width:22px;
  height:22px;
  flex-shrink:0;
  border-radius:6px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.favicon-box img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}

.domain{
  font-weight:500;
  font-size:15px;
}
.meta-line{
  font-size:11px;
  color:var(--text-soft);
  margin-top:2px;
}

.status-pill{
  display:inline-flex;
  align-items:center;
  padding:2px 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:500;
  margin-right:6px;
  text-transform:uppercase;
}
.status-online{
  background:rgba(34,197,94,0.18);
  color:#4ade80;
}
.status-offline{
  background:rgba(239,68,68,0.18);
  color:#fca5a5;
}
.status-checking{
  background:rgba(148,163,184,0.18);
  color:#e5e7eb;
}

.trade-cell{
  text-align:right;
  white-space:nowrap;
}
.btn{
  padding:6px 12px;
  border-radius:999px;
  border:none;
  font-size:11px;
  font-weight:600;
  cursor:pointer;
  margin-left:4px;
}
.btn-trade{
  background:var(--accent-soft);
  color:var(--accent);
}
.btn-contact{
  background:rgba(0,255,200,0.18);
  color:#2dd4bf;
}
.btn:hover{
  filter:brightness(1.12);
}

/* SERVICE BOX */
.service-box{
  max-width:900px;
  margin:20px auto 60px;
  padding:22px 20px;
  background:linear-gradient(135deg, rgba(63,130,255,0.16), rgba(15,23,42,0.9));
  border:1px solid rgba(63,130,255,0.4);
  border-radius:12px;
  text-align:left;
}
.service-box h3{
  font-size:16px;
  font-weight:600;
  margin-bottom:8px;
  color:#fff;
}
.service-box p{
  font-size:13px;
  color:var(--text-soft);
  margin-bottom:6px;
}
.service-box .service-note{
  font-size:12px;
  opacity:0.8;
}
.service-cta{
  display:inline-block;
  margin-top:10px;
  padding:8px 16px;
  border-radius:999px;
  background:var(--accent);
  color:#020617;
  font-size:13px;
  font-weight:600;
}
.service-cta:hover{
  filter:brightness(1.08);
}

/* RULES */
.rules{
  max-width:900px;
  margin:30px auto 60px;
  padding:22px 20px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:12px;
}
.rules h3{
  font-size:16px;
  font-weight:600;
  margin-bottom:10px;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:.5px;
  text-align:center;
}
.rules ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
  color:var(--text-soft);
  padding-left:0;
}
.rules ul li{
  padding:6px 10px;
  background:rgba(0,0,0,0.20);
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.05);
}

/* NEW badge */
.new-badge{
  display:inline-block;
  margin-left:6px;
  padding:2px 6px;
  font-size:10px;
  font-weight:700;
  color:#fff;
  background:linear-gradient(135deg,#3f82ff,#1d4ed8);
  border-radius:6px;
  text-transform:uppercase;
  letter-spacing:0.5px;
  animation:pulse 1.4s infinite ease-in-out;
}
@keyframes pulse {
  0%{opacity:.65}
  50%{opacity:1}
  100%{opacity:.65}
}

/* FOOTER */
.footer{
  margin-top:30px;
  padding:24px 10px 40px;
  text-align:center;
  background:rgba(255,255,255,0.03);
  border-top:1px solid rgba(255,255,255,0.06);
  border-radius:12px 12px 0 0;
}
.footer-inner{
  max-width:900px;
  margin:0 auto;
  font-size:13px;
  color:var(--text-soft);
}
.footer-links a{
  color:var(--accent);
  font-size:13px;
  font-weight:500;
}
.footer-links a:hover{
  text-decoration:underline;
}
.am-main-header{
  position:sticky;
  top:0;
  z-index:50;
  background:#050712;
  border-bottom:1px solid rgba(255,255,255,0.04);
  padding:10px 0;
}

.am-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  align-items:center;
  gap:18px;
}

/* LOGO */
.am-brand{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:19px;
  color:#3ee98a;
}
.am-logo-icon{
  font-size:22px;
}
.am-logo-text{
  color:#3ee98a;
}

/* SEARCH */
.am-search{
  flex:1;
  max-width:550px;
  position:relative;
}
.am-search input{
  width:100%;
  padding:12px 13px 12px 36px;
  background:#0b0f1b;
  border-radius:10px;
  border:1px solid #131827;
  font-size:13px;
  color:#fff;
  outline:none;
}
.am-search-icon{
  position:absolute;
  top:50%;
  left:12px;
  transform:translateY(-50%);
  opacity:.65;
}

/* MENU */
.am-nav ul{
  list-style:none;
  display:flex;
  gap:22px;
}
.am-nav a{
  font-size:14px;
  color:#b5bdd7;
  font-weight:500;
  padding:6px 0;
  position:relative;
}
.am-nav a.active,
.am-nav a:hover{
  color:#fff;
}
.am-nav a.active::after,
.am-nav a:hover::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:-4px;
  height:2px;
  background:#3ee98a;
  border-radius:3px;
}

/* USER ICON */
.am-user{
  width:34px;
  height:34px;
  border-radius:50%;
  background:#0f1527;
  border:1px solid #1d2337;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.am-user-avatar{
  width:18px;
  height:18px;
  border-radius:50%;
  background:#8ab1ff;
}
/* ===== HEADER FIX ==== */
.am-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:34px;
}
.am-brand-left{
  transform:translateY(1px);
}
.am-user-btn{
  display:none !important;
}
/* ===== Footer Clean Fix ===== */
.am-footer{
  margin-top:60px;
  padding:22px 0 28px;
  border-top:1px solid rgba(255,255,255,0.06);
  background:transparent;
  width:100%;
}

.footer-container{
  max-width:900px;
  margin:0 auto;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
  color:var(--text-soft);
}

.footer-left{
  opacity:0.9;
  white-space:nowrap;
}

.footer-right{
  display:flex;
  gap:22px;
  flex-wrap:nowrap;
}

.footer-right a{
  font-size:13px;
  color:#b5bdd7;
  text-decoration:none;
}
.footer-right a:hover{
  color:#fff;
}

@media (max-width:768px){
  .footer-container{
    flex-direction:column;
    gap:10px;
    text-align:center;
  }
  .footer-right{
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
  }
}

.back-to-top{
  position:fixed;
  right:18px;
  bottom:22px;
  width:42px;
  height:42px;
  border-radius:999px;
  background:#10b981;
  border:none;
  color:#020617;
  font-size:20px;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s;
  z-index:99;
}
.back-to-top:hover{
  filter:brightness(1.15);
  transform:translateY(-2px);
}
/* ==== SINGLE POST STYLE ==== */

.single-card{
  background:var(--card-soft);
  border-radius:var(--radius);
  border:1px solid var(--border);
  padding:20px 18px 22px;
  margin:24px 0 40px;
}

.single-header{
  margin-bottom:10px;
}

.single-title{
  font-size:20px;
  font-weight:700;
  margin-bottom:6px;
}

.single-meta{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  font-size:12px;
  color:var(--text-soft);
}
.single-meta-item{
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.single-meta-sep{
  opacity:0.7;
}

/* Thumbnail */
.single-thumb{
  margin:10px 0 14px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.06);
}
.single-thumb img{
  width:100%;
  height:auto;
  display:block;
}

/* Content */
.single-content{
  font-size:14px;
  color:var(--text-soft);
}
.single-content p{
  margin-bottom:10px;
}
.single-content h2,
.single-content h3{
  margin:16px 0 8px;
  color:var(--text);
}
.single-content a{
  color:var(--accent);
}
.single-content a:hover{
  text-decoration:underline;
}

/* Tags */
.single-tags{
  margin-top:14px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,0.06);
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:12px;
}
.single-tags-label{
  color:var(--text-soft);
  font-weight:500;
}
.single-tags-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.single-tags-list a{
  padding:3px 8px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.5);
  color:var(--text-soft);
  text-decoration:none;
}
.single-tags-list a:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:#020617;
}

/* Prev / Next nav */
.single-nav{
  margin-top:18px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,0.06);
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
}
.single-nav a{
  color:var(--accent);
  text-decoration:none;
}
.single-nav a:hover{
  text-decoration:underline;
}

/* Comments wrapper basic */
.single-comments{
  background:rgba(9,12,26,0.96);
  border-radius:var(--radius);
  border:1px solid var(--border);
  padding:16px 18px 20px;
  margin:-10px 0 40px;
  font-size:14px;
}

/* Responsive */
@media (max-width:600px){
  .single-card{
    padding:16px 12px 18px;
  }
  .single-title{
    font-size:18px;
  }
  .single-nav{
    flex-direction:column;
    text-align:left;
  }
}
.am-header-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.am-menu-items,
.am-footer-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

.am-menu-items li a,
.am-footer-items li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: 0.2s;
}

.am-menu-items li a:hover,
.am-footer-items li a:hover {
  opacity: 0.7;
}
/* Wrapper blog biar gak full lebar banget */
.am-blog-wrap {
  max-width: 980px;
  margin: 30px auto 50px;
}

/* List */
.am-blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card */
.am-blog-item {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 18px;
  background: #0c1018;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.04);
}

/* Thumbnail */
.am-blog-thumb img {
  width: 100%;
  height: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.am-blog-thumb-placeholder {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  background: radial-gradient(circle at top left, #1f2937, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 26px;
  color: #9ca3af;
}

/* Body */
.am-blog-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.am-blog-title a {
  color: #fff;
  text-decoration: none;
}

.am-blog-title a:hover {
  text-decoration: underline;
}

.am-blog-meta {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 10px;
}

.am-blog-excerpt {
  font-size: 14px;
  color: #d1d5db;
  margin-bottom: 12px;
}

/* Tombol read more */
.am-blog-readmore {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid rgba(96,165,250,0.6);
  text-decoration: none;
  margin-top: 4px;
}

.am-blog-readmore:hover {
  background: rgba(96,165,250,0.12);
}

/* Pagination */
.am-blog-pagination {
  margin-top: 25px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .am-blog-wrap {
    padding: 0 12px;
    margin-top: 20px;
  }

  .am-blog-item {
    grid-template-columns: 1fr;
  }

  .am-blog-thumb img,
  .am-blog-thumb-placeholder {
    max-height: 190px;
  }
}
.am-blog-wrap {
  max-width: 1050px;
  margin: 30px auto 70px;
  padding: 0 20px;
}

.am-blog-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.am-blog-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 26px;
  background: #0D121C;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 18px;
}

.am-blog-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.am-blog-content {
  display: flex;
  flex-direction: column;
}

.am-blog-meta {
  font-size: 13px;
  color: #92A0B3;
  margin-bottom: 6px;
}

.am-blog-title {
  font-size: 26px;
  margin-bottom: 10px;
  line-height: 1.25;
}

.am-blog-title a {
  color: #fff;
  text-decoration: none;
}

.am-blog-title a:hover {
  color: #4EA8FF;
}

.am-blog-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #d6dae0;
  margin-bottom: 16px;
}

.am-blog-readmore {
  display: inline-flex;
  padding: 12px 18px;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(90deg,#ff3d3d,#e60023);
  border-radius: 6px;
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
}

.am-blog-readmore:hover {
  opacity: .85;
}

@media (max-width: 820px) {
  .am-blog-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .am-blog-thumb img {
    height: 200px;
  }

  .am-blog-title {
    font-size: 22px;
  }
}
/* --- BLOG LAYOUT FINAL FIX --- */
.am-blog-wrap {
  max-width: 1050px;
  margin: 30px auto 70px;
  padding: 0 20px;
}

.am-blog-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.am-blog-card {
  display: grid !important;
  grid-template-columns: 330px 1fr;
  gap: 26px;
  background: #0D121C;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 18px;
}

.am-blog-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 8px;
}

.am-blog-meta {
  font-size: 13px;
  color: #8f9bad;
  margin-bottom: 6px;
}

.am-blog-title {
  font-size: 26px;
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.25;
}

.am-blog-title a {
  color: #fff;
  text-decoration: none;
}

.am-blog-title a:hover {
  color: #4EA8FF;
}

.am-blog-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #d7dde5;
  margin-bottom: 18px;
}

.am-blog-readmore {
  display: inline-block;
  padding: 12px 18px;
  background: linear-gradient(90deg,#ff3d3d,#e60023);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  max-width: fit-content;
}

.am-blog-readmore:hover {
  opacity: .85;
}

/* MOBILE RESPONSIVE FIX */
@media (max-width: 820px) {
  .am-blog-card {
    grid-template-columns: 1fr !important;
    padding: 14px;
  }

  .am-blog-thumb img {
    height: 200px;
  }
/* ========== AM BLOG PRO v2 ========== */

.am-blog-pro-wrap {
  max-width: 1100px;
  margin: 32px auto 80px;
  padding: 0 20px;
}

.am-blog-pro-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 24px;
}

.am-blog-pro-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.am-blog-pro-card {
  display: grid !important;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 24px;
  background: #0D121C;
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

.am-blog-pro-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.am-blog-pro-thumb-placeholder {
  width: 100%;
  height: 230px;
  border-radius: 12px;
  background: radial-gradient(circle at top left,#1f2937,#020617);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 30px;
  color: #9ca3af;
}

.am-blog-pro-content {
  display: flex;
  flex-direction: column;
}

/* badges + meta */
.am-blog-pro-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.am-badge-cat {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: rgba(96,165,250,0.18);
  color: #e5f0ff;
}

.am-badge-new {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: #f97316;
  color: #fff;
}

.am-blog-pro-date {
  margin-left: 4px;
}

.am-blog-pro-views {
  margin-left: auto;
  font-size: 11px;
  opacity: .85;
}

/* title & excerpt */
.am-blog-pro-heading {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.am-blog-pro-heading a {
  color: #fff;
  text-decoration: none;
}

.am-blog-pro-heading a:hover {
  color: #4EA8FF;
}

.am-blog-pro-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: #d6dce6;
  margin-bottom: 18px;
}

/* footer row */
.am-blog-pro-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: auto;
}

.am-blog-pro-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg,#ff3d3d,#e60023);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.am-blog-pro-readmore:hover {
  opacity: .9;
}

.am-blog-pro-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
}

.am-blog-pro-share a {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  text-decoration: none;
}

.am-blog-pro-share a:hover {
  background: rgba(148,163,184,0.18);
}

/* pagination */
.am-blog-pro-pagination {
  margin-top: 28px;
  text-align: center;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 900px) {
  .am-blog-pro-card {
    grid-template-columns: 1fr !important;
    padding: 16px;
  }

  .am-blog-pro-thumb img,
  .am-blog-pro-thumb-placeholder {
    height: 210px;
  }

  .am-blog-pro-heading {
    font-size: 21px;
  }

  .am-blog-pro-views {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .am-blog-pro-wrap {
    padding: 0 12px;
  }

  .am-blog-pro-card {
    padding: 14px;
    gap: 16px;
  }

  .am-blog-pro-thumb img,
  .am-blog-pro-thumb-placeholder {
    height: 190px;
  }

  .am-blog-pro-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* === AM BLOG PRO FINAL === */
.am-blog-pro-wrap {
  max-width: 1100px;
  margin: 32px auto 80px;
  padding: 0 20px;
}

.am-blog-pro-list {
  display:flex;
  flex-direction:column;
  gap:30px;
}

.am-blog-pro-card {
  display:grid !important;
  grid-template-columns:minmax(260px, 340px) 1fr;
  gap:26px;
  background:#0D121C;
  border-radius:16px;
  padding:20px 22px;
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:0 18px 40px rgba(0,0,0,0.55);
}

.am-blog-pro-thumb img {
  width:100%;
  height:230px;
  object-fit:cover;
  border-radius:12px;
}

/* TITLE + EXCERPT */
.am-blog-pro-heading {
  font-size:26px;
  color:#fff;
  margin:10px 0;
}
.am-blog-pro-heading a { color:#fff; text-decoration:none; }
.am-blog-pro-heading a:hover { color:#4EA8FF; }

.am-blog-pro-excerpt {
  font-size:15px;
  line-height:1.6;
  color:#d6dce6;
  margin-bottom:16px;
}

/* BUTTON */
.am-blog-pro-readmore {
  display:inline-block;
  padding:12px 18px;
  background:linear-gradient(90deg,#ff3d3d,#e60023);
  border-radius:8px;
  color:#fff;
  font-weight:600;
  text-decoration:none;
}
.am-blog-pro-readmore:hover{
  opacity:.85;
}

/* BADGE + VIEWS */
.am-blog-pro-meta-top {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:12px;
  color:#9ca3af;
}

.am-badge-cat {
  padding:3px 8px;
  border-radius:999px;
  background:rgba(96,165,250,0.18);
  font-size:11px;
}

.am-badge-new {
  padding:3px 8px;
  border-radius:999px;
  background:#f97316;
  font-size:11px;
  color:#fff;
}

/* RESPONSIVE */
@media(max-width:900px){
  .am-blog-pro-card { grid-template-columns:1fr !important; }
}
/* ========== BLOG LAYOUT FIX UNTUK HALAMAN /blog ========== */

/* Bungkus blog di tengah */
.blog .am-main .am-container {
  max-width: 1100px;
  margin: 30px auto 80px;
  padding: 0 20px;
}

/* Card artikel di listing blog */
.blog .am-main .am-container > article,
.blog .am-main .am-container .post {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 22px;
  background: #0D121C;
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

/* Thumbnail (gambar pertama di blog list) */
.blog .am-main .am-container > article img,
.blog .am-main .am-container .post img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Judul & teks */
.blog .am-main .am-container h2,
.blog .am-main .am-container h2 a {
  font-size: 24px;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
}

.blog .am-main .am-container h2 a:hover {
  color: #4EA8FF;
}

.blog .am-main .am-container p {
  font-size: 15px;
  line-height: 1.7;
  color: #d6dce6;
}

/* Meta (tanggal, kategori, author) */
.blog .am-main .am-container .entry-meta,
.blog .am-main .am-container .post-meta,
.blog .am-main .am-container .post span {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 8px;
}

/* Tombol "Read more" bawaan WP (more-link) jadi tombol merah */
.blog .more-link {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: linear-gradient(90deg,#ff3d3d,#e60023);
  color: #fff !important;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.blog .more-link:hover {
  opacity: .88;
}

/* RESPONSIVE: di HP gambar di atas, teks di bawah */
@media (max-width: 900px) {
  .blog .am-main .am-container > article,
  .blog .am-main .am-container .post {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .blog .am-main .am-container > article img,
  .blog .am-main .am-container .post img {
    height: 200px;
  }

  .blog .am-main .am-container h2,
  .blog .am-main .am-container h2 a {
    font-size: 20px;
  }
}

  .am-blog-title {
    font-size: 22px;
  }
}
/* ===== BLOG CARD LAYOUT GENERIC UNTUK HALAMAN /blog ===== */

/* Bungkus konten blog di tengah */
.blog #primary,
.blog .site-main,
.blog main {
  max-width: 1100px;
  margin: 30px auto 80px;
  padding: 0 20px;
}

/* Card tiap artikel di listing blog */
.blog article.post {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 22px;
  background: #0D121C;
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  margin-bottom: 26px;
}

/* Gambar featured di listing */
.blog article.post img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Judul artikel */
.blog article.post .entry-title,
.blog article.post h2.entry-title,
.blog article.post h2.entry-title a {
  font-size: 24px;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
}

.blog article.post h2.entry-title a:hover {
  color: #4EA8FF;
}

/* Meta (tanggal, kategori, author) */
.blog article.post .entry-meta,
.blog article.post .post-meta {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 6px;
}

/* Excerpt / konten pendek */
.blog article.post .entry-summary,
.blog article.post .entry-content {
  font-size: 15px;
  line-height: 1.7;
  color: #d6dce6;
}

/* Tombol "read more" kalau ada link more-link */
.blog article.post .more-link {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: linear-gradient(90deg,#ff3d3d,#e60023);
  color: #fff !important;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.blog article.post .more-link:hover {
  opacity: .88;
}

/* RESPONSIVE: di HP gambar di atas, teks di bawah */
@media (max-width: 900px) {
  .blog article.post {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .blog article.post img {
    height: 200px;
  }

  .blog article.post .entry-title,
  .blog article.post h2.entry-title,
  .blog article.post h2.entry-title a {
    font-size: 20px;
  }
}
/* ===== AM TUBE TRADE - BLOG CARD CLEAN ===== */

.blog-page {
  max-width: 1100px;
  margin: 32px auto 80px;
  padding: 0 20px;
}

.blog-page-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.blog-card-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 24px;
  background: #0D121C;
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

.blog-card-thumb img,
.blog-card-thumb-placeholder {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.blog-card-thumb-placeholder {
  background: radial-gradient(circle at top left,#1f2937,#020617);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 28px;
  color: #9ca3af;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
}

/* meta */
.blog-card-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.blog-badge-cat {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(96,165,250,0.18);
  color: #e5f0ff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.blog-badge-new {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.blog-card-date {
  margin-left: 4px;
}

/* title & excerpt */
.blog-card-title {
  font-size: 24px;
  line-height: 1.3;
  margin: 10px 0;
}

.blog-card-title a {
  color: #fff;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #4EA8FF;
}

.blog-card-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: #d6dce6;
  margin-bottom: 18px;
}

/* button */
.blog-card-readmore {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg,#ff3d3d,#e60023);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.blog-card-readmore:hover {
  opacity: .9;
}

/* pagination */
.blog-card-pagination {
  margin-top: 30px;
  text-align: center;
}

/* responsive */
@media (max-width: 900px) {
  .blog-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .blog-card-thumb img,
  .blog-card-thumb-placeholder {
    height: 210px;
  }

  .blog-card-title {
    font-size: 21px;
  }
}

@media (max-width: 600px) {
  .blog-page {
    padding: 0 12px;
  }

  .blog-card {
    padding: 14px;
    gap: 16px;
  }

  .blog-card-thumb img,
  .blog-card-thumb-placeholder {
    height: 190px;
  }
}
/* ==== FOOTER STYLE (TOPPORNSITES STYLE) ==== */
.am-footer {
  padding: 24px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.am-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 12px 40px 0;
}

.am-footer .footer-left {
  font-size: 14px;
  color: var(--text-soft);
  white-space: nowrap;
}

.am-footer .footer-left span {
  color: #ff4d6d; /* icon hati */
}

.am-footer .footer-right {
  display: flex;
  align-items: center;
  gap: 24px;              /* jarak antar menu, bikin mirip contoh */
  font-size: 14px;
}

.am-footer .footer-right a {
  color: var(--text-soft);
  text-decoration: none;
  transition: 0.25s;
}

.am-footer .footer-right a:hover {
  color: var(--accent);
}

/* tombol back to top biarin tetap */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 32px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #06c988;
  color: #02030a;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.55);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .am-footer .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 20px 0;
  }

  .am-footer .footer-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}
/* FOOTER MENU STYLE */
.am-footer-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.am-footer-menu li a {
  color: var(--text-soft);
  font-size: 14px;
  text-decoration: none;
  transition: 0.25s;
}

.am-footer-menu li a:hover {
  color: var(--accent);
  opacity: 0.85;          /* efek sedikit redup */
  transform: translateY(-1px);  /* geser naik 1px kecil banget */
  transition: 0.15s ease;       /* durasi lebih cepat */
}


@media (max-width: 768px) {
  .am-footer-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}
