/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.1
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/
/* Theme customization starts here
-------------------------------------------------------------- */
/*Dropdown menu for categories*/
.menu-item-has-children {
  position: relative;
}
.menu-item-has-children .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 10px 0;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 999;
}
.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu li {
  padding: 0;
  margin: 0;
}
.sub-menu li a {
  display: block;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
@media (min-width: 769px) {
  .menu-item-has-children .sub-menu {
    background: #fff !important;
  }
  .sub-menu li a {
    color: #222 !important;
    background: transparent !important;
  }
  .sub-menu li a:hover {
    color: #2563eb !important;
    background: transparent !important;
  }
}
/*
@media (min-width: 769px) {
  .main-navigation .menu-item-has-children .sub-menu {
    background: #fff !important;
  }
  .main-navigation .sub-menu li a {
    color: #222 !important;
    background: transparent !important;
  }
  .main-navigation .sub-menu li a:hover {
    color: #2563eb !important;
    background: transparent !important;
  }
}
*/
/* Uniform card image size regardless of source image dimensions */
.orthotech-product-image {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 4px;
}
.orthotech-product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.product-img-front {
  opacity: 1;
}
.product-img-back {
  opacity: 0;
}
.orthotech-product-image:hover .product-img-front {
  opacity: 0;
}
.orthotech-product-image:hover .product-img-back {
  opacity: 1;
}
/* Keep every product card the same overall height in the grid */
ul.products li.product {
  display: flex !important;
  flex-direction: column;
}
ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}
/*for products list view*/
.orthotech-product-image {
  display: block;
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 4px;
}
/* List view: text content left, image right */
.products-list-view li.product {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 24px;
}
.products-list-view li.product a.woocommerce-LoopProduct-link {
  flex-direction: row !important;
  align-items: center;
}
.products-list-view li.product > a:not(.orthotech-product-image) {
  order: 1;
  flex: 0 0 auto !important;
}
.products-list-view li.product > a.orthotech-product-image {
  order: 2;
  flex: 0 0 220px !important;
  height: 150px;
  margin: 0;
}
.products-list-view li.product > .add_to_cart_button {
  order: 1;
}
/* =========================================================
   Homepage featured-products slider — redesign
   Paste into Appearance → Customize → Additional CSS
   (or at the end of kadence-child/style.css)
   Layout: text on the reading-start side, full product photo
   on the other side, light background, no dark overlay.
   Uses logical properties so it also works on the LTR (English) pages.
   ========================================================= */

