@charset "UTF-8";
/*
Theme Name: Mr Media Technology
Theme URI: https://www.gwlin.com
Author: GWLin
Author URI: https://www.gwlin.com
Description: Mr. Media Technology Limited 企业官网主题
Version: 1.0.11
Text Domain: mr-media-technology
*/
/* ===== Font Face Declarations ===== */
@font-face {
  font-family: 'BigShoulders';
  src: url("./assets/fonts/BigShoulders-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap; }
@font-face {
  font-family: 'BigShoulders';
  src: url("./assets/fonts/BigShoulders-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap; }
@font-face {
  font-family: 'BricolageGrotesque';
  src: url("./assets/fonts/BricolageGrotesque-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap; }
@font-face {
  font-family: 'BricolageGrotesque';
  src: url("./assets/fonts/BricolageGrotesque-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap; }
@font-face {
  font-family: 'JetBrainsMono';
  src: url("./assets/fonts/JetBrainsMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap; }
/* ===== CSS Variables ===== */
:root {
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --accent-blue: #1e40af;
  --accent-cyan: #0891b2;
  --accent-purple: #7c3aed;
  --accent-amber: #d97706;
  --font-heading: 'BigShoulders', sans-serif;
  --font-title: 'BigShoulders', sans-serif;
  --font-body: 'BricolageGrotesque', sans-serif;
  --font-mono: 'JetBrainsMono', monospace;
  --max-width: 1200px;
  --navbar-height: 72px;
  --card-radius: 12px;
  --transition-speed: 0.3s; }

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease; }

img {
  max-width: 100%;
  display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease; }

.navbar.scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.06); }

.navbar-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between; }

.navbar-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-blue);
  letter-spacing: 0.02em;
  flex-shrink: 0; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none; }

.navbar-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  transition: color 0.3s ease; }

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-blue);
  transition: width 0.3s ease; }

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--accent-blue); }

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%; }

.navbar-links a.active {
  font-weight: 700; }

/* Mobile Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px; }

.navbar-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease; }

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(8, 145, 178, 0.75)), url("./assets/hero_banner.jpg") center center/cover no-repeat;
  padding: calc(var(--navbar-height) + 60px) 24px 80px;
  text-align: center;
  color: #ffffff; }

.hero-content {
  max-width: 800px;
  animation: heroFadeIn 1s ease-out; }

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.02em; }

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto; }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
  min-width: 180px; }

.btn-primary {
  background-color: #ffffff;
  color: var(--accent-blue);
  border-color: #ffffff; }

.btn-primary:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff; }

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }

/* ===== Section Common ===== */
section {
  padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem; }

.section-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em; }

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7; }

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  border-radius: 2px;
  margin: 16px auto 0; }

/* ===== About Section ===== */
.about {
  background-color: var(--bg-card); }

.about-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center; }

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary); }

.about-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 1.5rem; }

.about-brand img {
  width: 120px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08); }

.about-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent-blue);
  letter-spacing: 0.04em; }

/* ===== Core Business (Cards) ===== */
.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px; }

.business-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border-color: var(--accent-blue); }

.business-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: #ffffff; }

.business-card .icon.medical {
  background: linear-gradient(135deg, #1e40af, #3b82f6); }

.business-card .icon.legal {
  background: linear-gradient(135deg, #0891b2, #22d3ee); }

.business-card .icon.financial {
  background: linear-gradient(135deg, #1e40af, #6366f1); }

.business-card .icon.insurance {
  background: linear-gradient(135deg, #0891b2, #2dd4bf); }

.business-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em; }

.business-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7; }

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  text-align: center;
  color: #ffffff;
  padding: 5rem 24px; }

.cta-section h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: 0.02em; }

.cta-section p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto; }

.cta-section .btn-primary {
  background-color: #ffffff;
  color: var(--accent-blue);
  border-color: #ffffff; }

.cta-section .btn-primary:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff; }

.cta-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.7); }

.cta-section .btn-outline:hover {
  background-color: #ffffff;
  color: var(--accent-blue);
  border-color: #ffffff; }

/* ===== Footer ===== */
.footer {
  background-color: var(--text-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 24px 2rem; }

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

.footer-brand h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 6px; }

.footer-brand p {
  font-size: 0.88rem;
  opacity: 0.7; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease; }

.footer-links a:hover {
  color: #ffffff; }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 1.5rem 0 1rem;
  font-size: 0.9rem; }

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease; }

.footer-contact a:hover {
  color: #ffffff; }

.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 1.2rem; }

.footer-copyright {
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.6;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06); }

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .navbar-toggle {
    display: flex; }

  .navbar-links {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-bottom: 1px solid var(--border-color); }

  .navbar-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto; }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 20px; }

  .hero {
    padding-left: 20px;
    padding-right: 20px; }

  .hero-buttons {
    flex-direction: column;
    align-items: center; }

  .btn {
    width: 100%;
    max-width: 300px; }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center; }

  .footer-links {
    justify-content: center; }

  section {
    padding: 3.5rem 0; } }
