/* custom css */
/* Badge */
.app-status-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;

  background: #F4B400; /* soft gold */
  border: 1px solid #F4B400;

  color: #ffffff; /* warm brown text */
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;

  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}


/* Optional: if you want it to stand out a bit more on hover */
.app-status-badge:hover{
  background: rgba(244, 180, 0, 0.24);
  border-color: rgba(244, 180, 0, 0.6);
  color: #000000;
}

/* .play-icon span.icon {
    top: 12% !important;
    left: 93% !important;
}*/
.gav-help-region {
  display: none !important;
}
#graduate .widget.milestone-block.position-icon-left .milestone-icon:after, #graduate .widget.milestone-block.position-icon-left .milestone-icon {
  background-color: #0ba50b;
}
#faculty .widget.milestone-block.position-icon-left .milestone-icon:after, #faculty .widget.milestone-block.position-icon-left .milestone-icon {
  background-color: #ff6a00;
}
div#year {
    margin-right: -40px;
}
.section-heading h2{
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: #0B2D5C !important;   /* navy */

  position: relative;
  margin-bottom: 40px;
}

.section-heading::after{
  content: "";
  width: 90px;
  height: 4px;
  background: #F4B400;   /* gold accent */
  display: block;
  margin: 12px auto 0;
  border-radius: 4px;
}
.widget.gsc-video-box.style-2 .video-content .button-review {
  display: none !important;
}
a.popup-video.gsc-video-link {
    color: #4274F6;
    font-size: 15px;
}
.widget.gsc-video-box.style-2 .video-content .link-video:after {
    content: "";
    position: absolute;
    width: 32px;
    height: 2px !important;
    background-color: #4274F6 !important;
    top: 15px;
    left: -35px;
}
/*.fees-tabs .nav-tabs {
  border-bottom: 2px solid #003366;
}

.fees-tabs .nav-tabs .nav-link {
  font-weight: 600;
  color: #003366;
}

.fees-tabs .nav-tabs .nav-link.active {
  background: #003366;
  color: #fff;
}

.fees-tabs .table th {
  width: 50%;
  font-weight: 600;
}*/
.program-overview {
    color: #000000;
    font-size: 16px;
}
.program-title {
    font-size: 30px;
    color: #4274F6;
}
.apply a {
    font-size: large !important;
    color: #ffffff !important;
    background: orangered !important;
    padding: 6px 15px 6px 15px !important;
    margin-top: 42%;
}

/* ==========================
   INSTRUCTORS GRID THEME (Premium, no overlap)
   Palette: Blue #4274F6, Gold #F4B400
   Fixed card height + full research on hover
   View Profile pinned absolute (Drupal-safe)
   ========================== */

body{
  background:#F6F8FC;
}

/* Grid spacing + equal height columns */
.item-columns{
  padding:14px !important;
  box-sizing:border-box;
  display:flex;
}

/* Card base */
.team-block{
  width:100%;
  height:440px;
  background:#fff;
  border-radius:14px;
  border:1px solid #E6ECF8;
  overflow:hidden;

  position:relative;
  isolation:isolate; /* important for Drupal stacking weirdness */

  display:flex;
  flex-direction:column;

  box-shadow:0 10px 26px rgba(15,23,42,0.08);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

/* Top accent strip */
.team-block::before{
  content:"";
  display:block;
  height:4px;
  background:#4274F6;
}

/* Hover lift */
.team-block:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 42px rgba(15,23,42,0.12);
  border-color:rgba(66,116,246,0.35);
}

/* Image wrapper */
.team-image{
  background:#EEF4FF;
  position:relative;
}

.team-image img{
  width:100%;
  height:200px;
  object-fit:cover;
  object-position:center;
  display:block;
}

/* Optional soft image gradient on hover */
.team-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.18) 100%);
  opacity:0;
  transition:opacity .15s ease;
}
.team-block:hover .team-image::after{
  opacity:1;
}

/* Name */
.team-name{
  padding:14px 16px 8px 16px;
  font-size:16px;
  font-weight:800;
  color:#0B2D5C;
  line-height:1.25;
}

