/* ==================== EVENT LANDING PAGE ==================== */
.page-event-landing {
  background:
    radial-gradient(circle at 10% 6%, rgba(245, 169, 0, 0.15), transparent 32%),
    radial-gradient(circle at 90% 0%, rgba(6, 39, 68, 0.1), transparent 28%),
    var(--bg-page);
  overflow-x: clip;
}

.event-landing-page {
  padding: 18px 0 38px;
  width: 100%;
}

.evl-page-container {
  display: grid;
  gap: 18px;
}

.evl-hero {
  width: 100%;
  margin-top: 0;
  border-radius: 18px;
  border: 1px solid #d6b367;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 169, 0, 0.24), transparent 33%),
    linear-gradient(135deg, #062744 0%, #0b3456 52%, #041b30 100%);
  color: #f6f9fe;
  box-shadow: 0 16px 30px rgba(6, 39, 68, 0.24);
}

.evl-hero-content {
  width: 100%;
  padding: 24px;
}

.evl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff8e6;
  border: 1px solid rgba(245, 169, 0, 0.46);
  background: rgba(245, 169, 0, 0.14);
}

.evl-hero h1 {
  margin: 10px 0 8px;
  font-size: 34px;
  line-height: 1.45;
  color: #ffffff;
}

.evl-hero p {
  margin: 0;
  font-size: 15px;
  color: rgba(231, 241, 253, 0.95);
}