@media (min-width: 769px) and (max-width: 1024px) {
  .business-grid {
    grid-template-columns: repeat(2, 1fr); } }
/* === medical.html scoped body.mmt-page-medical === */
body.mmt-page-medical .page-banner {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  padding: calc(var(--navbar-height) + 80px) 24px 80px;
  text-align: center;
  color: #ffffff; }

body.mmt-page-medical .page-banner-content {
  max-width: 800px;
  margin: 0 auto;
  animation: bannerFadeIn 0.8s ease-out; }

body.mmt-page-medical .page-banner h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0.02em; }

body.mmt-page-medical .page-banner p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7; }

body.mmt-page-medical section {
  padding: 5rem 0; }

body.mmt-page-medical .section-header {
  text-align: center;
  margin-bottom: 3.5rem; }

body.mmt-page-medical .section-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em; }

body.mmt-page-medical .section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7; }

body.mmt-page-medical .section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  border-radius: 2px;
  margin: 16px auto 0; }

body.mmt-page-medical .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px; }

body.mmt-page-medical .news-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column; }

body.mmt-page-medical .news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  border-color: var(--accent-blue); }

body.mmt-page-medical .news-card-thumb {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(8, 145, 178, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 3rem;
  flex-shrink: 0; }

body.mmt-page-medical .news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1; }

body.mmt-page-medical .news-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-blue);
  background: rgba(30, 64, 175, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  align-self: flex-start; }

body.mmt-page-medical .news-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: 0.01em; }

body.mmt-page-medical .news-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px; }

body.mmt-page-medical .news-card .read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease; }

body.mmt-page-medical .news-card .read-more:hover {
  gap: 10px; }

body.mmt-page-medical .news-card .read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease; }

body.mmt-page-medical .news-card .read-more:hover svg {
  transform: translateX(4px); }

body.mmt-page-medical .services-section {
  background-color: var(--bg-card); }

body.mmt-page-medical .services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px; }

body.mmt-page-medical .service-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 36px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer; }

body.mmt-page-medical .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  border-color: var(--accent-blue); }

body.mmt-page-medical .service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #ffffff; }

body.mmt-page-medical .service-icon.blue {
  background: linear-gradient(135deg, var(--accent-blue), #3b82f6); }

body.mmt-page-medical .service-icon.cyan {
  background: linear-gradient(135deg, var(--accent-cyan), #22d3ee); }

body.mmt-page-medical .service-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round; }

body.mmt-page-medical .service-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em; }

body.mmt-page-medical .service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7; }

body.mmt-page-medical .service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-top: 16px;
  transition: gap 0.3s ease; }

body.mmt-page-medical .service-card .service-link:hover {
  gap: 10px; }

body.mmt-page-medical .service-card .service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease; }

body.mmt-page-medical .service-card .service-link:hover svg {
  transform: translateX(4px); }

@media (max-width: 768px) {
  body.mmt-page-medical .news-grid {
    grid-template-columns: 1fr;
    gap: 20px; }

  body.mmt-page-medical .services-grid {
    grid-template-columns: repeat(2, 1fr); }

  body.mmt-page-medical .page-banner {
    padding: calc(var(--navbar-height) + 60px) 20px 60px; }

  body.mmt-page-medical section {
    padding: 3.5rem 0; }

  body.mmt-page-medical .service-card {
    padding: 28px 24px; } }
