/*
* Description: Custom CSS Additions Go Here
* Template: twentyseventeen
* Version: 1.0
* Author: VDS
*/

/* vars vars vars vars vars vars vars vars vars vars vars vars vars vars  */

:root {

/* These vars do not require values as they get set automatically in options-page-stylesheet.php
 * They are mainly here so they show up as autocomplete suggestions in code editors if desired.
*/

/*--accent1:;
--accent2:;
--accent3:;
--light1:;
--light2:;
--light3:;
--dark1:;
--dark2:;
--dark3:;
--uihover:;*/

/* font family vars */
/*--bodyfont:;*/
/*--headingfont:;*/
/* 	--DunbarMed: 'DunbarTall-Medium', sans-serif; */
--MontEB: 'Montserrat-ExtraBold', sans-serif;
--MontBlk: 'Montserrat-Black', sans-serif;
/* 	--MontReg: 'Montserrat-Regular', sans-serif; */
/* 	--MontB: 'Montserrat-Bold', sans-serif; */

}

/* /vars /vars /vars /vars /vars /vars /vars /vars /vars /vars /vars  */

/* General */

header#header,
footer#footer {
	display: none !important;
}
.row.copyright {
    background: var(--light3);
}
.copyright-text,
#copyright-p {
    color: var(--dark3);
}
.mid-cta h2,
body #content .mid-cta p {
    color: var(--light1);
}
body .wpb_row[class*="light"] h2,
body .wpb_row[class^="light"] h2,
body .wpb_row[class*="light"] h3,
body .wpb_row[class^="light"] h3 {
    color: var(--accent2);
}
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: var(--MontEB);
}
.wpb_row:not(.cta-row) h2 {
    margin-bottom: 18px;
}
.cta-row h2 {
    font-size: 32px;
}
.bakery .wpb_row.cta-row {
    padding: 24px 0;
}
pre {
    margin: 0 auto !important;
    padding: 8px !important;
    color: var(--light1);
    background: #111;
    font-size: 16px;
    width: 50%;
}
.mid-cta a.btn-bt {
    margin-top: 16px;
}

/* /General */

.default-header h1 {
    text-shadow: 0px 0px 50px rgba(0, 0, 0, 0.50) !important;
    background: rgba(255, 255, 255, 0.50);
    text-transform: none !important;
    padding: 24px 40px 36px 40px;
    font-size: 48px !important;
    flex-direction: column;
    border-radius: 24px;
    text-align: center;
    line-height: 1;
    display: flex;
}
.default-header h1 span {
    font-family: var(--MontEB);
    margin-top: 28px;
    font-size: 60px;
    ;
}

/* Signature Designs Shuffle.js Grid */

/* ------------------------------
   FILTER BUTTONS
-------------------------------- */
.sig-design-filters {
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    display: flex;
    gap: 8px;
	display: none;
}
.sig-design-filters button {
    transition: background 0.2s, color 0.2s;
    background: var(--accent2);
    color: var(--light1);
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    border: none;
}
.sig-design-filters button.active,
.sig-design-filters button:hover {
    background: var(--accent1);
}

/* ------------------------------
   GRID CONTAINER
-------------------------------- */
.sig-designs-grid {
    transition: height 0.3s ease;
    overflow: visible !important;
    flex-wrap: wrap;
    display: flex;
    gap: 24px;
}