.evl-meta-row {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.evl-meta-row span,
.evl-meta-row a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  border: 1px solid rgba(245, 169, 0, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.evl-meta-row a {
  text-decoration: none;
  color: inherit;
}

.evl-meta-row a:hover {
  border-color: rgba(245, 169, 0, 0.64);
  background: rgba(245, 169, 0, 0.2);
}

.evl-jump-links {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.evl-jump-links a {
  text-decoration: none;
  color: #f7fbff;
  border: 1px solid rgba(245, 169, 0, 0.4);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.evl-jump-links a:hover {
  border-color: rgba(245, 169, 0, 0.78);
  background: rgba(245, 169, 0, 0.18);
}

.evl-hero-media {
  width: 100%;
  min-height: 330px;
  background:
    linear-gradient(to top, rgba(3, 14, 26, 0.5), rgba(3, 14, 26, 0.08)),
    url('https://images.unsplash.com/photo-1512436991641-6745cdb1723f?w=1400&q=80') center/cover no-repeat;
}

.evl-section {
  width: 100%;
  margin-top: 0;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e1eaf4;
  box-shadow: 0 10px 20px rgba(10, 29, 54, 0.06);
}

.evl-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.evl-section-head h2 {
  margin: 0;
  font-size: 21px;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.evl-section-head h2 i {
  color: var(--accent-gold);
}

.evl-section-head a {
  text-decoration: none;
  color: #0c3f69;
  font-size: 13px;
  font-weight: 700;
}

.evl-section-head a:hover {
  color: var(--accent-gold);
}

.evl-sponsor-ads-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.evl-sponsor-ad-card {
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid rgba(245, 169, 0, 0.35);
  background:
    radial-gradient(circle at 85% 15%, rgba(245, 169, 0, 0.18), transparent 34%),
    linear-gradient(140deg, #072a47 0%, #0a3457 52%, #041d31 100%);
  color: #eaf3ff;
  padding: 12px;
  display: grid;
  gap: 7px;
}

.evl-sponsor-ad-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #1f3143;
  background: linear-gradient(135deg, #f8cb68 0%, #f5a900 100%);
}

.evl-sponsor-ad-card strong {
  font-size: 16px;
  color: #fff;
}

.evl-sponsor-ad-card p {
  margin: 0;
  font-size: 13px;
  color: #d4e4f4;
}

.evl-sponsor-ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffd786;
  font-size: 12px;
  font-weight: 700;
}

.evl-logo-wall-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.evl-logo-wall-item {
  border-radius: 12px;
  border: 1px solid #dde8f4;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  text-decoration: none;
  min-height: 96px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  padding: 10px;
}

.evl-logo-wall-item img {
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

.evl-logo-wall-item span {
  font-size: 13px;
  font-weight: 700;
  color: #23425f;
}

.evl-logo-wall-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #5a7691;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#evl-related-events {
  scroll-margin-top: 90px;
  border-color: #d3e2f2;
  background:
    radial-gradient(circle at 8% 12%, rgba(245, 169, 0, 0.14), transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(6, 39, 68, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

#evl-related-events .evl-section-head {
  margin-bottom: 14px;
}

.evl-related-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.evl-related-card {
  position: relative;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid #d8e5f3;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 12px;
  display: grid;
  gap: 7px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.evl-related-card:hover {
  transform: translateY(-3px);
  border-color: #c4d9ee;
  box-shadow: 0 14px 24px rgba(6, 39, 68, 0.12);
}

.evl-related-card.is-current {
  border-color: rgba(245, 169, 0, 0.52);
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 169, 0, 0.22), transparent 40%),
    linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 12px 22px rgba(245, 169, 0, 0.16);
}

.evl-related-card.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, #f5a900 0%, #ffd786 100%);
}

.evl-related-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #123655;
  background: rgba(6, 39, 68, 0.1);
}

.evl-related-card strong {
  color: #133654;
  font-size: 15px;
}

.evl-related-card p {
  margin: 0;
  color: #5a7590;
  font-size: 13px;
}

.evl-related-note {
  margin: 12px 0 0;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px dashed rgba(6, 39, 68, 0.2);
  background: rgba(6, 39, 68, 0.04);
  font-size: 12px;
  color: #5d7892;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.evl-poster-slot {
  border-radius: 14px;
  border: 1px solid #dbe6f2;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  padding: 12px;
}

.evl-poster-link {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d7e3f0;
  background: #fff;
}

.evl-poster-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  display: none;
  background: #f5f8fc;
}

.evl-poster-fallback {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 7px;
  padding: 16px;
  color: #335372;
  background:
    radial-gradient(circle at 50% 20%, rgba(245, 169, 0, 0.16), transparent 34%),
    linear-gradient(180deg, #f9fcff 0%, #eff5fb 100%);
}

.evl-poster-fallback i {
  font-size: 28px;
  color: var(--accent-gold);
}

.evl-poster-fallback strong {
  font-size: 16px;
  color: #143654;
}

.evl-poster-fallback span {
  font-size: 13px;
  color: #5b7691;
}

.evl-poster-slot[data-poster="true"] .evl-poster-image {
  display: block;
}

.evl-poster-slot[data-poster="true"] .evl-poster-fallback {
  display: none;
}

.evl-poster-note {
  margin: 9px 0 0;
  font-size: 12px;
  color: #5f7b96;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.evl-about-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.evl-about-card {
  border-radius: 12px;
  border: 1px solid #dbe7f5;
  background: linear-gradient(165deg, #ffffff 0%, #f3f8ff 100%);
  padding: 12px;
}

.evl-about-card i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #062744;
  background: linear-gradient(135deg, #f8c04e 0%, #f5a900 100%);
}

.evl-about-card h3 {
  margin: 10px 0 6px;
  font-size: 16px;
  color: #122f4b;
}

.evl-about-card p {
  margin: 0;
  color: #4e667f;
  font-size: 13px;
}

.evl-about-summary {
  margin: 12px 0 0;
  border-radius: 11px;
  border: 1px dashed rgba(6, 39, 68, 0.24);
  padding: 10px;
  font-size: 13px;
  color: #34516d;
  background: rgba(6, 39, 68, 0.04);
}

.evl-ops-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.evl-ops-card {
  border-radius: 12px;
  border: 1px solid #dbe6f2;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  padding: 12px;
}

.evl-ops-card i {
  color: var(--accent-gold);
  font-size: 18px;
}

.evl-ops-card h3 {
  margin: 8px 0 5px;
  font-size: 15px;
  color: #133755;
}

.evl-ops-card p {
  margin: 0;
  font-size: 13px;
  color: #56718b;
}

.evl-plan-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.evl-plan-item {
  border-radius: 12px;
  border: 1px solid #dce7f4;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 6px;
}

.evl-plan-day {
  width: fit-content;
  border-radius: 999px;
  background: rgba(6, 39, 68, 0.1);
  color: #103554;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
}

.evl-plan-item strong {
  color: #123754;
  font-size: 14px;
}

.evl-plan-item p {
  margin: 0;
  font-size: 13px;
  color: #59748f;
}

.evl-live-list {
  width: 100%;
  display: grid;
  gap: 8px;
}

.evl-live-item {
  border-radius: 12px;
  border: 1px solid #dce7f4;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 10px;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: start;
}

.evl-live-time {
  border-radius: 8px;
  text-align: center;
  background: linear-gradient(135deg, #f7c65b 0%, #f5a900 100%);
  color: #082741;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 6px;
}

.evl-live-item strong {
  color: #133754;
  font-size: 14px;
}

.evl-live-item p {
  margin: 4px 0 0;
  color: #5a7591;
  font-size: 13px;
}

.evl-legal-list {
  width: 100%;
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.evl-legal-list li {
  border-radius: 10px;
  border: 1px dashed #d0e0f0;
  background: rgba(6, 39, 68, 0.03);
  padding: 8px 10px;
  color: #3f5f7c;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.evl-legal-list i {
  color: var(--accent-gold);
}

.evl-news-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.evl-news-card {
  border-radius: 12px;
  border: 1px solid #dce6f2;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 12px;
}

.evl-news-thumb {
  display: block;
  margin: -12px -12px 10px;
  height: 150px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #dce7f4;
}

.evl-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evl-badge {
  display: inline-block;
  border-radius: 999px;
  background: rgba(6, 39, 68, 0.12);
  color: #0f3758;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
}

.evl-news-card h3 {
  margin: 8px 0 7px;
  font-size: 16px;
  line-height: 1.7;
}

.evl-news-card h3 a {
  color: #102f4b;
  text-decoration: none;
}

.evl-news-card h3 a:hover {
  color: #0a5b97;
}

.evl-news-card p {
  margin: 0;
  font-size: 13px;
  color: #556f8a;
}

.evl-card-meta {
  margin-top: 9px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7189a0;
}

.evl-interviews-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
}

.evl-interview-feature {
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(145deg, #ffffff 0%, #eef6ff 100%);
  border: 1px solid #d5e4f6;
}

.evl-interview-feature h3 {
  margin: 0;
  color: #133350;
  font-size: 19px;
  line-height: 1.8;
}

.evl-interview-feature p {
  margin: 9px 0;
  color: #4f6b86;
  font-size: 14px;
}

.evl-interview-feature a {
  text-decoration: none;
  color: #0f5a93;
  font-weight: 700;
  font-size: 13px;
}

.evl-interview-list {
  width: 100%;
  display: grid;
  gap: 8px;
}

.evl-mini-interview {
  border-radius: 11px;
  border: 1px solid #dde8f4;
  background: #fff;
  padding: 12px;
  text-decoration: none;
  display: grid;
  gap: 3px;
}

.evl-mini-interview strong {
  color: #14334e;
  font-size: 14px;
}

.evl-mini-interview span {
  color: #5a7691;
  font-size: 12px;
}

.evl-gallery-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.evl-gallery-item {
  min-height: 140px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: end;
  background-size: cover;
  background-position: center;
  border: 1px solid #d6e4f2;
  box-shadow: inset 0 -70px 90px rgba(3, 18, 33, 0.5);
}

.evl-gallery-item span {
  width: 100%;
  padding: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.evl-videos-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.evl-video-card {
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid #dbe6f3;
  padding: 12px;
  background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%);
  display: grid;
  gap: 6px;
}

.evl-video-thumb {
  margin: -12px -12px 8px;
  height: 145px;
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #dbe7f4;
  display: block;
}

.evl-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evl-video-thumb i {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 169, 0, 0.92);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(245, 169, 0, 0.38);
}

.evl-video-time {
  display: inline-block;
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(6, 39, 68, 0.14);
  color: #0f3b5f;
  font-size: 11px;
}

.evl-video-card strong {
  color: #123450;
  font-size: 15px;
}

.evl-video-card p {
  margin: 0;
  color: #5a7390;
  font-size: 12px;
}

.evl-faq-list {
  display: grid;
  gap: 10px;
}

.evl-faq-item {
  border-radius: 12px;
  border: 1px solid #dbe6f2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 10px 12px;
}

.evl-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #123351;
}

.evl-faq-item summary::-webkit-details-marker {
  display: none;
}

.evl-faq-item summary i {
  color: var(--accent-gold);
}

.evl-faq-item p {
  margin: 8px 0 0;
  color: #58738f;
  font-size: 13px;
}

.evl-cta-banner {
  width: 100%;
  margin-top: 0;
  border-radius: 16px;
  border: 1px solid rgba(245, 169, 0, 0.4);
  background:
    radial-gradient(circle at 88% 18%, rgba(245, 169, 0, 0.2), transparent 34%),
    linear-gradient(135deg, #072946 0%, #0a3558 52%, #041d31 100%);
  color: #f0f6ff;
  padding: 18px;
}

.evl-cta-banner h2 {
  margin: 0;
  font-size: 24px;
}

.evl-cta-banner p {
  margin: 8px 0 0;
  color: #d7e7f8;
  font-size: 14px;
}

.evl-cta-banner a {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #082741;
  background: linear-gradient(135deg, #f7c85f 0%, #f5a900 100%);
}


.guild-page {
  margin: 18px 0 30px;
}

.guild-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guild-hero {
  border: 1px solid #d6e3f1;
  border-radius: 16px;
  padding: 16px;
  background:
    radial-gradient(circle at 88% 12%, rgba(245, 169, 0, 0.14), transparent 35%),
    linear-gradient(135deg, #ffffff 0%, #f6faff 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}

.guild-kicker {
  margin: 0;
  color: #325675;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guild-hero h1 {
  margin: 7px 0 4px;
  font-size: 31px;
  color: #0f3e63;
}

.guild-lead {
  margin: 0;
  color: #5a7590;
  font-size: 14px;
  max-width: 900px;
}

.guild-seo-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.guild-seo-links a {
  text-decoration: none;
  border: 1px solid #d5e3f0;
  background: #f8fbff;
  color: #264e70;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
}

.guild-city-tabs {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.guild-city-tabs a {
  text-decoration: none;
  border: 1px solid #d6e2f0;
  background: #f8fbff;
  color: #345b7c;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
}

.guild-city-tabs a.is-active {
  border-color: rgba(245, 169, 0, 0.5);
  background: #fff5dd;
  color: #7c5414;
}

.guild-updated {
  border: 1px solid #d7e3f1;
  border-radius: 12px;
  background: #ffffff;
  min-width: 174px;
  padding: 10px 12px;
  text-align: center;
}

.guild-updated span {
  display: block;
  color: #6a839c;
  font-size: 12px;
}

.guild-updated strong {
  display: block;
  margin-top: 3px;
  color: #123f63;
  font-size: 21px;
}

.guild-feedback-btn {
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid rgba(245, 169, 0, 0.55);
  background: linear-gradient(135deg, #fff6df 0%, #ffe8b7 100%);
  color: #6f4a0f;
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.guild-feedback-btn:hover {
  border-color: rgba(245, 169, 0, 0.85);
  background: linear-gradient(135deg, #fff0ca 0%, #ffd989 100%);
}

.guild-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 12px;
}

.guild-card {
  border: 1px solid #dce7f4;
  border-radius: 14px;
  background: #fff;
  padding: 13px;
}

.guild-card h2 {
  margin: 0 0 10px;
  color: #123d5f;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.guild-card h2 i {
  color: var(--accent-gold);
}

.guild-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.guild-info-list li {
  border: 1px solid #dce7f2;
  border-radius: 9px;
  background: #f9fcff;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
  align-items: start;
}

.guild-info-list li > span:first-child {
  color: #5b7893;
  font-size: 12px;
}

.guild-info-list li strong,
.guild-info-list li span,
.guild-info-list li a {
  color: #133f62;
  font-size: 13px;
  text-decoration: none;
  word-break: break-word;
}

.guild-map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d9e6f2;
}

.guild-map-wrap iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
}

.guild-map-link {
  margin-top: 9px;
  text-decoration: none;
  color: #204f75;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.guild-table-wrap {
  overflow: auto;
}

.guild-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.guild-table th,
.guild-table td {
  border: 1px solid #dce7f2;
  padding: 8px;
  text-align: right;
  font-size: 13px;
}

.guild-table th {
  background: #0b375b;
  color: #fff;
  font-weight: 600;
}

.guild-table td {
  background: #fbfdff;
  color: #284f71;
}

.guild-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.guild-news-card {
  border: 1px solid #dce7f2;
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
  display: grid;
  grid-template-rows: 126px 1fr;
}

.guild-news-thumb {
  display: block;
}

.guild-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guild-news-body {
  padding: 9px;
  display: grid;
  gap: 6px;
}

.guild-news-meta {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid #d8e6f3;
  background: #f7fbff;
  color: #5d7b95;
  font-size: 11px;
  padding: 3px 7px;
}

.guild-news-body h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.guild-news-body h3 a {
  text-decoration: none;
  color: #123f62;
}

.guild-news-body p {
  margin: 0;
  color: #617c96;
  font-size: 12px;
  line-height: 1.7;
}

.guild-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.guild-visual-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guild-gallery-item {
  text-decoration: none;
  border: 1px solid #dce7f2;
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
}

.guild-gallery-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.guild-gallery-item span {
  display: block;
  padding: 8px;
  color: #345f80;
  font-size: 13px;
}

.guild-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.guild-service-item {
  border: 1px solid #dce7f2;
  border-radius: 11px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 10px;
}

.guild-service-item i {
  color: #f5a900;
  font-size: 16px;
}

.guild-service-item h3 {
  margin: 6px 0 5px;
  color: #123f62;
  font-size: 14px;
}

.guild-service-item p {
  margin: 0;
  color: #607b96;
  font-size: 12px;
  line-height: 1.8;
}

.guild-guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.guild-guide-box {
  border: 1px solid #dce7f2;
  border-radius: 10px;
  background: #fbfdff;
  padding: 10px;
}

.guild-guide-box h3 {
  margin: 0 0 8px;
  color: #113e61;
  font-size: 14px;
}

.guild-guide-box ul {
  margin: 0;
  padding: 0 18px 0 0;
  color: #5f7b95;
  font-size: 12px;
  display: grid;
  gap: 6px;
}

.guild-faq-list {
  display: grid;
  gap: 8px;
}

.guild-faq-item {
  border: 1px solid #dce7f2;
  border-radius: 10px;
  background: #fbfdff;
  padding: 10px;
}

.guild-faq-item summary {
  cursor: pointer;
  color: #123f62;
  font-weight: 700;
  font-size: 14px;
}

.guild-faq-item summary::-webkit-details-marker {
  display: none;
}

.guild-faq-item p {
  margin: 7px 0 0;
  color: #5f7c96;
  font-size: 13px;
  line-height: 1.9;
}

.ask-page {
  margin: 18px 0 30px;
}

.page-ask .breadcrumb-nav,
.page-ask-question .breadcrumb-nav {
  margin-top: 16px;
}

.page-ask .breadcrumb-list,
.page-ask-question .breadcrumb-list {
  border: 1px solid #d9e6f2;
  background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  border-radius: 999px;
  padding: 8px 14px;
  width: fit-content;
  box-shadow: 0 6px 14px rgba(10, 43, 70, 0.07);
}

.page-ask .breadcrumb-list li,
.page-ask-question .breadcrumb-list li {
  color: #406484;
  font-size: 12px;
}

.page-ask .breadcrumb-list li a,
.page-ask-question .breadcrumb-list li a {
  color: #1b4f77;
  font-weight: 700;
}

.page-ask .breadcrumb-list li[aria-current="page"],
.page-ask-question .breadcrumb-list li[aria-current="page"] {
  color: #0d3f62;
  font-weight: 700;
}

.ask-shell {
  display: grid;
  gap: 12px;
}

.page-ask .ask-card,
.page-ask .ask-hero {
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.page-ask .ask-card:hover,
.page-ask .ask-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(11, 49, 80, 0.1);
}

.ask-hero,
.ask-card,
.askq-card {
  border: 1px solid #dce7f3;
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 7px 18px rgba(7, 36, 61, 0.06);
}

.ask-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(245, 169, 0, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f5faff 100%);
}

.ask-hero h1 {
  margin: 0;
  font-size: 38px;
  color: #103f63;
}

.ask-hero p {
  margin: 8px 0 0;
  color: #5f7d97;
  font-size: 15px;
  max-width: 920px;
}

.ask-hero-form {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.ask-input-wrap {
  position: relative;
}

.ask-input-wrap i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #7891a8;
}

.ask-input-wrap input {
  width: 100%;
  border: 1px solid #d5e3f0;
  border-radius: 10px;
  background: #f9fcff;
  color: #123f62;
  font-family: inherit;
  font-size: 15px;
  padding: 11px 38px 11px 12px;
}

.ask-hero-form button,
.ask-submit-btn {
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8cc6b 0%, #f5a900 100%);
  color: #082741;
  font-size: 14px;
  font-weight: 700;
  padding: 0 16px;
  min-height: 46px;
  font-family: inherit;
  cursor: pointer;
}

.ask-suggest {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  border: 1px solid #d6e3f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(8, 40, 66, 0.1);
  z-index: 15;
  padding: 6px;
  display: grid;
  gap: 4px;
}

.ask-suggest-item {
  border: none;
  background: #f8fbff;
  border-radius: 8px;
  padding: 7px 8px;
  color: #204d71;
  text-align: right;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.ask-card h2,
.askq-card h2 {
  margin: 0 0 10px;
  color: #123f62;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ask-card h2 i,
.askq-card h2 i {
  color: #f5a900;
}

.ask-cats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.ask-cat-item {
  border: 1px solid #dbe7f3;
  border-radius: 11px;
  background: #f9fcff;
  text-decoration: none;
  color: #123f62;
  padding: 9px;
  display: grid;
  gap: 3px;
  justify-items: center;
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ask-cat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(12, 49, 83, 0.12);
}

.ask-cat-item:nth-child(6n + 1) {
  border-color: #f1dda8;
  background: linear-gradient(145deg, #fffdf7 0%, #fff4dc 100%);
}

.ask-cat-item:nth-child(6n + 2) {
  border-color: #cedff4;
  background: linear-gradient(145deg, #fbfdff 0%, #eff6ff 100%);
}

.ask-cat-item:nth-child(6n + 3) {
  border-color: #d3ebdf;
  background: linear-gradient(145deg, #fbfffd 0%, #eef9f3 100%);
}

.ask-cat-item:nth-child(6n + 4) {
  border-color: #e0dcf6;
  background: linear-gradient(145deg, #fefeff 0%, #f6f3ff 100%);
}

.ask-cat-item:nth-child(6n + 5) {
  border-color: #f2ddca;
  background: linear-gradient(145deg, #fffdfb 0%, #fff3ea 100%);
}

.ask-cat-item:nth-child(6n + 6) {
  border-color: #d6e8dc;
  background: linear-gradient(145deg, #fcfffd 0%, #f1faf4 100%);
}

.ask-cat-item i {
  color: #f5a900;
}

.ask-cat-item span {
  font-size: 13px;
  font-weight: 700;
}

.ask-cat-item small {
  font-size: 11px;
  color: #67819a;
}

.ask-q-list,
.ask-mini-list {
  display: grid;
  gap: 8px;
}

.ask-q-row,
.ask-mini-list a,
.ask-panel a,
.askq-link-list a {
  text-decoration: none;
  border: 1px solid #dce8f3;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  padding: 9px;
  color: #143f61;
  display: grid;
  gap: 4px;
}

.ask-q-row h3,
.ask-mini-list strong {
  margin: 0;
  font-size: 14px;
}

.ask-q-meta,
.ask-mini-list span {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: #6a839c;
  font-size: 12px;
}

.ask-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ask-tab-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ask-tabs {
  display: inline-flex;
  gap: 6px;
  background: #f3f8ff;
  border: 1px solid #d7e4f1;
  border-radius: 999px;
  padding: 4px;
}

.ask-tabs button {
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #486b89;
  font-size: 12px;
  font-family: inherit;
  padding: 6px 10px;
  cursor: pointer;
}

.ask-tabs button.is-active {
  background: #fff;
  color: #113f62;
  box-shadow: 0 4px 10px rgba(13, 55, 91, 0.12);
}

.ask-panel {
  display: none;
  gap: 8px;
}

.ask-panel.is-active {
  display: grid;
}

.ask-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ask-form-grid label {
  display: grid;
  gap: 4px;
  color: #365b7b;
  font-size: 12px;
}

.ask-form-grid input,
.ask-form-grid select,
.ask-form-grid textarea {
  border: 1px solid #d6e3f0;
  border-radius: 8px;
  background: #f9fcff;
  font-family: inherit;
  font-size: 13px;
  color: #123f62;
  padding: 8px;
}

.ask-form-grid .is-full {
  grid-column: 1 / -1;
}

.ask-submit-btn {
  width: fit-content;
}

.ask-help-box {
  margin-top: 10px;
  border: 1px solid #dce7f3;
  border-radius: 10px;
  background: #f8fbff;
  padding: 9px;
}

.ask-help-box strong {
  color: #163f61;
  font-size: 13px;
}

.ask-help-box ul {
  margin: 6px 0 0;
  padding: 0 18px 0 0;
  display: grid;
  gap: 4px;
  color: #617d97;
  font-size: 12px;
}

.ask-grid-3 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.ask-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ask-stats-grid div {
  border: 1px solid #dce7f3;
  border-radius: 10px;
  background: #f9fcff;
  padding: 8px;
}

.ask-stats-grid strong {
  display: block;
  color: #0f486d;
  font-size: 20px;
}

.ask-stats-grid span {
  color: #69839c;
  font-size: 11px;
}

.ask-experts-list {
  display: grid;
  gap: 8px;
}

.ask-experts-list div {
  border: 1px solid #dce7f2;
  border-radius: 10px;
  background: #f9fcff;
  padding: 8px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: center;
}

.ask-experts-list img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.ask-experts-list p {
  margin: 0;
}

.ask-experts-list strong {
  color: #123f62;
  font-size: 13px;
  display: block;
}

.ask-experts-list span {
  color: #64809a;
  font-size: 11px;
}

.ask-leaderboard {
  margin: 0;
  padding: 0 22px 0 0;
  display: grid;
  gap: 8px;
}

.ask-leaderboard li {
  border: 1px solid #dce7f2;
  border-radius: 10px;
  background: #f9fcff;
  padding: 8px;
  color: #163f61;
}

.ask-leaderboard span,
.ask-leaderboard strong {
  display: block;
  font-size: 12px;
}

.ask-leaderboard strong {
  color: #67839c;
}

.ask-tone-cats {
  border-color: #d5e6f7;
  background:
    radial-gradient(circle at 90% 14%, rgba(84, 140, 238, 0.12), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f3f8ff 100%);
}

.ask-tone-hot {
  border-color: #f0d5bf;
  background:
    radial-gradient(circle at 88% 12%, rgba(233, 123, 64, 0.16), transparent 34%),
    linear-gradient(145deg, #fffefc 0%, #fff1e7 100%);
}

.ask-tone-latest {
  border-color: #d7e8dd;
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 154, 104, 0.14), transparent 35%),
    linear-gradient(145deg, #fdfffe 0%, #eef9f3 100%);
}

.ask-tone-awaiting {
  border-color: #e5dcf7;
  background:
    radial-gradient(circle at 88% 14%, rgba(120, 94, 210, 0.14), transparent 35%),
    linear-gradient(145deg, #fefeff 0%, #f6f2ff 100%);
}

.ask-tone-popular {
  border-color: #efd8a5;
  background:
    radial-gradient(circle at 86% 14%, rgba(245, 169, 0, 0.16), transparent 35%),
    linear-gradient(145deg, #fffef9 0%, #fff5df 100%);
}

.ask-tone-form {
  border-color: #d2e1f3;
  background:
    radial-gradient(circle at 90% 14%, rgba(24, 96, 182, 0.13), transparent 36%),
    linear-gradient(145deg, #fcfdff 0%, #eff5ff 100%);
}

.ask-tone-stats {
  border-color: #cfe6d8;
  background:
    radial-gradient(circle at 12% 12%, rgba(56, 154, 109, 0.13), transparent 36%),
    linear-gradient(145deg, #fcfffd 0%, #edf9f2 100%);
}

.ask-tone-experts {
  border-color: #d8e2f4;
  background:
    radial-gradient(circle at 88% 12%, rgba(66, 122, 204, 0.12), transparent 36%),
    linear-gradient(145deg, #fbfdff 0%, #eff5ff 100%);
}

.ask-tone-users {
  border-color: #eed9c9;
  background:
    radial-gradient(circle at 14% 10%, rgba(218, 121, 67, 0.12), transparent 35%),
    linear-gradient(145deg, #fffefc 0%, #fff2e9 100%);
}

.askq-page {
  margin: 18px 0 30px;
}

.askq-shell {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 12px;
}

.askq-main-col,
.askq-side-col {
  display: grid;
  gap: 12px;
  align-content: start;
}

.askq-card {
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.askq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(11, 49, 80, 0.1);
}

.askq-question-card h1 {
  margin: 0;
  color: #123f62;
  font-size: 30px;
}

.askq-question-card p {
  margin: 7px 0 0;
  color: #5f7d97;
  font-size: 14px;
  line-height: 1.9;
}

.askq-meta-row {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.askq-meta-row span {
  border: 1px solid #d7e4f1;
  border-radius: 999px;
  background: #f7fbff;
  color: #4f6f8c;
  font-size: 12px;
  padding: 4px 8px;
}

.askq-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.askq-tags a {
  text-decoration: none;
  color: #31597a;
  background: #f3f8ff;
  border: 1px solid #d6e2ef;
  border-radius: 999px;
  font-size: 11px;
  padding: 4px 8px;
}

.askq-same-btn {
  margin-top: 10px;
  border: 1px solid rgba(245, 169, 0, 0.58);
  border-radius: 10px;
  background: linear-gradient(135deg, #fff8e5 0%, #ffe6b0 100%);
  color: #744c0f;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 11px;
  cursor: pointer;
}

.askq-same-btn.is-added {
  opacity: 0.7;
}

.askq-badge {
  display: inline-flex;
  border: 1px solid rgba(245, 169, 0, 0.6);
  border-radius: 999px;
  background: #fff4d4;
  color: #7b5313;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
}

.askq-ai-note {
  border-right: 3px solid #f5a900;
  background: #fff9e8;
  padding: 6px 8px;
  border-radius: 8px;
}

.askq-best-comment {
  border: 1px dashed #d6e4f1;
  background: #f8fbff;
  border-radius: 10px;
  padding: 8px;
}

.askq-best-comment strong {
  color: #123f62;
  font-size: 14px;
}

.askq-best-comment p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.9;
}

.askq-comment-item {
  margin-top: 8px;
  border: 1px solid #dce7f2;
  border-radius: 10px;
  background: #fbfdff;
  padding: 8px;
}

.askq-comment-head {
  display: flex;
  justify-content: space-between;
  color: #567591;
  font-size: 13px;
}

.askq-comment-item p {
  margin: 6px 0 0;
  color: #294f71;
  font-size: 15px;
  line-height: 1.95;
}

.askq-comment-actions {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.askq-comment-actions button,
.askq-share-grid button {
  border: 1px solid #d3e1ef;
  border-radius: 8px;
  background: #f5faff;
  color: #2d5576;
  font-family: inherit;
  font-size: 12px;
  padding: 5px 8px;
  cursor: pointer;
}

.askq-comment-reply {
  margin-top: 8px;
  border-right: 2px solid #d8e4f1;
  padding-right: 8px;
}

.askq-comment-form {
  margin-top: 10px;
  border: 1px solid #d6e4f1;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff 0%, #f2f8ff 100%);
  padding: 10px;
}

.askq-comment-form h3 {
  margin: 0 0 9px;
  color: #123f62;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.askq-comment-form h3 i {
  color: #f5a900;
}

.askq-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.askq-form-grid label {
  display: grid;
  gap: 4px;
  color: #365b7b;
  font-size: 12px;
}

.askq-form-grid input,
.askq-form-grid textarea {
  border: 1px solid #d4e2ef;
  border-radius: 9px;
  background: #f9fcff;
  color: #123f62;
  font-family: inherit;
  font-size: 13px;
  padding: 9px;
}

.askq-form-grid .is-full {
  grid-column: 1 / -1;
}

.askq-form-actions {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.askq-submit-comment {
  border: none;
  border-radius: 9px;
  background: linear-gradient(135deg, #f8cc6b 0%, #f5a900 100%);
  color: #082741;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  cursor: pointer;
}

.askq-form-note {
  color: #567591;
  font-size: 11px;
}

.askq-link-list,
.askq-prices {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.askq-link-list a {
  font-size: 13px;
}

.askq-prices li {
  border: 1px solid #dce7f2;
  border-radius: 9px;
  background: #f8fbff;
  padding: 7px 9px;
  display: flex;
  justify-content: space-between;
  color: #1d486b;
  font-size: 13px;
}

.askq-prices strong {
  color: #0d3f62;
}

.askq-share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.askq-seo-news-note {
  margin: 0 0 8px;
  color: #4d6f8d;
  font-size: 13px;
  line-height: 1.9;
}

.askq-news-more {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid #d4e3f0;
  border-radius: 999px;
  background: #f7fbff;
  color: #1c4f78;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
}

.askq-news-more:hover {
  border-color: #c6d8e8;
  background: #eef6ff;
}


/* ==================== TOOLS PAGES ==================== */
.tool-page {
  margin: 16px 0 30px;
}

.tool-shell {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 12px;
  align-items: start;
}

.tool-card {
  border: 1px solid #dce7f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(7, 36, 61, 0.06);
  padding: 14px;
}

.tool-hero {
  border: 1px solid #d6e4f2;
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 16%, rgba(245, 169, 0, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  padding: 14px;
  margin-bottom: 10px;
}

.tool-hero h1 {
  margin: 0;
  color: #113f62;
  font-size: 30px;
}

.tool-hero p {
  margin: 7px 0 0;
  color: #5a7893;
  font-size: 14px;
  line-height: 1.9;
}

.tool-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.tool-form-grid label {
  display: grid;
  gap: 4px;
  color: #355b7c;
  font-size: 12px;
}

.tool-form-grid input,
.tool-form-grid select,
.tool-form-grid textarea {
  border: 1px solid #d4e2ef;
  border-radius: 9px;
  background: #f9fcff;
  color: #123f62;
  font-family: inherit;
  font-size: 13px;
  padding: 9px;
}

.tool-form-grid .is-full {
  grid-column: 1 / -1;
}

.tool-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tool-btn {
  border: none;
  border-radius: 9px;
  background: linear-gradient(135deg, #f8cc6b 0%, #f5a900 100%);
  color: #082741;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  cursor: pointer;
}

.tool-btn.is-muted {
  border: 1px solid #d4e1ee;
  background: #f5faff;
  color: #2f5676;
}

.tool-result {
  margin-top: 10px;
  border: 1px solid #dbe7f2;
  border-radius: 11px;
  background: linear-gradient(145deg, #ffffff 0%, #f5faff 100%);
  padding: 10px;
  color: #123f62;
  line-height: 1.9;
  font-size: 14px;
}

.tool-result strong {
  color: #0c4e79;
}

.tool-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.tool-side-list a {
  text-decoration: none;
  border: 1px solid #dce8f3;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  color: #143f61;
  display: block;
  padding: 9px;
  font-size: 13px;
}

.tool-side-list a.is-active {
  border-color: #f1d699;
  background: linear-gradient(180deg, #fff9ea 0%, #ffefcb 100%);
  color: #704b10;
  font-weight: 700;
}

.tool-note {
  margin-top: 10px;
  border: 1px dashed #cfddec;
  border-radius: 10px;
  padding: 10px;
  color: #506f8d;
  background: #f8fbff;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .tool-shell {
    grid-template-columns: 1fr;
  }
}

/* ==================== DEVELOPMENT CENTER PAGE ==================== */
.page-development-center {
  background:
    radial-gradient(circle at 12% 6%, rgba(245, 169, 0, 0.15), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(6, 39, 68, 0.11), transparent 28%),
    #f4f7fb;
  overflow-x: clip;
}

.dev-page {
  padding: 18px 0 42px;
}

.dev-shell {
  display: grid;
  gap: 18px;
}

.dev-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(214, 179, 103, 0.72);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 16%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #062744 0%, #0c3f66 58%, #071c2f 100%);
  box-shadow: 0 22px 42px rgba(6, 39, 68, 0.22);
  color: #f8fbff;
}

.dev-hero-content {
  padding: 30px;
}

.dev-kicker,
.dev-section-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(245, 169, 0, 0.14);
  border: 1px solid rgba(245, 169, 0, 0.38);
  color: #fff1bd;
  font-size: 12px;
  font-weight: 800;
}

.dev-hero h1 {
  margin: 12px 0 8px;
  color: #ffffff;
  font-size: 42px;
  line-height: 1.35;
  font-weight: 900;
}

.dev-hero p {
  margin: 0;
  color: rgba(235, 243, 252, 0.95);
  font-size: 16px;
  line-height: 2;
  max-width: 820px;
}

.dev-hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dev-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 10px;
  color: #09233a;
  background: linear-gradient(135deg, #ffe08f 0%, #f5a900 100%);
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
}

.dev-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.dev-hero-stats article {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 150px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.dev-hero-stats strong {
  color: #ffe08f;
  font-size: 30px;
  line-height: 1;
}

.dev-hero-stats span {
  color: rgba(246, 250, 255, 0.86);
  font-size: 13px;
}

.dev-control-panel,
.dev-section {
  border: 1px solid #dbe6f1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(13, 39, 63, 0.07);
}

.dev-control-panel {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: center;
}

.dev-search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d4e2f0;
  border-radius: 12px;
  background: #f8fbff;
  padding: 0 12px;
}

.dev-search-box input {
  width: 100%;
  min-height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
}

.dev-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-filter {
  border: 1px solid #d8e4f0;
  border-radius: 999px;
  background: #ffffff;
  color: #234d6f;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.dev-filter.is-active {
  border-color: #f5a900;
  background: #fff3d4;
  color: #5d3b05;
}

.dev-section {
  padding: 22px;
}

.dev-section-head {
  max-width: 820px;
  margin-bottom: 18px;
}

.dev-section-head span {
  color: #7a5609;
  background: rgba(245, 169, 0, 0.13);
}

.dev-section-head h2,
.dev-suggestion h2,
.dev-admin-card h2 {
  margin: 8px 0 6px;
  color: #0f3e63;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 900;
}

.dev-section-head p,
.dev-suggestion p,
.dev-admin-card p {
  margin: 0;
  color: #5b748c;
  font-size: 14px;
  line-height: 2;
}

.dev-section-head.compact {
  margin-bottom: 14px;
}

.dev-timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.dev-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 35px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, #f5a900, #d7e4f0);
}

.dev-release {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.dev-release-marker {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffe08f 0%, #f5a900 100%);
  color: #09233a;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(245, 169, 0, 0.25);
}

.dev-release-card,
.dev-feature-grid article,
.dev-project-grid article,
.dev-roadmap article,
.dev-reason-list article,
.dev-admin-card,
.dev-history-list details {
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(13, 39, 63, 0.05);
}

.dev-release-card {
  padding: 16px;
}

.dev-release-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.dev-date {
  color: #6e8498;
  font-size: 12px;
  font-weight: 700;
}

.dev-release-card h3,
.dev-feature-grid h3,
.dev-project-grid h3,
.dev-roadmap h3,
.dev-reason-list h3 {
  margin: 4px 0 6px;
  color: #113f64;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 900;
}

.dev-release-card p,
.dev-feature-grid p,
.dev-project-grid p,
.dev-roadmap p,
.dev-reason-list p {
  margin: 0;
  color: #5b748c;
  font-size: 14px;
  line-height: 1.9;
}

.dev-release-card ul,
.dev-admin-card ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.dev-release-card li,
.dev-admin-card li {
  position: relative;
  padding-right: 18px;
  color: #385a78;
  font-size: 13px;
  line-height: 1.8;
}

.dev-release-card li::before,
.dev-admin-card li::before {
  content: "";
  position: absolute;
  top: 11px;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5a900;
}

.dev-status {
  white-space: nowrap;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
}

.dev-status.ready {
  background: #e9f8ef;
  color: #166534;
}

.dev-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.dev-tags span {
  border-radius: 999px;
  background: #f4f8fc;
  border: 1px solid #dbe6f2;
  color: #315a7a;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
}

.dev-empty {
  margin: 14px 0 0;
  border-radius: 12px;
  background: #fff8e7;
  border: 1px solid #f4d891;
  color: #72500b;
  padding: 12px;
  font-size: 13px;
}

.dev-feature-grid,
.dev-project-grid,
.dev-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dev-feature-grid article,
.dev-project-grid article {
  padding: 16px;
}

.dev-feature-grid i {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #09233a;
  background: linear-gradient(135deg, #ffe08f 0%, #f5a900 100%);
  font-size: 18px;
}

.dev-feature-grid time,
.dev-feature-grid a {
  margin-top: 10px;
  display: inline-flex;
  color: #315a7a;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.dev-feature-grid a {
  color: #0f3e63;
  border-bottom: 1px solid rgba(245, 169, 0, 0.55);
}

.dev-project-grid article > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.dev-project-grid article > div:first-child span {
  border-radius: 999px;
  background: #edf5fc;
  color: #315a7a;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.dev-progress {
  margin-top: 12px;
  height: 9px;
  border-radius: 999px;
  background: #e9f0f7;
  overflow: hidden;
}

.dev-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5a900 0%, #0f5f8d 100%);
}

.dev-project-grid strong {
  margin-top: 7px;
  display: block;
  color: #0f3e63;
}

.dev-roadmap {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.dev-roadmap article {
  padding: 14px;
  border-top: 4px solid #f5a900;
}

.dev-roadmap article > span {
  display: inline-flex;
  border-radius: 999px;
  background: #09233a;
  color: #ffe08f;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}

.dev-split,
.dev-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 16px;
  align-items: start;
}

.dev-reason-list {
  display: grid;
  gap: 10px;
}

.dev-reason-list article,
.dev-admin-card {
  padding: 16px;
}

.dev-admin-card > i {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #0f3e63;
  color: #ffe08f;
  font-size: 20px;
}

.dev-metrics-grid article {
  min-height: 96px;
  border-radius: 14px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe6f2;
}

.dev-metrics-grid strong {
  color: #0f3e63;
  font-size: 25px;
  line-height: 1;
}

.dev-metrics-grid span {
  color: #5f7890;
  font-size: 12px;
  font-weight: 700;
}

.dev-suggestion {
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 169, 0, 0.16), transparent 28%),
    #ffffff;
}

.dev-suggestion .dev-kicker {
  color: #7a5609;
}

.dev-suggestion-form {
  display: grid;
  gap: 10px;
}

.dev-suggestion-form label {
  display: grid;
  gap: 5px;
  color: #315a7a;
  font-size: 12px;
  font-weight: 800;
}

.dev-suggestion-form input,
.dev-suggestion-form textarea {
  border: 1px solid #d5e3f1;
  border-radius: 10px;
  padding: 10px;
  font-family: inherit;
  font-size: 13px;
  background: #f8fbff;
}

.dev-suggestion-form button {
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  background: linear-gradient(135deg, #0f3e63 0%, #09233a 100%);
  color: #ffffff;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.dev-form-message {
  margin: 0;
  border-radius: 10px;
  background: #e9f8ef;
  color: #166534;
  padding: 10px;
  font-size: 12px;
  font-weight: 800;
}

.dev-history-list {
  display: grid;
  gap: 9px;
}

.dev-history-list details {
  padding: 0;
  overflow: hidden;
}

.dev-history-list summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  color: #0f3e63;
  font-weight: 900;
}

.dev-history-list time {
  color: #6e8498;
  font-size: 12px;
}

.dev-history-list p {
  margin: 0;
  padding: 0 15px 14px;
  color: #5b748c;
  font-size: 13px;
  line-height: 1.9;
}

@media (max-width: 1100px) {
  .dev-feature-grid,
  .dev-project-grid,
  .dev-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dev-roadmap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .dev-hero,
  .dev-control-panel,
  .dev-split,
  .dev-suggestion {
    grid-template-columns: 1fr;
  }

  .dev-hero h1 {
    font-size: 32px;
  }

  .dev-feature-grid,
  .dev-project-grid,
  .dev-metrics-grid,
  .dev-roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .dev-hero-content,
  .dev-section {
    padding: 16px;
  }

  .dev-hero h1 {
    font-size: 28px;
  }

  .dev-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dev-hero-stats article {
    min-height: 96px;
    padding: 12px;
  }

  .dev-hero-stats strong {
    font-size: 22px;
  }

  .dev-release {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }

  .dev-release-marker {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 13px;
  }

  .dev-timeline::before {
    right: 25px;
  }

  .dev-feature-grid,
  .dev-project-grid,
  .dev-metrics-grid,
  .dev-roadmap {
    grid-template-columns: 1fr;
  }

  .dev-release-top,
  .dev-history-list summary {
    flex-direction: column;
  }
}

/* ==================== SAMPLE JS PAGE ==================== */
.page-sample-js {
  background:
    radial-gradient(circle at 12% 4%, rgba(245, 169, 0, 0.14), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(6, 39, 68, 0.1), transparent 30%),
    #f4f7fb;
  overflow-x: clip;
}

.sample-js-page {
  padding: 18px 0 42px;
}

.sample-js-shell {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.sample-js-hero,
.sample-js-card,
.sample-js-matrix {
  min-width: 0;
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(13, 39, 63, 0.07);
}

.sample-js-hero {
  padding: 28px;
  background:
    radial-gradient(circle at 12% 16%, rgba(245, 169, 0, 0.2), transparent 32%),
    linear-gradient(135deg, #062744 0%, #0c3f66 58%, #071c2f 100%);
  color: #f8fbff;
}

.sample-js-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid rgba(245, 169, 0, 0.42);
  background: rgba(245, 169, 0, 0.14);
  color: #fff1bd;
  font-size: 12px;
  font-weight: 900;
}

.sample-js-hero h1 {
  margin: 12px 0 8px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.45;
  font-weight: 900;
}

.sample-js-hero p {
  margin: 0;
  max-width: 900px;
  color: rgba(235, 243, 252, 0.94);
  font-size: 15px;
  line-height: 2;
}

.sample-js-status-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sample-js-status-row span {
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fbff;
  font-size: 12px;
  font-weight: 800;
}

.sample-js-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.sample-js-card,
.sample-js-matrix {
  padding: 18px;
}

.sample-js-card h2,
.sample-js-matrix h2,
.sample-modal-dialog h2 {
  margin: 0 0 10px;
  color: #0f3e63;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 900;
}

.sample-js-card h2 i {
  color: #f5a900;
  margin-left: 7px;
}

.sample-js-card p,
.sample-modal-dialog p {
  margin: 0 0 12px;
  color: #5b748c;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.sample-js-card code {
  direction: ltr;
  unicode-bidi: plaintext;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  border-radius: 6px;
  background: #f2f6fb;
  color: #173e5d;
  padding: 1px 5px;
  font-size: 12px;
}

.sample-js-actions,
.sample-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.sample-js-actions button,
.sample-js-button,
.sample-filter,
.sample-tool-form button,
.sample-form button {
  border: 1px solid #d5e3f1;
  border-radius: 9px;
  background: #ffffff;
  color: #17496f;
  padding: 8px 11px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.sample-js-actions button:hover,
.sample-js-button:hover,
.sample-filter.is-active,
.sample-tool-form button[type="submit"],
.sample-form button {
  border-color: #f5a900;
  background: linear-gradient(135deg, #ffe08f 0%, #f5a900 100%);
  color: #09233a;
}

.sample-js-card output,
.sample-result {
  display: block;
  min-height: 42px;
  border-radius: 10px;
  border: 1px dashed #d5e3f1;
  background: #f8fbff;
  color: #335c7d;
  padding: 10px;
  font-size: 13px;
  line-height: 1.8;
}

.sample-input,
.sample-tool-form input,
.sample-form input,
.sample-form select,
.sample-form textarea {
  width: 100%;
  border: 1px solid #d5e3f1;
  border-radius: 9px;
  background: #ffffff;
  padding: 9px 10px;
  font-family: inherit;
  font-size: 13px;
}

.sample-filter-row {
  margin-top: 10px;
}

.sample-filter-list {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.sample-filter-list div {
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid #dbe6f2;
  padding: 10px;
  color: #315a7a;
  font-size: 13px;
  font-weight: 800;
}

.sample-tool-form,
.sample-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.sample-form textarea,
.sample-form button,
.sample-result {
  grid-column: 1 / -1;
}

.sample-js-table-wrap {
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
}

.sample-js-matrix table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.sample-js-matrix th,
.sample-js-matrix td {
  border-bottom: 1px solid #e1e9f2;
  padding: 11px;
  text-align: right;
  color: #315a7a;
  font-size: 13px;
  line-height: 1.8;
}

.sample-js-matrix th {
  color: #0f3e63;
  background: #f8fbff;
  font-weight: 900;
}

.page-sample-js .uk-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(6, 24, 40, 0.58);
}

.page-sample-js .uk-modal.is-open {
  display: grid;
}

.sample-modal-dialog {
  position: relative;
  width: min(520px, 100%);
  border-radius: 16px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 24px 52px rgba(6, 39, 68, 0.28);
}

.page-sample-js .uk-modal-close-default {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f2f6fb;
  color: #173e5d;
  font-size: 22px;
  cursor: pointer;
}

.sample-toast-stack {
  position: fixed;
  z-index: 4000;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
  width: min(330px, calc(100vw - 36px));
}

.sample-toast {
  border-radius: 12px;
  padding: 12px 14px;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(13, 39, 63, 0.18);
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sample-toast-success { background: #16713a; }
.sample-toast-warning { background: #a86500; }
.sample-toast-error { background: #b42318; }
.sample-toast-info { background: #0f3e63; }

.sample-toast.is-hiding {
  opacity: 0;
  transform: translateY(8px);
}

.sample-highlight {
  outline: 3px solid #f5a900;
  outline-offset: -3px;
}

@media (max-width: 820px) {
  .sample-js-grid {
    grid-template-columns: 1fr;
  }

  .sample-js-hero h1 {
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .sample-js-hero,
  .sample-js-card,
  .sample-js-matrix {
    padding: 16px;
  }

  .sample-tool-form,
  .sample-form {
    grid-template-columns: 1fr;
  }
}

/* ==================== MARKET HUB & MOTHER PAGES ==================== */
.page-market,
.page-market-hub {
  background: #f4f7fb;
}

.market-page {
  padding: 18px 0 44px;
}

.market-shell {
  display: grid;
  gap: 16px;
}

.market-hero,
.market-section,
.market-content-grid article,
.market-mother-card {
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 39, 68, 0.06);
}

.market-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background:
    radial-gradient(circle at 14% 12%, rgba(245, 169, 0, 0.22), transparent 30%),
    linear-gradient(135deg, #062744 0%, #0f3c63 62%, #173f5f 100%);
  border: 1px solid rgba(245, 169, 0, 0.24);
  color: #fff;
}

.market-hero-main {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  min-height: 240px;
  background: linear-gradient(135deg, #062744 0%, #0f3c63 70%, #163f5d 100%);
  color: #fff;
  border-right: 0;
}

.market-hero-main .market-hero-actions {
  flex: 0 1 auto;
  margin-top: 6px;
}

.market-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border: 1px solid rgba(245, 169, 0, 0.45);
  border-radius: 999px;
  background: rgba(245, 169, 0, 0.13);
  color: #ffe0a3;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.market-hero-main .market-kicker,
.market-hero-main h1 {
  color: #fff;
}

.market-hero h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 31px;
  line-height: 1.55;
  font-weight: 900;
}

.market-hero p {
  margin: 0;
  max-width: 860px;
  color: rgba(240, 247, 255, 0.88);
  font-size: 15px;
  line-height: 2;
  font-weight: 500;
}

.market-hero-main p {
  color: rgba(255, 255, 255, 0.84);
}

.market-meta,
.market-hero-actions,
.market-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.market-meta span,
.market-tabs button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #eaf4ff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.market-tabs button {
  border-color: #dce7f4;
  background: #fff;
  color: #405b74;
}

.market-meta .is-up { color: #9ff0bd; }
.market-meta .is-down { color: #ffb4aa; }
.market-meta .is-neutral { color: #d6dde6; }

.market-hero-actions {
  flex: 0 0 260px;
  align-content: center;
}

.market-hero-actions a,
.market-hero-actions button,
.market-mother-card span {
  border: 1px solid #d5e3f1;
  border-radius: 999px;
  background: #fff;
  color: #17496f;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.market-hero-actions a:first-child,
.market-mother-card:hover span {
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e09100 100%);
  color: #fff;
}

.market-mother-grid,
.market-index-grid,
.market-link-grid,
.market-cross-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-mother-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.market-mother-card,
.market-index-card,
.market-link-grid a,
.market-cross-grid a {
  color: inherit;
  text-decoration: none;
}

.market-mother-card {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.market-mother-card i {
  color: var(--accent-gold);
  font-size: 28px;
}

.market-mother-card h2,
.market-section h2,
.market-content-grid h2 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 20px;
  line-height: 1.7;
  font-weight: 900;
}

.market-mother-card p,
.market-section p {
  margin: 0;
  color: #5b6b7d;
  font-size: 13px;
  line-height: 1.9;
}

.market-index-card,
.market-link-grid a,
.market-cross-grid a {
  border: 1px solid #dbe6f2;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 5px;
}

.market-index-card span,
.market-index-card small,
.market-cross-grid b {
  color: #78899a;
  font-size: 12px;
}

.market-index-card strong {
  color: var(--primary-dark);
  font-size: 22px;
  line-height: 1.5;
}

.market-index-card.up small,
.market-cross-grid a:nth-child(1) b,
.market-cross-grid a:nth-child(4) b { color: #187142; }
.market-index-card.down small { color: #b42318; }
.market-index-card.neutral small { color: #6d7480; }

.market-section {
  padding: 18px;
}

.market-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.market-section-head span {
  color: #7a8ca0;
  font-size: 11px;
  font-weight: 800;
}

.market-summary {
  border-right: 4px solid var(--accent-gold);
}

.market-status-center {
  background:
    radial-gradient(circle at 10% 12%, rgba(245, 169, 0, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.market-status-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.95fr;
  gap: 12px;
}

.market-status-panel {
  border: 1px solid #dbe6f2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 14px;
  min-width: 0;
}

.market-status-panel h3 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 900;
}

.market-status-list,
.market-exchange-list,
.market-fx-list,
.market-calendar-list {
  display: grid;
  gap: 8px;
}

.market-status-row,
.market-exchange-item,
.market-fx-item,
.market-calendar-item {
  display: grid;
  align-items: center;
  gap: 8px;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  padding: 9px 10px;
}

.market-status-row {
  grid-template-columns: 1fr 1fr auto;
}

.market-status-row strong,
.market-exchange-item strong,
.market-fx-item strong,
.market-calendar-item strong {
  color: var(--primary-dark);
  font-size: 13px;
  line-height: 1.6;
}

.page-market-hub .market-status-row strong {
  display: grid;
  gap: 1px;
}

.page-market-hub .market-status-center {
  padding: 20px;
}

.page-market-hub .market-status-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.page-market-hub .market-status-panel h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f7;
}

.page-market-hub .market-status-row {
  grid-template-columns: 1fr minmax(118px, auto);
  grid-template-areas:
    "label value"
    "label change";
  min-height: 58px;
  padding: 10px 12px;
  border-color: #e4ecf5;
  box-shadow: 0 4px 12px rgba(6, 39, 68, 0.035);
}

.page-market-hub .market-status-row:nth-child(odd),
.page-market-hub .market-exchange-item:nth-child(odd),
.page-market-hub .market-fx-item:nth-child(odd),
.page-market-hub .market-calendar-item:nth-child(odd) {
  background: #fbfdff;
}

.page-market-hub .market-status-row:nth-child(even),
.page-market-hub .market-exchange-item:nth-child(even),
.page-market-hub .market-fx-item:nth-child(even),
.page-market-hub .market-calendar-item:nth-child(even) {
  background: #f5f9fd;
}

.page-market-hub .market-status-name {
  grid-area: label;
  align-self: center;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "dot name"
    "dot sub";
  column-gap: 8px;
  row-gap: 4px;
  color: #4f6175;
}

.page-market-hub .market-status-name .market-status-dot {
  grid-area: dot;
  align-self: center;
}

.page-market-hub .market-status-name-text {
  grid-area: name;
  color: #4f6175;
  font-weight: 900;
}

.page-market-hub .market-status-name-sub {
  grid-area: sub;
  color: #7a8796;
  font-size: 11px;
  font-weight: 800;
}

.page-market-hub .market-status-price,
.page-market-hub .market-fx-rate,
.page-market-hub .market-exchange-value {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 900;
  direction: ltr;
  unicode-bidi: embed;
}

.page-market-hub .market-status-row .market-status-change {
  grid-area: change;
  min-width: 62px;
  border-radius: 999px;
  background: rgba(24, 113, 66, 0.08);
  padding: 4px 8px;
  text-align: center;
  justify-self: end;
}

.page-market-hub .market-status-row strong {
  grid-area: value;
  justify-self: end;
  text-align: left;
}

.page-market-hub .market-status-row strong small {
  display: none;
}

.page-market-hub .market-status-row .market-status-change.is-down {
  background: rgba(180, 35, 24, 0.08);
}

.page-market-hub .market-status-row .market-status-change.is-neutral {
  background: rgba(109, 116, 128, 0.1);
}

.page-market-hub .market-status-row strong small,
.page-market-hub .market-fx-item small,
.page-market-hub .market-exchange-item small {
  color: #7a8796;
  font-size: 11px;
  font-weight: 800;
}

.page-market-hub .market-fx-item small b,
.page-market-hub .market-exchange-item small b {
  margin-left: 5px;
}

.page-market-hub .market-exchange-item,
.page-market-hub .market-fx-item {
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name value"
    "meta meta";
  min-height: 66px;
  padding: 11px 12px;
  border-color: #e4ecf5;
  box-shadow: 0 4px 12px rgba(6, 39, 68, 0.035);
}

.page-market-hub .market-exchange-item strong,
.page-market-hub .market-fx-item strong {
  grid-area: name;
}

.page-market-hub .market-exchange-value,
.page-market-hub .market-fx-rate {
  grid-area: value;
  justify-self: end;
}

.page-market-hub .market-exchange-item small,
.page-market-hub .market-fx-item small {
  grid-area: meta;
}

.market-status-row span,
.market-exchange-item span,
.market-fx-item span,
.market-calendar-item span {
  color: #687b8e;
  font-size: 12px;
  line-height: 1.6;
}

.market-status-name {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
}

.market-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.market-status-dot.is-red { background: #df3b30; }
.market-status-dot.is-green { background: #1f9d55; }
.market-status-dot.is-neutral { background: #a4adba; }

.market-status-change {
  direction: ltr;
  unicode-bidi: embed;
  justify-self: end;
  font-size: 13px;
  font-weight: 900;
}

.market-status-change.is-up { color: #187142; }
.market-status-change.is-down { color: #b42318; }
.market-status-change.is-neutral { color: #6d7480; }

.market-exchange-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-exchange-item,
.market-fx-item,
.market-calendar-item {
  grid-template-columns: 1fr auto;
}

.market-fx-item small {
  color: #8b98a8;
  font-size: 11px;
  line-height: 1.6;
}

.market-calendar-time {
  border-radius: 999px;
  background: #fff4d7;
  color: #9a6800;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
}

.market-chart-box {
  min-height: 260px;
  border: 1px dashed #cddbeb;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
  display: grid;
  place-items: center;
  color: #5b6b7d;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.market-link-grid a,
.market-cross-grid a {
  color: #274a69;
  font-size: 13px;
  font-weight: 900;
}

.market-content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-content-grid article {
  padding: 16px;
  display: grid;
  gap: 9px;
}

.market-content-grid a {
  border-bottom: 1px solid #edf2f7;
  color: #31546f;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.8;
  padding-bottom: 7px;
}

.market-faq {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.market-faq details {
  border: 1px solid #dbe6f2;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}

.market-faq summary {
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 900;
}

.market-journey {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.market-journey a {
  border: 1px solid #dbe6f2;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  text-decoration: none;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  font-weight: 900;
}

/* ==================== GOLD HUB PAGE ==================== */
.page-gold-hub .gold-hub-hero {
  min-height: 300px;
  background:
    radial-gradient(circle at 14% 16%, rgba(245, 169, 0, 0.28), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #061f36 0%, #0d385c 58%, #4d3507 100%);
}

.page-gold-hub .gold-dashboard {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.page-gold-hub .gold-dashboard .market-index-card {
  min-width: 0;
  min-height: 132px;
  padding: 14px 10px;
  align-content: space-between;
  justify-items: center;
  text-align: center;
}

.page-gold-hub .gold-dashboard .market-index-card span,
.page-gold-hub .gold-dashboard .market-index-card small {
  font-size: 12px;
}

.page-gold-hub .gold-dashboard .market-index-card strong {
  font-size: clamp(18px, 1.32vw, 22px);
  line-height: 1.45;
  white-space: nowrap;
}

.gold-tv-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid #d8e4ef;
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 15%, rgba(245, 169, 0, 0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f6fbff 58%, #fff5dc 100%);
  color: inherit;
  padding: 16px;
  text-decoration: none;
}

.gold-tv-card > i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0c3f69;
  color: #fff4d7;
  font-size: 20px;
}

.gold-tv-card strong {
  display: block;
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.7;
}

.gold-tv-card p {
  margin: 2px 0 0;
  color: #53677a;
  font-size: 13px;
  line-height: 1.9;
}

.gold-tv-card span {
  border-radius: 999px;
  background: var(--accent-gold);
  color: #fff;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.page-gold-hub .gold-ai-summary p + p,
.page-gold-hub .gold-seo-content p + p {
  margin-top: 10px;
}

.gold-chart-box {
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(90deg, rgba(6, 39, 68, 0.07) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(6, 39, 68, 0.06) 0 1px, transparent 1px 52px),
    linear-gradient(135deg, #f8fbff 0%, #fff8e7 100%);
}

.gold-chart-box strong {
  display: block;
  color: var(--primary-dark);
  font-size: 20px;
  margin-bottom: 6px;
}

.gold-product-grid,
.gold-ecosystem-grid,
.gold-tool-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gold-product-grid article,
.gold-ecosystem-card,
.gold-tool-category-grid article,
.gold-comment-list article {
  border: 1px solid #dbe6f2;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.gold-ecosystem-card {
  color: inherit;
  text-decoration: none;
}

.gold-ecosystem-card h3,
.gold-ecosystem-card p,
.gold-ecosystem-card span,
.gold-ecosystem-card small,
.gold-ecosystem-card strong {
  text-decoration: none;
}

.gold-ecosystem-card,
.gold-tool-category-grid article {
  position: relative;
  overflow: hidden;
}

.gold-ecosystem-card::before,
.gold-tool-category-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), #e09100);
}

.gold-ecosystem-card i,
.gold-tool-category-grid i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff4d7;
  color: #9a6800;
  font-size: 18px;
}

.gold-product-grid h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 900;
}

.gold-ecosystem-card h3,
.gold-tool-category-grid h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 900;
}

.gold-ecosystem-card p {
  min-height: 88px;
}

.gold-card-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.gold-card-stats span {
  border-radius: 999px;
  background: #eef5fc;
  color: #38546d;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.gold-ecosystem-card strong {
  margin-top: 4px;
  color: #0c3f69;
  font-size: 12px;
}

.gold-ecosystem-card > small {
  width: fit-content;
  border-radius: 999px;
  background: #fff4d7;
  color: #7a5400;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 900;
  direction: ltr;
  unicode-bidi: embed;
}

.gold-product-grid a {
  color: #31546f;
  border-bottom: 1px solid #edf2f7;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.8;
  padding-bottom: 5px;
}

.gold-tool-category-grid a {
  border-bottom: 1px solid #edf2f7;
  color: #31546f;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.8;
  padding-bottom: 5px;
}

.gold-product-grid a:hover,
.gold-ecosystem-card:hover strong,
.gold-tool-category-grid a:hover,
.market-content-grid a:hover,
.gold-comment-btn:hover {
  color: var(--accent-gold);
}

.gold-tool-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gold-seo-content {
  background:
    radial-gradient(circle at 10% 12%, rgba(245, 169, 0, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.gold-seo-content p {
  font-size: 14px;
  line-height: 2.15;
}

.gold-ask-link {
  flex: 1 1 auto;
  margin-top: 14px;
}

.gold-comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gold-comment-list strong {
  color: var(--primary-dark);
  font-size: 14px;
}

.gold-comment-btn {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  border-radius: 999px;
  border: 1px solid #d5e3f1;
  background: #fff;
  color: #17496f;
  padding: 9px 13px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

/* ==================== PARSIAN PILLAR PAGE ==================== */
.page-parsian-pillar .market-section {
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  background: #fff;
}

.page-parsian-pillar .market-shell > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.page-parsian-pillar .breadcrumb-list {
  gap: 10px;
}

.page-parsian-pillar .breadcrumb-list li:not(:last-child)::after {
  content: ">";
  margin-inline-start: 10px;
  color: #9aacbf;
  font-weight: 900;
}

.parsian-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.parsian-hero-copy,
.parsian-hero-copy .market-hero-actions {
  min-width: 0;
}

.parsian-hero-copy .market-hero-actions {
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
}

.parsian-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.parsian-hero-facts span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}

.parsian-hero-dashboard {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  padding: 18px;
  color: #fff;
  display: grid;
  gap: 14px;
}

.parsian-hero-dashboard > span {
  width: fit-content;
  border-radius: 999px;
  background: rgba(245, 169, 0, 0.18);
  color: #ffd36d;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
}

.parsian-hero-dashboard > strong {
  font-size: 30px;
  line-height: 1.5;
}

.parsian-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.parsian-dashboard-grid div {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(5, 30, 52, 0.28);
  padding: 10px;
  display: grid;
  gap: 5px;
}

.parsian-dashboard-grid small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
}

.parsian-dashboard-grid b {
  color: #fff;
  font-size: 14px;
}

.parsian-info-button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: #fff;
  color: #0c3f69;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.page-parsian-pillar .market-section-head {
  direction: ltr;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "hint title";
  align-items: center;
  gap: 12px;
}

.page-parsian-pillar .market-section-head h2 {
  grid-area: title;
  justify-self: end;
  margin: 0;
  color: var(--primary-dark);
  text-align: right;
  direction: rtl;
}

.page-parsian-pillar .market-section-head span {
  grid-area: hint;
  justify-self: start;
  border: 1px solid #d5e3f1;
  border-radius: 999px;
  background: #f7fbff;
  color: #6f8194;
  padding: 6px 11px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  direction: rtl;
}

.parsian-hero .parsian-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.parsian-hero .parsian-badges span,
.parsian-selected-card > div,
.parsian-chart-stats article,
.parsian-summary-grid article,
.parsian-finder-result,
.parsian-recommendation {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 11px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.parsian-weight-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.parsian-weight-card button,
.parsian-guide-grid button,
.parsian-budget-grid button,
.parsian-table-controls button,
.parsian-finder button {
  border: 1px solid #d8e4ef;
  border-radius: 999px;
  background: #f7fbff;
  color: #17496f;
  padding: 9px 13px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.parsian-weight-card.is-active button,
.parsian-table-controls button,
.parsian-finder button {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  color: #fff;
}

.parsian-weight-card-strip {
  gap: 12px;
  padding: 4px 0 12px;
}

.parsian-weight-card {
  flex: 0 0 190px;
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 10px;
  display: grid;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.parsian-weight-card:hover {
  transform: translateY(-3px);
  border-color: #f5c24b;
  box-shadow: 0 14px 30px rgba(12, 63, 105, 0.12);
}

.parsian-weight-card.is-active {
  flex-basis: 230px;
  border-color: var(--accent-gold);
  box-shadow: 0 18px 38px rgba(245, 169, 0, 0.18);
}

.parsian-weight-card button {
  width: 100%;
  border-radius: 14px;
  background: #fff;
  color: #17496f;
  display: grid;
  gap: 5px;
  text-align: right;
  white-space: normal;
}

.parsian-weight-card button strong {
  color: var(--primary-dark);
  font-size: 18px;
}

.parsian-weight-card button small {
  color: #60758a;
  line-height: 1.8;
}

.parsian-weight-card.is-active button strong,
.parsian-weight-card.is-active button small {
  color: #fff;
}

.parsian-weight-card a,
.parsian-detail-link {
  border-radius: 999px;
  background: #eef5fb;
  color: #17496f;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.parsian-selected-card {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.parsian-selected-card > div {
  min-height: 108px;
  border-color: #dbe6f2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #5b6b7d;
  display: grid;
  align-content: space-between;
}

.parsian-selected-card span,
.parsian-chart-stats span,
.parsian-summary-grid span {
  color: #78899a;
  font-size: 11px;
}

.parsian-selected-card strong,
.parsian-chart-stats strong,
.parsian-summary-grid strong,
.parsian-finder-result strong,
.parsian-recommendation strong {
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.7;
}

.parsian-selected-card small {
  color: #60758a;
  font-size: 11px;
}

.parsian-selected-card .is-up,
.parsian-price-table td:nth-child(5) {
  color: #187142;
}

.parsian-selected-card > a {
  min-height: 108px;
  border-radius: 14px;
  background: #0c3f69;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.parsian-table-controls,
.parsian-compare-controls,
.parsian-finder {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.parsian-table-controls-simple {
  grid-template-columns: 1.5fr 1fr auto;
}

.parsian-table-note {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce8f3;
  border-radius: 14px;
  background: #f7fbff;
  color: #38546d;
  padding: 11px 13px;
  margin-bottom: 12px;
}

.parsian-table-note i {
  color: var(--accent-gold);
  font-size: 18px;
}

.parsian-table-note p {
  margin: 0;
  color: #38546d;
  font-size: 13px;
  line-height: 1.9;
}

.parsian-table-controls input,
.parsian-table-controls select,
.parsian-compare-controls select,
.parsian-finder select {
  width: 100%;
  border: 1px solid #d8e4ef;
  border-radius: 12px;
  background: #fff;
  color: #24465f;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
}

.parsian-table-wrap {
  overflow-x: auto;
}

.parsian-price-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 14px;
}

.parsian-price-info {
  width: 28px;
  height: 28px;
  margin-inline-end: 6px;
  border: 1px solid #d8e4ef;
  border-radius: 999px;
  background: #fff;
  color: #0c3f69;
  cursor: pointer;
}

.parsian-price-table th,
.parsian-price-table td {
  border-bottom: 1px solid #e7eef6;
  padding: 15px 12px;
  text-align: right;
  white-space: nowrap;
}

.parsian-price-table th {
  color: var(--primary-dark);
  background: #edf4fb;
  font-weight: 900;
}

.parsian-price-table-clean tbody tr:nth-child(odd) {
  background: #ffffff;
}

.parsian-price-table-clean tbody tr:nth-child(even) {
  background: #f7fbff;
}

.parsian-price-table-clean tbody tr:hover {
  background: #fff7e5;
}

.parsian-price-table-clean td:nth-child(1) {
  font-weight: 900;
  color: var(--primary-dark);
}

.parsian-price-table-clean td:nth-child(3) {
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 900;
}

.parsian-price-table-clean td:nth-child(4),
.parsian-price-table-clean td:nth-child(5) {
  font-weight: 900;
}

.parsian-price-table a,
.parsian-topic-grid a,
.parsian-tool-grid a,
.parsian-brand-card {
  color: inherit;
  text-decoration: none;
}

.parsian-chart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
}

.parsian-chart-canvas {
  min-height: 360px;
}

.parsian-chart-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.parsian-chart-tabs button {
  width: 100%;
  border: 1px solid #d8e4ef;
  border-radius: 12px;
  background: #f7fbff;
  color: #17496f;
  padding: 10px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.parsian-chart-stats,
.parsian-summary-grid,
.parsian-brand-grid,
.parsian-stat-grid,
.parsian-benefit-grid,
.parsian-tool-grid,
.parsian-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.parsian-stat-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.parsian-brand-grid-sponsored {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.parsian-sponsor-note {
  border-right: 4px solid var(--accent-gold);
  border-radius: 12px;
  background: #fff9eb;
  color: #6a4c12;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 900;
}

.parsian-chart-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.parsian-chart-stats article,
.parsian-stat-grid article,
.parsian-benefit-grid article,
.parsian-summary-grid article,
.parsian-finder-result,
.parsian-recommendation {
  border-color: #dbe6f2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #53677a;
}

.parsian-brand-card,
.parsian-tool-grid a,
.parsian-topic-grid a {
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.parsian-tool-card-grid a {
  min-height: 178px;
  align-content: space-between;
}

.parsian-tool-card-grid em {
  width: fit-content;
  border-radius: 999px;
  background: #0c3f69;
  color: #fff;
  padding: 7px 10px;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.parsian-brand-card i,
.parsian-tool-grid i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff4d7;
  color: #9a6800;
}

.parsian-brand-card h3,
.parsian-tool-grid strong {
  margin: 0;
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 900;
}

.parsian-brand-card p,
.parsian-tool-grid span,
.parsian-summary-grid p,
.parsian-finder-result p,
.parsian-recommendation p {
  margin: 0;
  color: #5b6b7d;
  font-size: 12px;
  line-height: 1.9;
}

.parsian-brand-card > span {
  color: #9a6800;
  font-size: 11px;
  font-weight: 900;
}

.parsian-guide-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.parsian-guide-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.parsian-guide-card-grid button {
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #17496f;
  min-height: 136px;
  display: grid;
  place-items: center;
  white-space: normal;
}

.parsian-guide-card-grid i {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff4d7;
  color: #9a6800;
  font-size: 20px;
}

.parsian-guide-card-grid strong,
.parsian-guide-card-grid small {
  display: block;
}

.parsian-tool-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.parsian-compare-table {
  display: grid;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  overflow: hidden;
}

.parsian-compare-table div {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid #edf2f7;
}

.parsian-compare-table div:last-child {
  border-bottom: 0;
}

.parsian-compare-table b,
.parsian-compare-table span {
  padding: 10px;
  font-size: 12px;
}

.parsian-compare-table b {
  background: #f3f7fb;
  color: var(--primary-dark);
}

.parsian-finder {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.parsian-finder-product {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.parsian-budget-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.parsian-budget-grid button {
  border-radius: 16px;
  min-height: 78px;
  background: #f7fbff;
  color: #17496f;
  font-size: 16px;
}

.parsian-benefit-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.parsian-benefit-grid article {
  padding: 14px;
}

.parsian-benefit-grid i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff4d7;
  color: #9a6800;
}

.parsian-benefit-grid strong,
.parsian-stat-grid strong {
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.6;
}

.parsian-benefit-grid p {
  margin: 0;
  color: #5b6b7d;
  font-size: 12px;
  line-height: 1.8;
}

.parsian-spec-table {
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  overflow: hidden;
}

.parsian-spec-table div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-bottom: 1px solid #edf2f7;
}

.parsian-spec-table div:last-child {
  border-bottom: 0;
}

.parsian-spec-table b,
.parsian-spec-table span {
  padding: 13px 14px;
  font-size: 13px;
  line-height: 1.9;
}

.parsian-spec-table b {
  background: #f3f7fb;
  color: var(--primary-dark);
}

.parsian-formula-box {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid #dbe6f2;
  border-right: 5px solid var(--accent-gold);
  border-radius: 16px;
  background: #fffaf0;
  padding: 16px;
}

.parsian-formula-box > i {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff4d7;
  color: #9a6800;
  font-size: 22px;
}

.parsian-formula-box strong {
  color: var(--primary-dark);
  font-size: 18px;
}

.parsian-formula-box p {
  margin: 8px 0 0;
  color: #38546d;
  line-height: 2;
}

.parsian-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #0c3f69 0%, #082b49 100%) !important;
  color: #fff;
}

.parsian-cta span {
  color: #ffd36d;
  font-size: 12px;
  font-weight: 900;
}

.parsian-cta h2,
.parsian-cta p {
  margin: 6px 0 0;
  color: #fff;
}

.parsian-cta p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

.parsian-cta a {
  border-radius: 999px;
  background: var(--accent-gold);
  color: #fff;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.parsian-finder label {
  color: #53677a;
  font-size: 12px;
  font-weight: 900;
  display: grid;
  gap: 6px;
}

.parsian-topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.parsian-topic-grid a {
  min-height: 58px;
  align-content: center;
  color: #17496f;
  font-size: 12px;
  font-weight: 900;
}

.parsian-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.parsian-faq details {
  margin: 0;
}

@media (max-width: 1100px) {
  .market-mother-grid,
  .market-index-grid,
  .market-content-grid,
  .gold-product-grid,
  .gold-ecosystem-grid,
  .gold-tool-category-grid,
  .market-status-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-gold-hub .gold-dashboard,
  .gold-tool-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .parsian-selected-card,
  .parsian-brand-grid,
  .parsian-stat-grid,
  .parsian-benefit-grid,
  .parsian-tool-grid,
  .parsian-summary-grid,
  .parsian-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parsian-brand-grid-sponsored {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parsian-guide-grid,
  .parsian-guide-card-grid,
  .parsian-finder,
  .parsian-table-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .parsian-table-controls-simple,
  .parsian-finder-product {
    grid-template-columns: 1fr 1fr;
  }

  .parsian-chart-layout {
    grid-template-columns: 1fr;
  }

  .parsian-hero {
    grid-template-columns: 1fr;
  }

  .parsian-chart-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-status-panel-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .page-parsian-pillar,
  .page-parsian-pillar * {
    box-sizing: border-box;
  }

  .page-parsian-pillar .market-shell,
  .page-parsian-pillar .market-hero,
  .page-parsian-pillar .market-section,
  .page-parsian-pillar .market-hero > div,
  .page-parsian-pillar .market-content-grid article {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-parsian-pillar .market-hero {
    overflow: hidden;
  }

  .page-parsian-pillar .market-section-head {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "hint title";
    align-items: start;
  }

  .page-parsian-pillar .market-section-head h2 {
    font-size: 20px;
    line-height: 1.7;
  }

  .page-parsian-pillar .market-section-head span {
    padding: 5px 10px;
    font-size: 10px;
  }

  .market-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .market-hero-actions {
    flex: 1 1 auto;
    width: 100%;
  }

  .market-hero-actions a,
  .market-hero-actions button {
    width: 100%;
    text-align: center;
  }

  .market-mother-grid,
  .market-index-grid,
  .market-content-grid,
  .market-link-grid,
  .market-cross-grid,
  .market-journey,
  .market-status-layout,
  .market-status-row,
  .market-exchange-list,
  .market-fx-list,
  .gold-product-grid,
  .gold-ecosystem-grid,
  .gold-tool-category-grid,
  .gold-tool-grid,
  .gold-comment-list,
  .page-gold-hub .gold-dashboard {
    grid-template-columns: 1fr;
  }

  .market-status-change {
    justify-self: start;
  }

  .page-gold-hub .gold-dashboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .page-gold-hub .gold-dashboard .market-index-card {
    min-height: 112px;
    padding: 10px 8px;
  }

  .page-gold-hub .gold-dashboard .market-index-card:nth-child(16) {
    display: none;
  }

  .page-gold-hub .gold-dashboard .market-index-card strong {
    font-size: clamp(15px, 4.35vw, 19px);
  }

  .parsian-hero .parsian-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .page-parsian-pillar .market-hero {
    min-height: auto;
    padding: 18px 14px;
  }

  .parsian-hero-dashboard {
    width: 100%;
  }

  .page-parsian-pillar .market-hero h1 {
    font-size: 24px;
    line-height: 1.75;
  }

  .page-parsian-pillar .market-hero p {
    font-size: 13px;
    line-height: 2;
  }

  .parsian-hero .parsian-badges span,
  .page-parsian-pillar .market-meta span,
  .page-parsian-pillar .market-hero-actions a,
  .page-parsian-pillar .market-hero-actions button {
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  .page-parsian-pillar .market-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    flex: 0 1 auto;
    width: 100%;
  }

  .page-parsian-pillar .market-hero-actions a,
  .page-parsian-pillar .market-hero-actions button {
    width: 100%;
  }

  .parsian-weight-tabs {
    margin-inline: -18px;
    padding-inline: 18px;
    width: calc(100% + 36px);
    max-width: calc(100% + 36px);
  }

  .parsian-selected-card,
  .parsian-brand-grid,
  .parsian-stat-grid,
  .parsian-benefit-grid,
  .parsian-tool-grid,
  .parsian-summary-grid,
  .parsian-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parsian-guide-card-grid,
  .parsian-budget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parsian-selected-card > a {
    grid-column: 1 / -1;
  }

  .parsian-table-controls,
  .parsian-compare-controls,
  .parsian-finder {
    grid-template-columns: 1fr;
  }

  .parsian-table-controls-simple,
  .parsian-finder-product {
    grid-template-columns: 1fr;
  }

  .parsian-price-table {
    font-size: 13px;
    min-width: 0;
  }

  .parsian-price-table th,
  .parsian-price-table td {
    padding: 13px 10px;
  }

  .parsian-price-table,
  .parsian-price-table thead,
  .parsian-price-table tbody,
  .parsian-price-table tr,
  .parsian-price-table th,
  .parsian-price-table td {
    display: block;
    width: 100%;
  }

  .parsian-price-table thead {
    display: none;
  }

  .parsian-price-table-clean tbody {
    display: grid;
    gap: 10px;
  }

  .parsian-price-table-clean tbody tr {
    border: 1px solid #dbe6f2;
    border-radius: 14px;
    padding: 10px;
    display: grid;
    gap: 6px;
  }

  .parsian-price-table-clean tbody tr:nth-child(odd) {
    background: #fff;
  }

  .parsian-price-table-clean tbody tr:nth-child(even) {
    background: #f4f9ff;
  }

  .parsian-price-table-clean td {
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 4px;
    white-space: normal;
  }

  .parsian-price-table-clean td::before {
    content: attr(data-label);
    color: #78899a;
    font-size: 12px;
    font-weight: 900;
  }

  .parsian-price-table-clean td:nth-child(1),
  .parsian-price-table-clean td:nth-child(3) {
    font-size: 16px;
  }

  .parsian-spec-table div,
  .parsian-formula-box,
  .parsian-cta {
    grid-template-columns: 1fr;
  }

  .parsian-faq {
    grid-template-columns: 1fr;
  }

  .parsian-cta a {
    text-align: center;
  }

  .parsian-guide-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-inline: -18px;
    padding-inline: 18px;
    padding-bottom: 8px;
  }

  .parsian-guide-grid button {
    min-width: 132px;
  }

  .parsian-chart-layout {
    grid-template-columns: 1fr;
  }

  .parsian-compare-table {
    overflow-x: auto;
  }

  .parsian-compare-table div {
    min-width: 560px;
  }

  .parsian-faq {
    columns: 1;
  }

  .gold-tv-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .gold-tv-card span {
    width: 100%;
    text-align: center;
  }

  .market-hero h1 {
    font-size: 25px;
  }
}

@media (max-width: 768px) {
  .tool-hero h1 {
    font-size: 25px;
  }

  .tool-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== TOOLS HUB PAGE ==================== */
.tools-hub-page {
  margin: 16px 0 30px;
}

.tools-hub-hero {
  border: 1px solid #d6e4f2;
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 16%, rgba(245, 169, 0, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  padding: 14px;
}

.tools-hub-hero h1 {
  margin: 0;
  color: #113f62;
  font-size: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tools-hub-hero h1 i {
  color: #f5a900;
}

.tools-hub-hero p {
  margin: 7px 0 0;
  color: #5a7893;
  font-size: 14px;
  line-height: 1.9;
}

.tools-hub-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tools-hub-card {
  border: 1px solid #dce7f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(7, 36, 61, 0.06);
  padding: 12px;
  text-decoration: none;
  display: grid;
  gap: 7px;
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tools-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(11, 49, 80, 0.1);
}

.tools-hub-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f3e63;
  background: linear-gradient(135deg, #f8cc6b 0%, #f5a900 100%);
}

.tools-hub-card h2 {
  margin: 0;
  color: #123f62;
  font-size: 18px;
  line-height: 1.7;
}

.tools-hub-card p {
  margin: 0;
  color: #5f7d97;
  font-size: 13px;
  line-height: 1.85;
}

@media (max-width: 1024px) {
  .tools-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .tools-hub-hero h1 {
    font-size: 24px;
  }

  .tools-hub-grid {
    grid-template-columns: 1fr;
  }
}

.askq-tone-expert {
  border-color: #f1d9a4;
  background:
    radial-gradient(circle at 90% 8%, rgba(245, 169, 0, 0.2), transparent 30%),
    linear-gradient(145deg, #fffdf7 0%, #fff5df 100%);
}

.askq-tone-ai {
  border-color: #cfdef7;
  background:
    radial-gradient(circle at 16% 10%, rgba(88, 148, 255, 0.16), transparent 38%),
    linear-gradient(145deg, #fbfdff 0%, #f0f7ff 100%);
}

.askq-tone-community {
  border-color: #d4eadf;
  background:
    radial-gradient(circle at 85% 18%, rgba(42, 154, 97, 0.14), transparent 35%),
    linear-gradient(145deg, #fbfffd 0%, #eef9f3 100%);
}

.askq-tone-comments {
  border-color: #e0def8;
  background:
    radial-gradient(circle at 90% 20%, rgba(113, 96, 218, 0.13), transparent 34%),
    linear-gradient(145deg, #fefeff 0%, #f7f5ff 100%);
}

.askq-tone-related {
  border-color: #dce8f3;
  background: linear-gradient(145deg, #ffffff 0%, #f6fbff 100%);
}

.askq-tone-news {
  border-color: #f0d9c9;
  background:
    radial-gradient(circle at 90% 16%, rgba(233, 123, 64, 0.12), transparent 34%),
    linear-gradient(145deg, #fffdfa 0%, #fff2e9 100%);
}

.askq-tone-article {
  border-color: #d5e8dc;
  background:
    radial-gradient(circle at 14% 8%, rgba(74, 140, 93, 0.14), transparent 36%),
    linear-gradient(145deg, #fcfffd 0%, #f1faf4 100%);
}

.askq-tone-prices {
  border-color: #d8e2f3;
  background:
    radial-gradient(circle at 85% 16%, rgba(26, 90, 170, 0.12), transparent 35%),
    linear-gradient(145deg, #fcfdff 0%, #f2f7ff 100%);
}

.askq-tone-share {
  border-color: #e2deef;
  background:
    radial-gradient(circle at 18% 14%, rgba(122, 82, 178, 0.14), transparent 36%),
    linear-gradient(145deg, #fefeff 0%, #f8f4ff 100%);
}

.wp-page {
  margin: 18px 0 30px;
}

.wp-page .container {
  display: grid;
  gap: 12px;
}

.wp-page .container > section {
  animation: wpFadeIn 0.45s ease both;
}

.wp-hero,
.wp-card {
  border: 1px solid #dce7f3;
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 7px 18px rgba(7, 36, 61, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wp-hero:hover,
.wp-card:hover {
  box-shadow: 0 10px 22px rgba(7, 36, 61, 0.09);
  border-color: #d1e0ef;
}

.wp-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 169, 0, 0.13), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  display: grid;
  grid-template-columns: 1.2fr 300px;
  gap: 14px;
  align-items: start;
}

.wp-hero h1 {
  margin: 0;
  color: #103f63;
  font-size: 31px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wp-hero h1 i {
  color: #f5a900;
}

.wp-hero p {
  margin: 6px 0 0;
  color: #5f7d97;
  font-size: 14px;
}

.wp-hero-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wp-hero-tags span {
  border: 1px solid #d5e3f0;
  background: #f8fbff;
  color: #2f5879;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.wp-city-picker {
  border: 1px solid #d8e4f2;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  padding: 10px;
  display: grid;
  gap: 7px;
}

.wp-city-picker label {
  color: #335b7b;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wp-city-picker label i {
  color: #f5a900;
}

.wp-city-search-wrap,
.wp-city-select-wrap {
  position: relative;
}

.wp-city-search-wrap i,
.wp-city-select-wrap i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #7b95ad;
  font-size: 12px;
  pointer-events: none;
}

.wp-city-search-wrap input {
  width: 100%;
  border: 1px solid #d5e3f0;
  border-radius: 8px;
  padding: 8px 30px 8px 10px;
  font-family: inherit;
  font-size: 13px;
  color: #123e62;
  background: #f9fcff;
}

.wp-city-picker select {
  width: 100%;
  appearance: none;
  border: 1px solid #d5e3f0;
  border-radius: 8px;
  padding: 8px 30px 8px 10px;
  font-family: inherit;
  font-size: 14px;
  color: #123e62;
  background: #f9fcff;
}

.wp-city-picker small {
  color: #6a859e;
  font-size: 12px;
}

.wp-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.wp-dashboard-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(245, 169, 0, 0.16), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(13, 74, 120, 0.12), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f5faff 100%);
}

.wp-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.wp-dashboard-head h2 {
  margin: 0;
  color: #0f3f62;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wp-dashboard-head h2 i {
  color: #f5a900;
}

.wp-dashboard-clock-wrap {
  border: 1px solid #d8e4f1;
  border-radius: 12px;
  background: #fff;
  padding: 7px 10px;
  text-align: center;
}

.wp-dashboard-clock-wrap span {
  display: block;
  color: #6b859f;
  font-size: 11px;
}

.wp-dashboard-clock-wrap strong {
  color: #0f4f74;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.wp-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wp-db-main,
.wp-db-side {
  border: 1px solid #d9e6f2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
}

.wp-db-weather-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wp-db-weather-line i {
  color: #f5a900;
  font-size: 32px;
}

.wp-db-weather-line strong {
  color: #0e577c;
  font-size: 42px;
  line-height: 1;
  display: block;
}

.wp-db-weather-line span {
  color: #4e6f8a;
  font-size: 14px;
}

.wp-db-dates {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.wp-db-dates p,
.wp-db-side p {
  margin: 0;
  color: #2f5a7b;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wp-db-dates p i,
.wp-db-side p i {
  color: #f5a900;
}

.wp-db-side strong {
  color: #0f4a6f;
  font-size: 16px;
}

.wp-db-countdown {
  margin-top: 8px !important;
  border: 1px solid rgba(245, 169, 0, 0.48);
  border-radius: 10px;
  background: #fff6e2;
  padding: 7px 8px;
  font-weight: 700;
}

.wp-db-countdown strong {
  color: #86560a;
  font-variant-numeric: tabular-nums;
}

.wp-prayer-card {
  background:
    radial-gradient(circle at 92% 16%, rgba(245, 169, 0, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
  border-color: #cfe0f1;
}

.wp-prayer-card h2 {
  font-size: 24px;
}

.wp-weather-side {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.wp-weather-side h2 {
  font-size: 19px;
}

.wp-card h2 {
  margin: 0 0 10px;
  color: #123f62;
  font-size: 21px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.wp-card h2 i {
  color: #f5a900;
}

.wp-current-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
}

.wp-temp-box {
  border: 1px solid #d7e4f1;
  border-radius: 12px;
  background: #f8fbff;
  padding: 10px;
  text-align: center;
  display: grid;
  gap: 4px;
}

.wp-temp-box i {
  color: #f5a900;
  font-size: 26px;
}

.wp-temp-box strong {
  color: #0e557a;
  font-size: 44px;
  line-height: 1;
}

.wp-temp-box span {
  color: #476984;
  font-size: 14px;
}

.wp-current-metrics {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wp-current-metrics li {
  border: 1px solid #dce8f3;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wp-current-metrics li span {
  color: #648099;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wp-current-metrics li span i {
  color: #f5a900;
}

.wp-current-metrics li strong {
  color: #13476a;
  font-size: 14px;
}

.wp-sun-row {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wp-sun-row span {
  border: 1px solid #dbe7f3;
  border-radius: 999px;
  background: #f8fbff;
  padding: 5px 10px;
  color: #31597a;
  font-size: 12px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.wp-prayer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.wp-prayer-list li {
  border: 1px solid #dce8f3;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.wp-prayer-list li span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.wp-prayer-list li span i {
  color: #7e96ad;
}

.wp-prayer-list li span {
  color: #597893;
  font-size: 13px;
}

.wp-prayer-list li strong {
  color: #113f61;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.wp-next-prayer {
  margin: 10px 0 0;
  color: #7a5619;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.wp-weather-side .wp-temp-box strong {
  font-size: 38px;
}

.wp-prayer-item.is-next {
  border-color: rgba(245, 169, 0, 0.7);
  background: linear-gradient(180deg, #fffdf7 0%, #fff3d6 100%);
  transform: translateY(-1px);
}

.wp-prayer-item.is-next span,
.wp-prayer-item.is-next strong,
.wp-prayer-item.is-next span i {
  color: #8b5a0f;
}

.wp-prayer-item.is-next strong {
  font-size: 25px;
}

.wp-forecast-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.wp-day-card {
  border: 1px solid #dce8f3;
  border-radius: 12px;
  background: #fbfdff;
  padding: 9px;
  display: grid;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(9, 44, 72, 0.09);
}

.wp-day-card h3 {
  margin: 0;
  color: #184a6e;
  font-size: 13px;
  line-height: 1.6;
}

.wp-day-condition {
  margin: 0;
  color: #5f7c96;
  font-size: 12px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.wp-day-condition i {
  color: #f5a900;
  font-size: 15px;
}

.wp-day-temp {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}

.wp-day-temp strong {
  color: #0f486d;
  font-size: 20px;
}

.wp-day-temp span {
  color: #6c849c;
  font-size: 12px;
}

.wp-day-rain {
  margin: 0;
  color: #557590;
  font-size: 12px;
}

.wp-rain-track {
  margin-top: 2px;
  height: 7px;
  border-radius: 999px;
  background: #e6eef7;
  overflow: hidden;
}

.wp-rain-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #85b4da 0%, #2e6fa2 100%);
}

.wp-note {
  margin: 10px 0 0;
  color: #6b849c;
  font-size: 12px;
}


@media (max-width: 1024px) {
  .evl-hero {
    grid-template-columns: 1fr;
  }

  .evl-hero-media {
    min-height: 240px;
  }

  .evl-news-grid,
  .evl-about-grid,
  .evl-sponsor-ads-grid,
  .evl-ops-grid,
  .evl-related-grid,
  .evl-logo-wall-grid,
  .evl-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evl-plan-list {
    grid-template-columns: 1fr;
  }

  .evl-videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .guild-hero,
  .guild-grid {
    grid-template-columns: 1fr;
  }

  .wp-hero,
  .wp-main-grid,
  .wp-current-top,
  .wp-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .wp-forecast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guild-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guild-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guild-service-grid,
  .guild-guides-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 768px) {
  .evl-hero-content {
    padding: 16px;
  }

  .evl-hero h1 {
    font-size: 25px;
  }

  .evl-section {
    padding: 12px;
  }

  .evl-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .evl-news-grid,
  .evl-about-grid,
  .evl-sponsor-ads-grid,
  .evl-ops-grid,
  .evl-related-grid,
  .evl-plan-list,
  .evl-interviews-grid,
  .evl-logo-wall-grid,
  .evl-gallery-grid,
  .evl-videos-grid {
    grid-template-columns: 1fr;
  }

  .evl-live-item {
    grid-template-columns: 1fr;
  }

  .evl-poster-image {
    max-height: 420px;
  }

  .evl-cta-banner h2 {
    font-size: 20px;
    line-height: 1.6;
  }

  .guild-hero h1 {
    font-size: 24px;
  }

  .guild-info-list li {
    grid-template-columns: 1fr;
  }

  .guild-news-grid,
  .guild-service-grid,
  .guild-guides-grid {
    grid-template-columns: 1fr;
  }

  .wp-current-metrics,
  .wp-forecast-grid {
    grid-template-columns: 1fr;
  }

  .wp-city-search-wrap input,
  .wp-city-picker select {
    font-size: 16px;
  }

  .wp-city-search-wrap,
  .wp-city-select-wrap {
    width: 100%;
  }

  .guild-gallery-grid {
    grid-template-columns: 1fr;
  }
}


@keyframes wpFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .ask-cats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ask-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .askq-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ask-hero h1 {
    font-size: 30px;
  }

  .ask-hero-form {
    grid-template-columns: 1fr;
  }

  .ask-hero-form button,
  .ask-submit-btn,
  .askq-share-grid button,
  .askq-comment-actions button {
    width: 100%;
  }

  .ask-cats-grid,
  .ask-grid-2,
  .ask-grid-3,
  .ask-form-grid,
  .ask-stats-grid,
  .askq-form-grid,
  .askq-share-grid {
    grid-template-columns: 1fr;
  }

  .ask-q-meta,
  .askq-meta-row {
    display: grid;
    gap: 5px;
  }
}

/* ==================== PAGE STYLE OWNERSHIP MAP ==================== */
/* Shared sections: header, status-bar, footer, container, section-title */
/* page-home: rates, quick-tools, hero, latest-news, sidebar, newsletter */
/* page-news: news-page, article-* */
/* page-analysis: analysis-page, analysis-* (scoped) */
/* page-prices: prices-page, price-* (scoped) */
/* page-contact: contact-page, contact-* (scoped) */
/* page-login: login-page, login-* form components (scoped) */

/* ==================== CONTACT PAGE ==================== */
.page-contact .contact-page {
    padding: 30px 0 50px;
}

.page-contact .contact-hero {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-contact .contact-hero p {
    color: var(--text-gray);
}

.page-contact .contact-news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.page-contact .contact-news-link:hover {
    color: var(--accent-gold);
}

.page-contact .contact-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
}

.page-contact .contact-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-contact .contact-card h3 {
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.page-contact .contact-form {
    display: grid;
    gap: 10px;
}

.page-contact .contact-form label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
}

.page-contact .contact-form input,
.page-contact .contact-form select,
.page-contact .contact-form textarea {
    width: 100%;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s;
    background-color: #fff;
}

.page-contact .contact-form input:focus,
.page-contact .contact-form select:focus,
.page-contact .contact-form textarea:focus {
    border-color: var(--accent-gold);
}

.page-contact .contact-btn {
    border: none;
    border-radius: 8px;
    padding: 11px 14px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    font-size: 14px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #E09100 100%);
    color: #fff;
    cursor: pointer;
    margin-top: 6px;
}

.page-contact .contact-btn:hover {
    filter: brightness(0.95);
}

.page-contact .contact-info ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.page-contact .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-dark);
}

.page-contact .contact-info a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.page-contact .contact-info a:hover {
  color: var(--accent-gold);
}

.page-contact .contact-info small {
  display: block;
  margin-top: 3px;
  color: var(--text-gray);
  font-size: 12px;
}

.page-contact .contact-info i {
    color: var(--accent-gold);
    margin-top: 4px;
}

.page-contact .contact-source-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.page-contact .contact-workgroups {
  margin-top: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 100%);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-contact .contact-workgroups h3 {
  margin: 0 0 14px;
  color: var(--primary-dark);
}

.page-contact .contact-workgroup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-contact .contact-workgroup-grid article {
  border: 1px solid #dce8f3;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  display: grid;
  gap: 7px;
}

.page-contact .contact-workgroup-grid i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(245, 169, 0, 0.14);
  color: var(--accent-gold);
}

.page-contact .contact-workgroup-grid strong {
  color: var(--primary-dark);
  font-size: 14px;
}

.page-contact .contact-workgroup-grid span {
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.8;
}

/* ==================== TERMS PAGE ==================== */
.page-terms .terms-page {
  padding: 0 0 56px;
  background: #f5f7fa;
}

.page-terms .terms-hero {
  padding: 56px 0;
  background: linear-gradient(135deg, #08243c 0%, #123d5d 58%, #2b5f73 100%);
  color: #fff;
}

.page-terms .terms-hero-inner {
  display: grid;
  gap: 14px;
}

.page-terms .terms-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(245, 169, 0, 0.16);
  color: #ffe7a5;
  font-size: 13px;
  font-weight: 800;
}

.page-terms .terms-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 38px;
  line-height: 1.5;
}

.page-terms .terms-hero p {
  max-width: 920px;
  margin: 0;
  color: #e8f1f7;
  font-size: 16px;
  line-height: 2.1;
}

.page-terms .terms-hero strong {
  color: #ffe7a5;
  font-size: 14px;
}

.page-terms .terms-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 28px;
}

.page-terms .terms-toc,
.page-terms .terms-content {
  border: 1px solid #e3eaf2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 35, 55, 0.08);
}

.page-terms .terms-toc {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.page-terms .terms-toc strong {
  color: #0b3654;
  font-size: 16px;
}

.page-terms .terms-toc a {
  padding: 9px 10px;
  border-radius: 10px;
  color: #516579;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.page-terms .terms-toc a:hover {
  background: #f2f6fa;
  color: #0b3654;
}

.page-terms .terms-content {
  padding: 26px;
}

.page-terms .terms-content section + section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #edf2f6;
}

.page-terms .terms-content h2 {
  margin: 0 0 12px;
  color: #0b3654;
  font-size: 22px;
  line-height: 1.7;
}

.page-terms .terms-content p {
  margin: 0 0 12px;
  color: #33475b;
  font-size: 15px;
  line-height: 2.15;
}

.page-terms .terms-content strong {
  color: #092f4b;
  font-weight: 900;
}

.page-terms .about-license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.page-terms .about-license-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dce8f1;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 12px 28px rgba(15, 35, 55, 0.07);
}

.page-terms .about-license-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-terms .about-license-head span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 169, 0, 0.14);
  color: #9a6500;
  font-size: 12px;
  font-weight: 900;
}

.page-terms .about-license-head strong {
  color: #0b3654;
  font-size: 22px;
  line-height: 1;
}

.page-terms .about-license-card h3 {
  margin: 0;
  color: #092f4b;
  font-size: 18px;
  line-height: 1.6;
}

.page-terms .about-license-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.page-terms .about-license-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #edf2f6;
}

.page-terms .about-license-card dt,
.page-terms .about-license-card dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.page-terms .about-license-card dt {
  color: #64798b;
  font-weight: 800;
}

.page-terms .about-license-card dd {
  color: #1f3448;
  font-weight: 900;
  text-align: left;
}

.page-terms .about-license-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  padding: 8px 12px;
  box-sizing: border-box;
  border-radius: 10px;
  background: #0b3654;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.page-terms .about-license-card a:hover {
  background: #092f4b;
}

.page-terms .terms-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-terms .terms-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: #0b3654;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.page-terms .terms-contact-link:hover {
  background: #f5a900;
  color: #102c49;
}

.page-terms .terms-contact-link.is-api {
  background: #f5a900;
  color: #102c49;
}

.page-terms .terms-contact-link.is-api:hover {
  background: #0b3654;
  color: #fff;
}

.page-about {
  overflow-x: hidden;
}

.page-about .about-story-hero {
  padding: 50px 0;
  background: radial-gradient(circle at 12% 20%, rgba(245, 169, 0, 0.22), transparent 30%), linear-gradient(135deg, #071f35 0%, #123d5d 54%, #2b5f73 100%);
}

.page-about .about-story-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 238px;
  gap: 24px;
  align-items: center;
}

.page-about .about-story-hero h1 {
  max-width: 940px;
}

.page-about .about-hero-panel {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 35px rgba(5, 24, 42, 0.18);
  transform: scale(0.85);
  transform-origin: left center;
}

.page-about .about-hero-panel img {
  width: 51px;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.page-about .about-hero-stats,
.page-about .about-stats-grid,
.page-about .about-trust-grid,
.page-about .about-ecosystem-grid {
  display: grid;
  gap: 12px;
}

.page-about .about-hero-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.page-about .about-hero-stats div,
.page-about .about-stats-grid div,
.page-about .about-trust-grid article,
.page-about .about-ecosystem-grid article {
  border: 1px solid #dce8f1;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 12px 28px rgba(15, 35, 55, 0.07);
}

.page-about .about-hero-stats div {
  padding: 7px;
  background: rgba(255, 255, 255, 0.92);
}

.page-about .about-hero-stats strong,
.page-about .about-stats-grid strong {
  display: block;
  color: #0b3654;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
}

.page-about .about-hero-stats span,
.page-about .about-stats-grid span,
.page-about .about-trust-grid span {
  display: block;
  color: #516579;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.55;
}

.page-about .about-timeline {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.page-about .about-timeline article {
  display: grid;
  gap: 6px;
  padding: 16px 20px;
  border: 1px solid #dce8f1;
  border-right: 5px solid #f5a900;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 35, 55, 0.06);
}

.page-about .about-timeline time {
  color: #9a6500;
  font-size: 13px;
  font-weight: 900;
}

.page-about .about-timeline h3,
.page-about .about-ecosystem-grid h3 {
  margin: 0;
  color: #092f4b;
  font-size: 17px;
  line-height: 1.7;
}

.page-about .about-timeline p,
.page-about .about-ecosystem-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 2;
}

.page-about .about-ecosystem-grid,
.page-about .about-trust-grid,
.page-about .about-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.page-about .about-ecosystem-grid article {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.page-about .about-ecosystem-grid i {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #0b3654;
  color: #f5a900;
  font-size: 17px;
}

.page-about .about-trust-grid article,
.page-about .about-stats-grid div {
  padding: 16px;
}

.page-about .about-trust-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #092f4b;
  font-size: 15px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .page-terms .terms-layout {
    grid-template-columns: 1fr;
  }

  .page-about .about-story-hero-inner,
  .page-about .about-ecosystem-grid,
  .page-about .about-trust-grid,
  .page-about .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .page-about .about-hero-panel {
    justify-self: center;
    transform-origin: center center;
  }

  .page-about .about-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-terms .about-license-grid {
    grid-template-columns: 1fr;
  }

  .page-terms .terms-toc {
    position: static;
  }
}

/* ==================== TV BOARD PAGE ==================== */
.page-tv-board {
  min-height: 100vh;
  overflow: hidden;
  background: #061f35;
  color: #fff;
}

.page-tv-board .tv-board {
  height: 100vh;
  min-height: 100vh;
  display: grid;
  grid-template-rows: calc(44px * var(--tv-scale)) minmax(0, 1fr) calc(40px * var(--tv-scale));
  background: #061f35;
}

.page-tv-board .tv-board-ticker {
  display: flex;
  align-items: center;
  gap: calc(18px * var(--tv-scale));
  padding: 0 calc(24px * var(--tv-scale));
  background: #d8ae5f;
  color: #061f35;
  font-weight: 900;
  overflow: hidden;
}

.page-tv-board .tv-board-ticker span {
  padding: calc(5px * var(--tv-scale)) calc(14px * var(--tv-scale));
  background: #061f35;
  color: #fff;
  border-radius: 4px;
  font-size: calc(14px * var(--tv-scale));
}

.page-tv-board .tv-board-ticker strong {
  font-size: calc(15px * var(--tv-scale));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-tv-board .tv-board-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(300px, 42%);
  grid-template-areas: "slider prices";
  direction: ltr;
  background: #f6f8fb;
  overflow: hidden;
}

.page-tv-board .tv-news-slider {
  grid-area: slider;
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #061a2b;
  direction: rtl;
}

.page-tv-board .tv-news-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 0 calc(40px * var(--tv-scale)) calc(52px * var(--tv-scale));
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 700ms ease, transform 900ms ease;
}

.page-tv-board .tv-news-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.page-tv-board .tv-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 39, 68, 0.04), rgba(6, 24, 39, 0.82));
}

.page-tv-board .tv-slide-content {
  position: relative;
  z-index: 2;
  max-width: calc(780px * var(--tv-scale));
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.page-tv-board .tv-slide-content span {
  display: inline-flex;
  padding: calc(7px * var(--tv-scale)) calc(12px * var(--tv-scale));
  border-radius: 999px;
  background: rgba(245, 169, 0, 0.92);
  color: #071f35;
  font-size: calc(13px * var(--tv-scale));
  font-weight: 900;
}

.page-tv-board .tv-slide-content h1 {
  margin: calc(14px * var(--tv-scale)) 0 calc(8px * var(--tv-scale));
  color: #fff;
  font-size: clamp(calc(28px * var(--tv-scale)), 3vw, calc(46px * var(--tv-scale)));
  line-height: 1.55;
}

.page-tv-board .tv-slide-content p {
  max-width: calc(720px * var(--tv-scale));
  margin: 0;
  color: #eef4f8;
  font-size: calc(17px * var(--tv-scale));
  line-height: 2;
}

.page-tv-board .tv-slide-dots {
  position: absolute;
  z-index: 3;
  right: calc(42px * var(--tv-scale));
  bottom: calc(20px * var(--tv-scale));
  display: flex;
  gap: calc(7px * var(--tv-scale));
}

.page-tv-board .tv-slide-dots button {
  width: calc(10px * var(--tv-scale));
  height: calc(10px * var(--tv-scale));
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.page-tv-board .tv-slide-dots button.is-active {
  width: calc(34px * var(--tv-scale));
  background: #f5a900;
}

.page-tv-board .tv-price-panel {
  grid-area: prices;
  min-height: 0;
  display: grid;
  align-content: center;
  gap: calc(10px * var(--tv-scale));
  padding: calc(14px * var(--tv-scale)) calc(16px * var(--tv-scale));
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  color: #061f35;
  direction: rtl;
  border-right: 1px solid rgba(6, 31, 53, 0.08);
}

.page-tv-board .tv-brand-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(14px * var(--tv-scale));
  margin-bottom: calc(4px * var(--tv-scale));
  padding: calc(9px * var(--tv-scale)) calc(12px * var(--tv-scale));
  border: 1px solid rgba(216, 174, 95, 0.45);
  border-right: 6px solid #d8ae5f;
  border-radius: 14px;
  background: #fdfefe;
  box-shadow: 0 16px 36px rgba(6, 31, 53, 0.08);
}

.page-tv-board .tv-brand-head img {
  width: calc(50px * var(--tv-scale));
  height: calc(50px * var(--tv-scale));
  object-fit: contain;
}

.page-tv-board .tv-brand-head div {
  display: grid;
  gap: 2px;
}

.page-tv-board .tv-brand-head span {
  color: #d39a2f;
  font-size: calc(14px * var(--tv-scale));
  font-weight: 900;
  text-align: right;
}

.page-tv-board .tv-brand-head strong {
  color: #061f35;
  font-size: clamp(calc(19px * var(--tv-scale)), 2vw, calc(25px * var(--tv-scale)));
  font-weight: 900;
}

.page-tv-board .tv-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(8px * var(--tv-scale));
}

.page-tv-board .tv-price-card {
  min-height: calc(52px * var(--tv-scale));
  display: grid;
  align-content: center;
  gap: calc(5px * var(--tv-scale));
  padding: calc(7px * var(--tv-scale)) calc(10px * var(--tv-scale));
  border: 1px solid rgba(216, 174, 95, 0.72);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(6, 31, 53, 0.05);
}

.page-tv-board .tv-price-card span {
  color: #111827;
  font-size: calc(12px * var(--tv-scale));
  font-weight: 900;
}

.page-tv-board .tv-price-card strong {
  direction: ltr;
  color: #00b965;
  font-size: clamp(calc(16px * var(--tv-scale)), 1.45vw, calc(24px * var(--tv-scale)));
  font-weight: 900;
  text-align: left;
  font-family: 'Vazirmatn', sans-serif;
}

.page-tv-board .tv-update-time {
  margin: 0;
  color: #20394f;
  font-size: calc(12px * var(--tv-scale));
  font-weight: 900;
  text-align: center;
}

.page-tv-board .tv-voice-rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(12px * var(--tv-scale));
  margin-top: calc(2px * var(--tv-scale));
  padding: calc(7px * var(--tv-scale)) calc(11px * var(--tv-scale));
  border: 1px solid rgba(216, 174, 95, 0.38);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #20394f;
  font-weight: 900;
}

.page-tv-board .tv-voice-rate span {
  font-size: calc(12px * var(--tv-scale));
}

.page-tv-board .tv-voice-rate strong {
  direction: ltr;
  color: #061f35;
  font-size: calc(15px * var(--tv-scale));
  font-family: 'Vazirmatn', sans-serif;
}

.page-tv-board .tv-board-footer {
  box-sizing: border-box;
  height: calc(40px * var(--tv-scale));
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10px * var(--tv-scale));
  background: #061f35;
  color: #ffffff;
  font-size: calc(14px * var(--tv-scale));
  line-height: 1;
  font-weight: 900;
  border-top: 3px solid #d8ae5f;
}

.page-tv-board .tv-board-footer strong {
  color: #ffd27a;
  direction: ltr;
}

@media (max-width: 700px) {
  .page-tv-board {
    overflow: auto;
  }

  .page-tv-board .tv-board {
    min-height: 100vh;
    grid-template-rows: auto auto 40px;
  }

  .page-tv-board .tv-board-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "slider"
      "prices";
  }

  .page-tv-board .tv-news-slider {
    min-height: 56vh;
  }

  .page-tv-board .tv-price-panel {
    padding: 28px 16px;
  }
}

@media (max-width: 560px) {
  .page-tv-board .tv-price-grid {
    grid-template-columns: 1fr;
  }

  .page-tv-board .tv-news-slide {
    padding: 0 20px 54px;
  }

  .page-tv-board .tv-brand-head strong {
    font-size: 20px;
  }
}

@media (orientation: portrait) {
  .page-tv-board {
    overflow: hidden;
  }

  .page-tv-board .tv-board {
    height: 100vh;
    min-height: 100vh;
    grid-template-rows: calc(38px * var(--tv-scale)) minmax(0, 1fr) calc(38px * var(--tv-scale));
  }

  .page-tv-board .tv-board-footer {
    height: calc(38px * var(--tv-scale));
  }

  .page-tv-board .tv-board-ticker {
    gap: calc(12px * var(--tv-scale));
    padding: 0 calc(16px * var(--tv-scale));
  }

  .page-tv-board .tv-board-stage {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 53%) minmax(0, 47%);
    grid-template-areas:
      "slider"
      "prices";
    overflow: hidden;
  }

  .page-tv-board .tv-news-slider {
    min-height: 0;
  }

  .page-tv-board .tv-news-slide {
    padding: 0 calc(24px * var(--tv-scale)) calc(38px * var(--tv-scale));
  }

  .page-tv-board .tv-slide-content h1 {
    margin: calc(9px * var(--tv-scale)) 0 calc(5px * var(--tv-scale));
    line-height: 1.35;
  }

  .page-tv-board .tv-slide-content p {
    line-height: 1.8;
  }

  .page-tv-board .tv-slide-dots {
    right: calc(24px * var(--tv-scale));
    bottom: calc(14px * var(--tv-scale));
    gap: calc(5px * var(--tv-scale));
  }

  .page-tv-board .tv-price-panel {
    align-content: stretch;
    gap: calc(6px * var(--tv-scale));
    padding: calc(8px * var(--tv-scale)) calc(12px * var(--tv-scale));
    overflow: hidden;
  }

  .page-tv-board .tv-brand-head {
    gap: calc(10px * var(--tv-scale));
    margin-bottom: 0;
    padding: calc(6px * var(--tv-scale)) calc(10px * var(--tv-scale));
    border-radius: 10px;
  }

  .page-tv-board .tv-brand-head img {
    width: calc(42px * var(--tv-scale));
    height: calc(42px * var(--tv-scale));
  }

  .page-tv-board .tv-price-grid {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(6px * var(--tv-scale));
  }

  .page-tv-board .tv-price-card {
    min-height: calc(42px * var(--tv-scale));
    gap: calc(3px * var(--tv-scale));
    padding: calc(5px * var(--tv-scale)) calc(8px * var(--tv-scale));
    border-radius: 10px;
  }

  .page-tv-board .tv-update-time {
    line-height: 1.3;
  }

  .page-tv-board .tv-voice-rate {
    margin-top: 0;
    padding: calc(5px * var(--tv-scale)) calc(9px * var(--tv-scale));
    border-radius: 9px;
  }
}

/* ==================== NEWS PAGE ==================== */
.page-news .news-page {
    padding-bottom: 20px;
}

.page-news .page-title,
.page-analysis .page-title,
.page-prices .page-title,
.page-search .page-title {
    background-color: var(--primary-dark);
    color: white;
    padding: 30px 0;
    margin-bottom: 30px;
}

.page-news .page-title h1,
.page-analysis .page-title h1,
.page-prices .page-title h1,
.page-search .page-title h1 {
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-news .page-title p,
.page-analysis .page-title p,
.page-prices .page-title p,
.page-search .page-title p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

.page-news .content,
.page-analysis .content,
.page-prices .content {
    padding: 30px 0;
}

/* ==================== ADVANCED SEARCH PAGE ==================== */
.page-search .search-page {
  padding-bottom: 40px;
}

.search-advanced-panel,
.search-results-section {
  background: var(--card-white);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(6, 39, 68, 0.06);
}

.search-advanced-panel {
  padding: 22px;
  margin-bottom: 24px;
}

.search-panel-head,
.search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.search-panel-head h2,
.search-results-head h2 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.search-panel-head h2 i {
  color: var(--accent-gold);
}

#search-result-count {
  background: rgba(245, 169, 0, 0.12);
  border: 1px solid rgba(245, 169, 0, 0.26);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.search-advanced-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.search-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.search-field-wide {
  grid-column: span 3;
}

.search-field label {
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 700;
}

.search-field input,
.search-field select {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  background: #fafbfc;
  color: var(--text-dark);
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  padding: 0 12px;
  outline: none;
}

.search-field input:focus,
.search-field select:focus {
  border-color: var(--accent-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 169, 0, 0.1);
}

.search-actions {
  display: flex;
  gap: 10px;
  align-items: end;
}

.search-submit-btn,
.search-reset-btn {
  height: 44px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 700;
  padding: 0 18px;
}

.search-submit-btn {
  background: var(--accent-gold);
  color: white;
}

.search-reset-btn {
  background: #eef2f6;
  color: var(--text-dark);
}

.search-results-section {
  padding: 22px;
}

.search-results-head p {
  margin: 0;
  color: var(--text-gray);
  font-size: 13px;
}

.search-results-list {
  display: grid;
  gap: 12px;
}

.search-result-card {
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-gray);
  font-size: 12px;
  margin-bottom: 8px;
}

.search-result-meta span {
  color: var(--accent-gold);
  font-weight: 700;
}

.search-result-card h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

.search-result-card h2 a {
  color: var(--primary-dark);
  text-decoration: none;
}

.search-result-card p {
  margin: 0 0 12px;
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.9;
}

.search-result-link {
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-empty {
  text-align: center;
  padding: 34px 12px;
  color: var(--text-gray);
}

.search-empty i {
  color: var(--accent-gold);
  font-size: 34px;
  margin-bottom: 12px;
}

.search-empty h2 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .search-advanced-panel,
  .search-results-section {
    padding: 16px;
  }

  .search-panel-head,
  .search-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-advanced-form {
    grid-template-columns: 1fr;
  }

  .search-field-wide {
    grid-column: auto;
  }

  .search-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .search-submit-btn,
  .search-reset-btn {
    width: 100%;
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .page-contact .contact-workgroup-grid {
    grid-template-columns: 1fr;
  }

  .search-actions {
    grid-template-columns: 1fr;
  }

  .search-result-card h2 {
    font-size: 17px;
  }
}

.page-news .article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.page-news .article-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFBF7 100%);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 178px;
}

.page-news .article-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.page-news .article-date {
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-news .article-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news .article-title-link {
    color: inherit;
    text-decoration: none;
}

.page-news .article-title-link:hover {
    color: var(--accent-gold);
}

.page-news .article-summary {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.page-news .article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--card-border);
    margin-top: auto;
}

.page-news .article-author {
    font-size: 12px;
    color: var(--text-gray);
}

.page-news .article-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: color 0.3s;
}

.page-news .article-link:hover {
    color: #d48d00;
}

/* ==================== ANALYSIS PAGE ==================== */
.page-analysis .analysis-page {
    padding-bottom: 20px;
}

.page-analysis .analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.page-analysis .analysis-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-analysis .analysis-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateX(3px);
}

.page-analysis .analysis-type {
    display: inline-block;
    background-color: rgba(245, 169, 0, 0.1);
    color: var(--accent-gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}

.page-analysis .analysis-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.page-analysis .analysis-content {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.page-analysis .analysis-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.page-analysis .stat {
    text-align: center;
}

.page-analysis .stat-label {
    font-size: 11px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.page-analysis .stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
}

.page-analysis .stat-value.stat-up {
    color: var(--success-green);
}

.page-analysis .stat-value.stat-down {
    color: var(--danger-red);
}

.page-analysis .analysis-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-analysis .analysis-date {
    font-size: 12px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-analysis .read-more {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: color 0.3s;
}

.page-analysis .read-more:hover {
    color: #d48d00;
}


/* ==================== PRICES PAGE ==================== */
.page-prices .prices-page {
    padding-bottom: 20px;
}

.page-prices .prices-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.page-prices .price-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-prices .price-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.page-prices .price-name {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
    font-weight: 500;
}

.page-prices .price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    direction: ltr;
    unicode-bidi: embed;
}

.page-prices .price-unit {
    font-size: 11px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.page-prices .price-change {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    padding: 8px;
    background-color: rgba(245, 169, 0, 0.1);
    border-radius: 5px;
}

.page-prices .price-change.up {
    color: var(--success-green);
}

.page-prices .price-change.down {
    color: var(--danger-red);
}

.page-prices .price-chart {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-prices .price-chart .chart-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-prices .chart-placeholder {
    background: linear-gradient(180deg, rgba(245, 169, 0, 0.1) 0%, rgba(245, 169, 0, 0) 100%);
    border-radius: 5px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 14px;
}

/* ==================== LOGIN PAGE ==================== */
.page-login,
.page-register {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-login .login-page,
.page-register .register-page {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-login .login-container,
.page-register .register-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.page-login .login-box,
.page-register .register-box {
    background: var(--card-white);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.page-login .login-box {
    max-width: 420px;
}

.page-login .login-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-login .login-icon {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.page-login .login-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.page-login .login-subtitle {
    font-size: 14px;
    color: var(--text-gray);
}

.page-login .form-group {
    margin-bottom: 20px;
}

.page-login .form-label,
.page-register .form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.page-login .form-input,
.page-register .form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--card-border);
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Vazirmatn', sans-serif;
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
    background-color: #FAFBFC;
}

.page-login .form-input:focus,
.page-register .form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(245, 169, 0, 0.1);
}

.page-login .form-input::placeholder {
    color: #999;
}

.page-login .form-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.page-login .form-input-icon {
    position: absolute;
    right: 15px;
    color: var(--accent-gold);
    pointer-events: none;
}

.page-login .form-input-group input {
    padding-right: 45px;
}

.page-login .remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
}

.page-login .remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.page-login .remember-me input {
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-gold);
}

.page-login .forgot-password {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s;
}

.page-login .forgot-password:hover {
    text-decoration: underline;
}

.page-login .login-btn,
.page-register .register-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #E09100 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Vazirmatn', sans-serif;
}

.page-login .login-btn:hover,
.page-register .register-submit:hover {
    box-shadow: 0 6px 18px rgba(245, 169, 0, 0.3);
    transform: translateY(-2px);
}

.page-login .login-btn:active {
    transform: translateY(0);
}

.page-login .divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--text-gray);
}

.page-login .divider-line {
    flex: 1;
    height: 1px;
    background-color: var(--card-border);
}

.page-login .divider-text {
    padding: 0 10px;
    font-size: 12px;
}

.page-login .social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.page-login .social-btn {
    padding: 10px;
    border: 2px solid var(--card-border);
    background-color: #FAFBFC;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.3s, background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.page-login .social-btn:hover {
    border-color: var(--accent-gold);
    background-color: rgba(245, 169, 0, 0.05);
}

.page-login .social-btn i {
    font-size: 16px;
}

.page-login .login-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
    font-size: 13px;
    color: var(--text-gray);
}

.page-login .login-register-prompt {
  display: grid;
  gap: 12px;
}

.page-login .login-footer a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.page-login .login-footer a:hover {
    text-decoration: underline;
}

.page-login .login-register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(245, 169, 0, 0.35);
  border-radius: 6px;
  background: rgba(245, 169, 0, 0.08);
}

.page-login .login-register-link:hover {
  background: rgba(245, 169, 0, 0.14);
}

/* ==================== REGISTER PAGE ==================== */
.page-register .register-box {
    max-width: 620px;
}

.page-register .register-header {
    text-align: center;
    margin-bottom: 26px;
}

.page-register .register-icon {
    font-size: 42px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.page-register .register-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.page-register .register-subtitle {
    font-size: 14px;
    color: var(--text-gray);
}

.page-register .register-form {
    display: grid;
    gap: 14px;
}

.page-register .register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.page-register .form-group {
    margin-bottom: 0;
}

.page-register .form-group-full {
    grid-column: 1 / -1;
}

.page-register .req {
    color: var(--danger-red);
}

.page-register .field-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #768596;
}

.page-register .credit-note {
    border: 1px dashed #d9e5f3;
    background: #f7fbff;
    border-radius: 8px;
    padding: 10px 12px;
    color: #35516e;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
}

.page-register .credit-note i {
    color: var(--accent-gold);
}

.page-register .terms-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
}

.page-register .terms-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-gold);
}

.page-register .register-footer {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
}

.page-register .register-footer a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
}

.page-register .register-footer a:hover {
    text-decoration: underline;
}

/* ==================== PROFILE PAGE ==================== */
.page-profile {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-profile .profile-page {
  flex: 1;
  padding: 30px 0 50px;
}

.page-profile .profile-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.page-profile .profile-main-card,
.page-profile .profile-credit-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-profile .profile-main-card {
  padding: 20px;
}

.page-profile .profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.page-profile .avatar-wrap {
  width: 118px;
  text-align: center;
}

.page-profile .avatar-wrap img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e9eef5;
  display: block;
  margin: 0 auto 10px;
}

.page-profile .avatar-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #d3deea;
  background: #f8fbff;
  padding: 6px 12px;
  font-size: 12px;
  color: #36536f;
  cursor: pointer;
}

.page-profile .profile-head-info h1 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 28px;
}

.page-profile .profile-head-info p {
  margin-top: 8px;
  color: var(--text-gray);
  font-size: 14px;
}

.page-profile .profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-profile .profile-field {
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 8px;
  padding: 11px;
  display: grid;
  gap: 4px;
}

.page-profile .profile-field span {
  color: #7b8795;
  font-size: 12px;
}

.page-profile .profile-field strong {
  color: #223a52;
  font-size: 14px;
}

.page-profile .profile-credit-card {
  padding: 18px;
  height: fit-content;
}

.page-profile .profile-credit-card h2 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.page-profile .profile-credit-card h2 i {
  color: var(--accent-gold);
}

.page-profile .credit-caption {
  margin-top: 10px;
  color: #5f7083;
  font-size: 13px;
}

.page-profile .credit-box {
  margin-top: 12px;
  border: 1px dashed #c8d6e7;
  border-radius: 8px;
  background: #f9fcff;
  padding: 12px;
  display: grid;
  gap: 6px;
}

.page-profile .credit-box span {
  color: #6f8093;
  font-size: 12px;
}

.page-profile .credit-box strong {
  color: var(--primary-dark);
  font-size: 24px;
}

.page-profile .credit-actions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.page-profile .credit-btn {
  border: 1px solid #d3deea;
  border-radius: 8px;
  background: #fff;
  color: #25425d;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 13px;
  padding: 10px;
  cursor: pointer;
}

.page-profile .credit-btn:hover {
  border-color: var(--accent-gold);
  color: #7c5a20;
}

.page-profile .credit-help {
  margin-top: 10px;
  font-size: 12px;
  color: #738194;
}

  /* ==================== ARTICLES HUB (INTEGRATED) ==================== */
  .articles-page {
    background:
      radial-gradient(circle at 10% 10%, #ffffff 0%, rgba(255, 255, 255, 0) 38%),
      radial-gradient(circle at 90% 0, #e6eef6 0%, rgba(230, 238, 246, 0) 45%),
      var(--bg-page);
  }

  .articles-page .articles-hub {
    padding-bottom: 24px;
  }

  .articles-page .page-title {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 30px 0;
    margin-bottom: 24px;
  }

  .articles-page .page-title h1 {
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .articles-page .page-title p {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
  }

  .articles-page .content {
    padding: 8px 0 28px;
  }

  .articles-page .section-card,
  .article-detail-page .detail-card,
  .article-detail-page .sidebar-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .articles-page .section-card {
    padding: 18px;
  }

  .articles-page .hero {
    padding: 20px;
    margin-bottom: 16px;
  }

  .articles-page .hero-copy h2 {
    margin: 0;
    color: #16344f;
    font-size: 24px;
    line-height: 1.5;
  }

  .articles-page .hero-kicker {
    color: var(--accent-gold);
    font-weight: 700;
    margin: 0 0 6px;
  }

  .articles-page .hero-subtitle {
    color: var(--text-gray);
    margin: 8px 0 0;
  }

  .articles-page .hero-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .articles-page .hero-actions input {
    flex: 1 1 320px;
    border: 1px solid #d7e2ee;
    border-radius: 12px;
    padding: 12px 14px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    background-color: #fff;
    outline: none;
  }

  .articles-page .hero-actions input:focus {
    border-color: var(--accent-gold);
  }

  .articles-page .hero-actions button {
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f3c63 100%);
    color: #fff;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    cursor: pointer;
  }

  .articles-page .categories-section {
    margin-bottom: 16px;
  }

  .articles-page .section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .articles-page .section-head h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: var(--primary-dark);
  }

  .articles-page .section-head h2 i {
    color: var(--accent-gold);
  }

  .articles-page .result-count {
    color: var(--text-gray);
    font-size: 14px;
  }

  .articles-page .category-filters {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .articles-page .category-chip {
    border: 1px solid #d7e2ee;
    border-radius: 999px;
    background: #f5f9fe;
    color: #2d4a66;
    padding: 8px 14px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .articles-page .category-chip:hover {
    border-color: #b8cde2;
    background: #edf5ff;
  }

  .articles-page .category-chip.is-active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f3c63 100%);
    color: #fff;
    border-color: transparent;
  }

  .articles-page .featured-section {
    margin-top: 6px;
  }

  .articles-page .featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 12px;
  }

  .articles-page .featured-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
  }

  .articles-page .featured-content {
    padding: 22px;
  }

  .articles-page .badge {
    background: #f6ead8;
    color: #7b5417;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 12px;
  }

  .articles-page .featured-content h3 {
    margin: 14px 0 8px;
    line-height: 1.5;
    color: var(--primary-dark);
    font-size: 22px;
  }

  .articles-page .featured-content p {
    color: var(--text-gray);
    margin: 0;
  }

  .articles-page .meta,
  .article-detail-page .meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    color: #51657b;
    font-size: 13px;
  }

  .articles-page .read-link,
  .article-detail-page .related-item {
    text-decoration: none;
  }

  .articles-page .read-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent-gold);
    font-weight: 700;
  }

  .articles-page .read-link:hover {
    color: #d48d00;
  }

  .articles-page .grouped-section {
    margin: 20px auto 42px;
  }

  .articles-page .category-group + .category-group {
    margin-top: 26px;
  }

  .articles-page .group-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }

  .articles-page .group-head h3 {
    margin: 0;
    color: var(--primary-dark);
  }

  .articles-page .group-head span {
    color: var(--text-gray);
    font-size: 13px;
  }

  .articles-page .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .articles-page .articles-grid.single-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .articles-page .article-card {
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fffbf7 100%);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s, box-shadow 0.25s;
  }

  .articles-page .article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .articles-page .article-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
  }

  .articles-page .card-content {
    padding: 14px;
  }

  .articles-page .card-content h4 {
    margin: 0;
    line-height: 1.6;
    color: var(--primary-dark);
  }

  .articles-page .card-content p {
    margin: 8px 0 0;
    color: var(--text-gray);
    font-size: 14px;
  }

  .articles-page .card-content .meta {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--card-border);
  }

  .articles-page .empty-state,
  .article-detail-page .not-found {
    border: 1px dashed var(--card-border);
    border-radius: 12px;
    background: #fff;
    color: var(--text-gray);
    padding: 16px;
  }

  .article-detail-page {
    background:
      radial-gradient(circle at 10% 10%, #ffffff 0%, rgba(255, 255, 255, 0) 38%),
      radial-gradient(circle at 90% 0, #e6eef6 0%, rgba(230, 238, 246, 0) 45%),
      var(--bg-page);
  }

  .article-detail-page .detail-main {
    padding-bottom: 34px;
  }

  .article-detail-page .detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    padding: 18px 0 0;
  }

  .article-detail-page .detail-card {
    overflow: hidden;
  }

  .article-detail-page .detail-cover img {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }

  .article-detail-page .detail-content {
    padding: 20px;
  }

  .article-detail-page .detail-category {
    background: #edf4fb;
    color: #22435f;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .article-detail-page .detail-content h1 {
    margin: 12px 0 8px;
    line-height: 1.5;
    color: var(--primary-dark);
  }

  .article-detail-page .highlight-box {
    margin-top: 16px;
    border: 1px solid #e4edf6;
    border-radius: 12px;
    background: #f9fcff;
    padding: 12px;
  }

  .article-detail-page .highlight-box h2 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-dark);
  }

  .article-detail-page .highlight-box ul {
    margin: 10px 0 0;
    padding: 0 18px 0 0;
  }

  .article-detail-page .detail-paragraph {
    margin: 16px 0 0;
    color: var(--text-dark);
  }

  .article-detail-page .detail-sidebar {
    display: flex;
  }

  .article-detail-page .sidebar-card {
    width: 100%;
    padding: 14px;
    height: fit-content;
  }

  .article-detail-page .sidebar-card h3 {
    margin: 0 0 10px;
    color: var(--primary-dark);
  }

  .article-detail-page .related-list {
    display: grid;
    gap: 8px;
  }

  .article-detail-page .related-item {
    border: 1px solid #e5ecf4;
    border-radius: 10px;
    padding: 10px;
    color: #17314a;
    display: grid;
    gap: 4px;
  }

  .article-detail-page .related-item span {
    color: #59718a;
    font-size: 12px;
  }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 100%;
    }

  .festival-promo-section {
    grid-template-columns: 1fr;
  }

  .festival-main-offer h3 {
    font-size: 25px;
  }

    .rates-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        gap: 15px;
    }

    .page-contact .contact-layout {
        grid-template-columns: 1fr;
    }

    .page-contact .contact-workgroup-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-news .article-grid {
        grid-template-columns: 1fr;
    }

    .page-analysis .analysis-grid {
        grid-template-columns: 1fr;
    }

    .page-prices .prices-grid {
        grid-template-columns: 1fr;
    }

    .hero-news {
      grid-template-columns: 1fr;
      direction: rtl;
    }

    .hero-image {
      min-height: 290px;
      clip-path: none;
    }

    .hero-content::before {
      display: none;
    }

    .hero-mini-grid {
      grid-template-columns: 1fr;
    }

    .most-viewed-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .rates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .festival-main-offer {
      padding: 14px;
    }

    .festival-main-offer h3 {
      font-size: 20px;
    }

    .festival-btn {
      width: 100%;
      justify-content: center;
    }

    .newsletter {
        grid-template-columns: 1fr;
        gap: 15px;
      padding: 24px 18px;
    }

    .newsletter-inputs {
      flex-direction: column;
    }

    .newsletter-btn {
      width: 100%;
      min-width: 0;
      white-space: normal;
    }

    .analysis-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-tabs {
        flex-wrap: wrap;
    }

    .news-grid {
      grid-template-columns: 1fr;
    }

    .page-news .page-title h1,
    .page-analysis .page-title h1,
    .page-prices .page-title h1 {
        font-size: 24px;
    }

    .page-login .login-box {
        padding: 30px;
    }

    .page-login .login-title {
        font-size: 24px;
    }

    .page-register .register-box {
      padding: 30px;
      max-width: 560px;
    }

    .page-register .register-grid {
      grid-template-columns: 1fr;
    }

    .page-profile .profile-layout {
      grid-template-columns: 1fr;
    }

    .page-profile .profile-header {
      flex-direction: column;
      align-items: flex-start;
    }

    .page-profile .profile-grid {
      grid-template-columns: 1fr;
    }

    .articles-page .page-title h1 {
      font-size: 26px;
    }

    .articles-page .hero-copy h2 {
      font-size: 20px;
    }

    .articles-page .featured-card {
      grid-template-columns: 1fr;
    }

    .articles-page .articles-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-detail-page .detail-layout {
      grid-template-columns: 1fr;
    }

    .hero-title {
      font-size: 20px;
    }

    .hero-content {
      padding: 18px;
    }

    .hero-mini-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .most-viewed-list {
      grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .quick-tools-section .tools-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .quick-tools-section .tool-item {
      min-height: 86px;
      padding: 10px 6px;
      gap: 7px;
      border-left-width: 2px;
    }

    .quick-tools-section .tool-item i {
      font-size: 22px;
    }

    .quick-tools-section .tool-name {
      font-size: 11px;
      line-height: 1.35;
    }

    .status-content {
        gap: 10px;
        font-size: 12px;
    }

    .news-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .news-image {
        width: 100%;
        height: 150px;
    }

    .hero-footer {
        flex-direction: column;
        gap: 10px;
    }

    .page-login .login-container {
        padding: 30px 15px;
    }

    .page-login .login-box {
        padding: 25px;
    }

    .page-login .social-login {
        grid-template-columns: 1fr;
    }

    .page-login .login-title {
        font-size: 20px;
    }

    .page-register .register-container {
      padding: 30px 15px;
    }

    .page-register .register-box {
      padding: 25px;
    }

    .page-register .register-title {
      font-size: 20px;
    }

    .articles-page .page-title h1 {
      font-size: 22px;
    }

    .articles-page .articles-grid {
      grid-template-columns: 1fr;
    }

    .articles-page .hero-actions input,
    .articles-page .hero-actions button {
      width: 100%;
    }

    .page-profile .profile-head-info h1 {
      font-size: 22px;
    }
}


/* ==================== SHOP PROFILE LANDING PAGE ==================== */
.page-shop-profile {
  background: #f4f6f9;
  color: #14243a;
  overflow-x: hidden;
}

.page-shop-profile .breadcrumb-nav {
  background: #fff;
  border-bottom: 1px solid #e8edf4;
}

.shop-profile-page {
  padding-bottom: 48px;
  min-width: 0;
  max-width: 100%;
}

.shop-hero {
  position: relative;
  min-height: 520px;
  isolation: isolate;
  overflow: hidden;
  background: #061f36;
  max-width: 100%;
}

.shop-hero-bg,
.shop-hero-overlay {
  position: absolute;
  inset: 0;
}

.shop-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.shop-hero-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 39, 68, 0.74), rgba(6, 39, 68, 0.55) 44%, rgba(0, 0, 0, 0.18));
}

.shop-hero-inner {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 42px;
  min-width: 0;
}

.shop-hero-main {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  color: #fff;
  min-width: 0;
}

.shop-logo-card {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #062744;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.shop-logo-mark {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #f5a900;
  color: #f5a900;
  font-size: 34px;
}

.shop-logo-card > span:not(.shop-logo-mark) {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
}

.shop-logo-card small {
  color: #6a7787;
  font-weight: 700;
  text-transform: uppercase;
}

.shop-verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff5cf;
  font-size: 13px;
  font-weight: 800;
}

.shop-verified i {
  color: #f5a900;
}

.shop-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.shop-subscription-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(245, 169, 0, 0.16);
  border: 1px solid rgba(245, 169, 0, 0.3);
  color: #ffe7a5;
  font-size: 12px;
  font-weight: 800;
}

.shop-subscription-mini i {
  color: #f5a900;
  font-size: 11px;
}

.shop-hero-copy h1 {
  margin: 14px 0 8px;
  font-size: 46px;
  line-height: 1.35;
  color: #fff;
}

.shop-hero-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #fff4cf;
  font-size: 14px;
  font-weight: 800;
}

.shop-hero-location i {
  color: #f5a900;
  font-size: 13px;
}

.shop-hero-copy,
.shop-hero-actions,
.shop-hero-stats {
  min-width: 0;
  max-width: 100%;
}

.shop-hero-copy p {
  max-width: 720px;
  margin: 0;
  color: #e5edf6;
  font-size: 17px;
  line-height: 2;
}

.shop-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.shop-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
  color: #edf4fb;
  font-size: 13px;
  min-width: 0;
}

.shop-hero-stats strong {
  color: #f5a900;
  font-size: 18px;
}

.shop-hero-actions {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.shop-action {
  min-height: 48px;
  border: 1px solid #dfe8f2;
  border-radius: 12px;
  background: #fff;
  color: #102c49;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
  text-align: center;
}

.shop-action:hover {
  border-color: #f5a900;
  color: #062744;
}

.shop-action.is-primary {
  background: #062744;
  color: #fff;
  border-color: #062744;
}

.shop-action.is-whatsapp {
  background: #eefbf4;
  color: #137a3b;
  border-color: #bceacb;
}

.shop-profile-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.shop-sticky-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e2e9f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(14, 39, 66, 0.08);
}

.shop-side-logo {
  display: grid;
  gap: 8px;
  place-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
  color: #062744;
  text-align: center;
}

.shop-side-logo > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #f5a900;
  background: #fff6de;
}

.shop-side-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #60758a;
  font-size: 12px;
  font-weight: 800;
}

.shop-side-location i {
  color: #f5a900;
  font-size: 13px;
}

.shop-side-phone {
  width: 100%;
  min-height: 36px;
  border: 1px solid #dce7f2;
  border-radius: 10px;
  background: #fff;
  color: #062744;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.shop-side-phone i {
  color: #0b3654;
}

.shop-side-instagram {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(221, 42, 123, 0.24);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7fb 0%, #fff4e7 100%);
  color: #7a1f63;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.shop-side-instagram i {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f58529, #dd2a7b 52%, #8134af);
  color: #fff;
  font-size: 12px;
}

.shop-side-meta {
  width: 100%;
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid #e5edf5;
  border-radius: 12px;
  background: #f9fbfd;
}

.shop-side-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #65788c;
  font-size: 12px;
  font-weight: 800;
}

.shop-side-meta i {
  color: #f5a900;
}

.shop-side-meta a,
.shop-side-meta strong {
  color: #102c49;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.7;
  text-align: center;
}

.shop-side-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: #fffaf0;
  color: #062744;
}

.shop-side-rating span {
  color: #f5a900;
  font-size: 12px;
}

.shop-sticky-sidebar a,
.shop-sticky-sidebar button {
  min-height: 42px;
  border: 1px solid #e1e9f2;
  border-radius: 12px;
  background: #fff;
  color: #18324e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.shop-profile-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.shop-section {
  border: 1px solid #e1e8f1;
  border-radius: 18px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(14, 39, 66, 0.06);
  min-width: 0;
}

.shop-section-head {
  margin-bottom: 16px;
}

.shop-section-head span {
  display: inline-block;
  margin-bottom: 6px;
  color: #b57a00;
  font-size: 12px;
  font-weight: 900;
}

.shop-section-head h2 {
  margin: 0;
  color: #102c49;
  font-size: 23px;
}

.shop-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-section-row a {
  color: #0b3654;
  font-weight: 800;
  text-decoration: none;
}

.shop-info-grid,
.shop-service-grid,
.shop-manager-grid,
.shop-price-widget,
.shop-city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.shop-info-grid > div,
.shop-service-grid > div,
.shop-city-grid > div {
  min-height: 112px;
  padding: 14px;
  border: 1px solid #e7edf5;
  border-radius: 14px;
  background: #f9fbfd;
  display: grid;
  gap: 6px;
  align-content: start;
}

.shop-info-grid i,
.shop-service-grid i,
.shop-city-grid i {
  color: #f5a900;
  font-size: 20px;
}

.shop-info-grid span,
.shop-service-grid span,
.shop-city-grid span {
  color: #66798d;
  font-size: 12px;
  font-weight: 700;
}

.shop-info-grid strong,
.shop-service-grid strong,
.shop-city-grid strong {
  color: #102c49;
  font-size: 14px;
}

.shop-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.shop-trust-grid div {
  padding: 18px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff9eb, #ffffff);
  border: 1px solid #efd79e;
  text-align: center;
}

.shop-trust-grid strong {
  display: block;
  color: #062744;
  font-size: 22px;
  margin-bottom: 6px;
}

.shop-trust-grid span {
  color: #64778a;
  font-size: 12px;
  font-weight: 800;
}

.shop-about p {
  margin: 0 0 14px;
  color: #344e68;
  line-height: 2.15;
  font-size: 15px;
}

.shop-about p:last-child {
  margin-bottom: 0;
}

.shop-gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 170px;
  gap: 12px;
}

.shop-gallery-grid button {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #062744;
  cursor: pointer;
}

.shop-gallery-grid button:first-child {
  grid-row: span 2;
}

.shop-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.shop-gallery-grid button:hover img {
  transform: scale(1.04);
}

.shop-gallery-grid span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6, 39, 68, 0.82);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}

.shop-video-card,
.shop-map-layout,
.shop-review-layout,
.shop-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.shop-video-cover {
  min-height: 230px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(6, 39, 68, 0.86), rgba(6, 39, 68, 0.58)), url('https://images.unsplash.com/photo-1617038260897-41a1f14a8ca0?auto=format&fit=crop&w=900&q=80') center/cover;
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.shop-video-cover i {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5a900;
  color: #062744;
  font-size: 24px;
}

.shop-video-card h3 {
  margin: 0 0 10px;
  color: #102c49;
}

.shop-video-card p {
  color: #526a82;
  line-height: 2;
}

.shop-video-card a,
.shop-map-facts a,
.shop-contact-form button,
.shop-review-form button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f5a900;
  color: #062744;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 900;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.shop-product-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.shop-product-scroll article {
  overflow: hidden;
  border: 1px solid #e4ebf3;
  border-radius: 16px;
  background: #fff;
  scroll-snap-align: start;
}

.shop-product-scroll img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.shop-product-scroll article div {
  padding: 14px;
  display: grid;
  gap: 7px;
}

.shop-product-scroll span {
  color: #b57a00;
  font-weight: 900;
  font-size: 12px;
}

.shop-product-scroll h3,
.shop-product-scroll p {
  margin: 0;
}

.shop-product-scroll p {
  color: #61778e;
  font-size: 13px;
}

.shop-product-scroll strong {
  color: #062744;
}

.shop-map-layout iframe {
  width: 100%;
  min-height: 330px;
  border: 0;
  border-radius: 16px;
}

.shop-map-facts {
  display: grid;
  gap: 10px;
}

.shop-map-facts div {
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e6edf5;
  display: grid;
  gap: 5px;
}

.shop-map-facts .shop-map-address {
  background: #fffaf0;
  border-color: #efd79e;
}

.shop-map-facts .shop-map-address strong {
  line-height: 1.9;
}

.shop-map-facts i {
  color: #f5a900;
}

.shop-hours-table {
  display: grid;
  gap: 10px;
}

.shop-hours-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: #f9fbfd;
}

.shop-open-badge,
.shop-rating-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  background: #eefbf4;
  color: #137a3b;
  font-size: 13px;
}

.shop-faq-list {
  display: grid;
  gap: 10px;
}

.shop-faq-list details {
  border: 1px solid #e4ebf3;
  border-radius: 14px;
  background: #f9fbfd;
  padding: 13px 14px;
}

.shop-faq-list summary {
  cursor: pointer;
  color: #102c49;
  font-weight: 900;
}

.shop-faq-list p {
  margin: 10px 0 0;
  color: #536c84;
  line-height: 2;
}

.shop-review-list,
.shop-review-form,
.shop-contact-form,
.shop-link-list,
.shop-similar-list,
.shop-activity-timeline {
  display: grid;
  gap: 12px;
}

.shop-review-list article,
.shop-activity-timeline div {
  border: 1px solid #e4ebf3;
  border-radius: 16px;
  background: #f9fbfd;
  padding: 14px;
}

.shop-review-list span,
.shop-activity-timeline time {
  display: inline-block;
  margin-right: 8px;
  color: #b57a00;
  font-size: 12px;
  font-weight: 900;
}

.shop-activity-timeline strong {
  display: inline-block;
  margin-right: 8px;
}

.shop-review-list p,
.shop-activity-timeline p {
  color: #526a82;
  line-height: 1.9;
}

.shop-owner-reply {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  color: #102c49;
  font-size: 13px;
  font-weight: 800;
}

.shop-review-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #efd79e;
  border-radius: 12px;
  background: #fffaf0;
  color: #6f5416;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
}

.shop-review-note i {
  color: #f5a900;
  flex: 0 0 auto;
}

.shop-review-form input,
.shop-review-form select,
.shop-review-form textarea,
.shop-contact-form input,
.shop-contact-form select,
.shop-contact-form textarea {
  width: 100%;
  border: 1px solid #dfe8f2;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  color: #102c49;
  background: #fff;
}

.shop-review-form textarea,
.shop-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.shop-upload-field {
  min-height: 44px;
  border: 1px dashed #ccd9e6;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #526a82;
  cursor: pointer;
}

.shop-upload-field input {
  display: none;
}

.shop-link-list a,
.shop-similar-list a {
  border: 1px solid #e4ebf3;
  border-radius: 14px;
  background: #f9fbfd;
  color: #102c49;
  text-decoration: none;
  font-weight: 800;
}

.shop-link-list a {
  padding: 13px 14px;
}

.shop-live-prices {
  background: linear-gradient(180deg, #fffdf7 0%, #fff7e4 100%);
  border-color: #efd79e;
  box-shadow: 0 18px 42px rgba(181, 122, 0, 0.11);
}

.shop-live-badge {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #062744;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.shop-live-badge i {
  color: #f5a900;
}

.shop-price-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-price-actions a {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #062744;
  border: 1px solid #efd79e;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.shop-price-widget div {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  color: #062744;
  border: 1px solid #efd79e;
  display: grid;
  gap: 6px;
  box-shadow: 0 10px 22px rgba(181, 122, 0, 0.08);
}

.shop-price-widget span {
  color: #8a6a24;
  font-size: 12px;
  font-weight: 900;
}

.shop-price-widget strong {
  color: #062744;
  font-size: 22px;
}

.shop-price-widget em {
  color: #38c172;
  font-style: normal;
  font-weight: 900;
}

.shop-daily-access {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
  margin-top: 16px;
}

.shop-install-card,
.shop-qr-card {
  border: 1px solid #efd79e;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.shop-install-card > i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #062744;
  color: #f5a900;
  font-size: 23px;
}

.shop-install-card strong,
.shop-qr-card strong {
  display: block;
  color: #062744;
  margin-bottom: 5px;
  font-size: 15px;
}

.shop-install-card p,
.shop-qr-card p {
  margin: 0;
  color: #617184;
  line-height: 1.85;
  font-size: 13px;
}

.shop-install-card button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f5a900;
  color: #062744;
  padding: 0 14px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.shop-qr-card {
  grid-template-columns: 92px minmax(0, 1fr);
}

.shop-qr-card img {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  border: 1px solid #e7d2a4;
}

.shop-similar-list a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
}

.shop-similar-list img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  grid-row: span 2;
}

.shop-similar-list strong {
  color: #73869a;
  font-size: 12px;
}

.shop-contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-contact-form textarea,
.shop-contact-form button {
  grid-column: 1 / -1;
}

.shop-manager-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.shop-manager-grid span {
  min-height: 46px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e4ebf3;
  color: #102c49;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  font-size: 13px;
  font-weight: 800;
}

.shop-lightbox[hidden] {
  display: none;
}

.shop-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(3, 17, 30, 0.84);
  display: grid;
  place-items: center;
  padding: 24px;
}

.shop-lightbox img {
  max-width: min(960px, 92vw);
  max-height: 84vh;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.shop-lightbox button {
  position: fixed;
  top: 22px;
  left: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #062744;
  cursor: pointer;
}

.page-shop-name-group {
  background: #f4f6f9;
}

.shop-name-group-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 36px;
  background:
    radial-gradient(circle at 14% 28%, rgba(245, 169, 0, 0.42) 0, rgba(245, 169, 0, 0.18) 24%, transparent 46%),
    linear-gradient(135deg, #062744 0%, #0c3554 48%, #1f5c74 100%);
  color: #fff;
}

.shop-name-group-hero::after {
  content: '';
  position: absolute;
  inset: auto -120px -150px auto;
  width: 460px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 225, 153, 0.42) 0, rgba(245, 169, 0, 0.18) 48%, transparent 72%);
  pointer-events: none;
}

.shop-name-group-hero .container {
  position: relative;
  z-index: 1;
}

.shop-name-group-hero h1 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 42px;
  line-height: 1.35;
}

.shop-name-group-hero p {
  max-width: 760px;
  margin: 0;
  color: #e9f1f9;
  font-size: 16px;
  line-height: 2;
}

.shop-name-group-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.shop-duplicate-list {
  display: grid;
  gap: 14px;
}

.shop-duplicate-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e3ebf4;
  border-radius: 16px;
  background: #fff;
}

.shop-duplicate-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #fff7df;
  color: #f5a900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.shop-duplicate-list h3 {
  margin: 4px 0 6px;
  color: #102c49;
  font-size: 21px;
}

.shop-duplicate-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b57a00;
  font-size: 13px;
  font-weight: 900;
}

.shop-duplicate-location i {
  color: #f5a900;
  font-size: 13px;
}

.shop-duplicate-list p {
  margin: 0 0 10px;
  color: #526a82;
  line-height: 1.9;
}

.shop-duplicate-list dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.shop-duplicate-list dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
}

.shop-duplicate-list dt,
.shop-duplicate-list dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.shop-duplicate-list dt {
  color: #8a9aaa;
  font-weight: 800;
}

.shop-duplicate-list dd {
  color: #20384f;
  font-weight: 900;
}

.shop-duplicate-list article > a {
  min-height: 44px;
  border-radius: 12px;
  background: #f5a900;
  color: #062744;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.shop-name-group-note p,
.shop-name-group-note li {
  color: #526a82;
  line-height: 2;
}

.shop-name-group-note ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 20px 0 0;
}

.page-shops-directory {
  background: #f4f6f9;
}

.shops-directory-page {
  padding-bottom: 48px;
}

.shops-directory-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 44px;
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 169, 0, 0.36) 0, rgba(245, 169, 0, 0.12) 25%, transparent 46%),
    linear-gradient(135deg, #062744 0%, #0c3554 56%, #1b5b6d 100%);
  color: #fff;
}

.shops-directory-hero::after {
  content: '';
  position: absolute;
  inset: auto -150px -180px auto;
  width: 520px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 229, 164, 0.42) 0, rgba(245, 169, 0, 0.16) 48%, transparent 72%);
  pointer-events: none;
}

.shops-directory-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
}

.shops-directory-hero-copy {
  max-width: 820px;
}

.shops-directory-hero h1 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 46px;
  line-height: 1.35;
}

.shops-directory-hero p {
  max-width: 780px;
  margin: 0;
  color: #e8f1f9;
  font-size: 16px;
  line-height: 2;
}

.shops-directory-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.shops-directory-hero-actions a {
  min-height: 46px;
  border-radius: 12px;
  background: #f5a900;
  color: #062744;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 900;
  text-decoration: none;
}

.shops-directory-hero-actions a.is-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.shops-directory-kpis {
  display: grid;
  gap: 10px;
}

.shops-directory-kpis div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #062744;
}

.shops-directory-kpis span {
  display: block;
  margin-bottom: 5px;
  color: #60758a;
  font-size: 12px;
  font-weight: 800;
}

.shops-directory-kpis strong {
  font-size: 24px;
  color: #062744;
}

.shops-discovery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: -22px;
  position: relative;
  z-index: 2;
}

.shops-discovery-strip article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid #e1e8f1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(14, 39, 66, 0.1);
  display: grid;
  gap: 8px;
  align-content: start;
}

