/*
Theme Name: MSI Credit Solutions
Theme URI: https://msicredit.com
Author: MSI Credit Solutions
Author URI: https://msicredit.com
Description: Custom WordPress theme for MSI Credit Solutions featuring a modern dark design with Tailwind CSS.
Version: 1.8.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: msi-credit
Tags: custom-logo, custom-menu, featured-images, dark-mode, responsive-layout
*/

/* ==================== SELF-HOSTED FONTS ==================== */
/* Figtree — variable weight font, replaces Google Fonts CDN */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('./assets/fonts/figtree/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('./assets/fonts/figtree/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==================== THEME VARIABLES ==================== */
:root {
  /* Light Mode */
  --bg-body: #ffffff;
  --text-primary: rgb(17 24 39);
  --tab-bg: rgb(249 250 251);
  --tab-bg-hover: rgb(243 244 246);
  --tab-border: rgb(209 213 219);
  --tab-selected-bg: rgb(127 29 29);
  --tab-selected-bg-hover: rgb(153 27 27);
  --tab-selected-border: rgb(153 27 27);
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --input-focus: rgba(59, 130, 246, 0.3);
  --input-border-focus: #3b82f6;

  /* Toggle button */
  --toggle-bg: rgba(255,255,255,0.10);
  --toggle-ring: rgba(255,255,255,0.20);
}

/* Dark Mode (default) */
body {
  --bg-body: #0f172a;
  --text-primary: #f1f5f9;
  --tab-bg: #1e293b;
  --tab-bg-hover: #334155;
  --tab-border: #475569;
  --tab-selected-bg: #991b1b;
  --tab-selected-bg-hover: #b91c1c;
  --tab-selected-border: #dc2626;
  --glass-bg: rgba(15, 23, 42, 0.4);
  --glass-border: rgba(148, 163, 184, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  --input-focus: rgba(59, 130, 246, 0.4);
  --input-border-focus: #60a5fa;
  --toggle-bg: rgba(15,23,42,0.40);
  --toggle-ring: rgba(148,163,184,0.30);
}

/* ==================== SMOOTH TRANSITIONS ==================== */
body,
.glass,
header,
footer {
  transition: background 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

/* ==================== GLOBAL ==================== */
body {
  font-family: 'Figtree', system-ui, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}

/* ==================== HERO STYLES ==================== */
.hero-panel {
  min-height: calc(100vh - 0.75rem);
}

@media (min-width: 768px) {
  .hero-panel {
    min-height: calc(100vh - 1.25rem);
  }
}

.hero-text-shadow {
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.stats-bar-gradient {
  background: linear-gradient(90deg, #4285F4 0%, #3B82F6 100%);
}

/* ==================== GLASS PANEL ==================== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow);
  border-radius: 1rem;
  padding: 1.5rem;
}

/* ==================== PAGE CONTENT STYLES ==================== */
/* Real CSS — @apply directives don't work in linked stylesheets with Tailwind CDN */

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.page-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.page-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.page-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.page-content ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.page-content li strong {
  color: #e2e8f0;
}

.page-content a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.page-content a:hover {
  color: #93c5fd;
}

.page-content a[download] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.page-content a[download]:hover {
  background: rgba(59, 130, 246, 0.25);
}

.page-content a[download]::before {
  content: "\f019";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.875rem;
}

.page-content strong {
  color: #ffffff;
  font-weight: 600;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}

.page-content blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #94a3b8;
}

.page-content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.page-content figure {
  margin: 1.5rem 0;
}

.page-content figcaption {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 0.5rem;
  text-align: center;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.page-content thead {
  border-bottom: 2px solid rgba(59, 130, 246, 0.4);
}

.page-content th {
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.page-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #d1d5db;
}

.page-content tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* ==================== RESPONSIVE VIDEO EMBEDS ==================== */
.aspect-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  margin-bottom: 1.5rem;
}

.aspect-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0.75rem;
}

/* ==================== WORDPRESS SPECIFIC ==================== */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

/* ==================== FAQ ACCORDION ==================== */
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item .faq-chevron {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* Numbered FAQ variant */
.faq-numbered {
  border-left: 3px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-numbered:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-numbered.active {
  border-left-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
  box-shadow: -4px 0 20px rgba(59, 130, 246, 0.15), 0 0 30px rgba(59, 130, 246, 0.05);
}

.faq-number {
  font-size: 1.75rem;
  min-width: 2.5rem;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.faq-numbered.active .faq-number {
  opacity: 1;
}

.faq-answer-inner {
  padding: 0.25rem 1.5rem 1.5rem 4.25rem;
}

.faq-answer-inner a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer-inner a:hover {
  color: #93bbfd;
}

@media (min-width: 768px) {
  .faq-number {
    font-size: 2rem;
    min-width: 2.75rem;
  }

  .faq-answer-inner {
    padding: 0.25rem 2rem 1.75rem 4.75rem;
  }
}

.faq-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  transition: background 0.3s ease, transform 0.3s ease;
}

.faq-numbered.active .faq-icon {
  background: rgba(59, 130, 246, 0.2);
}

/* ==================== NAVIGATION DROPDOWNS ==================== */
.msi-dropdown {
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.group:hover > .msi-dropdown {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  display: block;
}

/* Mobile submenu toggle arrow rotation */
.msi-mobile-toggle.active i {
  transform: rotate(180deg);
}

/* ==================== SECTION UTILITIES ==================== */
.section-gradient-divider {
  background: linear-gradient(to right, transparent, rgba(59,130,246,0.3), transparent);
  height: 1px;
}

.step-connector {
  border-top: 2px dashed rgba(59,130,246,0.3);
}

/* ==================== HIGH-TECH HOMEPAGE ==================== */

/* Hero multi-gradient overlay */
.hero-overlay {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(59,130,246,0.18) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.8) 100%);
}

/* Subtle grid pattern */
.hero-grid-overlay {
  background-image:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pulsing status badge */
.badge-pulse {
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(59,130,246,0); }
}

/* Card glow on hover */
.card-glow {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(59,130,246,0.15), 0 8px 32px rgba(0,0,0,0.3);
  border-color: rgba(59,130,246,0.4);
}

/* Gradient icon container */
.icon-gradient {
  background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(59,130,246,0.25) 100%);
  transition: background 0.3s ease;
}

.group:hover .icon-gradient,
.card-glow:hover .icon-gradient {
  background: linear-gradient(135deg, rgba(59,130,246,0.25) 0%, rgba(59,130,246,0.4) 100%);
}

/* Section glow divider */
.section-glow-divider {
  height: 120px;
  margin: -60px 0;
  position: relative;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(59,130,246,0.08) 0%, transparent 70%);
}

/* Scroll reveal — uses @keyframes to avoid persistent GPU layers */
.reveal {
  opacity: 0;
}

.reveal.in-view {
  animation: revealUp 0.7s ease forwards;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal-delay-1.in-view { animation-delay: 0.1s; }
.reveal-delay-2.in-view { animation-delay: 0.2s; }
.reveal-delay-3.in-view { animation-delay: 0.3s; }
.reveal-delay-4.in-view { animation-delay: 0.4s; }

/* Floating stats panel */
.stats-float {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Timeline connector line */
.timeline-line {
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
  height: 2px;
}

/* Step ring glow */
.step-ring {
  box-shadow: 0 0 0 4px rgba(59,130,246,0.2), 0 0 20px rgba(59,130,246,0.3);
}

/* Testimonial card top accent */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
}

/* ==================== TESTIMONIAL CAROUSEL ==================== */
.testimonial-carousel {
  position: relative;
  min-height: 380px;
}

@media (min-width: 768px) {
  .testimonial-carousel {
    min-height: 340px;
  }
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease;
}

.testimonial-track.no-transition {
  transition: none;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .testimonial-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    flex: 0 0 33.333%;
  }
}

/* Navigation arrows */
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e2e8f0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
}

.testimonial-nav:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.testimonial-nav--prev {
  left: -0.25rem;
}

.testimonial-nav--next {
  right: -0.25rem;
}

@media (min-width: 768px) {
  .testimonial-nav--prev {
    left: -1rem;
  }
  .testimonial-nav--next {
    right: -1rem;
  }
}

/* Dot indicators */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.testimonial-dot.active {
  background: #3b82f6;
  transform: scale(1.25);
}

/* Platform badges */
.testimonial-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.testimonial-platform--google {
  background: rgba(66, 133, 244, 0.15);
  color: #93bbfc;
}

.testimonial-platform--facebook {
  background: rgba(24, 119, 242, 0.15);
  color: #7ab8f5;
}

.testimonial-platform--trustpilot {
  background: rgba(0, 182, 122, 0.15);
  color: #5ee0b0;
}

/* Reduced motion: disable auto-play transition */
@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    transition: none;
  }
}