/* Research block (SHORT on card) */
.team-research{
  padding:0 16px 0 16px;
  color:#475569;
  font-size:13.5px;
  line-height:1.55;

  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Label styling */
.team-research b,
.team-research strong{
  display:inline-block;
  font-weight:800;
  color:#0B2D5C;
}
.team-research b::after,
.team-research strong::after{
  content:"";
  display:block;
  width:56px;
  height:3px;
  margin-top:6px;
  border-radius:4px;
  background:#F4B400;
}

/* ==========================
   View Profile pinned to bottom (NO overlap)
   ========================== */

/* Pin the whole CTA row at the bottom of the card */
.team-link{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;

  z-index:50; /* above overlays */

  display:flex;
  align-items:center;

  /* premium "float" */
  transform:translateY(-6px);
}

/* Your HTML has <i> outside <a> */
.team-link i{
  width:30px;
  height:30px;
  border-radius:999px;
  display:inline-grid;
  place-items:center;

  background:rgba(244,180,0,0.18);
  color:#8A5A00;
  margin-right:10px;

  box-shadow:0 10px 24px rgba(15,23,42,0.10);
}

/* CTA button */
.team-link a{
  display:inline-flex;
  align-items:center;
  gap:8px;

  background:#fff;
  border:1px solid rgba(66,116,246,0.25);
  color:#4274F6;

  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  font-size:13px;

  box-shadow:0 12px 26px rgba(15,23,42,0.10);

  transition:background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}

.team-link a:hover{
  background:#4274F6;
  border-color:#4274F6;
  color:#fff;
  transform:translateY(-1px);
}

/* ==========================
   FULL RESEARCH ON HOVER
   ========================== */

/* Dim overlay (does NOT block clicks) */
.team-block::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(11,45,92,0.18);
  opacity:0;
  pointer-events:none;
  transition:opacity .15s ease;
  z-index:10;
}
.team-block:hover::after{
  opacity:1;
}

/* Expand research into overlay panel
   Reserve fixed space for the pinned CTA at bottom */
.team-block:hover .team-research{
  position:absolute;
  left:14px;
  right:14px;
  top:220px;
  bottom:90px;      /* ✅ reserved space for pinned CTA */
  z-index:30;       /* below CTA (50), above dim overlay (10) */

  background:#fff;
  border-radius:12px;
  padding:14px;

  overflow:auto;
  -webkit-line-clamp:unset;
  display:block;

  box-shadow:0 16px 40px rgba(15,23,42,0.12);
  border:1px solid rgba(66,116,246,0.20);
}

/* Gold bar inside overlay */
.team-block:hover .team-research::before{
  content:"";
  display:block;
  height:4px;
  background:#F4B400;
  border-radius:4px;
  margin-bottom:10px;
}

/* Scrollbar (optional) */
.team-block:hover .team-research::-webkit-scrollbar{
  width:8px;
}
.team-block:hover .team-research::-webkit-scrollbar-thumb{
  background:rgba(66,116,246,0.25);
  border-radius:10px;
}
.team-block:hover .team-research::-webkit-scrollbar-track{
  background:transparent;
}

/* ==========================
   Responsive
   ========================== */
@media (max-width: 768px){
  .item-columns{ padding:10px !important; }
  .team-block{ height:460px; }
  .team-image img{ height:190px; }

  .team-link{
    bottom:14px;
    transform:translateY(-4px);
  }

  .team-block:hover .team-research{
    top:210px;
    bottom:98px; /* slightly more breathing space on mobile */
  }
}
.team-image img{
  object-fit: contain;
  background: #EEF4FF;
}
/* isotope grid item (wrapper column) */
.isotope-items > div[class*="col-"]{
    padding: 12px !important;          /* horizontal + vertical gap */
    box-sizing: border-box;
}

/* IMPORTANT: card must size only to its content */
/*.course-card{
    background: #F4B400;
    padding: 14px;
    height: 200px !important;          
    display: block;
    box-shadow: 0 0 0 1px #e5e7eb, 0 8px 22px rgba(15,23,42,0.06);
    color: #fff;
}
.course-name {
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
}*/

