*, *::before, *::after {
  box-sizing: border-box;
}

body {
      margin: 0;
      font-family: sans-serif;
      background-color: #f8f9fb;
      color: #111;
}

/*Ads*/
.ad-wrapper {
    position: relative;
}

.ad-or-fallback:has(.center-banner-ad)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.ad-home-ctr {
    margin-bottom: 40px;
}

/*Content for Center Column*/

/*Feature Main*/
.main-featured-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.main-featured-carousel{
    position: relative;
    width: 100%;
    max-width: 620px;
}

.main-featured-card {
  display: flex;
  flex-direction: column;
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
    width: 100%;
    max-width: 100%;
}

.feature-hero {
  position: relative;
  overflow: hidden;
  width: 100%;                  
  height: 400px;                
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  flex-grow: 0;
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.05) 0%,
  rgba(0, 0, 0, 0.2) 35%,
  rgba(0, 0, 0, 0.3) 60%,
  rgba(0, 0, 0, 0.5) 70%,
  rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.feature-text {
  position: absolute;
  bottom: 10px;
  left: 14px;
  z-index: 2;
  color: white;
  max-width: 100%;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
  margin-right: 10px;
}

.feature-title {
  font-size: 28px;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  margin-bottom: 12px;
}

@media (max-width: 950px),
(min-width: 1200px) and (max-width: 1300px) {
    .feature-text p {
      font-size: 18px;
    }
}

@media (min-width: 801px) and (max-width: 900px),
(max-width: 650px) {
    .feature-title {
      font-size: 25px;
    }
}

@media (max-width: 480px) {
    .feature-title {
      font-size: 22px;
    }
    .feature-hero {
        height: 350px;
    }
}


.feature-controls {
  position: absolute;
  top: 10px;
  right: 5px;
  display: flex;
  gap: 7px;
  z-index: 5;
}

.feature-btn {
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  color: white;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.feature-btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: rgba(0, 0, 0, .625);
  transform: scale(1.1);
}

@media (hover: none) and (pointer: coarse) {
  .feature-btn:hover {
    background-color: rgba(0, 0, 0, 0.25) !important;
    color: white !important;
    transform: none !important;
  }
}

.feature-btn svg {
    flex-shrink: 0;
}

.feature-arrow svg {
  width: 38px;
  height: 38px;
}

#carouselToggleBtn svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 600px) {
    .feature-btn,
    .feature-arrow svg {
        width: 32px;
        height: 32px;
    }
    #carouselToggleBtn svg {
      width: 24px;
      height: 24px;
    }
}


/*Topic Content*/
.topic-hdr {
    width: 100%
    max-width: 100%;
    padding: 8px 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin: 0 0 20px 0;
}

.topic-hdr.economy {
    background-color: #fdfdfd;
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.topic-hdr.technology {
    background-color: #334155;
    font-size: 32px;
    font-weight: 800;
    color: #e2e8f0;
    font-family: 'Inter', 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.topic-hdr.sustainability {
    background-color: #14532d;
    font-size: 30px;
    font-weight: 800;
    color: #e2e8f0;
    font-family: 'Nunito', 'Quicksand', 'Poppins', sans-serif;
}

.section-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 1401px) {
    .section-wrapper.topic::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -25px;
      width: 100%;
      height: 1px;
      background-color: rgba(0, 0, 0, 0.2);
      pointer-events: none;
    }
}

.big-side {
    position: relative;
    width: 100%;
    max-width: 620px;
}

.small-side {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
}

@media (max-width: 1400px) {
    .section-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 45px;
      }

    .big-side::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -30px;
      width: 100%;
      height: 1px;
      background-color: rgba(0, 0, 0, 0.2);
      pointer-events: none;
    }
    .section-wrapper .big-side {
        order: 1;
    }
    .section-wrapper .small-side {
        order: 2;
    }
}


/*Column Style*/
.article-card.column-style {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
  padding: 6px 0 2px;
}

.column-style.submain::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.article-card.column-style:hover .title {
  text-decoration: underline;
}


.column-style .text-stack {
    width: 100%;
    max-width: 620px;
    margin-bottom: 12px;
    padding: 0 4px;
}

.column-style .title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.column-style .summary {
  font-size: 16px;
  color: #374151;
  margin-bottom: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
}

.column-style .img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width:100%;
  max-width: 620px;
  height: 350px;
}

@media(max-width:650px) {
    .column-style .img-wrap {
      height: 310px;
    }
}

