/*!
 * Narajole Raj College — Main Stylesheet
 * Theme: saffron (kesari) + deep brown + India green accent
 * Depends on: Bootstrap 5.3.3, Bootstrap Icons 1.11.3
 * Design & Development: Infotech Lab
 */

/* ==========================================================================
   1. ORIGINAL STYLES (moved verbatim from the inline <style> block)
   ========================================================================== */
/* Only the few things Bootstrap has no utility for */
.dropdown-submenu{position:relative}
.dropdown-submenu>.dropdown-toggle::after{border:0;content:"\F285";font-family:bootstrap-icons;float:right;font-size:.7rem;margin-top:.3rem}
@media(min-width:1200px){
  .navbar .dropdown:hover>.dropdown-menu{display:block}
  .dropdown-submenu>.dropdown-menu{top:-.5rem;left:100%;margin:0}
  .dropdown-submenu:hover>.dropdown-menu{display:block}
}
@media(max-width:1199.98px){
  .dropdown-submenu>.dropdown-menu{margin-left:1rem;border:0}
}
/* Theme: saffron (kesari) + deep brown + India green accent */
:root{
  --bs-primary:#de5f00;--bs-primary-rgb:222,95,0;
  --bs-warning:#ffc20e;--bs-warning-rgb:255,194,14;
  --bs-success:#138808;--bs-success-rgb:19,136,8;
  --bs-danger:#b3261e;--bs-danger-rgb:179,38,30;
  --bs-dark:#7a3b14;--bs-dark-rgb:122,59,20;
  --bs-tertiary-bg:#fff4e8;--bs-tertiary-bg-rgb:255,244,232;
  --bs-link-color:#b84e00;--bs-link-hover-color:#8f3b00;
}
.btn-primary{--bs-btn-bg:#de5f00;--bs-btn-border-color:#de5f00;--bs-btn-hover-bg:#b84e00;--bs-btn-hover-border-color:#b84e00;--bs-btn-active-bg:#b84e00;--bs-btn-active-border-color:#b84e00}
.btn-outline-primary{--bs-btn-color:#b84e00;--bs-btn-border-color:#de5f00;--bs-btn-hover-bg:#de5f00;--bs-btn-hover-border-color:#de5f00;--bs-btn-active-bg:#de5f00;--bs-btn-active-border-color:#de5f00}
.btn-success{--bs-btn-bg:#138808;--bs-btn-border-color:#138808;--bs-btn-hover-bg:#0e6a06;--bs-btn-hover-border-color:#0e6a06;--bs-btn-active-bg:#0e6a06;--bs-btn-active-border-color:#0e6a06}
.btn-warning{--bs-btn-bg:#ffc20e;--bs-btn-border-color:#ffc20e;--bs-btn-hover-bg:#e6ad00;--bs-btn-hover-border-color:#e6ad00}
.btn-dark{--bs-btn-bg:#7a3b14;--bs-btn-border-color:#7a3b14;--bs-btn-hover-bg:#5c2a0d;--bs-btn-hover-border-color:#5c2a0d}
.nav-tabs .nav-link{color:#b84e00}
.navbar .nav-link{color:#ffc20e;font-weight:700;letter-spacing:.02em;text-transform:uppercase;font-size:.88rem;transition:.2s}
.navbar .nav-link:hover,.navbar .nav-link:focus,.navbar .nav-link.active,.navbar .nav-link.show{background:#de5f00;color:#fff}
/* Navbar dropdowns: cream panel, saffron top edge, brown text, saffron hover with gold marker */
.navbar .dropdown-menu{
  --bs-dropdown-bg:#fffaf3;--bs-dropdown-border-color:#f1dfcc;--bs-dropdown-link-color:#5c2a0d;
  --bs-dropdown-link-hover-bg:transparent;--bs-dropdown-link-active-bg:transparent;
  background:#fffaf3;border:1px solid #f1dfcc;border-top:4px solid #de5f00;padding:.35rem 0;
  box-shadow:0 .9rem 1.8rem rgba(92,42,13,.28)!important
}
@media(max-width:1199.98px){.navbar .dropdown-menu{overflow-y:auto}}
.navbar .dropdown-menu .dropdown-menu{border-top-color:#138808;background:#fffdf8}
.navbar .dropdown-item{color:#5c2a0d;font-weight:600;font-size:.85rem;padding:.5rem 1rem;border-left:4px solid transparent;border-bottom:1px dashed rgba(222,95,0,.15);transition:.2s}
.navbar .dropdown-menu>li:last-child>.dropdown-item{border-bottom:0}
.navbar .dropdown-item:hover,.navbar .dropdown-item:focus,.navbar .dropdown-item:active,.navbar .dropdown-submenu:hover>.dropdown-item{
  background:linear-gradient(90deg,#de5f00,#f28a1e);color:#fff;border-left-color:#ffc20e;padding-left:1.3rem
}
.navbar .dropdown-submenu>.dropdown-toggle::after{color:#de5f00}
.navbar .dropdown-submenu:hover>.dropdown-toggle::after,.navbar .dropdown-item:hover::after{color:#ffc20e}
.navbar .dropdown-header{background:#fff1e6;color:#7a3b14!important;text-transform:uppercase;letter-spacing:.06em;font-size:.72rem;border-left:4px solid #ffc20e}
.dropdown-item:hover,.dropdown-item:focus{background:#fff1e6;color:#b84e00}
.accordion{--bs-accordion-active-bg:#fff1e6;--bs-accordion-active-color:#b84e00;--bs-accordion-btn-focus-box-shadow:0 0 0 .25rem rgba(222,95,0,.25)}
.form-control:focus{border-color:#de5f00;box-shadow:0 0 0 .25rem rgba(222,95,0,.25)}
.topbar-link{color:#fff;font-weight:600;text-decoration:none;transition:color .2s}
.topbar-link:hover{color:#ffe08a}
.slide-1{background:linear-gradient(120deg,#b84e00,#f28a1e)}
.slide-2{background:linear-gradient(120deg,#6b3410,#b0601f)}
.slide-3{background:linear-gradient(120deg,#0e5a06,#138808)}
.hero-slide{min-height:clamp(260px,42vw,560px)}
.hero-slide{position:relative;overflow:hidden}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}

.flash-move{white-space:nowrap;animation:flash 30s linear infinite}
.flash-move:hover{animation-play-state:paused}
@keyframes flash{from{transform:translateX(100%)}to{transform:translateX(-100%)}}
.notice-box{height:250px}
@media(max-width:767.98px){
  [data-notices] .list-group-item{display:flex;align-items:center;gap:.25rem;white-space:nowrap}
  [data-notices] .list-group-item>i,[data-notices] .list-group-item>.badge{flex-shrink:0}
  [data-notices] .list-group-item>a{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

.fac-card{transition:.3s}
.fac-card:hover{transform:translateY(-5px);box-shadow:0 .75rem 1.5rem rgba(122,59,20,.35)!important}
.fac-body{min-height:200px}
.fac-overlay{background:linear-gradient(to top,rgba(122,59,20,.92),rgba(122,59,20,.3))}
.vm-card{min-height:170px;transition:.3s}
.vm-card:hover{transform:translateY(-6px);background:#de5f00;color:#fff;box-shadow:0 .75rem 1.5rem rgba(222,95,0,.3)!important}
.vm-card:hover .card-title{color:#fff!important}
.dept-card{transition:.3s}
.dept-card:hover{transform:translateY(-6px);box-shadow:0 .75rem 1.5rem rgba(122,59,20,.28)!important}
.dept-card img{transition:transform .5s}
.dept-card:hover img{transform:scale(1.1)}
.dept-info{transition:.3s}
.dept-card:hover .dept-info{background:#de5f00!important}
.dept-card:hover .dept-name{color:#fff!important}
.dept-img{height:78px}
.navbar .dropdown-menu{min-width:14rem;max-width:22rem;max-height:80vh}
.navbar .dropdown-item{white-space:normal}
@media(min-width:1200px){
  .navbar .nav-link{padding-left:.5rem;padding-right:.5rem;font-size:.76rem}
  .dropdown-submenu>.dropdown-menu.sub-left{left:auto;right:100%}
}
@media(max-width:1199.98px){.navbar .dropdown-menu{max-width:none}}
.header-logo{height:94px;width:auto;max-width:100%;object-fit:contain}
.hdr-actions{display:grid;width:max-content;max-width:100%}
.hdr-actions form{width:0;min-width:100%}
@media(max-width:991.98px){.hdr-actions{width:100%}.hdr-actions>div:first-child{justify-content:center}}
.principal-photo{width:160px;height:185px;object-fit:cover;object-position:top;border:4px solid #de5f00;border-radius:0;padding:4px;background:#fff;box-shadow:6px 6px 0 #ffc20e,0 .5rem 1rem rgba(122,59,20,.25)}
.ql-item{display:flex;align-items:center;gap:.7rem;padding:.35rem .7rem;background:#fff;border:1px solid #f1dfcc;border-left:5px solid var(--c);border-radius:.6rem;text-decoration:none;color:#3b1d0a;font-weight:600;box-shadow:0 2px 6px rgba(122,59,20,.08);transition:.25s}
.ql-icon{width:2rem;height:2rem;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--c);color:#fff;font-size:1rem;transition:.25s}
.ql-text{flex-grow:1}
.ql-go{color:var(--c);font-size:1.05rem;transition:.25s}
.ql-item:hover{background:var(--c);color:#fff;transform:translateX(6px);box-shadow:0 .5rem 1rem rgba(122,59,20,.25)}
.ql-item:hover .ql-icon{background:#fff;color:var(--c)}
.ql-item:hover .ql-go{color:#fff;transform:translateX(4px)}
.dept-label{letter-spacing:.06em;font-size:.6rem}

/* Gallery: taller boxes + zoom */
.btn-gallery-all{background:#7a3b14;border:2px solid #7a3b14;color:#fff;transition:.25s}
.btn-gallery-all:hover,.btn-gallery-all:focus{background:#f28a1e;border-color:#f28a1e;color:#fff}
.gal-item{aspect-ratio:16/10;cursor:zoom-in;overflow:hidden;position:relative;border-radius:.375rem}
.gal-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.gal-item:hover img{transform:scale(1.08)}
.gal-item::after{content:"\F62C";font-family:bootstrap-icons;position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:2rem;color:#fff;background:rgba(122,59,20,.45);opacity:0;transition:.3s}
.gal-item:hover::after{opacity:1}
#lightbox .modal-content{background:transparent;border:0}
#lightbox img{max-height:80vh;object-fit:contain}
/* Events (compact) */
.event-img{height:92px}
.event-list{max-height:300px}
.ev-col{width:100%}
@media(min-width:992px){.ev-col{width:384px}}
/* Testimonials */
.testi-section{background:radial-gradient(circle at 12% 18%,rgba(255,224,138,.35),transparent 42%),radial-gradient(circle at 92% 88%,rgba(19,136,8,.30),transparent 40%),linear-gradient(135deg,#b84e00,#de5f00 55%,#f28a1e)}
.testi-section::before,.testi-section::after{content:"";position:absolute;border-radius:50%;border:2px dashed rgba(255,194,14,.25)}
.testi-section::before{width:340px;height:340px;top:-130px;right:-90px}
.testi-section::after{width:220px;height:220px;bottom:-90px;left:-60px}
.t-line{width:80px;height:4px;border-radius:4px;background:linear-gradient(90deg,#ffc20e,#de5f00)}
.t-card{display:flex;max-width:860px;border-radius:1.25rem;overflow:hidden;background:#fff;box-shadow:0 1.2rem 2.5rem rgba(0,0,0,.35)}
.t-side{flex:0 0 260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;padding:2rem 1rem}
.t-avatar{width:112px;height:112px;border-radius:50%;border:5px solid #fff;box-shadow:0 0 0 5px rgba(255,255,255,.3);background:rgba(255,255,255,.25);object-fit:cover;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.t-avatar i{font-size:4.8rem;line-height:1;margin-bottom:-.5rem;color:#fff}
.t-body{position:relative;flex:1;padding:2.2rem 2.2rem 2.2rem 2.4rem;display:flex;flex-direction:column;justify-content:center;background:#fffaf3}
.t-mark{position:absolute;top:.3rem;right:1.2rem;font-size:6rem;line-height:1;color:#ffc20e;opacity:.35}
.t-stars{color:#ffb400;font-size:1rem;letter-spacing:.15rem}
.t-text{position:relative;font-size:1.12rem;line-height:1.7;font-style:italic;color:#3b1d0a}
.t-arrow{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.15);color:#ffc20e;border:1px solid rgba(255,194,14,.5);transition:.25s}
#testi .carousel-control-prev,#testi .carousel-control-next{width:6%;opacity:1}
#testi .carousel-control-prev:hover .t-arrow,#testi .carousel-control-next:hover .t-arrow{background:#ffc20e;color:#7a3b14}
.t-ind button{width:10px!important;height:10px!important;border-radius:50%!important;border:0!important;background:#fff!important;opacity:.4;transition:.3s}
.t-ind button.active{width:30px!important;border-radius:6px!important;background:#ffc20e!important;opacity:1}
@media(max-width:767.98px){
  .t-card{flex-direction:column}
  .t-side{flex-basis:auto;padding:1.5rem 1rem}
  .t-body{padding:1.5rem}
  #testi .carousel-control-prev,#testi .carousel-control-next{display:none}
}
/* Principal card texture */
.principal-card{position:relative;overflow:hidden;background-color:#fff6e8;background-image:radial-gradient(circle at 100% 0,rgba(255,194,14,.40),transparent 42%),radial-gradient(circle at 0 100%,rgba(19,136,8,.12),transparent 40%),radial-gradient(rgba(222,95,0,.16) 1.3px,transparent 1.4px),repeating-linear-gradient(45deg,rgba(222,95,0,.06) 0 2px,transparent 2px 16px);background-size:auto,auto,18px 18px,auto}
.principal-card::before{content:"";position:absolute;width:210px;height:210px;top:-80px;right:-70px;border-radius:50%;border:2px dashed rgba(222,95,0,.35);pointer-events:none}
.principal-card::after{content:"";position:absolute;width:150px;height:150px;left:-55px;bottom:-60px;border-radius:50%;border:2px dashed rgba(19,136,8,.35);pointer-events:none}
.principal-card .card-body{position:relative;z-index:1}
/* Footer: deeper tone to separate from testimonials */
/* Social side bar */
.social-bar{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:1040;display:flex;flex-direction:column;box-shadow:0 .4rem 1rem rgba(0,0,0,.3)}
.social-bar a{width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.25rem;text-decoration:none;transition:.25s}
.social-bar a:hover{width:56px;color:#fff}
.sb-fb{background:#1877f2}.sb-yt{background:#ff0000}.sb-x{background:#000}
.sb-ig{background:linear-gradient(45deg,#f09433,#e6683c 30%,#dc2743 55%,#cc2366 75%,#bc1888)}
@media(max-width:575.98px){.social-bar a{width:36px;height:36px;font-size:1.05rem}}
footer#contact{background:#5c2a0d!important;border-top:4px solid #ffc20e}
@media(min-width:992px){.footer-other-links{margin-left:-1rem}.footer-academics{padding-left:2rem}}
/* Footer headings: half-width accent underline */
footer#contact h5,footer#contact h6{position:relative;display:inline-block;padding-bottom:.55rem;margin-bottom:1rem}
footer#contact h5::after,footer#contact h6::after{content:"";position:absolute;left:0;bottom:0;width:70%;height:3px;border-radius:3px;background:linear-gradient(90deg,#ffc20e,#de5f00)}
.dev-credit a{color:#ffc20e;font-weight:600;text-decoration:none;transition:color .25s}
.dev-credit a:hover{color:#fff;text-decoration:underline}
.find-us li{display:flex;gap:.75rem;align-items:flex-start;color:#fffedd;margin-bottom:.9rem}
.find-us li:last-child{margin-bottom:0}
.find-us li>i{flex:0 0 2rem;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,194,14,.15);color:#ffc20e;font-size:.9rem}
.find-us li>div{line-height:1.5}
.find-map{border:2px solid rgba(255,194,14,.4)}
footer#contact ul.find-us li,footer#contact .office-hours li{border-bottom:0}
/* Footer link hover */
footer#contact ul.list-unstyled li{border-bottom:1px dashed rgba(255,194,14,.18)}
footer#contact ul.list-unstyled li:last-child{border-bottom:0}
footer#contact ul.list-unstyled li a{position:relative;display:inline-block;padding:.28rem 0 .28rem 0;color:#fffedd!important;text-decoration:none!important;transition:color .25s,padding-left .25s,letter-spacing .25s}
footer#contact ul.list-unstyled li a::before{content:"\F285";font-family:bootstrap-icons;position:absolute;left:0;top:50%;transform:translateY(-50%);opacity:0;color:#ffc20e;font-size:.7rem;transition:opacity .25s}
footer#contact ul.list-unstyled li a::after{content:"";position:absolute;left:0;bottom:2px;width:0;height:2px;background:linear-gradient(90deg,#ffc20e,#de5f00);transition:width .3s}
footer#contact ul.list-unstyled li a:hover,footer#contact ul.list-unstyled li a:focus{color:#ffc20e!important;padding-left:1.1rem;letter-spacing:.02em}
footer#contact ul.list-unstyled li a:hover::before,footer#contact ul.list-unstyled li a:focus::before{opacity:1}
footer#contact ul.list-unstyled li a:hover::after,footer#contact ul.list-unstyled li a:focus::after{width:100%}
.hdr-actions .dropdown-menu{z-index:1060}

/* Section textures */
.sec-dept{background-color:#fff9ef;background-image:radial-gradient(rgba(222,95,0,.20) 1.6px,transparent 1.8px),radial-gradient(rgba(19,136,8,.10) 1.2px,transparent 1.4px);background-size:22px 22px,22px 22px;background-position:0 0,11px 11px;border-top:4px solid #ffc20e}
.sec-fac{background-color:#fde6cc;border-top:4px solid #de5f00;border-bottom:4px solid #138808}


/* ==========================================================================
   2. STYLES MOVED FROM INLINE style="" ATTRIBUTES
   ========================================================================== */

/* Quick links: accent colour per item (was style="--c:#xxxxxx") */
.ql-saffron{--c:#de5f00}
.ql-green{--c:#138808}
.ql-red{--c:#b3261e}
.ql-brown{--c:#7a3b14}
.ql-gold{--c:#e6a100}
.ql-blue{--c:#0b6fa4}

/* Testimonials: side-panel gradients (was inline background) */
.t-side--saffron{background:linear-gradient(160deg,#de5f00,#ffc20e)}
.t-side--green{background:linear-gradient(160deg,#138808,#7bd36f)}
.t-side--brown{background:linear-gradient(160deg,#7a3b14,#d98b4a)}
.t-side--red{background:linear-gradient(160deg,#b3261e,#f28a1e)}

/* Footer: heading + intro text colours (was inline color) */
footer#contact h5,footer#contact h6{color:#f4b942}
.footer-about{color:#fffedd}
.find-map-frame{border:0}

/* Vision / Mission text (replaces invalid nested <p> inside <p>) */
.vm-text{font-weight:700;font-style:italic}

/* ==========================================================================
   3. ACCESSIBILITY
   ========================================================================== */
.visually-hidden-focusable:focus{position:fixed!important;top:.5rem;left:.5rem;z-index:2000;background:#fff;color:#7a3b14;padding:.5rem 1rem;border:2px solid #de5f00;border-radius:.375rem}
@media (prefers-reduced-motion:reduce){
  .flash-move{animation:none}
  .fac-card,.vm-card,.dept-card,.dept-card img,.ql-item,.gal-item img{transition:none}
}

/* Find-us contact links (email / phone are now clickable) — keep them plain */
footer#contact ul.list-unstyled.find-us li a{padding:0;letter-spacing:normal;display:inline}
footer#contact ul.list-unstyled.find-us li a::before,
footer#contact ul.list-unstyled.find-us li a::after{content:none}
footer#contact ul.list-unstyled.find-us li a:hover,
footer#contact ul.list-unstyled.find-us li a:focus{padding-left:0;text-decoration:underline!important}

/* ==========================================================================
   Inner page layout: left menu + content
   Uses only the existing markup/classes (.content-wrapper, .left-menu-area,
   .active-menu, .right-content-area, .table). No new class names.
   Theme colours: saffron #de5f00, gold #ffc20e, brown #7a3b14 / #5c2a0d,
   green #138808, cream #fffaf3
   ========================================================================== */

.content-wrapper{padding:2.5rem 0 3.5rem;background:#fffaf3}

/* ---------- Left menu ---------- */
.left-menu-area{background:#fff;border:1px solid #f1dfcc;border-top:4px solid #de5f00;border-radius:.5rem;overflow:hidden;box-shadow:0 .4rem 1rem rgba(122,59,20,.10);margin-bottom:1.5rem}
@media(min-width:768px){.left-menu-area{position:sticky;top:1rem}}
.left-menu-area h2{margin:0;padding:.9rem 1.1rem;font-size:1.05rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#ffc20e;background:linear-gradient(135deg,#7a3b14,#5c2a0d)}
.left-menu-area ul{list-style:none;margin:0;padding:.35rem 0}
.left-menu-area li{margin:0;border-bottom:1px dashed rgba(222,95,0,.18)}
.left-menu-area li:last-child{border-bottom:0}
.left-menu-area li a{display:block;padding:.6rem 1rem;color:#5c2a0d;font-size:.92rem;font-weight:600;line-height:1.35;text-decoration:none;border-left:4px solid transparent;transition:background .2s,color .2s,padding-left .2s,border-color .2s}
.left-menu-area li a:hover,
.left-menu-area li a:focus{background:linear-gradient(90deg,#de5f00,#f28a1e);color:#fff;border-left-color:#ffc20e;padding-left:1.35rem}
.left-menu-area li.active-menu a{background:#fff1e6;color:#b84e00;border-left-color:#de5f00}
.left-menu-area li.active-menu a:hover{background:linear-gradient(90deg,#de5f00,#f28a1e);color:#fff;border-left-color:#ffc20e}

/* ---------- Right content ---------- */
.right-content-area{background:#fff;border:1px solid #f1dfcc;border-radius:.5rem;padding:1.75rem 2rem 2rem;box-shadow:0 .4rem 1rem rgba(122,59,20,.08);color:#3b1d0a}
@media(max-width:575.98px){.right-content-area{padding:1.25rem 1.1rem 1.5rem}}
.right-content-area h2{position:relative;margin:0 0 1.5rem;padding-bottom:.75rem;font-size:1.75rem;font-weight:700;color:#7a3b14}
.right-content-area h2::after{content:"";position:absolute;left:0;bottom:0;width:90px;height:4px;border-radius:4px;background:linear-gradient(90deg,#ffc20e,#de5f00)}
.right-content-area p{margin-bottom:1.1rem;font-size:1rem;line-height:1.8;text-align:justify;hyphens:auto}
.right-content-area a{color:#b84e00}
.right-content-area a:hover{color:#8f3b00}

/* ==========================================================================
   Tables inside content
   Works with: <div class="table"><table class="wrap">...</table></div>
   (and with any plain <table> inside .right-content-area)
   ========================================================================== */
.right-content-area .table{width:100%;margin:0 0 1.5rem;overflow-x:auto;background:#fff;border:1px solid #f1dfcc;border-radius:.5rem;box-shadow:0 .3rem .8rem rgba(122,59,20,.08)}
.right-content-area table{width:100%;margin:0;border-collapse:separate;border-spacing:0}
.right-content-area table tr{box-shadow:none}
.right-content-area table thead th{padding:.85rem 1.1rem;font-size:.85rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;text-align:left;color:#ffc20e;background:linear-gradient(135deg,#7a3b14,#5c2a0d);border:0;white-space:nowrap}
.right-content-area table td{padding:.8rem 1.1rem;vertical-align:middle;color:#3b1d0a;font-weight:500;line-height:1.5;background:#fff;border:0;border-bottom:1px solid #f4e6d6;transition:background .2s}
.right-content-area table tbody tr:nth-child(even) td{background:#fffaf3}
.right-content-area table tbody tr:hover td{background:#fff1e6}
.right-content-area table tbody tr:last-child td{border-bottom:0}

/* A single link in a table's last column becomes a small button
   (file icon for PDFs, external-link icon for everything else) */
.right-content-area table td:last-child > a:only-child{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .9rem;font-size:.85rem;font-weight:600;color:#fff;text-decoration:none;white-space:nowrap;background:#de5f00;border:1px solid #de5f00;border-radius:2rem;transition:background .2s,border-color .2s,transform .2s}
.right-content-area table td:last-child > a:only-child::before{content:"";width:1em;height:1em;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/><path d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/><path d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/></svg>") center/contain no-repeat}
.right-content-area table td:last-child > a:only-child[href$=".pdf" i]::before{-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 0h5.5L14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5 1v4h4L9 1z'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 0h5.5L14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5 1v4h4L9 1z'/></svg>")}
.right-content-area table td:last-child > a:only-child:hover,
.right-content-area table td:last-child > a:only-child:focus{color:#fff;background:#138808;border-color:#138808;transform:translateY(-1px)}

@media(max-width:575.98px){
  .right-content-area table thead th,
  .right-content-area table td{padding:.65rem .7rem}
}

/* ==========================================================================
   Lists inside content (ul / ol in .right-content-area)
   ========================================================================== */
.right-content-area ul,
.right-content-area ol{margin:0 0 1.25rem;padding:0;list-style:none;color:#3b1d0a}
.right-content-area ul li,
.right-content-area ol li{position:relative;margin:0 0 .5rem;padding-left:1.9rem;font-size:1rem;line-height:1.75}
.right-content-area ul li:last-child,
.right-content-area ol li:last-child{margin-bottom:0}

/* Bullets */
.right-content-area ul > li::before{content:"";position:absolute;left:.35rem;top:.72em;width:.5rem;height:.5rem;background:#de5f00;border-radius:50%;box-shadow:0 0 0 3px #ffeccd}

/* Numbered list */
.right-content-area ol{counter-reset:listnum}
.right-content-area ol > li{counter-increment:listnum;padding-left:2.4rem}
.right-content-area ol > li::before{content:counter(listnum);position:absolute;left:0;top:.2em;width:1.6rem;height:1.6rem;line-height:1.6rem;text-align:center;font-size:.8rem;font-weight:700;color:#fff;background:linear-gradient(135deg,#de5f00,#f28a1e);border-radius:50%}

/* Nested lists */
.right-content-area li > ul,
.right-content-area li > ol{margin:.5rem 0 .25rem}
.right-content-area li > ul > li::before{width:.4rem;height:.4rem;top:.78em;background:#138808;box-shadow:none;border-radius:0;transform:rotate(45deg)}
.right-content-area li > ol{counter-reset:subnum}
.right-content-area li > ol > li{counter-increment:subnum}
.right-content-area li > ol > li::before{content:counter(subnum,lower-alpha);color:#b84e00;background:#ffeccd}

.right-content-area li a{font-weight:600}

@media(max-width:575.98px){
  .right-content-area ul li{padding-left:1.6rem}
  .right-content-area ol > li{padding-left:2.2rem}
}

/* ==========================================================================
   Image block inside content: <div class="left-image"><img ...></div>
   (floats left so the text wraps beside it)
   ========================================================================== */
.right-content-area::after{content:"";display:table;clear:both}
.right-content-area img{max-width:100%;height:auto}
.right-content-area .left-image{float:left;width:240px;max-width:45%;margin:.25rem 1.75rem 1rem 0;padding:.5rem;background:#fff;border:1px solid #f1dfcc;border-bottom:4px solid #de5f00;border-radius:.5rem;box-shadow:0 .4rem 1rem rgba(122,59,20,.15)}
.right-content-area .left-image img{display:block;width:100%;height:auto;border-radius:.3rem}
@media(max-width:575.98px){
  .right-content-area .left-image{float:none;width:220px;max-width:100%;margin:0 auto 1.25rem}
}

/* Intro / note paragraph made up entirely of italic text */
.right-content-area em{color:#7a3b14}
.right-content-area p:has(> em:only-child){padding:.9rem 1.15rem;margin-bottom:1.5rem;text-align:left;background:#fff6e8;border-left:5px solid #de5f00;border-radius:0 .4rem .4rem 0}

/* ==========================================================================
   Links that open in a new tab (target="_blank") inside paragraphs and lists
   ========================================================================== */
.right-content-area :is(p,li) a[target="_blank"]{font-weight:600;text-decoration:underline;text-decoration-color:#ffc20e;text-decoration-thickness:2px;text-underline-offset:4px;transition:color .2s,text-decoration-color .2s}
.right-content-area :is(p,li) a[target="_blank"]::after{content:"";display:inline-block;width:.8em;height:.8em;margin-left:.35em;vertical-align:-.05em;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/><path d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/><path d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/></svg>") center/contain no-repeat}
.right-content-area :is(p,li) a[target="_blank"]:hover,
.right-content-area :is(p,li) a[target="_blank"]:focus{color:#138808;text-decoration-color:#138808}
