/* ============================================
   Homepage Sections — 荟萃英才教育
   Sections: Carousel, CourseTypes, OneToOneTx,
             Personalize, ProductTypes, TiKu, Apps, Links
   Breakpoints: sm=640px, md=768px, lg=1024px, xl=1280px
   ============================================ */

/* ─── Shared Section Utilities ─── */

.section-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

@media (min-width: 1280px) {
  .section-container {
    padding-left: 0;
    padding-right: 0;
  }
}

.section-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
    margin-bottom: 3rem;
  }
}

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

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 3rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
}

@media (min-width: 640px) {
  .section-subtitle {
    font-size: 1.25rem;
  }
}

/* TiKu subtitle uses default text color (not gray) for readability on light bg */
.section-header-left .section-subtitle {
  color: #333;
}

/* ============================================
   1. Home Carousel
   ============================================ */

.carousel-section {
  width: 100%;
}

/* Swiper overrides */
.home-carousel .swiper {
  width: 100%;
}

.home-carousel .swiper-slide {
  width: 100%;
  position: relative;
  aspect-ratio: 2.8 / 1;
  overflow: hidden;
}

@media (min-width: 768px) {
  .home-carousel .swiper-slide {
    aspect-ratio: 3.2 / 1;
    border-radius: 0.125rem;
  }
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-link {
  display: block;
  width: 100%;
  height: 100%;
}

/* Pagination bullets */
.home-carousel .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--neutral-300);
  opacity: 1;
  border-radius: 50%;
  transition: all 0.5s;
}

.home-carousel .swiper-pagination-bullet-active {
  width: 1.25rem;
  border-radius: 0.375rem;
  background: var(--primary-500);
}

/* ============================================
   2. CourseTypes Section
   ============================================ */

.section-course-types {
  width: 100%;
  background: #fff;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .section-course-types {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.course-types-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .course-types-grid {
    gap: 1rem;
  }
}

