/*
 * ring website
 */

:root {
    --timeline-blue: #256182;
    --timeline-line: #8fa4b1;
    --timeline-text: #000;
    --metric-bg: #eaf5fd;
    --metric-red: #b5161d;
    --metric-blue: #0046C7;
    --metric-green: #007550;
    --metric-navy: #1d3d85;
    --metric-label: #525252;
    --panel-bg: #eaf4fb;
    --title-blue: #173f86;
    --body-text: #2a2a2a;
    --red: #b21d24;
    --blue: #3c82f6;
    --green: #159d78;
    --navy: #254c9d;
}

.ring-landing .page-section h3 {
  font-size: 40px;
}

.ring-landing .sec-homehero {
  background-image: url("../images/ring/ring-hero.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.ring-landing .sec-homehero .container-inner {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.ring-landing .sec-homehero h1 {
  text-align: center;
  font-size: 50px;
  line-height: 1.2;
  font-weight: 500 !important;
  color: white;
  margin-bottom: 2.5rem !important;
}

.ring-landing .sec-homehero h1 span {
  font-weight: 300;
  font-size: 30px;
  text-transform: uppercase;
  display: block;
}

.ring-landing .sec-homehero .hero-txt {
  color: white;
  font-size: 20px;
  line-height: 1.7;
}

.ring-landing .sec-homehero .hero-btns {
  padding-top: 1.5rem;
}

.ring-landing .sec-homehero .btn-oe {
  color: #FAC049 !important;
  font-weight: 500;
  padding: 1.25rem .5rem;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 0;
  border-top: 2px solid #fac04f;
  border-bottom: 2px solid #fac04f;
  display: block;
  margin: 0 auto;
}

.ring-landing .sec-homehero .btn-oe:hover {
  color: white !important;
  border-top-color: white;
  border-bottom-color: white;
  background-color: transparent;
}

.ring-landing .sec-homehero .btn-oe:focus {
  color: white !important;
}

.ring-landing .sec-homehero .next-arrow {
  display: inline-block;
}

.ring-landing .sec-homehero .next-arrow:hover {
  background-color: transparent;
}

.ring-landing .sec-homehero .card {
  height: 100%;
}

.ring-landing .home-feature .inner {
  padding: 1rem 0;
  background-color: transparent;
}

.ring-landing .home-feature .card {
  max-width: 400px;
  margin: 0 auto;
}

.ring-landing .home-quicklinks h3 {
  margin-bottom: 3rem;
}

.ring-landing .home-quicklinks .inner {
  background-color: transparent;
}

.ring-landing .home-quicklinks .card-img {
  border-radius: 8px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

.ring-landing .home-quicklinks .card-body {
  text-align: left;
}

.ring-landing .home-quicklinks .card-withimg:hover .card-img {
  box-shadow: 0 3px 20px 0 rgba(0, 0, 0, 0.5);
}

@media (min-width: 420px) {
  .ring-landing .sec-homehero h1 {
    font-size: 40px;
  }
  .ring-landing .sec-homehero h1 span {
    font-size: 26px;
  }
}

@media (min-width: 768px) {
  .ring-landing .sec-homehero .container-inner {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
  .ring-landing .sec-homehero h1 {
    font-size: 42px;
  }
  .ring-landing .sec-homehero h1 span {
    font-size: 30px;
    margin-bottom: 1rem;
  }
  .ring-landing .home-resources .sec-title-ribbon {
    font-size: 26px;
  }
}

@media (min-width: 992px) {
  .ring-landing .home-feature .card {
    height: 100%;
  }
}

@media (min-width: 1400px) {
  .ring-landing .sec-homehero .container-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .ring-landing .home-feature .inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.theme-ring .site-breadcrumb-wrap .site-breadcrumb:first-of-type {
  display: none;
}

.theme-ring .site-breadcrumb-wrap .site-breadcrumb:nth-of-type(2) {
  padding-left: 1rem;
}

.theme-ring .site-breadcrumb-wrap .site-breadcrumb:nth-of-type(2):after {
  display: none;
}

.theme-ring .site-breadcrumb-wrap #dnn_dnnBREADCRUMB_lblBreadCrumb span:nth-of-type(2) {
  display: none;
}

.theme-ring .sec-feedback {
  color: white;
  position: relative;
  overflow: hidden;
}

.theme-ring .sec-feedback .inner {
  background-color: transparent;
}

.theme-ring .sec-feedback:after {
  content: "";
  display: block;
  width: 348px;
  height: 138px;
  background-image: url(../images/ring/radiotowers.png);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .theme-ring .sec-feedback:after {
    position: absolute;
    bottom: 0;
    right: -1rem;
    margin-top: 0;
    margin-right: 0;
  }
}

.theme-ring .subpage-banner.imgbg {
  min-height: 250px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.theme-ring .subpage-banner.imgbg:before {
  content: "";
  background-image: linear-gradient(rgba(1, 0, 49, 0.65), rgba(0, 0, 0, 0.5));
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}

.theme-ring .subpage-banner.imgbg .page-title {
  position: relative;
  z-index: 2;
}


@media (min-width: 992px) {
    .innerpage.theme-ring .subpage-banner .page-title .uplevel {
        font-size: 20px;
    }
}

/* Projecg page 
===================================== */
.timeline-section {
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    height: 440px;
}

/* Main horizontal line */
.timeline-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 5px;
    background: var(--timeline-line);
    transform: translateY(-50%);
    z-index: 1;
}

/* Arrow head */
.timeline-wrapper::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 30px;
    height: 30px;
    border-top: 4px solid var(--timeline-line);
    border-right: 4px solid var(--timeline-line);
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
}

.timeline-item {
    position: absolute;
    width: 30%;
    z-index: 2;
    border-left: 3px solid var(--timeline-blue);
    padding-left: 1.6rem;
    padding-top: 1.2rem;
    height: 210px;
}

.timeline-item:nth-child(even) {
  padding-top: 2.5rem;
  top: 220px;
}

.timeline-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--timeline-blue);
    border-radius: 107%;
    border: 3px solid white;
    top: 105%;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 4;
}