@media(max-width:480px) {
    .column-style .img-wrap {
      height: 280px;
    }
}

.column-style .column-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.column-style .meta {
  font-size: 13px;
  color: #6b7280; /* Tailwind slate-500 */
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.column-style .dot {
  margin: 0 6px;
}

/*Small Articles*/
.small-article-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

@media (max-width:1400px) {
    .small-article-card::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -15px;
      width: 100%;
      height: 1px;
      background-color: rgba(0, 0, 0, 0.2);
      pointer-events: none;
    }
}

.section-title {
    font-size: 23px;
    margin: 19px 10px 12px;
    color: #64748b;
}

.topic-link {
  font-weight: 600;
  text-decoration: underline;
  color: inherit;
}

.topic-link:hover {
  color: var(--accent-color, #0073e6);
  text-decoration: underline;
}

.small-article-card {
  position: relative;
  display: flex;
  flex: 1;
  gap: 12px;
  width: 100%;
  max-width: 620px;
  text-decoration: none;
  color: #000;
  margin: 0 auto;
  transition: text-decoration 0.3 ease;
}

.small-article-card:hover .small-article-title{
  text-decoration: underline;
}

.small-article-image {
  width: 120px;
  height: 120px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  flex-grow: 0;
}

.card-body {
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    gap:10px;
    flex: 1;
}

.small-article-title {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;  
  font-size: 18px;
  margin: 0;
  font-weight: bold;
  text-align: left;
  color: #2a2a2a;
}

.small-article-summary {
  display: none;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.95rem;
  color: #444;
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

.card-body .meta {
    display: block;
    color: rgba(0,0,0,.6);
    margin: 2px 0 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 14px;
}



@media (max-width: 500px) {
  .section-title {
    font-size: 20px;
  }
  
  .small-article-card {
    height: 130px;
    max-height: 130px;
  }

  .small-article-image {
    width: 115px;
  }

  .small-article-title {
    font-size: 16px;
  }
}


@media (max-width: 400px) {
  .small-article-title {
    font-size: 15px;
  }
  .small-article-title {
    -webkit-line-clamp: 5;
  }
  .dot {
    margin: 0 3px;
  }
  .card-body .meta {
    font-size: 12px;
  }
}


/*Small Pair Card Type*/
.small-pair {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 100%;
  margin-top: 40px;
}

/*.small-pair::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  left: 0;*/
/*  bottom: -20px;*/
/*  width: 100%;*/
/*  height: 1px;*/
/*  background-color: rgba(0, 0, 0, 0.2);*/
/*}*/

.article-card.small {
  position: relative;
  display: flex;
  flex: 1;
  gap: 12px;
  min-width: 320px;
  max-width: 450px;
  text-decoration: none;
  color: #000;
  margin: 0;
  transition: text-decoration 0.3 ease;
}

.article-card.small:hover .text-only-title{
  text-decoration: underline;
}

.small-img-wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  overflow: hidden;
}

.small-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.small-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 8px;
}

.text-only-title {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.small-meta {
  font-size: 13px;
  color: #6b7280;
  text-transform: uppercase;
}

.text-only-dot {
  margin: 0 6px;
}

@media(min-width: 801px) and (max-width: 1007px),
(max-width: 701px) {
    .small.right .small-img-wrap {
        order: 2;
    }
    .small.right .small-text-wrap {
        order: 1;
    } 
}

@media(min-width: 801px) and (max-width: 1000px),
(min-width: 550px) and (max-width: 691px) {

  .article-card.small {
    border-right: none;
    padding-right: 0;
  }

    .small-img-wrap {
      flex-shrink: 0;
      width: 140px;
      height: 140px;
      overflow: hidden;
    }
}

@media(min-width: 801px) and (max-width: 1000px),
(max-width: 691px) {
    .small-pair{
        gap: 40px;
    }
    .small.right::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -20px;
      width: 100%;
      height: 1px;
      background-color: rgba(0, 0, 0, 0.2);
    }
}

@media(max-width: 450px) {
  .text-only-title {
      font-size: 16px;
  }  
}

@media(max-width: 380px) {
  .article-card.small {
      min-width: 320px;
  }  
}


/*Grid Pair Article Card Type*/
.article-card-pair {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  margin-top: 40px;
}

.article-card-pair::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
}

.grid-pair-card {
  flex: 1 1 320px;
  max-width: 500px;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border: 1px solid #cbd5e1;
  transition: border 0.2s ease, box-shadow 0.2s ease, ;
}

