@media (max-width: 749px) {
  .tab-panel > div {
    overflow-x: hidden;
  }
  .tab-group.acc {
    padding: 0;
  }
  .tab-group.acc .tab-panel {
    display: block !important;
    width: 100%;
    padding: 0;
  }
  .tab-group.acc .tab-panel > input {
    display: none;
  }
  .tab-group.acc .tab-panel > input + .acc-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    min-height: 100%;
    padding: 3rem 5rem 3rem 3rem;
    margin: 0 0 1rem;
    color: #040811;
    background: rgba(210, 200, 184, 0.2);
    position: relative;
    transition: background 0.25s ease-in-out;
  }
  .tab-group.acc .tab-panel > input + .acc-title:after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background-color: #163850;
    mask: url(../../../assets/images/theme/acc-plus.svg) no-repeat center/contain;
    position: absolute;
    top: 3.4rem;
    right: 2rem;
  }
  .tab-group.acc .tab-panel > input + .acc-title:hover {
    background: #D2C8B8;
    cursor: pointer;
  }
  .tab-group.acc .tab-panel > input + .acc-title span {
    display: block;
    width: calc(100% - 40px);
  }
  .tab-group.acc .tab-panel > input + .acc-title .acc-title__number {
    width: max-content;
    padding-bottom: 0.75rem;
    color: #B49B61;
    border-bottom: 2px solid #B49B61;
    font-family: var(--wp--preset--font-family--secondary);
    font-size: var(--wp--preset--font-size--font-28);
    font-weight: 400;
    line-height: 1;
  }
  .tab-group.acc .tab-panel > input + .acc-title .acc-title__heading {
    color: #163850;
    font-family: var(--wp--preset--font-family--secondary);
    font-size: var(--wp--preset--font-size--font-22);
    font-weight: 600;
    line-height: 1.25;
  }
  .tab-group.acc .tab-panel > input + .acc-title .acc-title__description {
    color: #040811;
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--font-17);
    font-weight: 400;
    line-height: 1.45;
  }
  .tab-group.acc .tab-panel > input + .acc-title + .acc-panel {
    height: 0;
    visibility: hidden;
    padding: 0;
    border: 1px solid transparent;
    transition: visibility 0.35s cubic-bezier(0.25, 0.5, 0.5, 1) 0.05s, height 0.35s cubic-bezier(0.25, 0.5, 0.5, 1) 0.05s, padding 0.35s cubic-bezier(0.25, 0.5, 0.5, 1) 0.05s;
  }
  .tab-group.acc .tab-panel > input + .acc-title + .acc-panel > * {
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.82, -0.04, 1, 1);
  }
  .tab-group.acc .tab-panel > input + .acc-title + .acc-panel .wp-block-columns:first-child {
    margin-top: 0;
  }
  .tab-group.acc .tab-panel > input + .acc-title + .acc-panel .wp-block-columns:last-child {
    margin-bottom: 0;
  }
  .tab-group.acc .tab-panel > input:checked + .acc-title {
    background: #D2C8B8;
  }
  .tab-group.acc .tab-panel > input:checked + .acc-title:after {
    background-color: #163850;
    mask: url(../../../assets/images/theme/acc-minus.svg) no-repeat center/contain;
  }
  .tab-group.acc .tab-panel > input:checked + .acc-title + .acc-panel {
    height: auto;
    visibility: visible;
    padding: 20px 0;
  }
  .tab-group.acc .tab-panel > input:checked + .acc-title + .acc-panel > * {
    opacity: 1;
  }
  .tab-group.tabs .tab-panel > input,
  .tab-group.tabs .tab-panel > label {
    display: none;
  }
  .tab-group.tabs .tab-panel > div {
    opacity: 0;
    animation: fadeIn 0.45s forwards 0.15s;
  }
  .tab-group.tabs .tab-panel img {
    width: 100%;
  }
  .tab-group.tabs .tab-panel.active {
    display: block;
  }
}
@media (min-width: 750px) {
  .tab-panel > input,
  .tab-panel > label {
    display: none;
  }
  .tab-panel > div {
    animation: fadeIn 0.45s forwards 0.15s;
    opacity: 0;
  }
  .tab-panel > div .wp-block-image img {
    width: 100%;
  }
  .tab-panel.active {
    display: block;
  }
}