.timeline-item:nth-child(even) .timeline-dot {
  top: 0;
}

.timeline-stem {
    position: absolute;
    width: 3px;
    background: var(--timeline-blue);
    left: 0;
    z-index: 3;
}

.timeline-content {
    position: relative;
    color: var(--timeline-text);
}

.timeline-year {
    font-size: 20px;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.timeline-text {
    font-size: 15px;
    line-height: 1.18;
    font-weight: 400;
}

/* Individual item positioning */
.item-2021 {
    left: 2%;
}

/* .item-2021 .timeline-dot {
    left: 0;
    top: 380px;
} */

/* .item-2021 .timeline-stem {
    height: 342px;
    top: 0;
} */
/* 
.item-2021 .timeline-content {
    padding-top: 38px;
} */

.item-2024 {
    left: 18%;
}

/* .item-2024 .timeline-dot {
    left: 0;
    top: 0;
}

.item-2024 .timeline-stem {
    height: 345px;
    top: 0;
} */

/* .item-2024 .timeline-content {
    padding-top: 105px;
} */

.item-2025 {
    left: 35%;
}

/* .item-2025 .timeline-dot {
    left: 0;
    top: 380px;
} */

/* .item-2025 .timeline-stem {
    height: 342px;
    top: 0;
} */

/* .item-2025 .timeline-content {
    padding-top: 38px;
} */

.item-2026 {
    left: 51%;
}


.item-2027 {
    left: 68%;
}


/* Mobile layout */
@media (max-width: 767.98px) {
    .timeline-section {
        padding: 2rem 1rem;
    }

    .timeline-wrapper {
        height: auto;
        max-width: 100%;
        padding-left: 38px;
    }

    .timeline-wrapper::before {
        left: 35px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 6px;
        height: auto;
        transform: none;
    }

    .timeline-wrapper::after {
        left: 23px;
        right: auto;
        top: auto;
        bottom: 0;
        width: 30px;
        height: 30px;
        border-top: 0;
        border-left: 6px solid var(--timeline-line);
        border-bottom: 6px solid var(--timeline-line);
        border-right: 0;
        transform: rotate(-45deg);
    }

    .timeline-item {
        position: relative;
        width: auto;
        left: auto;
        top: auto;
        height: auto;
        padding: .5rem 0 2rem 2.5rem;
        border-left: 0;
    }

    .timeline-item:nth-child(even) {
      padding-top: .5rem;
      top: auto;
    }

    .timeline-dot {
        left: 0 !important;
        top: 10px !important;
        width: 28px;
        height: 28px;
        transform: translateX(-50%);
    }

    .timeline-content {
        padding: 0 !important;
    }

    .timeline-year {
        font-size: 25px;
        margin-bottom: 16px;
    }

    .timeline-text {
        font-size: 17px;
        line-height: 1.24;
    }

    .item-2027 {
        padding-bottom: 60px;
    }
}

@media (max-width: 420px) {
    .timeline-year {
        font-size: 28px;
    }

    .timeline-text {
        font-size: 20px;
    }
}

/* project - coverage */
.coverage-section {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 2rem;
    }

    .coverage-grid {
      width: min(100%, 460px);
      margin: 0 auto;
    }

    .metric-row + .metric-row {
      margin-top: 2rem;
    }

    .metric-card {
      background: var(--metric-bg);
      min-height: 96px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      border: 0;
      border-radius: 0;
      padding: 1.5rem .5rem;
    }

    .metric-value {
      display: block;
      line-height: 1;
      margin-bottom: 1rem;
      font-weight: 600;
      font-size: 1.8rem;
    }

    .metric-label {
      color: var(--metric-label);
      font-size: clamp(.9rem, 2.5vw, 1rem);
      line-height: 1.2;
      white-space: nowrap;
    }

    .metric-red { color: var(--metric-red); }
    .metric-blue { color: var(--metric-blue); }
    .metric-green { color: var(--metric-green); }
    .metric-navy {
      color: var(--metric-navy);
    }

    @media (max-width: 575.98px) {
      .coverage-section {
        min-height: auto;
        padding-top: 3rem;
      }

      .metric-row + .metric-row {
        margin-top: 1rem;
      }

      .metric-card {
        min-height: 110px;
      }
    }

/* project -wildfire response */
.response-card {
      position: relative;
      background: var(--panel-bg);
      border: 0;
      border-radius: .5rem;
      padding: 1.4rem;
      box-shadow: none;
      height: 100%;
    }

    .response-card::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 9px;
      background: var(--accent-color);
    }

    .response-card .card-title {
      margin: 0 0 .8rem 0;
      color: var(--title-blue);
      font-size: 1.1rem;
      line-height: 1.2;
      font-weight: 600;
    }

    .response-card p {
      margin: 0;
      font-size: 15px;
      line-height: 1.42;
      color: var(--body-text);
    }

    .response-card li {
      padding-bottom: .3rem !important;
      line-height: 1.5 !important;
    }

    .accent-red { --accent-color: var(--red); }
    .accent-blue { --accent-color: var(--blue); }
    .accent-green { --accent-color: var(--green); }
    .accent-navy { --accent-color: var(--navy); }

    @media (max-width: 575.98px) {
      .wildfire-section {
        padding: 1.5rem .75rem;
      }

      .wildfire-list {
        max-width: 100%;
      }

      .response-card {
        margin-bottom: 1.35rem;
        padding: .95rem 1rem .95rem 1.15rem;
        min-height: auto;
      }

      .response-card .card-title {
        font-size: 1.1rem;
      }

      .response-card p {
        font-size: 1rem;
      }
    }