.grid-pair-card:hover .grid-pair-title{
  text-decoration: underline;
}

.grid-pair-card.left {
    position: relative;
}

.grid-pair-card-wrap {
    position: relative;
    display: block;
    height: 300px;
    max-height: 300px;
    overflow: hidden;
}

.grid-pair-image {
  position: relative;
  height: 100%;
  max-width: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.grid-pair-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0.05) 0%,
  rgba(0, 0, 0, 0.2) 30%,
  rgba(0, 0, 0, 0.3) 50%,
  rgba(0, 0, 0, 0.5) 70%,
  rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start; 
  padding: 10px;
  pointer-events: none; 
}

.grid-pair-title {
  pointer-events: auto;
  z-index: 2;
  color: white;
  max-width: 100%;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.grid-pair-meta {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: white;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
  padding: 10px 0 0 2px;
}

.grid-pair-dot {
  margin: 0 6px;
}

@media (max-width: 450px){
    .grid-pair-title {
      font-size: 20px;
    }
}

@media(min-width: 801px) and (max-width: 917px),
(max-width: 607px){
    .article-card-pair {
      gap: 40px;
    }
    .grid-pair-card.left::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -20px;
      width: 100%;
      height: 1px;
      background-color: rgba(0, 0, 0, 0.2);
    }
}


/*Fresh Style*/
.article-card.fresh-style {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
  margin-top: 8px;
}

.article-card.fresh-style::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.article-card.fresh-style:hover .title {
  text-decoration: underline;
}

.fresh-style .img-summary-cont {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 258px;
    max-height:100%;
}

.fresh-style .article-card-image {
  width: 330px;
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.fresh-style .article-card-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  gap: 12px;
  flex: 1;
  max-width: calc(100% - 348px); /* 370px image + 18px gap */
}

.fresh-style.left .article-card-text {
  padding: 12px 10px 12px 0;
}

.fresh-style.right .article-card-text {
  padding: 12px 0 12px 10px;
}

.fresh-style .title {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  text-align: left;
}

.fresh-style .summary {
  font-size: 16px;
  color: #374151;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
}

.fresh-style .summary.mobile {
    display: none;
}

.fresh-style .meta-summary-cont {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    gap: 8px;
    flex: 1;
}

.fresh-style .meta {
  font-size: 13px;
  color: #6b7280; /* Tailwind slate-500 */
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.fresh-style .meta.mobile {
    display: none;
}

.fresh-style .dot {
  margin: 0 6px;
}

@media(min-width:861px) and (max-width:1000px),
(max-width:670px){
    .fresh-style .article-card-image {
      width: 300px;
    }
    .fresh-style .article-card-text {
      max-width: calc(100% - 314px); /* 300px image + 14px gap */
    }
}

/*Fresh Style Mobile Style*/
@media(min-width:801px) and (max-width:930px),
(max-width:620px) {
    .article-card.fresh-style {
          display: flex;
          flex-direction: column;
          align-items: stretch;
    }

    .fresh-style.left .meta-summary-cont {
          padding: 10px 12px 10px 0;
    }
    
    .fresh-style.right .meta-summary-cont {
          padding: 10px 0 10px 12px;
    }
    
    .fresh-style .img-summary-cont {
        height: 160px;
        max-height:160px;
        gap: 14px;
    }
    
    .fresh-style .article-card-image {
        width: 240px;
    }
    
    .fresh-style .meta.mobile {
        display: flex;
    }

    .fresh-style .summary.mobile {
        display: -webkit-box;
        -webkit-line-clamp: 6;
    }
    
    .fresh-style.left .article-card-text,
    .fresh-style.right .article-card-text {
      width: 100%;
      max-width: 100%;
      padding: 8px 0;
    }

    .article-card.fresh-style.left {
        flex-direction: column-reverse;
    }

    .fresh-style .summary.desktop {
        display: none;
    }
    
    .fresh-style .meta.desktop {
        display: none;
    }
}

@media(max-width:530px) {
    .fresh-style .img-summary-cont {
        height: 130px;
        max-height:130px;
        gap: 12px;
    }
    
    .fresh-style .article-card-image {
        width: 195px;
    }
    .fresh-style .summary.mobile {
        display: -webkit-box;
        -webkit-line-clamp: 5;
    }
}

@media(max-width:480px) {
    .fresh-style .title {
        font-size: 20px;
    }
    .fresh-style .dot,
    .fresh-style .read-time {
        display: none;
    }

    .fresh-style .img-summary-cont {
        height: 130px;
        max-height:130px;
        gap: 10px;
    }

    .fresh-style .article-card-image {
        width: 170px;
    }
}

@media(max-width:420px) {
    .fresh-style .article-card-image {
        width: 130px;
    }
}

/*Suggested Articles -> See trending-article-stack.css for article card styling*/



/*Content for Right Column*/
/*Left Section was moved to top of right column*/

.left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    jsutify-content: center;
    gap: 14px;
}

