
/* BLUE */

.op-newsletter-page,
.op-newsletter-page *{
    box-sizing:border-box;
}

.op-newsletter-page{
    width:100%;
    margin:0;
    padding:0;
    background:#f5f6fa;
    font-family:Arial,Helvetica,sans-serif;
    color:#1f2937;
}

.op-newsletter-shell{
    max-width:90%;
    margin:0 auto;
    padding:42px 22px;
}

.op-newsletter-hero{
    background:linear-gradient(135deg,#111827,#374151);
    color:#fff;
    border-radius:24px;
    padding:64px 46px;
    text-align:center;
    box-shadow:0 18px 45px rgba(17,24,39,.22);
    overflow:hidden;
}

.op-newsletter-kicker{
    display:inline-block;
    margin:0 0 18px;
    padding:8px 16px;
    border-radius:999px;
    background:rgba(255,255,255,.14);
    color:#fff;
    font-size:13px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.op-newsletter-hero h1{
    margin:0 auto 18px;
    max-width:850px;
    color:#fff;
    font-size:48px;
    line-height:1.08;
    letter-spacing:-.03em;
}

.op-newsletter-date{
    margin:0;
    color:rgba(255,255,255,.78);
    font-size:17px;
}

.op-newsletter-card{
    background:#fff;
    border-radius:22px;
    margin-top:28px;
    padding:44px;
    box-shadow:0 14px 34px rgba(17,24,39,.08);
    border:1px solid rgba(17,24,39,.06);
}

.op-newsletter-card-soft{
    background:#fbfbfd;
}

.op-newsletter-card h2{
    margin:0 0 20px;
    color:#13136e;
    font-size:34px;
    line-height:1.15;
    letter-spacing:-.025em;
}

.op-newsletter-content p{
    margin:0 0 18px;
    color:#374151;
    font-size:18px;
    line-height:1.75;
}

.op-newsletter-content p:last-child{
    margin-bottom:0;
}

.op-newsletter-image-wrap{
    width:100%;
    margin:0 0 28px;
    overflow:hidden;
    border-radius:18px;
    background:transparent;
}

.op-newsletter-image{
    display:block;
    width:100%;
    max-width:100%;
    height:220px;
    object-fit:cover;
    object-position:center;
}

.op-newsletter-feature-grid{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:40px;
    align-items:start;
    overflow:visible;
}

.op-newsletter-feature-grid .op-newsletter-image-wrap,
.op-newsletter-link-card .op-newsletter-image-wrap{
    margin:0;
}

.op-newsletter-feature-grid .op-newsletter-image-wrap{
    overflow:visible;
    background:transparent;
}

.op-newsletter-feature-grid .op-newsletter-image{
    width:100%;
    max-width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
    object-position:center top;
    margin:0 auto;
    border-radius:16px;
    box-shadow:0 12px 30px rgba(0,0,0,.25);
}

.op-newsletter-card{
    overflow:visible;
}

.op-newsletter-card{
  display: flex;
  flex-wrap: wrap;
  background-color: #dfe4ee;
  background-image: url('https://obsidianpages.com/seo/newsletter/assets/blue.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 20px;
  color: #000; /* changed to dark for readability */
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 0 10px rgb(19,19,110, 0.1);
}

.op-newsletter-button{
    display:inline-block;
    margin-top:22px;
    padding:14px 24px;
    background:#111827;
    color:#fff!important;
    text-decoration:none!important;
    border-radius:10px;
    font-size:16px;
    font-weight:700;
    line-height:1;
}

.op-newsletter-button:hover{
    background:#000;
    color:#fff!important;
}

.op-newsletter-optin{
    background:linear-gradient(135deg,#eef2ff,#f8fafc);
    border:1px solid #dbe3ff;
}

.op-newsletter-optin-inner{
    max-width:80%;
    margin:0 auto;
    text-align:center;
}

.op-newsletter-optin .op-newsletter-content p{
    color:#374151;
    font-size:19px;
}

.op-newsletter-link-card{
    display:grid;
    grid-template-columns:240px 1fr;
    gap:30px;
    align-items:center;
}

.op-newsletter-link-card .op-newsletter-image{
    height:220px;
}

.op-newsletter-latest-intro{
    margin-bottom:28px;
}

.op-newsletter-latest-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.op-newsletter-latest-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 24px rgba(17,24,39,.06);
}

.op-newsletter-latest-card img{
    display:block;
    width:100%;
    height:190px;
    object-fit:cover;
    object-position:center;
    background:#e5e7eb;
}

.op-newsletter-latest-card-body{
    padding:22px;
}

.op-newsletter-latest-card h3{
    margin:0 0 12px;
    font-size:21px;
    line-height:1.22;
    color:#111827;
}

.op-newsletter-latest-card p{
    margin:0 0 18px;
    font-size:15px;
    line-height:1.55;
    color:#4b5563;
}

.op-newsletter-latest-card a{
    color:#111827;
    font-weight:700;
    text-decoration:none;
}

.op-newsletter-latest-card a:hover{
    text-decoration:underline;
}

.op-newsletter-closing{
    text-align:center;
    background:#111827;
    color:#fff;
}

.op-newsletter-closing h2{
    color:#fff;
}

.op-newsletter-closing .op-newsletter-content p{
    color:rgba(255,255,255,.86);
    max-width:80%;
    margin-left:auto;
    margin-right:auto;
}

:root{
    --op-accent:#67739e;
    --op-dark:#111827;
    --op-soft:#eef2ff;
}

.op-newsletter-hero,
.op-newsletter-closing{
    background:linear-gradient(135deg,var(--op-dark),var(--op-accent));
}

.op-newsletter-button{
    background:var(--op-accent);
}

.op-newsletter-button:hover{
    background:var(--op-dark);
}

.op-newsletter-optin{
    background:var(--op-soft);
}

@media(max-width:840px){
    .op-newsletter-shell{
        padding:24px 14px;
    }

    .op-newsletter-hero{
        padding:42px 24px;
        border-radius:18px;
    }

    .op-newsletter-hero h1{
        font-size:34px;
    }

    .op-newsletter-card{
        padding:28px 22px;
        border-radius:18px;
    }

    .op-newsletter-card h2{
        font-size:28px;
    }

    .op-newsletter-content p{
        font-size:17px;
    }

    .op-newsletter-image{
        height:280px;
    }

    .op-newsletter-feature-grid,
    .op-newsletter-link-card{
        grid-template-columns:1fr;
    }

    .op-newsletter-feature-grid .op-newsletter-image{
        height:auto;
        max-height:none;
    }

    .op-newsletter-link-card .op-newsletter-image{
        height:280px;
    }

    .op-newsletter-latest-grid{
        grid-template-columns:1fr;
    }
}

/*Custom Footer Text*/
.custom-footer {
	color: #67739e !important;
	}
.op-newsletter-closing h2{
    margin:0 auto 20px !important;
    padding:0;
    text-align:center !important;
}

/* Promo Optin Image */
.op-newsletter-promo-image{
    width:100%;
    height:300px;
    border-radius:18px;
    background:url('https://obsidianpages.com/seo/newsletter/assets/images/promo-blue.jpg') center center no-repeat;
    background-size:cover;
    margin-bottom:28px;
}