.shops-discovery-strip i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff5d8;
  color: #f5a900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.shops-discovery-strip strong {
  color: #102c49;
  font-size: 15px;
}

.shops-discovery-strip span {
  color: #60758a;
  font-size: 13px;
  line-height: 1.9;
}

.shops-directory-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

.shops-directory-filters {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e1e8f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(14, 39, 66, 0.06);
}

.shops-search-box {
  min-height: 46px;
  border: 1px solid #dfe8f2;
  border-radius: 12px;
  background: #f9fbfd;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.shops-search-box i {
  color: #f5a900;
}

.shops-search-box input,
.shops-directory-filters select {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #102c49;
  font-family: inherit;
  font-weight: 800;
  outline: 0;
}

.shops-directory-filters label {
  display: grid;
  gap: 7px;
  color: #60758a;
  font-size: 12px;
  font-weight: 900;
}

.shops-city-search input {
  width: 100%;
  min-height: 44px;
  min-width: 0;
  border: 1px solid #dfe8f2;
  border-radius: 12px;
  background: #fff;
  color: #102c49;
  padding: 0 10px;
  font-family: inherit;
  font-weight: 800;
  outline: 0;
}

.shops-quick-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 118px;
  overflow: auto;
  padding: 2px 0 4px;
}

.shops-quick-cities button {
  min-height: 32px;
  border: 1px solid #e2eaf3;
  border-radius: 999px;
  background: #f7f9fb;
  color: #526a82;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.shops-quick-cities button.is-active {
  border-color: #efd79e;
  background: #fff5d8;
  color: #8c6500;
}

