﻿/* 1440px and Above Screens */
@media (min-width: 1440px) {
  .one-platform-section .one-platform-container .one-platform-content {
    padding-left: 80px !important;
  }
}

/* 1440px Master Grid Responsive Adjustments */

@media (max-width: 1440px) {
  :root {
    --master-width: 100%;
  }

  .site-grid,
  .header-container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  /* Make sure lines align with padding edge on smaller screens if desired,
     or we can hide them on very small screens. */
  .grid-line-left {
    left: var(--space-md);
  }

  .grid-line-right {
    right: var(--space-md);
  }
}

@media (max-width: 1024px) {
  .header-actions {
    display: none;
  }

  .bento-premium-section .bento-card-4 img {
    width: 310px !important;
    height: 221px !important;
    object-fit: cover !important;
  }

  .bento-card-4 {
    padding: 30px;
  }
  
  .main-nav {
    display: none;
  }
  
  .calling-right {
    padding: 2rem !important;
  }
  
  .calling-header {
    margin-bottom: 1.5rem !important;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-logos {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* gap: 1.5rem; */
  }

  .trust-logo-item {
    width: 140px;
    min-width: 140px;
    flex: 0 0 140px;
    display: flex;
    justify-content: center;
  }

  .trust-logo-item:nth-child(n+6) {
    display: none !important;
  }

  .pillar-block {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .split-section,
  .feature-list {
    grid-template-columns: 1fr;
  }

  /* Strictly scoped spacing update for tablet (1024px) */
  .one-platform-container {
    align-items: flex-start !important;
  }

  .one-platform-content {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 40px !important;
    padding-bottom: 80px !important;
  }

  .feature-bento {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .feature-bento-item {
    border-bottom: 1px solid var(--border-color) !important;
    border-right: 1px solid var(--border-color) !important;
  }

  .feature-bento-item:nth-child(2n) {
    border-right: none !important;
  }

  .feature-bento-item:nth-child(n+3) {
    border-bottom: none !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-social-grid {
    border-top: 1px solid #e4e4e7;
  }

  /* Scale down calling horizontal track items on tablet */
  .calling-horizontal-track .feature-item {
    width: 280px;
    padding: 1.5rem;
    gap: 1rem;
    border: 1px solid var(--border-color) !important;
  }

  .calling-horizontal-track .feature-icon {
    width: 32px;
    height: 32px;
  }

  .calling-horizontal-track .feature-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .calling-horizontal-track .feature-text h4 {
    font-size: 1rem;
  }

  .calling-horizontal-track .feature-text p {
    font-size: 0.85rem;
  }

  .calling-features-layout,
  .routing-features-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-item.align-right {
    text-align: left;
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  .center-visual {
    order: -1;
    height: 400px;
  }

  .ivr-chip-group {
    grid-template-columns: 1fr 1fr;
  }

  .platform-needs-grid-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .needs-card-env {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }

  .needs-card-agents {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .needs-card-split {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .needs-card-half {
    border-bottom: none;
    border-right: 1px solid var(--border-color);
  }

  .needs-card-half:last-child {
    border-right: none;
  }

  .platform-needs-grid-bottom {
    grid-template-columns: repeat(3, 1fr);
  }

  .needs-bottom-card {
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
  }

  .needs-bottom-card:nth-child(3n) {
    border-right: none;
  }

  .needs-bottom-card:last-child {
    border-right: none;
  }

  .needs-bottom-card:nth-child(n+4) {
    border-bottom: none;
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonials Section */
  .testimonials-container {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  .testimonials-header {
    padding: 60px 40px;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }

  .testimonials-header .heading-lg {
    margin-top: 16px;
  }

  .testimonials-marquee-area {
    flex-direction: column;
    width: 100%;
    height: auto;
    border-left: none;
  }

  .testimonial-column {
    width: 100%;
    height: auto;
    border-left: none;
  }

  .col-down {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }

  .testimonial-track {
    flex-direction: row;
    width: max-content;
  }

  .testimonial-card {
    width: 380px;
    border-bottom: none;
    border-right: 1px solid var(--border-color);
  }

  .track-up {
    animation: scroll-right 40s linear infinite;
  }

  .track-down {
    animation: scroll-left 40s linear infinite;
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {

  /* Vertical lines will show on tablet (768px) */
  .grid-line-left,
  .grid-line-right {
    display: block;
  }

  .site-grid {
    padding-left: 0;
    padding-right: 0;
  }

  .grid-section {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .testimonials-header {
    padding-left: 0;
    padding-right: 0;
  }

  .problem-section,
  .feature-bento,
  .routing-features-layout,
  .platform-needs-container,
  .industries-marquee-container,
  .faq-grid,
  .faq-accordion,
  .accordion,
  .trust-logos {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .enterprise-scale-section,
  .cta-section,
  .footer-grid,
  .footer-social-grid,
  .footer-logo-bottom {
    margin-left: var(--space-md) !important;
    margin-right: var(--space-md) !important;
    width: auto;
  }

  .heading-lg,
  .enterprise-heading {
    box-sizing: border-box;
  }

  .footer-tagline {
    padding-right: var(--space-md) !important;
    padding-left: var(--space-md) !important;
    box-sizing: border-box;
  }

  .cta-container {
    width: 100%;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    box-sizing: border-box;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .feature-bento-item {
    min-width: 0;
  }

  .hero-visual {
    height: 400px;
  }

  .solution-diagram {
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md) 0;
  }

  .solution-line {
    width: 2px;
    height: 40px;
    flex-grow: 0;
  }

  .solution-arrow {
    top: auto;
    bottom: 0;
    right: 50%;
    transform: translate(50%, 100%) rotate(90deg);
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  /* Calling section mobile stack layout */
  .calling-section {
    padding-left: var(--space-md) !important;
    padding-right: var(--space-md) !important;
  }

  .sticky-horizontal-section {
    height: auto !important;
  }

  .calling-sticky-container {
    display: block !important;
    position: relative !important;
    height: auto !important;
    overflow: hidden !important;
  }

  .calling-left {
    position: relative;
    height: 50vh;
    width: 100%;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 2rem var(--space-md) !important;
    flex: none;
  }

  .calling-left .center-visual-inner {
    height: 100% !important;
    max-height: none !important;
  }

  .calling-right {
    position: relative !important;
    height: auto !important;
    width: 100%;
    padding: 2rem var(--space-md) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    background-color: var(--bg-color);
    z-index: 10;
  }

  .calling-horizontal-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    width: 100%;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .calling-horizontal-scroll::-webkit-scrollbar {
    display: none;
  }

  .calling-horizontal-track {
    flex-direction: row !important;
    width: max-content !important;
    transform: none !important;
    gap: 1.5rem !important;
    display: flex !important;
  }

  .calling-horizontal-track .feature-item {
    width: 280px !important;
    max-width: none !important;
    scroll-snap-align: center;
    box-sizing: border-box;
  }

  .calling-header {
    margin-bottom: 2rem !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-col:nth-child(2n) {
    border-right: none;
  }

  .footer-social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-link:nth-child(2n) {
    border-right: none;
  }

  .platform-needs-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

  .needs-bottom-card {
    border-right: 1px solid var(--border-color) !important;
    border-bottom: 1px solid var(--border-color) !important;
  }

  /* Override the 1024px rule that removed bottom borders for items 4 and 5 */
  .needs-bottom-card:nth-child(n+4) {
    border-bottom: 1px solid var(--border-color) !important;
  }

  .needs-bottom-card:nth-child(2n) {
    border-right: none !important;
  }

  .needs-bottom-card:last-child {
    grid-column: 1 / -1 !important;
    border-right: none !important;
    border-bottom: none !important;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-logo-item:nth-child(n+5) {
    display: none !important;
  }

  /* one-platform-grid 2x2 on mobile strictly scoped */
  .one-platform-section {
    margin-left: 0;
    margin-right: 0;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    padding-bottom: var(--space-lg);
  }

  .one-platform-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .one-platform-content {
    flex: none;
    width: 100%;
    padding-bottom: var(--space-lg);
  }

  .one-platform-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }

  .one-platform-grid .card-top-right,
  .one-platform-grid .card-mid-center,
  .one-platform-grid .card-mid-right,
  .one-platform-grid .card-bot-left,
  .one-platform-grid .card-bot-center,
  .one-platform-grid .card-bot-right {
    grid-column: auto !important;
    grid-row: auto !important;
    border-right: none !important;
    border-bottom: none !important;
  }

  .one-platform-grid .platform-card {
    border-top: 1px solid var(--border-color) !important;
    border-left: 1px solid var(--border-color) !important;
  }

  /* Testimonials Section */
  .testimonial-card {
    width: 300px;
    padding: 24px;
    gap: 16px;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .trust-logo-item:nth-child(n+3) {
    display: none !important;
  }
}

@media (max-width: 425px) {

  /* calling-section horizontal scroll specifically for mobile view */
  .sticky-horizontal-section {
    height: auto !important;
  }

  .calling-sticky-container {
    display: block !important;
    position: relative !important;
    height: auto !important;
    overflow: hidden !important;
  }

  .calling-right {
    position: relative !important;
    height: auto !important;
    width: 100%;
    padding: 2rem var(--space-md) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    background-color: var(--bg-color);
    z-index: 10;
  }

  .calling-horizontal-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    width: 100%;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .calling-horizontal-scroll::-webkit-scrollbar {
    display: none;
  }

  .calling-horizontal-track {
    flex-direction: row !important;
    width: max-content !important;
    transform: none !important;
    gap: 1.5rem !important;
    display: flex !important;
  }

  .calling-horizontal-track .feature-item {
    width: 280px !important;
    max-width: none !important;
    scroll-snap-align: center;
    box-sizing: border-box;
  }

  /* one-platform-grid 2x2 continuous scaling for small devices strictly scoped */
  .one-platform-grid .platform-card {
    padding: clamp(0.5rem, 4vw, 1.5rem) !important;
  }

  .one-platform-grid .platform-card h4 {
    font-size: clamp(0.7rem, 4vw, 1.05rem) !important;
    margin-bottom: 0.25rem !important;
  }

  .one-platform-grid .platform-card p {
    font-size: clamp(0.6rem, 3.5vw, 0.85rem) !important;
  }

  .one-platform-grid .platform-card svg {
    width: clamp(18px, 6vw, 32px) !important;
    height: clamp(18px, 6vw, 32px) !important;
  }

  /* feature-bento 1-column on mobile strictly scoped */
  .feature-bento {
    grid-template-columns: 1fr !important;
  }

  .feature-bento-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
  }

  /* Fix specificity issue from 1024px query so 3rd item gets its bottom border back */
  .feature-bento-item:nth-child(n+3) {
    border-bottom: 1px solid var(--border-color) !important;
  }

  .feature-bento-item:last-child {
    border-bottom: none !important;
  }

  /* platform-needs mobile 1-column */
  .platform-needs-grid-top {
    grid-template-columns: 1fr !important;
  }

  .needs-card-env,
  .needs-card-agents {
    border-right: none !important;
  }

  .needs-card-split {
    grid-column: 1 / -1 !important;
    flex-direction: column !important;
  }

  .needs-card-half {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
  }

  .needs-card-half:last-child {
    border-bottom: none !important;
  }
}

@media (max-width: 480px) {
  .heading-lg,
  .enterprise-heading {
    font-size: clamp(2rem, 8vw, 2.5rem) !important;
    word-break: break-word;
    hyphens: auto;
  }

  .platform-needs-section .eyebrow,
  .platform-needs-section .heading-lg,
  .industries-section .eyebrow,
  .industries-section .heading-lg,
  .faq-section .eyebrow,
  .faq-section .heading-lg,
  .enterprise-scale-section .eyebrow,
  .enterprise-scale-section .heading-lg,
  .enterprise-scale-section .enterprise-heading,
  .enterprise-scale-section .enterprise-desc,
  .calling-section .eyebrow,
  .calling-section .heading-lg,
  .calling-section .description-lg,
  .calling-header {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .calling-section .description-lg {
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: break-word;
    hyphens: auto;
  }

  .enterprise-scale-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .calling-right {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .grid-line-left,
  .grid-line-right {
    display: block;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  .integrations-grid>div:nth-child(n+7):nth-child(-n+11),
  .integrations-grid>div:nth-child(n+19) {
    display: none !important;
  }

  .integrations-heading-box {
    grid-column: 1 / -1;
    grid-row: auto;
    height: auto;
    min-height: 280px;
    padding: 40px 20px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }

  .footer-grid,
  .footer-social-grid {
    grid-template-columns: 1fr;
  }


  .footer-col,
  .social-link {
    border-right: none !important;
  }

  .footer-col {
    padding: 1.5rem 1rem;
  }

  .social-link {
    padding: 1rem;
  }

  .platform-needs-grid-bottom {
    grid-template-columns: 1fr !important;
  }

  .needs-bottom-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    grid-column: auto !important;
    /* Reset the span from 768px */
  }

  .needs-bottom-card:last-child {
    border-bottom: none !important;
  }
}
@media (min-width: 1440px) {
  .enterprise-heading {
    color: #fff;
    max-width: 700px;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }
}

/* ============================================================
   ARCHITECTURE SECTION RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .arch-group-left,
  .arch-group-right {
    width: 250px;
    padding: 12px;
  }

  .arch-group-center {
    width: 330px;
    padding: 12px;
  }

  .arch-card {
    padding: 16px 14px;
    min-height: 115px;
  }

  .arch-server-unit {
    padding: 22px 16px 18px;
  }

  .arch-server-status {
    margin-bottom: 14px;
  }

  .arch-status-text {
    font-size: 0.62rem;
  }

  .arch-badge-pill {
    font-size: 0.68rem;
    padding: 5px 6px;
  }

  .arch-connector-wrapper {
    height: 380px;
  }
}

@media (max-width: 860px) {
  .arch-diagram-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .arch-group-left,
  .arch-group-center,
  .arch-group-right {
    width: 100%;
    max-width: 440px;
  }

  .arch-connector-wrapper {
    height: 60px;
    width: 100%;
    max-width: 440px;
    margin: 8px 0;
  }

  .arch-desktop-paths {
    display: none;
  }

  .arch-mobile-paths {
    display: block;
  }
}

@media (max-width: 768px) {
  .arch-header {
    padding-left: 1.5rem;
  }

  .arch-connector-wrapper {
    height: 60px;
    flex: none;
    margin: 4px 0;
  }

  .arch-conn-svg {
    height: 60px;
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .arch-group-left,
  .arch-group-center,
  .arch-group-right {
    padding: 12px;
  }

  .arch-card {
    padding: 16px 14px;
  }

  .arch-server-unit {
    padding: 20px 14px;
  }

  .arch-badges-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Feature Matrix Responsive Rules */
@media (max-width: 860px) {
  .feature-matrix-header,
  .rent-math-header {
    margin-bottom: 36px;
  }

  .phase2-footer {
    width: 100%;
    margin-top: 48px;
  }

  .phase2-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phase2-item:nth-child(2n) {
    border-right: none;
  }

  .phase2-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--border-color);
  }
}

@media (max-width: 768px) {
  .feature-matrix-marquee-container {
    width: 100%;
    left: 0;
    transform: none;
    box-sizing: border-box;
  }
}

@media (max-width: 540px) {
  .feature-card {
    width: 270px;
    padding: 18px 20px;
    min-height: 125px;
    border-radius: 0;
  }

  .feature-card-title {
    font-size: 0.95rem;
  }

  .feature-card-desc {
    font-size: 0.8rem;
  }

  .phase2-grid {
    grid-template-columns: 1fr;
  }

  .phase2-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 14px;
  }

  .phase2-item:last-child {
    border-bottom: none;
  }
}

/* Install Section Responsive Rules */
@media (max-width: 960px) {
  .install-content {
    flex-direction: column;
    gap: 36px;
  }

  .install-video-col {
    width: 100%;
  }

  .install-steps-wrapper {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .install-header {
    padding-left: 1.5rem;
  }

  .install-steps-wrapper {
    padding-left: 1.5rem;
    box-sizing: border-box;
  }
}

@media (max-width: 540px) {
  .install-header {
    margin-bottom: 32px;
  }

  .install-heading {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
  }

  .install-steps-wrapper {
    gap: 14px;
  }

  .install-timeline-col {
    width: 24px;
  }

  .install-step-badge {
    width: 24px;
    height: 24px;
    font-size: 0.82rem;
  }

  .install-step-item {
    padding: 18px 16px;
  }

  .install-step-title {
    font-size: 1.02rem;
    margin-bottom: 6px;
  }

  .install-step-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .install-play-btn {
    width: 46px;
    height: 46px;
  }

  .install-video-meta {
    font-size: 0.62rem;
    left: 14px;
    bottom: 12px;
  }
}

/* REGISTERED PHONES SECTION RESPONSIVE */
@media (max-width: 768px) {
  .registered-phones-section {
    padding: 3rem var(--space-md);
  }
}

/* SIP-APP SECTION RESPONSIVE */
@media (max-width: 1080px) {
  .sip-app-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sip-crm-col {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
  }
  .sip-feature-col:nth-child(2) {
    border-left: none;
  }
}

@media (max-width: 768px) {
  .sip-app-header {
    padding: 3rem 1.5rem 2.5rem 1.5rem;
  }
  .sip-app-grid {
    grid-template-columns: 1fr;
  }
  .sip-crm-col {
    padding: 2rem 1.25rem;
  }
  .sip-feature-col {
    border-left: none;
    border-bottom: 1px solid var(--border-color);
    padding: 2.25rem 1.5rem;
    min-height: auto;
    justify-content: flex-start;
    gap: 1.25rem;
  }
  .sip-feature-col:last-child {
    border-bottom: none;
  }
  .sip-card-content {
    margin: 0;
    padding: 0;
  }
}

/* IN THE APP SECTION RESPONSIVE */
@media (max-width: 1080px) {
  .in-app-grid {
    grid-template-columns: 1fr;
  }
  .in-app-details-col {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
  .in-app-visual-col {
    padding: 3rem 2rem;
  }
  .in-app-img-wrap {
    position: static;
    top: auto;
  }
}

@media (max-width: 768px) {
  .in-app-header {
    padding: 3rem 1.5rem 2.5rem 1.5rem;
  }
  .in-app-visual-col {
    padding: 2rem 1.25rem;
  }
  .in-app-feature-item {
    padding: 1.25rem 1.5rem;
  }
  .in-app-devices-block {
    padding: 2rem 1.5rem;
  }
  .in-app-phase2-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
  }
  .in-app-phase2-pills {
    flex-wrap: wrap;
  }
}

/* PLATFORMS SECTION RESPONSIVE */
@media (max-width: 768px) {
  .platforms-grid {
    grid-template-columns: 1fr;
  }
  .platform-col {
    padding: 2.25rem 1.5rem;
    border-left: none !important;
    border-bottom: 1px solid var(--border-color);
  }
  .platform-col:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   ADMIN DASHBOARD RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1080px) {
  .dash-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .term-split-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .admin-showcase-section {
    padding: 2.5rem var(--space-md);
  }

  .dash-window-header {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }

  .dash-address-bar {
    order: 3;
    width: 100%;
    max-width: 100%;
    font-size: 0.68rem;
  }

  .dash-system-bar {
    padding: 0.65rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-system-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .dash-content-area {
    padding: 1rem;
  }

  .dash-stat-grid {
    grid-template-columns: 1fr;
  }

  .dash-roles-grid {
    grid-template-columns: 1fr;
  }

  .terminal-compare-section,
  .dash-roles-section {
    padding: 3rem var(--space-md);
  }

  .dash-ivr-branches-grid {
    grid-template-columns: 1fr;
  }

  .dash-waveform-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .dash-wave-svg {
    width: 100%;
  }
}

/* ADMIN SCROLL SECTION RESPONSIVE */
@media (max-width: 1080px) {
  .admin-step-block.layout-img-left,
  .admin-step-block.layout-img-right {
    grid-template-columns: 1fr;
  }

  .admin-step-media-col {
    padding: 3.5rem 2rem;
  }

  .admin-step-text-col {
    padding: 3rem 2rem 3.5rem 2rem;
  }

  .admin-step-block.layout-img-left .admin-step-text-col,
  .admin-step-block.layout-img-right .admin-step-media-col {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }

  /* For layout-img-right, show text first then image on stacked views */
  .admin-step-block.layout-img-right .admin-step-text-col {
    order: 1;
  }
  .admin-step-block.layout-img-right .admin-step-media-col {
    order: 2;
    border-top: 1px solid var(--border-color);
  }

  .admin-scroll-tab {
    padding: 1rem 1.25rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 768px) {
  .admin-scroll-tabs-bar {
    top: 60px;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    box-sizing: border-box;
  }

  .admin-scroll-tab {
    padding: 0.85rem 0.65rem;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }

  .admin-step-media-col,
  .admin-step-text-col {
    padding: 2.25rem var(--space-md);
  }

  .admin-step-text-col {
    padding-left: calc(var(--space-md) + 1.25rem);
  }

  .admin-step-heading {
    font-size: 1.75rem;
  }

  .admin-step-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
}

/* 4 CARDS BENTO SECTION RESPONSIVE */
@media (max-width: 1024px) {
  .admin-four-cards-wrapper {
    max-width: 900px;
    margin: 0 auto;
  }

  .admin-feature-card {
    padding: 1.75rem 1.5rem 1.5rem 1.5rem;
    min-height: auto;
  }

  .admin-card-title {
    font-size: 1.15rem;
  }

  .admin-card-desc {
    font-size: 0.84rem;
  }

  .bento-visual {
    margin-top: 1.25rem;
    padding: 0.75rem 0.85rem;
  }

  .bento-trunk-grid {
    gap: 6px;
  }

  .bento-trunk-item {
    padding: 6px 7px;
  }

  .bento-trunk-label {
    font-size: 0.64rem;
  }
}

@media (max-width: 768px) {
  .admin-four-cards-wrapper {
    max-width: 100%;
    border-left: none;
    border-right: none;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    box-sizing: border-box;
  }

  .admin-cards-row-top,
  .admin-cards-row-bottom {
    grid-template-columns: 1fr;
  }

  .admin-cards-row .admin-feature-card:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .admin-feature-card {
    padding: 2rem 1.25rem;
    min-height: auto;
  }

  .admin-card-icon-box {
    margin-bottom: 1rem;
  }

  .admin-card-title {
    font-size: 1.15rem;
  }

  .admin-card-desc {
    font-size: 0.85rem;
  }

  .gateway-steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 992px) {
  .gateway-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps-row,
  .how-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-step-col:nth-child(2) .how-step-divider {
    display: none;
  }

  .how-step-col:nth-child(1),
  .how-step-col:nth-child(2) {
    border-bottom: 1px solid var(--border-color);
  }

  .how-card-col:nth-child(2) {
    border-right: none;
  }

  .how-card-col:nth-child(1),
  .how-card-col:nth-child(2) {
    border-bottom: 1px solid var(--border-color);
  }
}

@media (max-width: 768px) {
  .how-steps-row,
  .how-cards-row {
    grid-template-columns: 1fr;
  }

  .how-step-divider {
    display: none;
  }

  .how-step-col {
    padding: 2.25rem 1.5rem;
    min-height: auto;
    border-bottom: 1px solid var(--border-color);
  }

  .how-step-col:last-child {
    border-bottom: none;
  }

  .how-card-col {
    padding: 2.25rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .how-card-col:last-child {
    border-bottom: none;
  }

  .how-rows-divider {
    height: 24px;
  }
}

/* All Features Page Responsive */
@media (max-width: 992px) {
  .features-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-catalog-card:not(:nth-child(4n)) {
    border-right: none;
  }

  .features-catalog-card:nth-child(-n+4) {
    border-bottom: none;
  }

  .features-catalog-card:nth-child(odd) {
    border-right: 1px solid var(--border-color, #e5e7eb);
  }

  .features-catalog-card:nth-child(-n+6) {
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }

  .features-intro-heading {
    font-size: 2.35rem;
  }
}

@media (max-width: 768px) {
  .features-catalog-grid {
    grid-template-columns: 1fr;
  }

  .features-catalog-card:nth-child(odd) {
    border-right: none;
  }

  .features-catalog-card:nth-child(-n+7) {
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }

  .features-catalog-card:last-child {
    border-bottom: none;
  }

  .features-catalog-card {
    padding: 2.25rem 1.5rem 1.75rem calc(var(--space-md) + 1rem);
    min-height: auto;
  }

  .features-catalog-card .admin-card-icon-box {
    margin-bottom: 1.75rem;
  }

  .features-intro-section {
    padding: 3.5rem 1rem 2.5rem;
  }

  .features-intro-heading {
    font-size: 1.85rem;
  }

  .features-dark-banner {
    padding: 2.5rem 1.25rem 2.25rem;
  }

  .features-phase2-section {
    flex-direction: column;
    gap: 1.75rem;
    align-items: flex-start;
    padding-left: calc(var(--space-md) + 1rem);
  }

  .phase2-roadmap-tags {
    align-items: flex-start;
    width: 100%;
  }

  .phase2-row {
    justify-content: flex-start;
  }
}

/* IVR System Page Responsive */
@media (max-width: 992px) {
  .ivr-grid-row-bottom {
    grid-template-columns: 1fr;
  }

  .ivr-grid-row-bottom .ivr-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }

  .ivr-grid-row-top {
    grid-template-columns: 1fr;
  }

  .ivr-grid-row-top .ivr-card:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }
}

@media (max-width: 768px) {
  .ivr-card {
    padding: 2.25rem 1.5rem 1.75rem;
    min-height: auto;
  }

  .ivr-card .admin-card-icon-box {
    margin-bottom: 1.75rem;
  }
}

/* IVR Visual Flow Diagram Responsive */
@media (max-width: 992px) {
  .ivr-flow-section {
    padding: 3.5rem 1.25rem 4rem;
  }

  .ivr-flow-top-grid {
    grid-template-columns: 1fr;
  }

  .ivr-flow-top-grid .ivr-flow-node:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }

  .ivr-flow-operator-grid {
    grid-template-columns: 1fr;
  }

  .ivr-flow-operator-grid .ivr-flow-node-operator {
    grid-column: 1;
    margin-left: 0;
    width: 100%;
    border-top: none;
  }

  .ivr-submenu-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .ivr-submenu-cards-box {
    grid-column: 1;
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ivr-flow-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-left: 1.25rem;
  }

  .ivr-flow-section {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .ivr-flow-container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .ivr-flow-node {
    padding: 2.25rem 1.25rem;
    min-height: auto;
  }

  .ivr-submenu-cards-box {
    grid-template-columns: 1fr;
  }

  .ivr-submenu-card:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }

  .ivr-submenu-card {
    padding: 2rem 1.25rem;
    min-height: auto;
  }

  .ivr-pipeline-wrap {
    gap: 0.75rem;
    margin-top: 3rem;
    justify-content: flex-start;
    padding-left: 1.25rem;
  }

  .ivr-submenu-label {
    padding-left: 1.25rem;
  }

  .ivr-pipeline-step {
    font-size: 0.72rem;
    white-space: normal;
  }
}

/* Call Recording Showcase Responsive */
@media (max-width: 1080px) {
  .recording-showcase-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .recording-showcase-section {
    padding: 3.5rem var(--space-md) 4rem;
  }

  .recording-showcase-container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .recording-feature-item {
    padding: 1.75rem 1.25rem;
    gap: 1.15rem;
  }

  .recording-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .recording-item-title {
    font-size: 1.15rem;
  }

  .recording-item-desc {
    font-size: 0.85rem;
  }

  .recording-media-label,
  .recording-media-footer {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    padding-left: 1.25rem;
  }
}

/* Call Queues Showcase & Compare Responsive */
@media (max-width: 1080px) {
  .queues-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .queues-card:nth-child(2) {
    border-right: none;
  }

  .queues-card:nth-child(1),
  .queues-card:nth-child(2) {
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }

  .queues-monitor-grid {
    grid-template-columns: 1fr;
  }

  .queues-monitor-col.col-callers {
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }

  .queues-compare-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .queues-showcase-section {
    padding: 3rem 0 3.5rem;
  }

  .queues-showcase-container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    box-sizing: border-box;
  }

  .queues-compare-section {
    padding: 3.5rem 1.25rem 4rem;
  }

  .queues-cards-grid {
    grid-template-columns: 1fr;
  }

  .queues-card {
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    padding: 2rem 1.5rem;
  }

  .queues-card:last-child {
    border-bottom: none;
  }

  .queues-icon-box {
    margin-bottom: 1.5rem;
  }

  .queues-monitor-col {
    padding: 1.75rem 1.25rem;
  }

  .queues-monitor-caption {
    padding: 1rem 1.25rem 0;
    font-size: 0.78rem;
  }

  .queues-caller-num {
    font-size: 0.98rem;
  }

  .queues-status-label {
    font-size: 0.75rem;
  }

  .queues-agent-pill {
    padding: 0.3rem 0.75rem;
    font-size: 0.84rem;
  }

  .queues-compare-card {
    padding: 2rem 1.5rem;
  }
}

/* Ring Group Responsive */
@media (max-width: 1080px) {
  .ringgroup-sim-grid {
    grid-template-columns: 1fr;
  }

  .ringgroup-sim-col.col-simultaneous {
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }

  .ringgroup-cards-grid {
    grid-template-columns: 1fr;
  }

  .ringgroup-card {
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }

  .ringgroup-card:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .ringgroup-showcase-section {
    padding: 3rem 0 3.5rem;
  }

  .ringgroup-showcase-container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    box-sizing: border-box;
  }

  .ringgroup-sim-col {
    padding: 1.75rem 1.25rem;
  }

  .ringgroup-card {
    padding: 2.25rem 1.5rem;
  }

  .ringgroup-icon-box {
    margin-bottom: 1.5rem;
  }
}

/* Audio Conferencing Responsive */
@media (max-width: 1080px) {
  .conf-cards-grid {
    grid-template-columns: 1fr;
  }

  .conf-card {
    border-right: none;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }

  .conf-card:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .conf-showcase-section {
    padding: 3rem 0 3.5rem;
  }

  .conf-showcase-container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    box-sizing: border-box;
  }

  .conf-card {
    padding: 2.25rem 1.5rem;
  }

  .conf-icon-box {
    margin-bottom: 1.5rem;
  }

  .conf-centered-card {
    padding: 1.75rem 1.25rem;
  }
}

/* Call Forwarding & DND Responsive */
@media (max-width: 900px) {
  .cf-cards-row {
    flex-direction: column;
  }

  .cf-row-top .cf-card-sm,
  .cf-row-top .cf-card-lg,
  .cf-row-bottom .cf-card-lg,
  .cf-row-bottom .cf-card-sm {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color, #e5e7eb) !important;
    padding: 2.5rem 2rem;
  }

  .cf-row-bottom .cf-card-sm {
    border-bottom: none !important;
  }
}

@media (max-width: 768px) {
  .cf-showcase-section {
    padding: 0 0 4rem;
  }

  .cf-cards-box {
    margin-bottom: 3.5rem;
  }

  .cf-card {
    padding: 2.25rem 1.5rem;
  }

  .cf-icon-box {
    margin-bottom: 1.5rem;
  }

  .cf-routing-card {
    padding: 1.75rem 1.25rem;
  }

  .cf-rule-row {
    padding: 1rem 0;
  }

  .cf-rule-name {
    font-size: 0.98rem;
  }

  .cf-rule-sub {
    font-size: 0.82rem;
  }
}

/* Multi-Device Extensions Responsive */
@media (max-width: 1200px) {
  .md-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .md-card:nth-child(2) {
    border-right: none;
  }

  .md-card:nth-child(1),
  .md-card:nth-child(2) {
    border-bottom: 1px solid var(--border-color, #e5e7eb);
  }
}

@media (max-width: 768px) {
  .md-top-area {
    padding: 3rem 1rem 3.5rem;
  }

  .md-registrations-card {
    padding: 1.75rem 1.25rem;
  }

  .md-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .md-cards-grid {
    grid-template-columns: 1fr;
  }

  .md-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color, #e5e7eb) !important;
    padding: 2.25rem 1.5rem;
  }

  .md-card:last-child {
    border-bottom: none !important;
  }

  .md-icon-box {
    margin-bottom: 1.25rem;
  }

  .md-device-name {
    font-size: 0.88rem;
  }

  .md-card-footer span {
    font-size: 0.65rem;
  }
}



/* DOWNLOAD APPS — apps-platform-card & no-server-requirements left padding fix */
/* Applies at 768px, 425px, and 375px — no other viewpoints affected */
@media (max-width: 768px) {
  .apps-platform-card {
    padding-left: calc(var(--space-md) + 1rem);
  }

  .no-server-requirements {
    padding-left: calc(var(--space-md) + 1rem);
  }
}

/* MULTI-DEVICE EXTENSIONS — md-showcase-container overflow fix */
/* Applies at 768px, 425px, and 375px — no other viewpoints affected */
@media (max-width: 768px) {
  .md-showcase-container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    box-sizing: border-box;
  }
}

/* BUSINESSES — reception-grid fix for 425px and 375px */
/* Strictly scoped — no other viewpoints affected */
@media (max-width: 425px) {
  .reception-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    /* border-left: none; */
  }

  .reception-pattern-box {
    display: none;
  }

  /* Full-width title banner */
  .reception-center-box {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: auto;
    padding: 1.25rem 1rem;
    border-right: none;
  }

  .reception-center-title {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  /* Card 1 (IVR Menus) — full width, row 1 */
  .reception-card:nth-of-type(1) {
    grid-column: 1 / -1;
  }

  /* Cards 2–3 (Call Recording, Queues) — 2 cols, row 2 */
  .reception-card:nth-of-type(2),
  .reception-card:nth-of-type(3) {
    grid-column: auto;
  }

  /* Cards 4–5 (Ring Groups, Forwarding DND) — 2 cols, row 4 */
  .reception-card:nth-of-type(4),
  .reception-card:nth-of-type(5) {
    grid-column: auto;
  }

  /* Card 6 (GSM SIM Trunking) — full width, row 5 */
  .reception-card:nth-of-type(6) {
    grid-column: 1 / -1;
  }

  /* Border cleanup */
  .reception-card {
    min-height: 110px;
    padding: 1.25rem 0.75rem;
    border-right: 1px solid #dcdfe4;
    border-bottom: 1px solid #dcdfe4;
    border-left: none;
    border-top: none;
  }

  .reception-icon-box {
    width: 34px;
    height: 34px;
    margin-bottom: 0.5rem;
  }

  .reception-icon-box svg {
    width: 17px;
    height: 17px;
  }

  .reception-card-title {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}

/* DEVELOPERS — dev-endpoints fix */
/* Applies at 768px, 425px, and 375px — no other viewpoints affected */
@media (max-width: 768px) {
  .dev-endpoints-section {
    padding: 2.5rem var(--space-md) !important;
  }

  .dev-endpoints-container {
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .dev-endpoint-row {
    padding-left: var(--space-md) !important;
    padding-right: var(--space-md) !important;
  }

  .dev-endpoints-header {
    padding-left: 1.25rem;
  }

  .dev-endpoints-note {
    padding-left: 1.25rem;
  }
}

/* EPABX — cutover-steps-bar shown beside cutover-grid at 768px, 425px, 375px */
/* Strictly scoped — no other viewpoints affected */
@media (max-width: 768px) {
  .cutover-container {
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  /* Wrap steps bar + grid side by side */
  .cutover-steps-bar,
  .cutover-grid {
    display: block;
  }

  .cutover-steps-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
  }

  /* Show the steps bar as a vertical rail */
  .cutover-steps-bar {
    display: flex !important;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 44px;
    min-width: 44px;
    flex-shrink: 0;
    position: relative;
    margin-bottom: 0;
    border-right: 1px solid var(--border-color, #e5e7eb);
  }

  /* Replace the horizontal ::before line with a vertical one */
  .cutover-steps-bar::before {
    top: calc(100% / 6);
    bottom: calc(100% / 6);
    left: 50%;
    right: auto;
    width: 1.5px;
    height: auto;
    transform: translateX(-50%);
  }

  .cutover-step-node {
    width: 100%;
    justify-content: center;
    padding: 0;
  }

  /* Grid becomes single column beside the bar */
  .cutover-grid {
    flex: 1;
    grid-template-columns: 1fr !important;
    border-left: none;
  }
}

/* EPABX — epabx-trans-cell-right differentiation at 425px and 375px */
/* Strictly scoped — no other viewpoints affected */
@media (max-width: 425px) {
  .epabx-trans-row {
    margin-bottom: 0.5rem;
  }

  .epabx-trans-cell-left {
    background-color: #f8fafc;
    font-size: 0.82rem;
    padding: 0.85rem 1rem;
    border-bottom: none;
    color: #64748b;
    font-style: italic;
  }

  .epabx-trans-cell-right {
    background-color: #d0e8f7;
    /* border-left: 3px solid #0a66c2; */
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
  }

  .epabx-trans-cell-right strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.88rem;
  }
}

/* HOSPITALS & CLINICS — clinic-callflow-header left padding fix */
/* Applies at 768px, 425px, and 375px — no other viewpoints affected */
@media (max-width: 768px) {
  .clinic-callflow-header {
    padding-left: 1.25rem;
  }
}

/* HOSPITALS & CLINICS — clinic-timeline-spine beside clinic-routes-card */
/* Applies at 1024px, 768px, 425px, and 375px — no other viewpoints affected */
@media (max-width: 1024px) {
  .clinic-callflow-layout {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
  }

  /* Console card spans both columns — full width top row */
  .clinic-console-card {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  /* Spine sits in col 1, row 2 — left rail beside routes */
  .clinic-timeline-spine {
    display: flex !important;
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    /* border-right: 1px solid var(--border-color, #e5e7eb); */
  }

  /* Routes card fills col 2, row 2 */
  .clinic-routes-card {
    grid-column: 2;
    grid-row: 2;
  }
}

/* COMPARE — compare-cost-heading left padding fix */
/* Applies at 768px, 425px, and 375px — no other viewpoints affected */
@media (max-width: 768px) {
  .compare-cost-heading {
    padding-left: 1.25rem;
  }
}

/* VS PAGES — vs-content-block, vs-prose, vs-section-title left padding fix */
/* Applies at 768px, 425px, and 375px — no other viewpoints affected */
@media (max-width: 768px) {
  .vs-page-section {
    padding-left: var(--space-md) !important;
    padding-right: var(--space-md) !important;
  }

  .vs-page-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .vs-page-layout {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .vs-main-content {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