.course-card{
    background: #ffffff;
    border-radius: 5px;
    padding: 16px 18px;
    border-top: 4px solid #4274F6;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* header row */
.course-header{
    display: flex;
    justify-content: space-between; /* pushes them apart */
    align-items: center;
    margin-bottom: 8px;
}

/* course code (left) */
.course-id{
    color: #4274F6;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .3px;
}

/* credits badge (right) */
.course-credit{
    background: rgba(244,180,0,0.18);
    color: #8a5a00;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

.course-name{
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 10px;
}

.course-prerequisite{
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(66,116,246,0.06);   /* soft blue tint */
    border-radius: 6px;

    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.5;
}
.course-right{
    display:flex;
    gap:8px;
    align-items:center;
}

/* generic badge */
.course-type{
    padding:4px 10px;
    border-radius:16px;
    font-size:12px;
    font-weight:600;
    letter-spacing:.2px;
}

/* CORE = green */
.course-type.core{
    background:#e6f6ec;
    color:#1f7a45;
}

/* Elective (theme blue) */
.course-type.elective{
    background:rgba(66,116,246,0.15);
    color:#4274F6;
}

/* Project (theme gold) */
.course-type.project{
    background:rgba(244,180,0,0.18);
    color:#8a5a00;
}
.course-card:hover{
    transform: translateY(-3px);
    box-shadow:0 16px 38px rgba(0,0,0,0.12);
}
/* Table container */
.iitk-form-table {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

/* Each row */
.iitk-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

/* Remove last border */
.iitk-form-row:last-child {
  border-bottom: none;
}

/* Hover effect */
.iitk-form-row:hover {
  background: #f5f9ff;
  transform: translateX(5px);
}

/* Left text */
.iitk-form-row .gsc-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

/* Button styling */
.iitk-form-row .btn {
  margin-left: 8px;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 4px;
}

/* Optional colors */
.iitk-form-row .btn:first-of-type {
  background: #d32f2f;
  color: #fff;
}

.iitk-form-row .btn:last-of-type {
  background: #1976d2;
  color: #fff;
}

/* Horizontal line between rows */
.iitk-form-row {
  border-bottom: 1px solid #dcdcdc;
  padding: 15px 18px;
}

/* Remove line from last row */
.iitk-form-row:last-child {
  border-bottom: none;
}
@media (min-width: 768px) {
    .col-md-3.branding {
        flex: 0 0 22%;
        max-width: 25%;
    }
}




/* =========================================================
   Syllabus page theme (scoped)
   Works on: .syllabus pages only
   ========================================================= */

.syllabus{
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.10);
  --line-strong: rgba(15, 23, 42, 0.14);
  --blue: #4274F6;
  --blue-soft: rgba(66, 116, 246, 0.10);
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --radius: 16px;
}

.syllabus body,
body.syllabus{
  background: var(--bg) !important;
}

/* Page container spacing (Drupal/Gavias usually wraps content) */
.syllabus #content,
.syllabus .content,
.syllabus .content-main,
.syllabus .content-main-inner{
  background: transparent !important;
}

/* Give the main block a nice max width and breathe */
.syllabus .container,
.syllabus .container-bg,
.syllabus .container .row{
  max-width: 1180px;
}

.syllabus .views-element-container,
.syllabus .block-content,
.syllabus .content-block-content{
  padding-top: 8px;
}

/* If there’s a page title, make it modern */
.syllabus h1,
.syllabus .page-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 8px 0 16px;
}

/* ---------------------------------------------------------
   TABLE → modern card table
   --------------------------------------------------------- */

/* Adjust selector if your table class differs */
.syllabus table{
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* header row */
.syllabus table thead th{
  position: sticky;
  top: 0;
  z-index: 5;

  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  color: var(--text);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;

  padding: 14px 14px;
  border-bottom: 1px solid var(--line-strong);
  vertical-align: middle;
}

/* cell base */
.syllabus table td{
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* remove last border */
.syllabus table tbody tr:last-child td{
  border-bottom: 0;
}

/* zebra */
.syllabus table tbody tr:nth-child(even){
  background: rgba(15, 23, 42, 0.02);
}

/* hover */
.syllabus table tbody tr{
  transition: background .15s ease, transform .15s ease;
}
.syllabus table tbody tr:hover{
  background: rgba(66, 116, 246, 0.06);
}

/* Make small columns compact */
.syllabus table th:first-child,
.syllabus table td:first-child{
  width: 72px;       /* S.No */
  text-align: center;
  color: var(--text);
  font-weight: 800;
}

.syllabus table th:nth-child(2),
.syllabus table td:nth-child(2){
  width: 120px;      /* Course ID */
  white-space: nowrap;
  font-weight: 800;
  color: var(--text);
}

/* Course title column */
.syllabus table td:nth-child(3){
  color: var(--text);
  font-weight: 800;
}

/* Syllabus content column (big readable block) */
.syllabus table td:nth-child(4){
  color: var(--muted);
}

/* ---------------------------------------------------------
   Syllabus content typography inside the cell
   --------------------------------------------------------- */

.syllabus table td:nth-child(4) h1,
.syllabus table td:nth-child(4) h2,
.syllabus table td:nth-child(4) h3{
  color: var(--text);
  margin: 8px 0 10px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

/* If your content uses “Description” / “Content” text as headings */
.syllabus table td:nth-child(4) strong{
  color: var(--text);
  font-weight: 900;
}

.syllabus table td:nth-child(4) p{
  margin: 6px 0 10px;
}

/* Nice section divider look for “Description/Content” */
.syllabus table td:nth-child(4) > *:first-child{
  margin-top: 0;
}

.syllabus table td:nth-child(4) .description,
.syllabus table td:nth-child(4) .content{
  margin-top: 10px;
}

.syllabus table td:nth-child(4) h3,
.syllabus table td:nth-child(4) h2{
  position: relative;
  padding-top: 10px;
}

.syllabus table td:nth-child(4) h2::before,
.syllabus table td:nth-child(4) h3::before{
  content:"";
  position:absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  border-radius: 99px;
  background: var(--blue);
  opacity: 0.9;
}

/* Optional: make long bullet lists cleaner */
.syllabus table td:nth-child(4) ul,
.syllabus table td:nth-child(4) ol{
  margin: 8px 0 12px 20px;
}
.syllabus table td:nth-child(4) li{
  margin: 4px 0;
}

/* ---------------------------------------------------------
   Optional: compact the left columns on large tables
   --------------------------------------------------------- */
@media (min-width: 992px){
  .syllabus table td:nth-child(1),
  .syllabus table td:nth-child(2){
    padding-top: 18px;
  }
}

/* ---------------------------------------------------------
   Responsive: turn each row into stacked card on small screens
   --------------------------------------------------------- */
@media (max-width: 900px){

  .syllabus table{
    border-radius: 14px;
  }

  /* hide header */
  .syllabus table thead{
    display:none;
  }

  .syllabus table tbody tr{
    display:block;
    padding: 10px 12px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
  }

  .syllabus table tbody tr:nth-child(even){
    background: var(--card);
  }

  .syllabus table tbody tr:last-child{
    border-bottom: 0;
  }

  .syllabus table td{
    display:flex;
    gap: 12px;
    padding: 10px 8px;
    border-bottom: 0;
  }

  /* labels via data-title if present; fallback by nth-child */
  .syllabus table td::before{
    content: "";
    min-width: 110px;
    font-weight: 900;
    color: var(--text);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.75;
  }

  .syllabus table td:nth-child(1)::before{ content:"S. No"; }
  .syllabus table td:nth-child(2)::before{ content:"Course ID"; }
  .syllabus table td:nth-child(3)::before{ content:"Title"; }
  .syllabus table td:nth-child(4)::before{ content:"Syllabus"; }

  .syllabus table td:nth-child(4){
    display:block;
    padding-top: 6px;
  }
  .syllabus table td:nth-child(4)::before{
    display:block;
    margin-bottom: 8px;
  }
}

/* ---------------------------------------------------------
   Tiny polish: links and selection
   --------------------------------------------------------- */
.syllabus a{
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}
.syllabus a:hover{
  text-decoration: underline;
}

.syllabus ::selection{
  background: var(--blue-soft);
}

/* Slight academic serif feel (optional but nice) */

.page-title h1{
  font-size: 38px;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 10px 0 22px;
  position: relative;
}

/* Blue accent line under title */
.page-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #FFD400;
  margin-top: 8px;
  border-radius: 2px;
}
h1.page-title {
    margin-top: 8%;
}
/* =========================================================
   PROGRAM CARDS (Modern)
   Works with your markup:
   .item-columns > (wrapper) .program-image img + .program-text
   ========================================================= */
/* make card full equal height */

/* .item-columns {
  padding:14px !important;
  box-sizing:border-box;
  display:flex;                 
}
*/
/* card wrapper: your HTML has no explicit "card" class,
   so we style the first child div inside .item-columns as the card */
/*.item-columns > div{
  width:100%;
  background:#fff;
  border:1px solid rgba(15,23,42,0.10);
  overflow:hidden;
  box-shadow:0 10px 26px rgba(15,23,42,0.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display:flex;
  flex-direction:column;
  height:100%;
}*/

/* hover */
/*.item-columns > div:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 42px rgba(15,23,42,0.12);
  border-color:rgba(66,116,246,0.35);
}*/

/* image block */
.program-image{
  background:#eef4ff;
  position:relative;
}

/* fixed ratio image (prevents uneven heights) */
.program-image img{
  width:100%;
  aspect-ratio: 16 / 9;         /* modern fixed crop */
  
  object-fit:cover;
  object-position:center;
  display:block;
}

/* subtle gradient for premium look */
.program-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.22) 100%);
  opacity:0;
  transition:opacity .18s ease;
  pointer-events:none;
}
/*.item-columns > div:hover .program-image::after{
  opacity:1;
}*/