.shops-quick-cities span {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  color: #b57a00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  font-size: 11px;
}

.shops-directory-filters select {
  min-height: 44px;
  border: 1px solid #dfe8f2;
  border-radius: 12px;
  background: #fff;
  padding: 0 10px;
}

.shops-filter-actions button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #062744;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.shops-filter-summary {
  margin: 0;
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
  color: #60758a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
}

.shops-directory-results {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.shops-map-report {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 16px;
}

.shops-map-panel iframe {
  width: 100%;
  min-height: 330px;
  border: 0;
  border-radius: 16px;
}

.shops-map-summary p {
  margin: 0 0 14px;
  color: #526a82;
  line-height: 2;
}

.shops-map-breakdown {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.shops-map-breakdown span {
  min-height: 40px;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: #f9fbfd;
  color: #102c49;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  font-weight: 900;
}

.shops-map-breakdown strong {
  color: #b57a00;
}

.shops-map-summary a,
.shops-results-head a,
.shops-card-actions a {
  min-height: 42px;
  border-radius: 12px;
  background: #f5a900;
  color: #062744;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  font-weight: 900;
  text-decoration: none;
}

.shops-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e1e8f1;
  border-radius: 18px;
  background: #fff;
}

.shops-results-head a {
  background: #f6f9fc;
  color: #102c49;
}

.shops-results-head span {
  display: block;
  margin-bottom: 6px;
  color: #b57a00;
  font-size: 12px;
  font-weight: 900;
}

.shops-results-head h2 {
  margin: 0;
  color: #102c49;
}

.shops-list {
  display: grid;
  gap: 14px;
}

.shops-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 118px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e1e8f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(14, 39, 66, 0.06);
}