/* ------------------------------
   GRID ITEMS
-------------------------------- */
.sig-design-item {
    transition: transform 0.4s ease, opacity 0.4s ease;
    width: calc((100% - 72px) / 3); /* 3 items, 24px total gap each → 24*3=72 */
    box-sizing: border-box;
    transform: scale(1);
    cursor: pointer;
    margin: 12px;                  /* 12px = 24px gap per item */
    opacity: 1;
}
.sig-design-item.shuffle-hidden {
    transform: scale(0.9) !important;
    opacity: 0 !important;
    pointer-events: none;
}
/* Card inner wrapper */
.sig-design-inner {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    will-change: transform, box-shadow;
    flex-direction: column;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    display: flex;
}
/* Hover lift + shadow */
.sig-design-item:hover .sig-design-inner {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
}
/* Featured image */
.sig-design-image img {
    transition: transform 0.3s ease;
    display: block;
    height: auto;
    width: 100%;
}
/* Image zoom on hover */
.sig-design-item:hover .sig-design-image img {
    transform: scale(1.05);
}
/* Card content */
.sig-design-content {
    flex-direction: column;
    padding: 16px;
    display: flex;
}
.sig-design-content h3 {
    background: var(--accent2);
    text-transform: uppercase;
    color: var(--light1);
    letter-spacing: 2px;
    margin-bottom: 8px;
    border-radius: 6px;
    text-align: center;
    font-size: 20px;
    line-height: 1;
    margin-top: 0;
    padding: 4px;
}
.sig-design-content p {
    margin-bottom: 12px !important;
    text-align: center;
    line-height: 1.3;
    font-size: 14px;
}
.sig-desc {
    justify-content: center;
    align-items: center;
    min-height: 60px;
    display: flex;
}
.sig-btn {
    border-radius: 5px !important;
    font-size: 12px !important;
    padding: 5px !important;
    margin: 0 auto;
    width: 50%;
}
/* Gallery thumbnails (merged for Shuffle + lightbox) */
.sig-design-gallery .gallery-items {
    padding: 10px 16px 16px 16px;
    flex-wrap: nowrap;       /* force one line */
    overflow-x: auto;        /* allow horizontal scroll on small screens */
    display: flex;
    gap: 6px;                /* your custom gap */
}
.sig-design-gallery p {
    margin-bottom: 0 !important;
    font-size: 10px;
    padding: 0 16px;
    line-height: 1;
}
.sig-design-gallery a {
    flex: 1 0 calc((100% / 3) - 4px);  /* 3 thumbnails per row, minus gap */
    max-height: 62.23px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    display: block;
}
/* Enforce aspect ratio (e.g., 16:9) */
.sig-design-gallery a::before {
    padding-top: 56.25%; /* 16:9 ratio = 9/16*100 */
    display: block;
    content: "";
}
/* Thumbnail image fills container */
.sig-design-gallery a img {
    transition: transform 0.3s ease;
    object-position: top;
    border-radius: 6px;
    position: absolute;
    object-fit: cover;     /* keeps the full screenshot proportional */
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}
.sig-design-gallery a:hover img {
    transform: scale(1.05); /* subtle zoom */
}

/* ------------------------------
   RESPONSIVE
-------------------------------- */
@media (max-width: 979px) {
    .sig-design-item {
        width: calc((100% - 36px)/2); /* 2 items per row, 18px margin each side */
        margin: 12px;
    }
}

@media (max-width: 480px) {
    .sig-design-item {
        margin: 12px 0;
        width: 100%;
    }
}

/* END Signature Designs Shuffle.js Grid */

/* Top Anchor + Recaptcha */

a.topbutton {
    background-color: var(--accent1);
    transition: all 0.3s ease-in-out;
    border: 2px solid var(--light1);
    text-decoration: none;
    border-radius: 7px;
    bottom: 148px;
    right: 10px;
}
a.topbutton:hover {
	border-color: var(--accent2);
}
a.topbutton i.icon-angle-up {
	justify-content: center;
	align-items: center;
	display: flex;
}
a.topbutton i.icon-angle-up:before {
	transition: all 0.3s ease-in-out;
    margin: 0 !important;
    color: var(--light1);
    position: relative;
    font-size: 48px;
    line-height: 1;
    top: -4.5px;
}
a.topbutton:hover i:before {
	transition: all 0.3s ease-in-out;
	color: var(--accent2);
}
div.grecaptcha-badge {
    bottom: 70px !important;
}

/* END Top Anchor + Recaptcha */

.top-widget .widget a:link {
    color: var(--accent2);
}