/* content area */
.views-field-title{
  padding:14px 16px 16px 16px;
  /* display:flex; */
  flex-direction:column;
  flex-grow:1;             /* important */
  justify-content:space-between;
  
}

/* ======================================================
   PROGRAM CARDS — Sharp Modern + Clickable (FIXED)
   Scoped ONLY to .programs
   ====================================================== */

.programs{
  position:relative;
  background:#fff;
  border:1px solid rgba(15,23,42,0.12);
  border-radius:0 !important;
  overflow:hidden;

  box-shadow:0 10px 28px rgba(15,23,42,0.06);
  transition:transform .20s ease, box-shadow .20s ease, border-color .20s ease;

  display:flex;
  flex-direction:column;
  height:320px;
}

/* Hover */
.programs:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 46px rgba(15,23,42,0.12);
  border-color:rgba(66,116,246,0.35);
}

/* Image */
.program-image{
  background:#eef4ff;
}

.program-image img{
  width:100%;
  height:190px;
  object-fit:cover;
  object-position:center;
  display:block;
}


/* Remove <br> spacing */
.program-text br{ display:none; }

/* Title link (NORMAL) */
.program-text a{
  display:block;
  color:#0f172a;
  font-weight:900;
  font-size:16px;
  line-height:1.25;
  letter-spacing:-0.01em;
  text-decoration:none;
  margin:0;

  transition:color .15s ease;
}

