/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 01 2026 | 06:46:45 */
/* ==========================================================
   Custom Guitar Atelier — Homepage Latest News
   Flatsome blog-slider enhancement

   Add as a separate CSS snippet:
   - Where on page: Header
   - Where in site: Frontend
   ========================================================== */

/* Section heading */
body.home.page-id-100
  .section-title-container:has(+ .row .post-item) {
  margin-bottom: clamp(24px, 3.5vw, 38px);
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  .section-title {
  justify-content: center;
  margin: 0;
  border: 0;
  color: #211915;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  .section-title
  b {
  display: none;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  .section-title
  span {
  position: relative;
  margin: 0;
  padding: 0 0 14px;
  border: 0;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  .section-title
  span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a8752d, #d6b271);
  transform: translateX(-50%);
}

/* Latest News slider */
body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row {
  --cga-blog-ink: #211915;
  --cga-blog-brown: #3a2a21;
  --cga-blog-gold: #a8752d;
  --cga-blog-gold-light: #d6b271;
  --cga-blog-muted: #6f655d;
  --cga-blog-border: #e8dfd3;
  --cga-blog-paper: #ffffff;

  padding-bottom: 18px;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .post-item {
  display: flex;
  padding-right: 10px;
  padding-left: 10px;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .post-item
  > .col-inner {
  display: flex;
  width: 100%;
}

/* Cohesive editorial card */
body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .box-blog-post {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(214, 178, 113, 0.12),
      transparent 30%
    ),
    var(--cga-blog-paper);
  border: 1px solid var(--cga-blog-border);
  border-radius: 15px;
  box-shadow:
    0 10px 26px rgba(43, 31, 22, 0.07),
    0 2px 6px rgba(43, 31, 22, 0.035);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .box-blog-post:hover {
  border-color: rgba(168, 117, 45, 0.5);
  box-shadow:
    0 15px 34px rgba(43, 31, 22, 0.1),
    0 3px 8px rgba(43, 31, 22, 0.045);
  transform: translateY(-3px);
}

/* Consistent image treatment */
body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .box-image {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  overflow: hidden;
  background: #211915;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .box-image
  .image-cover {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 64% !important;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .box-image
  .image-cover
  > a {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .box-image
  .image-cover
  img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .box-image
  img {
  transition:
    transform 0.5s ease,
    opacity 0.35s ease;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .box-blog-post:hover
  .box-image
  img {
  opacity: 0.93;
  transform: scale(1.035);
}

/* Compact date badge */
body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .post-date {
  top: 13px;
  left: 13px;
  width: auto;
  height: auto;
  margin: 0;
  pointer-events: none;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .post-date
  .badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 50px;
  padding: 7px 9px;
  color: #ffffff;
  background: rgba(33, 25, 21, 0.93);
  border: 1px solid rgba(214, 178, 113, 0.72);
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(20, 14, 10, 0.22);
  line-height: 1;
  backdrop-filter: blur(4px);
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .post-date
  .badge-inner
  br {
  display: none;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .post-date-day {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .post-date-month {
  margin-top: -2px;
  color: var(--cga-blog-gold-light);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Card copy */
body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .box-text {
  display: flex;
  flex: 1;
  padding: 20px 18px 22px;
  text-align: left !important;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .blog-post-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .post-title {
  display: -webkit-box;
  min-height: 5.4em;
  margin: 0;
  overflow: hidden;
  color: var(--cga-blog-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.012em;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .post-title
  a {
  color: inherit;
  transition: color 0.2s ease;
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .box-blog-post:hover
  .post-title
  a {
  color: var(--cga-blog-gold);
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .blog-post-inner
  .is-divider {
  width: 42px;
  height: 2px;
  margin: 14px 0;
  background: linear-gradient(
    90deg,
    var(--cga-blog-gold),
    var(--cga-blog-gold-light)
  );
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .from_the_blog_excerpt {
  display: -webkit-box;
  min-height: 4.8em;
  margin: 0;
  overflow: hidden;
  color: var(--cga-blog-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Slider arrows */
body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .flickity-prev-next-button {
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: rgba(33, 25, 21, 0.92);
  border: 1px solid rgba(214, 178, 113, 0.62);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(20, 14, 10, 0.18);
}

body.home.page-id-100
  .section-title-container:has(+ .row .post-item)
  + .row
  .flickity-prev-next-button:hover {
  color: #ffffff;
  background: var(--cga-blog-gold);
}

@media (max-width: 849px) {
  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .post-item {
    padding-right: 9px;
    padding-left: 9px;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .post-title {
    font-size: 16px;
  }
}

@media (max-width: 549px) {
  body.home.page-id-100
    .section-title-container:has(+ .row .post-item) {
    margin-bottom: 22px;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    .section-title {
    font-size: 28px;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .post-item {
    padding-right: 15px;
    padding-left: 15px;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .box-blog-post {
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 13px;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .box-image
    .image-cover {
    padding-top: 60% !important;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .box-text {
    padding: 18px 17px 20px;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .post-title {
    min-height: 0;
    font-size: 18px;
    -webkit-line-clamp: 3;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .from_the_blog_excerpt {
    min-height: 0;
    font-size: 14px;
  }

  /*
   * Flatsome gives row-slider arrows a transparent background and a
   * 20px width with !important. Override those mobile defaults so the
   * controls remain visible, comfortably tappable, and centered over
   * the card image.
   */
  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .flickity-prev-next-button {
    top: calc(30vw - 14px) !important;
    width: 44px !important;
    height: 44px !important;
    color: #ffffff !important;
    background-color: rgba(33, 25, 21, 0.92) !important;
    border: 1px solid rgba(214, 178, 113, 0.78);
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(20, 14, 10, 0.24);
    opacity: 1 !important;
    transform: translateY(-50%) !important;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .flickity-prev-next-button.previous {
    left: 24px !important;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .flickity-prev-next-button.next {
    right: 24px !important;
  }

  /*
   * Flatsome's slider-nav-push preset pulls the SVG icon 40px upward.
   * Reset it so the chevron stays centered inside its circular button.
   */
  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .flickity-prev-next-button
    svg {
    margin-top: 0 !important;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .flickity-prev-next-button:hover,
  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .flickity-prev-next-button:focus-visible,
  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .flickity-prev-next-button:active {
    background-color: var(--cga-blog-gold) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .box-blog-post,
  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .box-image
    img {
    transition: none;
  }

  body.home.page-id-100
    .section-title-container:has(+ .row .post-item)
    + .row
    .box-blog-post:hover {
    transform: none;
  }
}