/* CTA glass panel — elevated with gradient border + glow */
.cta-panel {
  position: relative;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 60px rgba(59, 130, 246, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.4);
}

.cta-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.5),
    rgba(59, 130, 246, 0.12) 50%,
    rgba(59, 130, 246, 0.4)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    animation: none !important;
  }
  .badge-pulse {
    animation: none;
  }
  .card-glow {
    transition: none;
  }
  .card-glow:hover {
    transform: none;
  }
}

/* ==================== PAGINATION ==================== */
.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.page-numbers:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.page-numbers.current {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
  font-weight: 700;
}

.page-numbers.dots {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.page-numbers.prev,
.page-numbers.next {
  gap: 0.5rem;
}

/* paginate_links list output */
.page-numbers-list,
.nav-links ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.page-numbers-list li,
.nav-links ul li {
  margin: 0;
}

/* ==================== SCREEN READER ONLY ==================== */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: #3b82f6;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

/* ==================== BACK TO TOP ==================== */
.msi-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.15s ease;
  pointer-events: none;
}

.msi-back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.msi-back-to-top:hover {
  background: #2563eb;
}

/* ==================== ADMIN BAR FIX ==================== */
.admin-bar header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar header {
    top: 46px;
  }
}

/* ==================== PRINT STYLES ==================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  header,
  footer,
  .msi-back-to-top,
  nav[aria-label="Breadcrumb"],
  .section-post-sharing,
  .section-related-posts,
  .post-navigation,
  #back-to-top {
    display: none !important;
  }

  main {
    padding-top: 0 !important;
  }

  .bg-white\/5,
  .bg-white\/10 {
    background: transparent !important;
    border-color: #cccccc !important;
  }

  .page-content,
  .page-content p,
  .page-content li,
  .page-content td,
  .text-gray-300,
  .text-gray-400 {
    color: #000000 !important;
  }

  .page-content h2,
  .page-content h3,
  .page-content h4,
  .page-content strong,
  h1, h2, h3 {
    color: #000000 !important;
  }

  .page-content a {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
  }

  .page-content a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.75rem;
    color: #666666;
  }

  .page-content img {
    max-width: 100% !important;
    border-radius: 0 !important;
  }
}
