.example-webpage-content {
  font-family: "Myriad Set Pro", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  line-height: 1.5em;
  margin-bottom: 50px;
}

.example-webpage-content h1 {
  font-size: 70px;
  line-height: 70px;
}

.example-container {
  margin: 0 auto;
  padding: 50px;
  max-width: 70%;
}

/* ========================= voltird grid styles ========================= */

/* ===== general ===== */
.voltird-grid,
.voltird-grid:before,
.voltird-grid:after,
.voltird-grid *,
.voltird-grid *:before,
.voltird-grid *:after  {
  box-sizing: border-box;
  text-align: left;
}

.voltird-grid {
  display: grid;
  width: 100%;
  grid-gap: 0;
  grid-template-columns: repeat(4, 25%);
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  font-family: "Myriad Set Pro", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-kerning: normal;
  font-weight: 400;
  letter-spacing: normal;
}

/* ===== voltird/button ===== */
.voltird {
  margin: 2px;
  padding: 0;
  min-height: 200px;
  overflow: hidden;
  background-color: #0a67c7
}

.hidden,
.voltird.hidden,
.voltird-button.hidden,
.voltird-details-body.hidden {
  display: none;
}

.voltird > div {
  height: 100%;
}

.voltird-button {
  display: block;
  position: relative;
  height: 100%;
  margin: 0;
  padding: 15% 12% 3em 12%;
  text-align: left;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
}
.voltird-button:hover{
  background-color: rgb(35, 145, 234);
  text-decoration: none;
}

.voltird-text {
  display: block;
  margin: 0 0 1.8em 0;
  line-height: 1.1em;
  font-weight: 600;
  color: #ffffff;
}

/* .voltird-icon {
  display: inline-block;
  position: absolute;
  bottom: 3em;
  left: 12%;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 2px solid #000;
  width: 39px;
  height: 39px;
} */

.voltird-icon::after {
  display: inline-block;
  width: 35px;
  height: 35px;
  font-family: 'Ionicons';
  font-size: 35px;
  font-weight: 300;
  line-height: 35px;
  text-align: center;
  content: '\f123';
  text-decoration: none;
  transform: rotate(-90deg);
  transform-origin: center center;
  color: #ffffff;
}

.voltird-icon.voltird-close::after {
  transform: rotate(180deg);
  color: #FF9800;
}


/* ===== details ===== */
.voltird-details {
  display: none;
  grid-column: 1 / 5;
  grid-row: 2 / 3;
  z-index: 10;
  background: #f2f4f5;
  overflow: hidden;
  font-size: 14px;
}

.voltird-details a {
  color: #0a67c7;
}

.voltird-details-body {
  position: relative;
  font-size: 14px;
  line-height: 1.5em;
  width: 50%;
  float: left;
  padding: 20px;
  box-sizing: border-box;
}

.voltird-details-description {
  display: inline-block;
  width: 100%;
  padding: 1em;
}

.voltird-details-description p:first-child {
  margin-top: 0;
}

.voltird-details-sidebar {
  display: block;
  float: right;
  width: 33%;
  /* padding: 4em 4em 4em 0; */
}

.voltird-details-sidebar h3 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -1px;
}

@media (max-width: 767px) {
  .voltird-details-sidebar h3 {
    font-size: 2rem;
  }
}

.voltird-details-sidebar p {
  margin-top: 0;
}

.voltird-details-subtitle {
  font-weight: 400;
  font-size: 3vw;
  letter-spacing: normal;
}

/* ===== background colors ===== */
/* .voltird-yellow {
  background-color: #fecc30;
}
.voltird-orange {
  background-color: #fd9427;
}
.voltird-red {
  background-color: #fc3d39;
}
.voltird-blue {
  background-color: #60c9f8;
}
.voltird-green {
  background-color: #53d869;
}
.voltird-purple {
  background-color: #595ad4;
}
.voltird-pink {
  background-color: #fc3259;
} */

/* ===== media query overrides ===== */
@media (min-width: 1087px) { /* static larger than 1086px */
  .voltird-grid {
    grid-template-columns: repeat(3, 33.3333%);
  }
  .voltird-details {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
  }
  .voltird-text {
    font-size: 22px;
  }
  .voltird-details-body {
    font-size: 14px;
  }
  .voltird-details-sidebar h3 {
    font-size: 80px;
  }
  .voltird-details-subtitle {
    font-size: 24px;
  }
}

@media (max-width: 1086px) { /* 3 columns */
  .voltird-grid {
    grid-template-columns: repeat(3, 33.3333%);
  }
  .voltird-details {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
  }
  .voltird-text {
    font-size: 3.8vw;
  }
  .voltird-details-body {
    font-size: 2vw;
  }
}

/* Mobile styles for voltird-icon */
@media (max-width: 991px) {
  .voltird-icon::after {
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 20px;
  }
  
  .voltird-text i {
    font-size: 16px;
    margin-right: 5px;
  }
}

@media (max-width: 991px) { /* Mobile styles */
  .voltird-grid {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  /* Force single column layout for all content */
  .voltird-details-body,
  .voltird-details-body[style*="float: left"],
  .voltird-details-body[style*="float:right"] {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
  }
  
  .voltird {
    min-height: 50px;
    margin: 0 0 1px 0;
    width: 100%;
  }
  
  .voltird-details {
    display: none;
    width: 100%;
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.4;
  }
  
  .voltird.active + .voltird-details {
    display: block;
  }
  
  .voltird-button {
    padding: 10px 15px;
    background: #0a67c7;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .voltird.active .voltird-button {
    background: #0a67c7;
  }
  
  .voltird-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    flex-grow: 1;
  }
  

  
  .voltird-details-body {
    width: 100%;
    float: none;
    padding: 0;
    margin-bottom: 15px;
    font-size: 12px;
    line-height: 1.4;
    background: transparent;
  }
  
  /* Ensure all content stacks vertically */
  .voltird-details-body h4,
  .voltird-details-body p,
  .voltird-details-body ul,
  .voltird-details-body li {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .voltird-details-body h4 {
    font-size: 14px;
    margin: 10px 0 5px;
  }
  
  .voltird-details-body p {
    margin: 0 0 10px;
    font-size: 12px;
  }
  
  .voltird-details-body ul {
    padding-left: 20px;
    margin: 0 0 10px;
  }
  
  .voltird-details-body li {
    margin-bottom: 5px;
  }
  
  .voltird-details-sidebar {
    width: 100%;
    padding: 10px 12px;
  }
  
  .voltird-details-sidebar h3 {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }
  
  .voltird-details-subtitle {
    font-size: 14px;
    line-height: 1.3;
  }
}

@media (max-width: 520px) { /* Extra small screens */
  .voltird {
    min-height: 50px;
  }
  
  .voltird-button {
    padding: 6px 10px;
  }
  
  .voltird-text {
    font-size: 13px;
    margin: 0;
  }
  
  .voltird-details-body {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .voltird-details-body h4 {
    font-size: 13px;
  }
  
  .voltird-details-sidebar h3 {
    font-size: 16px;
  }

  /* NOTE: This is external to the actual grid styles and may be controlled by
  the outer page styles wherever the grid is inserted. */
  .example-container {
    padding: 0;
  }
}
