/* =========================================================
   hantanavision.css  –  save as css/hantanavision.css
   Uses your global variables: --navy, --gold, --transition
   ========================================================= */

:root{
  --hv-navy: var(--navy, #0b2a5b);
  --hv-navy-dark: #081c42;
  --hv-gold: var(--gold, #c9a24a);
  --hv-bg: #f6f8fc;
  --hv-text: #33415c;
  --hv-serif: Georgia, 'Times New Roman', serif;
}

/* ================= PAGE BANNER ================= */

.page-banner {
    position: relative;
    width: 100%;
    height: 315px;
    overflow: hidden;
    background: #0b2352;
}

.banner-flex {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
}


/* =========================
   FULL HERO IMAGE
========================= */

.banner-media {
    position: absolute;
    top: 0;
    right: 0;
    width: 82%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.banner-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* =========================
   LEFT DARK / BLURRED AREA
========================= */

.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 40px 40px 70px;
    background: rgba(11, 35, 82, 0.88);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* =========================
   SLANTED TRANSITION
========================= */

.banner-text::after {
    content: "";
    position: absolute;
    top: 0;
    right: -100px;
    width: 150px;
    height: 100%;
    background: rgba(11, 35, 82, 0.88);
    clip-path: polygon(  35% 0, 100% 0, 65% 100%,  0 100% );

    z-index: -1;
}


/* =========================
   TITLE
========================= */

.banner-text h1 {
    margin: 0 0 22px 0;
    color: #ffffff;
    font-size: 36px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================
   BREADCRUMB
========================= */

.banner-text .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}


/* Home Icon */
.banner-text .breadcrumb a:first-child {
    display: flex;
    align-items: center;
}


/* Breadcrumb Links */
.banner-text .breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.banner-text .breadcrumb a:hover {
    color: #e1a80b;
}


/* Home Icon */
.banner-text .breadcrumb i {
    font-size: 15px;
}


/* Separator */
.banner-text .breadcrumb .sep {
    color: #ffffff;
}


/* Current Page */
.banner-text .breadcrumb .current {
    color: #e1a80b;
    font-weight: 600;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .page-banner {
        height: 280px;
    }

    .banner-media {
        width: 100%;
    }

    .banner-text {
        width: 70%;
        padding: 30px 25px;
        background: rgba(11, 35, 82, 0.90);
    }

    .banner-text h1 {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .banner-text .breadcrumb {
        font-size: 13px;
        gap: 8px;
    }

    .banner-text::after {
        right: -70px;
        width: 100px;
    }
}

/* =========================
   PUBLICATIONS SIDEBAR
========================= */

.opportunities-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =========================
   SIDEBAR MENU
========================= */

.sidebar-menu {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}


/* =========================
   SIDEBAR TITLE
========================= */

.sidebar-menu h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 20px;
    background: #0b2352;
    margin: 0;
}


/* =========================
   SIDEBAR LIST
========================= */

.sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* =========================
   SIDEBAR LINKS
========================= */

.sidebar-menu ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #0b2352;
    font-size: 14px;
    font-weight: 500;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}


/* =========================
   LEFT ICON
========================= */

.sidebar-menu ul li a i:first-child {
    color: #0b2352;
    width: 18px;
    text-align: center;
    transition: color 0.3s ease;
}


/* =========================
   HOVER
========================= */

.sidebar-menu ul li a:hover {
    background: #f5f7fb;
    color: #0b2352;
}


/* =========================
   ACTIVE PAGE
========================= */

.sidebar-menu ul li.active a {
    background: #0b2352;
    color: #e1a80b;
    font-weight: 700;
}


/* Active Icon */

.sidebar-menu ul li.active a i:first-child {
    color: #e1a80b;
}


/* =========================
   RIGHT ARROW
========================= */

.sidebar-menu ul li a .arrow {
    margin-left: auto;
    font-size: 11px;
    color: #e1a80b;
}


/* =========================
   ACTIVE ARROW
========================= */

.sidebar-menu ul li.active a .arrow {
    color: #e1a80b;
}

/* ---------- Hero ---------- */
.hv-hero{
  padding: 34px 0 40px;
  color: #fff;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(8,28,66,.88) 0%, rgba(8,28,66,.55) 55%, rgba(8,28,66,.15) 100%),
    var(--hv-hero-img) center / cover no-repeat;
  background-color: var(--hv-navy);
  border-bottom: 4px solid var(--hv-gold);
}

.hv-hero h1{
  font-family: var(--hv-serif);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 6px;
}

.hv-hero h2{
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--hv-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--hv-gold);
  margin: 0 0 16px;
}
.hv-line{ width: 78px; height: 2px; background: var(--hv-gold); display: inline-block; }

.hv-hero p{
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.95);
  margin: 0;
}