/* project timeline table */
.project-timeline-section {
        background: #ffffff;
    }

    .timeline-wrap {
        width: 100%;
        overflow-x: auto;
        border: 1px solid #f1f1f1;
    }

    .timeline-grid {
        display: grid;
        grid-template-columns: 40% repeat(12, 5%);
        min-width: 100%;
    }

    .timeline-header {
        grid-template-rows: 65px 40px;
    }

    .task-header {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        background: #737373;
        color: #ffffff;
        font-size: 17px;
        font-weight: 700;
        padding-left: 0;
        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
    }

    .year-header {
        background: #737373;
        color: #ffffff;
        font-size: 18px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
    }

    .year-header:nth-child(2) {
        grid-column: 2 / 6;
        grid-row: 1 / 2;
    }

    .year-header:nth-child(3) {
        grid-column: 6 / 10;
        grid-row: 1 / 2;
    }

    .year-header:nth-child(4) {
        grid-column: 10 / 14;
        grid-row: 1 / 2;
    }

    .quarter-spacer {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        background: #737373;
        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
    }

    .quarter {
        grid-row: 2 / 3;
        background: #d8ebfa;
        color: #000000;
        font-size: 14px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
    }

    .timeline-row {
        min-height: 70px;
    }

    .phase-title {
        grid-column: 1 / 2;
        background: #215f98;
        color: #ffffff;
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        padding-left: 5px;
        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
        white-space: nowrap;
    }

    .timeline-area {
        grid-column: 2 / 14;
        position: relative;
        background: #d8ebfa;
        border-bottom: 2px solid #ffffff;
    }

    .timeline-area::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(to right, transparent calc(8.333% - 1px), rgba(255,255,255,.8) calc(8.333% - 1px), rgba(255,255,255,.8) 8.333%);
        background-size: 8.333% 100%;
        pointer-events: none;
    }

    .timeline-bar {
        position: absolute;
        top: 10px;
        height: 50px;
        background: #3f85ad;
        border: 2px solid #707070;
        z-index: 2;
    }

    /*
        Timeline width is based on 12 quarters total:
        2026 Q1 to 2028 Q4.
    */

    .phase-1-bar {
        left: 2.5%;
        width: 9.5%;
    }

    .phase-2-bar {
        left: 6%;
        width: 35.5%;
    }

    .phase-3-bar {
        left: 20.5%;
        width: 43%;
    }

    .phase-4-bar {
        left: 54%;
        width: 34.5%;
    }


    @media (max-width: 767.98px) {
        .project-timeline-section {
            padding-top: 2rem;
            padding-bottom: 2rem;
        }

        .timeline-grid {
            grid-template-columns: 42% repeat(12, 4.833%);
        }

        .phase-title {
            white-space: wrap;
        }

        /* .timeline-header {
            grid-template-rows: 75px 52px;
        }

        .timeline-row {
            min-height: 115px;
        }



        .year-header {
            font-size: 30px;
        }

        .quarter {
            font-size: 23px;
        }

        .timeline-bar {
            top: 28px;
            height: 62px;
        } */
    }