/* CQG Mobile Feature Tabs — v1.0.0. Presentation only; original markup, links, tab JS untouched. */
@media screen and (max-width:767px) {
  #cqg-home-features.cqg-feature-tabs {
    width: 100%;
    max-width: 100%;
    padding: 22px 0 30px;
    overflow: clip;
  }
  #cqg-home-features .cqg-feature-tabs__inner {
    width: calc(100% - 24px);
    max-width: 520px;
    margin: 0 auto;
    padding: 17px 13px 15px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(60, 75, 51, .07);
  }
  #cqg-home-features .cqg-feature-tabs__heading { margin: 0 0 17px; }
  #cqg-home-features .cqg-feature-tabs__heading h2 {
    font-size: clamp(22px, 5.7vw, 27px);
    line-height: 1.17;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
  }
  #cqg-home-features .cqg-feature-tabs__heading p {
    font-size: 13px;
    line-height: 1.55;
  }
  #cqg-home-features .cqg-feature-tabs__eyebrow {
    font-size: 10px;
    margin-bottom: 7px;
  }
  #cqg-home-features .cqg-feature-tabs__tabs {
    width: 100%;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
  }
  /* 4 real tabs, always visible, no horizontal swipe/scrollbar. */
  #cqg-home-features .cqg-feature-tabs__tab-list {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 0;
    width: 100%;
    overflow: visible;
    border-bottom: 0;
  }
  #cqg-home-features .cqg-feature-tabs__tab-list > button {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    min-height: 53px;
    padding: 10px 7px;
    font-size: clamp(11px, 3.15vw, 13px);
    line-height: 1.25;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
    border-right: 1px solid #eee5df;
    border-bottom: 1px solid #eee5df;
    box-shadow: none;
  }
  #cqg-home-features .cqg-feature-tabs__tab-list > button:nth-child(even) { border-right: 0; }
  #cqg-home-features .cqg-feature-tabs__tab-list > button.is-active {
    background: #edf3eb;
    color: #314b34;
    box-shadow: inset 0 -3px 0 #b47d6d;
  }
  #cqg-home-features .cqg-feature-tabs__tab-panels { min-height: 0; }
  #cqg-home-features .cqg-feature-tabs__tab-panel { display: none; }
  #cqg-home-features .cqg-feature-tabs__tab-panel.is-active {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 16px;
    align-items: start;
    padding: 13px;
    min-width: 0;
  }
  #cqg-home-features .cqg-feature-tabs__tab-visual {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: clamp(175px, 53vw, 240px);
    border-radius: 13px;
    overflow: hidden;
    grid-row: 1;
  }
  #cqg-home-features .cqg-feature-tabs__tab-copy {
    min-width: 0;
    width: 100%;
    grid-row: 2;
  }
  #cqg-home-features .cqg-feature-tabs__tab-copy h3 {
    font-size: clamp(19px, 5.2vw, 23px);
    line-height: 1.22;
    overflow-wrap: anywhere;
    margin: 0 0 9px;
  }
  #cqg-home-features .cqg-feature-tabs__tab-copy p {
    font-size: 13px;
    line-height: 1.58;
    margin-bottom: 11px;
    overflow-wrap: anywhere;
  }
  #cqg-home-features .cqg-feature-tabs__tab-copy a { font-size: 12px; }
  #cqg-home-features .cqg-feature-tabs__spec-grid {
    inset: 9px;
    gap: 6px;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  #cqg-home-features .cqg-feature-tabs__spec-grid span {
    min-width: 0;
    padding: 8px 9px;
    border-radius: 9px;
  }
  #cqg-home-features .cqg-feature-tabs__spec-grid small { font-size: 9px; margin-bottom: 2px; }
  #cqg-home-features .cqg-feature-tabs__spec-grid strong { font-size: 11px; line-height: 1.25; }
  #cqg-home-features .cqg-feature-tabs__audio-card {
    left: 11px;
    right: 11px;
    padding: 11px;
    gap: 9px;
    grid-template-columns: 40px minmax(0,1fr);
  }
  #cqg-home-features .cqg-feature-tabs__audio-play { width: 40px; height: 40px; }
  #cqg-home-features .cqg-feature-tabs__audio-card strong { font-size: 12px; }
  #cqg-home-features .cqg-feature-tabs__audio-card small { font-size: 10px; }
  #cqg-home-features .cqg-feature-tabs__audio-wave { display: none; }
  #cqg-home-features .cqg-feature-tabs__tab-visual--saved { padding: 10px; }
  #cqg-home-features .cqg-feature-tabs__saved-sample {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border-radius: 13px;
  }
  #cqg-home-features .cqg-feature-tabs__saved-heading { margin-bottom: 5px; }
  #cqg-home-features .cqg-feature-tabs__saved-line { padding: 5px 0; }
  #cqg-home-features .cqg-feature-tabs__saved-pin { margin-top: 5px; padding: 7px; }
}
