/* ── Sitemap page: Rank Math–style XML Sitemap (table: URL, Images, Last Mod.) ── */

.sitemap-main.sitemap-rankmath {
  min-height: 100vh;
  background: linear-gradient(180deg, #d4e8f5 0%, #eef6fc 30%, #f0f4f8 100%);
}

.sitemap-rm-header {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 40px 32px 36px;
  text-align: left;
  border-bottom: 4px solid var(--yellow);
  box-shadow: 0 4px 20px rgba(0, 62, 116, 0.2);
}

.sitemap-rm-header h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--yellow);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.sitemap-rm-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin-bottom: 16px;
}

.sitemap-rm-desc a {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 219, 0, 0.5);
}

.sitemap-rm-desc a:hover {
  color: var(--white);
  border-bottom-color: var(--yellow);
}

.sitemap-rm-count {
  font-size: 15px;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 500;
}

.sitemap-rm-count strong {
  color: var(--yellow);
  font-size: 1.1em;
}

.sitemap-rm-back {
  font-size: 14px;
  margin-top: 8px;
}

.sitemap-rm-back a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 500;
}

.sitemap-rm-back a:hover {
  text-decoration: underline;
  color: var(--white);
}

.sitemap-rm-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 48px;
}

.sitemap-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 62, 116, 0.12);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--blue);
}

.sitemap-table thead {
  background: linear-gradient(180deg, var(--dark-blue) 0%, var(--blue) 100%);
  color: var(--white);
  border-bottom: 3px solid var(--yellow);
}

.sitemap-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sitemap-table tbody tr {
  border-bottom: 1px solid var(--light-gray);
  transition: background 0.15s;
}

.sitemap-table tbody tr:nth-child(even) {
  background: #f0f7ff;
}

.sitemap-table tbody tr:nth-child(odd) {
  background: var(--white);
}

.sitemap-table tbody tr:last-child {
  border-bottom: none;
}

.sitemap-table tbody tr:hover {
  background: #e3f2fd !important;
  outline: 2px solid rgba(0, 88, 163, 0.25);
  outline-offset: -2px;
}

.sitemap-table td {
  padding: 14px 20px;
  font-size: 14px;
  vertical-align: top;
  border-left: 3px solid transparent;
}

.sitemap-table tbody tr:hover td:first-child {
  border-left-color: var(--blue);
}

.sitemap-col-url {
  width: 55%;
}

.sitemap-col-url a {
  color: var(--dark-blue);
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
  line-height: 1.4;
}

.sitemap-col-url a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.sitemap-col-images {
  width: 12%;
  text-align: center;
  color: var(--dark-blue);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  background: rgba(0, 88, 163, 0.04);
}

.sitemap-table tbody tr:nth-child(even) .sitemap-col-images {
  background: rgba(0, 88, 163, 0.08);
}

.sitemap-col-lastmod {
  width: 33%;
  color: var(--mid);
  font-size: 13px;
  white-space: nowrap;
  font-weight: 500;
}

/* ── Footer ── */

.sitemap-footer {
  background: var(--dark);
  color: var(--white);
}

.sitemap-footer .footer-bottom {
  padding: 24px 48px 20px;
}

.sitemap-footer .footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.sitemap-footer .footer-bottom-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.sitemap-footer .footer-bottom-links a:hover {
  color: var(--yellow);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .sitemap-rm-header {
    padding: 28px 20px 24px;
  }
  .sitemap-rm-wrap {
    padding: 20px 12px 36px;
  }
  .sitemap-table th,
  .sitemap-table td {
    padding: 12px 14px;
    font-size: 13px;
  }
  .sitemap-col-url {
    width: 50%;
  }
  .sitemap-col-lastmod {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .sitemap-rm-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sitemap-table {
    min-width: 480px;
  }
}