/*No Ad*/
.left-section.na {
    width: 280px;
    max-width: 280px;
    margin-top: 16px;
}

/*Ad*/
.left-section.ad {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin-top: 6px;
}


.article-card-leftcol {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.left-section-header {
  position: relative;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #334155;
  text-align: left;
  width: 100%;
  padding-left: 14px;
}

.left-section-header::before, .left-section.additional::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.3);
}

.left-section-header::before, .left-section.additional::before {
  top: -16px;
}

.external-insights-header {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937; /* dark muted blue-gray */
}

.article-card-leftcol.sustainability-theme {
  border-left: 4px solid #22c55e;
}

.article-card-leftcol:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.left-card-thumb {
    background-size: cover;
    background-position: center;
    height: 140px;
}

.left-card-info {
    padding: 12px 10px;
}

.left-card-source {
    font-size: 0.75rem;
    color: #64748b; /* muted slate */
}

.left-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
}

/*Tools*/
.tool-app {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  width: 280px;
  max-width: 100%;
  text-align: center;
}

.tool-img-wrap {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbe9f5, #8fb8e4);
    border-radius: 14px;
    padding: 0 8px;
}

.tool-img {
  height: 100%;
  background-position: center;
  border-radius: 14px;
  background-size: contain;
  background-repeat: no-repeat;
}

.tool-meta {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 6px;
  align-self: center;
}

.tool-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
}

.tool-sub {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.tool-launch {
  display: inline-flex;
  align-self: flex-start;
  align-self: center;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  width: auto;
  max-width: 100%;
  padding: 8px 20px;
  border: 2px solid #1a202c;
  border-radius: 10px;
  background-color: #eef2f6;
  color: #1a202c;
  text-decoration: none;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.tool-launch:hover {
  background-color: #1a202c;
  color: #eef2ff;
  border-color: #1a202c;
}

.tool-launch svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.tool-mortgage-app {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
  width: 100%;
  max-width: 100%;
}

.tool-mortgage-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.tool-mortgage-icon {
  font-size: 1.8rem;
  /*border: 1px solid #94a3b8;*/
  padding: 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at top,
    #fde68a 0%,        
    #fcd34d 15%,       
    #bae6fd 35%,
    #bae6fd 50%,       
    #86efac 70%,      
    #22c55e 100%    
  );
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.4),
              0 2px 6px rgba(0, 0, 0, 0.1);
}

.tool-mortgage-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
}

.tool-mortgage-sub {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.tool-mortgage-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tool-launch svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/*Redfin Article Card*/
.housing-external-card {
  width: 100%;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 0 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
}

.housing-external-card:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.housing-ext-img {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 140px;
}

.housing-ext-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px 12px;
}

.housing-ext-meta-wrap {
  font-size: 13px;
  color: #6b7280;
}

.housing-ext-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.housing-ext-summary {
  font-size: 0.9rem;
  line-height: 1.35;
  color: #374151;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.tool-epa-app {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  width: 280px;
  max-width: 100%;
  text-align: center;
}

.tool-epa-img-wrap {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, #e6f0ea, #b6d1c2);
    border-radius: 14px;
}

.tool-epa-img {
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
}

.tool-epa-seal {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 60px;
  height: 60px;
}

.tool-epa-meta {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: 6px;
  align-self: center;
}

.tool-epa-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
}

.tool-epa-sub {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}


/*Hero Section*/
.hero {
  text-align: center;
  background: white;
  margin: 0;
  padding: 20px;
}

.hero h1 {
  font-size: 36px;
  padding: 0;
  margin: 0;
}

@media(max-width: 1029px){
    .hero h1 {
      font-size: 30px;
    }
}

@media(max-width: 768px){
    .hero {
      display: none;
    }
}

.info-section {
  background: #e4e7eb;
  padding: 20px 26px 30px;
  text-align: center;
}

.info-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.info-section p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}