
:root {
  --croma-purple: #3A032D;
  --croma-yellow: #f6c445;
  --croma-bg-hero: #faf7fb;
}

.tpl-preview-wrap {  position: relative; }

.tpl-thumbnail {
  position: relative; overflow: hidden;
  border: 1px solid rgba(184,148,192,0.20);
  aspect-ratio: 4 / 3;
  background: var(--croma-bg-hero);
}
.tpl-thumbnail::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--croma-purple) 0%, var(--croma-yellow) 100%);
}

.tpl-thumb-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block; transition: transform .4s ease;
}
.tpl-thumbnail:hover .tpl-thumb-img { transform: scale(1.02); }

.tpl-thumb-fallback {
  position: absolute; inset: 0;
  background-color: var(--croma-purple)!important;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px 28px 24px;
  background: var(--croma-bg-hero);
  background-image:
    repeating-linear-gradient(-45deg, rgba(121,4,148,0.18) 0px, rgba(121,4,148,0.18) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(45deg, rgba(184,148,192,0.06) 0px, rgba(184,148,192,0.06) 1px, transparent 1px, transparent 28px);
}
.tpl-thumb-fallback::before {
  content: '';
  position: absolute; bottom: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(121,4,148,0.25);
  pointer-events: none;
}

.ttf-fields { position: absolute; inset: 28px; opacity: 0.5; z-index: 0; }
.ttf-field-line { height: 8px; margin-bottom: 14px; border-radius: 4px; background: rgba(121,4,148,0.10); }

.ttf-top, .ttf-bottom { position: relative; z-index: 1; }
.ttf-category-pill {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  background: #491429; color: var(--croma-purple);
  font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.ttf-name { font-size: 28px; font-weight: 700; color: #ffffff; line-height: 1.3; }
.ttf-divider { height: 1px; background: rgba(184,148,192,0.25); margin-top: 14px; }
.ttf-bottom { display: flex; justify-content: space-between; align-items: center; }
.ttf-meta { font-size: 12px; color: #6b5570; }
.ttf-logo { font-weight: 700; font-size: 13px; color: var(--croma-purple); }
.ttf-logo span { color: var(--croma-yellow); }

.tpl-preview-trigger {
  position: absolute; inset: 0; z-index: 3;
  background: rgba(20,10,25,0); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.tpl-preview-trigger:hover { background: rgba(20,10,25,0.35); }
.tpl-preview-pill {
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  display: flex; align-items: center; gap: 8px;
  background: #fff; color: var(--croma-purple);
  padding: 10px 18px; border-radius: 30px; font-weight: 600; font-size: 14px;
}
.tpl-preview-trigger:hover .tpl-preview-pill { opacity: 1; transform: translateY(0); }
.tpl-preview-play {
  width: 0; height: 0;
  border-left: 8px solid var(--croma-purple);
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}

.tpl-thumb-strip {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 4px; font-size: 13px; color: #6b5570; flex-wrap: wrap; gap: 8px;
}
.tpl-thumb-strip-left { display: flex; gap: 14px; flex-wrap: wrap; }
.tpl-thumb-strip-btn {
  border: 1px solid var(--croma-purple); background: #fff; color: var(--croma-purple);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.tpl-thumb-strip-btn:hover { background: var(--croma-purple); color: #fff; }

/* Live preview modal */
.croma-modal {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(20,10,25,0.6);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.croma-modal-inner {
  position: relative; width: 100%; max-width: 900px; height: 80vh;
  background: #fff; border-radius: 8px; overflow: hidden;
}
.croma-modal-close {
  position: absolute; top: 8px; right: 12px; z-index: 2;
  background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: #444;
}

@media (max-width: 768px) {
  .ttf-name { font-size: 15px; }
}
/* Taxonomy container styling */
.croma-taxonomies-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start; /* Align all items to the left */
}

/* Styling for the individual term boxes with icon */
.croma_industry-box, .croma_type-box, .croma_role-box {
    background-color: #f0edee; /* Light background color */
    border-radius: 50px;
    padding-left:5px;
	padding-top:5px;
	padding-bottom:5px;
	padding-right:10px;
    font-size: 14px;
    display: inline-flex; /* Align icon and text in a row */
    align-items: center;
    gap: 0px; /* Space between icon and text */
    margin-right: 8px; /* Margin around each box */
    white-space: nowrap; /* Prevent text from wrapping */    
	
}

/* Icon style */
.taxonomy-icon {
    font-size: 16px; /* Size of the icon */
    color: #0A102F; /* Match icon color to text */
    background-color: #ffffff; /* White background */
    border-radius: 50%; /* Make it a circle */
    width: 30px; /* Fixed width for circle */
    height: 30px; /* Fixed height for circle */
    display: inline-flex; /* Center the icon */
    align-items: center; /* Vertical centering */
    justify-content: center; /* Horizontal centering */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    margin-right: 8px; /* Space between the icon and the text */
}

/* Hover effect */
.croma_industry-box:hover, .croma_type-box:hover, .croma_role-box:hover {
    
}
/* Remove border and align properly */
.croma_industry-box-container, .croma_type-box-container, .croma_role-box-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 10px 0; /* Margin for container */
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .croma_industry-box, .croma_type-box, .croma_role-box {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* Responsive adjustments for tablets */
@media (max-width: 1024px) {
    .croma_industry-box, .croma_type-box, .croma_role-box {
        font-size: 13px;
        padding: 9px 18px;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    
    .template-box {
        padding: 15px;
    }

    .template-title {
        font-size: 22px;
    }

    .template-short-description {
        font-size: 14px;
    }

    .template-description {
        font-size: 14px;
    }

    .template-features {
        font-size: 14px;
    }
}



/* Style for the container and buttons */
.template-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Button styling */
.template-button {
    display: inline-block;
    padding: 7px 20px;
    font-size: 16px;
    text-align: center;
    background-color: #0073e6;
    color: #000;   
    text-decoration: none;   
    font-weight: 700;
	font-family: "Inter", Sans-serif;
}

.template-button:hover {
    background-color: #FBDC00;    
}

/* Specific styles for "Share" button */
.template-share-button {
    background-color: #FBDC00;
}

.template-share-button:hover {
    background-color: #fff;
	color: #000;
	border:1px solid #000;
	 padding: 10px 20px;
}

/* Specific styles for "Use this template" button */
.template-use-button {
    background-color: #FBDC00;
}

.template-use-button:hover {
     background-color: #fff;
	color: #000;
	border:1px solid #000;
	 padding: 10px 20px;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .template-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .template-button {
        padding: 12px 25px;
        font-size: 18px;
    }
}
.tpl-info {    margin-top: 10px;    padding-left: 30px}
 
/* ---------- Tags: rectangular bordered boxes, not pills ---------- */
.tpl-tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px;
}
.tpl-tag {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 7px 14px; border: 1px solid; border-radius: 2px;
  display: inline-flex; align-items: center; gap: 6px;
}
.tpl-tag::before {
  content: '●';
  font-size: 8px;
}
.tag-category {
  color: var(--croma-yellow);
  border-color: rgba(246,196,69,0.45);
  background: rgba(246,196,69,0.08);
}
.tag-industry {
  color: #c9a8d4;
  border-color: rgba(184,148,192,0.35);
  background: rgba(184,148,192,0.06);
}
.tag-audience {
  color: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
}
.tag-industry::before,
.tag-audience::before { display: none; } /* only the first tag shows the dot, matches reference */
 
/* ---------- Heading + description: white / light lavender ---------- */
.tpl-h1 {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
 
.tpl-short-desc {
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin-bottom: 28px;
  max-width: 560px;
}

.tpl-features {
  list-style: none; margin: 0 0 32px; padding: 0;
}
.tpl-features li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.5;
}
.tpl-features li:last-child { border-bottom: none; }
.tpl-features li .tick {
  width: 20px; height: 20px; border-radius: 4px; flex-shrink: 0; margin-top: 1px;
  border: 1px solid rgba(246,196,69,0.5);
  background: rgba(246,196,69,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--croma-yellow); font-weight: 700;
}

.tpl-cta-row {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px;
}
.btn-primary {
  background: var(--croma-yellow) !important;
  color: #1a0620 !important;
  padding: 14px 28px 14px 24px;
  font-weight: 800; text-decoration: none; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.5px;
  display: inline-flex; align-items: center;
  /* Arrow / banner shape on the right edge, matching the mockup */
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  transition: background 0.2s ease;
}
.btn-primary:hover { background: #ffd76b; color: #1a0620; }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff !important;
  background: transparent !important;
  padding: 14px 26px;
  font-weight: 700; text-decoration: none; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08) !important; border-color: rgba(255,255,255,0.7) !important; }

.tpl-trust {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
}
.tpl-trust span {
  font-size: 12px; font-weight: 600; color: rgba(246,196,69,0.75);
  display: flex; align-items: center; gap: 5px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.ticker-strip {
  background: var(--croma-yellow, #f6c445);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  margin-top: -10px;
}

.ticker-inner {
  display: inline-flex;
  animation: croma-ticker 36s linear infinite;
}

/* Pause on hover so people can actually read an item if they want to */
.ticker-strip:hover .ticker-inner {
  animation-play-state: paused;
}

.ticker-item {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2c0e36; /* dark plum, matches your section background color for contrast on yellow */
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker-item::after {
  content: '◆';
  font-size: 7px;
  color: rgba(44,14,54,0.35);
}

@keyframes croma-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .ticker-item { font-size: 11px; padding: 0 22px; letter-spacing: 1.2px; }
}
.template-box {
  background: transparent !important;
  padding: 50px 0;
}

.elementor-widget-shortcode:has(.template-box) .elementor-widget-container {
  background: transparent !important;
}

.elementor-widget-container .template-box {
  background: transparent !important;
}

/* ---------- Text styling for a WHITE section background ---------- */
.template-description {
  color:#FBDC00 !important;
  max-width: 760px;
}

/* .template-description h2 {
  color: #0A102F;               
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 22px;
  padding-bottom: 14px;
  position: relative;
} */

/* .template-description h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--croma-purple, #790494) 0%, var(--croma-yellow, #f6c445) 100%);
} */

.template-description h3 {
  color: #0A102F;
  font-size: 22px;
  font-weight: 700;
  margin: 24px 0 12px;
}

.template-description p {
  color: #4a4a4a;                /* dark gray, readable on white */
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.template-description strong,
.template-description b {
  color: #0A102F;
}

.template-description ul,
.template-description ol {
  margin: 0 0 20px 20px;
  color: #4a4a4a;
  line-height: 1.8;
}

.template-description a {
  color: var(--croma-purple, #790494);
  text-decoration: underline;
}
.template-description a:hover {
  color: #5c0371;
}

@media (max-width: 768px) {
  .template-description h2 { font-size: 24px; }
  .template-description h3 { font-size: 18px; }
  .template-description p { font-size: 14px; }
}
/* =====================================================================
   ADD THIS TO: css/croma-gallery.css
   Matches the reference mockup's overview section: white background,
   purple/navy text, yellow CTA button — light theme, not dark.
   ===================================================================== */

.overview-section {
  background: #ffffff;
  padding: 60px 0;
}

.overview-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.eyebrow {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #790494;
  padding-left: 14px;
  border-left: 3px solid #790494;
  margin-bottom: 14px;
}

.overview-h2 {
  color: #0A102F;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
}

.overview-body-wrap p {
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.overview-highlight {
  background: rgba(121,4,148,0.06);
  border-left: 3px solid #790494;
  padding: 18px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-style: italic;
  color: #3a2440;
  line-height: 1.7;
  margin-top: 10px;
}
.overview-highlight strong {
  font-style: normal;
  color: #0A102F;
}

/* ---------- Template Details card ---------- */
.tpl-info-card {
  border: 1px solid rgba(10,16,47,0.10);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10,16,47,0.06);
}

.tpl-info-card-header {
  background: #2c0e36;
  padding: 16px 20px;
}
.tpl-info-card-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tpl-info-rows {
  padding: 6px 20px;
}
.tpl-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(10,16,47,0.06);
  font-size: 13px;
}
.tpl-info-row:last-child { border-bottom: none; }

.tpl-info-label {
  color: #6b5570;
}
.tpl-info-val {
  color: #0A102F;
  font-weight: 700;
}
.tpl-info-val.purple { color: #790494; }
.tpl-info-val.green { color: #1f9d55; }

.tpl-info-card-cta {
  padding: 18px 20px 22px;
}
.tpl-info-card-cta .btn-primary {
  display: block;
  text-align: center;
  background: #f6c445;
  color: #1a0620;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.2s ease;
}
.tpl-info-card-cta .btn-primary:hover {
  background: #ffd76b;
  color: #1a0620;
}
.tpl-info-trial-note {
  text-align: center;
  font-size: 12px;
  color: #6b5570;
  margin: 10px 0 0;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 600;
}

@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; }
  .overview-h2 { font-size: 24px; }
}
/* =========================================================
   BEFORE / AFTER - TIME SAVING ALTERNATIVE
   ========================================================= */

.contrast-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background: var(--bg-dark, #50033f);
    overflow: hidden;
}


/* Left yellow accent line */

.contrast-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--yellow, #ffd900);
}


/* Main container */

.contrast-section > .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}


/* Heading wrapper */

.contrast-heading {
    max-width: 760px;
}


/* Eyebrow */

.contrast-section .eyebrow {
    margin-bottom: 18px;
}


/* Main heading */

.contrast-section h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -1px;
}


/* =========================================================
   GRID
   ========================================================= */

.contrast-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    margin-top: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
}


/* =========================================================
   LEFT - BEFORE
   ========================================================= */

.cc-bad {
    min-width: 0;
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}


/* =========================================================
   RIGHT - AFTER
   ========================================================= */

.cc-good {
    min-width: 0;
    padding: 36px 32px;
    background: var(--yellow, #ffd900);
    color: var(--text-dark, #3a032d);
    box-sizing: border-box;
}


/* =========================================================
   CARD LABEL
   ========================================================= */

.ch-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* Before label */

.chl-bad {
    color: #ffffff;
}


/* After label */

.chl-good {
    color: var(--text-dark, #3a032d);
}


/* =========================================================
   ICONS
   ========================================================= */

.contrast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}


.contrast-icon-bad {
    color: rgba(255, 100, 100, 0.9);
}


.contrast-icon-good {
    color: #2d7a00;
}


/* =========================================================
   LIST
   ========================================================= */

.cl-items {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}


/* List item */

.cl-items li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 12px 0;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.6;
}


/* Remove top spacing from first item */

.cl-items li:first-child {
    padding-top: 0;
}


/* Remove bottom border */

.cl-items li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}


/* Before item border */

.cl-bad-list li {
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* After item border */

.cl-good-list li {
    color: var(--text-dark, #3a032d);
    font-weight: 500;
    border-bottom: 1px solid rgba(58, 3, 45, 0.12);
}


/* =========================================================
   LIST ICON
   ========================================================= */

.cl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    width: 16px;
    min-width: 16px;
    height: 22px;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
}


.cl-icon-bad {
    color: rgba(255, 100, 100, 0.85);
}


.cl-icon-good {
    color: #2d7a00;
}


/* Text */

.cl-text {
    display: block;
    min-width: 0;
    flex: 1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .contrast-section {
        padding: 64px 0;
    }

    .contrast-grid {
        margin-top: 40px;
    }

    .cc-bad,
    .cc-good {
        padding: 30px 24px;
    }

    .contrast-section h2 {
        font-size: 38px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .contrast-section {
        padding: 56px 0;
    }


    .contrast-section::before {
        width: 3px;
    }


    .contrast-section > .container {
        padding-left: 16px;
        padding-right: 16px;
    }


    .contrast-section h2 {
        font-size: 30px;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }


    .contrast-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 32px;
    }


    .cc-bad,
    .cc-good {
        padding: 28px 22px;
    }


    .cc-bad {
        border-bottom: 4px solid var(--bg-dark, #50033f);
    }


    .ch-label {
        font-size: 12px;
        letter-spacing: 1.2px;
    }


    .cl-items li {
        font-size: 14px;
        line-height: 1.55;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .contrast-section {
        padding: 48px 0;
    }


    .contrast-section > .container {
        padding-left: 14px;
        padding-right: 14px;
    }


    .contrast-section h2 {
        font-size: 27px;
    }


    .cc-bad,
    .cc-good {
        padding: 24px 18px;
    }


    .cl-items li {
        font-size: 13px;
    }

}