/* Container */
.homepage-featured-swiper {
  left: auto;
  transform: none;
  height: 520px;
  border-radius: 20px;
  background: var(--global-palette8, #F7FAFC);
  box-shadow: 0 10px 40px rgba(26, 32, 44, .08);
}

/* Slide background: soft gradient instead of a darkened photo */
.homepage-featured-swiper .featured-product-slide {
  isolation: isolate;
  background: linear-gradient(135deg, #EDF2F7 0%, #F7FAFC 55%, #FFFFFF 100%);
}

/* Product photo: whole product visible, on the inline-end half */
.homepage-featured-swiper .featured-product-slide::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 40px 80px;           /* side gap keeps the photo clear of the arrows */
  inset-inline-start: 50%;
  background-image: var(--slide-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain !important;
  background-color: transparent;
  mix-blend-mode: multiply; /* white photo backgrounds blend into the slide */
}

/* Former dark overlay → soft brand-coloured glow behind the product */
.homepage-featured-swiper .featured-product-slide::after {
  inset: auto;
  top: 50%;
  inset-inline-end: 8%;
  width: min(40%, 420px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 108, 176, .16) 0%, rgba(43, 108, 176, 0) 70%);
  z-index: -1;
}

/* Text column */
.homepage-featured-swiper .featured-slide-inner {
  box-sizing: border-box;
  justify-content: center;
  padding-block: 48px;
  padding-inline: 72px calc(50% + 24px);
}

.homepage-featured-swiper .featured-slide-text {
  flex: 0 0 auto;
  align-items: flex-start;
  text-align: start;
  padding: 0;
  margin: 0;
  max-width: 520px;
}

.homepage-featured-swiper .featured-slide-text::before {
  content: "";
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--global-palette1, #2B6CB0);
  margin-bottom: 20px;
}

.homepage-featured-swiper .featured-slide-text h2 {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--global-palette3, #1A202C);
  margin: 0 0 16px;
}

.homepage-featured-swiper .featured-description {
  font-size: 16px;
  line-height: 1.85;
  color: var(--global-palette5, #4A5568);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Button sits right under the text, not at the bottom edge */
.homepage-featured-swiper .featured-slide-footer {
  padding: 28px 0 0;
  text-align: start;
}

.homepage-featured-swiper .featured-slide-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--global-palette1, #2B6CB0);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 8px 20px rgba(43, 108, 176, .25);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.homepage-featured-swiper .featured-slide-button::after { content: "→"; }
[dir="rtl"] .homepage-featured-swiper .featured-slide-button::after { content: "←"; }

.homepage-featured-swiper .featured-slide-button:hover,
.homepage-featured-swiper .featured-slide-button:focus-visible {
  background: var(--global-palette2, #215387);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(43, 108, 176, .3);
}

/* Arrows: white circles instead of default blue chevrons */
.homepage-featured-swiper .swiper-button-next,
.homepage-featured-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--global-palette3, #1A202C);
  box-shadow: 0 4px 14px rgba(26, 32, 44, .12);
  transition: background .2s, color .2s;
}
.homepage-featured-swiper .swiper-button-next::after,
.homepage-featured-swiper .swiper-button-prev::after {
  font-size: 15px;
  font-weight: 700;
}
.homepage-featured-swiper .swiper-button-next:hover,
.homepage-featured-swiper .swiper-button-prev:hover {
  background: var(--global-palette1, #2B6CB0);
  color: #fff;
}

/* Pagination: pill-shaped active dot */
.homepage-featured-swiper .swiper-pagination {
  bottom: 18px !important;
}
.homepage-featured-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--global-palette6, #718096);
  opacity: .35;
  transition: width .3s, opacity .3s;
}
.homepage-featured-swiper .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 4px;
  background: var(--global-palette1, #2B6CB0);
  opacity: 1;
}

/* Tablet */
@media (max-width: 1024px) {
  .homepage-featured-swiper .featured-slide-inner {
    padding-inline: 64px calc(50% + 8px);
  }
}

/* Mobile: photo on top, text underneath */
@media (max-width: 768px) {
  .homepage-featured-swiper {
    height: auto;
    border-radius: 16px;
  }
  .homepage-featured-swiper .swiper-wrapper,
  .homepage-featured-swiper .featured-product-slide {
    height: auto;
  }
  .homepage-featured-swiper .featured-product-slide::before {
    inset: 20px 20px auto 20px;
    height: 240px;
  }
  .homepage-featured-swiper .featured-product-slide::after {
    inset: auto;
    top: 140px;
    left: 50%;
    width: 260px;
    transform: translate(-50%, -50%);
  }
  .homepage-featured-swiper .featured-slide-inner {
    height: auto;
    min-height: 100%;
    justify-content: flex-start;
    padding: 280px 24px 52px;
  }
  .homepage-featured-swiper .featured-slide-text {
    max-width: none;
  }
  .homepage-featured-swiper .featured-slide-text::before {
    margin-bottom: 14px;
  }
  .homepage-featured-swiper .featured-slide-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .homepage-featured-swiper .featured-description {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }
  .homepage-featured-swiper .featured-slide-footer {
    padding: 20px 0 0;
  }
  .homepage-featured-swiper .featured-slide-button {
    width: 100%;
    justify-content: center;
  }
  /* Swipe + dots are enough on phones; arrows were covering the text */
  .homepage-featured-swiper .swiper-button-next,
  .homepage-featured-swiper .swiper-button-prev {
    display: none;
  }
}


/* ==========================================================================
   Clickable brand cards — subtle hover lift, background image unchanged
   ========================================================================== */

.clickable-brand-row {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}


/* ==========================================================================
   Color-family swatches + out-of-stock "notify me" request form
   Added by functions.php (si_render_color_swatches, si_render_variant_request_form).
   !important is used only on the handful of structural properties (display,
   sizing, list-style) that decide whether a swatch is visible/clickable at
   all — Kadence's own theme CSS targets bare <ul>/<li>/<a> elements inside
   the product summary with selectors that carry the same or higher
   specificity than a single class, and can otherwise silently zero out the
   swatch's size or restore list bullets.
   ========================================================================== */
.si-color-swatches { margin: 1em 0; }
.si-color-swatches__list {
	display: flex !important;
	gap: 0.6em;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	flex-wrap: wrap;
}
.si-color-swatches__item { list-style: none !important; }
.si-color-swatches__item a { display: inline-block !important; line-height: 0; }
.si-color-swatches__swatch {
	display: inline-block !important;
	width: 100px !important;
	height: 100px !important;
	border-radius: 4px; /* change to 4px for a square swatch or 50% for circle*/
	background-size: cover !important;
	background-position: center;
	border: 1px solid #ccc;
	box-sizing: border-box;
}
.si-color-swatches__item--active .si-color-swatches__swatch {
	border: 2px solid #000;
}
.si-variant-request {
	margin: 1em 0;
	padding: 1em;
	border: 1px solid #d9c9a3;
	background: #fbf7ee;
	border-radius: 4px;
}
.si-variant-request__heading { font-weight: 600; margin: 0 0 .5em; }
.si-variant-request__size { margin: 0 0 .75em; }
.si-variant-request__form p { margin: 0 0 .6em; }
.si-variant-request__form label { display: block; font-size: .9em; margin-bottom: .3em; }
.si-variant-request__form input[type="text"] {
	width: 100%;
	max-width: 320px;
	padding: .5em .6em;
	box-sizing: border-box;
}
.si-variant-request__status { font-size: .9em; min-height: 1.2em; }



/* =========================================================
   Homepage sections — redesign (brand cards, categories,
   spacing, trust icons)
   Paste into Appearance → Customize → Additional CSS
   (below the featured-slider CSS).
   Selectors start with .home so other pages are not affected.
   ========================================================= */

/* ---------- Shared section title ---------- */
/* For the brands heading: add a Heading block above the brand cards
   and give it the CSS class "section-title" (Block → Advanced). */
.home .section-title,
.home .cg-wrap .cg-heading h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--global-palette3, #1A202C);
  text-align: center;
  margin: 0 0 32px;
}
.home .section-title::after,
.home .cg-wrap .cg-heading h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--global-palette1, #2B6CB0);
  margin: 12px auto 0;
}
.home .cg-wrap .cg-heading {
  margin-bottom: 0;
}

/* ---------- 3. Even spacing + same width for every section ---------- */
.home .entry-content > .wp-block-spacer {
  height: 0 !important;
}
.home .entry-content > .wp-block-spacer:first-child {
  height: 32px !important;
}
.home .entry-content > p:empty {
  display: none;
}
.home .entry-content > .section-title,
.home .entry-content > .kb-row-layout-wrap,
.home .entry-content > .cg-wrap,
.home .entry-content > .tr-wrap,
.home .entry-content > .store-wrap {
  margin-top: 80px;
  margin-bottom: 0;
}
.home .entry-content > .section-title + .kb-row-layout-wrap {
  margin-top: 0;
}
.home .entry-content > .store-wrap {
  margin-bottom: 80px;
}
.home .cg-wrap,
.home .tr-wrap,
.home .store-wrap {
  max-width: none;
  padding-inline: 0;
}
.home .wp-block-columns:has(.clickable-brand-row) {
  margin-bottom: 0;
}
.home .entry-content > .kb-row-layout-wrap > .kt-row-column-wrap {
  padding-bottom: 0;
}

/* ---------- 1. Brand cards ---------- */
/* Same height for both cards, button lined up at the bottom */
.home .wp-block-column:has(> .clickable-brand-row) {
  display: flex;
  flex-direction: column;
}
.home .clickable-brand-row,
.home .clickable-brand-row > .kt-inside-inner-col {
  flex: 1;
}
.home .clickable-brand-row .wp-block-buttons {
  margin-top: auto;
}

.home .clickable-brand-row > .kt-inside-inner-col,
.home .clickable-brand-row:hover > .kt-inside-inner-col {
  background-image: none !important;   /* removes the hover photo behind the text */
  background-color: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 36px 32px !important;
  row-gap: 24px !important;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.home .clickable-brand-row > .kt-inside-inner-col {
  box-shadow: 0 4px 20px rgba(26, 32, 44, .06) !important;
}
.home .clickable-brand-row:hover > .kt-inside-inner-col {
  transform: translateY(-4px);
  border-color: rgba(43, 108, 176, .35) !important;
  box-shadow: 0 16px 40px rgba(26, 32, 44, .12) !important;
}
.home .clickable-brand-row > .kt-inside-inner-col::before {
  background: none !important;
}

/* Remove the fixed 383px height that caused the empty gap */
.home .clickable-brand-row .kt-row-column-wrap {
  min-height: 0 !important;
  padding: 0 !important;
  row-gap: 20px !important;
}

.home .clickable-brand-row img {
  height: 48px;
  width: auto;
}

.home .clickable-brand-row p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--global-palette5, #4A5568);
  margin: 0;
}
.home .clickable-brand-row p strong {
  font-weight: 400;   /* the whole text was bold */
}

.home .clickable-brand-row .wp-block-buttons {
  justify-content: flex-start !important;
}
.home .clickable-brand-row .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  background: var(--global-palette1, #2B6CB0);
  color: #fff;
  box-shadow: 0 8px 20px rgba(43, 108, 176, .25);
  transition: background .2s;
}
.home .clickable-brand-row .wp-block-button__link::after { content: "→"; }
[dir="rtl"] .home .clickable-brand-row .wp-block-button__link::after { content: "←"; }
.home .clickable-brand-row:hover .wp-block-button__link {
  background: var(--global-palette2, #215387);
}

/* ---------- 2. Category grid ---------- */
.home .cg-wrap .cg-grid {
  grid-template-columns: repeat(3, 1fr);   /* 6 categories → 3 + 3, no empty slots */
  gap: 20px;
}
.home .cg-wrap .cg-card {
  height: auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26, 32, 44, .06);
  color: var(--global-palette3, #1A202C);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.home .cg-wrap .cg-card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 108, 176, .35);
  box-shadow: 0 16px 40px rgba(26, 32, 44, .12);
}
.home .cg-wrap .cg-image {
  position: relative;
  inset: auto;
  aspect-ratio: 4 / 3;
  margin: 12px 12px 0;
  border-radius: 12px;
  background-color: #F1F5F9;
  background-size: auto 80%;          /* whole product visible, no crop */
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: multiply;    /* white photo backgrounds blend in */
  transition: background-size .35s;
}
.home .cg-wrap .cg-card:hover .cg-image {
  transform: none;
  background-size: auto 88%;
}
.home .cg-wrap .cg-fold {
  display: none;                      /* the dark overlay */
}
.home .cg-wrap .cg-content {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 18px;
  text-align: start;
}
.home .cg-wrap .cg-title {
  margin: 0;
  font-size: 17px;
  color: var(--global-palette3, #1A202C);
}
.home .cg-wrap .cg-arrow {
  flex-shrink: 0;
  color: var(--global-palette1, #2B6CB0);
  font-size: 14px;
  font-weight: 600;
  opacity: 1;
}
[dir="rtl"] .home .cg-wrap .cg-arrow svg {
  transform: scaleX(-1);              /* arrow points left in Arabic */
}

/* ---------- 4. Trust row: matching icons ---------- */
.home .tr-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px 24px;
  box-shadow: 0 4px 20px rgba(26, 32, 44, .06);
}
.home .tr-wrap .tr-grid {
  gap: 24px;
}
.home .tr-wrap .tr-item {
  padding: 0 12px;
}
.home .tr-wrap .tr-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(43, 108, 176, .1);
  font-size: 0;
  line-height: 0;
}
.home .tr-wrap .tr-icon img.emoji {
  display: none !important;
}
.home .tr-wrap .tr-icon::before {
  content: "";
  position: absolute;
  inset: 18px;
  background: var(--global-palette1, #2B6CB0);
  -webkit-mask: var(--tr-icon) center / contain no-repeat;
  mask: var(--tr-icon) center / contain no-repeat;
}
/* Shield with check — منتجات معتمدة */
.home .tr-wrap .tr-item:nth-child(1) .tr-icon {
  --tr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}
/* Stethoscope — دعم فني متخصص */
.home .tr-wrap .tr-item:nth-child(2) .tr-icon {
  --tr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 2v2'/%3E%3Cpath d='M5 2v2'/%3E%3Cpath d='M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1'/%3E%3Cpath d='M8 15a6 6 0 0 0 12 0v-3'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/svg%3E");
}
/* Award medal — ماركات ألمانية وعالمية أصلية */
.home .tr-wrap .tr-item:nth-child(3) .tr-icon {
  --tr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526'/%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3C/svg%3E");
}
/* Lock — تسوق آمن وموثوق */
.home .tr-wrap .tr-item:nth-child(4) .tr-icon {
  --tr-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}
.home .tr-wrap .tr-item h3 {
  font-size: 17px;
  color: var(--global-palette3, #1A202C);
}
.home .tr-wrap .tr-item p {
  color: var(--global-palette5, #4A5568);
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .home .entry-content > .section-title,
  .home .entry-content > .kb-row-layout-wrap,
  .home .entry-content > .cg-wrap,
  .home .entry-content > .tr-wrap,
  .home .entry-content > .store-wrap {
    margin-top: 56px;
  }
  .home .entry-content > .store-wrap {
    margin-bottom: 56px;
  }
  .home .clickable-brand-row > .kt-inside-inner-col,
  .home .clickable-brand-row:hover > .kt-inside-inner-col {
    padding: 28px 22px !important;
  }
  .home .cg-wrap .cg-grid {
    grid-template-columns: repeat(2, 1fr);   /* 2 per row instead of 1 */
    gap: 12px;
  }
  .home .cg-wrap .cg-image {
    margin: 8px 8px 0;
    aspect-ratio: 1;
  }
  .home .cg-wrap .cg-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px 14px;
  }
  .home .cg-wrap .cg-title {
    font-size: 15px;
  }
  .home .cg-wrap .cg-arrow {
    font-size: 13px;
  }
  .home .tr-wrap {
    padding: 28px 16px;
  }
  .home .tr-wrap .tr-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
  }
  .home .tr-wrap .tr-item {
    padding: 0;
  }
  .home .tr-wrap .tr-item h3 {
    font-size: 15px;
  }
  .home .tr-wrap .tr-item p {
    font-size: 13px;
  }
}
