/* =================================================================
https://loyainsurance.org/terms-and-conditions/
================================================= */
.loya-terms{
  max-width:1120px;
  margin:0 auto;
  padding:46px 22px 64px;
  font-family:inherit;
  color:#172033;
  line-height:1.72;
}

.loya-terms *{
  box-sizing:border-box;
}

.loya-terms a{
  color:#0b63ce;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid rgba(11,99,206,.25);
}

.loya-terms a:hover{
  color:#08499a;
  border-bottom-color:#08499a;
}

.loya-terms-hero{
  text-align:center;
  margin-bottom:34px;
  padding:34px 24px;
  border-radius:30px;
  background:linear-gradient(135deg,#eff6ff,#ffffff 55%,#fff7ed);
  border:1px solid #dbeafe;
  box-shadow:0 18px 48px rgba(15,23,42,.08);
}

.loya-terms-hero span{
  display:inline-block;
  background:#eaf2ff;
  color:#0b4f8a;
  padding:8px 14px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  margin-bottom:14px;
}

.loya-terms-hero .loya-terms-title{
  margin:0 0 14px;
  color:#082044;
  font-size:clamp(34px,5vw,52px);
  line-height:1.08;
  font-weight:950;
  letter-spacing:-.04em;
}

.loya-terms-hero p{
  max-width:860px;
  margin:0 auto;
  font-size:18px;
  color:#475569;
}

.loya-terms-disclaimer{
  margin:0 0 28px;
  padding:22px 24px;
  border-radius:24px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#7c2d12;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}

.loya-terms-disclaimer strong{
  color:#431407;
}

.loya-terms-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}

.loya-terms-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:28px;
  box-shadow:0 16px 38px rgba(15,23,42,.08);
}

.loya-terms-card h2{
  margin:0 0 12px;
  color:#082044;
  font-size:23px;
  line-height:1.25;
  font-weight:950;
}

.loya-terms-card p,
.loya-terms-card li{
  color:#475569;
  font-size:16px;
  line-height:1.68;
}

.loya-terms-card p{
  margin:0 0 13px;
}

.loya-terms-card p:last-child{
  margin-bottom:0;
}

.loya-terms-card ul{
  margin:0;
  padding-left:20px;
}

.loya-terms-card li{
  margin-bottom:8px;
}

