html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50620;
}

.validation-message {
    color: #e50620;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
        content: "An error has occurred."
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}


.float-left-half {
    float: left;
    width: 50%;
    margin-right: 2rem; /* Space to the right of the image */
    margin-bottom: 0.6rem; /* Space below the image */
}

.image-caption figcaption {
    font-size: 1.5rem;
    color: #a0a4aa; /* More subtle, lighter gray */
    margin-top: 0.1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    font-style: italic;
}

.custom-navbar-list {
    display: flex;
    flex-direction: row !important; /* Stack horizontally */
    background: #fff;
    border-radius: 12px;
    padding: 4px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    justify-content: center;
    align-items: flex-end;
}

.custom-navbar-list .nav-item {
    width: auto;
    text-align: center;
    margin: 0 24px; /* Horizontal spacing */
    padding: 0;
    display: flex;
    align-items: center;
}


.custom-navbar-list .nav-link {
    color: #333;
    padding: 8px 24px;
    border-radius: 6px;
    transition: background 0.2s;
}

.custom-navbar-list .nav-link:hover,
.custom-navbar-list .nav-link:focus {
    background: #f0f0f0;
    color: #007bff;
}

@media (max-width: 991px) {
    .custom-navbar-list {
        flex-direction: column !important;
        align-items: stretch;
        padding: 8px 0;
    }
    .custom-navbar-list .nav-item {
        margin: 4px 0;
        width: 100%;
        justify-content: flex-start;
    }
    .custom-navbar-list .nav-link {
        width: 100%;
        text-align: left;
        padding-left: 24px;
    }
}

/* Article and list typography */
.article-content ul,
.article-content ol,
.light-grey-grad ul,
.light-grey-grad ol {
    font-family: "Hind Vadodara", sans-serif;
    font-size: 1.8rem;
    line-height: 3rem;
    color: #69798d;
    font-weight: 300;
}

.article-content ul li,
.article-content ol li,
.light-grey-grad ul li,
.light-grey-grad ol li {
    font-family: "Hind Vadodara", sans-serif;
    font-size: 1.8rem;
    line-height: 3rem;
    color: #69798d;
    font-weight: 300;
}

.article-content li strong,
.light-grey-grad li strong {
    font-weight: 600;
    color: #172b43;
}

/* Shared article page styles */
.article-byline {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 2.8rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e7ec;
    font-family: "Hind Vadodara", sans-serif;
    font-size: 1.5rem;
    color: #69798d;
}

.article-byline .byline-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.article-byline .byline-item i {
    font-size: 1.5rem;
    color: #c45b6b;
}

.article-byline .byline-author {
    font-weight: 500;
    color: #172b43;
}

.article-byline .byline-dot {
    color: #c4ccd5;
    font-weight: 700;
}

.article-content ul,
.article-content ol,
.article-content li {
    font-family: "Hind Vadodara", sans-serif !important;
    font-size: 1.8rem !important;
    line-height: 3rem !important;
    color: #69798d !important;
    font-weight: 300 !important;
}

.article-content li strong {
    font-weight: 600 !important;
    color: #172b43 !important;
}

.article-content ol,
.article-content ul {
    padding-left: 2.2rem;
}

.article-content ol li,
.article-content ul li {
    margin-bottom: 1.2rem;
}

.article-lead {
    font-family: "Hind Vadodara", sans-serif;
    font-size: 1.9rem;
    line-height: 3rem;
    font-weight: 400;
    color: #172b43;
    max-width: 36em;
    margin: -1rem 0 2.4rem;
}

.table-scroll {
    overflow-x: auto;
    margin: 2.4rem 0 3.2rem;
}

.comparison-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-family: "Hind Vadodara", sans-serif;
    font-size: 1.5rem;
    line-height: 2.3rem;
    color: #172b43;
}