.shops-card:hover {
  border-color: #efd79e;
  box-shadow: 0 18px 46px rgba(14, 39, 66, 0.1);
}

.shops-card-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #fff7df;
  color: #f5a900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.shops-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 6px;
}

.shops-card-title h3 {
  margin: 0;
  color: #102c49;
  font-size: 18px;
}

.shops-card-title strong {
  color: #b57a00;
  font-size: 12px;
}

.shops-card-body p {
  margin: 0 0 8px;
  color: #526a82;
  font-size: 13px;
  line-height: 1.85;
}

.shops-card-meta,
.shops-card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shops-card-meta span,
.shops-card-services span {
  min-height: 28px;
  border-radius: 999px;
  background: #f7f9fb;
  color: #526a82;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 800;
}

.shops-card-meta {
  margin-bottom: 8px;
}

.shops-card-meta i {
  color: #f5a900;
}

.shops-card-actions {
  display: grid;
}

.shops-card-actions a {
  min-height: 40px;
  white-space: nowrap;
}

.shops-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #cfd9e5;
  border-radius: 14px;
  background: #fff;
  color: #526a82;
  text-align: center;
  font-weight: 900;
}

.shops-submit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #dfe8f2;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 251, 241, 0.96), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 10% 10%, rgba(245, 169, 0, 0.22), transparent 34%);
  box-shadow: 0 18px 48px rgba(14, 39, 66, 0.08);
}

