/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

body {
  font-family: 'NTSomic', sans-serif;
}
p{
  font-family: 'NTSomic'!important;  
	font-weight: 400;
}
h1, h2, h3, h4, h5, h6{
    font-family: 'NTSomic'!important; 
	font-weight: 700;
}
button, a{
	font-family: 'NTSomic'!important; 
}
.ct-header-cta [data-size=large]{
	font-family: 'NTSomic'!important; 
	font-weight: 700;
}
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a{
	font-family: 'NTSomic'!important; 
	font-weight: 500;
}
.mobile-menu .ct-menu-link{
	font-family: 'NTSomic'!important; 
	font-weight: 700;
}
.faq-question{
	font-family: 'NTSomic'!important; 
}
.faq-answer{
	font-family: 'NTSomic'!important; 
}
.ct-header-cta{
	
}
@font-face {
  font-family: 'NTSomic';
  src: url('NTSomicFont/Webfonts/NTSomic-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'NTSomic';
  src: url('NTSomicFont/Webfonts/NTSomic-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'NTSomic';
  src: url('NTSomicFont/Webfonts/NTSomic-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
.template-filter-btn {
    padding: 10px 20px;
    background: white;
    border-radius: 167px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.template-filter-btn:hover {
    background-color: #f6f7f5;
    transform: translateY(-2px);
}

.template-card {
    background: #fff;
    width: 333px;
	flex: 0 0 auto;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
/*     box-shadow: 0 6px 18px rgba(0,0,0,0.06); */
    transition: transform 0.3s ease;
}
.template-card:hover {
    transform: translateY(-5px);
}
.template-card-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.template-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.template-paid-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f8fafc;
    border: 1px solid #E2E8F0;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 13px;
    color: #4F46E5;
}
.template-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}
.template-card:hover .template-buttons {
    transform: translateY(0);
    opacity: 1;
}
.template-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 13px;
    text-decoration: none;
    color: #333;
}
.template-btn.primary {
    background: #8366ff;
    color: #fff;
    border: none;
}
.template-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1E293B;
    padding: 16px;
    margin: 0;
}
#templates-container {
	display: flex;
	flex-direction:row;
	overflow-x: auto;
	 gap: 16px;
 
	scroll-behavior: smooth;
}
#templates-container {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}
#templates-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.template-card-img{
	background-color: #f6f7f5;
}


/* === Templates Grid Container === */
.my-templates-container {
  max-width: 1340px;
  margin: 100px auto;

}

.my-templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* === Card === */
.my-template-card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0px 20px 80px rgba(193, 199, 212, 0.25);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.my-template-card:hover {
  box-shadow: 0px 20px 80px rgba(193, 199, 212, 0.25);
}

/* === Image === */
.my-template-card__image-wrapper {
  position: relative;
	height: 180px; /* or any height that fits your design */
  overflow: hidden;
}

.my-template-card__image {
  display: block;
  width: 100%;
   height: 100% !important;
  object-fit: cover !important;
}

/* === Badge === */
.my-template-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #007BFF;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 14px;
}

.my-template-card__badge--free {
  background: #28A745; /* green for free */
}

/* === Body === */
.my-template-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.my-template-card__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.my-template-card__title a {
  text-decoration: none;
  color: #111;
}

.my-template-card__title a:hover {
  color: #007BFF;
}

.my-template-card__excerpt {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* === Footer === */
.my-template-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.my-template-card__author {
  font-size: 12px;
  color: #777;
}

.my-template-card__author a {
  text-decoration: none;
  color: #007BFF;
}

.my-template-card__button {
  background: #111;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 24px;
  transition: background 0.3s ease;
}

.my-template-card__button:hover {
  background: #333;
}
