/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/


/* Hide default page title on homepage */
body.home h1.entry-title,
body.home .h-landmark.entry-title {
  display: none !important;
}

/* Social icons styling */
.x-social-global a {
  font-size: 24px !important;
  width: 40px;
  height: 40px;
  display: inline-block !important;
  text-align: center;
  line-height: 40px;
  border-radius: 4px;
  margin: 5px 3px;
  background: #f5f5f5;
  color: #272727;
}
.x-social-global a:hover {
  background: #272727;
  color: #fff;
}
[data-x-icon-b]::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  content: attr(data-x-icon-b);
}
[data-x-icon-s]::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  content: attr(data-x-icon-s);
}

/* Force hide homepage title - override X theme */
body.home #top .x-main .entry-wrap header.entry-header h1.entry-title,
body.home #top .x-main .h-landmark.entry-title {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* ===== Font Awesome 6 Pro - loaded from Cornerstone ===== */
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(https://jasdeepsingh.net/wp-content/plugins/cornerstone/assets/fonts/fa-brands-400.woff2) format("woff2"),
       url(https://jasdeepsingh.net/wp-content/plugins/cornerstone/assets/fonts/fa-brands-400.ttf) format("truetype");
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url(https://jasdeepsingh.net/wp-content/plugins/cornerstone/assets/fonts/fa-solid-900.woff2) format("woff2"),
       url(https://jasdeepsingh.net/wp-content/plugins/cornerstone/assets/fonts/fa-solid-900.ttf) format("truetype");
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(https://jasdeepsingh.net/wp-content/plugins/cornerstone/assets/fonts/fa-regular-400.woff2) format("woff2"),
       url(https://jasdeepsingh.net/wp-content/plugins/cornerstone/assets/fonts/fa-regular-400.ttf) format("truetype");
}

/* Social icons style */
.x-social-global a {
  font-size: 21px !important;
  width: 36px;
  height: 36px;
  display: inline-block !important;
  line-height: 36px;
  text-align: center;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s;
}
.x-topbar .x-social-global a,
.x-colophon.bottom .x-social-global a {
  color: #ffffff !important;
}
.x-topbar .x-social-global a:hover {
  background: rgba(255,255,255,0.2);
  color: #f1c40f !important;
}
.x-colophon.bottom .x-social-global a:hover {
  background: rgba(255,255,255,0.2);
  color: #f1c40f !important;
}

/* Icon rendering - data attribute based */
[data-x-icon-b]::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  content: attr(data-x-icon-b);
  speak: never;
}
[data-x-icon-s]::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  content: attr(data-x-icon-s);
  speak: never;
}