/* ---------- Breadcrumb ---------- */
.hv-crumb-bar{ background: #fff; }

.hv-breadcrumb{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 0;
  font-size: 13px;
  color: #6b7a93;
}
.hv-breadcrumb a{ color: var(--hv-gold); text-decoration: none; }
.hv-breadcrumb a:hover{ text-decoration: underline; }
.hv-breadcrumb li + li::before{ content: "\203A"; margin-right: 10px; color: #9aa6ba; }
.hv-breadcrumb li:first-child::before{ content: none; }

/* ---------- Layout ---------- */
.hv-main{ background: var(--hv-bg); padding: 10px 0 56px; }

.hv-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.hv-content{ display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.hv-card{
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(11,42,91,.05);
  text-align: left;
}

.hv-card-head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.hv-card-head h3{
  font-family: var(--hv-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--hv-navy);
  margin: 0;
  padding-bottom: 6px;
  position: relative;
}
.hv-card-head h3::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 44px; height: 2px;
  background: var(--hv-gold);
}
.hv-head-icon{ font-size: 24px; color: var(--hv-navy); }

.hv-icon-box{
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--hv-navy);
  color: #fff;
  font-size: 20px;
}

.hv-about > p{
  font-size: 14px;
  line-height: 1.7;
  color: var(--hv-text);
  margin: 0 0 18px;
}

.hv-sub{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hv-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--hv-navy);
  margin: 0 0 14px;
}

/* ---------- Article type tiles ---------- */
.hv-types{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.hv-type{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(11,42,91,.10);
  color: var(--hv-navy);
  font-family: var(--hv-serif);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition, .25s ease), box-shadow var(--transition, .25s ease);
}
.hv-type i{ font-size: 22px; color: var(--hv-gold); width: 26px; text-align: center; }
.hv-type:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11,42,91,.16);
  color: var(--hv-navy);
  text-decoration: none;
}

/* ---------- Instructions ---------- */
.hv-checks{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.hv-checks ul{ list-style: none; margin: 0; padding: 0; }
.hv-checks li{
  position: relative;
  padding: 0 0 12px 30px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--hv-text);
}
.hv-checks li::before{
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--hv-gold);
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
}
.hv-checks a{ color: var(--hv-navy); font-weight: 600; }

.hv-important{
  margin-top: 6px;
  padding: 14px 16px;
  background: #fbf6e9;
  border-left: 4px solid var(--hv-gold);
  border-radius: 4px;
  font-size: 13.5px;
  color: var(--hv-navy);
}
.hv-important p{ margin: 8px 0 0; font-weight: 700; line-height: 1.55; }

/* ---------- Latest issues ---------- */
.hv-issue-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hv-issue{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid #e8edf5;
  border-radius: 6px;
  background: #fff;
  color: var(--hv-navy);
  text-decoration: none;
  transition: box-shadow var(--transition, .25s ease), transform var(--transition, .25s ease);
}
.hv-issue:hover{
  box-shadow: 0 8px 20px rgba(11,42,91,.14);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--hv-navy);
}
.hv-issue img{
  width: 76px;
  height: 104px;
  object-fit: cover;
  border-radius: 3px;
  background: var(--hv-navy);
  flex-shrink: 0;
}
.hv-issue strong{ display: block; font-family: var(--hv-serif); font-size: 14px; margin-bottom: 14px; }
.hv-issue span{ font-size: 13px; color: var(--hv-navy); }
.hv-issue span i{ color: var(--hv-gold); margin-left: 6px; }

