/* =============================================
   Combined CSS with Mobile-First Approach
   ============================================= */

/* =============================================
   Base Styles (Mobile First)
   ============================================= */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

div#body {
  margin-right: -1px;
}

/* Typography - Mobile First */
.helix-text h3 {
  padding-top: 20px;
  font-size: 2.1rem;
}

.spotlight-blade h2 {
  margin: 0 !important;
  font-size: 2.7rem !important;
  margin: 26px 0 10px 0 !important;
}

.stats-tile span.caption {
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.5;
}

p.sub-text {
  color: white !important;
}
/*button styles*/
a.ucsb-button.btn
 {
    font-size: 16px !important;
    font-weight: 500;
    text-decoration: none;
    text-transform: noen;
    color: #000 !important;
    background: #ffcd34 !important;
    padding: 10px 15px;
    width: 150px;
    display: block;
    text-align: center;
}
a.ucsb-button.btn:hover
 {
    font-weight: bold;
}
/*image no flip helix fix*/
.paragraph.paragraph--type--column.paragraph--view-mode--default.col-sm-12.col-md-6.helix-image {
    padding-left: 0;
    padding-right: 0;
}

.blade-padding-sm,
.col-sm-12.has-background.background-color-003660.important-list-dark-bg.blade-padding-sm {
    padding: 36px 0!important;
}
.icp-app,
.job-stats,
.wyl{
    padding: 36px 0 !important;
}

.logo-blade {
    display: none;
}
/* =============================================
   Layout Components - Mobile First
   ============================================= */
.helix {
  padding: 0 !important;
}

.helix-image img {
  height: 340px !important;
  object-fit: cover;
  width: 100%;
}

/*testing mobile 5/6/*/
.helix-text {
    order: 2;
}
.helix-image {
    order: 1;
}
.helix .columns {
    display: flex;
    flex-direction: column;
}
/*end test*/

.paragraph.paragraph--type--blade.paragraph--view-mode--default.col-sm-12.our-programs-blade {
  padding-bottom: 0;
}

.paragraph.paragraph--type--column.paragraph--view-mode--default.col-sm-12.col-md-6.noflip {
  padding-left: 0;
  padding-right: 0;
}

.int-breadcrumb {
  padding: 5px !important;
}

/* Hero section - Mobile First */
.hero-image:after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, #00000078 0%, #00000096 76%);
}

.hero-image.hero-image-text {
  background-position: center;
  background-repeat: no-repeat;
}

a#ready-to-start {
    padding: 23px 37%;
    top: -13px;
    color: #fff;
    border: 6px solid #fff;
    text-transform: capitalize;
    font-weight: bold;
    font-size: 17px;
    text-decoration: none;
}

/* Spotlight & Content Sections - Mobile First */
.spotlight-blade {
  height: 383px !important;
}

.spotlight-blade br {
  display: none;
}

.spotlight-profile {
  width: 100% !important;
}

/* Cards & Tiles - Mobile First */
.card-inner {
  background-color: #1178b5 !important;
  color: white !important;
  width: 100% !important;
  text-align: left;
}

.card-inner p {
  color: white !important;
}

.cf-read-more {
  color: gold !important;
}

.card-back.hidden.show a {
    color: #fbd50d!important;
}

/* Stats & Colors - Mobile First */
.deepseagreen {
  background: #13385e !important;
}

.stats-tile span {
  color: #ffcd34 !important;
}

.stats-tile p.sub-text {
  color: white !important;
}

.field--name-field-blades .paragraph--type--blade.background-color-09847a,
.pricing {
  background-color: #13385e !important;
}

/* Lists - Mobile First */
.important-list li, 
.important-list-dark-bg li {
  padding: 0px 0px 0px 20px !important;
}

.important-list ul, 
.important-list-dark-bg ul {
  margin: 0px 0px 0px -5px !important;
}

/* Buttons - Mobile First */
.btn.btn-secondary.int-info {
  background: none !important;
}

.btn.btn-secondary.int-info:hover {
  background: white !important;
}

/* Video - Mobile First */
.program-video .background-video {
  width: 100%;
}

/*Logoblade*/
.paragraph.paragraph--type--blade.paragraph--view-mode--default.col-sm-12.logo-blade {
    height: 0;
    padding: 0;
}
/* =============================================
   Tables & Pricing - Mobile First
   ============================================= */