@media (min-width: 769px) and (max-width: 1024px) {
  body.mmt-page-medical .news-grid {
    grid-template-columns: repeat(2, 1fr); }

  body.mmt-page-medical .services-grid {
    grid-template-columns: repeat(2, 1fr); } }
/* === legal.html scoped body.mmt-page-legal === */
body.mmt-page-legal ul {
  list-style: none; }

body.mmt-page-legal .hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none; }

body.mmt-page-legal .hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-speed); }

body.mmt-page-legal .banner {
  margin-top: var(--navbar-height);
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  padding: 100px 0 80px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden; }

body.mmt-page-legal .banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none; }

body.mmt-page-legal .banner-tagline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.04em;
  margin-bottom: 16px; }

body.mmt-page-legal .banner-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto; }

body.mmt-page-legal .section {
  padding: 72px 0; }

body.mmt-page-legal .section-header {
  text-align: center;
  margin-bottom: 48px; }

body.mmt-page-legal .section-header h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.01em; }

body.mmt-page-legal .section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto; }

body.mmt-page-legal .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px; }

body.mmt-page-legal .news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
  display: flex;
  flex-direction: column; }

body.mmt-page-legal .news-card-thumb {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(124, 58, 237, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0; }

body.mmt-page-legal .news-card-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex: 1; }

body.mmt-page-legal .news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12); }

body.mmt-page-legal .news-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0; }

body.mmt-page-legal .news-card-icon.blue {
  background: rgba(30, 64, 175, 0.08);
  color: var(--accent-blue); }

body.mmt-page-legal .news-card-icon.cyan {
  background: rgba(8, 145, 178, 0.08);
  color: var(--accent-cyan); }

body.mmt-page-legal .news-card-icon.purple {
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent-purple); }

body.mmt-page-legal .news-card-icon svg {
  width: 26px;
  height: 26px; }

body.mmt-page-legal .news-card h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 14px; }

body.mmt-page-legal .news-card-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1; }

body.mmt-page-legal .news-card .card-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-blue);
  letter-spacing: 0.03em; }

body.mmt-page-legal .service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px; }

body.mmt-page-legal .service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 36px 32px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
  display: flex;
  gap: 28px;
  align-items: flex-start; }

body.mmt-page-legal .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12); }

body.mmt-page-legal .service-card-visual {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(8, 145, 178, 0.06));
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan); }

body.mmt-page-legal .service-card-visual svg {
  width: 44px;
  height: 44px; }

body.mmt-page-legal .service-card-body {
  flex: 1; }

body.mmt-page-legal .service-card-body h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary); }

body.mmt-page-legal .service-card-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px; }

body.mmt-page-legal .service-card-body .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  transition: gap var(--transition-speed); }

body.mmt-page-legal .service-card-body .service-link:hover {
  gap: 10px; }

body.mmt-page-legal .service-card-body .service-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0; }

@media (max-width: 1024px) {
  body.mmt-page-legal .news-grid {
    grid-template-columns: repeat(2, 1fr); }

  body.mmt-page-legal .service-grid {
    grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  body.mmt-page-legal .hamburger {
    display: flex; }

  body.mmt-page-legal .banner {
    padding: 72px 0 56px; }

  body.mmt-page-legal .banner-title {
    font-size: 2rem; }

  body.mmt-page-legal .section {
    padding: 48px 0; }

  body.mmt-page-legal .section-header h2 {
    font-size: 1.7rem; }

  body.mmt-page-legal .news-grid {
    grid-template-columns: 1fr; }

  body.mmt-page-legal .service-card {
    flex-direction: column;
    padding: 28px 24px; }

  body.mmt-page-legal .service-card-visual {
    width: 100%;
    height: 120px; } }
@media (max-width: 480px) {
  body.mmt-page-legal .banner-title {
    font-size: 1.6rem; }

  body.mmt-page-legal .news-card {
    padding: 0; }

  body.mmt-page-legal .news-card-body {
    padding: 24px 20px; } }
/* Legal services needs */
body.mmt-page-legal .needs-category {
  margin-bottom: 3.5rem; }

body.mmt-page-legal .needs-category:last-child {
  margin-bottom: 0; }

body.mmt-page-legal .needs-category-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-left: 16px;
  border-left: 4px solid var(--accent-blue); }