.shops-submit-copy span {
  display: inline-block;
  margin-bottom: 8px;
  color: #b57a00;
  font-size: 12px;
  font-weight: 900;
}

.shops-submit-copy h2 {
  margin: 0 0 10px;
  color: #102c49;
  font-size: 27px;
}

.shops-submit-copy p {
  margin: 0;
  color: #526a82;
  line-height: 2;
}

.shops-submit-steps {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.shops-submit-steps div {
  min-height: 46px;
  border: 1px solid #e5edf5;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
}

.shops-submit-steps strong {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #062744;
  color: #f5a900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shops-submit-steps span {
  margin: 0;
  color: #102c49;
  font-size: 13px;
}

.shops-submit-form {
  display: grid;
  gap: 12px;
}

.shops-submit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shops-submit-form label {
  display: grid;
  gap: 7px;
  color: #60758a;
  font-size: 12px;
  font-weight: 900;
}

.shops-submit-form input,
.shops-submit-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe8f2;
  border-radius: 12px;
  background: #fff;
  color: #102c49;
  font-family: inherit;
  font-weight: 800;
  outline: 0;
}

.shops-submit-form input {
  min-height: 44px;
  padding: 0 12px;
}

.shops-submit-form textarea {
  min-height: 112px;
  resize: vertical;
  padding: 12px;
  line-height: 1.9;
}

.shops-submit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.shops-submit-actions button {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #f5a900;
  color: #062744;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.shops-submit-actions span {
  color: #60758a;
  font-size: 12px;
  font-weight: 800;
}

.page-shop-city {
  background: #f4f6f9;
}

.shop-city-page {
  padding-bottom: 48px;
}

.shop-city-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 42px;
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 169, 0, 0.34) 0, rgba(245, 169, 0, 0.12) 25%, transparent 48%),
    linear-gradient(135deg, #062744 0%, #103c5c 58%, #1f6470 100%);
  color: #fff;
}

.shop-city-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: center;
}

.shop-city-hero h1 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 44px;
  line-height: 1.35;
}