/* Hover title color */
.programs:hover .program-text a{
  color:#4274F6;
}

/* Clamp for equal heights */
.program-text a{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Department pill */
.program-department{
  display:inline-flex;
  align-items:center;
  width:fit-content;

  padding:4px 2px;
  margin-top:10px;

  font-size:13px;
  font-weight:800;
  line-height:1;

  background:rgba(66,116,246,0.10);
  color:#1f3b8a;

  border-radius:999px;
}

/* ======================================================
   WHOLE CARD CLICKABLE (WITHOUT breaking title)
   ====================================================== */

/* Make card feel clickable */
.programs{ cursor:pointer; }

/* Create an invisible overlay that captures clicks */
.programs::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:3;                 /* above everything visually, but transparent */
  background:transparent;
}

/* Allow the real link to still be clickable + accessible */
.program-text a{
  position:relative;
  z-index:4;                 /* keep link above overlay if user clicks title */
}

/* IMPORTANT:
   Since CSS cannot navigate on click,
   we use pointer-events trick: clicking the card should click the link.
   Works by making overlay ignore clicks and expanding link's hit-area. */

/* Expand the clickable area of the link using a transparent hitbox */
.program-text a::before{
  content:"";
  position:absolute;
  inset:-9999px;             /* huge hit area */
  background:transparent;
}

/* But keep hitbox inside the card only */
.programs{
  overflow:hidden;
}

/* Responsive */
@media (max-width:768px){
  .program-image img{ height:180px; }
  .views-field-title{ padding:12px 14px 14px; }
  .program-text a{ font-size:15px; }
}

