/* ==========================================================
   360Pulse Elementor Widgets – Frontend Styles
   ========================================================== */

/* ── SHARED ── */
.pulse-navbar, .pulse-hero, .pulse-posts, .pulse-cat,
.pulse-insights, .pulse-newsletter, .pulse-footer {
    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }

/* ── NAVBAR ── */
.pulse-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}
.pulse-navbar__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.pulse-navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.pulse-navbar__logo-dot {
    width: 36px;
    height: 36px;
    background: #c0183c;
    border-radius: 50%;
    flex-shrink: 0;
}
.pulse-navbar__logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111;
}
.pulse-navbar__accent { color: #c0183c; }
.pulse-navbar__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.pulse-navbar__link {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: #111;
    transition: color .2s;
}
.pulse-navbar__link:hover { color: #c0183c; }
.pulse-navbar__cta {
    background: #c0183c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: opacity .2s;
}
.pulse-navbar__cta:hover { opacity: 0.85; }

/* ── HERO ── */
.pulse-hero { background: #fff; padding: 5rem 0; }
.pulse-hero__inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.pulse-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 900px) { .pulse-hero__grid { grid-template-columns: 1fr; } }
/* ── HERO BADGE: dark/light shimmer sweep ── */
@keyframes badge-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%       { transform: scale(0.75); opacity: 0.6; }
}
@keyframes pulse-ring {
    0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.6; }
    70%  { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

.pulse-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* Dark base with animated light sweep */
    background: linear-gradient(
        105deg,
        #111 0%,
        #111 35%,
        #3a3a3a 48%,
        #ffffff22 50%,
        #3a3a3a 52%,
        #111 65%,
        #111 100%
    );
    background-size: 200% auto;
    animation: badge-shimmer 2.6s linear infinite;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    padding: 0.5rem 1.25rem 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow .25s, transform .2s;
}
a.pulse-hero__badge:hover {
    box-shadow: 0 0 0 3px rgba(192, 24, 60, 0.25);
    transform: translateY(-1px);
}

/* Dot wrapper */
.pulse-hero__badge-dot {
    position: relative;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Solid inner dot — crimson */
.pulse-hero__badge-dot::after {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c0183c;
    animation: pulse-dot 1.6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}
/* Expanding crimson ring */
.pulse-hero__badge-dot-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c0183c;
    opacity: 0.6;
    animation: pulse-ring 1.6s ease-out infinite;
    z-index: 0;
}
.pulse-hero__heading {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin: 0 0 2rem;
    color: #111;
}
.pulse-hero__accent { color: #c0183c; }
.pulse-hero__desc {
    font-size: 1rem;
    color: #737373;
    max-width: 28rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.pulse-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.pulse-hero__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #c0183c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 1rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: opacity .2s;
}
.pulse-hero__btn-primary:hover { opacity: 0.88; }
.pulse-hero__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #111;
    color: #111;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 1rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.pulse-hero__btn-secondary:hover { background: #111; color: #fff; }
.pulse-hero__media {
    border-radius: 1rem;
    overflow: hidden;
    border: 4px solid rgba(0,0,0,.08);
    box-shadow: 0 25px 50px rgba(0,0,0,.15);
}
.pulse-hero__video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border-radius: 8px; }
.pulse-hero__iframe { aspect-ratio: 16/9; width: 100%; border: none; border-radius: 8px; display: block; }

/* ── BLOG POSTS ── */
.pulse-posts { background: #fff; padding: 5rem 0; }
.pulse-posts__inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.pulse-posts__header { text-align: center; margin-bottom: 3.5rem; }
.pulse-posts__header-badge {
    display: inline-block;
    background: #c0183c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    padding: 0.6rem 2rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}
.pulse-posts__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #111;
    margin: 0;
}
.pulse-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 900px) { .pulse-posts__grid { grid-template-columns: 1fr; } }

/* Card */
.pulse-posts__card {
    display: flex;
    flex-direction: column;
}

/* Image block — full width, no border-radius, sharp edges */
.pulse-posts__img-link {
    display: block;
    text-decoration: none;
}
.pulse-posts__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
}
.pulse-posts__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.pulse-posts__card:hover .pulse-posts__img { transform: scale(1.04); }
.pulse-posts__img-placeholder {
    width: 100%;
    height: 100%;
    background: #e8e8e8;
}

