/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/* Simple, reliable responsive 4-column grid */
.sca-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 830px;
}


/* Footer Column container */
.sca-col {
  min-width: 0;
}

.sca-heading {
  font-size: 1rem;
  margin: 0 0 10px 0;
  font-weight: 600;
  color: inherit;
}

.sca-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sca-list li {
  margin: 6px 0;
}

.sca-list a {
  text-decoration: none;
  color: inherit;
}
.sca-list a:hover {
  text-decoration: underline;
}

/* Responsive breakpoints */
@media (max-width: 980px) {
  .sca-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .sca-grid {
    grid-template-columns: 1fr;
  }
  .sca-heading {
    margin-top: 8px;
  }
}

.ct-footer {
  padding-left: 25px!important;
  padding-right: 25px!important;
}

.wp-block-button__link {
  white-space: nowrap;
}

.sca-modal {
	display: none;
}
/* Base button styling */
.btn {
    display: inline-block;
    padding: 0.55rem 1.2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    line-height: 1.2;
}

/* Primary Button (solid blue) */
.btn-primary {
    background: #2470BE;
    color: #fff;
    border: 2px solid #2470BE;
}

.btn-primary:hover {
    background: #1d5a98; /* slightly darker blue */
    border-color: #1d5a98;
}

/* Outline Button (white) */
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #2470BE;
}

/* News category */
.category-7 #main {
  max-width: 900px;
  margin: 0 auto;
}

/* Promotions page */
.page-id-110 {
  background: #16263C;
}
.page-id-110 #main {
  max-width: 1020px;
  margin: 40px auto;
}

.sca-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.sca-modal.open {
    display: block;
}

.sca-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.sca-modal-box {
    position: relative;
    max-width: 800px;
    max-height: 90vh;
    overflow: scroll;
    margin: 5% auto;
    background: #1E1E1E;
    padding: 20px;
    border-radius: 6px;
    z-index: 10000;
}

.sca-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.sca-featured {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-item {
    flex: 0 1 30%;
    box-sizing: border-box;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Fade + scale out */
.flex-item.is-hiding {
    opacity: 0;
    transform: scale(0.8);
}

.flex-item img {
    border-radius: 10px;
}

/* Media query for smaller screens (e.g., mobile) */
@media (max-width: 768px) {
    .flex-item {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }
}

.sca-btn {
    font-size: 16px;
    line-height: 19px;
    font-weight: 600;
    color: #E2EBFF;
    text-transform: capitalize;
    display: inline-block;
    background: #00A12E;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all .4s;
    margin-right: 15px;
    margin-bottom: 15px;

}

.sca-btn:hover {
    color: #c0c0c0;
    background: #006d1f;
}

.sca-btn.sca-expired {
    background: rgb(192, 0, 0);
}

.sca-title {
    width: 100%;
    font-size: 20px;
    line-height: 25px;
    color: #FFF;
    font-weight: 600;
    margin: 10px 0 15px !important;
}

.sca-cta-btn {
    height: 60px;
    display: block;
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    padding: 20px;
    border-radius: 16px;
    margin: 15px 0;
    cursor: pointer;
    color: #fff;
    background: #2371C5;
    transition: all .4;
    text-align: center;
}

.sca-cta-btn:hover {
    background: #2166B1;
    color: #fff;
}

.force-new-row {
	margin-top: 45px;
	margin-bottom: 45px;
}