body.mmt-page-legal .needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; }

body.mmt-page-legal .needs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer; }

body.mmt-page-legal .needs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-color: var(--accent-blue); }

body.mmt-page-legal .needs-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(124, 58, 237, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--accent-blue); }

body.mmt-page-legal .needs-card-icon svg {
  width: 22px;
  height: 22px; }

body.mmt-page-legal .needs-card h4 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary); }

@media (max-width: 768px) {
  body.mmt-page-legal .needs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px; }

  body.mmt-page-legal .needs-card {
    padding: 18px 14px; }

  body.mmt-page-legal .needs-category-title {
    font-size: 1.25rem; } }
@media (max-width: 480px) {
  body.mmt-page-legal .needs-grid {
    grid-template-columns: 1fr; } }
/* === financial.html scoped body.mmt-page-financial === */
body.mmt-page-financial .banner {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e40af, #d97706);
  padding: calc(var(--navbar-height) + 60px) 24px 60px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden; }

body.mmt-page-financial .banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  pointer-events: none; }

body.mmt-page-financial .banner-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
  animation: bannerFadeIn 1s ease-out; }

body.mmt-page-financial .banner-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px); }

body.mmt-page-financial .banner-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.02em; }

body.mmt-page-financial .banner-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto; }

body.mmt-page-financial section {
  padding: 5rem 0; }

body.mmt-page-financial .section-header {
  text-align: center;
  margin-bottom: 3.5rem; }

body.mmt-page-financial .section-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em; }

body.mmt-page-financial .section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7; }

body.mmt-page-financial .section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-amber));
  border-radius: 2px;
  margin: 16px auto 0; }

body.mmt-page-financial .financial-section {
  background-color: var(--bg-card); }

body.mmt-page-financial .news-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px; }

body.mmt-page-financial .news-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column; }

body.mmt-page-financial .news-card-thumb {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(8, 145, 178, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0; }

body.mmt-page-financial .news-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1; }

body.mmt-page-financial .news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border-color: var(--accent-blue); }

body.mmt-page-financial .news-card .card-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 16px; }

body.mmt-page-financial .news-card .card-tag.finance {
  background: rgba(30, 64, 175, 0.1);
  color: var(--accent-blue); }

body.mmt-page-financial .news-card .card-tag.insurance {
  background: rgba(8, 145, 178, 0.1);
  color: var(--accent-cyan); }

body.mmt-page-financial .news-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  line-height: 1.3; }

body.mmt-page-financial .news-card-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1; }

body.mmt-page-financial .news-card .card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-secondary); }

body.mmt-page-financial .news-card .card-meta .date {
  display: flex;
  align-items: center;
  gap: 4px; }

body.mmt-page-financial .news-card .card-meta .read-more {
  margin-left: auto;
  font-weight: 600;
  color: var(--accent-blue);
  transition: color 0.3s ease; }

body.mmt-page-financial .news-card:hover .card-meta .read-more {
  color: var(--accent-amber); }

body.mmt-page-financial .insurance-section {
  background-color: var(--bg-body); }

body.mmt-page-financial .news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px; }

body.mmt-page-financial .services-section {
  background-color: var(--bg-card); }

body.mmt-page-financial .services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  justify-items: center; }

body.mmt-page-financial .services-grid .service-card {
  max-width: 480px;
  width: 100%;
  display: block;
  text-decoration: none;
  color: inherit; }

body.mmt-page-financial .service-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }

body.mmt-page-financial .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border-color: var(--accent-amber); }

body.mmt-page-financial .service-card .service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ffffff; }