.loya-terms-card.blue{
  background:linear-gradient(135deg,#eff6ff,#fff);
  border-color:#bfdbfe;
}

.loya-terms-card.orange{
  background:linear-gradient(135deg,#fff7ed,#fff);
  border-color:#fed7aa;
}

.loya-terms-card.green{
  background:linear-gradient(135deg,#ecfdf5,#fff);
  border-color:#bbf7d0;
}

.loya-terms-card.purple{
  background:linear-gradient(135deg,#f5f3ff,#fff);
  border-color:#ddd6fe;
}

.loya-terms-card.gray{
  background:linear-gradient(135deg,#f8fafc,#fff);
  border-color:#e2e8f0;
}

.loya-terms-note{
  margin-top:28px;
  background:#082044;
  color:#fff;
  border-radius:28px;
  padding:32px 26px;
  text-align:center;
  box-shadow:0 20px 48px rgba(8,32,68,.24);
}

.loya-terms-note h2{
  color:#fff;
  margin:0 0 10px;
  font-size:28px;
  font-weight:950;
}

.loya-terms-note p{
  color:#dbeafe;
  margin:0 auto 18px;
  max-width:780px;
  font-size:16px;
}

.loya-terms-note a{
  display:inline-block;
  background:#dc2626;
  color:#fff!important;
  padding:13px 20px;
  border-radius:999px;
  text-decoration:none;
  border:0;
  font-weight:950;
  box-shadow:0 12px 26px rgba(220,38,38,.26);
}

@media(max-width:900px){
  .loya-terms{
    padding:32px 16px 54px;
  }

  .loya-terms-grid{
    grid-template-columns:1fr;
  }

  .loya-terms-card{
    padding:24px;
  }

  .loya-terms-hero{
    padding:28px 18px;
  }

  .loya-terms-hero p{
    font-size:16px;
  }
}

/* ================================================================
https://loyainsurance.org/privacy-policy/
============================================== */
.loya-policy{
  max-width:1120px;
  margin:0 auto;
  padding:44px 22px 64px;
  font-family:inherit;
  color:#172033;
  line-height:1.72;
}

.loya-policy *{
  box-sizing:border-box;
}

.loya-policy a{
  color:#0b63ce;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid rgba(11,99,206,.25);
}

.loya-policy a:hover{
  color:#08499a;
  border-bottom-color:#08499a;
}

.loya-policy-hero{
  text-align:center;
  margin-bottom:28px;
  padding:34px 24px;
  border-radius:30px;
  background:linear-gradient(135deg,#eff6ff,#ffffff 55%,#fff7ed);
  border:1px solid #dbeafe;
  box-shadow:0 18px 48px rgba(15,23,42,.08);
}

.loya-policy-hero span{
  display:inline-block;
  background:#eaf2ff;
  color:#0b4f8a;
  padding:8px 14px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  margin-bottom:14px;
}

.loya-policy-title{
  margin:0 0 14px!important;
  color:#082044;
  font-size:clamp(34px,5vw,52px);
  line-height:1.08;
  font-weight:950;
  letter-spacing:-.04em;
}

.loya-policy-hero p{
  max-width:880px;
  margin:0 auto;
  font-size:18px;
  color:#475569;
}

.loya-policy-notice{
  margin:0 0 28px;
  padding:20px 22px;
  border-radius:22px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#7c2d12;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}

.loya-policy-notice p{
  margin:0;
  font-size:15px;
  line-height:1.65;
}

.loya-policy-notice strong{
  color:#431407;
}

.loya-policy-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}

.loya-policy-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:28px;
  box-shadow:0 16px 38px rgba(15,23,42,.08);
}

.loya-policy-card h2{
  margin:0 0 12px;
  color:#082044;
  font-size:23px;
  line-height:1.25;
  font-weight:950;
}

.loya-policy-card p,
.loya-policy-card li{
  color:#475569;
  font-size:16px;
  line-height:1.68;
}

.loya-policy-card p{
  margin:0 0 13px;
}

.loya-policy-card p:last-child{
  margin-bottom:0;
}

.loya-policy-card ul{
  margin:0;
  padding-left:20px;
}

.loya-policy-card li{
  margin-bottom:8px;
}

.loya-policy-card.blue{
  background:linear-gradient(135deg,#eff6ff,#fff);
  border-color:#bfdbfe;
}

.loya-policy-card.orange{
  background:linear-gradient(135deg,#fff7ed,#fff);
  border-color:#fed7aa;
}

.loya-policy-card.green{
  background:linear-gradient(135deg,#ecfdf5,#fff);
  border-color:#bbf7d0;
}

.loya-policy-card.purple{
  background:linear-gradient(135deg,#f5f3ff,#fff);
  border-color:#ddd6fe;
}

.loya-policy-card.gray{
  background:linear-gradient(135deg,#f8fafc,#fff);
  border-color:#e2e8f0;
}

.loya-policy-note{
  margin-top:28px;
  background:#082044;
  color:#fff;
  border-radius:28px;
  padding:32px 26px;
  text-align:center;
  box-shadow:0 20px 48px rgba(8,32,68,.24);
}

.loya-policy-note h2{
  color:#fff;
  margin:0 0 10px;
  font-size:28px;
  font-weight:950;
}

.loya-policy-note p{
  color:#dbeafe;
  margin:0 auto 18px;
  max-width:780px;
  font-size:16px;
}

.loya-policy-note a{
  display:inline-block;
  background:#dc2626;
  color:#fff!important;
  padding:13px 20px;
  border-radius:999px;
  text-decoration:none;
  border:0;
  font-weight:950;
  box-shadow:0 12px 26px rgba(220,38,38,.26);
}

@media(max-width:900px){
  .loya-policy{
    padding:32px 16px 54px;
  }

  .loya-policy-grid{
    grid-template-columns:1fr;
  }

  .loya-policy-card{
    padding:24px;
  }

  .loya-policy-hero{
    padding:28px 18px;
  }

  .loya-policy-hero p{
    font-size:16px;
  }
}

/* ================================================================
https://loyainsurance.org/loya-insurance-quotes/
====================================================== */
.loya-quotes-page{
  max-width:1160px;
  margin:0 auto;
  padding:32px 22px 56px;
  color:#0f172a;
}

.loya-author-card{
  box-sizing:border-box;
  width:100%;
  margin:0 0 32px;
  padding:16px 18px;
  border:1px solid #e7edf5;
  border-radius:16px;
  background:linear-gradient(180deg,#fbfdff 0%,#f7fafc 100%);
  box-shadow:0 10px 26px rgba(15,23,42,.06);
  color:#111827;
  font-size:13px!important;
  line-height:1.6!important;
}

.loya-author-card *{
  box-sizing:border-box;
  font-size:inherit!important;
  line-height:inherit!important;
  overflow-wrap:anywhere;
}

.loya-author-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.loya-author-left{
  min-width:0;
  flex:1 1 auto;
}

.loya-author-badge-row{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.loya-author-icon{
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#13213f 0%,#22325a 100%);
  color:#ffffff;
  box-shadow:0 6px 16px rgba(19,33,63,.18);
  flex:0 0 42px;
}

.loya-author-byline{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px;
  margin:0 0 2px!important;
}

.loya-author-by{
  font-weight:700;
  color:#1f2937;
}

.loya-author-name{
  font-weight:800;
  color:#0f172a;
}

.loya-author-role,
.loya-author-sub,
.loya-author-date{
  color:#64748b;
}

.loya-author-sub{
  margin:0!important;
  font-size:12px!important;
}

.loya-author-date{
  margin:0!important;
  white-space:nowrap;
  font-size:12px!important;
  font-style:italic;
  text-align:right;
}

.loya-author-toggle{
  margin-top:10px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  cursor:pointer;
  border:0;
  background:transparent;
  padding:0;
  color:#0b4f8a;
  font-weight:700;
}

.loya-author-caret{
  display:inline-block;
  transition:transform .2s ease;
}

.loya-author-card.is-open .loya-author-caret{
  transform:rotate(180deg);
}

.loya-author-bio{
  display:none;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #e7edf5;
  color:#334155;
}

.loya-author-card.is-open .loya-author-bio{
  display:block;
}

.loya-author-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 10px!important;
  padding:0;
  list-style:none;
}

.loya-author-tags li{
  margin:0;
  padding:5px 10px;
  border-radius:999px;
  background:#eef6ff;
  color:#284b7a;
  border:1px solid #dbeafe;
  font-size:11px!important;
  font-weight:700;
}

.loya-author-note{
  color:#6b7280;
  font-size:12px!important;
}

.loya-intro-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:34px;
  align-items:center;
  margin-bottom:34px;
}

.loya-badge{
  display:inline-block;
  background:#eaf2ff;
  color:#0b4f8a;
  padding:8px 14px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  margin-bottom:14px;
}

.loya-intro-grid p,
.loya-section p{
  color:#475569;
  font-size:17px;
  line-height:1.65;
}

.loya-image-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:28px;
  padding:14px;
  box-shadow:0 22px 55px rgba(15,23,42,.12);
}

.loya-image-card img{
  width:100%;
  height:auto;
  border-radius:22px;
  display:block;
}

.loya-notice{
  background:linear-gradient(135deg,#fff7ed,#ffffff);
  border:1px solid #fed7aa;
  border-radius:24px;
  padding:24px;
  margin:28px 0;
  box-shadow:0 14px 35px rgba(15,23,42,.06);
}

.loya-notice strong{
  color:#9a3412;
}

.loya-card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin:34px 0;
}

.loya-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:26px;
  box-shadow:0 18px 45px rgba(15,23,42,.09);
}

.loya-card.blue{
  background:linear-gradient(135deg,#eff6ff,#ffffff);
  border-color:#bfdbfe;
}

.loya-card.green{
  background:linear-gradient(135deg,#ecfdf5,#ffffff);
  border-color:#bbf7d0;
}

.loya-card.orange{
  background:linear-gradient(135deg,#fff7ed,#ffffff);
  border-color:#fed7aa;
}

.loya-card.purple{
  background:linear-gradient(135deg,#f5f3ff,#ffffff);
  border-color:#ddd6fe;
}

.loya-card h2,
.loya-card h3{
  margin:0 0 12px;
  color:#082044;
  font-size:24px;
  line-height:1.15;
  font-weight:900;
}

.loya-card p,
.loya-card li{
  color:#475569;
  font-size:16px;
  line-height:1.6;
}

.loya-card ul,
.loya-card ol{
  margin:0;
  padding-left:20px;
}

.loya-section{
  margin:42px 0;
}

.loya-section h2{
  color:#082044;
  font-size:34px;
  line-height:1.1;
  margin:0 0 16px;
  font-weight:900;
}

.loya-table-wrap{
  overflow-x:auto;
  margin:22px 0;
  border-radius:22px;
  box-shadow:0 16px 42px rgba(15,23,42,.08);
  border:1px solid #e5e7eb;
}

.loya-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  min-width:720px;
}

.loya-table th{
  background:#082044;
  color:#fff;
  text-align:left;
  padding:16px;
  font-size:15px;
}

.loya-table td{
  padding:16px;
  border-bottom:1px solid #e5e7eb;
  color:#475569;
  font-size:15px;
  line-height:1.5;
  vertical-align:top;
}

.loya-table tr:last-child td{
  border-bottom:0;
}

.loya-two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:22px;
}

.loya-check-list{
  list-style:none;
  padding-left:0!important;
  margin:0;
}

.loya-check-list li{
  position:relative;
  padding-left:30px;
  margin-bottom:12px;
}

.loya-check-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:1px;
  width:21px;
  height:21px;
  border-radius:999px;
  background:#dc2626;
  color:#fff;
  font-size:13px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
}

.loya-final-quote-cta{
  margin:38px auto 0;
  width:100%;
  display:flex;
  justify-content:center;
  padding:0 18px;
  box-sizing:border-box;
}

.loya-final-quote-box{
  max-width:760px;
  width:100%;
  background:linear-gradient(135deg,#13213f 0%,#0f1b36 100%);
  border-radius:18px;
  padding:22px 22px 20px;
  box-shadow:0 10px 28px rgba(10,20,40,.18);
  box-sizing:border-box;
}

.loya-final-quote-title{
  color:#ffffff!important;
  font-size:26px;
  line-height:1.15;
  font-weight:900;
  margin:0 0 8px;
  text-align:center;
  -webkit-text-fill-color:#ffffff;
}

.loya-final-quote-text{
  color:#ffffff!important;
  font-size:15px;
  line-height:1.45;
  font-weight:500;
  margin:0 0 14px;
  text-align:center;
  -webkit-text-fill-color:#ffffff;
}

.loya-final-quote-form{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  margin:0;
  padding:0;
  width:100%;
}

.loya-final-zip-wrap{
  flex:0 1 180px;
  min-width:180px;
  max-width:180px;
}

.loya-final-zip-wrap input{
  width:100%;
  height:46px;
  display:block;
  box-sizing:border-box;
  margin:0;
  padding:0 13px;
  border:none;
  border-radius:10px;
  background:#f3f4f6;
  color:#24324a;
  font-size:15px;
  line-height:46px;
  box-shadow:none;
  outline:none;
}

.loya-final-btn-wrap{
  flex:0 0 155px;
  min-width:155px;
}

.loya-final-btn-wrap button{
  width:100%;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  border:none;
  border-radius:10px;
  background:#dc2626;
  color:#ffffff!important;
  font-size:15px;
  line-height:1;
  font-weight:800;
  text-align:center;
  padding:0 18px;
  cursor:pointer;
  -webkit-text-fill-color:#ffffff;
}

.loya-final-btn-wrap button:hover{
  background:#b91c1c;
}

.loya-references{
  margin-top:34px;
  padding-top:20px;
  border-top:1px solid #e5e7eb;
  color:#64748b;
  font-size:14px;
  line-height:1.6;
}

.loya-references h2{
  font-size:22px;
  color:#082044;
  margin-bottom:10px;
}

.loya-references ol{
  padding-left:20px;
}

.loya-references li{
  margin-bottom:10px;
}

@media(max-width:900px){
  .loya-intro-grid,
  .loya-card-grid,
  .loya-two-col{
    grid-template-columns:1fr;
  }

  .loya-quotes-page{
    padding:24px 18px 40px;
  }

  .loya-section h2{
    font-size:28px;
  }
}

@media(max-width:640px){
  .loya-author-top{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .loya-author-date{
    white-space:normal;
    text-align:left;
    font-size:11px!important;
  }

  .loya-author-role{
    display:none!important;
  }

  .loya-final-zip-wrap,
  .loya-final-btn-wrap{
    flex:1 1 100%;
    min-width:100%;
    max-width:100%;
  }
}
/* ================================================================
   FIX SPACING - Loya Insurance Quotes page
   Prevent H2/card overlap and normalize section spacing
   ================================================================= */

/* Evita que una sección se monte sobre grids/cards anteriores */
.loya-quotes-page .loya-section{
  clear:both;
  position:relative;
  margin:64px 0 58px;
  padding-top:0;
}

/* Más separación cuando una sección viene después de un grid de cards */
.loya-quotes-page .loya-card-grid + .loya-section,
.loya-quotes-page .loya-two-col + .loya-section,
.loya-quotes-page .loya-table-wrap + .loya-section{
  margin-top:72px;
}

/* H2 limpio, sin pegarse arriba ni separarse demasiado abajo */
.loya-quotes-page .loya-section h2{
  display:block;
  clear:both;
  margin:0 0 18px;
  padding:0;
  color:#082044;
  font-size:34px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.025em;
}

/* Párrafo debajo del H2 con espacio normal */
.loya-quotes-page .loya-section h2 + p{
  margin-top:0;
  margin-bottom:22px;
}

/* Cards más cerca del texto, no a 34px */
.loya-quotes-page .loya-section .loya-card-grid{
  margin:24px 0 0;
}

/* Si hay párrafo antes de cards, separación más natural */
.loya-quotes-page .loya-section p + .loya-card-grid{
  margin-top:24px;
}

/* Los grids no deben sobresalir ni empujar raro */
.loya-quotes-page .loya-card-grid{
  align-items:stretch;
  clear:both;
}

/* Cada card debe respetar su espacio */
.loya-quotes-page .loya-card{
  position:relative;
  min-width:0;
  height:auto;
  overflow:hidden;
}

/* Internal Guides / cards después de H2 */
.loya-quotes-page .loya-section > .loya-card-grid:first-of-type{
  margin-top:24px;
}

/* Menos espacio gigante antes de secciones internas */
.loya-quotes-page .loya-section p:last-child{
  margin-bottom:0;
}

/* Separación normal para tablas y columnas */
.loya-quotes-page .loya-table-wrap,
.loya-quotes-page .loya-two-col{
  margin-top:24px;
  margin-bottom:0;
}

/* Mobile */
@media(max-width:900px){
  .loya-quotes-page .loya-section{
    margin:50px 0 46px;
  }

  .loya-quotes-page .loya-card-grid + .loya-section,
  .loya-quotes-page .loya-two-col + .loya-section,
  .loya-quotes-page .loya-table-wrap + .loya-section{
    margin-top:56px;
  }

  .loya-quotes-page .loya-section h2{
    font-size:28px;
    line-height:1.18;
    margin-bottom:16px;
  }

  .loya-quotes-page .loya-section h2 + p{
    margin-bottom:20px;
  }

  .loya-quotes-page .loya-section .loya-card-grid{
    margin-top:22px;
  }
}

@media(max-width:640px){
  .loya-quotes-page .loya-section{
    margin:44px 0 40px;
  }

  .loya-quotes-page .loya-card{
    padding:22px;
  }
}
/* ================================================================
   HARD FIX - Reduce vertical gaps on Loya Quotes page
   ================================================================= */

.loya-quotes-page .loya-card-grid{
  margin:22px 0 0 !important;
}

.loya-quotes-page .loya-section{
  margin:36px 0 40px !important;
  padding:0 !important;
  clear:both !important;
}

.loya-quotes-page .loya-card-grid + .loya-section{
  margin-top:34px !important;
}

.loya-quotes-page .loya-section h2{
  margin:0 0 14px !important;
  padding:0 !important;
  line-height:1.15 !important;
}

.loya-quotes-page .loya-section h2 + p{
  margin:0 0 20px !important;
}

.loya-quotes-page .loya-section p + .loya-card-grid{
  margin-top:20px !important;
}

/* Reduce espacio después de los cards antes del próximo título */
.loya-quotes-page .loya-card{
  margin:0 !important;
}

.loya-quotes-page .loya-card p:last-child,
.loya-quotes-page .loya-card li:last-child{
  margin-bottom:0 !important;
}

@media(max-width:900px){
  .loya-quotes-page .loya-section{
    margin:32px 0 36px !important;
  }

  .loya-quotes-page .loya-card-grid + .loya-section{
    margin-top:30px !important;
  }

  .loya-quotes-page .loya-section h2{
    margin-bottom:12px !important;
  }
}

/* ==============================================================
https://loyainsurance.org/loya-insurance-company/
================================================== */
.loya-company-page{
  max-width:1160px;
  margin:0 auto;
  padding:28px 22px 56px;
  color:#0f172a;
}

.loya-author-wide{
  width:100%;
  max-width:100%;
  margin:0 auto 34px;
  padding:0;
  box-sizing:border-box;
}

.loya-author-card{
  box-sizing:border-box;
  width:100%;
  margin:0;
  padding:16px 18px;
  border:1px solid #e7edf5;
  border-radius:16px;
  background:linear-gradient(180deg,#fbfdff 0%,#f7fafc 100%);
  box-shadow:0 10px 26px rgba(15,23,42,.06);
  color:#111827;
  font-size:13px!important;
  line-height:1.6!important;
}

.loya-author-card *{
  box-sizing:border-box;
  font-size:inherit!important;
  line-height:inherit!important;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.loya-author-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.loya-author-left{
  min-width:0;
  flex:1 1 auto;
}

.loya-author-badge-row{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.loya-author-icon{
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#13213f 0%,#22325a 100%);
  color:#ffffff;
  box-shadow:0 6px 16px rgba(19,33,63,.18);
  flex:0 0 42px;
}

.loya-author-meta{
  min-width:0;
  flex:1 1 auto;
}

.loya-author-byline{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px;
  margin:0 0 2px!important;
}

.loya-author-by{
  font-weight:700;
  color:#1f2937;
}

.loya-author-name{
  font-weight:800;
  color:#0f172a;
}

.loya-author-role{
  color:#64748b;
  font-weight:500;
}

.loya-author-sub{
  margin:0!important;
  color:#64748b;
  font-size:12px!important;
}

.loya-author-date{
  margin:0!important;
  white-space:nowrap;
  color:#64748b;
  font-size:12px!important;
  font-style:italic;
  text-align:right;
  flex:0 0 auto;
}

.loya-author-toggle{
  margin-top:10px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  cursor:pointer;
  border:0;
  background:transparent;
  padding:0;
  color:#0b4f8a;
  font-weight:700;
  text-decoration:none;
}

.loya-author-toggle:hover{
  opacity:.88;
}

.loya-author-caret{
  display:inline-block;
  transition:transform .2s ease;
}

.loya-author-card.is-open .loya-author-caret{
  transform:rotate(180deg);
}

.loya-author-bio{
  display:none;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #e7edf5;
  color:#334155;
}

.loya-author-card.is-open .loya-author-bio{
  display:block;
}

.loya-author-bio p{
  margin:0 0 10px!important;
}

.loya-author-note{
  color:#6b7280;
  font-size:12px!important;
}

.loya-author-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 10px!important;
  padding:0;
  list-style:none;
}

.loya-author-tags li{
  margin:0;
  padding:5px 10px;
  border-radius:999px;
  background:#eef6ff;
  color:#284b7a;
  border:1px solid #dbeafe;
  font-size:11px!important;
  font-weight:700;
}

.loya-company-hero{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:34px;
  align-items:center;
  margin-bottom:34px;
}

.loya-company-badge{
  display:inline-block;
  background:#eaf2ff;
  color:#0b4f8a;
  padding:8px 14px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  margin-bottom:14px;
}

.loya-company-hero p{
  font-size:18px;
  line-height:1.65;
  color:#475569;
  margin:0 0 18px;
}

.loya-company-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}

.loya-company-cta a{
  display:inline-block;
  padding:14px 20px;
  border-radius:12px;
  text-decoration:none!important;
  font-weight:900;
}

.loya-company-cta .primary{
  background:#dc2626;
  color:#fff!important;
}

.loya-company-cta .secondary{
  background:#eaf2ff;
  color:#0b4f8a!important;
}

.loya-company-image-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:28px;
  padding:14px;
  box-shadow:0 22px 55px rgba(15,23,42,.12);
}

.loya-company-image-card img{
  width:100%;
  height:auto;
  border-radius:22px;
  display:block;
}

.loya-notice{
  background:linear-gradient(135deg,#fff7ed,#ffffff);
  border:1px solid #fed7aa;
  border-radius:24px;
  padding:24px;
  margin:28px 0;
  box-shadow:0 14px 35px rgba(15,23,42,.06);
}

.loya-notice strong{
  color:#9a3412;
}

.loya-card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin:34px 0;
}

.loya-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:26px;
  box-shadow:0 18px 45px rgba(15,23,42,.09);
}

.loya-card.blue{
  background:linear-gradient(135deg,#eff6ff,#ffffff);
  border-color:#bfdbfe;
}

.loya-card.green{
  background:linear-gradient(135deg,#ecfdf5,#ffffff);
  border-color:#bbf7d0;
}

.loya-card.orange{
  background:linear-gradient(135deg,#fff7ed,#ffffff);
  border-color:#fed7aa;
}

.loya-card.purple{
  background:linear-gradient(135deg,#f5f3ff,#ffffff);
  border-color:#ddd6fe;
}

.loya-card h2,
.loya-card h3{
  margin:0 0 12px;
  color:#082044;
  font-size:24px;
  line-height:1.15;
  font-weight:900;
}

.loya-card p,
.loya-card li{
  color:#475569;
  font-size:16px;
  line-height:1.6;
}

.loya-card ul,
.loya-card ol{
  margin:0;
  padding-left:20px;
}

.loya-section{
  margin:42px 0;
}

.loya-section h2{
  color:#082044;
  font-size:34px;
  line-height:1.1;
  margin:0 0 16px;
  font-weight:900;
}

.loya-section p{
  color:#475569;
  font-size:17px;
  line-height:1.65;
}

.loya-table-wrap{
  overflow-x:auto;
  margin:22px 0;
  border-radius:22px;
  box-shadow:0 16px 42px rgba(15,23,42,.08);
  border:1px solid #e5e7eb;
}

.loya-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  min-width:720px;
}

.loya-table th{
  background:#082044;
  color:#fff;
  text-align:left;
  padding:16px;
  font-size:15px;
}

.loya-table td{
  padding:16px;
  border-bottom:1px solid #e5e7eb;
  color:#475569;
  font-size:15px;
  line-height:1.5;
  vertical-align:top;
}

.loya-table tr:last-child td{
  border-bottom:0;
}

.loya-two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:22px;
}

.loya-check-list{
  list-style:none;
  padding-left:0!important;
  margin:0;
}

.loya-check-list li{
  position:relative;
  padding-left:30px;
  margin-bottom:12px;
}

.loya-check-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:21px;
  height:21px;
  border-radius:999px;
  background:#dc2626;
  color:#fff;
  font-size:13px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
}

.loya-video-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:20px;
  box-shadow:0 18px 45px rgba(15,23,42,.09);
  margin-top:24px;
}

.loya-video-card iframe{
  width:100%;
  aspect-ratio:16/9;
  border:0;
  border-radius:18px;
}

.loya-final-quote-cta{
  margin:34px auto 0 auto;
  width:100%;
  display:flex;
  justify-content:center;
  padding:0 18px;
  box-sizing:border-box;
}

.loya-final-quote-box{
  max-width:760px;
  width:100%;
  background:linear-gradient(135deg,#13213f 0%,#0f1b36 100%);
  border-radius:18px;
  padding:22px 22px 20px;
  box-shadow:0 10px 28px rgba(10,20,40,.18);
  box-sizing:border-box;
}

.loya-final-quote-title{
  display:block;
  color:#ffffff!important;
  font-size:26px;
  line-height:1.15;
  font-weight:900;
  margin:0 0 8px;
  text-align:center;
  -webkit-text-fill-color:#ffffff;
}

.loya-final-quote-text{
  display:block;
  color:#ffffff!important;
  font-size:15px;
  line-height:1.45;
  font-weight:500;
  margin:0 0 14px;
  text-align:center;
  -webkit-text-fill-color:#ffffff;
}

.loya-final-quote-form{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  margin:0;
  padding:0;
  width:100%;
}

.loya-final-zip-wrap{
  flex:0 1 180px;
  min-width:180px;
  max-width:180px;
  margin:0;
  padding:0;
}

.loya-final-zip-wrap input{
  width:100%;
  height:46px;
  display:block;
  box-sizing:border-box;
  margin:0;
  padding:0 13px;
  border:none;
  border-radius:10px;
  background:#f3f4f6;
  color:#24324a;
  font-size:15px;
  line-height:46px;
  box-shadow:none;
  outline:none;
}

.loya-final-btn-wrap{
  flex:0 0 155px;
  min-width:155px;
  margin:0;
  padding:0;
}

.loya-final-btn-wrap button{
  width:100%;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  border:none;
  border-radius:10px;
  background:#dc2626;
  color:#ffffff!important;
  font-size:15px;
  line-height:1;
  font-weight:800;
  text-align:center;
  padding:0 18px;
  cursor:pointer;
  -webkit-text-fill-color:#ffffff;
}

.loya-final-btn-wrap button:hover{
  background:#b91c1c;
}

.loya-references{
  margin-top:34px;
  padding-top:20px;
  border-top:1px solid #e5e7eb;
  color:#64748b;
  font-size:14px;
  line-height:1.6;
}

.loya-references h2{
  font-size:22px;
  color:#082044;
  margin-bottom:10px;
}

.loya-references ol{
  padding-left:20px;
}

.loya-references li{
  margin-bottom:10px;
}

@media(max-width:900px){
  .loya-company-hero,
  .loya-card-grid,
  .loya-two-col{
    grid-template-columns:1fr;
  }

  .loya-company-page{
    padding:24px 18px 40px;
  }

  .loya-section h2{
    font-size:28px;
  }
}

@media(max-width:640px){
  .loya-author-card{
    padding:14px;
    border-radius:14px;
    font-size:12px!important;
    line-height:1.55!important;
  }

  .loya-author-top{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .loya-author-badge-row{
    align-items:flex-start;
    gap:10px;
  }

  .loya-author-icon{
    width:36px;
    height:36px;
    min-width:36px;
    flex:0 0 36px;
  }

  .loya-author-name{
    display:block;
    font-size:15px!important;
    line-height:1.3!important;
    margin-top:2px;
  }

  .loya-author-role{
    display:none!important;
  }

  .loya-author-date{
    white-space:normal;
    text-align:left;
    font-size:11px!important;
  }

  .loya-final-zip-wrap,
  .loya-final-btn-wrap{
    flex:1 1 100%;
    min-width:100%;
    max-width:100%;
  }
}

/* =========================================================
https://loyainsurance.org/faqs/
==================================== */
.loya-faq-section{
  max-width:1120px;
  margin:0 auto;
  padding:56px 22px;
  font-family:inherit;
  color:#172033;
}

.loya-faq-section *{
  box-sizing:border-box;
}

.loya-faq-hero{
  text-align:center;
  margin-bottom:34px;
  padding:34px 24px;
  border-radius:30px;
  background:linear-gradient(135deg,#eff6ff,#ffffff 55%,#fff7ed);
  border:1px solid #dbeafe;
  box-shadow:0 18px 48px rgba(15,23,42,.08);
}

.loya-faq-hero span{
  display:inline-block;
  background:#eaf2ff;
  color:#0b4f8a;
  padding:8px 14px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  margin-bottom:14px;
}

.loya-faq-title{
  display:block;
  font-size:clamp(34px,5vw,52px);
  line-height:1.08;
  font-weight:950;
  color:#082044;
  margin:0 0 14px!important;
  letter-spacing:-.04em;
}

.loya-faq-hero p{
  max-width:820px;
  margin:0 auto;
  font-size:18px;
  color:#475569;
  line-height:1.65;
}

.loya-faq-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}

.loya-faq-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:28px;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
}

.loya-faq-card h2{
  margin:0 0 12px;
  color:#082044;
  font-size:23px;
  line-height:1.25;
  font-weight:950;
}

.loya-faq-card p{
  margin:0;
  color:#475569;
  font-size:16px;
  line-height:1.68;
}

.loya-faq-card a{
  color:#0b63ce;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid rgba(11,99,206,.25);
}

.loya-faq-card a:hover{
  color:#08499a;
  border-bottom-color:#08499a;
}

.loya-faq-card.blue{
  background:linear-gradient(135deg,#eff6ff,#fff);
  border-color:#bfdbfe;
}

.loya-faq-card.orange{
  background:linear-gradient(135deg,#fff7ed,#fff);
  border-color:#fed7aa;
}

.loya-faq-card.green{
  background:linear-gradient(135deg,#ecfdf5,#fff);
  border-color:#bbf7d0;
}

.loya-faq-card.purple{
  background:linear-gradient(135deg,#f5f3ff,#fff);
  border-color:#ddd6fe;
}

.loya-faq-card.gray{
  background:linear-gradient(135deg,#f8fafc,#fff);
  border-color:#e2e8f0;
}

.loya-faq-note{
  margin-top:28px;
  background:#082044;
  color:#fff;
  border-radius:28px;
  padding:30px 26px;
  text-align:center;
  box-shadow:0 20px 48px rgba(8,32,68,.22);
}

.loya-faq-note h2{
  margin:0 0 10px;
  color:#fff;
  font-size:28px;
  line-height:1.2;
  font-weight:950;
}

.loya-faq-note p{
  margin:0 auto 18px;
  max-width:760px;
  color:#dbeafe;
  font-size:16px;
  line-height:1.65;
}

.loya-faq-note a{
  display:inline-block;
  background:#dc2626;
  color:#fff!important;
  padding:13px 22px;
  border-radius:999px;
  text-decoration:none;
  font-weight:950;
  box-shadow:0 12px 26px rgba(220,38,38,.26);
}

@media(max-width:900px){
  .loya-faq-section{
    padding:36px 16px 54px;
  }

  .loya-faq-grid{
    grid-template-columns:1fr;
  }

  .loya-faq-hero{
    padding:28px 18px;
  }

  .loya-faq-hero p{
    font-size:16px;
  }
}

/* ==============================================================
https://loyainsurance.org/editorial-policy/
============================================= */
body:has(.loya-editorial-policy) .wp-block-post-title,
body:has(.loya-editorial-policy) h1.wp-block-post-title{
  display:none!important;
}

.loya-editorial-policy,
.loya-editorial-policy *{
  box-sizing:border-box;
}

.loya-editorial-policy{
  max-width:1120px;
  margin:0 auto;
  padding:34px 22px 64px;
  font-family:inherit;
  color:#172033;
  line-height:1.72;
}

.loya-editorial-policy a{
  color:#0b63ce;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}

.loya-editorial-policy p{
  margin:0 0 18px;
  color:#475569;
  font-size:17px;
  line-height:1.72;
}

.loya-editorial-policy h1{
  margin:0 0 16px;
  color:#082044;
  font-size:clamp(38px,5vw,58px);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:950;
}

.loya-editorial-policy h2{
  margin:0 0 14px;
  color:#082044;
  font-size:clamp(26px,3vw,34px);
  line-height:1.16;
  letter-spacing:-.025em;
  font-weight:950;
}

.loya-editorial-policy h3{
  margin:0 0 10px;
  color:#111827;
  font-size:21px;
  line-height:1.25;
  font-weight:900;
}

.loya-editorial-hero{
  margin:0 0 30px;
  padding:42px;
  border-radius:30px;
  background:
    radial-gradient(circle at 12% 18%,rgba(59,130,246,.24),transparent 34%),
    radial-gradient(circle at 88% 86%,rgba(220,38,38,.20),transparent 36%),
    linear-gradient(135deg,#0f172a 0%,#1e3a8a 58%,#082044 100%);
  color:#fff;
  box-shadow:0 22px 56px rgba(15,23,42,.16);
}

.loya-editorial-badge{
  display:inline-flex;
  margin:0 0 16px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.15);
  color:#fff;
  font-size:13px;
  line-height:1;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.loya-editorial-hero p{
  max-width:820px;
  color:#e5e7eb;
  font-size:18px;
  line-height:1.7;
}

.loya-editorial-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:22px 0 0;
}

.loya-editorial-meta span{
  display:inline-flex;
  align-items:center;
  padding:9px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-size:13px;
  line-height:1;
  font-weight:800;
}

.loya-policy-card{
  margin:0 0 26px;
  padding:26px;
  border-radius:24px;
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 16px 40px rgba(15,23,42,.07);
}

.loya-policy-card.blue{
  background:linear-gradient(135deg,#eff6ff,#ffffff);
  border-color:#bfdbfe;
}

.loya-policy-card.orange{
  background:linear-gradient(135deg,#fff7ed,#ffffff);
  border-color:#fed7aa;
}

.loya-policy-card.green{
  background:linear-gradient(135deg,#ecfdf5,#ffffff);
  border-color:#bbf7d0;
}

.loya-policy-card.gray{
  background:linear-gradient(135deg,#f8fafc,#ffffff);
  border-color:#e2e8f0;
}

.loya-policy-card.red{
  background:linear-gradient(135deg,#fef2f2,#ffffff);
  border-color:#fecaca;
}

.loya-policy-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin:24px 0 4px;
}

.loya-policy-mini{
  padding:22px;
  border-radius:22px;
  border:1px solid #e5e7eb;
  background:#fff;
  box-shadow:0 12px 30px rgba(15,23,42,.045);
}

.loya-policy-mini p{
  margin-bottom:0;
  font-size:15px;
  line-height:1.62;
}

.loya-policy-list{
  margin:0;
  padding-left:22px;
  color:#475569;
  font-size:16px;
  line-height:1.7;
}

.loya-policy-list li{
  margin:0 0 10px;
}

.loya-policy-list li:last-child{
  margin-bottom:0;
}

.loya-policy-note{
  margin:26px 0;
  padding:20px 22px;
  border-radius:22px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#7c2d12;
  box-shadow:0 12px 30px rgba(124,45,18,.055);
}

.loya-policy-note p{
  margin:0;
  color:#7c2d12;
  font-size:16px;
  line-height:1.7;
}

.loya-policy-contact{
  margin-top:30px;
  padding:28px;
  border-radius:26px;
  background:linear-gradient(135deg,#0f172a,#1e3a8a);
  color:#fff;
  box-shadow:0 18px 44px rgba(15,23,42,.16);
}

.loya-policy-contact h2{
  color:#fff;
}

.loya-policy-contact p{
  color:#e5e7eb;
}

.loya-policy-contact a{
  color:#fed7aa;
}

@media(max-width:900px){
  .loya-policy-grid{
    grid-template-columns:1fr;
  }

  .loya-editorial-hero{
    padding:32px 24px;
  }
}

@media(max-width:560px){
  .loya-editorial-policy{
    padding:28px 16px 52px;
  }

  .loya-policy-card,
  .loya-policy-contact{
    padding:22px;
  }

  .loya-editorial-hero{
    padding:28px 20px;
    border-radius:24px;
  }
}
.loya-editorial-hero h1{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:0 3px 14px rgba(0,0,0,.28);
}

.loya-editorial-hero p{
  color:#f8fafc!important;
}

.loya-editorial-badge{
  background:rgba(255,255,255,.22)!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.28);
}

/* ===============================================================
https://loyainsurance.org/contact-us/
========================================= */
.loya-contact-section,
.loya-contact-section *{
  box-sizing:border-box!important;
}

.loya-contact-section{
  width:100%!important;
  max-width:1120px!important;
  margin:0 auto!important;
  padding:56px 22px 28px!important;
  overflow:hidden!important;
}

.loya-contact-intro{
  text-align:center!important;
  margin-bottom:34px!important;
}

.loya-contact-intro .badge{
  display:inline-block!important;
  background:#eaf2ff!important;
  color:#0b4f8a!important;
  padding:8px 14px!important;
  border-radius:999px!important;
  font-weight:800!important;
  font-size:14px!important;
}

.loya-contact-intro h1{
  font-size:48px!important;
  line-height:1.05!important;
  font-weight:900!important;
  color:#082044!important;
  margin:16px 0!important;
  letter-spacing:-.03em!important;
}

.loya-contact-intro p{
  max-width:760px!important;
  margin:0 auto!important;
  font-size:18px!important;
  color:#475569!important;
  line-height:1.6!important;
}

.loya-contact-cards{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
  margin:36px 0 0!important;
  width:100%!important;
}

.loya-contact-card,
.loya-form-card{
  width:100%!important;
  max-width:100%!important;
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  border-radius:24px!important;
  padding:28px!important;
  box-shadow:0 18px 45px rgba(15,23,42,.10)!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

.loya-contact-card h2,
.loya-form-card h2{
  margin:0 0 14px!important;
  color:#082044!important;
  font-size:24px!important;
  line-height:1.18!important;
  font-weight:900!important;
}

.loya-contact-card p,
.loya-contact-card li,
.loya-form-card p{
  font-size:16px!important;
  line-height:1.55!important;
  color:#475569!important;
  overflow-wrap:break-word!important;
}

.loya-contact-card ul{
  margin:0!important;
  padding-left:20px!important;
}

.loya-contact-card li{
  margin-bottom:8px!important;
}

.loya-contact-card.warning{
  background:linear-gradient(135deg,#fff7ed,#fff)!important;
  border-color:#fed7aa!important;
}

.loya-contact-card.blue{
  background:linear-gradient(135deg,#eff6ff,#fff)!important;
  border-color:#bfdbfe!important;
}

.loya-contact-card.green{
  background:linear-gradient(135deg,#ecfdf5,#fff)!important;
  border-color:#bbf7d0!important;
}

.loya-form-card{
  background:linear-gradient(135deg,#f8fbff,#fff)!important;
  max-width:1120px!important;
  margin:28px auto 56px!important;
}

/* Contact Form 7 cleanup */
.loya-form-card form,
.loya-form-card .wpcf7,
.loya-form-card .wpcf7-form{
  width:100%!important;
  max-width:100%!important;
}

.loya-form-card label{
  display:block!important;
  color:#082044!important;
  font-weight:800!important;
  margin-bottom:8px!important;
}

.loya-form-card input,
.loya-form-card textarea,
.loya-form-card select{
  width:100%!important;
  max-width:100%!important;
  min-height:48px!important;
  border:1px solid #d1d5db!important;
  border-radius:12px!important;
  padding:12px 14px!important;
  font-size:16px!important;
  color:#111827!important;
  background:#fff!important;
  box-sizing:border-box!important;
}

.loya-form-card textarea{
  min-height:130px!important;
}

.loya-form-card input[type="submit"],
.loya-form-card button{
  width:auto!important;
  min-width:160px!important;
  background:#dc2626!important;
  color:#fff!important;
  border:0!important;
  border-radius:12px!important;
  padding:14px 22px!important;
  font-weight:900!important;
  cursor:pointer!important;
}

.loya-form-card input[type="submit"]:hover,
.loya-form-card button:hover{
  background:#b91c1c!important;
}

@media(max-width:900px){
  .loya-contact-section{
    padding:42px 16px 20px!important;
  }

  .loya-contact-cards{
    grid-template-columns:1fr!important;
    gap:18px!important;
    margin:28px 0 0!important;
  }

  .loya-contact-intro h1{
    font-size:38px!important;
  }

  .loya-contact-intro p{
    font-size:16px!important;
  }

  .loya-contact-card,
  .loya-form-card{
    padding:22px!important;
    border-radius:22px!important;
  }

  .loya-contact-card h2,
  .loya-form-card h2{
    font-size:22px!important;
  }

  .loya-form-card{
    margin:24px 16px 48px!important;
  }
}

@media(max-width:480px){
  .loya-contact-section{
    padding:36px 14px 18px!important;
  }

  .loya-contact-intro h1{
    font-size:34px!important;
  }

  .loya-contact-card,
  .loya-form-card{
    padding:20px 18px!important;
  }

  .loya-form-card{
    margin:22px 14px 44px!important;
  }

  .loya-form-card input[type="submit"],
  .loya-form-card button{
    width:100%!important;
  }
}

/* ===============================================================
https://loyainsurance.org/compare-insurance-quotes/
========================================================= */
 .ciq-wrap,
  .ciq-wrap *{
    box-sizing:border-box;
  }

  .ciq-wrap{
    max-width:930px;
    margin:0 auto;
    padding:0 18px;
    color:#111827;
  }

  .ciq-author-card{
    margin:16px 0 22px;
    padding:14px 16px;
    border-left:3px solid #ff6600;
    background:#fafafa;
    border-radius:10px;
    font-size:12px;
    line-height:1.55;
    color:#111827;
  }

  .ciq-author-date{
    font-size:11px;
    color:#777;
    font-style:italic;
    margin:0 0 8px;
    text-align:right;
  }

  .ciq-author-card details .ciq-author-bio{
    display:none;
    margin-top:8px;
    color:#333;
  }

  .ciq-author-card details[open] .ciq-author-bio{
    display:block;
  }

  .ciq-author-card summary{
    cursor:pointer;
    font-weight:700;
    display:flex;
    gap:8px;
    align-items:center;
  }

  .ciq-author-card summary::-webkit-details-marker{
    display:none;
  }

  .ciq-author-card summary::marker{
    content:"";
  }

  .ciq-caret{
    margin-left:auto;
    transition:transform .2s ease;
  }

  .ciq-author-card details[open] .ciq-caret{
    transform:rotate(180deg);
  }

  .ciq-intro-box{
    margin:26px 0;
    padding:28px 26px;
    border-radius:24px;
    background:linear-gradient(135deg,#eff6ff 0%,#f8fafc 56%,#fff7ed 100%);
    border:1px solid #dbeafe;
    box-shadow:0 12px 30px rgba(15,23,42,.06);
  }

  .ciq-intro-box h2{
    margin:0 0 12px;
    font-size:32px;
    line-height:1.12;
    letter-spacing:-.03em;
    color:#0f172a;
  }

  .ciq-intro-box p{
    margin:0;
    font-size:17px;
    line-height:1.7;
    color:#374151;
  }

  .ciq-card-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
    margin:30px 0;
  }

  .ciq-card-grid-two{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin:30px 0;
  }

  .ciq-card{
    padding:24px 20px;
    border-radius:20px;
    border:1px solid rgba(15,23,42,.08);
    box-shadow:0 10px 25px rgba(15,23,42,.06);
  }

  .ciq-blue{background:#eef6ff;}
  .ciq-green{background:#eefbf3;}
  .ciq-orange{background:#fff4ec;}
  .ciq-purple{background:#f5f3ff;}
  .ciq-gray{background:#f8fafc;}
  .ciq-red{background:#fff1f2;}

  .ciq-icon{
    font-size:32px;
    line-height:1;
    margin-bottom:12px;
  }

  .ciq-card h3{
    margin:0 0 10px;
    font-size:21px;
    line-height:1.25;
    color:#111827;
  }

  .ciq-card p{
    margin:0 0 12px;
    font-size:15px;
    line-height:1.65;
    color:#374151;
  }

  .ciq-card ul{
    margin:12px 0 0;
    padding-left:20px;
    color:#374151;
  }

  .ciq-card li{
    margin-bottom:8px;
    line-height:1.55;
  }

  .ciq-table-wrap{
    overflow-x:auto;
    margin:28px 0;
    border-radius:18px;
    border:1px solid #e5e7eb;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
  }

  .ciq-table{
    width:100%;
    border-collapse:collapse;
    min-width:720px;
    background:#fff;
  }

  .ciq-table th{
    background:#0f172a;
    color:#fff;
    text-align:left;
    padding:14px 16px;
    font-size:14px;
  }

  .ciq-table td{
    padding:14px 16px;
    border-top:1px solid #e5e7eb;
    font-size:14px;
    line-height:1.55;
    color:#374151;
    vertical-align:top;
  }

  .ciq-note-box{
    margin:28px 0;
    padding:22px 22px;
    border-left:5px solid #f97316;
    background:#fff7ed;
    border-radius:16px;
    color:#7c2d12;
  }

  .ciq-note-box p{
    margin:0;
    line-height:1.65;
  }

  .ciq-checklist{
    margin:26px 0;
    padding:24px 24px;
    border-radius:22px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
  }

  .ciq-checklist h2{
    margin:0 0 14px;
  }

  .ciq-checklist ul{
    margin:0;
    padding-left:20px;
  }

  .ciq-checklist li{
    margin-bottom:10px;
    line-height:1.6;
  }

  .ciq-faq{
    margin:34px 0;
  }

  .ciq-faq details{
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:16px 18px;
    margin-bottom:12px;
    background:#ffffff;
    box-shadow:0 8px 18px rgba(15,23,42,.04);
  }

  .ciq-faq summary{
    cursor:pointer;
    font-weight:800;
    color:#111827;
  }

  .ciq-faq p{
    margin:12px 0 0;
    color:#374151;
    line-height:1.65;
  }

  .ciq-final-quote-cta{
    max-width:930px;
    margin:42px auto 26px;
    padding:34px 28px;
    border-radius:26px;
    background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 56%,#111827 100%);
    color:#ffffff;
    box-shadow:0 18px 45px rgba(15,23,42,.18);
    overflow:hidden;
  }

  .ciq-final-quote-cta h2{
    margin:0 0 12px;
    color:#ffffff;
    font-size:32px;
    line-height:1.12;
    font-weight:900;
    letter-spacing:-.03em;
  }

  .ciq-final-quote-cta p{
    margin:0 0 22px;
    color:rgba(255,255,255,.92);
    font-size:16px;
    line-height:1.6;
    max-width:760px;
  }

  .ciq-final-quote-form{
    display:flex;
    gap:12px;
    align-items:center;
    max-width:620px;
    margin:0;
  }

  .ciq-final-quote-form input{
    flex:1;
    min-width:0;
    height:54px;
    padding:0 16px;
    border:0;
    border-radius:14px;
    background:#ffffff;
    color:#111827;
    font-size:16px;
    font-weight:800;
    outline:none;
  }

  .ciq-final-quote-form input::placeholder{
    color:#6b7280;
  }

  .ciq-final-quote-form button{
    height:54px;
    padding:0 22px;
    border:0;
    border-radius:14px;
    background:#dc2626;
    color:#ffffff;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
    white-space:nowrap;
    box-shadow:0 12px 28px rgba(220,38,38,.32);
  }

  .ciq-final-quote-form button:hover{
    background:#b91c1c;
  }

  .ciq-final-quote-note{
    margin-top:14px!important;
    font-size:13px!important;
    line-height:1.45!important;
    color:rgba(255,255,255,.78)!important;
  }

  @media(max-width:900px){
    .ciq-card-grid,
    .ciq-card-grid-two{
      grid-template-columns:1fr;
    }

    .ciq-card,
    .ciq-intro-box,
    .ciq-checklist{
      width:100%;
      max-width:100%;
    }
  }

  @media(max-width:700px){
    .ciq-wrap{
      padding:0 14px;
      max-width:100%;
      overflow:hidden;
    }

    .ciq-intro-box{
      padding:24px 18px;
      border-radius:20px;
    }

    .ciq-intro-box h2{
      font-size:27px;
    }

    .ciq-final-quote-cta{
      width:100%;
      max-width:100%;
      margin:34px auto 22px;
      padding:28px 18px;
      border-radius:22px;
    }

    .ciq-final-quote-cta h2{
      font-size:26px;
    }

    .ciq-final-quote-cta p{
      font-size:15px;
    }

    .ciq-final-quote-form{
      flex-direction:column;
      width:100%;
      max-width:100%;
    }

    .ciq-final-quote-form input,
    .ciq-final-quote-form button{
      width:100%;
    }
  }
  
  /* ==========================================================
  https://loyainsurance.org/car-insurance-calculator/
  ======================================================= */
  body:has(.loya-calc-page) .wp-block-post-title,
body:has(.loya-calc-page) h1.wp-block-post-title{
  display:none!important;
}

body:has(.loya-calc-page) .wp-site-blocks{
  overflow-x:hidden!important;
}

body:has(.loya-calc-page) .wp-site-blocks > main,
body:has(.loya-calc-page) main,
body:has(.loya-calc-page) .entry-content,
body:has(.loya-calc-page) .wp-block-post-content{
  margin-top:0!important;
  padding-top:0!important;
}

body:has(.loya-calc-page) .entry-content > .wp-block-html:first-child,
body:has(.loya-calc-page) .wp-block-post-content > .wp-block-html:first-child{
  margin-top:0!important;
  padding-top:0!important;
}

body:has(.loya-calc-page) .wp-site-blocks > header,
body:has(.loya-calc-page) .wp-site-blocks > .wp-block-template-part:first-child{
  margin-bottom:-125px!important;
  background:#fff!important;
  position:relative!important;
  z-index:50!important;
}

.loya-calc-page,
.loya-calc-page *{
  box-sizing:border-box;
}

.loya-calc-page{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  margin-top:0!important;
  padding:0!important;
  font-family:inherit;
  color:#172033;
  line-height:1.72;
  overflow-x:hidden;
}

.loya-calc-page p{
  margin:0 0 18px;
}

.loya-calc-page a{
  color:#0b63ce;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}

.loya-full-cover{
  width:100vw!important;
  max-width:100vw!important;
  margin:0!important;
  padding:0!important;
  height:760px!important;
  min-height:760px!important;
  max-height:none!important;
  overflow:hidden!important;
  position:relative!important;
  background:#082044;
}

.loya-full-cover img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center 6%!important;
}

.loya-calc-main{
  max-width:1120px;
  margin:0 auto;
  padding:32px 22px 64px;
}

.loya-calc-intro{
  max-width:940px;
  margin:0 auto 28px;
  padding:34px 38px;
  border-radius:26px;
  background:linear-gradient(135deg,#1e3a8a,#0f172a);
  color:#fff;
  box-shadow:0 22px 52px rgba(15,23,42,.16);
}

.loya-calc-eyebrow{
  display:inline-flex;
  width:max-content;
  margin:0 0 14px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:13px;
  line-height:1;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.loya-calc-intro h1{
  margin:0 0 14px;
  color:#fff;
  font-size:clamp(34px,5vw,48px);
  line-height:1.05;
  letter-spacing:-.04em;
  font-weight:950;
}

.loya-calc-intro p{
  max-width:820px;
  margin:0 0 14px;
  color:#e5e7eb;
  font-size:17px;
  line-height:1.7;
}

.loya-calc-intro p:last-child{
  margin-bottom:0;
}

.loya-calc-method-card{
  max-width:940px;
  margin:0 auto 34px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:linear-gradient(135deg,#eff6ff 0%,#ffffff 56%,#fff7ed 100%);
  box-shadow:0 14px 34px rgba(15,23,42,.06);
  overflow:hidden;
}

.loya-calc-method-row{
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 20px;
}

.loya-calc-method-avatar{
  width:58px;
  height:58px;
  min-width:58px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#1e3a8a;
  color:#fff;
  font-size:18px;
  font-weight:950;
  border:2px solid #fff;
  box-shadow:0 10px 24px rgba(15,23,42,.12);
}

.loya-calc-method-main{
  flex:1;
  min-width:0;
}

.loya-calc-method-top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 12px;
  line-height:1.35;
}

.loya-calc-method-badge{
  display:inline-flex;
  padding:6px 11px;
  border-radius:999px;
  background:#1e3a8a;
  color:#fff;
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.loya-calc-method-top strong{
  color:#0f172a;
  font-size:18px;
  font-weight:900;
}

.loya-calc-method-top span{
  color:#64748b;
  font-size:14px;
}

.loya-calc-method-details{
  margin-top:8px;
}

.loya-calc-method-details summary{
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#0b63ce;
  font-size:13px;
  font-weight:850;
  list-style:none;
}

.loya-calc-method-details summary::-webkit-details-marker{
  display:none;
}

.loya-calc-method-panel{
  margin-top:12px;
  max-width:780px;
  padding:14px 16px;
  border-radius:14px;
  background:#fff;
  border:1px solid #e2e8f0;
  color:#475569;
  font-size:14px;
  line-height:1.65;
}

.loya-calc-method-panel p{
  margin:0 0 10px!important;
}

.loya-calc-method-panel p:last-child{
  margin-bottom:0!important;
}

.loya-calc-method-date{
  min-width:190px;
  color:#64748b;
  font-size:13px;
  line-height:1.45;
  font-style:italic;
  text-align:right;
  white-space:nowrap;
}

.loya-calc-alert{
  margin:0 0 34px;
  padding:20px 22px;
  border-radius:22px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#7c2d12;
  box-shadow:0 12px 30px rgba(124,45,18,.055);
}

.loya-calc-alert strong{
  color:#9a3412;
  font-weight:950;
}

.loya-calc-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);
  gap:24px;
  align-items:start;
}

.loya-calc-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:26px;
  box-shadow:0 16px 38px rgba(15,23,42,.075);
}

.loya-calc-card h2{
  margin:0 0 12px;
  color:#0f172a;
  font-size:28px;
  line-height:1.2;
  font-weight:950;
}

.loya-calc-card h3{
  margin:0 0 10px;
  color:#111827;
  font-size:21px;
  line-height:1.25;
  font-weight:900;
}

.loya-calc-card p{
  color:#475569;
  font-size:16px;
  line-height:1.65;
}

.loya-calc-form{
  margin-top:18px;
}

.loya-calc-field{
  margin:0 0 16px;
}

.loya-calc-field label{
  display:block;
  margin:0 0 7px;
  color:#111827;
  font-size:15px;
  line-height:1.3;
  font-weight:850;
}

.loya-calc-field small{
  display:block;
  margin:6px 0 0;
  color:#64748b;
  font-size:12px;
  line-height:1.45;
}

.loya-calc-field input,
.loya-calc-field select{
  width:100%;
  min-height:46px;
  padding:0 13px;
  border:1px solid #d1d5db;
  border-radius:12px;
  background:#fff;
  color:#172033;
  font-size:15px;
  outline:none;
}

.loya-calc-field input:focus,
.loya-calc-field select:focus{
  border-color:#1d4ed8;
  box-shadow:0 0 0 3px rgba(37,99,235,.14);
}

.loya-calc-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:20px;
}

.loya-calc-button,
.loya-calc-quote-button{
  min-height:48px;
  border:0;
  border-radius:12px;
  padding:0 16px;
  font-size:15px;
  font-weight:950;
  cursor:pointer;
  text-align:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none!important;
}

.loya-calc-button{
  background:#1e3a8a;
  color:#fff!important;
}

.loya-calc-button:hover{
  background:#172554;
}

.loya-calc-quote-button{
  background:#dc2626;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(220,38,38,.22);
}

.loya-calc-quote-button:hover{
  background:#b91c1c;
}

.loya-result{
  background:linear-gradient(135deg,#eff6ff,#ffffff);
  border:1px solid #bfdbfe;
  border-radius:24px;
  padding:26px;
  text-align:center;
}

.loya-result-label{
  display:inline-flex;
  margin:0 0 12px;
  padding:7px 12px;
  border-radius:999px;
  background:#1e3a8a;
  color:#fff;
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.loya-price{
  margin:8px 0 10px;
  color:#1e3a8a;
  font-size:clamp(38px,5vw,52px);
  line-height:1;
  font-weight:950;
  letter-spacing:-.04em;
}

.loya-result-text{
  max-width:460px;
  margin:0 auto 16px!important;
  color:#475569;
  font-size:15px!important;
  line-height:1.6!important;
}

.loya-result-breakdown{
  margin:18px 0 0;
  padding:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e2e8f0;
  text-align:left;
}

.loya-result-breakdown p{
  margin:0 0 8px!important;
  color:#475569;
  font-size:14px!important;
  line-height:1.55!important;
}

.loya-result-breakdown p:last-child{
  margin-bottom:0!important;
}

.loya-method{
  margin-top:24px;
  padding:20px;
  border-radius:22px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}

.loya-method ul{
  margin:0;
  padding-left:20px;
}

.loya-method li{
  margin:0 0 10px;
  color:#475569;
  font-size:15px;
  line-height:1.6;
}

.loya-method li:last-child{
  margin-bottom:0;
}

.loya-calc-info-grid{
  margin:34px 0 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.loya-info-card{
  padding:22px;
  border-radius:22px;
  border:1px solid #e5e7eb;
  background:#fff;
  box-shadow:0 14px 34px rgba(15,23,42,.055);
}

.loya-info-card.blue{
  background:linear-gradient(135deg,#eff6ff,#ffffff);
  border-color:#bfdbfe;
}

.loya-info-card.orange{
  background:linear-gradient(135deg,#fff7ed,#ffffff);
  border-color:#fed7aa;
}

.loya-info-card.green{
  background:linear-gradient(135deg,#ecfdf5,#ffffff);
  border-color:#bbf7d0;
}

.loya-info-card h3{
  margin:0 0 10px;
  color:#111827;
  font-size:20px;
  line-height:1.25;
  font-weight:900;
}

.loya-info-card p{
  margin:0;
  color:#475569;
  font-size:15px;
  line-height:1.6;
}

.loya-calc-editorial{
  margin:36px 0 0;
  padding:18px 20px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#475569;
  font-size:15px;
  line-height:1.65;
}

.loya-calc-refs{
  margin-top:34px;
  padding-top:24px;
  border-top:1px solid #e5e7eb;
}

.loya-calc-refs h2{
  margin:0 0 12px;
  color:#0f172a;
  font-size:24px;
  line-height:1.2;
  font-weight:950;
}

.loya-calc-refs ol{
  margin:0;
  padding-left:20px;
}

.loya-calc-refs li{
  margin:0 0 10px;
  color:#334155;
  font-size:15px;
  line-height:1.6;
}

@media(max-width:1200px){
  body:has(.loya-calc-page) .wp-site-blocks > header,
  body:has(.loya-calc-page) .wp-site-blocks > .wp-block-template-part:first-child{
    margin-bottom:-110px!important;
  }

  .loya-full-cover{
    height:720px!important;
    min-height:720px!important;
  }

  .loya-full-cover img{
    object-position:center 6%!important;
  }
}

@media(max-width:980px){
  .loya-calc-grid,
  .loya-calc-info-grid{
    grid-template-columns:1fr;
  }

  .loya-calc-method-row{
    align-items:flex-start;
    flex-wrap:wrap;
  }

  .loya-calc-method-main{
    flex:1 1 calc(100% - 80px);
  }

  .loya-calc-method-date{
    width:100%;
    min-width:0;
    text-align:left;
    padding-left:74px;
    white-space:normal;
  }
}

@media(max-width:800px){
  body:has(.loya-calc-page) .wp-site-blocks > header,
  body:has(.loya-calc-page) .wp-site-blocks > .wp-block-template-part:first-child{
    margin-bottom:-86px!important;
  }

  .loya-full-cover{
    height:550px!important;
    min-height:550px!important;
  }

  .loya-full-cover img{
    object-position:center 7%!important;
  }

  .loya-calc-main{
    padding:24px 16px 54px;
  }

  .loya-calc-intro{
    padding:28px 22px;
  }
}

@media(max-width:640px){
  .loya-calc-page{
    font-size:16px;
  }

  .loya-calc-card{
    padding:24px;
  }

  .loya-calc-actions{
    grid-template-columns:1fr;
  }

  .loya-calc-method-row{
    display:block;
  }

  .loya-calc-method-avatar{
    margin-bottom:12px;
  }

  .loya-calc-method-top{
    display:block;
  }

  .loya-calc-method-badge,
  .loya-calc-method-top strong,
  .loya-calc-method-top span{
    margin:0 0 7px;
  }

  .loya-calc-method-date{
    padding-left:0;
    margin-top:10px;
  }
}

@media(max-width:560px){
  body:has(.loya-calc-page) .wp-site-blocks > header,
  body:has(.loya-calc-page) .wp-site-blocks > .wp-block-template-part:first-child{
    margin-bottom:-68px!important;
  }

  .loya-full-cover{
    height:455px!important;
    min-height:455px!important;
  }

  .loya-full-cover img{
    object-position:center 8%!important;
  }

  .loya-calc-intro h1{
    font-size:34px;
  }

  .loya-calc-intro p{
    font-size:16px;
  }
}

/* ===============================================================
https://loyainsurance.org/blog/
================================== */
/* Hide only the automatic page title when it is a direct page-content title.
   Do NOT hide post titles inside the query loop. */
body.page .entry-content > .wp-block-post-title:first-child,
body.blog .entry-content > .wp-block-post-title:first-child{
  display:none!important;
}

.loya-blog-page,
.loya-blog-page *{
  box-sizing:border-box;
}

.loya-blog-cover{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  margin-top:0!important;
  min-height:680px!important;
  position:relative!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  background:#082044;
}

.loya-blog-cover img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  z-index:0!important;
}

.loya-blog-cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.88) 0%,rgba(255,255,255,.64) 42%,rgba(255,255,255,.12) 100%),
    linear-gradient(180deg,rgba(8,32,68,.05),rgba(8,32,68,.18));
  z-index:1;
}

.loya-blog-hero{
  position:relative;
  z-index:2;
  max-width:620px;
  margin-left:clamp(24px,7vw,120px);
  margin-right:24px;
  padding:34px 0;
}

.loya-blog-hero-badge{
  display:inline-flex;
  align-items:center;
  margin:0 0 16px;
  padding:8px 14px;
  border-radius:999px;
  background:#eaf2ff;
  color:#0b4f8a;
  font-size:13px;
  line-height:1;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.loya-blog-hero h1{
  font-size:clamp(42px,6vw,78px);
  font-weight:950;
  color:#082044;
  margin:0 0 18px;
  line-height:.98;
  letter-spacing:-.045em;
}

.loya-blog-hero p{
  max-width:560px;
  margin:0 0 24px;
  font-size:20px;
  line-height:1.55;
  color:#082044;
  font-weight:650;
}

.loya-blog-quote-card{
  max-width:520px;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(219,234,254,.95);
  box-shadow:0 18px 45px rgba(15,23,42,.12);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.loya-blog-quote-card strong{
  display:block;
  margin:0 0 8px;
  color:#082044;
  font-size:18px;
  line-height:1.25;
  font-weight:950;
}

.loya-blog-quote-card span{
  display:block;
  margin:0 0 14px;
  color:#475569;
  font-size:14px;
  line-height:1.45;
}

.loya-blog-quote-form{
  display:flex;
  gap:10px;
  align-items:center;
  margin:0;
}

.loya-blog-quote-form input{
  flex:1;
  min-width:0;
  height:46px;
  border:1px solid #dbeafe;
  border-radius:12px;
  background:#fff;
  color:#172033;
  font-size:15px;
  padding:0 13px;
  outline:none;
}

.loya-blog-quote-form button{
  height:46px;
  border:0;
  border-radius:12px;
  background:#dc2626;
  color:#fff!important;
  padding:0 18px;
  font-size:15px;
  font-weight:950;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:0 12px 26px rgba(220,38,38,.22);
}

.loya-blog-quote-form button:hover{
  background:#b91c1c;
}

.loya-blog-read-link{
  display:inline-block;
  margin-top:14px;
  color:#0b4f8a!important;
  font-size:14px;
  font-weight:900;
  text-decoration:none;
  border-bottom:1px solid rgba(11,79,138,.25);
}

.loya-blog-query-wrap{
  max-width:1120px;
  margin:54px auto 0;
  padding:0 22px 64px;
}

.loya-blog-section-head{
  margin:0 0 24px;
  text-align:left;
}

.loya-blog-section-head span{
  display:inline-flex;
  margin:0 0 10px;
  padding:7px 12px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:12px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.loya-blog-section-head h2{
  margin:0;
  color:#082044;
  font-size:clamp(30px,4vw,42px);
  line-height:1.1;
  font-weight:950;
  letter-spacing:-.035em;
}

.loya-blog-section-head p{
  max-width:720px;
  margin:10px 0 0;
  color:#475569;
  font-size:17px;
  line-height:1.65;
}

.loya-blog-grid{
  gap:24px!important;
}

.loya-blog-card{
  height:100%;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:18px;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow:hidden;
}

.loya-blog-card:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 54px rgba(15,23,42,.12);
  border-color:#bfdbfe;
}

.loya-blog-card .wp-block-post-featured-image{
  margin:0 0 14px!important;
  background:linear-gradient(135deg,#eff6ff,#fff7ed);
  border-radius:20px;
  overflow:hidden;
}

.loya-blog-card .wp-block-post-featured-image img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}

.loya-blog-card .wp-block-post-title{
  display:block!important;
  margin:0 0 10px!important;
  color:#082044!important;
  font-size:22px!important;
  line-height:1.2!important;
  font-weight:950!important;
}

.loya-blog-card .wp-block-post-title a{
  color:#082044!important;
  text-decoration:none!important;
}

.loya-blog-card .wp-block-post-title a:hover{
  color:#0b63ce!important;
}

.loya-blog-card .wp-block-post-excerpt{
  color:#475569;
  font-size:16px;
  line-height:1.6;
}

.loya-blog-card .wp-block-post-excerpt p{
  margin:0 0 12px!important;
}

.loya-blog-card .wp-block-post-excerpt__more-link{
  display:inline-flex;
  margin-top:4px;
  color:#dc2626!important;
  font-weight:950;
  text-decoration:none!important;
  border-bottom:1px solid rgba(220,38,38,.25);
}

.loya-blog-pagination{
  margin:38px 0 0!important;
  gap:10px!important;
}

.loya-blog-pagination a,
.loya-blog-pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  min-height:38px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid #dbeafe;
  background:#fff;
  color:#082044!important;
  font-weight:850;
  text-decoration:none!important;
}

.loya-blog-pagination .current{
  background:#082044;
  color:#fff!important;
  border-color:#082044;
}

@media(max-width:980px){
  .loya-blog-cover{
    min-height:620px!important;
  }

  .loya-blog-cover::after{
    background:linear-gradient(90deg,rgba(255,255,255,.9),rgba(255,255,255,.55));
  }

  .loya-blog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:700px){
  .loya-blog-cover{
    min-height:auto!important;
    align-items:flex-start!important;
    padding:54px 0 42px;
  }

  .loya-blog-cover img{
    object-position:center center!important;
  }

  .loya-blog-cover::after{
    background:rgba(255,255,255,.86);
  }

  .loya-blog-hero{
    margin:0 18px;
    padding:24px 0;
  }

  .loya-blog-hero h1{
    font-size:42px;
    line-height:1.02;
  }

  .loya-blog-hero p{
    font-size:17px;
  }

  .loya-blog-quote-form{
    display:block;
  }

  .loya-blog-quote-form input{
    width:100%;
    margin:0 0 10px;
  }

  .loya-blog-quote-form button{
    width:100%;
  }

  .loya-blog-query-wrap{
    margin-top:36px;
    padding:0 16px 48px;
  }

  .loya-blog-grid{
    grid-template-columns:1fr!important;
  }
}