/* dc-jilpaq-new widget (developercode-core). Colours come from the widget controls via Elementor selectors. */
.dc-jilpaq-new { --p: #C8102E;  --a: #0F6B3E;  --d: #0A0A0A; --bg: #FFF8EE; }
.dc-jilpaq-new *,.dc-jilpaq-new *::before,.dc-jilpaq-new *::after{box-sizing:border-box}

.dc-jilpaq-new .jq-new {
    padding: clamp(48px, 6vh, 80px) clamp(20px, 4vw, 56px);
    background: var(--bg); color: var(--d);
    font-family:'Inter','Poppins',system-ui,sans-serif;
}
.dc-jilpaq-new .jq-new__inner { max-width: 1280px; margin: 0 auto; }
.dc-jilpaq-new .jq-new__header {
    display: flex; justify-content: space-between; align-items: end;
    gap: 24px; margin-bottom: 28px; flex-wrap: wrap;
}
.dc-jilpaq-new .jq-new__eyebrow { margin-bottom: 12px; }
.dc-jilpaq-new .jq-new__title {
    font-family:'Fraunces','Playfair Display',serif;
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight:700; line-height:1.1; letter-spacing:-.02em; margin:0;
}
.dc-jilpaq-new .jq-new__title em { color: var(--p); font-style: italic; }

.dc-jilpaq-new .jq-new__row {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.dc-jilpaq-new .jq-new__card {
    display: flex; align-items: center; gap: 14px;
    padding: 14px; background: #fff; border-radius: 16px;
    border: 1px solid rgba(0,0,0,.05); text-decoration: none; color: var(--d);
    transition: all .4s cubic-bezier(.22,1,.36,1);
    opacity: 0; transform: translateY(20px);
}
.dc-jilpaq-new .jq-new__card.is-in { opacity: 1; transform: none; }
.dc-jilpaq-new .jq-new__card:hover {
    border-color: color-mix(in srgb, var(--a) 40%, transparent);
    box-shadow: 0 12px 28px -16px color-mix(in srgb, var(--a) 30%, transparent);
    transform: translateY(-4px);
}
.dc-jilpaq-new .jq-new__thumb {
    width: 56px; height: 56px; border-radius: 12px;
    background: #fafafa; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.dc-jilpaq-new .jq-new__thumb img {
    width: 100%; height: 100%; object-fit: contain; padding: 6px;
}
.dc-jilpaq-new .jq-new__meta { min-width: 0; flex: 1; }
.dc-jilpaq-new .jq-new__cat {
    font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--a); margin-bottom: 2px;
}
.dc-jilpaq-new .jq-new__name {
    font-family: 'Fraunces', serif; font-size: 14px; font-weight: 600;
    line-height: 1.25; margin: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dc-jilpaq-new .jq-new__arrow {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(0,0,0,.05); color: var(--d);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all .3s ease;
}
.dc-jilpaq-new .jq-new__card:hover .jq-new__arrow {
    background: var(--a); color: #fff; transform: rotate(-45deg);
}
.dc-jilpaq-new .jq-new__arrow svg { width: 12px; height: 12px; }

@media (max-width: 1024px) {
    .dc-jilpaq-new .jq-new__row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .dc-jilpaq-new .jq-new__row { grid-template-columns: 1fr; }
}