body.mmt-page-financial .service-card .service-icon.calculator {
  background: linear-gradient(135deg, var(--accent-blue), #6366f1); }

body.mmt-page-financial .service-card .service-icon.review {
  background: linear-gradient(135deg, var(--accent-amber), #f59e0b); }

body.mmt-page-financial .service-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em; }

body.mmt-page-financial .service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto; }

@media (max-width: 768px) {
  body.mmt-page-financial .news-grid-2, body.mmt-page-financial .news-grid-3, body.mmt-page-financial .services-grid {
    grid-template-columns: 1fr;
    gap: 20px; }

  body.mmt-page-financial .banner {
    padding-left: 20px;
    padding-right: 20px;
    min-height: 40vh; }

  body.mmt-page-financial section {
    padding: 3.5rem 0; }

  body.mmt-page-financial .news-card {
    padding: 0; }

  body.mmt-page-financial .news-card-body {
    padding: 24px; }

  body.mmt-page-financial .service-card {
    padding: 28px 20px; } }
@media (min-width: 769px) and (max-width: 1024px) {
  body.mmt-page-financial .news-grid-3 {
    grid-template-columns: repeat(2, 1fr); } }
/* === contact.html scoped body.mmt-page-contact === */
body.mmt-page-contact .contact-banner {
  background: linear-gradient(135deg, #1e40af, #0891b2);
  color: #ffffff;
  text-align: center;
  padding: calc(var(--navbar-height) + 80px) 24px 80px; }

body.mmt-page-contact .contact-banner h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px; }

body.mmt-page-contact .contact-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto; }

body.mmt-page-contact .contact-section {
  padding: 5rem 0;
  background-color: var(--bg-body); }

body.mmt-page-contact .contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 4rem; }

body.mmt-page-contact .contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease; }

body.mmt-page-contact .contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08); }

body.mmt-page-contact .contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ffffff; }

body.mmt-page-contact .contact-card-icon svg {
  width: 24px;
  height: 24px; }

body.mmt-page-contact .contact-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px; }

body.mmt-page-contact .contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7; }

body.mmt-page-contact .contact-card a {
  color: var(--accent-blue);
  font-weight: 600; }

body.mmt-page-contact .contact-card a:hover {
  text-decoration: underline; }

@media (max-width: 768px) {
  body.mmt-page-contact .contact-info-grid {
    grid-template-columns: 1fr; } }
/* Theme extras */
a.business-card {
  display: block;
  text-decoration: none;
  color: inherit; }

.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px; }

.navbar-inner {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto; }

/* 语言切换：对齐原版 i18n.js */
#i18n-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  flex-shrink: 0; }

#i18n-switcher .i18n-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(30, 64, 175, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.15);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-blue, #1e40af);
  letter-spacing: 0.02em;
  font-family: var(--font-body, inherit);
  white-space: nowrap;
  transition: all 0.2s ease;
  line-height: 1.4; }

#i18n-switcher .i18n-btn:hover {
  background: rgba(30, 64, 175, 0.15);
  transform: scale(1.05); }

#i18n-switcher .i18n-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 120px;
  padding: 4px;
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 1100; }

#i18n-switcher.open .i18n-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0); }

#i18n-switcher .i18n-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary, #64748b);
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  background: none;
  width: 100%;
  font-family: var(--font-body, inherit);
  text-align: center;
  text-decoration: none;
  box-sizing: border-box; }

#i18n-switcher .i18n-option:hover {
  background: rgba(30, 64, 175, 0.06);
  color: var(--accent-blue, #1e40af); }

#i18n-switcher .i18n-option.active {
  background: rgba(30, 64, 175, 0.1);
  color: var(--accent-blue, #1e40af);
  font-weight: 700; }

.news-card-thumb.has-image {
  padding: 0;
  overflow: hidden; }

.news-card-thumb.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; }

.single-news h1 {
  font-family: var(--font-heading);
  margin: 0.5rem 0 1.5rem;
  font-size: 2rem; }

.single-news .news-content {
  line-height: 1.8;
  text-align: justify; }
  .single-news .news-content p {
    margin-bottom: 1.25rem; }
  .single-news .news-content p:last-child {
    margin-bottom: 0; }

.single-news .news-meta {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 12px;
  align-items: center; }

@media (max-width: 768px) {
  #i18n-switcher {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0; }

  #i18n-switcher .i18n-btn {
    padding: 3px 8px;
    font-size: 0.72rem; }

  #i18n-switcher .i18n-dropdown {
    min-width: 100px; } }
