/*
 * styles.css v=82 — Combined CSS for jobs pages
 * Sources: new-lib-style.css (base/layout), practice-common.css (header/footer), styles.css (jobs)
 */

/* === 1. BASE RESET (from new-lib-style.css Tailwind v4 @layer base) === */
*,*::before,*::after,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji";-webkit-tap-highlight-color:transparent}
body{line-height:inherit}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}
a{color:inherit;text-decoration:inherit}
b,strong{font-weight:bolder}
ul,ol,menu{list-style:none}
img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}
img,video{max-width:100%;height:auto}
button,input,select,optgroup,textarea{font:inherit;color:inherit;background-color:transparent;border-radius:0}
::placeholder{opacity:1}
[hidden]{display:none!important}

/* === 2. CSS VARIABLES === */
:root {
  --clr-text:#000;
  --clr-neutral-50:#fff;
  --clr-neutral-100:#fbfbfd;
  --clr-neutral-200:#eeeeee;
  --clr-neutral-300:#d7d7d7;
  --ff-poppins:Verdana,sans-serif;
  --container-width:1400px;
  --container:min(99%,1780px);
}

/* === 3. BODY & LAYOUT (from new-lib-style.css custom) === */
body{min-height:100vh;font-family:Verdana,sans-serif;font-size:15px;background-color:var(--clr-neutral-100);color:var(--clr-text);overflow-x:hidden}
.container,.container-fluid{width:99%;margin-inline:auto}
main,.container-fluid,.row{overflow:unset!important}
.bg-light{position:relative;background:#fff!important;overflow:hidden}
.data-sticky{display:none;position:sticky;top:68px;align-self:start}
.tutorial-content{border:1px solid var(--clr-neutral-300);background-color:var(--clr-neutral-50);border-radius:0;padding:10px 10px;overflow:hidden}
.tutorial-content{padding:1rem!important}

@media(min-width:840px){
  .row{display:grid;grid-template-columns:1fr 24%;gap:1rem}
  .container,.container-fluid{width:var(--container)!important}
  .tutorial-content{padding:1.5rem 1.75rem!important}
}
@media(min-width:864px){.bg-light{padding-block:2rem}.footer{text-align:left}}
@media(max-width:864px){.bg-light{padding-block:0}.footer{text-align:center}}
@media(min-width:840px){.data-sticky{display:block}}
@media(min-width:1200px){.row{grid-template-columns:300px 1fr 24%}body{font-size:15px}}
@media(min-width:1400px){.row{grid-template-columns:350px 1fr 22%;gap:1.25rem}body{font-size:16px!important;--container:min(99%,1780px)!important}}

/* === 4. TOPBAR (from practice-common.css — exact values) === */
.tp-topbar{background:#000;padding:8px 20px}
.tp-topbar-inner-home{max-width:1400px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}
.tp-topbar-inner-page{max-width:100%; width: 100%; padding-left: 24px; padding-right: 24px;display:flex;align-items:center;justify-content:space-between}
.tp-topbar-left{display:flex;align-items:center;gap:24px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}
.tp-topbar-left::-webkit-scrollbar{display:none}
.tp-topbar-link{display:flex;align-items:center;gap:6px;font-size:13px;color:#fff;text-decoration:none;transition:color .2s}
.tp-topbar-link i{font-size:14px}
.tp-topbar-link span{white-space:nowrap}
.tp-topbar-link:hover{color:#ccc}
.tp-topbar-right{display:flex;align-items:center;gap:8px;flex-shrink:0}
.tp-social-link{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;color:#fff;text-decoration:none;transition:opacity .2s}
.tp-social-link:hover{opacity:.8}
.tp-social-link i{font-size:14px}
.tp-theme-toggle{background:none;border:none;color:#fff;font-size:16px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:opacity .2s}
.tp-theme-toggle:hover{opacity:.8}
.tp-social-fb{background:#1877f2}.tp-social-x{background:#000}.tp-social-yt{background:#ff0000}.tp-social-li{background:#0a66c2}
.tp-social-ig{background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888)}

/* === 5. HEADER (from practice-common.css — exact values) === */
.tp-header{background:#fff;padding:12px 20px;position:sticky;top:0;z-index:1000}
.tp-header-inner-home{max-width:1400px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;position:relative}
.tp-header-inner-page{max-width:100%; width: 100%; padding-left: 24px; padding-right: 24px;display:flex;align-items:center;justify-content:space-between}
.tp-header-left{display:flex;align-items:center;gap:24px}
.tp-header-right{display:flex;align-items:center;gap:24px}
.tp-logo-desktop{height:42px}.tp-logo-mobile{display:none;height:32px}
.tp-categories-wrapper{position:static}
.tp-categories-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;background:none;border:none;font-size:14px;font-weight:500;color:#333;cursor:pointer;white-space:nowrap;font-family:inherit}
.tp-categories-btn i{font-size:14px}
.tp-categories-dropdown{position:absolute;top:calc(100% + 12px);left:0;right:0;background:#fff;border:0px solid #e5e5e5;border-radius:0 0 12px 12px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:30px 40px;display:none;z-index:1001}
.tp-categories-dropdown.active{display:block}
.category-menu-adjustment{top: calc(100% + 11px);left: 20px;right: 25px;}
.tp-categories-close{position:absolute;top:15px;right:20px;width:36px;height:36px;background:#f5f5f5;border:1px solid #e5e5e5;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px;color:#666;padding:0}
.tp-categories-header-title{margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #eee}
.tp-categories-header-title h2{font-size:28px;font-weight:700;color:#333}
.tp-categories-header-title h2 span{color:#40A944}
.tp-categories-header-title p{font-size:13px;color:#666;margin-top:4px}
.tp-categories-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px 30px}
.tp-cat-link{display:block;padding:10px 14px;font-size:13px;color:#333;background:#f8f9fa;border-radius:8px;text-decoration:none;border:1px solid #eee;transition:all .2s}
.tp-cat-link:hover{background:#e8f5e9;border-color:#40A944;color:#2e7d32}
.tp-cat-link-all{text-align:center;font-weight:600;background:#40A944;color:#fff;border-radius:8px;padding:10px 14px;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-size:13px}
.tp-cat-link-all:hover{background:#369b3d;color:#fff}
.tp-search-wrapper{position:relative;flex:1;max-width:500px;width:429px}
.tp-search-wrapper .tp-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:14px;color:#999}
.tp-search-input{width:100%;padding:10px 16px 10px 40px;border:1px solid #e5e5e5;border-radius:8px;font-size:14px;font-family:inherit;background:#fafafa;transition:border-color .2s,background .2s}
.tp-search-input::placeholder{color:#999}
.tp-search-input:focus{outline:none;border-color:#40A944;background:#fff}
.tp-nav-link{font-size:14px;font-weight:500;color:#333;text-decoration:none;display:flex;align-items:center;gap:6px;white-space:nowrap}
.tp-nav-link i{color:#40A944}.tp-nav-link:hover{color:#40A944}
.tp-login-btn{background:#40A944;color:#fff;padding:10px 24px;border-radius:6px;font-size:14px;font-weight:600;text-decoration:none;transition:background .2s}
.tp-login-btn:hover{background:#369b3d}

@media(max-width:1200px){.tp-categories-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.tp-topbar-left{gap:16px}.tp-topbar-right{display:none}}
@media(max-width:1000px){.tp-logo-desktop{display:none}.tp-logo-mobile{display:block;height:32px}}
@media(max-width:768px){.tp-header-right .tp-nav-link{display:none}.tp-search-wrapper{max-width:250px}.tp-categories-grid{grid-template-columns:repeat(2,1fr);gap:8px 20px}}
@media(max-width:480px){.tp-categories-btn span{display:none}.tp-categories-grid{grid-template-columns:1fr}.tp-header{padding:10px 15px}.tp-header-left{gap:12px}.tp-topbar-left{gap:12px}.tp-topbar{padding:8px 12px}}
@media(max-width:360px){.tp-search-wrapper{max-width:180px}.tp-social-link{width:24px;height:24px}.tp-social-link i{font-size:12px}}
@media(max-width:575px){.tp-search-wrapper{width:auto;max-width:none;background:transparent;border:none;padding:0;display:flex;align-items:center;justify-content:center}.tp-search-wrapper .tp-search-icon{position:static;transform:none;font-size:20px;color:#333;padding:5px;cursor:pointer}.tp-search-input{display:none}.tp-header-left{gap:15px;justify-content:space-between}.tp-header{padding:12px 15px}}

/* Jobs page: remove gap between main and footer */
.bg-light+.footer{margin-top:0}
.bg-light{padding-bottom:0!important}
.jobs-search-collapsed .tp-search-wrapper{width:auto;max-width:none;flex:0 0 auto;background:transparent;border:none;padding:0;display:flex;align-items:center;position:relative}
.jobs-search-collapsed .tp-search-wrapper .tp-search-icon{position:static;transform:none;font-size:20px;color:#333;padding:5px;cursor:pointer}
.jobs-search-collapsed .tp-search-wrapper .tp-search-input{display:none;position:absolute;right:0;top:50%;transform:translateY(-50%);width:280px;padding:10px 16px 10px 40px;border:1px solid #e5e5e5;border-radius:8px;font-size:14px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:100}
.jobs-search-collapsed .tp-search-wrapper.search-open .tp-search-input{display:block}
.jobs-search-collapsed .tp-search-wrapper.search-open .tp-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:14px;color:#999;z-index:101}
@media(min-width:576px) and (max-width:768px){.tp-search-wrapper{max-width:200px}.tp-categories-grid{grid-template-columns:repeat(3,1fr)}}

/* === 6. FOOTER (from practice-common.css — exact values) === */
.footer{background:#f5f5f5;padding:40px 20px 0;border-top:1px solid #e5e5e5}
.footer .container{max-width:1400px;margin:0 auto}
.footer__list{padding:20px 0 30px;list-style:none;text-align:center}
.footer__list li{display:inline-flex;align-items:center;padding:0 10px;position:relative}
.footer__list li:first-child{padding-left:0}
.footer__list li:last-child{padding-right:0}
.footer__list li:not(:last-child)::after{content:'|';position:absolute;right:0;color:#ccc;font-weight:300}
.footer__list li a{color:#666;text-decoration:none;font-size:11px;text-transform:uppercase;letter-spacing:.3px;font-weight:500;transition:color .2s}
.footer__list li a:hover{color:#00a651}
.footer__socials{display:flex;align-items:center;justify-content:space-between;padding:30px 0;border-top:1px solid #e0e0e0}
.footer__logo{height:32px;filter:brightness(0)}
.footer__logo img{height:100%}
.footer__social-icons{display:flex;gap:12px}
.footer__social-icons a{font-size:18px;color:#555;transition:color .2s}
.footer__social-icons a:hover{color:#40A944}
.footer__apps{display:flex;gap:12px}
.footer__apps img{height:36px}
.footer__legal-wrapper{background:#eee;padding:25px 0}
.footer__legal-wrapper .container{max-width:1400px;margin:0 auto}
.footer__legal{text-align:center}
.footer__legal p{color:#666;font-size:13px;margin:0 0 8px;line-height:1.5}
.footer__legal a{color:#555;text-decoration:none}
.footer__legal a:hover{color:#40A944}
.footer__copyright{font-size:12px;color:#777}
@media(max-width:768px){.footer__socials{flex-direction:column;text-align:center}.footer__legal{flex-direction:column;text-align:center}}
@media(max-width:600px){.footer__socials{flex-direction:column;gap:20px}.footer__list{justify-content:center}}

/* === 7. JOBS UI (exact copy from original /jobs/styles.css) === */
:root {
  --jl-primary: #6366f1;
  --jl-primary-light: #6366f110;
  --jl-primary-lighter: #6366f108;
  --jl-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --jl-green-bg: #dcfce7; --jl-green-text: #166534;
  --jl-blue-bg: #dbeafe; --jl-blue-text: #1d4ed8;
  --jl-yellow-bg: #fef3c7; --jl-yellow-text: #92400e;
  --jl-purple-bg: #ede9fe; --jl-purple-text: #6d28d9;
  --jl-orange-bg: #ffedd5; --jl-orange-text: #c2410c;
  --jl-red-bg: #fef2f2; --jl-red-text: #dc2626;
  --jl-gray-50: #f9fafb; --jl-gray-100: #f3f4f6; --jl-gray-200: #e5e7eb;
  --jl-gray-300: #d1d5db; --jl-gray-400: #9ca3af; --jl-gray-500: #6b7280;
  --jl-gray-600: #4b5563; --jl-gray-700: #374151; --jl-gray-800: #1f2937; --jl-gray-900: #111827;
  --jl-radius: 12px; --jl-radius-sm: 8px; --jl-radius-full: 9999px;
  --jl-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --jl-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --jl-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
}

.jl-panel { display:flex;flex-direction:column;max-height:calc(100vh - 112px);overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;position:sticky;top:112px;min-width:530px;max-width:530px;}
.jl-header { padding:16px 16px 16px; background:#fff;flex-shrink:0;z-index:10; }
.jl-header-row { display:flex;align-items:center;justify-content:space-between;margin-bottom:12px; }
.jl-header-left { display:flex;align-items:center;gap:10px;flex-wrap:nowrap;min-width:0; }
.jl-title { font-size:20px;font-weight:700;color:var(--jl-gray-900);display:flex;align-items:center;gap:8px;white-space:nowrap;margin:0; }
.jl-pills { display:flex;gap:4px; }
.jl-pill { padding:6px 12px;border-radius:var(--jl-radius-full);font-size:12px;font-weight:500;border:none;cursor:pointer;transition:all 0.2s;background:var(--jl-gray-100);color:var(--jl-gray-600);text-decoration:none; }
.jl-pill:hover { background:var(--jl-gray-200); }
.jl-pill.active { background:var(--jl-gradient);color:#fff; }
.jl-cat-wrap { position:relative; }
.jl-cat-btn { display:flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--jl-gray-200);border-radius:var(--jl-radius-full);font-size:12px;font-weight:500;background:#fff;cursor:pointer;color:var(--jl-gray-600);transition:all 0.2s;white-space:nowrap;max-width:180px; }
.jl-cat-btn:hover { background:var(--jl-gray-50); }
.jl-cat-btn svg { flex-shrink:0; }
.jl-cat-btn span { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.jl-cat-menu { display:none;position:absolute;top:100%;left:0;margin-top:4px;width:220px;background:#fff;border:1px solid var(--jl-gray-200);border-radius:var(--jl-radius);box-shadow:var(--jl-shadow-lg);z-index:20;max-height:320px;overflow-y:auto; }
.jl-cat-menu.open { display:block; }
.jl-cat-option { display:block;width:100%;text-align:left;padding:8px 16px;font-size:13px;border:none;background:none;cursor:pointer;color:var(--jl-gray-700);transition:background 0.15s; }
.jl-cat-option:hover { background:var(--jl-gray-50); }
.jl-cat-option.active { background:#eef2ff;color:var(--jl-primary); }
.jl-search-wrap { position:relative;display:block; }
.jl-search-icon { position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--jl-gray-400);pointer-events:none;z-index:1; }
.jl-search { width:100%;padding:10px 16px 10px 36px;border:1px solid var(--jl-gray-200);border-radius:var(--jl-radius);font-size:13px;outline:none;transition:border-color 0.2s;box-sizing:border-box; }
.jl-search:focus { border-color:var(--jl-primary); }
.jl-country-filters{display:flex;justify-content:center;gap:20px;padding:10px 0 4px}
.jl-country-check{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:14px;font-weight:600;color:var(--jl-gray-700);user-select:none}
.jl-country-check input[type=checkbox]{width:18px;height:18px;accent-color:var(--jl-primary);cursor:pointer;margin:0}
.jl-country-check span{white-space:nowrap}
.jl-list { flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px; }
.jl-empty { display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 16px;text-align:center; }
.jl-empty-icon { width:80px;height:80px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:20px;background:var(--jl-primary-light); }
.jl-empty h3 { font-size:18px;font-weight:600;color:var(--jl-gray-800);margin:0 0 8px; }
.jl-empty p { font-size:13px;color:var(--jl-gray-500);max-width:280px;margin:0 0 16px; }
.jl-clear-btn { padding:8px 16px;border-radius:var(--jl-radius-sm);font-size:13px;font-weight:500;border:none;cursor:pointer;background:var(--jl-primary-light);color:var(--jl-primary);transition:opacity 0.2s; }
.jl-clear-btn:hover { opacity:0.8; }
.jl-card { position:relative;border-radius:var(--jl-radius);border:1px solid var(--jl-gray-200);padding:20px;background:#fff;cursor:pointer;transition:all 0.2s;box-shadow:var(--jl-shadow-sm); }
.jl-card:hover { box-shadow:var(--jl-shadow-md);border-color:var(--jl-primary); }
.jl-card.selected { background:var(--jl-primary-lighter);border-color:var(--jl-primary);box-shadow:var(--jl-shadow-md); }
.jl-card-top { display:flex;align-items:flex-start;gap:12px;margin-bottom:12px; }
.jl-avatar { width:44px;height:44px;border-radius:var(--jl-radius-sm);flex-shrink:0;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;color:#fff;overflow:hidden; }
.jl-avatar img { width:100%;height:100%;object-fit:contain;background:var(--jl-gray-50); }
.jl-card-info { flex:1;min-width:0; }
.jl-card-title { font-size:15px;font-weight:600;color:var(--jl-gray-900);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0; }
.jl-card-company { font-size:13px;color:var(--jl-gray-600);margin:2px 0; }
.jl-card-location { font-size:11px;color:var(--jl-gray-400);display:flex;align-items:center;gap:4px;margin:0; }
.jl-badges { display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px; }
.jl-badge { display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:var(--jl-radius-full);font-size:11px;font-weight:600; }
.jl-badge-salary { background:var(--jl-green-bg);color:var(--jl-green-text); }
.jl-badge-fulltime { background:var(--jl-blue-bg);color:var(--jl-blue-text); }
.jl-badge-parttime { background:var(--jl-yellow-bg);color:var(--jl-yellow-text); }
.jl-badge-intern { background:var(--jl-purple-bg);color:var(--jl-purple-text); }
.jl-badge-contract { background:var(--jl-orange-bg);color:var(--jl-orange-text); }
.jl-badge-remote { background:var(--jl-red-bg);color:var(--jl-red-text); }
.jl-badge-category { background:var(--jl-primary-light);color:var(--jl-primary);font-weight:500; }
.jl-card-footer { display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid var(--jl-gray-100); }
.jl-card-meta { display:flex;align-items:center;gap:12px; }
.jl-card-meta span { font-size:11px;color:var(--jl-gray-400);display:flex;align-items:center;gap:4px; }
.jl-card-actions { display:flex;align-items:center;gap:8px; }
.jl-save-btn { width:32px;height:32px;border-radius:var(--jl-radius-sm);border:1px solid var(--jl-gray-200);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--jl-gray-400);transition:all 0.2s; }
.jl-save-btn:hover { border-color:#fca5a5;color:#f87171; }
.jl-save-btn.saved { border-color:#fca5a5;background:#fef2f2;color:#ef4444; }
.jl-detail-btn { padding:6px 12px;border-radius:var(--jl-radius-sm);border:none;background:var(--jl-gradient);color:#fff;font-size:12px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px;transition:opacity 0.2s;box-shadow:var(--jl-shadow-sm); }
.jl-detail-btn:hover { opacity:0.9; }
.jl-detail-panel { padding:0;background:#fff; }
.jl-detail-empty { display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100vh - 112px);padding:40px;text-align:center;color:var(--jl-gray-400); }
.jl-detail-empty h3 { font-size:18px;font-weight:600;color:var(--jl-gray-600);margin:0 0 8px; }
.jl-detail-empty p { font-size:13px;margin:0; }
.jl-detail-header { padding:24px;border-bottom:1px solid var(--jl-gray-200);background:var(--jl-gray-50);border-radius:var(--jl-radius);margin:16px;border:1px solid var(--jl-gray-200); }
.jl-detail-header-top { display:flex;align-items:flex-start;gap:16px; }
.jl-detail-info { flex:1;min-width:0; }
.jl-detail-badges-top { display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px; }
.jl-detail-title { font-size:22px!important;font-weight:700;color:var(--jl-gray-900);margin:0 0 4px;line-height:1.3;text-align:left!important; }
.jl-detail-company { font-size:15px;color:var(--jl-gray-600);margin:0 0 2px; }
.jl-detail-location { font-size:13px;color:var(--jl-gray-400);display:flex;align-items:center;gap:4px; }
.jl-detail-header-actions { display:flex;align-items:center;gap:10px;flex-shrink:0; }
.jl-apply-btn { padding:8px 20px;border-radius:var(--jl-radius-sm);border:none;background:var(--jl-gradient);color:#fff;font-size:13px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;transition:opacity 0.2s;box-shadow:var(--jl-shadow-md);text-decoration:none; }
.jl-apply-btn:hover { opacity:0.9; }
.jl-detail-meta-bar { display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--jl-gray-200);margin-top:20px; }
.jl-detail-meta-bar-item { padding:16px;text-align:center;border-right:1px solid var(--jl-gray-200); }
.jl-detail-meta-bar-item:last-child { border-right:none; }
.jl-detail-meta-bar-item .meta-value { font-size:15px;font-weight:700;color:var(--jl-gray-800);display:block;margin-bottom:2px; }
.jl-detail-meta-bar-item .meta-label { font-size:12px;color:var(--jl-gray-400); }
.jl-detail-body { padding:24px; }
.jl-detail-section { margin-bottom:24px; }
.jl-detail-section h4 { font-size:16px;font-weight:600;color:var(--jl-gray-900);margin:0 0 12px;display:flex;align-items:center;gap:8px; }
.jl-detail-section h4 svg { color:var(--jl-primary); }
.jl-desc-header { display:flex;align-items:center;gap:12px;margin-bottom:16px; }
.jl-desc-header h4 { margin:0; }
.jl-desc-logo { width:44px;height:44px;border-radius:var(--jl-radius-sm);flex-shrink:0;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;color:#fff;overflow:hidden; }
.jl-desc-logo img { width:100%;height:100%;object-fit:contain;background:var(--jl-gray-50); }
.jl-detail-section p,.jl-detail-section li { font-size:14px;color:var(--jl-gray-600);line-height:1.7; }
.jl-detail-desc { word-break:break-word; }
.jl-desc-inline-logo { width:48px;height:48px;object-fit:contain;border-radius:var(--jl-radius-sm);float:right;margin:0 0 12px 16px;background:var(--jl-gray-50);border:1px solid var(--jl-gray-200);padding:4px; }
.jl-detail-desc p { font-size:14px;color:var(--jl-gray-600);line-height:1.7;margin:0 0 12px; }
.jl-detail-desc p:last-child { margin-bottom:0; }
.jl-detail-desc h2 { font-size:18px;font-weight:700;color:var(--jl-gray-900);margin:28px 0 12px;padding-bottom:8px;border-bottom:2px solid var(--jl-primary);display:inline-block;text-align:left!important; }
.jl-detail-desc h2:first-child { margin-top:0; }
.jl-detail-desc h3 { font-size:15px;font-weight:600;color:var(--jl-gray-800);margin:20px 0 8px; }
.jl-detail-desc strong { color:var(--jl-gray-800); }
.jl-detail-desc em { color:var(--jl-gray-500);font-style:italic; }
.jl-detail-desc ul { margin:0 0 16px 0;padding-left:0;list-style:none; }
.jl-detail-desc ul li { font-size:14px;color:var(--jl-gray-600);line-height:1.7;margin-bottom:8px;padding-left:20px;position:relative; }
.jl-detail-desc ul li::before { content:'';position:absolute;left:0;top:10px;width:6px;height:6px;border-radius:50%;background:var(--jl-primary); }
.jl-detail-desc ol { margin:0 0 16px 0;padding-left:24px; }
.jl-detail-desc ol li { font-size:14px;color:var(--jl-gray-600);line-height:1.7;margin-bottom:8px; }
.jl-desc-heading { font-size:15px;font-weight:600;color:var(--jl-gray-800);margin:20px 0 8px;line-height:1.4; }
.jl-desc-heading:first-child { margin-top:0; }
.jl-desc-list { margin:0 0 12px 0;padding-left:20px; }
.jl-desc-list li { font-size:14px;color:var(--jl-gray-600);line-height:1.7;margin-bottom:4px; }
.jobs-layout-row { display:flex;width:100%; }
.jobs-layout-row > .tutorial-wrapper { flex:1;min-width:0; margin-bottom: 30px;}
.jobs-layout-row > .tutorial-wrapper .tutorial-content{height:100%; border-radius:var(--jl-radius);box-sizing:border-box}

@keyframes jl-spin { to { transform:rotate(360deg); } }
.jl-spin { animation:jl-spin 1s linear infinite; }
a.jl-card { text-decoration:none;color:inherit;display:block; }
.jl-page-info { text-align:center;padding:12px 16px 4px;font-size:12px;color:var(--jl-gray-400);font-weight:500; }
.jl-pagination { display:flex;align-items:center;justify-content:center;gap:4px;padding:8px 16px 16px; }
.jl-pagination a, .jl-pagination span { display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 8px;border-radius:8px;font-size:12px;font-weight:600;text-decoration:none;color:var(--jl-gray-500);border:1px solid var(--jl-gray-200);background:#fff;transition:all .15s;cursor:pointer; }
.jl-pagination a:hover { background:var(--jl-primary);color:#fff;border-color:var(--jl-primary); }
.jl-pagination .jl-page-active { background:var(--jl-primary);color:#fff;border-color:var(--jl-primary);pointer-events:none;box-shadow:0 2px 6px rgba(99,102,241,.3); }
.jl-pagination .jl-page-dots { pointer-events:none;color:var(--jl-gray-400);border:none;background:none;min-width:24px; }
.jl-pagination .jl-page-nav { font-size:12px;gap:4px;padding:0 12px;font-weight:600; }
.jl-pagination .jl-page-nav.disabled { opacity:.35;pointer-events:none;cursor:default; }

/* === 8. JOBS PAGE OVERRIDES (from original inline <style>) === */
.footer .container,.footer__legal-wrapper .container,.footer__socials.container{max-width:1400px;width:100%;padding-left:24px;padding-right:24px}
ul.footer__list{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:0!important;grid-template-columns:none!important;columns:unset!important;max-width:fit-content!important;margin-left:auto!important;margin-right:auto!important;margin-bottom:0!important;margin-top:0!important;padding-top:0!important;padding-bottom:25px!important}
ul.footer__list li{width:auto!important;flex:0 0 auto!important;break-inside:unset!important}
.footer__socials{padding-top:25px!important;padding-bottom:25px!important}

/* Panel toggle button - hidden by default, shown below 1400px */
.jl-panel-toggle{display:none;align-items:center;justify-content:center;width:36px;height:36px;padding:0;background:none;border:none;font-size:20px;color:#333;cursor:pointer;transition:color .2s;flex-shrink:0}
.jl-panel-toggle:hover{color:#6366f1}

/* Panel close button - hidden on desktop, shown when panel is slide-in */
.jl-panel-close{display:none;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#f3f4f6;border:1px solid var(--jl-gray-200);border-radius:50%;font-size:16px;color:var(--jl-gray-500);cursor:pointer;transition:all .2s;flex-shrink:0;position:absolute;right:0;top:0;z-index:5}
.jl-panel-close:hover{background:var(--jl-gray-200);color:var(--jl-gray-700)}
.jl-header-row{position:relative}

/* Panel overlay */
.jl-panel-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:1100;opacity:0;transition:opacity .3s}
.jl-panel-overlay.open{display:block;opacity:1}

/* Stack detail header on small screens */
@media(max-width:576px){
  .jl-detail-header-top{flex-direction:column;gap:12px}
  .jl-detail-header-actions{width:100%;justify-content:flex-start}
  .jl-detail-header{padding:16px;margin:12px}
  .jl-detail-meta-bar{grid-template-columns:repeat(2,1fr)}
  .jl-detail-meta-bar-item:nth-child(2){border-right:none}
  .jl-detail-title{font-size:18px!important}
  .jl-detail-company{font-size:13px}
  .jl-detail-location{font-size:12px}
}

/* Reduce padding/font sizes for mobile readability */
@media(max-width:576px){
  .jl-detail-body{padding:16px}
  .jl-detail-section h4{font-size:14px}
  .jl-detail-section p,.jl-detail-section li{font-size:13px}
  .jl-detail-desc p{font-size:13px}
  .jl-detail-desc h2{font-size:16px}
  .jl-detail-desc h3{font-size:14px}
  .jl-detail-desc ul li{font-size:13px}
  .jl-detail-panel-header h2{font-size:17px!important}
  .tutorial-content{padding:0.5rem!important}
  .jl-header{padding:12px}
  .jl-list{padding:12px}
  .jl-card{padding:14px}
  .jl-card-title{font-size:14px}
  .jl-title{font-size:17px}
}
/* === 9. JOBS LANDING PAGE (jlp-) STYLES === */
:root{--jlp-bg:#fdf8ee;--jlp-green:#40A944;--jlp-green-dark:#358a39;--jlp-green-light:#e8f5e9;--jlp-text:#1a2332;--jlp-muted:#5f6b7a;--jlp-border:#e2e8f0;--jlp-radius:14px;--jlp-shadow-hover:0 4px 16px rgba(0,0,0,.1),0 8px 32px rgba(0,0,0,.06)}
.jlp-body{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;background:var(--jlp-bg);color:var(--jlp-text);-webkit-font-smoothing:antialiased}
.jlp-card{background:#fff;border-radius:16px;padding:32px;margin-bottom:24px;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.jlp-card-flush{background:#fff;border-radius:16px;margin-bottom:24px;box-shadow:0 1px 3px rgba(0,0,0,.06);overflow:hidden}
/* Override global site styles that break landing page layout */
/* jlp-body layout resets (grid wrappers removed, these are no longer needed) */

/* HERO */
.jlp-hero{background:linear-gradient(135deg,#1a2332 0%,#0f4a2b 50%,#1a5c34 100%);padding:80px 0 60px;position:relative;overflow:hidden;border-radius:16px 16px 0 0}
.jlp-hero::before{content:'';position:absolute;top:-50%;right:-20%;width:600px;height:600px;background:radial-gradient(circle,rgba(64,169,68,.15) 0%,transparent 70%);border-radius:50%}
.jlp-hero::after{content:'';position:absolute;bottom:-30%;left:-10%;width:400px;height:400px;background:radial-gradient(circle,rgba(99,102,241,.1) 0%,transparent 70%);border-radius:50%}
.jlp-hero-inner{max-width:1400px;margin:0 auto;padding:0 24px;position:relative;z-index:1;display:flex;align-items:center;gap:48px}
.jlp-hero-left{flex:1;min-width:0}
.jlp-hero-right{flex:0 0 420px;position:relative;height:420px}

/* Logo constellation */
.jlp-logo-constellation{position:relative;width:100%;height:100%}

/* Central glow */
.jlp-logo-constellation::before{content:'';position:absolute;top:50%;left:50%;width:200px;height:200px;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(64,169,68,.2) 0%,transparent 70%);border-radius:50%;animation:lcPulse 4s ease-in-out infinite}

/* Orbit rings */
.jlp-orbit{position:absolute;top:50%;left:50%;border:1px solid rgba(255,255,255,.06);border-radius:50%;transform:translate(-50%,-50%)}
.jlp-orbit-1{width:220px;height:220px}
.jlp-orbit-2{width:360px;height:360px}

/* Logo cards */
.jlp-brand{position:absolute;background:#fff;border:none;border-radius:16px;display:flex;align-items:center;justify-content:center;transition:transform .4s,box-shadow .4s;cursor:default;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.2)}
.jlp-brand:hover{transform:scale(1.1)!important;box-shadow:0 8px 40px rgba(0,0,0,.35)}
.jlp-brand svg{display:block}

/* Large cards */
.jlp-brand.lg{width:150px;height:70px;padding:14px 20px}
.jlp-brand.lg svg{width:100%;height:100%}

/* Medium cards */
.jlp-brand.md{width:135px;height:62px;padding:12px 18px}
.jlp-brand.md svg{width:100%;height:100%}

/* Small cards */
.jlp-brand.sm{width:120px;height:56px;padding:10px 16px}
.jlp-brand.sm svg{width:100%;height:100%}

/* Positions - scattered constellation */
.jlp-b-linkedin{top:20px;left:30px;animation:lfFloat 7s ease-in-out infinite}
.jlp-b-indeed{top:10px;right:20px;animation:lfFloat 7s ease-in-out 1.2s infinite}
.jlp-b-naukri{top:120px;left:0;animation:lfFloat 8s ease-in-out 0.6s infinite}
.jlp-b-glassdoor{top:115px;right:0;animation:lfFloat 7s ease-in-out 2s infinite}
.jlp-b-google{top:50%;left:50%;transform:translate(-50%,-50%);animation:lfFloat 6s ease-in-out 0.3s infinite}
.jlp-b-monster{top:230px;left:15px;animation:lfFloat 8s ease-in-out 1.5s infinite}
.jlp-b-shine{top:235px;right:15px;animation:lfFloat 7s ease-in-out 2.5s infinite}
.jlp-b-foundit{bottom:10px;left:50%;transform:translateX(-50%);animation:lfFloat 8s ease-in-out 3s infinite}

/* Decorative connection dots */
.jlp-dot{position:absolute;width:6px;height:6px;background:rgba(64,169,68,.4);border-radius:50%;animation:lcPulse 3s ease-in-out infinite}
.jlp-dot-1{top:120px;left:110px;animation-delay:0s}
.jlp-dot-2{top:250px;right:100px;animation-delay:1s}
.jlp-dot-3{top:80px;right:130px;animation-delay:2s}
.jlp-dot-4{bottom:80px;left:140px;animation-delay:1.5s}

@keyframes lfFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes lcPulse{0%,100%{opacity:1}50%{opacity:.4}}
.jlp-hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(250,204,21,.15);border:1px solid rgba(250,204,21,.4);border-radius:100px;padding:6px 16px;font-size:13px;color:#fde68a;margin-bottom:24px;backdrop-filter:blur(8px)}
.jlp-hero-badge i{color:#facc15;font-size:10px}
.jlp-hero h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(32px,5vw,56px);font-weight:700;color:#fff;line-height:1.15;margin:0 0 16px;max-width:700px}
.jlp-hero h1 span{color:#facc15}
.jlp-hero-sub{font-size:clamp(15px,2vw,18px);color:rgba(255,255,255,.7);max-width:560px;line-height:1.6;margin:0 0 36px}
.jlp-sources{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:32px}
.jlp-sources-label{font-size:12px;color:rgba(255,255,255,.45);text-transform:uppercase;letter-spacing:1.5px;font-weight:500}
.jlp-source-pill{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:100px;padding:5px 14px;font-size:12px;color:rgba(255,255,255,.75);font-weight:500}
.jlp-source-pill i{font-size:14px}
.jlp-source-pill.linkedin i{color:#0a66c2}.jlp-source-pill.indeed i{color:#2164f3}.jlp-source-pill.naukri i{color:#4a90d9}.jlp-source-pill.glassdoor i{color:#0caa41}
.jlp-stats{display:flex;gap:40px;flex-wrap:wrap}
.jlp-stat-num{font-family:'Playfair Display',Georgia,serif;font-size:32px;font-weight:700;color:#fff;line-height:1}
.jlp-stat-label{font-size:13px;color:rgba(255,255,255,.5);margin-top:4px}

/* SEARCH */
.jlp-search-wrap{max-width:1400px;margin:0 auto;padding:16px 24px 24px;position:relative;z-index:10}
.jlp-search-bar{display:flex;align-items:center;background:#fff;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.1);padding:6px;gap:4px}
.jlp-search-bar input{flex:1;border:none;outline:none;padding:14px 20px;font-size:15px;font-family:inherit;color:var(--jlp-text);background:transparent;min-width:0}
.jlp-search-bar input::placeholder{color:#9ca3af}
.jlp-search-bar button{background:var(--jlp-green);color:#fff;border:none;border-radius:12px;padding:14px 28px;font-size:15px;font-weight:600;font-family:inherit;cursor:pointer;white-space:nowrap;transition:background .2s}
.jlp-search-bar button:hover{background:var(--jlp-green-dark)}
.jlp-search-bar button i{margin-right:6px}
.jlp-search-bar{position:relative}
.jlp-card-flush{overflow:visible!important}
.jlp-search-wrap{position:relative;z-index:10}
.jlp-search-wrap .jlp-search-bar{box-shadow:0 4px 24px rgba(0,0,0,.12),0 1px 4px rgba(0,0,0,.08)!important}
.jlp-search-bar.jlp-dd-open{border-radius:16px 16px 0 0!important;box-shadow:0 4px 20px rgba(0,0,0,.1),0 8px 32px rgba(0,0,0,.08)!important}
.jlp-search-dropdown{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-radius:0 0 14px 14px;box-shadow:0 8px 32px rgba(0,0,0,.15);z-index:100;max-height:560px;overflow-y:auto;border-top:1px solid #e5e7eb;margin-top:0}
.jlp-search-dropdown.active{display:block}
.jlp-sr-item{display:flex;align-items:center;gap:12px;padding:10px 20px;cursor:pointer;text-decoration:none;color:inherit;transition:background .12s;border-bottom:1px solid #f5f5f5}
.jlp-sr-item:last-of-type{border-bottom:none}
.jlp-sr-item:hover,.jlp-sr-item.jlp-sr-active{background:#f0fdf4}
.jlp-sr-icon{width:36px;height:36px;min-width:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#fff;overflow:hidden}
.jlp-sr-icon img{width:100%;height:100%;object-fit:contain}
.jlp-sr-body{flex:1;min-width:0}
.jlp-sr-title{font-weight:600;font-size:13.5px;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jlp-sr-sub{font-size:12px;color:#64748b;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jlp-sr-right{text-align:right;flex-shrink:0;min-width:70px}
.jlp-sr-loc{font-size:11px;color:#94a3b8;white-space:nowrap}
.jlp-sr-tag{font-size:10px;padding:2px 6px;border-radius:4px;background:#f1f5f9;color:#475569;font-weight:500;display:inline-block;margin-top:2px}
.jlp-sr-tag.remote{background:#dcfce7;color:#166534}
.jlp-sr-footer{padding:14px 20px;text-align:center;border-top:1px solid #e5e7eb;background:#fafafa;border-radius:0 0 14px 14px}
.jlp-sr-footer a{color:#40A944;font-weight:600;font-size:14px;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.jlp-sr-footer a:hover{text-decoration:underline}
.jlp-sr-empty{padding:28px 20px;text-align:center;color:#94a3b8;font-size:14px}
.jlp-sr-count{padding:8px 20px;font-size:12px;color:#94a3b8;border-bottom:1px solid #f1f5f9;background:#fafafa}

/* SECTION */
.jlp-section{max-width:1400px;margin:0 auto;padding:0}
.jlp-section-header{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 24px;gap:16px;flex-wrap:wrap}
.jlp-section-title{font-family:'Playfair Display',Georgia,serif;font-size:26px;font-weight:700;margin:0}
.jlp-section-title span{color:var(--jlp-green)}
.jlp-view-all{font-size:14px;font-weight:600;color:var(--jlp-green);text-decoration:none;display:inline-flex;align-items:center;gap:4px;transition:gap .2s}
.jlp-view-all:hover{gap:8px}

/* CATEGORIES */
.jlp-cats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px}
.jlp-cats-row{display:flex;flex-direction:row;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:4px}
.jlp-cats-row::-webkit-scrollbar{display:none}
.jlp-cats-row .jlp-cat-card{flex:0 0 160px;scroll-snap-align:start}
.jlp-cat-nav{display:flex;align-items:center;gap:8px}
.jlp-cat-nav-btn{width:32px;height:32px;border-radius:8px;border:1px solid #e5e7eb;background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:13px;color:#374151;transition:all .2s}
.jlp-cat-nav-btn:hover{border-color:var(--jlp-green);color:var(--jlp-green);background:#f0fdf4}
.jlp-cat-card{background:var(--jlp-bg);border:1px solid #e8e0d0;border-radius:12px;padding:20px 16px 16px;text-decoration:none;color:var(--jlp-text);transition:all .2s;display:flex;flex-direction:column;gap:10px;margin-top:6px}
.jlp-cat-card:hover{background:#fff;border-color:var(--jlp-green);box-shadow:var(--jlp-shadow-hover);transform:translateY(-2px)}
.jlp-cat-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:22px}
.jlp-cat-name{font-size:15px;font-weight:700;line-height:1.3;font-family:'Calibri','Candara','Segoe UI',sans-serif}
.jlp-cat-count{font-size:13px;color:var(--jlp-muted);font-family:'Calibri','Candara','Segoe UI',sans-serif}

/* JOB CARDS */
.jlp-jobs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}
.jlp-job-card{background:#f8faf9;border:1px solid #eef1f0;border-radius:var(--jlp-radius);padding:20px;text-decoration:none;color:var(--jlp-text);transition:all .25s;display:flex;flex-direction:column;gap:12px}
.jlp-job-card:hover{border-color:var(--jlp-green);box-shadow:var(--jlp-shadow-hover);transform:translateY(-2px)}
.jlp-job-top{display:flex;align-items:flex-start;gap:12px}
.jlp-job-avatar{width:44px;height:44px;border-radius:10px;overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;color:#fff}
.jlp-job-avatar img{width:100%;height:100%;object-fit:contain}
.jlp-job-info{flex:1;min-width:0}
.jlp-job-title{font-size:15px;font-weight:600;line-height:1.35;margin:0 0 3px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jlp-job-company{font-size:13px;color:var(--jlp-muted);margin:0}
.jlp-job-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--jlp-muted)}
.jlp-job-meta span{display:inline-flex;align-items:center;gap:4px}
.jlp-job-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}
.jlp-job-badge{font-size:11px;font-weight:500;padding:3px 10px;border-radius:100px;background:var(--jlp-green-light);color:var(--jlp-green-dark)}
.jlp-job-badge.remote{background:#ede9fe;color:#6366f1}
.jlp-job-badge.salary{background:#fef3c7;color:#92400e}

/* CTA */
.jlp-cta{text-align:center;padding:48px 24px;max-width:1400px;margin:0 auto}
.jlp-cta-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:var(--jlp-green-light);border:2px dashed var(--jlp-green) !important}
.jlp-cta-btn{display:inline-flex;align-items:center;gap:8px;background:var(--jlp-green);color:#fff;padding:16px 36px;border-radius:14px;font-size:16px;font-weight:600;font-family:inherit;text-decoration:none;transition:all .2s;box-shadow:0 4px 16px rgba(64,169,68,.3)}
.jlp-cta-btn:hover{background:var(--jlp-green-dark);transform:translateY(-1px);box-shadow:0 6px 24px rgba(64,169,68,.4)}
.jlp-cta-sub{font-size:14px;color:var(--jlp-muted);margin-top:12px}

/* RESPONSIVE */
@media(max-width:1024px){.jlp-hero-right{flex:0 0 320px;height:350px}.jlp-brand.lg{width:85px;height:85px}.jlp-brand.lg svg{width:40px;height:40px}.jlp-brand.md{width:75px;height:75px}.jlp-brand.md svg{width:34px;height:34px}.jlp-brand.sm{width:65px;height:65px}.jlp-brand.sm svg{width:28px;height:28px}}
@media(max-width:1440px){.jlp-section{padding:0 20px}}
@media(max-width:768px){.jlp-hero{padding:48px 0 40px}.jlp-hero-inner{flex-direction:column}.jlp-hero-right{display:none}.jlp-stats{gap:24px}.jlp-stat-num{font-size:24px}.jlp-search-bar{flex-direction:column;padding:8px}.jlp-search-bar input{padding:12px 16px;width:100%}.jlp-search-bar button{width:100%;text-align:center;justify-content:center}.jlp-jobs-grid{grid-template-columns:1fr}.jlp-cats-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.jlp-cats-row .jlp-cat-card{flex:0 0 140px}}
@media(max-width:480px){.jlp-hero{padding:32px 0 28px}.jlp-sources{gap:8px}.jlp-section-header{margin:32px 0 16px}}
/* === DEVELOPER TOOLBOX === */
.dev-tools-section{padding:0}
.dev-tools-card{background:#fffade;border-radius:16px 16px 0 0;box-shadow:0 2px 12px rgba(0,0,0,.04);border:1px solid #f0eedf;border-bottom:none;padding:30px;padding-bottom:50px;overflow:hidden}
.dev-tools-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}
.dev-tools-title{font-size:28px;font-weight:700;color:#1a1a1a;margin-bottom:6px}
.dev-tools-title span{color:#00a651}
.dev-tools-subtitle{color:#666;font-size:14px}
.dev-tools-nav{display:flex;gap:8px}
.dev-tools-nav .nav-btn{width:36px;height:36px;border-radius:50%;background:#f5f5f0;border:1px solid #e8e6d9;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}
.dev-tools-nav .nav-btn:hover{background:#00a651;border-color:#00a651}
.dev-tools-nav .nav-btn:hover svg{stroke:#fff}
.dev-tools-nav .nav-btn svg{width:18px;height:18px}
.dev-tools-slider-wrap{overflow:hidden;margin:0 -5px}
.dev-tools-slider{overflow:visible;padding:5px}
.dev-tools-slider .swiper-slide{width:auto}
.dev-tools-row{display:flex;flex-direction:row;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:4px}
.dev-tools-row::-webkit-scrollbar{display:none}
.dev-tools-row .dev-tool-card{flex:0 0 160px;scroll-snap-align:start}
.dev-tool-card{display:flex;flex-direction:column;align-items:center;justify-content:center;width:160px;height:120px;background:#fff;border:1px solid #e8e6d9;border-radius:12px;padding:20px;text-align:center;text-decoration:none;transition:all .3s}
.dev-tool-card:hover{border-color:#00a651;box-shadow:0 6px 20px rgba(0,166,81,.12);transform:translateY(-2px)}
.dev-tool-card svg{width:48px;height:48px;margin-bottom:12px}
.dev-tool-card h4{color:#1a1a1a;font-size:14px;font-weight:600;margin:0}
.dev-tool-view-all{background:linear-gradient(135deg,#00a651 0%,#059669 100%);border:none}
.dev-tool-view-all h4{color:#fff}
.dev-tool-view-all:hover{box-shadow:0 6px 20px rgba(0,166,81,.25)}
/* === CODING GROUND === */
.coding-ground{padding:0 0 60px;margin-top:0;position:relative;overflow:hidden}
.coding-ground-card{background:#fffef8;border-radius:0 0 16px 16px;box-shadow:0 2px 12px rgba(0,0,0,.04);border:1px solid #f0eedf;border-top:none;padding:50px 30px;position:relative;overflow:hidden}
.coding-ground-card::before{content:'';background-image:url('https://www.tutorialspoint.com/static/img/auth/bg-bottom.png');background-repeat:no-repeat;background-position:bottom -4rem right -3rem;position:absolute;inset:0;opacity:.06;z-index:0}
.coding-ground__grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;position:relative;z-index:1}
.coding-ground__image-wrapper{position:relative;background:#fff;border-radius:12px;padding:16px;border:1px solid #ccc}
.coding-ground__code-block{background:#1a1a2e;border-radius:12px;padding:24px 30px;font-family:'Consolas','Monaco',monospace;font-size:14px;line-height:1.8;position:relative}
.coding-ground__code-block .code-line{display:flex;align-items:center;color:#c8c8c8}
.coding-ground__code-block .code-line .edit-btn{margin-left:30px}
.coding-ground__code-block .edit-btn{background:#00a651;color:#fff;padding:6px 14px;border-radius:20px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px;text-decoration:none;transition:all .2s;white-space:nowrap}
.coding-ground__code-block .edit-btn:hover{background:#059669;transform:scale(1.05)}
.coding-ground__code-block .code-keyword{color:#cc99cc}
.coding-ground__code-block .code-class{color:#99cc99}
.coding-ground__code-block .code-string{color:#f2c68a}
.coding-ground__code-block .code-comment{color:#7a8a7a}
.coding-ground__code-block .code-method{color:#cc99cc}
.coding-ground__content h2{font-size:42px;font-weight:700;color:#1a1a1a;margin-bottom:8px}
.coding-ground__content h2 span{color:#00a651}
.coding-ground__start{color:#1a1a1a!important}
.coding-ground__subtitle{font-size:18px;font-weight:600;color:#333;margin-bottom:12px}
.coding-ground__badge{display:inline-block;background:#00a651;color:#fff;padding:6px 14px;border-radius:4px;font-size:13px;font-weight:600;margin-bottom:16px}
.coding-ground__description{color:#666;font-size:14px;line-height:1.6;margin-bottom:28px;max-width:450px}
.coding-ground__buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:400px}
.coding-ground__btn{padding:14px 24px;border-radius:10px;font-size:15px;font-weight:500;text-decoration:none;text-align:center;transition:all .2s}
.coding-ground__btn strong{font-weight:700}
.coding-ground__btn--java{background:#e8f5e9;color:#2d4a2d;border:1px solid #c8e6c9}
.coding-ground__btn--java:hover{background:#c8e6c9;transform:translateY(-2px)}
.coding-ground__btn--python{background:#fff8e1;color:#4a4a20;border:1px solid #ffecb3}
.coding-ground__btn--python:hover{background:#ffecb3;transform:translateY(-2px)}
.coding-ground__btn--cpp{background:#e3f2fd;color:#1565c0;border:1px solid #bbdefb}
.coding-ground__btn--cpp:hover{background:#bbdefb;transform:translateY(-2px)}
.coding-ground__btn--html{background:#fce4ec;color:#c62828;border:1px solid #f8bbd9}
.coding-ground__btn--html:hover{background:#f8bbd9;transform:translateY(-2px)}
@media(max-width:900px){.coding-ground__grid{grid-template-columns:1fr;gap:30px}.coding-ground__content h2{font-size:28px}.coding-ground__image-wrapper{order:2}.coding-ground__content{order:1}}
@media(max-width:768px){.dev-tools-header{flex-direction:column;gap:16px}.dev-tools-nav{align-self:flex-end}.dev-tool-card{width:140px;height:110px}.dev-tools-card{margin:10px;padding-bottom:0;margin-bottom:0}.coding-ground{margin:0 10px 10px}}

/* ============================================
   ARTICLES PAGES STYLES (index + detail)
   ============================================ */

/* --- Articles Index Page --- */
/* ============================================
   ARTICLES PAGE SPECIFIC STYLES
   ============================================ */

/* Main layout - grey background */
.al-main {
    background: #eef0f3;
    min-height: calc(100vh - 120px);
    padding: 0px 20px;
}
.al-main-inner {
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
}

/* Left Panel - Category Sidebar */
.al-panel {
    width: 340px;
    min-width: 340px;
    max-width: 340px;
    background: #fff;
    border-radius: 10px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    flex-shrink: 0;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}
.al-panel-header {
    border-bottom: 0px solid #e5e7eb;
}
.al-panel-header h2 {
    padding: 0 16px;
}
.al-panel-banner {
    margin-bottom: 14px;
}
.al-panel-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    display: block;
}
.al-panel-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px 0;
}
.al-panel-header h2 svg { color: #6366f1; width: 20px; height: 20px; flex-shrink: 0; }
.al-reading-header svg { width: 18px; height: 18px; flex-shrink: 0; }
.al-search-wrap {
    position: relative;
    margin-top: 8px;
    padding: 0 16px;
}
.al-search-wrap svg {
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}
.al-search {
    width: 100%;
    padding: 8px 12px 8px 32px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border-color .2s;
    background: #f9fafb;
    box-sizing: border-box;
}
.al-search:focus { border-color: #6366f1; background: #fff; }
.al-search-results { display: none; position: absolute; top: calc(100% - 1px); left: 16px; right: 16px; background: #fff; border: 1.5px solid #6366f1; border-top: 1px solid #e5e7eb; border-radius: 0 0 12px 12px; box-shadow: 0 6px 16px rgba(99,102,241,.12); max-height: 320px; overflow-y: auto; z-index: 100; padding: 6px 0; }
.al-search-wrap:has(.al-search-results[style*="block"]) .al-search { border-radius: 8px 8px 0 0; border-color: #6366f1; border-bottom-color: #e5e7eb; }
.al-search-result-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 14px; font-size: 13px; color: #374151; text-decoration: none; transition: background .1s; line-height: 1.4; }
.al-search-result-item::before { content: ''; flex-shrink: 0; width: 14px; height: 14px; margin-top: 2px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512' fill='%239ca3af'%3E%3Cpath d='M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }
.al-search-result-item:hover { background: #eef2ff; color: #1e293b; }
.al-search-result-item:hover::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512' fill='%236366f1'%3E%3Cpath d='M320 464c8.8 0 16-7.2 16-16V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320zM0 64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64z'/%3E%3C/svg%3E"); }
.al-search-no-results { padding: 14px; font-size: 13px; color: #9ca3af; text-align: center; }
.al-search-results::-webkit-scrollbar { width: 4px; }
.al-search-results::-webkit-scrollbar-thumb { background: #c7d2fe; border-radius: 4px; }

.al-cat-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}
.al-cat-item {
    margin: 0;
}
.al-cat-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all .15s;
    border-left: 3px solid transparent;
}
.al-cat-item a:hover {
    background: #f3f4f6;
    color: #40A944;
}
.al-cat-item a.active {
    background: #f0fdf4;
    color: #40A944;
    border-left-color: #40A944;
    font-weight: 600;
}
.al-cat-item a img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}
.al-cat-item a .al-cat-icon-placeholder {
    width: 22px;
    height: 22px;
    background: #40A944;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

/* Selected Reading */
.al-reading-header {
    padding: 14px 16px 6px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #e5e7eb;
    margin-top: 4px;
}
.al-reading-list {
    list-style: none;
    padding: 0 0 16px;
    margin: 0;
}
.al-reading-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    transition: color .15s;
}
.al-reading-list li a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #40A944;
    flex-shrink: 0;
}
.al-reading-list li a:hover { color: #40A944; }

/* Mobile panel toggle */
.al-panel-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #374151;
}
.al-panel-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 9998;
}
.al-panel-overlay.open { display: block; }
.al-panel-close {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #6b7280;
    position: absolute;
    right: 12px;
    top: 16px;
}

/* Articles List - Middle Content */
.al-content {
    flex: 1;
    min-width: 0;
    padding: 0;
    margin: 0 20px;
    display: flex;
    flex-direction: column;
}
.al-content-header {
    padding: 20px;
    margin-bottom: 0;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8ebf0;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.al-content-header h1 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.al-content-header h1 svg { color: #40A944; flex-shrink: 0; }
.al-content-header p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6b7280;
}

/* Article Card */
.al-card {
    display: block;
    padding: 20px;
    margin: 16px 0;
    background: #fff;
    border: 1px solid #e8ebf0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all .25s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.al-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 16px rgba(99,102,241,.1), 0 2px 6px rgba(0,0,0,.04);
    transform: translateY(-2px);
}
.al-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
    line-height: 1.45;
    transition: color .2s;
}
.al-card:hover .al-card-title { color: #40A944; }
.al-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #d1d5db;
}
.al-card-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 400;
    color: #6366f1;
    background: #eef2ff;
    border-radius: 20px;
    text-decoration: none;
    transition: all .15s;
    letter-spacing: 0.2px;
}
.al-card-tag:hover { background: #c7d2fe; color: #4338ca; }
.al-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.al-card-author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e7ff;
    box-shadow: 0 2px 4px rgba(0,0,0,.06);
}
.al-card-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.al-card-author-name {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
}
.al-card-author-name:hover { color: #40A944; }
.al-card-meta {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 14px;
}
.al-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.al-card-meta svg {
    flex-shrink: 0;
    vertical-align: middle;
}
.al-card-excerpt {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.al-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #40A944;
    margin-top: 12px;
    text-decoration: none;
    transition: all .2s;
    padding: 4px 0;
}
.al-card:hover .al-card-readmore { gap: 8px; color: #2d8a34; }
.al-card-ad {
    text-align: center;
    padding: 16px;
    overflow: hidden;
}
.al-card-ad:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
    border-color: #e8ebf0;
}

/* Pagination */
.al-pagination-wrap {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8ebf0;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
    margin-top: 16px;
}

/* Articles layout row */
.articles-layout-row {
    display: flex;
    width: 100%;
    align-items: stretch;
}
.articles-layout-row > .al-content {
    flex: 1;
    min-width: 0; flex: 1; min-width: 0; }

/* Right ads panel */
.al-right-panel {
    min-width: 336px;
    max-width: 336px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}
.al-right-panel .google-right-ad {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    padding: 8px;
}

/* Empty state */
.al-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}
.al-empty svg { margin-bottom: 16px; opacity: .5; }
.al-empty h3 { color: #374151; font-size: 18px; margin: 0 0 8px; }
.al-empty p { font-size: 14px; margin: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    /* Left panel becomes slide-in */
    .al-panel {
        position: fixed;
        left: -420px;
        top: 0;
        height: 100vh;
        max-height: 100vh;
        z-index: 9999;
        width: 380px;
        min-width: 380px;
        max-width: 380px;
        border-radius: 0;
        transition: left .3s ease;
    }
    .al-panel.open { left: 0; }
    .al-panel-toggle { display: flex !important; }
    .al-panel-close { display: block; }
    .al-content {
    flex: 1;
    min-width: 0; margin: 0 8px; }
}
@media (max-width: 1024px) {
    .al-content {
    flex: 1;
    min-width: 0; margin: 0 8px; }
    .al-panel { width: 360px; min-width: 360px; max-width: 360px; left: -380px; }
}
@media (max-width: 840px) {
    .al-main { padding: 0; }
    .al-main-inner { padding-left: 5px !important; padding-right: 5px !important; }
    .tp-header-inner-page { padding-left: 5px !important; padding-right: 5px !important; }
    .tp-topbar-inner-page { padding-left: 5px !important; padding-right: 5px !important; }
    /* Right ads hide at 840px */
    .al-right-panel { display: none; }
    .al-panel { width: 300px; min-width: 300px; max-width: 300px; left: -320px; }
    .al-content {
    flex: 1;
    min-width: 0; padding: 0 0 16px; margin: 0; }
    .al-card { border-radius: 8px; }
    .al-content-header { border-radius: 8px; }
    .al-pagination-wrap { border-radius: 8px; }
}
@media (max-width: 480px) {
    .al-card-title { font-size: 14px; }
    .al-card-excerpt { -webkit-line-clamp: 2; }
    .al-content-header h1 { font-size: 17px; }
}

/* Topbar/header overrides for articles */
.tp-cat-link-all { grid-column: auto !important; width: auto !important; }
.category-menu-adjustment {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
}

/* --- Articles Detail Page (additional rules) --- */
/* ============================================
   ARTICLES PAGE STYLES (shared with index)
   ============================================ */

/* Middle content */

/* Article detail card */
.al-detail-card {
    background: #fff; border: 1px solid #e8ebf0; border-radius: 10px;
    padding: 28px 32px; margin-bottom: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
    flex: 1;
}
.al-detail-title { font-size: 24px; font-weight: 700; color: #1e293b; margin: 0 0 16px; line-height: 1.35; text-align: center; }
.al-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed #d1d5db; justify-content: center; }
.al-detail-tag { display: inline-block; padding: 3px 10px; font-size: 11px; font-weight: 400; color: #6366f1; background: #eef2ff; border-radius: 20px; text-decoration: none; transition: all .15s; }
.al-detail-tag:hover { background: #c7d2fe; color: #4338ca; }

/* Author bar */
.al-detail-author { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.al-detail-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #e0e7ff; }
.al-detail-author-info { display: flex; flex-direction: column; gap: 2px; }
.al-detail-author-name { font-size: 14px; font-weight: 600; color: #334155; text-decoration: none; }
.al-detail-author-name:hover { color: #40A944; }
.al-detail-author-tagline { font-size: 12px; color: #9ca3af; }
.al-detail-meta { font-size: 12px; color: #94a3b8; display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed #e2e8f0; }
.al-detail-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* Ad bar */
.al-detail-ad { text-align: center; margin: 16px 0; overflow: hidden; }

/* Answer content - basic typography only, code blocks handled by article.min.css */
.al-detail-answer { font-size: 15px; line-height: 1.8; color: #374151; }
.al-detail-answer h2 { font-size: 20px; font-weight: 700; color: #1e293b; margin: 28px 0 12px; }
.al-detail-answer h3 { font-size: 17px; font-weight: 600; color: #1e293b; margin: 20px 0 10px; }
.al-detail-answer p { margin: 0 0 14px; }
.al-detail-answer img { max-width: 100%; height: auto; border-radius: 0px; margin: 10px auto; border: none; display: block; }
.al-detail-answer table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.al-detail-answer table th, .al-detail-answer table td { border: 1px solid #e2e8f0; padding: 8px 12px; font-size: 13px; }
.al-detail-answer table th { background: #f8fafc; font-weight: 600; }

/* Share bar */
.al-share-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 16px; border-top: 1px dashed #e2e8f0; margin-top: 16px; }
.al-share-icons { display: flex; gap: 8px; }
.al-share-icons a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #f3f4f6; color: #6b7280; text-decoration: none; transition: all .15s; }
.al-share-icons a:hover { background: #40A944; color: #fff; }
.al-share-icons a svg { width: 14px; height: 14px; fill: currentColor; }
.al-views-count { font-size: 13px; color: #94a3b8; display: flex; align-items: center; gap: 4px; }

/* Author card (bottom) */
.al-author-card {
    background: #fff; border: 1px solid #e8ebf0; border-radius: 10px;
    padding: 20px 24px; margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
    display: flex; align-items: center; gap: 16px;
}
.al-author-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #e0e7ff; }
.al-author-card-info { flex: 1; }
.al-author-card-name { font-size: 16px; font-weight: 700; color: #1e293b; text-decoration: none; }
.al-author-card-name:hover { color: #40A944; }
.al-author-card-tagline { font-size: 13px; color: #6b7280; margin-top: 2px; }

/* Bottom navigation */
.al-bottom-nav {
    padding: 16px 0; margin-top: 16px;
    border-top: 1px dashed #e2e8f0;
    display: flex; align-items: center; justify-content: space-between;
}
.al-bottom-nav .al-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: all .15s; }
.al-btn-print { background: #3b82f6; color: #fff; }
.al-btn-print:hover { background: #2563eb; }
.al-btn-prev { background: #f3f4f6; color: #374151; }
.al-btn-prev:hover { background: #e5e7eb; }
.al-btn-next { background: #40A944; color: #fff; }
.al-btn-next:hover { background: #2d8a34; }

/* Right panel */

/* Responsive */
@media (max-width: 840px) {
    .tp-header-inner-page { padding-left: 5px !important; padding-right: 5px !important; }
    .tp-topbar-inner-page { padding-left: 5px !important; padding-right: 5px !important; }
    .al-panel.open { left: 0; }
    .al-detail-card { padding: 16px; border-radius: 8px; }
    .al-detail-title { font-size: 18px; }
}
@media (max-width: 480px) {
    .al-detail-title { font-size: 16px; }
    .al-bottom-nav { flex-wrap: wrap; gap: 8px; }
}


/* ============================================
   Content CSS - from article.min.css + new-lib-style.css
   Only classes used in article content
   ============================================ */

/* CSS Variables (from new-lib-style.css :root) */
:root {
   --clr-text: #000;
   --clr-grey-100: #eeeeee;
   --clr-neutral-50: #fff;
   --clr-neutral-100: #fbfbfd;
   --clr-neutral-150: #f4f4f4;
   --clr-neutral-200: #eeeeee;
   --clr-neutral-225: #C5C5C5;
   --clr-neutral-250: #b5b4b4;
   --clr-neutral-300: #8b8b8b;
   --clr-neutral-350: #444f55;
   --clr-neutral-400: #333232;
   --clr-neutral-750: #031926;
   --clr-neutral-800: #06141c;
   --clr-secondary-200: #e3f3cf;
   --clr-accent-50: #e4ffe5;
   --clr-accent-700: #04af2f;
   --clr-accent-800: #2c9d30;
   --clr-blue-100: #f4fbff;
   --clr-blue-150: #e1f6ff;
   --clr-blue-400: #0196da;
   --clr-yellow: #FFE529;
   --clr-yellow-200: #fefad8;
   --clr-yellow-400: #FFE529;
   --clr-orange-200: #fcdbc4;
   --fs-500: 1.1rem;
}

/* --- From new-lib-style.css --- */
.flex-group { display: flex; align-items: center; gap: var(--gap, 1rem); }
.flex-group { align-items: flex-start; gap: var(--gap, 1rem); }
.button { cursor: pointer; background-color: var(--clr-accent-700); border: 2px solid transparent; border-radius: 8px; padding-block: 0.363em; padding-inline: 1em; transition: all 0.25s ease; display: flex; align-items: center; gap: 0.4rem; min-height: 45px; color: #fff; font-size: 13px; font-weight: 600; }
.button svg { max-height: 25px; }
.button:hover { background-color: var(--clr-accent-50); border-color: var(--clr-accent-700); color: var(--clr-accent-700); }
.button:hover svg path { fill: var(--clr-accent-700); }
.button--neutral { background-color: var(--clr-neutral-200); color: var(--clr-text); }
.button--neutral:hover { background-color: var(--clr-neutral-50); border-color: var(--clr-neutral-200); color: var(--clr-text); }
.button--neutral svg path, .button--neutral:hover svg path { fill: var(--clr-text); }
.button--blue { color: #fff; background-color: var(--clr-blue-400); }
.button--blue:hover { background-color: var(--clr-neutral-50); color: var(--clr-blue-400); border-color: var(--clr-blue-400); }
.button--blue:hover svg path { fill: var(--clr-blue-400); }
.data-sticky { position: sticky; top: 80px; }
.google-right-ad { margin-bottom: 16px; }

/* Code blocks - Prism syntax highlighting (from new-lib-style.css) */
code[class*=language-],pre[class*=language-]{color:#ccc;background:0 0;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}
pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}
:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d !important}
:not(pre)>code[class*=language-]{padding:.1em;border-radius:0em;white-space:normal}
.token.comment,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.tag{color:#e2777a}.token.boolean,.token.function,.token.number{color:#f08d49}.token.symbol{color:#f8c555}.token.important,.token.keyword,.token.selector{color:#cc99cd}.token.string,.token.variable{color:#7ec699}.token.operator,.token.url{color:#67cdcc}.token.bold,.token.important{font-weight:700}

/* demo-code and just-code blocks */
.tutorial-content .demo-code {width:100%!important;}
pre.just-code, pre.demo-code {
   display: block;
   font-family: monospace, Consolas, Courier !important;
   white-space: pre;
   margin: 0;
   background: transparent;
   border-radius:0px;
}

/* Result block */
.result {
   background: var(--clr-grey-100, #eeeeee);
   border: 0px;
   width: 100%;
}
pre.result {
   padding: 15px;
   color: var(--clr-text);
   font-size: 15px;
   overflow-x: auto;
   white-space: pre;
   border-radius:0px;
   line-height: 24px;
   white-space: pre-wrap;
   word-wrap: break-word;
   max-width: 100%;
}

/* prettyprint */
.prettyprint {
   width: 100%;
   background: #eee !important;
   border: 0px solid #d6d6d6 !important;
   border-radius:0px!important;
   font-family: monospace, Consolas, Courier;
}
pre.prettyprint {
   padding: 1em !important;
   font-size: 1em !important;
   overflow-x: auto;
}

/* code-mirror */
.code-mirror { width:100%; height:auto!important; min-height:30px; max-height:450px; resize:none!important; white-space:auto!important; line-height:24px; }
.code-mirror { padding:1rem 1rem!important; }

/* List styling */
.tutorial-content ul:not(.table-of-content ul) {
   margin-top: 1rem;
   list-style-type: disc;
   gap: .5rem;
   padding-left: 2rem;
}
.tutorial-content .list {
   background-color: #d6d6d670;
   padding: 1rem;
}
ul.list {
   border-radius: 15px !important;
}

/* Blockquote */
.row blockquote,
.tutorial-content blockquote {
   overflow: hidden;
   font-style: italic;
   background-color: var(--clr-yellow-200, #fefad8);
   position: relative;
}
@media (min-width: 700px) {
   .row blockquote,
   .tutorial-content blockquote {
      padding: 1.7rem 2.35rem;
      padding-right: 3rem;
   }
}
.row blockquote::before,
.tutorial-content blockquote::before,
.row blockquote::after,
.tutorial-content blockquote::after {
   content: '';
   width: .5rem;
   height: 100%;
   position: absolute;
   background-color: var(--clr-yellow, #FFE529);
}
.row blockquote::before, .tutorial-content blockquote::before { left: 0; }
.row blockquote::after, .tutorial-content blockquote::after { right: 0; }

/* code-wrapper and execute button (from new-lib-style.css) */
.code-wrapper { background: #2d2d2d; border-radius:0rem; overflow: hidden; }
.code-wrapper .code-header { background: #404040; height: 50px; display: flex; justify-content: space-between; padding-inline: 1rem; align-items: center; }
.code-wrapper .logo-side { color: white; font-size: 18px; }
.code-wrapper .button-side { height: 28px; }
.code-wrapper .execute { top: 0px; right: 0; margin: 0; border-radius:12px !important; }
.code-wrapper .open-compiler { top: 0px; right: 8px !important; margin: 0; position: relative; background: #eee; background-size: contain; font-size: 12px; color: #111111; align-items: center; display: flex; justify-content: center; z-index: 10; width: 100px; height: 29px; border-radius: 0px; cursor: pointer; }
.code-wrapper .copy-code, .code-wrapper .target-lang { top: 0px; right: 8px !important; margin: 0; position: relative; background: #868a86; background-size: contain; font-size: 12px; color: white; align-items: center; display: flex; justify-content: center; z-index: 10; width: 100px; height: 29px; border-radius: 0px; cursor: pointer; }
.code-wrapper .refactor, .code-wrapper .generate, .code-wrapper .review_code, .code-wrapper .explain_code, .code-wrapper .debugger, .code-wrapper .documentation, .code-wrapper .converter { top: 0px; right: 0; margin: 0; }
.execute { z-index: 10; float: right; width: 100px; height: 29px; position: relative; margin: 0px 3px -25px 0; border-radius: 0px; cursor: pointer; }
.execute { top: 15px; right: 15px; position: relative; background:#404040 url(https://www.tutorialspoint.com/images/editnrun-green.svg?v=4) center center no-repeat; background-size:contain; }
.execute:hover { opacity:0.7; }
.code-wrapper, pre[class*=language-], .result { border-radius:12px !important; }
pre[class*=language-] { padding:0px!important; }
.tab-content.active .code-wrapper { border-top-left-radius:0 !important; border-bottom-left-radius:12px !important; border-bottom-right-radius:12px !important; }
#assistant_answer .code-wrapper { margin-top: 15px; margin-bottom:15px; }

/* output-wrapper, console-close, code-output, loader (from new-lib-style.css) */
.output-wrapper { display: none; flex-grow: 1; font-family: "Liberation Mono", Consolas, Menlo, Courier, monospace; font-size: 14px; overflow: auto; padding-bottom: 4px; padding-top: 10px; padding-left: 10px; max-height: 400px; background: #fff; border-radius:12px; margin: 15px; min-height: 44px; }
.console-close { position: relative; float: right; top: 0px; right: 12px; opacity: 0.75; width: 24px; height: 24px; background-size: 24px; background: url("data:image/svg+xml,%3Csvg width='24' height='25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 14.1a4.12 4.12 0 00-4.18-3.6H11v5l-7-6 7-6v5h1.79A6.15 6.15 0 0119 13.71a6 6 0 01-6 6.79H7v-2h6a4 4 0 004-4.4z' fill='grey'/%3E%3C/svg%3E") 50% no-repeat; cursor:pointer; }
.code-output { color:#000; }
.loader { background-image: url(https://www.tutorialspoint.com/images/loading.gif); background-size: 30px; width: 30px; height: 30px; background-repeat: no-repeat; }

/* input-code, sql-code */
.input-code { height:100%; }

/* tab-title, tab-content (from new-lib-style.css) */
.tab-title { min-width:80px; background:#e8e8e8; font-size:13px; font-weight:600; text-align:center; padding:10px 16px; color:#666; cursor:pointer; margin:0; border:none; border-radius:8px 8px 0 0; transition:all .2s ease; position:relative; top:0px; }
.tab-title:hover { background:#d5d5d5; color:#000; }
.tab-title.active { background:#404040; color:#fff; z-index:2; }
.tab-content { padding:0; display:none; margin-top: 5px;}
.tab-content.active { display:block; }

/* toggle (from new-lib-style.css) */
/* Toggle styles */
.row .toggle, .tutorial-content .toggle { margin-block: 1rem; }
.row .toggle-content, .tutorial-content .toggle-content { padding-top: 1rem; display: none; }
.row .toggle-content > div, .tutorial-content .toggle-content > div { overflow: hidden; margin-block: .8rem; }
.row .toggle-content[data-visible], .tutorial-content .toggle-content[data-visible] { display: block; }
.row .toggle label, .row .toggle button, .tutorial-content .toggle label, .tutorial-content .toggle button { width: 100%; border: 0; background-color: var(--clr-neutral-200); border-radius:15px; padding: .7rem 1rem; display: flex; align-items: center; justify-content:space-between; position: relative; overflow: hidden; cursor: pointer; transition: .25s ease; }
.row .toggle label::before, .row .toggle button::before, .tutorial-content .toggle label::before, .tutorial-content .toggle button::before { content: ''; width: 0.5rem; height: 100%; position: absolute; background-color: #444f55; top: 0; left: 0; }
.row .toggle__toggle:hover, .tutorial-content .toggle__toggle:hover { opacity: .7; }
.row .toggle label img, .row .toggle button img, .tutorial-content .toggle label img, .tutorial-content .toggle button img, .toggle label img, .toggle button img { display: inline !important; margin: 0 !important; margin-left: auto !important; width: 14px !important; height: 14px !important; max-width: 14px !important; transform: rotate(180deg); flex-shrink: 0; border: none !important; border-radius: 0 !important; }
.row .toggle__toggle[aria-expanded=true] img, .tutorial-content .toggle__toggle[aria-expanded=true] img, .toggle__toggle[aria-expanded=true] img, .toggle label.open img, .toggle button.open img { transform: rotate(0deg); }
.toggle img { margin: initial; }
.toggle-content p { padding-bottom:10px; }

/* search-results, search-overlay (from new-lib-style.css) */
#search-results { padding-top:0px; position:absolute; margin-top:3px!important; border:none; display:none; border-radius:0px; left:0; }
.search-box .search-overlay { padding:0px!important; line-height:22px; min-height:285px; max-height:290px; overflow:auto; margin:0px; }
.search-box .search-overlay a { padding:6px 10px; margin:0px; line-height:22px; border-bottom:1px solid #ccc; width:100%; display:block; }

/* tutorial-content spacing */
.tutorial-content>*+*:not(.toggle):not(.table-of-content-wrapper):not(.tutorial-menu) { margin-top:0rem!important; margin-bottom:1rem!important; }

/* Override tutorial-content base rules from new-lib-style.css (loaded via styles.css @import) */
.tutorial-content {
    flex: 1;
    min-width: 0; border: none !important; padding: 0 !important; background-color: transparent !important; border-radius: 0 !important; overflow: visible !important; }
@media (min-width: 840px) { .tutorial-content {
    flex: 1;
    min-width: 0; padding: 0 !important; } }

/* Missing content utility classes */
.date { color: #6f6f6f; }
.mt { margin-top: 5px; }
.mt-2 { margin-top: 0.5rem; }
.mui--pull-left { float: left; }
.mui-panel { padding: 10px; }
.notranslate { translate: no; }

/* UL inside tutorial-content */
.tutorial-content ul:not(.table-of-content ul) li::before { background: transparent; }

/* --- From article.min.css --- */
.clear { clear: both; }
a { text-decoration: none !important; }
td a, p a, .table-bordered td a, .table td a, .src td a { background:none!important; color: green; font-weight:bold; }

/* Content link colors (from new-lib-style.css) */
.tutorial-content p a { color: green; }

h1.qa_title { color: #000; font-size: 26px !important; text-align: center !important; line-height: 28px; padding: 0px 0px 10px 0px !important; margin: 0px; }
.qa_category { text-align: center; margin-bottom: 10px !important; margin-top: 0px !important; }
.qa_category span { border-radius: 0px; background: #efefef; font-size: 11px; color: #1a1a1a; padding: 3px 8px 5px 8px; margin: 4px 4px 4px 0px; }
.qa_category span:hover { color: #080; }
#divCategories { margin-bottom: 12px; }

.qa_widget { background: #fff; padding: 10px 25px 10px 25px; margin: 0px 0px 20px 0px; border-radius: 0px; }
.qa_widget .qa_post .qa_category, .qa_widget .qa_post_no_link .qa_category { margin: 0px; padding: 3px 0px 7px 0px; border-bottom: 1px dashed #c3c3c3; text-align: left; }
.qa_widget h3 { line-height: 26px !important; padding: 0px !important; font-size: 22px !important; }

.qa_author { font-size: 20px; color: rgb(111, 111, 111); }
.qa_author span { font-size: 24px; font-weight: 400; color: #000; }
.qa_author span:hover { color: #000; }
p.prof-desigtn { font-size: 13px !important; }
.prof-view-artcle { background: #fff; margin: 10px 0px; border: 1px solid #ccc; padding: 10px; border-radius: 10px; }
.prof-view-artcle img.profile-img1 { float: left; padding: 0 !important; width: 100px !important; height: 100px !important; border-radius: 8px !important; border: 1px solid #ccc !important; margin-right: 15px !important; }

.qa_answer_widget { color: #000; margin: 5px 0px 15px 0px; padding: 0px; }
.qa_answer_widget a img { max-width: 100% !important; width: 45px !important; height: 45px; border: 1px solid #ccc; margin: 2px 4px 0px 0px; padding: 4px; float: left; border-radius: 0px; }
.qa_answer_widget .qa_answer_detail a { font-size: 15px; color: #000; font-weight: normal; line-height: 24px; padding: 0px 0px; margin: 0px; text-transform: capitalize; }
.qa_answer_widget .qa_answer_dtm { font-size: 12px; margin-left: 0px; }
.qa_answer_widget p { font-size: 15px; text-align: justify; line-height: 24px; padding: 0px; margin: 0px; word-wrap: break-word; }
.qa-anwer-wrap { margin: 0px 0px 10px 0px; padding: 0px; }
.qa-anwer-wrap img { margin-top: 3px !important; padding: 1px !important; border: 1px solid #ccc !important; }
.qa_answer_dtm, .qa_published_dtm { font-size: 13px; margin-top: 0px; color: rgb(111, 111, 111); }

.qa-content p { font-size: 15px; text-align: justify; line-height: 24px; padding: 5px 0px; margin: 0px; word-wrap: break-word; }
.tutorial-content table { width: 100% !important; margin-left: 0px !important; }
.tutorial-content td, .tutorial-content th { padding: 5px 10px !important; border: 1px solid #d6d6d6 !important; }
.tutorial-content ol li, .tutorial-content ul li { color: #000; font-size: 15px; line-height: 24px !important; padding-left: 0px; }
.tutorial-content .math { border: 0px solid #d6d6d6 !important; margin-bottom: 0px !important; padding: 0px !important; background: transparent !important; }
.tutorial-content ul:not(.table-of-content ul) li::before { background: transparent; }
#mainContent img { max-width: 100% !important; display: block; margin: 10px auto; border: 0px solid #ccc; }
img.fr-dib, img.fr-fic { border: none; }
.tutorial-content img.fr-fic, .tutorial-content img.fr-dib { width: 100%; max-width: 100%; height: auto; border-radius: 0px; }
.al-detail-answer img { max-width: 100%; height: auto; border-radius: 0px; margin: 10px auto; border: none; display: block; }
.fr-dii { display: -webkit-inline-box !important; vertical-align: middle !important; }

pre { padding: 1em; margin: .5em 0; overflow: auto; }
pre.prettyprint { padding: 5px !important; width: 99% !important; margin-top: 5px !important; border-radius: 0px; overflow: auto; }
pre[class*=language-] { padding: 1rem !important; }
.code-mirror { padding: 1rem 1rem !important; }
a.demo {
    top: 43px !important;
    float: right !important;
    position: relative;
    border-radius: 0px;
    background: #2c9d30 !important;
    right: 25px !important;
    padding: 7px;
    color: #fff;
    border-radius: 12px;
    font-size: 13px;
}
.views-count, .like-dislike, .download-profile-btn { color: #6f6f6f; font-size: 13px !important; padding: 2px 0px; margin: 0px 0px 0px 5px; display: flex; align-items: center; gap: .3rem; cursor: pointer; }
.views-count svg { fill: #6f6f6f; }
.share-options { display: flex; align-items: center; gap: 1rem; }
.uthor-prof-social-icon { font-size: 15px; margin: 5px 0px 0px 6px !important; cursor: pointer; }
.uthor-prof-social-icon .fa-facebook-f, .uthor-prof-social-icon .fa-linkedin-in, .uthor-prof-social-icon .fa-twitter, .uthor-prof-social-icon .fa-link { color: #706f6f; }
.share-options a svg { fill: #6f6f6f; height: 16px; }
.share-options a:hover svg { fill: var(--clr-accent-700); }

.read_more { color: #40a944; }
.read_more svg { display: inline-block; align-items: center; vertical-align: middle; margin-left: 2px; color: #40a944; }

.inserted-div { margin: 20px 0; text-align: center; }
.adp_top_ads { margin: 10px 0; overflow: hidden; }
.google-bottom-ads { padding: 10px 0; margin-bottom: 0px !important; text-align: center; }
.bottom-library-ads { margin-top: 16px; border-top: 1px dashed #e2e8f0; padding-top: 16px; }
.google_content_ads { background: #fff; border-radius: 6px; }

.error-success { position: fixed; width: 100%; background: #40a944; color: #fff; font-size: 14px; text-align: center; line-height: 46px; bottom: 0px; left: 0px; right: 0px; z-index: 999; display: none; }
.error-warning { position: fixed; width: 100%; background: #f00; color: #fff; font-size: 14px; text-align: center; line-height: 46px; bottom: 0px; left: 0px; right: 0px; z-index: 9999; display: none; }

.related-articles { margin: 2.5rem 0px; }
.related-articles ul { padding-left: 0 !important; margin: 0rem; }
.related-articles ul li { font-size: 15px; line-height: 24px; padding-left: 0px !important; margin: 0px; }
.related-articles ul li::before { background-color: transparent !important; }
.related-articles ul li a:hover { color: #2f9933 !important; }
.related-articles ul li a { color: #424242 !important; padding: .3rem 0rem .3rem 1rem !important; display: grid; grid-template-columns: 12px 1fr; align-items: center; gap: 1rem; }
.related-articles ul li a svg { width: 16px !important; }

.related-tutorials { border-radius: 10px; overflow: hidden; border: 1px solid #e2e8f0; background: #fff; }
.related-tutorials__header { background: linear-gradient(135deg, #40A944, #2c9d30); color: #fff; display: flex; align-items: center; gap: 10px; }
.related-tutorials__icon { width:20px; height:20px; flex-shrink:0; fill:#fff; }
.related-tutorials__title { font-size:16px; font-weight:700; letter-spacing:.3px; margin:0!important; padding:0!important; color:#fff; }
.related-tutorials__list { background: #f0fdf4; list-style: none; margin: 0; padding: 4px 0; }
.related-tutorials__item { border-bottom: 1px solid #e2e8f0; margin: 0; padding: 0; list-style: none; }
.related-tutorials__item:last-child { border-bottom: none; }
.related-tutorials__link { display: flex; align-items: center; gap: 10px; color: #1e293b; transition: background 0.15s; text-decoration: none; padding: 10px 20px; }
.related-tutorials__link:hover { background: #dcfce7; }
.related-tutorials__arrow::before { content: '›'; font-size: 18px; font-weight: bold; color: #40A944; }
.related-tutorials__link-text { flex: 1; font-size: 14px; font-weight: 500; color: #16a34a; }
.related-tutorials__subject { font-size: 11px; font-weight: 600; text-transform: uppercase; color: #40A944; background: #dcfce7; padding: 2px 8px; border-radius: 4px; letter-spacing: 0.5px; }

.library-cta { background-color: var(--clr-neutral-800); padding: 2rem; padding-top: 1.5rem; display: grid; grid-template-columns: 1fr 30%; align-items: center; gap: 2rem; border-radius: 10px; margin-bottom: 16px; }
.library-cta > div { display: flex; flex-direction: column; gap: .5rem; }
.library-cta > div p { color: #fff; }
.library-cta__title { font-size: 1.563rem; font-weight: 600; color: #fff; }
.library-cta__button { align-self: flex-start; }
.text-yellow-400 { color: var(--clr-yellow-400); }
.button--yellow { background-color: var(--clr-yellow-400); color: #000; }

.library-page-bottom-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-block: 1rem; }
.author-profile-post-info { display: flex; padding: 5px; margin: 1rem 0 0 0; justify-content: space-between; align-items: center; border-top: 1px dashed #ccc; border-radius: 6px; }

.pages { width: 100%; margin: 0px 0px 0px 0px !important; padding: 10px 0px !important; text-align: center !important; }
.pages a.number { background: #fafafa; color: #6c6c6c; padding: 3px 10px; margin: 0px 0px; border: 1px solid #c7c7c7; }
.pages a.number:hover { background: #3ca757 !important; color: #fff !important; }
.pages a.current { background: #3ca757 !important; color: #fff !important; padding: 3px 8px; margin: 0px 2px 0px 0px; border: 1px solid #3ca757 !important; }
.pages a, .pages span { color: #8e8e8e; padding: .22em .6em; margin-right: .1em; border: 1px solid #d6d6d6; background: #fff; border-radius: 0rem; }

.article-list { padding: 0px !important; background-color: #f4f4f4 !important; border: 0px solid #eee !important; }
.question_section .qa_widget { overflow: hidden; }
.job-index { background: #fff; padding: 5px 10px; margin: 0px auto; }
img.cat-img { width: 30px; height: 30px; padding: 0px; margin: 4px 5px 4px 10px; vertical-align: middle; border-radius: 0px; display: inherit; }
ul.chapters > li a { padding: 2px 4px !important; justify-content: normal; }

.mb-0 { margin-bottom: 0px !important; }

/* Print styles consolidated below */

/* Content responsive */
@media (max-width: 840px) {
   .library-cta { grid-template-columns: 1fr; text-align: center; padding: 24px 16px; }
   .library-cta img { max-height: 120px; margin: 16px auto 0; }
   .library-cta__button { align-self: center; }
   .library-page-bottom-nav { flex-direction: column; align-items: stretch; }
   .library-page-bottom-nav .flex-group { justify-content: center; }
   h1.qa_title { font-size: 20px !important; }
   .author-profile-post-info { display: block !important; }
}

/* --- Author Profile Card --- */
.al-author-profile-card { background: #fff; border: 1px solid #e8ebf0; border-radius: 10px; padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.al-author-profile-top { display: flex; align-items: center; gap: 20px; }
.al-author-profile-img { width: 90px; height: 90px; border-radius: 12px; object-fit: cover; border: 3px solid #e0e7ff; flex-shrink: 0; }
.al-author-profile-info { flex: 1; }
.al-author-profile-name { font-size: 22px; font-weight: 700; color: #1e293b; margin: 0 0 4px; }
.al-author-profile-tagline { font-size: 14px; color: #6b7280; margin: 0 0 10px; }
.al-author-profile-social { display: flex; align-items: center; gap: 12px; }
.al-author-profile-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #f3f4f6; color: #6b7280; transition: all .15s; }
.al-author-profile-social a:hover { background: #40A944; color: #fff; }
.al-author-profile-about { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #e2e8f0; font-size: 14px; line-height: 1.7; color: #4b5563; }
.al-author-profile-stats { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #e2e8f0; font-size: 14px; color: #6b7280; display: flex; gap: 20px; }
.al-author-profile-stats strong { color: #1e293b; font-weight: 700; }
@media (max-width: 480px) {
    .al-author-profile-top { flex-direction: column; text-align: center; }
    .al-author-profile-img { width: 70px; height: 70px; }
    .al-author-profile-social { justify-content: center; }
}

/* ============================================
   Author Profile Card
   ============================================ */
.al-author-profile-card { background: #fff; border: 1px solid #e8ebf0; border-radius: 10px; padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.al-author-profile-top { display: flex; align-items: flex-start; gap: 20px; }
.al-author-profile-photo { width: 90px; height: 90px; border-radius: 12px; object-fit: cover; border: 2px solid #e0e7ff; flex-shrink: 0; }
.al-author-profile-info { flex: 1; }
.al-author-profile-name { font-size: 22px; font-weight: 700; color: #1e293b; margin: 0 0 4px; }
.al-author-profile-tagline { font-size: 13px; color: #6b7280; margin: 0 0 10px; font-weight: 500; }
.al-author-profile-social { display: flex; align-items: center; gap: 10px; }
.al-author-profile-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #f3f4f6; color: #6b7280; transition: all .15s; text-decoration: none; }
.al-author-profile-social a:hover { background: #40A944; color: #fff; }
.al-author-profile-social a svg { fill: currentColor; }
.al-author-profile-about { margin-top: 16px; padding-top: 16px; border-top: 1px solid #f3f4f6; }
.al-author-profile-about h3 { font-size: 14px; font-weight: 700; color: #374151; margin: 0 0 6px; }
.al-author-profile-about p { font-size: 13px; color: #6b7280; line-height: 1.6; margin: 0; }
.al-author-profile-stats { margin-top: 14px; padding-top: 14px; border-top: 1px solid #f3f4f6; font-size: 13px; color: #6b7280; }
.al-author-profile-stats strong { color: #40A944; font-weight: 700; }
@media (max-width: 480px) {
    .al-author-profile-top { flex-direction: column; align-items: center; text-align: center; }
    .al-author-profile-photo { width: 80px; height: 80px; }
    .al-author-profile-social { justify-content: center; }
    .al-author-profile-name { font-size: 18px; }
}

/* ============================================
   Tutorial Content Classes (from new-lib-style.css)
   Used by page_view.htm tutorial pages
   ============================================ */

/* Cover image (hidden on mobile via media query in new-lib-style) */
.cover { display: block; }
.cover img { width: 100%; border-radius: 15px; margin-top: 15px; }
@media (max-width: 840px) { .cover { display: none; } }

/* Responsive images */
.img-responsive { max-width: 100%; height: auto; border-radius: 15px; }

/* Clearer */
.clearer { clear: both; }

/* Tutorial menu (Job Search, PDF, Quick Guide, Resources, Discussion) */
.tutorial-menu { background-color: #e9f1ff; color: #000; margin-top: -.5rem; box-shadow: 0 2px 7px 0 #e9f1ff; border-radius: 15px; padding: .5rem; border: 1px solid #eee; overflow: visible; }
.tutorial-menu form { display: flex; flex-wrap: nowrap; padding: .75rem 1rem; gap: .5rem; justify-content: flex-start; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.tutorial-menu form::-webkit-scrollbar { display: none; }
.tutorial-menu form div, .tutorial-menu form button, .tutorial-menu form a { flex-shrink: 0; cursor: pointer; border: 0; display: inline-flex; font-size: 13px; align-items: center; justify-content: center; gap: .4rem; background-color: #444f55; border-radius: 50px; padding: 8px 16px; color: #fff; transition: .3s ease; white-space: nowrap; text-decoration: none; height: 36px; }
.tutorial-menu form div a, .tutorial-menu form button a { display: block; }
.tutorial-menu form div:hover, .tutorial-menu form button:hover, .tutorial-menu form a:hover { opacity: .7; }
.tutorial-menu-slider { display: flex; overflow: auto; -ms-overflow-style: none; scrollbar-width: none; align-items: center; gap: 0.5rem; }
.tutorial-menu-slider::-webkit-scrollbar { display: none; }
.tp-btn { width: fit-content; flex-shrink: 0; cursor: pointer; border: 0; display: flex; font-size: .9rem; align-items: center; justify-content: center; gap: .5rem; background-color: #444f55; border-radius: 15px; padding: .5rem .85rem; color: #fff; transition: .3s ease; white-space: nowrap; text-decoration: none; }
.tp-btn:hover { opacity: .7; }

/* Table wrapper (scrollable) */
.tutorial-content .table-wrapper { overflow: auto; scrollbar-color: #06141c transparent; }
.tutorial-content .table-wrapper::-webkit-scrollbar { width: 0.4rem; height: 5px; }
.tutorial-content .table-wrapper::-webkit-scrollbar-track { border-radius: 0; background-color: #ddd; }
.tutorial-content .table-wrapper::-webkit-scrollbar-thumb { border-radius: 0; background-color: #06141c; }

/* Top navigation (above content, used in Q&A/quiz pages) */
.library-page-top-nav { margin-block: 1.5rem !important; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.library-page-top-nav > .flex-group { gap: 1rem; }
.library-page-top-nav .button { font-size: 13px; min-height: auto; padding: 8px 18px; border-radius: 8px; }

/* Quiz/QA styling */
.tutorial-content .QA { margin-top: 2rem !important; position: relative; border: 1px solid #ddd; border-radius: 12px; padding: 1rem; padding-top: 1.5rem; }
.tutorial-content .QA .Q p:first-child { font-weight: 600; }
.tutorial-content .QA .Q a { margin-top: .5rem; display: inline-block; text-align: start; cursor: pointer; border: 0; border-radius: 50px; padding: .4rem 1rem; transition: .25s ease; color: currentColor; font-weight: normal; }
.tutorial-content .QA .Q a:hover { background-color: #eee; }
.tutorial-content .QA .Q a.wrong { background-color: #ffecd2; }
.tutorial-content .QA .Q a.true { background-color: #c6f6d5; }
.tutorial-content .QA .show { display: block !important; animation: fadeSlideDown 0.5s ease-in-out; }
.tutorial-content .QA .A { margin-top: 1rem; background-color: #e0f2fe; border-radius: 8px; display: none; padding: 1rem; }
.tutorial-content .QA .A > h3:first-child { font-size: 1.1rem; font-weight: 500; margin-block: .5rem; }
.tutorial-content .QA .A > h3:nth-child(2) { margin-bottom: .5rem; font-weight: 500; }
.tutorial-content .QA .A h2 { margin-bottom: 1rem; }
.tutorial-content .QA .B .btn { position: absolute; top: -1rem; right: 1rem; cursor: pointer; border: 0; background-color: #04af2f; border-radius: 8px; padding: .3rem 1rem; color: #fff; transition: .25s ease; width: fit-content; }
.tutorial-content .QA .B .btn:hover { opacity: .7; }
.tutorial-content .QA .A[data-visible] { display: block; }
.tutorial-content .QA .option-item, .tutorial-content .QA .option-item label, .tutorial-content .QA .option-item .option-label, .tutorial-content .QA .option-item .option-text { cursor: pointer; }

/* Generic btn */
.btn-default { cursor: pointer; background-color: #eee; color: #000; border: 2px solid transparent; border-radius: 0; padding-block: 0.363em; padding-inline: 1em; transition: all 0.25s ease; align-items: center; gap: 0.4rem; min-height: 35px; min-width: 180px; }
.btn:hover, .btn-default:hover { background-color: #fff; border-color: #eee; color: #000; }
.btn-test { display: inline-block; margin: 1rem 0; }
.btn-test a { color: #fff; text-decoration: none; }
.btn-round { border-radius: 50px; }

/* Quiz navigation */
.quiz_navigation { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0; padding: 1rem 0; border-top: 1px dashed #ccc; }
.quiz_navigation a { color: #40A944; text-decoration: none; font-weight: 600; }
.quiz_navigation a:hover { text-decoration: underline; }
.button-borders { border: 1px solid #eee; border-radius: 8px; padding: 1rem; }
.pre-btn, .nxt-btn, .middle-btn { display: inline-flex; align-items: center; gap: 6px; }

/* Hidden elements */
.hide { display: none !important; }
div.parent-file { display: none; }

/* Print styles */
@media print {
    body { -webkit-print-color-adjust: exact; background: #fff !important; }
    div[class*=language-] { max-height: initial !important; }
    
    /* Hide everything except content */
    .tp-topbar, .tp-header, .al-panel, .al-panel-overlay, .al-right-panel,
    .al-bottom-nav, .al-panel-header, .al-reading-header, .al-reading-list,
    .header, .footer, footer,
    .tutorial-menu, #page-menu, .table-of-content-wrapper,
    .library-nav, .library-page-bottom-nav, .library-page-top-nav,
    .bottom-library-ads, .google-bottom-ads, .google-right-ad, .data-sticky,
    #adp_top_ads, .adp_top_ads, ._ap_apex_ad,
    .inserted-div, .pgAdWrapper, .adSpinner,
    .prof-view-artcle, .crs-detail-section,
    .library-cta, .related-tutorials,
    .execute, .QA > .B, hr,
    .al-detail-ad, .al-detail-tags,
    .cover, .mini-logo,
    iframe[title="Advertisement"], div[id*="google_ads"],
    script, .al-panel-toggle { display: none !important; height: 0 !important; overflow: hidden !important; }
    
    /* Show toggle content for print */
    .toggle-content, .table-wrapper { display: block !important; }
    .QA > .A { display: block !important; }
    
    /* Full width content */
    .articles-layout-row { display: block !important; }
    .al-content, .al-detail-card { width: 100% !important; max-width: 100% !important; }
    .al-main { padding: 0 !important; background: #fff !important; }
    
    .code-mirror { overflow-wrap: break-word !important; white-space: pre-wrap !important; }
}

/* ============================================
   Tutorial Page Layout (from new-lib-style.css)
   Used by page_view.htm - tutorial TOC + content grid
   ============================================ */

/* 3-column grid: TOC | Content | Ads */
.row { display: grid !important; grid-template-columns: 350px 1fr 22% !important; gap: 1.25rem; }
@media (max-width: 1400px) { .row { grid-template-columns: 300px 1fr 24% !important; } }
@media (max-width: 1200px) { .row { grid-template-columns: 1fr 24% !important; } }
@media (max-width: 840px) { .row { grid-template-columns: 1fr !important; } .row > .data-sticky { display: none !important; } }
@media (max-width: 840px) {
    .row { grid-template-columns: 1fr; }
    .tutorial-toc { z-index: 12; height: 100vh; min-width: 300px; position: fixed; left: 0; top: 0; overflow-y: scroll; box-shadow: .42px 1.87px 15px 0 rgba(75,75,75,.5); transform: translateX(-110%); transition: transform .4s ease-in-out; }
    .tutorial-toc[data-visible] { transform: translateX(0); }
}

main, .container-fluid, .row { overflow: unset !important; }
.bg-light { position: relative; background: #fff !important; padding-block: 0; overflow: hidden; }

/* Tutorial TOC sidebar */
.tutorial-toc { padding-bottom: 0; background-color: var(--clr-neutral-50); align-self: start; height: calc(100svh - 100px); position: sticky; top: 68px; border-radius: 0; }
.tutorial-toc .mini-logo { display: flex; flex-direction: column; gap: .5rem; }
.tutorial-toc .mini-logo img { border-top-left-radius: 0; border-top-right-radius: 0; }
.toc-nav { max-height: 100%; overflow-y: auto; position: relative; scrollbar-width: none; -ms-overflow-style: none; border-radius: 12px; }
.toc-nav::-webkit-scrollbar { display: none; }
.tutorial-toc ul { overflow: hidden; display: grid; gap: 0; }
.tutorial-toc li { padding: 0; border-bottom: 1px solid var(--clr-neutral-200); padding-left: 0 !important; font-size: 14px !important; line-height: 35px; }
.tutorial-toc a { transition: .3s ease; display: flex; width: 100%; padding: .3rem 1rem; align-items: center; justify-content: space-between; }
.tutorial-toc a::after { content: ''; background-image: url('https://www.tutorialspoint.com/images/arrowShort.svg'); background-position: right; background-repeat: no-repeat; width: 20px; height: 20px; opacity: 0; transform: translateX(-50%); transition: .3s ease; }
.tutorial-toc a.active { background-color: #eee; border-radius: 0; }
.tutorial-toc a.active::after { transform: translateX(0); opacity: 1; }

/* TOC heading/section dividers */
.tutorial-toc li.heading, .tutorial-toc li.sreading { width: 100%; display: flex; align-items: center; justify-content: space-between; color: #fff; font-weight: 700; background-color: #202124; padding: 10px 10px; }
.tutorial-toc li.sreading { background-color: var(--clr-neutral-900, #1c1d21); }
.tutorial-toc .grey_bg { display: none; }
ul.toc li a.videolink { background: none !important; color: #000; font-size: 15px; padding: 0; margin: 0; list-style: none; }
ul.toc li a.videolink img { width: 296px; }
#sticky-ad { margin: 0 auto; }

/* Row content styles */
.row h2:not([class]) { padding-top: .5rem; font-size: 1.7rem; font-weight: 500; }
.row blockquote { border-radius: 0; padding: 1.7rem 2.35rem; padding-right: 3rem; overflow: hidden; font-style: italic; background-color: var(--clr-yellow-200); position: relative; }
.row blockquote::before, .row blockquote::after { content: ''; width: .85rem; height: 100%; position: absolute; background-color: var(--clr-yellow); top: 0; }
.row blockquote::before { left: 0; }
.row blockquote::after { right: 0; }

/* Toggle sections in tutorials */
.row .toggle:first-of-type { margin-top: 1.5rem; }
.row .toggle { margin-block: 1rem; }
.row .toggle-content { padding-top: 1rem; display: none; }
.row .toggle-content > div { overflow: hidden; margin-block: .8rem; }
.row .toggle-content[data-visible] { display: block; }
.row .toggle label, .row .toggle button { width: 100%; border: 0; background-color: var(--clr-neutral-200); border-radius: 15px; padding: .7rem 1rem; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; cursor: pointer; transition: .25s ease; }
.row .toggle label::before, .row .toggle button::before { content: ''; width: 0.5rem; height: 100%; position: absolute; background-color: var(--clr-neutral-350); top: 0; left: 0; }

/* Utility classes */
.d-none { display: none !important; }
@media (min-width: 576px) { .d-sm-block { display: block !important; } }

/* ============================================
   Tutorial TOC inside al-panel (page_view.htm)
   Same styles as .tutorial-toc but for .al-panel context
   ============================================ */
.al-panel .mini-logo { display: flex; flex-direction: column; padding: 0; margin: 0; }
.al-panel .mini-logo img { border-radius: 0; width: 100%; display: block; }
.al-panel ul.toc { list-style: none; padding: 0; margin: 0; overflow: hidden; display: grid; gap: 0; }
.al-panel ul.toc li { padding: 0 0 0 13px; border-bottom: 1px dotted #d3d3d3; font-size: 13px; line-height: 34px; }
.al-panel ul.toc li a { transition: .25s ease; display: flex; width: 100%; padding: 10px 16px; align-items: center; text-decoration: none; color: #374151; gap: 10px; font-weight: 500; }
.al-panel ul.toc li a::before { content: ''; width: 6px; height: 6px; min-width: 6px; border-radius: 50%; background: #d0d0d0; flex-shrink: 0; transition: background .25s ease; }
.al-panel ul.toc li a::after { content: ''; background-image: url('https://www.tutorialspoint.com/images/arrowShort.svg'); background-position: right; background-repeat: no-repeat; width: 18px; min-width: 18px; height: 20px; margin-left: auto; transition: .25s ease; margin-right: 15px; opacity: 0; }
.al-panel ul.toc li a:hover { background-color: #f8f9fa; }
.al-panel ul.toc li a:hover::before { background: #40A944; }
.al-panel ul.toc li a.active { background-color: #eef7ee; font-weight: 600; color: #1a1a1a; }
.al-panel ul.toc li a.active::before { background: #40A944; width: 7px; height: 7px; min-width: 7px; }
.al-panel ul.toc li a.active::after { opacity: 1; }
.al-panel ul.toc li:last-child { border-bottom: none; }
.al-panel ul.toc li.heading, .al-panel ul.toc li.sreading { width: 100%; display: flex; align-items: center; color: #fff; font-weight: 700; background-color: #202124; padding: 10px 14px; line-height: normal; border-bottom: none; font-size: 13px; letter-spacing: .3px; }
.al-panel ul.toc li.heading a::before, .al-panel ul.toc li.sreading a::before { display: none; }
.al-panel ul.toc.reading li { font-size: 12.5px; line-height: 18px; }
.al-panel ul.toc.reading li a { padding: 6px 12px 6px 16px; color: #555; }
.al-panel ul.toc.reading li a::before { width: 5px; height: 5px; min-width: 5px; background: #ccc; }
.al-panel ul.toc.reading li a:hover::before { background: #6366f1; }
.al-panel ul.toc.reading li a:hover { color: #333; }

/* Tutorial content heading styles (override Tailwind reset) */
.tutorial-content h1, .al-detail-answer h1 { font-size: 1.65rem; font-weight: bold; padding-bottom: 14px; margin-bottom: 0; }
.tutorial-content .cover ~ h1, .al-detail-answer .cover ~ h1 { text-align: center; }
.tutorial-content h2, .al-detail-answer h2 { font-size: 1.5rem; font-weight: 500; padding-top: .5rem; margin-bottom: .5rem; line-height: 30px; }
.tutorial-content h3, .al-detail-answer h3 { font-size: 1.25rem; font-weight: 500; color: rgba(0,0,0,.87); margin-bottom: .4rem; line-height: 30px; }
.tutorial-content h4, .al-detail-answer h4 { font-size: 1.1rem; font-weight: 500; color: rgba(0,0,0,.87); margin-bottom: .3rem; }
.tutorial-content h5, .al-detail-answer h5 { font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
.tutorial-content h6, .al-detail-answer h6 { font-size: .9rem; font-weight: 600; margin-bottom: .2rem; }

/* Toggle/FAQ accordion */
.toggle { margin-block: .6rem; }
.toggle:first-of-type { margin-top: 1rem; }
.toggle label, .toggle button {
    width: 100%; border: 1px solid #e5e7eb; background-color: #f9fafb; border-radius: 10px;
    padding: 12px 18px; display: flex; align-items: center;
    justify-content: space-between;
    cursor: pointer; transition: .25s ease; font-weight: 500; color: #1f2937;
    font-size: 14px; line-height: 1.5;
}
.toggle label:hover, .toggle button:hover { background-color: #f3f4f6; border-color: #d1d5db; }
.toggle label::before, .toggle button::before { display: none !important; }
.toggle label::after, .toggle button::after {
    content: ''; width: 9px; height: 9px; min-width: 9px;
    border-right: 2px solid #9ca3af; border-bottom: 2px solid #9ca3af;
    transform: rotate(45deg); transition: transform .3s ease;
    margin-left: 12px; flex-shrink: 0;
}
/* Hide CSS chevron when img chevron exists inside */
.toggle label:has(img)::after, .toggle button:has(img)::after { display: none; }
/* Chevron up when open */
.toggle label.open::after,
.toggle button.open::after,
.toggle__toggle.open::after,
.toggle:has(.toggle-content[data-visible]) label::after,
.toggle:has(.toggle-content[data-visible]) button::after,
.toggle label[aria-expanded="true"]::after,
.toggle button[aria-expanded="true"]::after,
.toggle__toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }

.toggle-content { padding: 14px 18px 6px; display: none; margin-top: 2px; }
.toggle-content[data-visible] { display: block; }
.toggle-content p { padding-bottom: 8px; color: #374151; line-height: 1.7; font-size: 14px; }
.toggle-content > div { overflow: hidden; margin-block: .8rem; }
.toggle img { margin: initial; }

/* ============================================
   Table of Contents (page-menu + ToC widget)
   ============================================ */
#page-menu { width: 20%; position: relative; top: -2.5rem; right: 0; cursor: pointer; display: flex; justify-content: flex-end; }
#page-menu:hover { opacity: .7; }
#page-menu img { margin: initial; margin-top: -4px; }
.table-of-content { overflow: hidden; border-radius: 12px; }
.table-of-content-wrapper { display: grid; grid-template-rows: 0fr; transition: .4s ease-in-out; }
.table-of-content-wrapper[data-visible] { margin-bottom: 1.3rem; margin-top: -1.5rem; grid-template-rows: 1fr; }
.table-of-content__content { border-radius: 0 0 12px 12px; overflow: hidden; border: 1px solid #C5C5C5; }
.table-of-content__header { border-radius: 12px 12px 0 0; background-color: #031926; padding: 1.1rem 1.75rem; font-weight: 600; color: #fff; }
.table-of-content ul { padding: .75rem 1.6rem; list-style: none; }
.table-of-content li { padding-block: .33rem; border-bottom: 1px solid #E9E6CF; }
.table-of-content li:last-child { border-bottom: none; }
.table-of-content li a { transition: .3s ease; display: inline-block; width: 100%; border-radius: 0; padding: .5rem 1rem; text-decoration: none; color: #333; font-size: 14px; }
.table-of-content li a:hover { background-color: #f5f5f5; }

/* Run button (inline in content) */
img.run-button { display: inline !important; width: 20px !important; height: 20px; top: 0px; position: relative; margin: 0 !important; }

/* Intlink (internal link style) */
a.intlink { color: #40A944; font-weight: 600; text-decoration: none; }
a.intlink:hover { text-decoration: underline; }


/* Reduce margins on screens below 1400px */
@media (max-width: 1400px) {
    .tp-header-inner-page, .al-main-inner { padding-left: 5px !important; padding-right: 5px !important; }
    .tp-topbar-inner-page { padding-left: 5px; padding-right: 5px; }
    .footer .container, .footer__legal-wrapper .container, .footer__socials.container { padding-left: 5px; padding-right: 5px; }
    .al-main { padding: 0px 5px; }
    .al-content { margin: 0px 5px; }
    .al-detail-card { padding: 28px 20px; }
    .al-panel { width: 300px; min-width: 300px; max-width: 300px; }
}

/* ============================================
   Top Categories Page - Card Grid
   ============================================ */
.tp-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.tp-cat-card {
    background: #fff; border-radius: 16px; padding: 0; overflow: hidden;
    transition: all .3s ease; box-shadow: 0 1px 3px rgba(0,0,0,.04);
    text-decoration: none; color: inherit; display: block; position: relative;
}
.tp-cat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.tp-cat-top { background: #fffade; padding: 20px 20px 16px; display: flex; align-items: center; gap: 12px; }
.tp-cat-icon {
    width: 54px; height: 54px; min-width: 54px; background: #fff; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.tp-cat-icon img { width: 34px; height: 34px; object-fit: contain; }
.tp-cat-info h3 { font-size: 14px; font-weight: 700; color: #1e293b; margin: 0; }
.tp-cat-count { font-size: 11px; color: #40A944; font-weight: 600; margin-top: 2px; }
.tp-cat-bottom { padding: 10px 20px 14px; }

.tp-cat-bottom p { font-size: 12px; color: #6b7280; line-height: 1.4; margin: 0; }
.tp-cat-arrow { display: inline-block; color: #40A944; font-weight: 700; font-size: 12px; margin-top: 4px; transition: transform .3s; }
.tp-cat-card:hover .tp-cat-arrow { transform: translateX(4px); }
@media (max-width: 1024px) { .tp-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tp-cat-grid { grid-template-columns: 1fr; gap: .75rem; } }

/* ============================================
   Top Ads Row - 4 square boxes (category pages)
   ============================================ */
.tp-ads-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.tp-ad-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    height: 280px;
    max-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
@media (max-width: 1199px) { .tp-ads-row { grid-template-columns: repeat(3, 1fr); } .tp-ad-box:nth-child(4) { display: none; } }
@media (max-width: 899px) { .tp-ads-row { grid-template-columns: repeat(2, 1fr); } .tp-ad-box:nth-child(3) { display: none; } }
@media (max-width: 599px) { .tp-ads-row { grid-template-columns: 1fr; } .tp-ad-box:nth-child(2) { display: none; } }

/* Home page style header - wider than article pages */
.tp-header-inner { max-width: 1413px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; padding-left: 24px; padding-right: 24px; }
.tp-topbar-inner { max-width: 1413px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding-left: 24px; padding-right: 24px; }
@media (max-width: 1400px) { .tp-header-inner, .tp-topbar-inner { padding-left: 5px; padding-right: 5px; } }
/* ===== TUTORIALS LIBRARY PAGE ===== */
.tl-hero {
  background: linear-gradient(135deg, #f0faf1 0%, #e8f5e9 40%, #f5faf5 100%);
  padding: 44px 0 36px;
  text-align: center;
  border-bottom: 1px solid #e2e8e2;
}
.tl-hero h1 { font-size: 2rem; font-weight: 800; color: #1a201a; margin: 0 0 8px; letter-spacing: -0.5px; }
.tl-hero h1 span { color: #40A944; }
.tl-hero p { font-size: 1.05rem; color: #6b7b6b; margin: 0 0 24px; }
.tl-stats { display: flex; justify-content: center; gap: 32px; margin-bottom: 24px; flex-wrap: wrap; }
.tl-stat { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: #374137; }
.tl-stat i { color: #40A944; font-size: 1.1rem; }
.tl-stat strong { font-weight: 700; color: #1a201a; }
.tl-search-wrap { max-width: 680px; margin: 0 auto; position: relative; }
.tl-search-wrap input { width: 100%; height: 50px; border: 1px solid #dfe1e5; border-radius: 24px; padding: 0 48px 0 44px; font-size: 1rem; outline: none; transition: box-shadow .2s; background: #fff; }
.tl-search-wrap input:focus { box-shadow: 0 1px 6px rgba(32,33,36,0.18); border-color: rgba(223,225,229,0); }
.tl-search-wrap .tl-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9aa0a6; font-size: 1rem; pointer-events: none; }
.tl-search-wrap .tl-search-clear { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #70757a; font-size: 1rem; cursor: pointer; display: none; border: none; background: none; padding: 4px; }
.tl-search-wrap .tl-search-clear:hover { color: #202124; }
.tl-search-wrap.has-value .tl-search-clear { display: block; }
.tl-search-results { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #e8e8e8; border-top: 1px solid #e8e8e8; border-radius: 0 0 24px 24px; max-height: 380px; overflow-y: auto; z-index: 100; box-shadow: 0 4px 6px rgba(32,33,36,0.1); list-style: none; margin: -2px 0 0; padding: 4px 0 8px; }
.tl-search-results::-webkit-scrollbar { width: 5px; }
.tl-search-results::-webkit-scrollbar-thumb { background: #dadce0; border-radius: 5px; }
.tl-search-results.active { display: block; }
.tl-search-wrap.has-results input { border-radius: 24px 24px 0 0; box-shadow: 0 1px 6px rgba(32,33,36,0.18); border-color: rgba(223,225,229,0); }
.tl-search-results li a { display: flex; align-items: center; gap: 12px; padding: 7px 16px; color: #202124; text-decoration: none; font-size: 0.9rem; transition: background .1s; }
.tl-search-results li a:hover, .tl-search-results li.tl-sr-active a { background: #f1f3f4; }
.tl-search-results li .tl-sr-icon { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.tl-search-results li .tl-sr-text { flex: 1; font-weight: 400; color: #202124; text-align: left; }
.tl-search-results li .tl-sr-text b { font-weight: 600; }
.tl-search-results li .tl-sr-cat { font-size: 0.7rem; font-weight: 500; color: #70757a; white-space: nowrap; flex-shrink: 0; }
.tl-search-results .tl-sr-divider { height: 1px; background: #e8e8e8; margin: 4px 16px; }
.tl-search-results .tl-sr-empty { padding: 20px 16px; text-align: center; color: #70757a; font-size: 0.88rem; }

/* Section Titles */
.tl-section-title { display: flex; align-items: center; gap: 12px; margin: 40px 0 20px; }
.tl-section-title h2 { font-size: 1.4rem; font-weight: 700; color: #1a201a; margin: 0; white-space: nowrap; }
.tl-section-title .tl-badge { background: #40A944; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.tl-section-title .tl-line { flex: 1; height: 1px; background: #e2e8e2; }

/* Trending Grid */
.tl-trending-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tl-trending-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e2e8e2; border-radius: 12px; padding: 14px 16px; text-decoration: none; transition: all .25s; position: relative; overflow: hidden; }
.tl-trending-card:hover { border-color: #40A944; box-shadow: 0 8px 30px rgba(64,169,68,0.12); transform: translateY(-2px); }
.tl-trending-card img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.tl-trending-card .tl-tc-info h3 { font-size: 0.9rem; font-weight: 600; color: #1a201a; margin: 0 0 2px; line-height: 1.3; }
.tl-trending-card .tl-tc-info span { font-size: 0.75rem; color: #6b7b6b; }
.tl-trending-card .tl-rank { position: absolute; top: 6px; right: 10px; font-size: 0.7rem; font-weight: 800; color: #e2e8e2; }

/* Learning Paths */
.tl-paths-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tl-path-card { background: #fff; border: 1px solid #e2e8e2; border-radius: 12px; padding: 22px; transition: all .25s; position: relative; overflow: hidden; }
.tl-path-card:hover { box-shadow: 0 8px 30px rgba(64,169,68,0.12); border-color: #40A944; }
.tl-path-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; border-radius: 4px 0 0 4px; }
.tl-path-card.p-fullstack::before { background: linear-gradient(180deg, #40A944, #2196F3); }
.tl-path-card.p-datasci::before { background: linear-gradient(180deg, #FF6B35, #9C27B0); }
.tl-path-card.p-devops::before { background: linear-gradient(180deg, #2196F3, #00BCD4); }
.tl-path-card.p-mobile::before { background: linear-gradient(180deg, #4CAF50, #FF9800); }
.tl-path-card.p-ai::before { background: linear-gradient(180deg, #9C27B0, #E91E63); }
.tl-path-card.p-cyber::before { background: linear-gradient(180deg, #F44336, #FF9800); }
.tl-path-card.p-cloud::before { background: linear-gradient(180deg, #0288D1, #26C6DA); }
.tl-path-card.p-backend::before { background: linear-gradient(180deg, #5D4037, #FF7043); }
.tl-path-card .tl-ph { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.tl-path-card h3 { font-size: 1.05rem; font-weight: 700; color: #1a201a; margin: 0 0 4px; }
.tl-path-card .tl-plevel { font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.tl-plevel.beginner { background: #e8f5e9; color: #2e7d32; }
.tl-plevel.intermediate { background: #fff3e0; color: #e65100; }
.tl-plevel.advanced { background: #fce4ec; color: #c62828; }
.tl-path-card p { font-size: 0.85rem; color: #6b7b6b; margin: 0 0 14px; line-height: 1.5; }
.tl-path-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-path-steps a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; background: #f8faf8; border: 1px solid #e2e8e2; border-radius: 20px; font-size: 0.78rem; color: #374137; text-decoration: none; transition: all .2s; }
.tl-path-steps a:hover { background: #40A944; color: #fff; border-color: #40A944; }
.tl-path-steps .tl-sn { font-weight: 700; font-size: 0.68rem; color: #40A944; }
.tl-path-steps a:hover .tl-sn { color: #fff; }

/* Category Carousel */
.tl-cat-carousel-wrap { position: relative; margin: 0 -4px; }
.tl-cat-carousel { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; padding: 4px; scrollbar-width: none; -ms-overflow-style: none; }
.tl-cat-carousel::-webkit-scrollbar { display: none; }
.tl-cat-pill { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 10px 18px; background: #fff; border: 2px solid #e2e8e2; border-radius: 30px; cursor: pointer; transition: all .25s; white-space: nowrap; user-select: none; }
.tl-cat-pill img { width: 24px; height: 24px; object-fit: contain; }
.tl-cat-pill span { font-size: 0.88rem; font-weight: 600; color: #374137; }
.tl-cat-pill .tl-pill-count { font-size: 0.72rem; font-weight: 700; color: #999; background: #f0f4f0; padding: 2px 8px; border-radius: 12px; }
.tl-cat-pill:hover { border-color: #40A944; background: #f0faf1; }
.tl-cat-pill.active { border-color: #40A944; background: #40A944; }
.tl-cat-pill.active span { color: #fff; }
.tl-cat-pill.active .tl-pill-count { background: rgba(255,255,255,0.25); color: #fff; }
.tl-cat-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid #e2e8e2; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: all .2s; }
.tl-cat-arrow:hover { background: #40A944; color: #fff; border-color: #40A944; }
.tl-cat-arrow.tl-arr-left { left: -18px; }
.tl-cat-arrow.tl-arr-right { right: -18px; }

/* Tutorial Cards Grid (loaded on category click) */
.tl-tutorials-area { min-height: 100px; margin-top: 20px; }
.tl-tutorials-area .tl-loading { text-align: center; padding: 40px; color: #999; font-size: 0.9rem; }
.tl-tutorials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.tl-tut-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid #e2e8e2; border-radius: 12px; padding: 20px 14px 16px; text-decoration: none; transition: all .25s; }
.tl-tut-card:hover { border-color: #40A944; box-shadow: 0 8px 24px rgba(64,169,68,0.1); transform: translateY(-3px); }
.tl-tut-card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 12px; }
.tl-tut-card h3 { font-size: 0.88rem; font-weight: 600; color: #1a201a; margin: 0; line-height: 1.35; }
.tl-tutorials-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding: 12px 0; border-bottom: 1px solid #f0f4f0; }
.tl-tutorials-header h3 { font-size: 1.15rem; font-weight: 700; color: #1a201a; margin: 0; }
.tl-tutorials-header h3 span { color: #40A944; }
.tl-tutorials-header a { font-size: 0.85rem; font-weight: 600; color: #40A944; text-decoration: none; }
.tl-tutorials-header a:hover { text-decoration: underline; }

/* Recently Added */
.tl-recent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tl-recent-card { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e2e8e2; border-radius: 12px; padding: 12px 14px; text-decoration: none; transition: all .25s; }
.tl-recent-card:hover { border-color: #40A944; box-shadow: 0 4px 16px rgba(64,169,68,0.08); }
.tl-recent-card .tl-new-badge { font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: #fff3e0; color: #e65100; white-space: nowrap; flex-shrink: 0; }
.tl-recent-card h4 { font-size: 0.88rem; font-weight: 600; color: #1a201a; margin: 0; flex: 1; }

/* Ads */
.tl-ads-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.tl-ad-box { background: #f8faf8; border-radius: 8px; min-height: 80px; display: flex; align-items: center; justify-content: center; }

/* Responsive */
@media (max-width: 1024px) {
  .tl-paths-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tl-hero { padding: 32px 0 24px; }
  .tl-hero h1 { font-size: 1.5rem; }
  .tl-stats { gap: 16px; }
  .tl-trending-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-paths-grid { grid-template-columns: 1fr; }
  .tl-tutorials-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .tl-ads-row { grid-template-columns: repeat(2, 1fr); }
  .tl-recent-grid { grid-template-columns: 1fr 1fr; }
  .tl-section-title h2 { font-size: 1.15rem; }
  .tl-cat-arrow { display: none; }
}
@media (max-width: 480px) {
  .tl-trending-grid { grid-template-columns: 1fr; }
  .tl-recent-grid { grid-template-columns: 1fr; }
  .tl-tutorials-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-ads-row { grid-template-columns: 1fr 1fr; }
}

/* ===== TUTORIALS LIBRARY PAGE - Sidebar + Cards Layout ===== */
.tl-lib-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  margin-top: 24px;
  min-height: 600px;
}
.tl-lib-sidebar {
  background: linear-gradient(160deg, #2c9d30 0%, #1a7a1e 100%);
  border-radius: 16px;
  padding: 28px 20px;
  color: #fff;
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.tl-lib-sidebar::-webkit-scrollbar { width: 5px; }
.tl-lib-sidebar::-webkit-scrollbar-track { background: transparent; }
.tl-lib-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 10px; }
.tl-lib-sidebar h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 6px; }
.tl-lib-sidebar h2 span { color: #fff20d; }
.tl-lib-sidebar > p { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin: 0 0 20px; line-height: 1.5; }
.tl-lib-catlist { display: flex; flex-direction: column; gap: 6px; }
.tl-lib-catitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-align: left;
  width: 100%;
}
.tl-lib-catitem:hover { background: rgba(255,255,255,0.2); }
.tl-lib-catitem.active { background: rgba(255,255,255,0.25); font-weight: 700; }
.tl-lib-catitem img { width: 22px; height: 22px; object-fit: contain; filter: brightness(10); flex-shrink: 0; }
.tl-lib-catitem .tl-cname { flex: 1; }
.tl-lib-catitem .tl-ccount {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 12px;
  flex-shrink: 0;
}
.tl-lib-catitem.active .tl-ccount { background: rgba(255,255,255,0.35); }

/* Right side: tutorial cards grid */
.tl-lib-main { }
.tl-lib-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f0f4f0;
}
.tl-lib-main-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a201a;
  margin: 0;
}
.tl-lib-main-header h3 span { color: #40A944; }
.tl-lib-main-header a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #40A944;
  text-decoration: none;
  padding: 6px 16px;
  border: 1px solid #40A944;
  border-radius: 20px;
  transition: all 0.2s;
}
.tl-lib-main-header a:hover { background: #40A944; color: #fff; }
.tl-lib-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.tl-lib-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #e8ece8;
  border-radius: 12px;
  padding: 22px 12px 16px;
  text-decoration: none;
  transition: all 0.25s;
}
.tl-lib-card:hover {
  border-color: #40A944;
  box-shadow: 0 8px 24px rgba(64,169,68,0.1);
  transform: translateY(-3px);
}
.tl-lib-card img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 10px; }
.tl-lib-card h4 { font-size: 0.84rem; font-weight: 600; color: #1a201a; margin: 0; line-height: 1.35; }
.tl-lib-loading { text-align: center; padding: 60px 20px; color: #999; font-size: 0.9rem; }

@media (max-width: 900px) {
  .tl-lib-layout { grid-template-columns: 1fr; }
  .tl-lib-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    padding: 20px 16px;
  }
  .tl-lib-catlist {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .tl-lib-catitem { width: auto; padding: 8px 12px; font-size: 0.82rem; }
  .tl-lib-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
@media (max-width: 480px) {
  .tl-lib-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tl-lib-card { padding: 16px 8px 12px; }
  .tl-lib-card img { width: 42px; height: 42px; }
}

/* Show More Button */
.tl-showmore-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  background: #fff;
  border: 2px solid #40A944;
  border-radius: 30px;
  color: #40A944;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.tl-showmore-btn:hover {
  background: #40A944;
  color: #fff;
}

/* Tutorials Library Page - Container */
.tl-container { max-width: 1413px; margin: 0 auto; padding: 0 24px; }
.tl-bottom-spacer { margin-bottom: 60px; }
.tl-showmore-wrap { text-align: center; margin: 20px 0; }

/* Search - Show all results link */
.tl-search-results .tl-sr-more { padding: 10px 16px; text-align: center; cursor: pointer; border-top: 1px solid #e8e8e8; margin-top: 4px; }
.tl-search-results .tl-sr-more span { font-size: 0.85rem; font-weight: 600; color: #40A944; }
.tl-search-results .tl-sr-more:hover { background: #f1f3f4; }

/* Category View - Horizontal category pills */
.tl-lib-catlist-horizontal { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-lib-catpill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: #fff; border: 1px solid #e2e8e2; border-radius: 24px; text-decoration: none; font-size: 0.85rem; font-weight: 500; color: #374137; transition: all 0.2s; }
.tl-lib-catpill:hover { border-color: #40A944; background: #f0faf1; }
.tl-lib-catpill.active { border-color: #40A944; background: #40A944; color: #fff; }
.tl-lib-catpill img { width: 18px; height: 18px; object-fit: contain; }
.tl-lib-catpill.active img { filter: brightness(10); }
.tl-lib-catpill .tl-pill-ct { font-size: 0.7rem; font-weight: 700; background: #f0f4f0; padding: 1px 8px; border-radius: 10px; color: #666; }
.tl-lib-catpill.active .tl-pill-ct { background: rgba(255,255,255,0.25); color: #fff; }

/* Dev Tools Carousel */
.dt-section-header { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 12px; padding-bottom: 10px; border-bottom: 1px solid #e2e8e2; }
.dt-section-header:first-child { margin-top: 0; }
.dt-section-left { display: flex; align-items: center; gap: 10px; }
.dt-section-left h2 { font-size: 1.3rem; font-weight: 800; color: #1a201a; margin: 0; }
.dt-badge { font-size: 0.82rem; font-weight: 700; color: #40A944; letter-spacing: 0.3px; }
.dt-section-arrows { display: flex; gap: 6px; }
.dt-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #d0d5d0; background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 0.85rem; color: #374137; transition: all 0.2s; }
.dt-arrow:hover { background: #40A944; color: #fff; border-color: #40A944; }
.dtSwiper1 .swiper-slide .tl-lib-card,
.dtSwiper2 .swiper-slide .tl-lib-card,
.dtSwiper3 .swiper-slide .tl-lib-card,
.dtSwiper4 .swiper-slide .tl-lib-card,
.dtSwiper5 .swiper-slide .tl-lib-card { width: 100%; max-width: none; height: 140px; box-sizing: border-box; }
.dtSwiper1 .swiper-slide .tl-lib-card:hover,
.dtSwiper2 .swiper-slide .tl-lib-card:hover,
.dtSwiper3 .swiper-slide .tl-lib-card:hover,
.dtSwiper4 .swiper-slide .tl-lib-card:hover,
.dtSwiper5 .swiper-slide .tl-lib-card:hover { transform: none; }
@media (max-width: 768px) {
    .dt-section-left h2 { font-size: 1.05rem; }
}

.jl-detail-meta-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:20px;padding:20px;background:linear-gradient(160deg,#f8fafc 0%,#eef2ff 30%,#f1f5f9 100%);border-radius:16px;border:1px solid #cbd5e1}
.jl-detail-meta-card{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.7);border-radius:14px;padding:16px 18px;border:1px solid rgba(148,163,184,.3);backdrop-filter:blur(8px)}
.jl-detail-meta-card .meta-icon{font-size:28px;flex-shrink:0}
.jl-detail-meta-card .meta-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.jl-detail-meta-card .meta-label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#3b82f6}
.jl-detail-meta-card .meta-value{font-size:14px;font-weight:800;color:#1e293b}
@media(max-width:540px){.jl-detail-meta-grid{grid-template-columns:1fr}}
.jl-highlights-list{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-direction:column;gap:10px}
.jl-highlights-list li{position:relative;padding-left:24px;font-size:14px;color:#334155;line-height:1.5}
.jl-highlights-list li::before{content:'';position:absolute;left:0;top:7px;width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 1px 3px rgba(37,99,235,.3)}

/* ============================================================
   JOBS PAGE OVERRIDES — must be at bottom to win specificity
   ≤1200px: left panel → slide-in, right ads stay
   ≤840px: right ads hide too
   ============================================================ */

/* Base styles */
#jobsPage .jobs-layout-row{display:flex!important;width:100%!important;align-items:stretch!important}
#jobsPage .jobs-layout-row > .tutorial-wrapper{flex:1!important;min-width:0!important;display:flex!important;flex-direction:column!important;margin-bottom:0!important}
#jobsPage .jobs-layout-row > .tutorial-wrapper .tutorial-content{
  background:#fff!important;border:1px solid #e8ebf0!important;border-radius:10px!important;
  padding:28px 32px!important;box-shadow:0 1px 2px rgba(0,0,0,.03)!important;height:auto!important;flex:1!important}
#jobsPage .jobs-layout-row > .jl-panel{align-self:flex-start!important}
/* Right panel base */
#jobsPage .jobs-layout-row > div[style*="min-width:336px"]{
  flex-shrink:0!important;position:sticky!important;top:90px!important;align-self:flex-start!important;
  min-width:336px!important;max-width:336px!important}
#jobsPage .jobs-layout-row > div[style*="min-width:336px"] .google-right-ad{
  background:#fff;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);padding:8px}

/* Toggle button is in <header>, outside #jobsPage — target directly */
.jl-panel-toggle{display:inline-flex!important}
.jl-panel-close{display:inline-flex!important}

/* ── >1400px: 3-col — left 530px + middle + right 336px ── */
@media(min-width:1401px){
  #jobsPage .jobs-layout-row{gap:1.25rem!important}
  #jobsPage .jobs-layout-row > .jl-panel{
    min-width:530px!important;max-width:530px!important;background:#fff;border-radius:10px!important;
    border:1px solid #e8ebf0;box-shadow:0 1px 2px rgba(0,0,0,.03);
    position:sticky!important;top:90px!important;max-height:calc(100vh - 100px)!important}
  .jl-panel-toggle{display:none!important}
  .jl-panel-close{display:none!important}
}

/* ── 1201–1400px: 3-col — left shrinks to 350px + middle + right 336px ── */
@media(min-width:1201px) and (max-width:1400px){
  #jobsPage .jobs-layout-row{gap:1rem!important}
  #jobsPage .jobs-layout-row > .jl-panel{
    min-width:350px!important;max-width:350px!important;background:#fff;border-radius:10px!important;
    border:1px solid #e8ebf0;box-shadow:0 1px 2px rgba(0,0,0,.03);
    position:sticky!important;top:90px!important;max-height:calc(100vh - 100px)!important}
  .jl-panel-toggle{display:none!important}
  .jl-panel-close{display:none!important}
}
@media(max-width:1200px){
  #jobsPage .jobs-layout-row{gap:1rem!important}
  #jobsPage .jl-panel{
    position:fixed!important;left:8px;top:8px;bottom:8px;z-index:1101;height:calc(100vh - 16px)!important;max-height:calc(100vh - 16px)!important;
    min-width:530px!important;max-width:530px!important;background:#fff!important;border-radius:12px!important;
    transform:translateX(calc(-100% - 16px));transition:transform .3s ease;
    border:1px solid #e8ebf0;box-shadow:0 8px 32px rgba(0,0,0,.15)}
  #jobsPage .jl-panel.open{transform:translateX(0)}
  #jobsPage .jl-title{display:none!important}
}

/* ── ≤1024px: reduce content padding ── */
@media(max-width:1024px){
  #jobsPage .jobs-layout-row > .tutorial-wrapper .tutorial-content{padding:20px 16px!important}
  #jobsPage .jl-panel{min-width:480px!important;max-width:480px!important}
}

/* ── ≤840px: right ads hide, full mobile ── */
@media(max-width:840px){
  #jobsPage .jobs-layout-row > div[style*="min-width:336px"]{display:none!important}
  #jobsPage .jobs-layout-row > .tutorial-wrapper .tutorial-content{padding:16px 12px!important;border-radius:8px!important}
  #jobsPage .jl-panel{min-width:400px!important;max-width:400px!important}
}

/* ── ≤480px: panel full width, smallest padding ── */
@media(max-width:480px){
  #jobsPage .jl-panel{min-width:100%!important;max-width:100%!important}
  #jobsPage .jobs-layout-row > .tutorial-wrapper .tutorial-content{padding:12px 8px!important}
}

/* Jobs page: category dropdown flush with header, no gap */
.jobs-cat-dropdown.tp-categories-dropdown{top:100%!important;left:0!important;right:0!important;border-radius:0 0 12px 12px!important}