.comparison-table th,
.comparison-table td {
    text-align: left;
    vertical-align: top;
    padding: 1.2rem 1.6rem;
    border-bottom: 1px solid #e9dfe2;
}

.comparison-table thead th {
    font-size: 1.2rem;
    line-height: 1.6rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #4b5b70;
    border-bottom: 2px solid #172b43;
}

.comparison-table tbody th,
.comparison-table tbody td:first-child {
    font-weight: 600;
    width: 24%;
}

/* Numbered square cards, e.g. Discover / Design / Build */
.article-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
    margin: 3.2rem 0;
}

.article-steps .step {
    background: #fff;
    box-shadow: 0 2px 10px rgba(23, 43, 67, .16);
    padding: 3.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    min-width: 0;
}

.article-steps .step-head {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.article-steps .step-num {
    width: 40px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    font-family: "Hind Vadodara", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    color: #172b43;
}

.article-steps .s1 .step-num { background: #ffe3e8; }
.article-steps .s2 .step-num { background: #ffc9ce; }
.article-steps .s3 .step-num { background: #ffb7bb; }

.article-steps .step h3 {
    margin: 0;
    font-size: 2.2rem;
    line-height: 2.8rem;
    color: #172b43;
}

.article-steps .step p {
    margin: 0;
    font-size: 1.6rem;
    line-height: 2.6rem;
}

@media (max-width: 860px) {
    .article-steps { grid-template-columns: 1fr; }
}

/* Closing call-to-action band */
.article-cta {
    background: #ffe3e8;
    padding: 6.4rem 0;
}

.article-cta .cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 3.2rem;
    align-items: center;
}

.article-cta h2 {
    font-size: 3rem;
    line-height: 3.6rem;
    color: #172b43;
    margin: 0 0 1.2rem;
}

.article-cta p {
    margin: 0;
    max-width: 36em;
    color: #172b43;
}

@media (max-width: 760px) {
    .article-cta .cta-inner { grid-template-columns: 1fr; }
}
/* Home page articles band */
#articles.latest-news {
    position: relative;
    overflow: hidden;
    background-color: #fbf6fb;
    background-image:
        radial-gradient(circle at 10% 15%, rgba(224, 113, 127, 0.14), transparent 45%),
        radial-gradient(circle at 90% 90%, rgba(140, 120, 255, 0.16), transparent 50%),
        linear-gradient(135deg, #fdf3f5 0%, #f4f1ff 100%);
}

#articles h3 {
    position: relative;
    padding-bottom: 1.6rem;
}

#articles h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #e0717f, #f2a1a9);
}

/* Home page About Us: Salesforce workshop badges */
.workshop-badges {
    display: grid;
    grid-template-columns: repeat(4, 130px);
    gap: 1.2rem;
    margin-top: 2.4rem;
    padding-bottom: 5.6rem;
    text-align: center;
}

.workshop-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 8px;
    padding: 1.2rem 0.8rem;
}

.workshop-badge img {
    width: 60px;
    height: auto;
    margin-bottom: 0.6rem;
}

.workshop-badge .workshop-meta {
    font-family: "Hind Vadodara", sans-serif;
    font-size: 1rem;
    line-height: 1.4rem;
    color: #3d4a7a;
}

.workshop-badge .workshop-title {
    font-family: "Fira Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: #172b43;
}

@media (max-width: 767px) {
    .workshop-badges { grid-template-columns: repeat(2, 130px); }
}

/* Equal-height article cards: stretch slides and let the title area fill the rest */
#articles .slick-track {
    display: flex;
}

#articles .slick-slide {
    height: auto;
}

#articles .news-content-block {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#articles .news-content-block h5 {
    flex: 1;
}

#articles .news-content-block {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(122, 46, 62, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#articles .news-content-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(122, 46, 62, 0.14);
}

#articles .news-content-block h5 a {
    color: #172b43;
    transition: color 0.2s ease;
}

#articles .news-content-block:hover h5 a {
    color: #c45b6b;
}
