/*
Theme Name: Seragam Malang
Theme URI: http://seragammalang.test/
Author: Seragam Malang Team
Author URI: http://seragammalang.test/
Description: Tema kustom modern dan responsif untuk Seragam Malang - Konveksi & Toko Seragam Sekolah, Kantor, dan Komunitas di Malang Raya.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seragammalang
Tags: custom-theme, e-commerce, tailwindcss, responsive-layout, grid-layout
*/

:root {
  --radius: 0.625rem;
  --font-sans: "Schibsted Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: #0f172a;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

.font-mono-num {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1, "cv01" 1;
}

.grid-pattern {
  background-image: radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Sticky Navbar WordPress Admin Bar Offset */
.admin-bar #navbar {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar #navbar {
    top: 46px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Infinite Marquee Animation */
@keyframes marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 50s linear infinite;
  will-change: transform;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

html {
  scroll-behavior: smooth;
}

/* Hide scrollbar utility */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* Interactive Marquee Drag & Pause Utilities */
.marquee-interactive-container {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.marquee-interactive-container.is-grabbing,
.marquee-interactive-container:active {
  cursor: grabbing;
}
.marquee-interactive-scroll {
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   Single Article Typography & Content Styling
   ========================================================================== */
.article-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #334155;
}
.article-content > p {
  margin-bottom: 1.5rem;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.article-content h2 {
  font-size: 1.625rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
}
.article-content h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-content h4 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.article-content ul,
.article-content ol {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.article-content ul {
  list-style-type: disc;
}
.article-content ol {
  list-style-type: decimal;
}
.article-content li {
  margin-bottom: 0.5rem;
}
.article-content a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.article-content a:hover {
  color: #1e40af;
}
.article-content blockquote {
  border-left: 4px solid #1d4ed8;
  padding: 0.85rem 1.25rem;
  background-color: #f8fafc;
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: #475569;
  margin: 1.75rem 0;
}
.article-content img {
  border-radius: 1rem;
  margin: 1.75rem auto;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.article-content table {
  width: 100%;
  margin: 1.75rem 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.article-content th,
.article-content td {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
}
.article-content th {
  background-color: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}