/* Small icon button under text */
.pgd-video__trigger{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border:1px solid #d7d7d7;
  background:#fff;
  cursor:pointer;
  text-decoration:none;
  line-height:1;
}

.pgd-video__trigger:hover,
.pgd-video__trigger:focus{
  border-color:#bdbdbd;
  outline:none;
}

.pgd-video__icon{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #d7d7d7;
  font-size:14px;
}

.pgd-video__label{
  font-size:14px;
  font-weight:600;
}

/* Modal */
.pgd-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}

.pgd-modal.is-open{ display:block; }

.pgd-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
}

.pgd-modal__panel{
  position:relative;
  max-width:900px;
  width:calc(100% - 24px);
  margin:60px auto;
  background:#000;
}

.pgd-modal__close{
  position:absolute;
  top:-44px;
  right:0;
  width:40px;
  height:40px;
  border:0;
  background:#fff;
  cursor:pointer;
  font-size:26px;
  line-height:1;
}

.pgd-modal__ratio{
  position:relative;
  padding-top:56.25%; /* 16:9 */
}

.pgd-modal__iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
div#edit-interested-in .form-checkbox {
	width:5% !important;
}
.program-item {
  display: flex;
  margin-bottom: 25px;
}

.program-item .icon {
  width: 60px;
  height: 60px;
  background: #eef3ff;
  border-radius: 8px;
  text-align: center;
  line-height: 60px;
  margin-right: 15px;
}

.program-item .icon i {
  font-size: 24px;
  color: #3d6ce7;
}

.program-item h4 {
  margin: 0;
  font-size: 18px;
}

.program-item p {
  margin: 5px 0 0;
}
div#block-gavias-edupia-callandwhatsapp {
  float: right;
  margin-top: 4%;
}
@media (max-width: 768px){
  header .site-branding-logo{
    padding: 15px 0 10px;
    display: inline-block;
    max-height: 80px;
    width: 64%;
  }
  div#block-gavias-edupia-downloadbrochurebutton {
    margin-bottom: 7% !important;
  }
}

/* =========================================
   HOMEPAGE PROGRAM CARDS — COUR SERA STYLE
   No border radius
   Primary: #4274F6
   Scope: .home-page-program
========================================= */

/* Card item (Views row) */
.home-page-program [data-uk-filter]{
  box-sizing:border-box;
  padding:16px;
  position:relative;
}

/* Card surface */
.home-page-program [data-uk-filter] > div{
  background:#fff;
  border:1px solid rgba(0,0,0,0.10);
  box-shadow:0 10px 24px rgba(0,0,0,0.06);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow:hidden; /* keep image zoom clean */
}

/* If your markup doesn't have a wrapper div inside, apply to the row itself */
.home-page-program [data-uk-filter].card-no-inner{
  background:#fff;
  border:1px solid rgba(0,0,0,0.10);
  box-shadow:0 10px 24px rgba(0,0,0,0.06);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow:hidden;
}

/* Ensure fields behave */
.home-page-program [data-uk-filter] .views-field{
  float:none !important;
  display:block !important;
  width:100%;
}

/* IMAGE */
.home-page-program .views-field-field-program-image{
  margin:0;
}

.home-page-program .program-image{
  position:relative;
  overflow:hidden;
  border-radius:0 !important;
  background:#f5f7ff;
}

.home-page-program .program-image img{
  width:100%;
  height:230px;
  object-fit:cover;
  display:block;
  transform:scale(1.01);
  transition:transform .45s ease;
}

/* BODY (title area) */
.home-page-program .views-field-title{
  padding:16px 18px 18px;
  border-top:1px solid rgba(0,0,0,0.06);
}

.home-page-program .views-field-title a{
  color:#202121;
  font-weight:700;
  font-size:18px;
  line-height:1.35;
  text-decoration:none;
  display:block;
  transition:color .2s ease;
}

/* OPTIONAL: if you have a department/category field below title
   Add a class to that field in Views: "program-meta"
   or it will still look okay if it's just a <div class="views-field ..."> */
.home-page-program .program-meta,
.home-page-program .views-field-field-department,
.home-page-program .views-field-field-program-category{
  padding:0 18px 18px;
  margin-top:-10px;
}