.shop-city-hero p {
  max-width: 780px;
  margin: 0;
  color: #e8f1f9;
  font-size: 16px;
  line-height: 2;
}

.shop-city-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.shop-city-actions a,
.shop-city-guild-card a,
.shop-city-featured-grid a {
  min-height: 44px;
  border-radius: 12px;
  background: #f5a900;
  color: #062744;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  font-weight: 900;
  text-decoration: none;
}

.shop-city-actions a.is-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.shop-city-guild-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #102c49;
  display: grid;
  gap: 9px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
}

.shop-city-guild-card > i {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #fff5d8;
  color: #f5a900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.shop-city-guild-card span {
  color: #b57a00;
  font-size: 12px;
  font-weight: 900;
}

.shop-city-guild-card strong {
  color: #102c49;
  font-size: 18px;
}

.shop-city-guild-card p {
  color: #60758a;
  font-size: 13px;
  line-height: 1.9;
}

.shop-city-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: -20px;
  position: relative;
  z-index: 2;
}

.shop-city-stats div {
  padding: 16px;
  border: 1px solid #e1e8f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(14, 39, 66, 0.1);
}

.shop-city-stats span,
.shop-city-stats em {
  display: block;
  color: #60758a;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.shop-city-stats strong {
  display: block;
  margin: 5px 0;
  color: #062744;
  font-size: 26px;
}

.shop-city-featured,
.shop-city-plans {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #e1e8f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(14, 39, 66, 0.06);
}

.shop-city-featured-grid,
.shop-city-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shop-city-featured-grid article,
.shop-city-plan-grid article {
  padding: 16px;
  border: 1px solid #e5edf5;
  border-radius: 16px;
  background: #f9fbfd;
  display: grid;
  gap: 10px;
}

.shop-city-featured-grid article.is-gold,
.shop-city-plan-grid article.is-featured {
  border-color: #efd79e;
  background: linear-gradient(180deg, #fff7df, #fff);
}

.shop-city-plan-badge {
  width: fit-content;
  min-height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #062744, #164462);
  color: #ffd66d;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.shop-city-plan-badge.is-silver {
  background: #fff5d8;
  color: #8c6500;
}

.shop-city-featured-grid h3,
.shop-city-plan-grid h3 {
  margin: 0;
  color: #102c49;
  font-size: 19px;
}

.shop-city-featured-grid p,
.shop-city-plan-grid p {
  margin: 0;
  color: #526a82;
  line-height: 1.9;
  font-size: 13px;
}

.shop-city-featured-grid article div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-city-featured-grid article div span {
  min-height: 28px;
  border-radius: 999px;
  background: #fff;
  color: #526a82;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 800;
}

.shop-city-directory {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.shop-city-filter-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e1e8f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(14, 39, 66, 0.06);
}

.shop-city-filter-panel label {
  display: grid;
  gap: 7px;
  color: #60758a;
  font-size: 12px;
  font-weight: 900;
}

.shop-city-filter-panel input,
.shop-city-filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dfe8f2;
  border-radius: 12px;
  background: #fff;
  color: #102c49;
  padding: 0 10px;
  font-family: inherit;
  font-weight: 800;
  outline: 0;
}

.shop-city-filter-panel p {
  margin: 0;
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
  color: #60758a;
  font-size: 12px;
  line-height: 1.9;
}

