/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* =============================================
   BOXED LAYOUT - horizontal centering
   ============================================= */

body.brx-boxed {
    margin-left: auto;
    margin-right: auto;
}
/*  boxed layout end --------------------------------------------------*/


/* =============================================
   VISIBILITY HELPERS — HIDE MOBILE / HIDE DESKTOP
   ============================================= */

/* Default (mobile-first): hide the desktop-only element */
.hide_mobile {
  display: none !important;
}
.hide_desktop {
  display: inline;
}

/* At 1126px and above: swap visibility */
@media (min-width: 1126px) {
  .hide_mobile {
    display: inline !important;
  }
  .hide_desktop {
    display: none !important;
  }
}

/* end */


/* =============================================
   FEATURED POST IMAGES
   ============================================= */

/* Centre the focal point of featured post images */
.bricks-layout-wrapper .image {
  object-position: center !important;
}

/* end */


/* =============================================
   HIGHLIGHT COLOUR
   ============================================= */

/* Override the browser's default blue text selection colour */
::selection {
  background: #E50026;
  color: #ffffff;
}

/* Firefox fallback */
::-moz-selection {
  background: #E50026;
  color: #ffffff;
}

/* end */


/* =============================================
   POST GRID — GUTTER
   ============================================= */

/* Tighten the column gap on the main post grid */
#brxe-uoshfd .bricks-layout-wrapper {
  --gutter: 20px !important;
  --columns: 1;
}

/* end */


/* =============================================
   TYPOGRAPHY — BOLD ITALIC SPAN
   ============================================= */

/* Applies the Ivar Display italic style to inline spans
   used for editorial emphasis within headings and body copy */
span.font_bold-italic {
  font-family: "Ivar Display" !important;
  font-weight: 400 !important;
  font-style: italic !important;
}

/* end */


/* =============================================
   READ MORE BUTTON — TRANSITION
   ============================================= */

/* Smooth colour and background transition on dynamic buttons */
div.dynamic {
  transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
}

/* end */


/* =============================================
   REPEATER ITEMS — IMAGE HOVER ANIMATION
   ============================================= */

/* Clip the wrapper so the zoomed image stays within bounds */
.repeater-item .image-wrapper {
  clip-path: inset(0);
}

/* Slow luxury zoom on hover */
.repeater-item .image-wrapper img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 4s ease;
}

.repeater-item:hover .image-wrapper img {
  transform: scale(1.08);
}

/* end */


/* =============================================
   REPEATER ITEMS — TEXT HOVER ANIMATION
   ============================================= */

/* Fade headings to grey on card hover */
.repeater-item h2,
.repeater-item h3 {
  transition: color 0.8s ease;
}

.repeater-item:hover h2,
.repeater-item:hover h3 {
  color: #707070 !important;
}

/* end */


/* Footer Google Adsense Privacy and cookie settings styles */

.ipr-container {
    background: #000 !important;
    border: 1px solid black !important;
    color: #fff !important;
}

/* Footer Google Adsense Privacy and cookie settings styles END ----------------------- */