/* ======================================================
   GLOBAL CUSTOM STYLES — Coetzee.net
   ====================================================== */

/* === [A] Hide header banner and footer on Domains page (Itemid 103) === */
.itemid-103 body > header > div > div > a > img,
.itemid-103 header .navbar-brand img,
.itemid-103 header .branding img,
.itemid-103 header img[alt*="Coetzee"] {
  display: none !important;
}
.itemid-103 footer,
.itemid-103 .container-footer,
.itemid-103 .site-footer,
.itemid-103 #footer,
.itemid-103 .footer,
.itemid-103 body > footer {
  display: none !important;
}

/* === Independent Domains Banner — Black Band Version === */
.domains-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 22px;
  background: #111; /* solid black band */
  color: #fff;
  border-radius: 0; /* flat edge band */
  border-top: 3px solid #222;
  border-bottom: 3px solid #222;
  box-shadow: 0 3px 10px rgba(0,0,0,.3);
}

.domains-promo .dp-badge {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #222;
  color: #ccc;
  padding: 4px 10px;
  border-radius: 3px;
}

.domains-promo .dp-content {
  flex: 1 1 auto;
  min-width: 200px;
}

.domains-promo .dp-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.domains-promo .dp-sub {
  margin: 4px 0 0 0;
  font-size: 0.95rem;
  color: #bbb;
}

.domains-promo .dp-cta {
  flex: 0 0 auto;
}

.domains-promo .dp-button {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #facc15, #eab308); /* bright gold */
  border: none;
  box-shadow: 0 3px 10px rgba(250, 204, 21, 0.4);
  transition: all 0.25s ease;
}

.domains-promo .dp-button:hover {
  background: linear-gradient(90deg, #fde047, #facc15);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(250, 204, 21, 0.6);
}

@media (max-width: 640px) {
  .domains-promo {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .domains-promo .dp-cta {
    width: 100%;
    margin-top: 8px;
  }
  .domains-promo .dp-button {
    width: 100%;
    text-align: center;
  }
}

/* === [C] Enhanced Domains Table === */
.domains-page .domains-neutral .dn-card {
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}
.domains-page .domains-neutral .dn-table {
  width: 100%;
  border-collapse: collapse;
}
.domains-page .domains-neutral .dn-table thead th {
  text-align: left;
  padding: 0.9rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  background-color: #003366; /* brand blue */
  color: #ffffff;
  border-bottom: 2px solid #00254d;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.domains-page .domains-neutral .dn-table tbody td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  line-height: 1.4;
}
.domains-page .domains-neutral .dn-table tbody tr:hover {
  background: #f9fafb;
}
.domains-page .domains-neutral .dn-table td:nth-child(3) {
  text-align: center;
  font-weight: 600;
  color: #1d4ed8;
}
.domains-page .domains-neutral .dn-btn {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}
.domains-page .domains-neutral .dn-btn:hover {
  background: linear-gradient(90deg, #2563eb, #1e40af);
  transform: translateY(-1px);
}
/* === Mobile-friendly stacked table for Domains page === */
@media (max-width: 768px) {
  .domains-page .domains-neutral .dn-table thead {
    display: none;
  }

  .domains-page .domains-neutral .dn-table,
  .domains-page .domains-neutral .dn-table tbody,
  .domains-page .domains-neutral .dn-table tr,
  .domains-page .domains-neutral .dn-table td {
    display: block;
    width: 100%;
  }

  .domains-page .domains-neutral .dn-table tr {
    margin: 12px 0;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }

  .domains-page .domains-neutral .dn-table td {
    border: none;
    padding: 6px 4px;
    font-size: 0.9rem;            /* slightly smaller text */
    line-height: 1.3;
  }

  /* Labels injected before each cell */
  .domains-page .domains-neutral .dn-table td:nth-child(1)::before { content: "Domain"; font-weight: 700; display: block; color: #374151; margin-bottom: 2px; font-size: 0.85rem; }
  .domains-page .domains-neutral .dn-table td:nth-child(2)::before { content: "Description"; font-weight: 700; display: block; color: #374151; margin-bottom: 2px; font-size: 0.85rem; }
  .domains-page .domains-neutral .dn-table td:nth-child(3)::before { content: "List Price (USD)"; font-weight: 700; display: block; color: #374151; margin-bottom: 2px; font-size: 0.85rem; }
  .domains-page .domains-neutral .dn-table td:nth-child(4)::before { content: "Contact"; font-weight: 700; display: block; color: #374151; margin-bottom: 2px; font-size: 0.85rem; }

  /* Price and buttons fit smaller screens */
  .domains-page .domains-neutral .dn-table td:nth-child(3) {
    text-align: left;
    color: #1d4ed8;
    font-weight: 600;
    font-size: 0.95rem;
  }

  .domains-page .domains-neutral .dn-btn {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }

  /* Compact the small text (like Kurita notes) */
  .domains-page .domains-neutral .dn-table small.dn-muted {
    font-size: 0.8rem;
    line-height: 1.2;
  }
}