.home-page-program .program-meta a,
.home-page-program .views-field-field-department a,
.home-page-program .views-field-field-program-category a{
  display:inline-block;
  font-size:14px;
  font-weight:600;
  color:#4274F6;
  text-decoration:none;
  border:1px solid rgba(66,116,246,0.25);
  padding:6px 10px;
  line-height:1;
  transition:all .2s ease;
}

/* HOVER */
.home-page-program [data-uk-filter]:hover > div,
.home-page-program [data-uk-filter].card-no-inner:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 42px rgba(0,0,0,0.12);
  border-color:rgba(66,116,246,0.30);
}

.home-page-program [data-uk-filter]:hover .program-image img{
  transform:scale(1.08);
}

.home-page-program [data-uk-filter]:hover .views-field-title a{
  color:#4274F6;
}

.home-page-program [data-uk-filter]:hover .program-meta a,
.home-page-program [data-uk-filter]:hover .views-field-field-department a,
.home-page-program [data-uk-filter]:hover .views-field-field-program-category a{
  background:#4274F6;
  color:#fff;
  border-color:#4274F6;
}

/* Accessibility focus */
.home-page-program .views-field-title a:focus-visible{
  outline:3px solid rgba(66,116,246,0.35);
  outline-offset:3px;
}

/* Responsive */
@media (max-width:991px){
  .home-page-program .program-image img{ height:210px; }
  .home-page-program .views-field-title a{ font-size:17px; }
}

@media (max-width:575px){
  .home-page-program [data-uk-filter]{ padding:12px; }
  .home-page-program .program-image img{ height:200px; }
  .home-page-program .views-field-title{ padding:14px 14px 16px; }
}

.button-programs.gbb-row.bg-size-cover h2::after {
    content: "";
    width: 128px;
    height: 4px;
    background: #f4b400;
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}

.widget.gsc-heading.available-programs.align-center.style-1.text-dark  h2::after {
    content: "";
    width: 128px;
    height: 4px;
    background: #f4b400;
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}


/* =========================================
   GALLERY CARD CSS
   Match program card style
========================================= */

.custom-gallery-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  margin-bottom: 30px;
  height: 100%;
}

.custom-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  border-color: #cfcfcf;
}

.custom-gallery-card .gallery-card-link,
.custom-gallery-card .gallery-main-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.custom-gallery-card .gallery-image-wrap {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  line-height: 0;
}

.custom-gallery-card .gallery-thumb {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.custom-gallery-card:hover .gallery-thumb {
  transform: scale(1.03);
}

.custom-gallery-card .gallery-title {
  margin: 0;
  padding: 20px 22px 24px;
  background: #ffffff;
  color: #2a2a2a;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  /*min-height: 118px;*/
  display: block;
  word-break: break-word;
}

.custom-gallery-card .gallery-hidden-item {
  display: none !important;
}

/* Optional: make cards in grid align better */
.view-gallery .views-row,
.view-id-gallery .views-row {
  margin-bottom: 30px;
}

/* Remove any unwanted default image spacing */
.custom-gallery-card img {
  max-width: 100%;
  border: 0;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 1199px) {
  .custom-gallery-card .gallery-thumb {
    height: 260px;
  }

  .custom-gallery-card .gallery-title {
    font-size: 19px;
    min-height: 110px;
    padding: 18px 20px 22px;
  }
}

@media (max-width: 991px) {
  .custom-gallery-card .gallery-thumb {
    height: 240px;
  }

  .custom-gallery-card .gallery-title {
    font-size: 18px;
    min-height: 100px;
    padding: 18px 18px 20px;
  }
}

@media (max-width: 767px) {
  .custom-gallery-card {
    margin-bottom: 24px;
  }

  .custom-gallery-card .gallery-thumb {
    height: 220px;
  }

  .custom-gallery-card .gallery-title {
    font-size: 17px;
    line-height: 1.45;
    min-height: auto;
    padding: 16px 16px 18px;
  }
}

@media (max-width: 575px) {
  .custom-gallery-card .gallery-thumb {
    height: 200px;
  }

  .custom-gallery-card .gallery-title {
    font-size: 16px;
    padding: 15px 14px 17px;
  }
}
