/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/

/* ===== ARCHIVE GRID ===== */

.banks-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.banks-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.banks-archive-title {
  font-size: 14px;
  font-weight: 500;
  margin: 8px 0 0;
}

/*
.banks-archive-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.banks-archive-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
*/

.banks-archive-image {
  height: 250px;
  overflow: hidden;
  display: block;
}

.banks-archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banks-archive-card {
/*
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e0e0e0;
*/
  border: none !important;
  background: #fff;
/*
  transition: all 0.2s ease;
  padding: 0;
*/
  display: block;
}

.banks-archive-grid > * {
  min-width: 0;
}

.banks-archive-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.banks-archive-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.banks-archive-card-title a {
  color: #111;
  text-decoration: none;
}

.banks-archive-card-title a:hover {
  color: #e60000;
}

.banks-archive-excerpt {
  font-size: 13px;
  color: #555;
}

.banks-archive-date {
  font-size: 12px;
  color: #777;
  margin-bottom: 8px;
}

.banks-read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: #e60000;
  text-decoration: none;
}

.banks-archive-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.banks-search-form {
  display: flex;
  gap: 8px;
}

.banks-search-form input {
  width: 250px;
  padding: 8px 10px;
  border: 1px solid #ccc;
}

.banks-search-form button {
  background: #cc0000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

/* tighten image → content relationship */

.banks-archive-image img {
  border-bottom: 1px solid #eee;
}

.banks-hero {
  margin: 0;
  padding: 0;
}

.banks-hero img {
  width: 100%;
  display: block;
  border-radius: 4px; /* optional */
}

.banks-hero .banks-container {
  padding-top: 0;
  padding-bottom: 0;
}

.banks-home-archive {
  margin-top: 5px;
}

/* ===== for all templates ===== */

.banks-columns {
  display: flex;
  gap: 40px;
}

.banks-main {
  width: 70%;
}

.banks-sidebar {
  width: 30%;
}

.banks-category {
  color: #cc0000;
  font-size: 14px;
  margin-bottom: 5px;
}

/* ===== CONTENT ===== */

.banks-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.banks-content {
  font-size: 16px;
  line-height: 1.6;
}

.banks-featured-image img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.banks-post-nav {
  border-top: 1px solid #ddd;
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
}

.banks-prev a,
.banks-next a {
  color: #cc0000;
  text-decoration: none;
  font-weight: 500;
}

/* ===== 404 ===== */

.banks-404 {
  padding: 80px 20px;
  text-align: center;
}

.banks-404-title {
  font-size: 42px;
  margin-bottom: 20px;
}

.banks-404-text {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.banks-404-search {
  max-width: 400px;
  margin: 0 auto 30px;
}

.banks-404-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.banks-btn {
  background: #cc0000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
}

.banks-btn-outline {
  border: 1px solid #cc0000;
  color: #cc0000;
  padding: 10px 20px;
  text-decoration: none;
}

/* ===== 404 Popular Articles ===== */

.banks-404-popular-wrapper {
  margin-top: 40px;
}

.banks-404-popular-wrapper h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

/* kill ugly bullets + center nicely */
.banks-404-popular {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* each item */
.banks-404-popular li {
  margin-bottom: 8px;
}

/* links */
.banks-404-popular a {
  color: #cc0000;
  text-decoration: none;
  font-size: 14px;
}

.banks-404-popular a:hover {
  text-decoration: underline;
}

.banks-404-popular li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* ===== SIDEBAR WIDGET ===== */

.banks-widget {
  margin-bottom: 25px;
  border: 1px solid #ddd;
}

/* red header bar */
.banks-widget-title {
  background: #cc0000;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  font-size: 14px;
}

/* content area */
.banks-widget-content {
  padding: 15px;
  background: #fff;
}

/* dropdown */
.banks-category-dropdown {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* ===== INSIDER NEWS SIDEBAR SIGNUP ===== */

.banks-insider-image img {
  width: 100%;
  margin-bottom: 10px;
}

.banks-insider-text {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.banks-insider-list {
  margin: 10px 0;
  padding-left: 18px;
  font-size: 14px;
}

.banks-insider-list li {
  margin-bottom: 4px;
}

.banks-insider-form {
  margin-top: 10px;
}

.banks-insider-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.banks-insider-form input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.banks-insider-form button {
  background: #cc0000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

/* HubSpot iframe cleanup */
.banks-insider-form iframe {
  width: 100% !important;
  border: none;
}

/* tighten spacing */
.banks-insider-form {
  margin-top: 10px;
}

/* ===== Add spacing between sidebar widgets ===== */

.banks-widget {
  margin-bottom: 30px;
}

/* ===== Slightly refine sidebar header look ===== */

.banks-widget-title {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== For tag.php and others ===== */

/* HEADER */
.banks-title {
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}

/* CONTENT */

.banks-archive-title {
  margin-top: 6px;
}

.banks-archive-title a {
  text-decoration: none;
  color: #333;
}

.banks-archive-title a:hover {
  color: #cc0000;
}

/* READ MORE */
.banks-read-more {
  color: #cc0000;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
  margin-bottom: 10px;
}

/* DATE */
.banks-archive-meta {
  font-size: 12px;
  color: #777;
}

/* ===== PAGINATION ===== */

.banks-pagination {
  margin: 50px 0 30px;
  text-align: center;
}

/* THIS is the key fix */
.banks-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* each item */
.banks-pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

/* hover */
.banks-pagination .page-numbers:hover {
  background: #f5f5f5;
}

/* current page */
.banks-pagination .page-numbers.current {
  background: #cc0000;
  color: #fff;
  border-color: #cc0000;
}

/* prev/next */
.banks-pagination .prev,
.banks-pagination .next {
  font-weight: bold;
}

/* MOBILE */
@media (max-width: 768px) {
  .banks-archive-grid {
    grid-template-columns: 1fr;
  }

  .banks-archive-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Fix messy content images in news_release */

.banks-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 4px;
}

/* Fix images that are floated left/right */
.banks-content .alignleft,
.banks-content .alignright {
  float: none;
  margin: 20px 0;
}

/* ===== TUNE UP HEADER ===== */

.elementor-image-box-title a {
  font-size: 16px;
}

/* LOGO BOX */
.elementor-40522 .elementor-element.elementor-element-8d76c55 {
  width: 150px !important;
}

/* LOGO */
.elementor-40522 .elementor-element.elementor-element-4347b92 img {
  width: 70% !important;
  max-width: 70% !important;
}

/* ===== HEADER LAYOUT (CLEAN) ===== */

@media (min-width: 768px) {

  /* LOGO COLUMN */
  .elementor-40522 .elementor-element.elementor-element-8d76c55 {
    width: 20% !important;
  }

  /* SEARCH COLUMN */
  .elementor-40522 .elementor-element.elementor-element-f8ee683 {
    width: 50% !important;
  }

  /* RIGHT COLUMN */
  .elementor-40522 .elementor-element.elementor-element-b54c927 {
    width: 30% !important;
    text-align: right;
  }

}

/* ===== SEARCH INPUT ===== */

.elementor-40522 .e-search-input {
  height: 45px !important;
  padding: 0 15px !important;
  font-size: 16px !important;
}

.elementor-40522 .e-search-submit {
  height: 55px !important;
  padding: 0 20px !important;
}

/* ===== ROUNDED SEARCH BOX ===== */

.elementor-40522 .e-search-input {
  border-radius: 10px 10px 10px 10px !important;
  border: 1px solid #ccc !important;
}

/* HIDE TEXT */
.elementor-40522 .e-search-submit span {
  display: none;
}

/* STYLE BUTTON AS ICON */
.elementor-40522 .e-search-submit {
  width: 50px;
  background: transparent !important;
  border: none !important;
  position: relative;
}

/* ADD MAGNIFYING GLASS ICON */
.elementor-40522 .e-search-submit::before {
  content: "\f002"; /* Font Awesome search icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 18px;
  color: #333;
}

/* WRAP POSITIONING */
.elementor-40522 .e-search-form {
  position: relative;
}

/* INPUT PADDING FOR ICON */
.elementor-40522 .e-search-input {
  padding-right: 50px !important;
  border-radius: 10px !important;
}

/* POSITION ICON INSIDE FIELD */
.elementor-40522 .e-search-submit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* ===== FOOTER BASE ===== */

.elementor-40576 {
  background: #f5f5f5;
  padding: 60px 0 40px;
  font-size: 15px;
  color: #444;
}

/* ===== COLUMN SPACING ===== */

.elementor-40576 .elementor-column {
  padding: 0 20px;
}

/* ===== HEADINGS ===== */

.elementor-40576 .elementor-heading-title {
  font-size: 18px;
  font-weight: 625;
  margin-bottom: 15px;
  color: #222;
}

/* ===== TEXT ===== */

.elementor-40576 p {
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ===== LINKS ===== */

.elementor-40576 a {
  color: #cc0000;
  text-decoration: none;
}

.elementor-40576 a:hover {
  text-decoration: underline;
}

/* ===== LISTS ===== */

.elementor-40576 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.elementor-40576 li {
  margin-bottom: 6px;
}

/* ===== FOOTER SPACING FIX ===== */

/* keep spacer column but control it */
.elementor-40576 .elementor-element-a6658ca {
  width: 60px !important;
}

/* hide the <<< text only */
.elementor-40576 .elementor-element-a6658ca h2 {
  display: none;
}

/* tighten columns */
.elementor-40576 .elementor-column {
  padding: 0 20px;
}

/* constrain width like bankspower */
.elementor-40576 .elementor-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* align 3rd column with others */
.elementor-40576 .elementor-element-6a413f2 {
  margin-top: 25px;
}

.elementor-40576 .newsletter-form {
  margin-top: 15px;
}

/* ===== tighten space under "Newsletter" title ===== */

.elementor-40576 .elementor-element-0a6365d {
  margin-bottom: 5px !important;
}

/* ===== FOOTER LINK COLOR FIX ===== */

.elementor-40576 a {
  color: #333333 !important;
  text-decoration: none;
}

/* hover state */
.elementor-40576 a:hover {
  color: #888888 !important;
}

/* ===== FOOTER TEXT SIZE ===== */

.elementor-40576 {
  font-size: 14px;
}

/* ===== NEWSLETTER TIGHTEN ===== */

.elementor-40576 h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
  .elementor-40576 .elementor-container {
    flex-direction: column;
  }

  .elementor-40576 .elementor-column {
    width: 100% !important;
    margin-bottom: 25px;
  }
}

.banks-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.banks-news-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.banks-news-title {
  font-size: 16px;
  margin: 10px 0 5px;
}

.banks-news-excerpt {
  font-size: 14px;
  color: #555;
}

/* ===== SPEED SCHOOL ===== */

.speed-school-section{
    margin:60px 0;
}

.speed-school-card{
    display:flex;
    gap:40px;
    align-items:center;

    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;

    padding:32px;

    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.speed-school-cover{
    flex:0 0 260px;
}

.speed-school-cover img{
    width:100%;
    display:block;
    border-radius:6px;
}

.speed-school-body{
    flex:1;
}

.section-label{

    display:inline-block;

    background:#d30000;

    color:#fff;

    padding:4px 12px;

    font-size:.8rem;

    font-weight:700;

    letter-spacing:.08em;

    margin-bottom:16px;

    border-radius:4px;
}

.speed-school-body h2{

    margin:0 0 16px;

    font-size:2rem;

}

.speed-school-body p{

    max-width:700px;

    line-height:1.8;

    color:#555;

    margin-bottom:28px;

}

.banks-button{

    display:inline-block;

    background:#d30000;

    color:#fff;

    padding:14px 28px;

    text-decoration:none;

    font-weight:700;

    border-radius:4px;

    transition:.2s;

}

.banks-button:hover{

    background:#aa0000;

    color:#fff;

}

@media(max-width:900px){

    .speed-school-card{

        flex-direction:column;

        text-align:center;

    }

    .speed-school-cover{

        flex:none;

        width:240px;

    }

    .speed-school-body p{

        max-width:none;

    }

}

/* FOR page-news-media.php TEMPLATE */

.news-media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.news-media-item img {
  display: block;
  width: 100%;
//  height: 160px;
//  object-fit: cover;
  height: auto;
}

.news-media-item h3 {
  margin: 12px 0 6px;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 400;
}

.news-media-item h3 a {
  color: #c8102e;
  text-decoration: none;
}

.news-media-item h3 a:hover {
  text-decoration: underline;
}

.news-media-date {
  margin-bottom: 10px;
  font-size: 0.72rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-media-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

.news-media-excerpt p {
  margin: 0;
}

.news-media-section {
  margin-bottom: 48px;
}

.news-media-section h2 {
  margin-bottom: 20px;
}

.news-media-item {
  display: flex;
  flex-direction: column;
  transition: transform .15s ease;
}

.news-media-item:hover {
  transform: translateY(-2px);
}

.news-media-item img {
  border-radius: 4px;
}

.news-media-item h3 a {
  transition: color .15s ease;
}

.news-media-item h3 a:hover {
  color: #9f0f25;
}

.news-media-more {
  margin-top: 20px;
  text-align: right;
}

.news-media-more a {
  font-weight: 600;
  text-decoration: none;
}

.news-media-more a:hover {
  text-decoration: underline;
}