.shop-city-results {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.shop-city-plan-grid article strong {
  color: #102c49;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .shop-hero-inner,
  .shop-profile-layout,
  .shop-name-group-layout,
  .shops-directory-hero-inner,
  .shops-directory-layout,
  .shops-map-report,
  .shops-submit-section,
  .shop-city-hero-inner,
  .shop-city-directory {
    grid-template-columns: 1fr;
  }

  .shop-sticky-sidebar {
    display: none;
  }

  .shops-directory-filters {
    position: static;
  }

  .shop-city-filter-panel {
    position: static;
  }

  .shops-discovery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-city-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-info-grid,
  .shop-service-grid,
  .shop-price-widget,
  .shop-city-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-daily-access {
    grid-template-columns: 1fr;
  }

  .shop-trust-grid,
  .shop-manager-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-shop-profile header,
  .page-shop-profile .status-bar {
    overflow: hidden;
  }

  .page-shop-profile .logo {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .shop-hero,
  .shop-hero-inner {
    min-height: auto;
  }

  .shop-hero-inner {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .shop-hero-main {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .shop-hero-copy {
    width: 100%;
    text-align: center;
    overflow: hidden;
  }

  .shop-verified {
    margin: 0 auto;
  }

  .shop-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .shop-logo-card {
    min-height: 150px;
    width: min(220px, 100%);
    justify-self: center;
    padding: 18px;
  }

  .shop-hero-copy h1 {
    font-size: 34px;
  }

  .shop-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .shop-hero-stats span {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 8px 6px;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
  }

  .shop-hero-stats strong {
    font-size: 15px;
  }

  .shop-section {
    padding: 16px;
    border-radius: 14px;
  }

  .shop-section-row,
  .shop-hours-table div {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-info-grid,
  .shop-service-grid,
  .shop-trust-grid,
  .shop-price-widget,
  .shop-city-grid,
  .shop-manager-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .shop-gallery-grid button:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .shop-video-card,
  .shop-map-layout,
  .shop-review-layout,
  .shop-two-column,
  .shop-contact-form {
    grid-template-columns: 1fr;
  }

  .shop-install-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .shop-install-card button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .shops-directory-hero {
    padding: 38px 0 28px;
  }

  .shops-directory-hero h1 {
    font-size: 32px;
  }

  .shops-directory-hero-actions a {
    flex: 1 1 180px;
  }

  .shops-results-head,
  .shops-card {
    grid-template-columns: 1fr;
  }

  .shops-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .shops-card-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shops-submit-grid {
    grid-template-columns: 1fr;
  }

  .shop-city-featured-grid,
  .shop-city-plan-grid {
    grid-template-columns: 1fr;
  }

  .shop-name-group-hero {
    padding: 38px 0 28px;
  }

  .shop-name-group-hero h1 {
    font-size: 32px;
  }

  .shop-duplicate-list article {
    grid-template-columns: 1fr;
  }

  .shop-duplicate-logo {
    justify-self: start;
  }

  .shop-duplicate-list article > a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .shops-discovery-strip,
  .shops-card-actions {
    grid-template-columns: 1fr;
  }

  .shops-directory-kpis {
    grid-template-columns: 1fr;
  }

  .shops-submit-section {
    padding: 16px;
    border-radius: 16px;
  }

  .shop-city-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page-shop-profile .logo {
    max-width: 150px;
    font-size: 14px;
  }

  .page-shop-profile .logo .logo-mark {
    width: 28px;
    height: 28px;
  }

  .shop-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-hero-stats span:last-child {
    grid-column: 1 / -1;
  }

  .shop-hero-copy h1 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .shop-hero-actions,
  .shop-info-grid,
  .shop-service-grid,
  .shop-trust-grid,
  .shop-price-widget,
  .shop-city-grid,
  .shop-manager-grid,
  .shop-gallery-grid {
    grid-template-columns: 1fr;
  }

  .shop-qr-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .shop-hero-copy h1 {
    font-size: 28px;
  }

  .shop-hero-copy p {
    font-size: 14px;
  }
}


/* ==================== REFERENCE PAGE ==================== */
  .page-reference .reference-page {
    padding: 20px 0 50px;
    overflow-x: hidden;
  }

  .page-reference .reference-content-columns {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
    gap: 14px;
    align-items: start;
  }

  .page-reference .reference-main-column {
    display: grid;
    gap: 16px;
    min-width: 0;
  }

  .page-reference .reference-hero {
    background: linear-gradient(135deg, #082f4d 0%, #0d3e62 52%, #0b2f4b 100%);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 22px;
    box-shadow: 0 14px 36px rgba(6, 39, 68, 0.2);
    border: 1px solid rgba(245, 169, 0, 0.18);
  }

  .page-reference .reference-eyebrow {
    color: #ffd182;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .page-reference .reference-hero h1 {
    font-size: 33px;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .page-reference .reference-subtitle {
    color: #dbe6f0;
    font-size: 14px;
    max-width: 760px;
  }

  .page-reference .reference-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
  }

  .page-reference .reference-tags span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .page-reference .reference-hero-meta {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 10px;
    align-content: start;
  }

  .page-reference .reference-hero-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #e7edf4;
    font-size: 13px;
  }

  .page-reference .reference-hero-row strong {
    color: #fff;
  }

  .page-reference .reference-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .page-reference .reference-kpi-card {
    background: linear-gradient(135deg, #fff 0%, #f9fbfd 100%);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(8, 42, 67, 0.08);
  }

  .page-reference .reference-kpi-card p {
    color: var(--text-gray);
    font-size: 13px;
  }

  .page-reference .reference-kpi-card h2 {
    margin-top: 6px;
    font-size: 29px;
    color: var(--primary-dark);
  }

  .page-reference .reference-unit {
    font-size: 12px;
    color: #7a8796;
  }

  .page-reference .reference-change {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
  }

  .page-reference .reference-user-tools {
    margin-top: 0;
  }

  .page-reference .reference-user-main {
    display: grid;
    gap: 12px;
  }

  .page-reference .reference-user-chat {
    align-self: start;
  }

  .page-reference .reference-chat-column {
    position: sticky;
    top: 98px;
  }

  .page-reference .reference-calc-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    align-items: end;
  }

  .page-reference .reference-calc-card {
    border: 1px solid #e4edf7;
    border-radius: 10px;
    padding: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    display: grid;
    gap: 4px;
  }

  .page-reference .reference-calc-card span {
    font-size: 12px;
    color: #5f6e80;
  }

  .page-reference .reference-calc-card strong {
    font-size: 20px;
    color: var(--primary-dark);
  }

  .page-reference .reference-calc-note {
    margin-top: 10px;
    font-size: 12px;
    color: #6a7e95;
    background: #f8fbff;
    border: 1px dashed #d4e3f0;
    border-radius: 8px;
    padding: 8px 10px;
  }

  .page-reference .reference-practical-list {
    margin-top: 10px;
    padding-right: 18px;
    display: grid;
    gap: 8px;
    color: #4f6072;
    font-size: 13px;
  }

  .page-reference .reference-practical-list strong {
    color: var(--primary-dark);
  }

  .page-reference .reference-comment-form {
    margin-top: 8px;
    display: grid;
    gap: 8px;
  }

  .page-reference .reference-reply-target {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid #cfe3f5;
    background: #eef6ff;
    color: #24567b;
    border-radius: 8px;
    padding: 7px 9px;
    font-size: 12px;
    font-weight: 600;
  }

  .page-reference .reference-reply-target[hidden] {
    display: none;
  }

  .page-reference .reference-reply-target button {
    border: none;
    background: #d9ebfb;
    color: #0d5a8b;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .page-reference .reference-field textarea {
    min-height: 90px;
    border-radius: 8px;
    border: 1px solid #d8e3ee;
    padding: 10px;
    font-family: inherit;
    color: var(--primary-dark);
    background: #fff;
    resize: vertical;
  }

  .page-reference .reference-comment-btn {
    height: 42px;
    border: none;
    border-radius: 8px;
    padding: 0 14px;
    background: linear-gradient(135deg, #0d5a8b 0%, #0b4368 100%);
    color: #fff;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(13, 90, 139, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .page-reference .reference-comment-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(13, 90, 139, 0.28);
  }

  .page-reference .reference-comment-stream {
    margin-top: 10px;
  }

  .page-reference .reference-comment-empty {
    color: #8a2d2d;
    background: #fff3f3;
    border: 1px solid #ffd5d5;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .page-reference .reference-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    max-height: 620px;
    overflow: auto;
  }

  .page-reference .reference-comment-item {
    border: 1px solid #e5edf6;
    border-radius: 10px;
    padding: 9px 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  }

  .page-reference .reference-comment-item.can-reply {
    cursor: pointer;
  }

  .page-reference .reference-comment-item.can-reply:hover {
    border-color: #cfe0f0;
    box-shadow: 0 6px 16px rgba(10, 53, 86, 0.08);
  }

  .page-reference .reference-comment-item.is-reply {
    margin-right: 14px;
    border-right: 3px solid #9ac3e6;
    background: #f3f8fe;
  }

  .page-reference .reference-comment-parent {
    font-size: 11px;
    color: #38678a;
    font-weight: 700;
    margin-bottom: 5px;
  }

  .page-reference .reference-comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 12px;
  }

  .page-reference .reference-comment-name {
    color: var(--primary-dark);
    font-weight: 700;
  }

  .page-reference .reference-comment-time {
    color: #6e8398;
  }

  .page-reference .reference-comment-reply {
    margin-right: auto;
    border: 1px solid #cfe0f0;
    background: #f3f8fe;
    color: #0d5a8b;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 11px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .page-reference .reference-comment-reply:hover {
    background: #e8f2fc;
  }

  .page-reference .reference-comment-text {
    color: #4f6072;
    font-size: 13px;
    line-height: 1.8;
  }

  .page-reference .reference-tabs {
    margin-top: 16px;
  }

  .page-reference .reference-tablist {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .page-reference .reference-tab {
    border: 1px solid #d8e7f5;
    background: #f5f9ff;
    color: #285777;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .page-reference .reference-tab:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(13, 90, 139, 0.12);
  }

  .page-reference .reference-tab.is-active {
    background: linear-gradient(135deg, #0d5a8b 0%, #0b4368 100%);
    border-color: #0d5a8b;
    color: #fff;
  }

  .page-reference .reference-tabpanes {
    margin-top: 12px;
  }

  .page-reference .reference-tabpane {
    border: 1px solid #e4edf7;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    padding: 12px;
  }

  .page-reference .reference-tabpane p {
    margin-top: 8px;
    color: #4f6072;
    font-size: 13px;
    line-height: 1.9;
  }

  .page-reference .reference-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .page-reference .reference-mini-stats > div {
    border: 1px dashed #d6e5f3;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff;
    display: grid;
    gap: 3px;
  }

  .page-reference .reference-mini-stats span {
    color: #6b7f94;
    font-size: 12px;
  }

  .page-reference .reference-mini-stats strong {
    color: var(--primary-dark);
    font-size: 16px;
  }

  .page-reference .reference-panel {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(8, 42, 67, 0.08);
    min-width: 0;
  }

  .page-reference .reference-panel.compact {
    padding: 14px;
  }

  .page-reference .reference-panel-head h3 {
    color: var(--primary-dark);
    margin-bottom: 4px;
  }

  .page-reference .reference-panel-head p {
    color: var(--text-gray);
    font-size: 13px;
  }

  @media (max-width: 1024px) {
    .page-reference-list .reference-list-archive-hub {
      grid-template-columns: 1fr;
    }

    .page-reference-list .reference-list-archive-actions {
      justify-items: start;
    }

    .page-reference-list .reference-list-archive-links {
      justify-content: flex-start;
    }

    .page-price-archive .price-archive-hero {
      grid-template-columns: 1fr;
    }

    .page-price-archive .price-archive-links {
      grid-template-columns: 1fr;
    }
  }

  .page-reference-list .reference-list-archive-hub {
    margin: 14px 0 18px;
    border: 1px solid #d8e7f6;
    border-radius: 12px;
    background: linear-gradient(135deg, #f4faff 0%, #ffffff 70%, #fff9ef 100%);
    padding: 14px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
    align-items: center;
  }

  .page-reference-list .reference-list-archive-copy h2 {
    color: var(--primary-dark);
    font-size: 20px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .page-reference-list .reference-list-archive-copy h2 i {
    color: var(--accent-gold);
  }

  .page-reference-list .reference-list-archive-copy p {
    color: #52657b;
    font-size: 13px;
  }

  .page-reference-list .reference-list-archive-actions {
    display: grid;
    gap: 8px;
    justify-items: end;
  }

  .page-reference-list .reference-list-archive-btn {
    border-radius: 999px;
    padding: 9px 14px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #E09100 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }

  .page-reference-list .reference-list-archive-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
  }

  .page-reference-list .reference-list-archive-links a {
    text-decoration: none;
    color: #315777;
    background: #edf5ff;
    border: 1px solid #d4e3f4;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
  }

  .page-price-archive .price-archive-page {
    padding: 24px 0 50px;
  }

  .page-price-archive .price-archive-hero {
    background: linear-gradient(135deg, #082f4d 0%, #0d3e62 54%, #0b2f4b 100%);
    border-radius: 14px;
    padding: 22px;
    color: #fff;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
    border: 1px solid rgba(245, 169, 0, 0.2);
    box-shadow: 0 12px 28px rgba(6, 39, 68, 0.2);
  }

  .page-price-archive .price-archive-hero.compact {
    margin-bottom: 14px;
  }

  .page-price-archive .price-archive-eyebrow {
    color: #ffd182;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
  }

  .page-price-archive .price-archive-hero h1 {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .page-price-archive .price-archive-hero p {
    color: #dbe6f0;
    font-size: 14px;
  }

  .page-price-archive .price-archive-summary {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 8px;
  }

  .page-price-archive .price-archive-summary div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
  }

  .page-price-archive .price-archive-summary strong {
    color: #fff;
  }

  .page-price-archive .price-archive-links {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .page-price-archive .archive-link-card {
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, #fff 0%, #f9fbfe 100%);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(6, 39, 68, 0.08);
  }

  .page-price-archive .archive-link-card h2 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .page-price-archive .archive-link-card h2 i {
    color: var(--accent-gold);
  }

  .page-price-archive .archive-link-card p {
    color: #5d6f82;
    font-size: 13px;
  }

  .page-price-archive .price-archive-table-panel {
    margin-top: 14px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(6, 39, 68, 0.07);
  }

  .page-price-archive .price-archive-panel-head h2 {
    color: var(--primary-dark);
    font-size: 21px;
  }

  .page-price-archive .price-archive-panel-head p {
    color: #5f7083;
    font-size: 13px;
    margin-top: 4px;
  }

  .page-price-archive .archive-sample-block + .archive-sample-block {
    margin-top: 12px;
  }

  .page-price-archive .archive-sample-block h3 {
    color: var(--primary-dark);
    font-size: 16px;
    margin-bottom: 8px;
  }

  .page-price-archive .archive-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .page-price-archive .archive-search-wrap {
    flex: 1 1 280px;
    position: relative;
  }

  .page-price-archive .archive-search-wrap i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #67839b;
    font-size: 13px;
  }

  .page-price-archive .archive-search-input {
    width: 100%;
    border: 1px solid #d6e1ec;
    border-radius: 10px;
    min-height: 42px;
    padding: 9px 36px 9px 12px;
    font-size: 14px;
    color: #14324d;
    background: #fff;
  }

  .page-price-archive .archive-search-input:focus {
    outline: none;
    border-color: #8fb6da;
    box-shadow: 0 0 0 3px rgba(54, 119, 177, 0.12);
  }

  .page-price-archive .archive-search-clear {
    border: 1px solid #d6e1ec;
    background: #f7fbff;
    color: #214360;
    border-radius: 10px;
    min-height: 42px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }

  .page-price-archive .archive-search-meta {
    margin: 0;
    color: #5f7083;
    font-size: 12px;
  }

  .page-price-archive .archive-table-wrap {
    overflow: auto;
  }

  .page-price-archive .archive-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
  }

  .page-price-archive .archive-table th,
  .page-price-archive .archive-table td {
    border-bottom: 1px solid #edf1f5;
    padding: 10px;
    text-align: right;
    font-size: 13px;
  }

  .page-price-archive .archive-table th {
    color: #46607b;
    font-weight: 700;
    background: #f8fbff;
  }

  .page-price-archive .archive-pill {
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
  }

  .page-price-archive .archive-pill.up {
    color: #2f7d45;
    background: #ecf8f0;
  }

  .page-price-archive .archive-pill.down {
    color: #a53a3a;
    background: #fff1f1;
  }

  .page-price-archive .archive-empty {
    border: 1px dashed #d4e2ef;
    border-radius: 10px;
    padding: 14px;
    color: #5b7187;
    font-size: 13px;
    background: #fbfdff;
  }

  .page-reference .reference-scenarios {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .page-reference .reference-scenarios article {
    background: #fff;
    border: 1px solid var(--card-border);
    border-right: 4px solid var(--accent-gold);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 5px 16px rgba(8, 42, 67, 0.07);
  }

  .page-reference .reference-scenarios h4 {
    color: var(--primary-dark);
    font-size: 15px;
    margin-bottom: 8px;
  }

  .page-reference .reference-scenarios p {
    color: #4f6072;
    font-size: 13px;
  }

  .page-reference .reference-chart-block {
    margin-top: 0;
  }

  .page-reference .reference-chart-headline {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-reference .reference-chart-headline > div {
    border: 1px dashed #d4e3f0;
    border-radius: 10px;
    background: #f9fcff;
    padding: 9px 12px;
    display: grid;
    gap: 3px;
  }

  .page-reference .reference-chart-headline span {
    color: #5f6e80;
    font-size: 12px;
  }

  .page-reference .reference-chart-headline strong {
    color: var(--primary-dark);
    font-size: 18px;
  }

  .page-reference .reference-chart-headline small {
    color: #7f8da0;
    font-size: 11px;
  }

  .page-reference .reference-chart-wrap {
    margin-top: 10px;
    border: 1px solid #e7eff7;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 10px;
    max-width: 100%;
    overflow: hidden;
  }

  .page-reference .reference-chart-svg {
    width: 100%;
    height: auto;
    aspect-ratio: 700 / 220;
    display: block;
  }

  .page-reference .reference-chart-svg-mobile {
    display: none;
  }

  .page-reference .chart-axis {
    stroke: #d4dfeb;
    stroke-width: 1.5;
  }

  .page-reference .chart-line-area {
    fill: url(#refAreaGradient);
    stroke: transparent;
    stroke-width: 0;
  }

  .page-reference .chart-line-area-mobile {
    fill: url(#refAreaGradientMobile);
    stroke: transparent;
    stroke-width: 0;
  }

  .page-reference .chart-line {
    fill: none;
    stroke: #0d5a8b;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .page-reference .chart-max-point {
    fill: #f5a900;
    stroke: #fff;
    stroke-width: 2;
  }

  .page-reference .chart-max-label {
    fill: #0a3556;
    font-size: 12px;
    font-weight: 700;
  }

  .page-reference .chart-x-label {
    fill: #70839a;
    font-size: 11px;
  }

  .page-reference .reference-archive {
    margin-top: 0;
  }

  .page-reference .reference-archive-filter {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: end;
  }

  .page-reference .reference-field {
    display: grid;
    gap: 6px;
  }

  .page-reference .reference-field label {
    font-size: 12px;
    color: #5f6e80;
    font-weight: 600;
  }

  .page-reference .reference-field input {
    height: 42px;
    border-radius: 8px;
    border: 1px solid #d8e3ee;
    padding: 0 10px;
    font-family: inherit;
    color: var(--primary-dark);
    background: #fff;
  }

  .page-reference .reference-archive-btn {
    height: 42px;
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    background: linear-gradient(135deg, #0d5a8b 0%, #0b4368 100%);
    color: #fff;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(13, 90, 139, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .page-reference .reference-archive-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(13, 90, 139, 0.28);
  }

  .page-reference .reference-archive-result {
    margin-top: 12px;
    overflow: auto;
  }

  .page-reference .reference-archive-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
  }

  .page-reference .reference-archive-table th,
  .page-reference .reference-archive-table td {
    border-bottom: 1px solid #edf2f7;
    padding: 10px;
    text-align: right;
    font-size: 13px;
  }

  .page-reference .reference-archive-table th {
    background: #f8fbff;
    color: #5f6e80;
    font-weight: 700;
  }

  .page-reference .reference-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
  }

  .page-reference .reference-pill.up {
    color: #0b6d47;
    background: #e9f8f1;
    border: 1px solid #bcead6;
  }

  .page-reference .reference-pill.down {
    color: #8a2d2d;
    background: #fff1f1;
    border: 1px solid #ffd0d0;
  }

  .page-reference .reference-archive-empty {
    margin-top: 10px;
    color: #8a2d2d;
    background: #fff3f3;
    border: 1px solid #ffd5d5;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .page-reference .reference-api-cta {
    margin-top: 0;
    border-radius: 14px;
    border: 1px solid #2f5f86;
    background: linear-gradient(135deg, #082f4d 0%, #0e476f 58%, #0a3657 100%);
    padding: 18px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .page-reference .reference-api-cta::after {
    content: '';
    position: absolute;
    top: -55px;
    left: -25px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 169, 0, 0.26) 0%, rgba(245, 169, 0, 0) 70%);
    pointer-events: none;
  }

  .page-reference .reference-api-cta--spotlight {
    box-shadow: 0 16px 34px rgba(6, 39, 68, 0.28);
  }

  .page-reference .reference-api-eyebrow {
    color: #ffd182;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
  }

  .page-reference .reference-api-content h3 {
    color: #ffffff;
    font-size: 26px;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .page-reference .reference-api-content p {
    color: #dbe8f4;
    font-size: 13px;
    line-height: 1.9;
  }

  .page-reference .reference-api-points {
    margin-top: 9px;
    padding-right: 18px;
    display: grid;
    gap: 5px;
    color: #edf5ff;
    font-size: 13px;
  }

  .page-reference .reference-api-actions {
    display: grid;
    justify-items: end;
    gap: 8px;
  }

  .page-reference .reference-api-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
  }

  .page-reference .reference-api-actions span {
    font-size: 12px;
    color: #dbe8f4;
  }

  .page-reference .reference-api-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #f5a900 0%, #da9600 100%);
    text-decoration: none;
    font-weight: 800;
    color: #082f4d;
    box-shadow: 0 12px 26px rgba(245, 169, 0, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .page-reference .reference-api-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(245, 169, 0, 0.34);
  }

  .page-reference .reference-seo-note {
    margin-top: 0;
  }

  .page-reference .reference-seo-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .page-reference .reference-seo-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4f9ff;
    color: #2d5d82;
    border: 1px solid #d8e8f7;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
  }

  .page-reference .reference-seo-lead {
    margin-top: 8px;
    border-right: 4px solid #e8f1fb;
    padding-right: 12px;
  }

  .page-reference .reference-seo-note p {
    color: #4f6072;
    font-size: 14px;
    line-height: 2;
    margin-top: 8px;
  }

  .page-reference .reference-seo-note h4,
  .page-reference .reference-seo-title {
    margin-top: 12px;
    color: var(--primary-dark);
    font-size: 17px;
  }

  .page-reference .reference-seo-highlights {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .page-reference .reference-seo-highlights article {
    border: 1px solid #e5edf6;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    padding: 11px;
  }

  .page-reference .reference-seo-highlights h4 {
    margin-top: 0;
    font-size: 15px;
    margin-bottom: 4px;
  }

  .page-reference .reference-seo-highlights p {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.9;
  }

  .page-reference .reference-seo-note ul {
    margin-top: 8px;
    padding-right: 19px;
    display: grid;
    gap: 6px;
    color: #4f6072;
    font-size: 13px;
  }

  .page-reference .reference-seo-note ul a {
    color: #0d5a8b;
    font-weight: 700;
    text-decoration: none;
  }

  .page-reference .reference-seo-note ul a:hover {
    text-decoration: underline;
  }

  .page-reference .reference-seo-faq {
    margin-top: 12px;
    display: grid;
    gap: 8px;
  }

  .page-reference .reference-seo-faq details {
    border: 1px solid #e3edf7;
    border-radius: 10px;
    background: #fbfdff;
    padding: 10px 12px;
  }

  .page-reference .reference-seo-faq summary {
    cursor: pointer;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
    list-style: none;
  }

  .page-reference .reference-seo-faq summary::-webkit-details-marker {
    display: none;
  }

  .page-reference .reference-seo-faq summary::before {
    content: '+';
    margin-left: 8px;
    color: #0d5a8b;
    font-weight: 800;
  }

  .page-reference .reference-seo-faq details[open] summary::before {
    content: '-';
  }

  .page-reference .reference-seo-faq details p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.9;
  }

  .page-reference .reference-seo-links {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .page-reference .reference-seo-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 7px 12px;
    background: #f4f9ff;
    border: 1px solid #d8e8f7;
    color: #0d5a8b;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .page-reference .reference-seo-links a:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(13, 90, 139, 0.14);
  }

  .page-reference .reference-timeline {
    margin-top: 0;
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(8, 42, 67, 0.08);
  }

  .page-reference .reference-timeline ol {
    margin-top: 10px;
    padding-right: 20px;
    display: grid;
    gap: 8px;
    color: #4f6072;
    font-size: 13px;
  }

  .page-reference .text-up {
    color: var(--success-green);
  }

  .page-reference .text-down {
    color: var(--danger-red);
  }

  @media (max-width: 1200px) {
    .page-reference .reference-content-columns {
      grid-template-columns: 1fr;
    }

    .page-reference .reference-chat-column {
      position: static;
      top: auto;
    }
  }

  @media (max-width: 1024px) {
    .page-reference .reference-hero {
      grid-template-columns: 1fr;
    }

    .page-reference .reference-kpis,
    .page-reference .reference-scenarios {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-reference .reference-user-tools {
      grid-template-columns: 1fr;
    }

    .page-reference .reference-calc-grid {
      grid-template-columns: 1fr 1fr;
    }

    .page-reference .reference-mini-stats {
      grid-template-columns: 1fr 1fr;
    }

    .page-reference .reference-calc-grid .reference-field {
      grid-column: 1 / -1;
    }

    .page-reference .reference-api-cta {
      grid-template-columns: 1fr;
    }

    .page-reference .reference-api-actions {
      justify-items: start;
    }

    .page-reference .reference-archive-filter {
      grid-template-columns: 1fr 1fr;
    }

    .page-reference .reference-archive-btn {
      grid-column: 1 / -1;
      justify-content: center;
    }
  }

  @media (max-width: 768px) {
    .page-reference .container {
      padding-left: 10px;
      padding-right: 10px;
    }

    .page-reference .reference-page {
      padding-top: 12px;
    }

    .page-reference .reference-panel {
      padding: 12px;
      border-radius: 10px;
    }

    .page-reference .reference-panel-head h3 {
      font-size: 17px;
      line-height: 1.55;
    }

    .page-reference .reference-panel-head p {
      font-size: 12px;
      line-height: 1.8;
    }

    .page-reference .reference-kpis,
    .page-reference .reference-scenarios {
      grid-template-columns: 1fr;
    }

    .page-reference .reference-chart-headline {
      grid-template-columns: 1fr;
    }

    .page-reference .reference-chart-block {
      padding: 12px;
    }

    .page-reference .reference-chart-headline > div {
      padding: 8px 10px;
    }

    .page-reference .reference-chart-headline strong {
      font-size: 16px;
    }

    .page-reference .reference-chart-wrap {
      padding: 8px;
      border-radius: 10px;
    }

    .page-reference .reference-chart-svg-desktop {
      display: none;
    }

    .page-reference .reference-chart-svg-mobile {
      display: block;
      width: 100%;
      height: 220px;
      aspect-ratio: auto;
    }

    .page-reference .chart-max-label {
      font-size: 11px;
    }

    .page-reference .chart-x-label {
      font-size: 10px;
    }

    .page-reference .reference-calc-grid {
      grid-template-columns: 1fr;
    }

    .page-reference .reference-mini-stats {
      grid-template-columns: 1fr;
    }

    .page-reference .reference-seo-highlights {
      grid-template-columns: 1fr;
    }

    .page-reference .reference-hero h1 {
      font-size: 25px;
    }

    .page-reference .reference-archive-filter {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 420px) {
    .page-reference .container {
      padding-left: 8px;
      padding-right: 8px;
    }

    .page-reference .reference-chart-svg-mobile {
      height: 200px;
    }
  }

  /* ==================== API PAGE ==================== */
  .page-api .api-page {
    padding: 20px 0 50px;
  }

  .page-api .api-hero {
    border-radius: 14px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(135deg, #083554 0%, #0c5c8d 56%, #0a4469 100%);
    box-shadow: 0 12px 30px rgba(8, 53, 84, 0.23);
  }

  .page-api .api-eyebrow {
    font-size: 12px;
    color: #ffd182;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .page-api .api-hero h1 {
    font-size: 31px;
    margin-bottom: 9px;
  }

  .page-api .api-hero p {
    color: #deebf7;
    max-width: 820px;
    font-size: 14px;
    line-height: 1.9;
  }

  .page-api .api-badges {
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
  }

  .page-api .api-badges span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .page-api .api-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }

  .page-api .api-hero-actions a,
  .page-api .api-docs-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 13px;
    border-radius: 9px;
    background: #f5a900;
    color: #071f35;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .page-api .api-hero-actions a:first-child,
  .page-api .api-docs-link {
    background: #fff;
    color: #0d5a8b;
  }

  .page-api .api-hero-actions a:hover,
  .page-api .api-docs-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(6, 31, 53, 0.16);
  }

  .page-api .api-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .page-api .api-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 7px 20px rgba(9, 42, 67, 0.09);
  }

  .page-api .api-card.featured {
    border-color: #f5c45f;
    box-shadow: 0 10px 24px rgba(245, 169, 0, 0.19);
  }

  .page-api .api-card h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
  }

  .page-api .api-price {
    color: #0d5a8b;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 9px;
  }

  .page-api .api-price span {
    font-size: 12px;
    color: #71859c;
    font-weight: 500;
  }

  .page-api .api-card ul {
    padding-right: 17px;
    display: grid;
    gap: 7px;
    color: #4f6072;
    font-size: 13px;
    min-height: 92px;
  }

  .page-api .api-btn {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #0d5a8b 0%, #0b4368 100%);
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(13, 90, 139, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .page-api .api-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(13, 90, 139, 0.28);
  }

  .page-api .api-doc {
    margin-top: 16px;
  }

  .page-api .api-ivr {
    margin-top: 16px;
  }

  .page-api .api-ivr-head {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 12px;
    align-items: start;
  }

  .page-api .api-ivr-head h3 {
    color: var(--primary-dark);
    font-size: 24px;
    margin-bottom: 7px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .page-api .api-ivr-head p {
    color: #4f6072;
    font-size: 13px;
    line-height: 1.9;
  }

  .page-api .api-ivr-page-link {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    border: 1px solid #d8e7f5;
    background: #f5f9ff;
    color: #0d5a8b;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    padding: 9px 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .page-api .api-ivr-page-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(13, 90, 139, 0.12);
  }

  .page-api .api-ivr-cards {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .page-api .api-ivr-cards article {
    border: 1px solid #e4edf7;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    padding: 12px;
  }

  .page-api .api-ivr-cards h4 {
    color: var(--primary-dark);
    font-size: 15px;
    margin-bottom: 7px;
  }

  .page-api .api-ivr-cards a {
    direction: ltr;
    display: inline-block;
    font-size: 20px;
    font-weight: 800;
    color: #0d5a8b;
    text-decoration: none;
    margin-bottom: 6px;
  }

  .page-api .api-ivr-cards a:hover {
    text-decoration: underline;
  }

  .page-api .api-ivr-cards p {
    color: #5f7287;
    font-size: 12px;
    line-height: 1.8;
  }

  .page-api .api-ivr-seo-note {
    margin-top: 12px;
    border: 1px dashed #d5e5f4;
    border-radius: 8px;
    background: #f8fbff;
    padding: 9px 11px;
    color: #5f7287;
    font-size: 12px;
    line-height: 1.9;
  }

  .page-api .api-ivr-seo-note a {
    color: #0d5a8b;
    font-weight: 700;
    text-decoration: none;
  }

  .page-api .api-ivr-seo-note a:hover {
    text-decoration: underline;
  }

  .page-api .api-doc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .page-api .api-copy-btn {
    border: 1px solid #d7e4f0;
    background: #f5f9ff;
    color: #0d5a8b;
    border-radius: 8px;
    padding: 7px 12px;
    font-family: inherit;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .page-api .api-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(13, 90, 139, 0.14);
  }

  .page-api .api-copy-btn.copied {
    background: #e9f8f1;
    border-color: #bcead6;
    color: #0b6d47;
  }

  .page-api .api-doc pre {
    margin-top: 10px;
    background: #0b2f4b;
    color: #eaf4ff;
    border-radius: 10px;
    padding: 14px;
    overflow: auto;
    direction: ltr;
    text-align: left;
    font-size: 12px;
    line-height: 1.8;
  }

  .page-api .api-doc code {
    font-family: Consolas, 'Courier New', monospace;
  }

  .page-api .api-docs-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: stretch;
    border-radius: 18px;
    padding: 28px;
    color: #fff;
    background: linear-gradient(135deg, #083554 0%, #0c5c8d 58%, #062744 100%);
    box-shadow: 0 16px 38px rgba(8, 53, 84, 0.2);
  }

  .page-api .api-docs-hero h1 {
    margin: 8px 0 10px;
    color: #fff;
    font-size: 34px;
    line-height: 1.55;
  }

  .page-api .api-docs-hero p {
    max-width: 780px;
    margin: 0;
    color: #deebf7;
    font-size: 14px;
    line-height: 2;
  }

  .page-api .api-docs-quick-card {
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.12);
  }

  .page-api .api-docs-quick-card span {
    color: #ffd182;
    font-size: 12px;
    font-weight: 900;
  }

  .page-api .api-docs-quick-card code,
  .page-api .api-docs-quick-card strong {
    direction: ltr;
    color: #fff;
    text-align: left;
    font-weight: 900;
  }

  .page-api .api-docs-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: 18px;
  }

  .page-api .api-docs-nav,
  .page-api .api-docs-section {
    border: 1px solid #e3eaf2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(9, 42, 67, 0.08);
  }

  .page-api .api-docs-nav {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 8px;
    padding: 15px;
  }

  .page-api .api-docs-nav strong {
    color: var(--primary-dark);
    font-size: 15px;
  }

  .page-api .api-docs-nav a {
    padding: 8px 10px;
    border-radius: 9px;
    color: #516579;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
  }

  .page-api .api-docs-nav a:hover {
    background: #f2f6fa;
    color: #0d5a8b;
  }

  .page-api .api-docs-content {
    display: grid;
    gap: 16px;
  }

  .page-api .api-docs-section {
    padding: 22px;
  }

  .page-api .api-docs-section-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 10px;
  }

  .page-api .api-docs-section-head span {
    display: inline-grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 11px;
    background: #f5a900;
    color: #071f35;
    font-weight: 900;
  }

  .page-api .api-docs-section h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 22px;
    line-height: 1.7;
  }

  .page-api .api-docs-section p,
  .page-api .api-docs-section li {
    color: #4f6072;
    font-size: 14px;
    line-height: 2;
  }

  .page-api .api-docs-section pre {
    margin: 12px 0 0;
    padding: 15px;
    overflow-x: auto;
    border-radius: 12px;
    background: #071f35;
    color: #eaf4ff;
    direction: ltr;
    text-align: left;
    font-size: 12px;
    line-height: 1.8;
  }

  .page-api .api-docs-section code {
    font-family: Consolas, 'Courier New', monospace;
    direction: ltr;
  }

  .page-api .api-docs-table {
    display: grid;
    overflow: hidden;
    border: 1px solid #e3eaf2;
    border-radius: 12px;
  }

  .page-api .api-docs-table div {
    display: grid;
    grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
    gap: 12px;
    padding: 11px 13px;
    border-bottom: 1px solid #edf2f6;
  }

  .page-api .api-docs-table-errors div {
    grid-template-columns: 80px 150px minmax(0, 1fr);
  }

  .page-api .api-docs-table div:first-child {
    background: #f6f9fb;
    color: var(--primary-dark);
  }

  .page-api .api-docs-table div:last-child {
    border-bottom: 0;
  }

  .page-api .api-docs-callout {
    display: flex;
    gap: 13px;
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #dce8f1;
    border-radius: 12px;
    background: #f6f9fb;
  }

  .page-api .api-docs-callout i {
    color: #d39a2f;
    font-size: 24px;
  }

  .page-api .api-docs-callout strong {
    color: var(--primary-dark);
    font-weight: 900;
  }

  @media (max-width: 1024px) {
    .page-api .api-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-api .api-docs-hero,
    .page-api .api-docs-shell {
      grid-template-columns: 1fr;
    }

    .page-api .api-docs-nav {
      position: static;
    }

    .page-api .api-ivr-head,
    .page-api .api-ivr-cards {
      grid-template-columns: 1fr;
    }

    .page-api .api-ivr-page-link {
      justify-self: start;
    }
  }

  @media (max-width: 680px) {
    .page-api .api-grid {
      grid-template-columns: 1fr;
    }

    .page-api .api-hero h1 {
      font-size: 25px;
    }

    .page-api .api-doc-head {
      flex-direction: column;
      align-items: flex-start;
    }

    .page-api .api-docs-table div,
    .page-api .api-docs-table-errors div {
      grid-template-columns: 1fr;
    }
  }

  /* ==================== TALKER PAGE ==================== */
  .page-talker .talker-page {
    padding: 20px 0 50px;
  }

  .page-talker .talker-hero {
    border-radius: 14px;
    padding: 22px;
    color: #fff;
    background: linear-gradient(135deg, #0b3654 0%, #12689d 55%, #0c486f 100%);
    box-shadow: 0 12px 30px rgba(8, 53, 84, 0.22);
  }

  .page-talker .talker-eyebrow {
    color: #ffd182;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .page-talker .talker-hero h1 {
    font-size: 31px;
    margin-bottom: 9px;
  }

  .page-talker .talker-hero p {
    color: #deebf7;
    max-width: 850px;
    font-size: 14px;
    line-height: 1.9;
  }

  .page-talker .talker-hero-badges {
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
  }

  .page-talker .talker-hero-badges span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .page-talker .talker-cards {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .page-talker .talker-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 7px 20px rgba(9, 42, 67, 0.09);
  }

  .page-talker .talker-card h3 {
    color: var(--primary-dark);
    font-size: 16px;
    margin-bottom: 8px;
  }

  .page-talker .talker-card a {
    direction: ltr;
    display: inline-block;
    font-size: 25px;
    font-weight: 800;
    color: #0d5a8b;
    text-decoration: none;
    margin-bottom: 7px;
  }

  .page-talker .talker-card a:hover {
    text-decoration: underline;
  }

  .page-talker .talker-card p {
    color: #5f7287;
    font-size: 12px;
    line-height: 1.8;
  }

  .page-talker .talker-steps,
  .page-talker .talker-faq,
  .page-talker .talker-seo-links,
  .page-talker .talker-source {
    margin-top: 16px;
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(8, 42, 67, 0.08);
  }

  .page-talker .talker-steps h2,
  .page-talker .talker-faq h2,
  .page-talker .talker-seo-links h2,
  .page-talker .talker-source h2 {
    color: var(--primary-dark);
    font-size: 23px;
    margin-bottom: 9px;
  }

  .page-talker .talker-faq-list {
    display: grid;
    gap: 8px;
  }

  .page-talker .talker-faq-item {
    border: 1px solid #e4edf7;
    border-radius: 10px;
    background: #fbfdff;
    padding: 9px 11px;
  }

  .page-talker .talker-faq-item summary {
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .page-talker .talker-faq-item summary::-webkit-details-marker {
    display: none;
  }

  .page-talker .talker-faq-item p {
    margin-top: 7px;
    color: #4f6072;
    font-size: 13px;
    line-height: 1.9;
  }

  .page-talker .talker-faq-item a,
  .page-talker .talker-seo-links a {
    color: #0d5a8b;
    text-decoration: none;
    font-weight: 700;
  }

  .page-talker .talker-faq-item a:hover,
  .page-talker .talker-seo-links a:hover {
    text-decoration: underline;
  }

  .page-talker .talker-seo-links ul {
    margin: 0;
    padding-right: 18px;
    display: grid;
    gap: 8px;
    color: #4f6072;
    font-size: 13px;
    line-height: 1.9;
  }

  .page-talker .talker-steps ol {
    margin: 0;
    padding-right: 19px;
    display: grid;
    gap: 8px;
    color: #4f6072;
    line-height: 1.9;
    font-size: 13px;
  }

  .page-talker .talker-steps a {
    color: #0d5a8b;
    text-decoration: none;
    font-weight: 700;
  }

  .page-talker .talker-steps a:hover {
    text-decoration: underline;
  }

  .page-talker .talker-source p {
    color: #4f6072;
    line-height: 1.9;
    font-size: 13px;
    margin-bottom: 10px;
  }

  .page-talker .talker-source-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    border: 1px solid #d8e7f5;
    background: #f5f9ff;
    color: #0d5a8b;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    padding: 9px 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .page-talker .talker-source-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(13, 90, 139, 0.12);
  }

  @media (max-width: 1024px) {
    .page-talker .talker-cards {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 680px) {
    .page-talker .talker-hero h1 {
      font-size: 25px;
    }

    .page-talker .talker-card a {
      font-size: 22px;
    }
  }

  /* ==================== REFERENCE LIST PAGE ==================== */
  .page-reference-list .reference-list-page {
    padding: 20px 0 50px;
  }

  .page-reference-list .reference-list-hero {
    border-radius: 14px;
    padding: 20px;
    background: linear-gradient(135deg, #083554 0%, #0c5c8d 56%, #0a4469 100%);
    color: #fff;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
    box-shadow: 0 12px 30px rgba(8, 53, 84, 0.23);
  }

  .page-reference-list .reference-list-eyebrow {
    color: #ffd182;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
  }

  .page-reference-list .reference-list-hero h1 {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .page-reference-list .reference-list-hero p {
    color: #deebf7;
    line-height: 1.9;
    font-size: 14px;
  }

  .page-reference-list .reference-list-hero-stats {
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 10px;
    align-content: start;
  }

  .page-reference-list .reference-list-hero-stats > div {
    display: flex;
    justify-content: space-between;
    color: #e9f2fa;
    font-size: 13px;
  }

  .page-reference-list .reference-list-hero-stats strong {
    color: #fff;
    font-size: 20px;
  }

  .page-reference-list .reference-list-controls {
    margin-top: 14px;
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 20px rgba(8, 42, 67, 0.08);
    display: grid;
    gap: 10px;
  }

  .page-reference-list .reference-list-panel {
    margin-top: 14px;
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 6px 20px rgba(8, 42, 67, 0.08);
  }

  .page-reference-list .reference-list-intro h2 {
    color: var(--primary-dark);
    font-size: 23px;
    margin-bottom: 7px;
  }

  .page-reference-list .reference-list-intro p {
    color: #4f6072;
    line-height: 1.9;
    font-size: 14px;
  }

  .page-reference-list .reference-list-intro-points {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .page-reference-list .reference-list-intro-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    border: 1px solid #d8e7f5;
    background: #f4f9ff;
    color: #285777;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
  }

  .page-reference-list .reference-list-intro-points span:nth-child(1) {
    background: #fff3cf;
    border-color: #f3d48d;
    color: #8a5a00;
  }

  .page-reference-list .reference-list-intro-points span:nth-child(2) {
    background: #eaf4ff;
    border-color: #c6def8;
    color: #2f6090;
  }

  .page-reference-list .reference-list-intro-points span:nth-child(3) {
    background: #e9f8f1;
    border-color: #bcead6;
    color: #0b6d47;
  }

  .page-reference-list .reference-list-search {
    position: relative;
  }

  .page-reference-list .reference-list-search i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #62809c;
    font-size: 13px;
  }

  .page-reference-list .reference-list-search input {
    width: 100%;
    height: 44px;
    border-radius: 9px;
    border: 1px solid #d7e4f0;
    padding: 0 36px 0 12px;
    font-family: inherit;
    color: var(--primary-dark);
    font-size: 13px;
  }

  .page-reference-list .reference-list-search input:focus {
    outline: none;
    border-color: #0d5a8b;
    box-shadow: 0 0 0 3px rgba(13, 90, 139, 0.12);
  }

  .page-reference-list .reference-list-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .page-reference-list .reference-list-filters button {
    border: 1px solid #d8e7f5;
    background: #f5f9ff;
    color: #285777;
    border-radius: 999px;
    padding: 6px 13px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .page-reference-list .reference-list-filters button.is-active {
    background: linear-gradient(135deg, #0d5a8b 0%, #0b4368 100%);
    border-color: #0d5a8b;
    color: #fff;
  }

  .page-reference-list .reference-list-filters button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(13, 90, 139, 0.14);
  }

  .page-reference-list .reference-list-sections {
    margin-top: 14px;
    display: grid;
    gap: 12px;
  }

  .page-reference-list .reference-category-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(8, 42, 67, 0.08);
    overflow: hidden;
  }

  .page-reference-list .reference-category-head {
    padding: 12px 14px;
    border-bottom: 1px solid #e8eef5;
    background: #f7fbff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .page-reference-list .reference-category-title h2 i {
    color: #0d5a8b;
    margin-left: 6px;
  }

  .page-reference-list .reference-category-head h2 {
    color: var(--primary-dark);
    font-size: 20px;
    font-weight: 800;
  }

  .page-reference-list .reference-category-head h2 span {
    color: #59748e;
    font-size: 15px;
    font-weight: 700;
  }

  .page-reference-list .reference-category-head p {
    color: #5f7891;
    font-size: 12px;
    font-weight: 700;
  }


  .page-reference-list .reference-table-wrap-pro {
    overflow: auto;
  }

  .page-reference-list .reference-pro-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
  }

  .page-reference-list .reference-pro-table caption {
    caption-side: top;
    text-align: right;
    padding: 10px 12px 0;
    color: #53708a;
    font-size: 12px;
    font-weight: 700;
  }

  .page-reference-list .reference-pro-table th,
  .page-reference-list .reference-pro-table td {
    border-bottom: 1px solid #eef2f7;
    padding: 10px 12px;
    text-align: right;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Desktop/default: show all columns */
  .page-reference-list .reference-pro-table th:nth-child(1),
  .page-reference-list .reference-pro-table td:nth-child(1),
  .page-reference-list .reference-pro-table th:nth-child(2),
  .page-reference-list .reference-pro-table td:nth-child(2),
  .page-reference-list .reference-pro-table th:nth-child(6),
  .page-reference-list .reference-pro-table td:nth-child(6),
  .page-reference-list .reference-pro-table th:nth-child(7),
  .page-reference-list .reference-pro-table td:nth-child(7) {
    display: table-cell;
  }

  .page-reference-list .reference-pro-table th {
    background: #fbfdff;
    color: #587087;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .page-reference-list .reference-pro-table tbody tr:hover {
    background: #f9fcff;
  }

  .page-reference-list .reference-pro-table tbody tr:nth-child(odd):not(.row-max):not(.row-min) {
    background: #ffffff;
  }

  .page-reference-list .reference-pro-table tbody tr:nth-child(even):not(.row-max):not(.row-min) {
    background: #f7fafd;
  }

  .page-reference-list .reference-pro-table tbody tr.row-max {
    background: #fff9e9;
  }

  .page-reference-list .reference-pro-table tbody tr.row-min {
    background: #f1f8ff;
  }

  .page-reference-list .reference-pro-table .col-symbol {
    color: #0d5a8b;
    font-weight: 800;
  }

  .page-reference-list .reference-pro-table .col-num {
    direction: ltr;
    unicode-bidi: embed;
    color: #1d3d59;
    font-weight: 700;
  }

  .page-reference-list .trend-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 9px;
    border: 1px solid #dfe8f2;
    background: #f6f9fd;
    color: #5c738a;
    font-size: 11px;
    font-weight: 700;
  }

  .page-reference-list .trend-pill.up {
    background: #e9f8f1;
    border-color: #bcead6;
    color: #0b6d47;
  }

  .page-reference-list .trend-pill.down {
    background: #fff1f1;
    border-color: #ffd0d0;
    color: #8a2d2d;
  }

  .page-reference-list .reference-list-empty {
    margin-top: 14px;
    border: 1px solid #ffd7d7;
    background: #fff5f5;
    color: #8a2d2d;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .page-reference-list .reference-list-api-cta {
    margin-top: 14px;
    border-radius: 14px;
    border: 1px solid #2f5f86;
    background: linear-gradient(135deg, #082f4d 0%, #0e476f 58%, #0a3657 100%);
    padding: 16px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
    align-items: center;
    box-shadow: 0 16px 34px rgba(6, 39, 68, 0.25);
  }

  .page-reference-list .reference-list-api-eyebrow {
    color: #ffd182;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
  }

  .page-reference-list .reference-list-api-content h2 {
    color: #fff;
    font-size: 25px;
    margin-bottom: 7px;
  }

  .page-reference-list .reference-list-api-content p {
    color: #dbe8f4;
    font-size: 13px;
    line-height: 1.9;
  }

  .page-reference-list .reference-list-api-content ul {
    margin-top: 9px;
    padding-right: 18px;
    display: grid;
    gap: 6px;
    color: #edf5ff;
    font-size: 13px;
  }

  .page-reference-list .reference-list-api-actions {
    display: grid;
    justify-items: end;
    gap: 8px;
  }

  .page-reference-list .reference-list-api-actions span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
  }

  .page-reference-list .reference-list-api-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 10px;
    color: #082f4d;
    background: linear-gradient(135deg, #f5a900 0%, #da9600 100%);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(245, 169, 0, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .page-reference-list .reference-list-api-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(245, 169, 0, 0.34);
  }

  @media (max-width: 1024px) {
    .page-reference-list .reference-list-hero {
      grid-template-columns: 1fr;
    }

    .page-reference-list .reference-list-api-cta {
      grid-template-columns: 1fr;
    }

    .page-reference-list .reference-list-api-actions {
      justify-items: start;
    }
  }

  @media (max-width: 680px) {
    .page-reference-list .reference-list-hero h1 {
      font-size: 25px;
    }

    .page-reference-list .reference-category-head {
      flex-direction: column;
      align-items: flex-start;
    }

    /* Mobile only: hide symbol, name, min and max columns */
    .page-reference-list .reference-pro-table th:nth-child(1),
    .page-reference-list .reference-pro-table td:nth-child(1),
    .page-reference-list .reference-pro-table th:nth-child(2),
    .page-reference-list .reference-pro-table td:nth-child(2),
    .page-reference-list .reference-pro-table th:nth-child(6),
    .page-reference-list .reference-pro-table td:nth-child(6),
    .page-reference-list .reference-pro-table th:nth-child(7),
    .page-reference-list .reference-pro-table td:nth-child(7) {
      display: none;
    }

    .page-reference-list .reference-pro-table {
      min-width: 0;
    }

  }