/* Legal/financial card-tag as link */
body.mmt-page-legal a.card-tag {
  display: inline-block;
  text-decoration: none; }

body.mmt-page-financial a.read-more {
  text-decoration: none;
  color: inherit; }

/* === financial-tools.html scoped body.mmt-page-financial-tools === */
@keyframes mmtToolsBannerFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
@keyframes mmtToolsResultFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
body.mmt-page-financial-tools .banner {
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e40af, #d97706);
  padding: calc(var(--navbar-height) + 60px) 24px 60px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden; }

body.mmt-page-financial-tools .banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
  pointer-events: none; }

body.mmt-page-financial-tools .banner-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
  animation: mmtToolsBannerFadeIn 1s ease-out; }

body.mmt-page-financial-tools .banner-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px); }

body.mmt-page-financial-tools .banner-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.02em; }

body.mmt-page-financial-tools .banner-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto; }

body.mmt-page-financial-tools .tools-section {
  background-color: var(--bg-body);
  padding: 5rem 0; }

body.mmt-page-financial-tools .tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px; }

body.mmt-page-financial-tools .calc-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column; }

body.mmt-page-financial-tools .calc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border-color: var(--accent-blue); }

body.mmt-page-financial-tools .calc-card:nth-child(2):hover {
  border-color: var(--accent-cyan); }

body.mmt-page-financial-tools .calc-card:nth-child(3):hover {
  border-color: var(--accent-amber); }

body.mmt-page-financial-tools .calc-header {
  margin-bottom: 24px; }

body.mmt-page-financial-tools .calc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #ffffff; }

body.mmt-page-financial-tools .calc-icon.blue {
  background: linear-gradient(135deg, var(--accent-blue), #6366f1); }

body.mmt-page-financial-tools .calc-icon.cyan {
  background: linear-gradient(135deg, var(--accent-cyan), #06b6d4); }

body.mmt-page-financial-tools .calc-icon.amber {
  background: linear-gradient(135deg, var(--accent-amber), #f59e0b); }

body.mmt-page-financial-tools .calc-icon svg {
  width: 26px;
  height: 26px; }

body.mmt-page-financial-tools .calc-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em; }

body.mmt-page-financial-tools .calc-header p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6; }

body.mmt-page-financial-tools .calc-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1; }

body.mmt-page-financial-tools .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px; }

body.mmt-page-financial-tools .form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary); }

body.mmt-page-financial-tools .form-group input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-body);
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%; }

body.mmt-page-financial-tools .form-group input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.08); }

body.mmt-page-financial-tools .calc-btn {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  margin-top: 4px; }

body.mmt-page-financial-tools .calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.25); }

body.mmt-page-financial-tools .calc-btn:active {
  transform: translateY(0); }

body.mmt-page-financial-tools .calc-results {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.04), rgba(217, 119, 6, 0.04));
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: none; }

body.mmt-page-financial-tools .calc-results.show {
  display: block;
  animation: mmtToolsResultFadeIn 0.4s ease-out; }

body.mmt-page-financial-tools .calc-results h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: 0.02em; }

body.mmt-page-financial-tools .result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color); }

body.mmt-page-financial-tools .result-row:last-child {
  border-bottom: none; }

body.mmt-page-financial-tools .result-row.highlight {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  border-bottom: none; }

body.mmt-page-financial-tools .result-label {
  font-size: 0.9rem;
  color: var(--text-secondary); }

body.mmt-page-financial-tools .result-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary); }

body.mmt-page-financial-tools .result-row.highlight .result-value {
  color: var(--accent-blue);
  font-size: 1.2rem; }

@media (max-width: 1024px) {
  body.mmt-page-financial-tools .tools-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto; } }
@media (max-width: 768px) {
  body.mmt-page-financial-tools .banner {
    min-height: 35vh;
    padding: calc(var(--navbar-height) + 40px) 20px 40px; }

  body.mmt-page-financial-tools .tools-section {
    padding: 3rem 0; }

  body.mmt-page-financial-tools .calc-card {
    padding: 24px; } }

/*# sourceMappingURL=style.css.map */