/* Badge — solid block, NO border-radius, top-left corner */
.pulse-posts__badge {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.35rem 0.7rem;
    border-radius: 0;
    line-height: 1;
}

/* Body below image */
.pulse-posts__body {
    padding: 1.1rem 0 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Date • Category meta line */
.pulse-posts__date {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888;
    margin: 0 0 0.6rem;
}

/* Title: bold, uppercase, no decoration */
.pulse-posts__title {
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.25;
    margin: 0 0 0.7rem;
    color: #111;
}
.pulse-posts__title-link {
    text-decoration: none;
    color: inherit;
    transition: color .2s;
}
.pulse-posts__title-link:hover { color: #c0183c; }

/* Excerpt */
.pulse-posts__desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.65;
    margin: 0 0 1rem;
    flex: 1;
}

/* CTA row: "READ ARTICLE" left, arrow right */
.pulse-posts__cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e5e5;
    margin-top: auto;
}
.pulse-posts__cta {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #111;
    text-decoration: none;
    transition: color .2s;
}
.pulse-posts__cta:hover { color: #c0183c; }
.pulse-posts__arrow {
    color: #c0183c;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Load More */
.pulse-posts__footer { text-align: center; margin-top: 3rem; }
.pulse-posts__load-more {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #888;
    background: none;
    border: 1px solid #e5e5e5;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: color .2s, border-color .2s;
}
.pulse-posts__load-more:hover { color: #111; border-color: #111; }

.pulse-posts__loading,
.pulse-posts__none { color: #aaa; font-size: 0.875rem; padding: 2rem 0; }

/* ── CATEGORIES ── */
.pulse-cat { background: #fff; padding: 4rem 0; }
.pulse-cat__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

/* Category group */
.pulse-cat__group {}

/* Heading row: large bold text + horizontal line */
.pulse-cat__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.pulse-cat__heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
    margin: 0;
    color: #111;
    line-height: 1;
}
.pulse-cat__line { flex: 1; height: 1px; background: #e5e5e5; }

/* Ensure widget wrapper doesn't collapse width */
.elementor-widget-pulse_categories,
.elementor-widget-pulse_categories .elementor-widget-container {
    width: 100% !important;
}

/* 3-column grid — force display:grid with explicit columns */
.pulse-cat__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100%;
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .pulse-cat__grid { grid-template-columns: 1fr !important; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .pulse-cat__grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Individual card — thumbnail LEFT, text RIGHT, flex row */
.pulse-cat__item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1rem;
    background: #fff;
    padding: 1.4rem 1.5rem;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
    min-width: 0;
    transition: background .15s;
}
.pulse-cat__item:hover { background: #fafafa; }

/* Square thumbnail — rounded corners */
.pulse-cat__thumb-link {
    flex-shrink: 0;
    display: block;
    line-height: 0;
}
.pulse-cat__thumb {
    width: 86px;
    height: 86px;
    min-width: 86px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}
.pulse-cat__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.pulse-cat__item:hover .pulse-cat__thumb img { transform: scale(1.05); }

/* Text column */
.pulse-cat__text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Post title */
.pulse-cat__item-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin: 0;
    color: #111;
}
.pulse-cat__title-link {
    text-decoration: none;
    color: inherit;
    transition: color .2s;
}
.pulse-cat__title-link:hover { color: #c0183c; }

/* Excerpt */
.pulse-cat__item-desc {
    font-size: 0.775rem;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

/* READ MORE */
.pulse-cat__read-more {
    display: inline-block;
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #c0183c;
    text-decoration: none;
    margin-top: 0.3rem;
}
.pulse-cat__read-more:hover { text-decoration: underline; }

/* Bottom divider under each group */
.pulse-cat__divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin-top: 0;
}

/* ── INSIGHTS ── */
.pulse-insights { background: #fff; padding: 5rem 0; }
.pulse-insights__inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.pulse-insights__top { margin-bottom: 3.5rem; }
.pulse-insights__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
    color: #111;
}
.pulse-insights__accent { color: #c0183c; }
.pulse-insights__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 800px) { .pulse-insights__grid { grid-template-columns: 1fr; } }
.pulse-insights__card {
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e5e5e5;
    transition: box-shadow .3s;
}
.pulse-insights__card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.pulse-insights__card--active { background: #111; border-color: #111; color: #fff; }
.pulse-insights__card--active .pulse-insights__card-title,
.pulse-insights__card--active .pulse-insights__card-desc { color: #fff; }
.pulse-insights__card--active .pulse-insights__card-desc { opacity: 0.7; }
.pulse-insights__icon-wrap {
    width: 56px; height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}
.pulse-insights__icon-active { background: #c0183c; }
.pulse-insights__icon-active svg, .pulse-insights__icon-active i { color: #fff !important; }
.pulse-insights__icon-bg { background: #fde8ec; }
.pulse-insights__icon-bg svg, .pulse-insights__icon-bg i { color: #c0183c; }
.pulse-insights__card-title {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem;
    color: #111;
}
.pulse-insights__card-desc {
    font-size: 0.875rem;
    color: #737373;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.pulse-insights__cta {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #c0183c;
    text-decoration: none;
}
.pulse-insights__cta:hover { text-decoration: underline; }

/* ── NEWSLETTER ── */
.pulse-newsletter { background: #111; padding: 5rem 0; }
.pulse-newsletter__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 900px) { .pulse-newsletter__inner { grid-template-columns: 1fr; } }
.pulse-newsletter__card { border-radius: 1.5rem; padding: 3rem; }
.pulse-newsletter__card-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 1.5rem;
}
.pulse-newsletter__card-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    max-width: 28rem;
    margin-bottom: 2rem;
}
.pulse-newsletter__submit {
    display: inline-block;
    background: #fff;
    color: #c0183c;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .2s;
}
.pulse-newsletter__submit:hover { opacity: 0.85; }
.pulse-newsletter__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #c0183c;
    margin-bottom: 0.75rem;
}
.pulse-newsletter__features-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 2.5rem;
}
.pulse-newsletter__features { display: flex; flex-direction: column; gap: 2rem; }
.pulse-newsletter__feature { display: flex; gap: 1.25rem; align-items: flex-start; }
.pulse-newsletter__feat-icon-bg {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(192,24,60,.15);
    border: 1px solid rgba(192,24,60,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pulse-newsletter__feat-icon svg,
.pulse-newsletter__feat-icon i { color: #c0183c; font-size: 1.1rem; }
.pulse-newsletter__feat-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin: 0 0 0.25rem;
}
.pulse-newsletter__feat-desc { font-size: 0.8rem; color: rgba(255,255,255,.45); }

/* ── FOOTER ── */
.pulse-footer { background: #1a1a1a; color: #fff; padding: 4rem 0; }
.pulse-footer__inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.pulse-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
@media (max-width: 800px) { .pulse-footer__grid { grid-template-columns: 1fr; } }
.pulse-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}
.pulse-footer__logo-dot {
    width: 36px; height: 36px;
    background: #c0183c;
    border-radius: 50%;
    flex-shrink: 0;
}
.pulse-footer__brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.pulse-footer__logo-accent { color: #c0183c; }
.pulse-footer__desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,.45);
    line-height: 1.7;
    max-width: 20rem;
    margin-bottom: 1.5rem;
}
.pulse-footer__socials { display: flex; gap: 0.75rem; }
.pulse-footer__social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: border-color .2s, color .2s;
}
.pulse-footer__social-icon:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.pulse-footer__col-heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #c0183c;
    margin: 0 0 1.5rem;
}
.pulse-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.pulse-footer__link {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s;
}
.pulse-footer__link:hover { color: #fff; }
.pulse-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1.5rem;
    text-align: center;
}
.pulse-footer__copyright {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,.25);
}