table#pricing {
  background: none !important;
}

#pricing,
#pricing tbody,
#pricing-body {
  display: block;
  width: 100%;
}

#pricing tr {
  display: block;
  margin-bottom: 15px;
  width: 100%;
}

#pricing tr:first-child {
  /* Hide the header row on mobile */
  position: absolute;
  top: -9999px;
  left: -9999px;
}

#pricing td {
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 8px;
  text-align: left;
  height: auto;
}

/* Add labels for mobile */
#pricing tr:nth-child(2) td:nth-child(2)::before {
  content: "Public: ";
  font-weight: bold;
}

#pricing tr:nth-child(2) td:nth-child(3)::before {
  content: "UCSB Students: ";
  font-weight: bold;
}

#pricing tr:nth-child(2) td:nth-child(4)::before {
  content: "International: ";
  font-weight: bold;
}

#pricing tr:nth-child(3) td:nth-child(2)::before {
  content: "Public: ";
  font-weight: bold;
}

#pricing tr:nth-child(3) td:nth-child(3)::before {
  content: "UCSB Students: ";
  font-weight: bold;
}

#pricing tr:nth-child(3) td:nth-child(4)::before {
  content: "International: ";
  font-weight: bold;
}

/* Category labels (first cell in each row) */
#pricing td:first-child {
  font-weight: bold;
  justify-content: flex-start;
  text-align: left;
}

/* Add labels for the last row */
#pricing tr:last-child td:nth-child(2)::before {
  content: "Public: ";
  font-weight: bold;
}

#pricing tr:last-child td:nth-child(3)::before {
  content: "UCSB Students: ";
  font-weight: bold;
}

#pricing tr:last-child td:nth-child(4)::before {
  content: "International: ";
  font-weight: bold;
}

table#pricing a {
  text-align: right;
}

/* Responsive Tables - Mobile First */
table.responsive th {
  background-color: #e6f2ff !important;
  border: none !important;
}

table.responsive td {
  border: none !important;
  text-align: left !important;
}

/* =============================================
   Media Queries - Tablet (768px and up)
   ============================================= */
@media (min-width: 768px) {
	/*Button sizing for Medium to Large Screens*/
	a#ready-to-start{
		padding: 15px 70px;
	}
	
  /* Pricing Table Improvements */
  #pricing,
  #pricing tbody,
  #pricing-body {
    display: table;
  }
  
  #pricing tr {
    display: table-row;
    margin-bottom: 0;
  }
  
  #pricing tr:first-child {
    position: static;
  }
  
  #pricing td {
    display: table-cell;
    justify-content: normal;
    text-align: center;
  }
  
  /* Remove mobile labels */
  #pricing td::before {
    content: none !important;
  }
  
  #pricing td:first-child {
    text-align: left;
  }
  /*logo overrides*/
.navbar .navbar-header .region-navigation
 {
    padding: 16px 0 10px 0!important;
}

.important-list li, .important-list-dark-bg li {
    padding: 0px 93px 12px 20px !important;
    width: 50%;
    line-height: 2.4rem;
    min-height: 40px;
}
/*Helix column*/
.helix .columns {
    flex-direction: row;
}
.helix-image {
    order: 2;
}
}

/* =============================================
   Media Queries - Desktop (1200px and up)
   ============================================= */
@media (min-width: 1200px) {
  /* Hero Image Improvements */
  .hero-image.hero-image-text {
    background-position-y: -120px;
  }
  
  /* Card Layout Improvements */
  .card-inner {
    width: 24% !important;
    text-align: center;
  }
  
  /* Spotlight Improvements */
  .spotlight-blade br {
    display: inline;
  }
  
  .spotlight-profile {
    width: auto !important;
  }
  .navbar .navbar-header .region-navigation
 {
    padding: 32px 0 10px 0!important;
}

/*Helix column*/
.helix .columns {
    flex-direction: row;
}
.helix-image {
    order: 2;
}
.important-list li, .important-list-dark-bg li {
    padding: 0px 93px 12px 20px !important;
    width: 50%;
    line-height: 2.4rem;
    min-height: 40px;
}
}