/* SecurityLink India custom homepage — scoped to .sli-home so the parent theme remains intact. */
.sli-home {
	--sli-red: #cc0000;
	--sli-red-dark: #a30000;
	--sli-grey: #e5e3df;
	--sli-yellow: #fdf5d3;
	--sli-ink: #161616;
	--sli-muted: #666;
	--sli-line: #cfcfcf;
	background: #f3f4f6;
	color: var(--sli-ink);
}
.sli-home * { box-sizing: border-box; }
.sli-home-shell { width: 100%; max-width: var(--sli-shell-max-width, 1320px); margin: 0 auto; background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.sli-home-inner { width: 100%; max-width: 1240px; margin: 0 auto; }
.sli-home-hero-section, .sli-home-content-section { padding: 40px; }
.sli-home-hero-section, .sli-home-section--grey { background: var(--sli-grey); }
.sli-home-section--yellow { background: var(--sli-yellow); border-top: 1px solid var(--sli-line); }
.sli-home-content-section { background: var(--sli-section-bg, #fff); }
.sli-home-section-head { border-bottom: 2px solid #c8c8c8; margin: 0 0 20px; padding: 0 0 5px; }
.sli-home-section-title { background: var(--sli-heading-bg, var(--sli-red)); color: var(--sli-heading-text, #fff) !important; display: inline-block; padding: 7px 15px 6px; font-size: 15px; line-height: 1.1; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; }
.sli-home-hero-grid { display: grid; grid-template-columns: 250px minmax(0,1fr) 250px; gap: 32px; align-items: stretch; }
.sli-home-latest-column, .sli-home-right-column { min-width: 0; display: flex; flex-direction: column; }
.sli-home-ad { background: #fff; border: 1px solid #dedede; padding: 10px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.03); }
.sli-home-ad span { display: block; color: #999; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 7px; }
.sli-home-ad-placeholder { display: grid; place-items: center; width: 100%; min-height: 84px; border: 1px dashed #d4d4d4; background: #f1f1f1; color: #9b9b9b; font-size: 10px; }
.sli-home-ad--square { margin-top: 16px; flex: 1 1 250px; min-height: 250px; }
.sli-home-ad--square .sli-home-ad-placeholder { min-height: 220px; height: 100%; }
.sli-home-social-card { background: #fff; padding: 14px; border: 1px solid #dedede; min-height: 56px; display: flex; align-items: center; justify-content: center; }
.sli-home-social-card .social-icons { display: flex; align-items: center; justify-content: space-evenly; gap: 18px; width: 100%; }
.sli-home-social-card .social-icon { font-size: 20px; color: #555; text-decoration: none; transition: transform .18s ease, color .18s ease; }
.sli-home-social-card .social-icon:hover { transform: translateY(-2px); color: var(--sli-red); }
.sli-home-mobile-social-card { display: none; background: #fff; padding: 14px; border: 1px solid #dedede; min-height: 56px; align-items: center; justify-content: center; }
.sli-home-mobile-social-card .social-icons { display: flex; align-items: center; justify-content: space-evenly; gap: 18px; width: 100%; }
.sli-home-mobile-social-card .social-icon { font-size: 20px; color: #555; text-decoration: none; transition: transform .18s ease, color .18s ease; }
.sli-home-mobile-social-card .social-icon:hover { transform: translateY(-2px); color: var(--sli-red); }

.sli-home-right-whitepaper {
	margin-top: 16px;
	padding: 14px 12px 12px;
	background: var(--sli-grey);
	border: 1px solid rgba(0,0,0,.06);
}
.sli-home-right-whitepaper .sli-home-section-head { margin-bottom: 12px; }
.sli-home-right-whitepaper .sli-home-section-title { font-size: 13px; padding: 6px 12px 5px; }
.sli-home-right-whitepaper-list { display: flex; flex-direction: column; gap: 12px; }
.sli-home-right-whitepaper-item { display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #cfcfcf; }
.sli-home-right-whitepaper-item:last-child { border-bottom: 0; padding-bottom: 0; }
.sli-home-right-whitepaper-thumb { display: block; overflow: hidden; }
.sli-home-right-whitepaper-thumb .sli-home-image { width: 62px !important; height: 62px !important; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid #ddd; }
.sli-home-right-whitepaper-copy { min-width: 0; }
.sli-home-right-whitepaper-copy h3 { margin: 0; font-size: 12px; line-height: 1.2; font-weight: 800; }
.sli-home-right-whitepaper-copy h3 a { color: inherit; text-decoration: none; }
.sli-home-right-whitepaper-copy h3 a:hover { color: var(--sli-red); }
.sli-home-right-whitepaper-copy .sli-home-time { margin-top: 4px; font-size: 9px; }
.sli-home-right-whitepaper-copy .sli-home-readmore { margin-top: 3px; font-size: 9px; }

.sli-home-latest-list { display: flex; flex-direction: column; gap: 15px; }
.sli-home-latest-item { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #cfcfcf; }
.sli-home-latest-item:last-child { border-bottom: 0; }
.sli-home-thumb-link { display: block; }
.sli-home-thumb { aspect-ratio: 1 / 1; width: 78px !important; height: 78px !important; object-fit: cover; border: 1px solid #ddd; }
.sli-home-image { display: block; width: 100%; height: auto; object-fit: cover; }
.sli-home-image--fallback { aspect-ratio: 1 / 1; background: linear-gradient(135deg, #212121, #666); color: #fff; display: grid; place-items: center; padding: 18px; text-align: center; font-weight: 700; font-size: 13px; }
.sli-home-latest-copy h3 { margin: 0; font-size: 14px; line-height: 1.18; font-weight: 800; }
.sli-home-latest-copy h3 a, .sli-home-card h3 a, .sli-home-feature-card h3 a, .sli-home-interview-card h3 a, .sli-home-case-card h3 a, .sli-home-whitepaper-card h3 a { color: inherit; text-decoration: none; }
.sli-home-latest-copy h3 a:hover, .sli-home-card h3 a:hover, .sli-home-feature-card h3 a:hover, .sli-home-interview-card h3 a:hover, .sli-home-case-card h3 a:hover, .sli-home-whitepaper-card h3 a:hover { color: var(--sli-red); }
.sli-home-time { color: #777; font-size: 10px; margin-top: 5px; }
.sli-home-hero-carousel { position: relative; min-width: 0; overflow: hidden; background: #111; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.sli-home-slider-track { display: flex; width: 100%; transition: transform .45s ease; }
.sli-home-hero-slide { min-width: 100%; position: relative; }
.sli-home-hero-link { position: relative; display: block; color: #fff; text-decoration: none; }
.sli-home-hero-image { width: 100%; height: 100%; min-height: 420px; max-height: 580px; aspect-ratio: 1 / 1; object-fit: cover; }
.sli-home-hero-overlay { position: absolute; inset: auto 0 0; padding: 88px 28px 28px; background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.62) 45%, transparent); }
.sli-home-kicker { display: inline-block; background: var(--sli-red); color: #fff; padding: 5px 9px; margin-bottom: 10px; font-size: 10px; line-height: 1; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.sli-home-hero-overlay h1 { margin: 0; color: #fff; font-size: clamp(24px, 3.1vw, 44px); line-height: 1.08; font-weight: 800; }
.sli-home-slider-control { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border: 0; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; font-size: 32px; line-height: 1; }
.sli-home-slider-control:hover { background: rgba(0,0,0,.65); }
.sli-home-slider-prev { left: 10px; }
.sli-home-slider-next { right: 10px; }
.sli-home-slider-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 7px; }
.sli-home-slider-dots button { width: 7px; height: 7px; border: 0; border-radius: 999px; padding: 0; background: rgba(255,255,255,.7); cursor: pointer; }
.sli-home-slider-dots button.is-active { width: 19px; background: var(--sli-red); }
.sli-home-card-grid { display: grid; gap: 24px; }
.sli-home-card-grid--three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.sli-home-card { background: #fff; padding: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.05); transition: box-shadow .2s ease, transform .2s ease; }
.sli-home-card:hover, .sli-home-feature-card:hover, .sli-home-interview-card:hover, .sli-home-whitepaper-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.sli-home-card-media { display: block; overflow: hidden; margin-bottom: 14px; }
.sli-home-card-media .sli-home-image { aspect-ratio: 1 / 1; object-fit: cover; transition: transform .45s ease; }
.sli-home-card:hover .sli-home-card-media .sli-home-image, .sli-home-feature-card:hover .sli-home-card-media .sli-home-image, .sli-home-interview-card:hover .sli-home-card-media .sli-home-image, .sli-home-whitepaper-card:hover .sli-home-whitepaper-cover .sli-home-image { transform: scale(1.035); }
.sli-home-card h3, .sli-home-feature-card h3, .sli-home-interview-card h3, .sli-home-whitepaper-card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.18; font-weight: 800; }
.sli-home-card p, .sli-home-feature-card p { margin: 8px 0 0; color: #666; font-size: 13px; line-height: 1.45; }
.sli-home-card-meta { color: #737373; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.sli-home-feature-card { min-width: 0; flex: 0 0 calc((100% - 48px) / 3); background: #fff; padding: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.sli-home-feature-card .sli-home-card-meta { margin-top: auto; }
.sli-home-scroll-carousel { position: relative; overflow: hidden; }
.sli-home-scroll-track { display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px 2px 8px; }
.sli-home-scroll-track::-webkit-scrollbar { display: none; }
.sli-home-scroll-controls { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.sli-home-scroll-controls button { width: 34px; height: 34px; border: 1px solid #bbb; background: #fff; color: #333; font-size: 26px; line-height: 1; cursor: pointer; }
.sli-home-scroll-controls button:hover { background: #222; color: #fff; }
.sli-home-center-button { text-align: center; margin-top: 24px; }
.sli-home-center-button a { display: inline-block; padding: 12px 28px; background: var(--sli-button-bg, var(--sli-red)); color: var(--sli-button-text, #fff) !important; font-size: 12px; line-height: 1; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; text-decoration: none !important; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.sli-home-center-button a:hover { filter: brightness(.9); }
.sli-home-outline-button { background: transparent !important; border: 2px solid var(--sli-red); color: var(--sli-red) !important; box-shadow: none !important; }
.sli-home-outline-button:hover { background: var(--sli-red) !important; color: #fff !important; }
.sli-home-interview-card { background: #fff; padding: 12px; border-top: 4px solid var(--sli-red); box-shadow: 0 4px 14px rgba(0,0,0,.07); }
.sli-home-case-list { display: flex; flex-direction: column; gap: 18px; }
.sli-home-case-card { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 20px; background: #fff; padding: 14px; box-shadow: 0 3px 12px rgba(0,0,0,.05); }
.sli-home-case-media .sli-home-image { aspect-ratio: 1 / 1; object-fit: cover; }
.sli-home-case-card h3 { margin: 0 0 7px; font-size: 19px; line-height: 1.2; font-weight: 800; }
.sli-home-case-card p { margin: 0 0 12px; color: #666; font-size: 13px; line-height: 1.5; }

.sli-home-readmore { display: inline-block; margin-top: 10px; color: var(--sli-readmore-color, var(--sli-red)) !important; text-transform: uppercase; font-weight: 800; font-size: 11px; text-decoration: none !important; letter-spacing: .07em; }
.sli-home-readmore span { font-size: 18px; vertical-align: -2px; }
.sli-home-readmore:hover { filter: brightness(.82); }
.sli-home-readmore--compact { margin-top: 4px; font-size: 10px; }
.sli-home-hero-readmore { display: inline-block; margin-top: 14px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.75); color: #fff; font-size: 10px; line-height: 1; text-transform: uppercase; font-weight: 800; letter-spacing: .1em; }
.sli-home-hero-readmore b { font-size: 15px; vertical-align: -1px; }
.sli-home-hero-readmore:hover { background: #fff; color: #111; }
.sli-home-feature-ad { width: 100%; max-width: 1320px; margin: 0 auto; padding: 18px 40px; background: #f3f4f6; text-align: center; }
.sli-home-feature-ad span { display: block; color: #999; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 8px; }
.sli-home-feature-ad .sli-home-ad-image { display: block; width: 100%; max-width: 1120px; height: auto; margin: 0 auto; object-fit: contain; }
.sli-home-feature-ad a { display: block; }
.sli-home-feature-ad .sli-home-ad-placeholder { width: 100%; min-height: 110px; background: #fff; }
.sli-home-whitepaper-card { flex: 0 0 calc(100% - 4px); background: #fff; padding: 16px; text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.sli-home-whitepaper-cover { display: block; width: 74%; margin: 0 auto 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.sli-home-whitepaper-cover .sli-home-image { aspect-ratio: 1 / 1; object-fit: cover; transition: transform .45s ease; }
.sli-home-outline-small { display: inline-block; border: 2px solid var(--sli-red); color: var(--sli-red) !important; padding: 8px 13px; font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; text-decoration: none !important; }
.sli-home-outline-small:hover { background: var(--sli-red); color: #fff !important; }
.sli-home-empty { color: #777; margin: 0; padding: 18px 0; }
.sli-home-no-feature { min-height: 420px; display: grid; place-items: center; background: linear-gradient(135deg,#222,#444); color: #fff; padding: 30px; text-align: center; font-size: 18px; font-weight: 700; }
.sli-home .screen-reader-text { position: absolute; }


@media (max-width: 820px) {
	.sli-home-mobile-social-card { display: flex; margin-bottom: 14px; }
	.sli-home-desktop-social-card { display: none; }
	.sli-home-hero-grid { grid-template-columns: 1fr; }
	.sli-home-latest-column { order: 2; }
	.sli-home-hero-carousel { order: 1; }
	.sli-home-right-column { order: 3; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
	.sli-home-social-card { grid-column: 1 / -1; }
	.sli-home-ad--square { margin-top: 0; min-height: 210px; }
	.sli-home-ad--square .sli-home-ad-placeholder { min-height: 180px; }
	.sli-home-card-grid--three { grid-template-columns: 1fr; }
	.sli-home-feature-card { flex-basis: 75%; }
}
@media (max-width: 1199px) {
	.sli-home-shell { max-width: min(var(--sli-shell-max-width, 1320px), calc(100% - 32px)); }
	.sli-home-inner { max-width: 100%; }
}

@media (max-width: 560px) {
	.sli-home-hero-section, .sli-home-content-section { padding: 22px 16px; }
	.sli-home-feature-ad { padding: 14px 16px; }
	.sli-home-hero-image { min-height: 320px; }
	.sli-home-hero-overlay { padding: 75px 18px 24px; }
	.sli-home-hero-overlay h1 { font-size: 27px; }
	.sli-home-feature-card { flex-basis: 88%; }
	.sli-home-case-card { grid-template-columns: 1fr; }
	.sli-home-case-media .sli-home-image { aspect-ratio: 16 / 10; }
	.sli-home-right-column { grid-template-columns: 1fr; }
	.sli-home-social-card { grid-column: auto; }
}


@media (max-width: 820px) {
	.sli-home-right-whitepaper { grid-column: 1 / -1; }
}

.sli-home-center-button--compact { margin-top: 12px; }
.sli-home-center-button--compact a { padding: 8px 12px; font-size: 9px; letter-spacing: .08em; }
.sli-home-latest-excerpt { margin: 5px 0 0; color: #666; font-size: 10px; line-height: 1.35; }

/* SecurityLink category landing pages */
.sli-category-page { background: #f3f4f6; }
.sli-category-page__shell { background: var(--sli-cat-section-bg, #e5e3df); padding: 38px; }
.sli-category-page__header { margin-bottom: 24px; }
.sli-category-page__head-line { border-bottom: 2px solid #c8c8c8; padding-bottom: 5px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sli-category-page__title { margin: 0; display: inline-block; padding: 8px 16px 7px; background: var(--sli-cat-heading-bg, #cc0000); color: var(--sli-cat-heading-text, #fff); font-size: 18px; line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }
.sli-category-page__count { color: #666; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.sli-category-page__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sli-category-page__card { background: #fff; margin: 0; box-shadow: 0 4px 14px rgba(0,0,0,.06); min-width: 0; }
.sli-category-page__media { display: block; overflow: hidden; background: #ddd; }
.sli-category-page__media .sli-home-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.sli-category-page__card:hover .sli-category-page__media .sli-home-image { transform: scale(1.025); }
.sli-category-page__body { padding: 18px 18px 20px; }
.sli-category-page__meta { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 7px; color: #777; font-size: 10px; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.sli-category-page__post-title { margin: 0; font-size: 22px; line-height: 1.18; font-weight: 800; }
.sli-category-page__post-title a { color: #161616; text-decoration: none; }
.sli-category-page__post-title a:hover { color: #cc0000; }
.sli-category-page__description { margin: 10px 0 0; color: #616161; font-size: 13px; line-height: 1.55; }
.sli-category-page__read-more { display: inline-block; margin-top: 13px; color: var(--sli-cat-readmore, #cc0000); text-decoration: none !important; text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.sli-category-page__read-more span { font-size: 17px; vertical-align: -2px; }
.sli-category-page__read-more:hover { filter: brightness(.8); }
.sli-category-page__pagination { margin-top: 32px; display: flex; justify-content: center; }
.sli-category-page__pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; }
.sli-category-page__pagination li { margin: 0; padding: 0; }
.sli-category-page__pagination a, .sli-category-page__pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; background: #fff; border: 1px solid #ccc; color: #222; text-decoration: none; font-size: 12px; font-weight: 800; }
.sli-category-page__pagination .current { background: var(--sli-cat-button-bg, #cc0000); border-color: var(--sli-cat-button-bg, #cc0000); color: var(--sli-cat-button-text, #fff); }
.sli-category-page__pagination a:hover { background: var(--sli-cat-button-bg, #cc0000); border-color: var(--sli-cat-button-bg, #cc0000); color: var(--sli-cat-button-text, #fff); }
.sli-category-page__empty { background: #fff; padding: 60px 25px; text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.sli-category-page__empty h2 { margin: 0 0 8px; font-size: 24px; }
.sli-category-page__empty p { margin: 0; color: #777; }

@media (max-width: 820px) {
	.sli-category-page__shell { padding: 24px 18px; }
	.sli-category-page__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.sli-category-page__shell { padding: 20px 14px; }
	.sli-category-page__head-line { align-items: flex-start; flex-direction: column; }
	.sli-category-page__title { font-size: 15px; }
	.sli-category-page__post-title { font-size: 19px; }
}