.course-card {
  width: 44%;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .course-card {
    width: 180px;
    padding: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .course-card {
    width: 240px;
  }
}

@media (min-width: 1280px) {
  .course-card {
    width: 260px;
  }
}

.course-icon {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* @media (min-width: 768px) {
  .course-icon {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .course-icon {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
} */

.course-icon-inner {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: #f0f5ff;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .course-icon-inner {
    width: 5rem;
    height: 5rem;
  }
}

@media (min-width: 768px) {
  .course-icon-inner {
    width: 5.5rem;
    height: 5.5rem;
  }
}

@media (min-width: 1024px) {
  .course-icon-inner {
    width: 6.5rem;
    height: 6.5rem;
  }
}

.course-icon-inner img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}

.course-title {
  text-align: center;
  font-size: 1.125rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .course-title {
    font-size: 1.25rem;
    font-weight: 600;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .course-title {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.course-desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .course-desc {
    font-size: 1rem;
  }
}

/* ============================================
   3. OneToOneTx Section
   ============================================ */

.section-1to1-tx {
  width: 100%;
  background: var(--gray-100);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .section-1to1-tx {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.tx-grid {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .tx-grid {
    flex-direction: row;
  }
}

.tx-card {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.tx-card:nth-child(even) {
  flex-direction: row-reverse;
}

@media (min-width: 768px) {
  .tx-card {
    width: 33.333%;
    flex-direction: column;
  }
  .tx-card:nth-child(even) {
    flex-direction: column-reverse;
  }
}

.tx-img {
  width: 100%;
  aspect-ratio: 1.54 / 1;
  flex: 1;
  position: relative;
  overflow: hidden;
}

.tx-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tx-info {
  width: 100%;
  aspect-ratio: 1.54 / 1;
  padding: 0.5rem;
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .tx-info {
    padding: 1rem;
  }
}

.tx-number {
  color: var(--primary-500);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
}

@media (min-width: 640px) {
  .tx-number {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .tx-number {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .tx-number {
    font-size: 1.875rem;
  }
}

.tx-label {
  font-size: 0.875rem;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .tx-label {
    font-size: 1rem;
  }
}

/* ============================================
   4. Personalize Section
   ============================================ */

.section-personalize {
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: linear-gradient(-40deg, #3b71ff 60.5%, #5c89ff 59.5%);
}

@media (min-width: 768px) {
  .section-personalize {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(-30deg, #3b71ff 60.5%, #5c89ff 59.5%);
  }
}

@media (min-width: 1024px) {
  .section-personalize {
    background: linear-gradient(-25deg, #3b71ff 60.5%, #5c89ff 59.5%);
  }
}

.section-title-white {
  font-size: 1.375rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .section-title-white {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .section-title-white {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }
}

.section-subtitle-badge {
  display: inline-block;
  padding: 0.25rem 1.5rem;
  background: #fff;
  border-radius: 9999px;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .section-subtitle-badge {
    font-size: 1.25rem;
  }
}

.personalize-grid {
  width: 100%;
  padding: 0 0.75rem;
}

@media (min-width: 768px) {
  .personalize-grid {
    padding: 0;
    column-count: 2;
    column-gap: 3rem;
  }
}

.personalize-card {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border-radius: 0.125rem;
  margin-top: 1rem;
  transition: transform 0.5s;
  break-inside: avoid;
}

@media (min-width: 1024px) {
  .personalize-card {
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
  }
}

.personalize-card:first-child {
  margin-top: 0;
}

.personalize-card:hover {
  transform: scale(1.05);
  cursor: default;
}

.personalize-icon {
  width: 12.5%;
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}

@media (min-width: 1024px) {
  .personalize-icon {
    width: 20%;
    padding-top: 0.5rem;
  }
}

.personalize-icon > div {
  width: 2rem;
  height: 2rem;
  padding: 0.5rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom right, var(--blue-4), var(--blue-7));
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .personalize-icon > div {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
  }
}

.personalize-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.personalize-text {
  flex: 1;
  min-width: 0;
}

.personalize-title {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .personalize-title {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

.personalize-desc {
  color: var(--gray-500);
  font-size: 1rem;
  min-height: 3rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .personalize-desc {
    font-size: 0.875rem;
  }
}

/* ============================================
   5. ProductTypes Section
   ============================================ */

.section-product-types {
  width: 100%;
  background: #fff;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .section-product-types {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.product-desc {
  text-align: center;
  color: var(--gray-500);
  line-height: 1.8;
}

.product-desc b {
  color: var(--gray-700);
  font-weight: 700;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 2rem;
  row-gap: 1.25rem;
}

@media (min-width: 640px) {
  .product-grid {
    column-gap: 1rem;
    row-gap: 2rem;
  }
}

.product-card {
  width: 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.8s;
}

.product-card:first-child {
  margin-left: 20%;
  margin-right: 20%;
}

@media (min-width: 640px) {
  .product-card {
    width: 40%;
  }
  .product-card:first-child {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  .product-card {
    width: 30%;
  }
  .product-card:first-child {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 1024px) {
  .product-card {
    width: 25%;
  }
}

.product-card-bg {
  width: 100%;
  aspect-ratio: 370 / 190;
  position: relative;
}

.product-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.product-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.product-card-content {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  padding: 10% 5%;
  z-index: 10;
}

@media (min-width: 640px) {
  .product-card-content {
    padding: 10% 10%;
  }
}

.product-name {
  flex: 1;
  padding-top: 10%;
  font-style: italic;
}

@media (min-width: 640px) {
  .product-name {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .product-name {
    font-size: 1.625rem;
  }
}

@media (min-width: 1280px) {
  .product-name {
    font-size: 1.875rem;
  }
}

.product-icon {
  width: 40%;
}

.product-icon > div {
  width: 80%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-meta {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 0 6%;
}

.product-step {
  border-radius: 9999px;
  border: 1px solid #fff;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .product-step {
    border-width: 4px;
  }
}

.product-step > div {
  border-radius: 9999px;
  background: var(--primary-500);
  padding: 0.5rem;
  transition: background-color 0.8s;
}

.product-step-num-wrap {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .product-step-num-wrap {
    width: 2.25rem;
    height: 2.25rem;
  }
}

.product-step-num {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .product-step-num {
    font-size: 1.5rem;
  }
}

.product-phase {
  font-weight: 700;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .product-phase {
    font-size: 1.25rem;
  }
}

/* SVG hover / default color states */
.product-grid .product-card:hover .product_type_bg_svg_1 {
  fill: #fb9d08 !important;
}

.product-grid .product-card:hover .product_type_bg_svg_3 {
  fill: #fab342 !important;
}

.product-grid .product-card:hover .order {
  background-color: #fab342 !important;
}

/* Mobile: first child gets accent color by default */
@media screen and (max-width: 767px) {
  .product-grid .product-card:first-child .product_type_bg_svg_1 {
    fill: #fb9d08;
  }
  .product-grid .product-card:first-child .product_type_bg_svg_3 {
    fill: #fab342;
  }
  .product-grid .product-card:first-child .order {
    background-color: #fab342;
  }
}

/* Desktop: even children get accent color by default */
@media screen and (min-width: 768px) {
  .product-grid .product-card:nth-child(2n) .product_type_bg_svg_1 {
    fill: #fb9d08;
  }
  .product-grid .product-card:nth-child(2n) .product_type_bg_svg_3 {
    fill: #fab342;
  }
  .product-grid .product-card:nth-child(2n) .order {
    background-color: #fab342;
  }
}

/* When hovering the product container, reset non-hovered items */
.product-grid:hover .product-card:first-child .product_type_bg_svg_1 {
  fill: rgb(247, 247, 247);
}

.product-grid:hover .product-card:first-child .product_type_bg_svg_3 {
  fill: rgb(232, 232, 233);
}

.product-grid:hover .product-card:first-child .order {
  background-color: var(--primary-500);
}

.product-grid:hover .product-card:nth-child(2n) .product_type_bg_svg_1 {
  fill: rgb(247, 247, 247);
}

.product-grid:hover .product-card:nth-child(2n) .product_type_bg_svg_3 {
  fill: rgb(232, 232, 233);
}

.product-grid:hover .product-card:nth-child(2n) .order {
  background-color: var(--primary-500);
}

/* ============================================
   6. TiKu Section
   ============================================ */

.section-tiku {
  width: 100%;
  background-color: var(--coolgray-200);
  padding: 3rem 0.75rem;
  background-image: url(/images/home/tiku_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
}

@media (min-width: 768px) {
  .section-tiku {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1536px) {
  .section-tiku {
    background-position: center;
  }
}

.section-header-left {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-header-left {
    margin-bottom: 3rem;
  }
}

.tiku-title-wrap {
  display: inline-block;
  position: relative;
}

/* TiKu title: blue, left-aligned, above decor element */
.section-header-left .section-title {
  text-align: left;
  color: var(--primary-500);
  position: relative;
  z-index: 1;
}

.tiku-title-decor {
  position: absolute;
  width: 7.5rem;
  height: 2rem;
  left: 3rem;
  top: -0.625rem;
  background: var(--cyan-300);
  opacity: 0.2;
}

@media (min-width: 768px) {
  .tiku-title-decor {
    width: 10rem;
    height: 2.5rem;
    left: 4.5rem;
    top: -0.75rem;
  }
}

.tiku-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 600px;
}

.tiku-item {
  padding: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.375rem;
  background: #fff;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s;
}

.tiku-item:hover {
  transform: scale(1.05);
  cursor: default;
}

.tiku-tag {
  background: var(--primary-500);
  border-radius: 9999px;
  padding: 0.25rem 1rem;
  color: #fff;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .tiku-tag {
    padding: 0.5rem 1.25rem;
  }
}

.tiku-item p {
  flex: 1;
  color: var(--gray-700);
}

/* ============================================
   7. Apps Section
   ============================================ */

.section-apps {
  width: 100%;
  background-color: #fff;
  background-image: url(/images/apps/apps_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.apps-content {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .apps-content {
    padding: 5rem 1rem;
    flex-direction: row;
    justify-content: space-around;
  }
}

.apps-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .apps-info {
    align-items: flex-start;
  }
}

.apps-slogan-top {
  font-size: 1.125rem;
  letter-spacing: 0.1em;
}

@media (min-width: 1024px) {
  .apps-slogan-top {
    font-size: 1.25rem;
  }
}

.apps-app-name {
  font-size: 1.875rem;
  letter-spacing: 0.1em;
  color: var(--yellow);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  mix-blend-mode: difference;
}

@media (min-width: 768px) {
  .apps-app-name {
    color: var(--primary-500);
    mix-blend-mode: normal;
  }
}

@media (min-width: 1024px) {
  .apps-app-name {
    font-size: 2.25rem;
  }
}

.apps-qr-desktop {
  display: none;
  width: 7.5rem;
  height: 7.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  background: #fff;
  border-radius: 0.125rem;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

@media (min-width: 768px) {
  .apps-qr-desktop {
    display: block;
  }
}

@media (min-width: 1024px) {
  .apps-qr-desktop {
    width: 10rem;
    height: 10rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
  }
}

.apps-qr-desktop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apps-version {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.apps-phones {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

@media (min-width: 768px) {
  .apps-phones {
    width: 66.666%;
  }
}

@media (min-width: 1280px) {
  .apps-phones {
    width: 60%;
  }
}

.apps-phone {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.apps-phone-img {
  width: 100%;
  aspect-ratio: 255 / 478;
}

.apps-phone-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.apps-phone-label {
  padding: 0.25rem 1rem;
  background: #fff;
  border-radius: 9999px;
  text-align: center;
  font-size: 0.875rem;
  mix-blend-mode: difference;
}

@media (min-width: 768px) {
  .apps-phone-label {
    mix-blend-mode: normal;
  }
}

.download-app-btn {
  padding: 0.5rem 1rem;
  background: var(--primary-500);
  border-radius: 9999px;
  color: #fff;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.apps-download-desktop {
  display: none;
  margin-top: 0.5rem;
  padding: 0.25rem 1.5rem;
  background: var(--orange);
}

@media (min-width: 768px) {
  .apps-download-desktop {
    display: inline-block;
  }
}

@media (min-width: 1024px) {
  .apps-download-desktop {
    margin-top: 1rem;
    padding: 0.5rem 2rem;
  }
}

.apps-download-mobile {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .apps-download-mobile {
    display: none;
  }
}

/* ============================================
   8. Links Section (Homepage Footer)
   ============================================ */

.links-section {
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: #000;
  color: #e5e7eb;
}

@media (min-width: 768px) {
  .links-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.links-inner {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.links-content {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .links-content {
    flex-direction: row;
  }
}

.links-left {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .links-left {
    width: auto;
  }
}

.links-logo {
  width: 6.58rem;
  height: 2.75rem;
  position: relative;
}

@media (min-width: 640px) {
  .links-logo {
    width: 8.075rem;
    height: 3.375rem;
  }
}

@media (min-width: 768px) {
  .links-logo {
    width: 9.57rem;
    height: 4rem;
  }
}

.links-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.links-slogan {
  max-width: 28rem;
  font-weight: 700;
  font-size: 1.25rem;
  font-style: italic;
  margin: 0;
}

@media (min-width: 768px) {
  .links-slogan {
    font-size: 1.875rem;
  }
}

.links-subtitle {
  margin: 0;
}

.links-right {
  display: flex;
  width: 100%;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-around;
}

@media (min-width: 768px) {
  .links-right {
    width: auto;
  }
}

.links-qrcode-item {
  text-align: center;
}

.links-qrcode-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.links-qrcode-item p {
  margin: 0.25rem 0 0;
  line-height: 1.5;
}

/* ============================================
   Responsive Visibility Utility
   ============================================ */

.hide-until-md {
  display: none;
}

@media (min-width: 768px) {
  .hide-until-md {
    display: inline;
  }
}