/* ---------- Sidebar ---------- */
.hv-sidebar{ display: flex; flex-direction: column; gap: 18px; }

.hv-side-menu{
  background: var(--hv-navy);
  border-radius: 8px;
  padding: 18px 8px 8px;
  box-shadow: 0 6px 18px rgba(11,42,91,.2);
}
.hv-side-menu h4{
  position: relative;
  font-family: var(--hv-serif);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 12px 16px;
  padding-bottom: 8px;
}
.hv-side-menu h4::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 2px;
  background: var(--hv-gold);
}
.hv-side-menu ul{ list-style: none; margin: 0; padding: 0; }
.hv-side-menu li a{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px;
  color: #fff;
  font-size: 14.5px;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition, .25s ease);
}
.hv-side-menu li a > i:first-child{ width: 22px; text-align: center; font-size: 18px; color: var(--hv-gold); }
.hv-side-menu li a .arrow{ margin-left: auto; color: var(--hv-gold); font-size: 18px; }
.hv-side-menu li a:hover{ background: rgba(255,255,255,.08); color: #fff; }

.hv-promo{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--hv-navy-dark), var(--hv-navy));
  color: #fff;
  box-shadow: 0 6px 18px rgba(11,42,91,.2);
}
.hv-promo > i{ font-size: 54px; color: var(--hv-gold); }
.hv-promo h4{ font-family: var(--hv-serif); font-size: 22px; line-height: 1.15; color: var(--hv-gold); margin: 0 0 8px; }
.hv-promo p{ font-size: 13px; line-height: 1.5; margin: 0; color: rgba(255,255,255,.92); }

.hv-contact{
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(11,42,91,.05);
  text-align: left;
}
.hv-contact h4{ font-family: var(--hv-serif); font-size: 20px; color: var(--hv-navy); margin: 0 0 12px; }
.hv-contact ul{ list-style: none; margin: 0; padding: 0; }
.hv-contact li{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--hv-text);
  word-break: break-word;
}
.hv-contact li i{ width: 20px; text-align: center; color: var(--hv-navy); font-size: 17px; }
.hv-contact a{ color: var(--hv-text); text-decoration: none; }
.hv-contact a:hover{ color: var(--hv-navy); text-decoration: underline; }

/* ADD THIS to the very bottom of css/hantanavision.css
   (it overrides the old 2-column .hv-layout with 3 columns:
    left menu | content | right sidebar)                       */

.hv-layout{
  grid-template-columns: 260px minmax(0, 1fr) 340px;
}

.hv-left{ display: flex; flex-direction: column; gap: 18px; }

/* content is narrower now, so use 3 tiles per row instead of 5 */
.hv-types{ grid-template-columns: repeat(3, 1fr); }

/* Laptop / tablet landscape: left menu + content, right sidebar drops below */
@media (max-width: 1199px){
  .hv-layout{ grid-template-columns: 240px minmax(0, 1fr); }
  .hv-sidebar{
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .hv-types{ grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait / mobile: everything stacks */
@media (max-width: 991px){
  .hv-layout{ grid-template-columns: 1fr; }
  .hv-sidebar{ grid-template-columns: 1fr; }
  .hv-types{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px){
  .hv-types{ grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px){
  .hv-types{ grid-template-columns: repeat(3, 1fr); }
  .hv-issue-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px){
  .hv-layout{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .hv-types{ grid-template-columns: repeat(2, 1fr); }
  .hv-checks{ grid-template-columns: 1fr; }
  .hv-issue-grid{ grid-template-columns: 1fr; }
  .hv-card{ padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce){
  .hv-type, .hv-issue{ transition: none; }
  .hv-type:hover, .hv-issue:hover{ transform: none; }
}