/* =============================================
   Sharan Newsletter Manager v2.0
   ============================================= */

/* ── Archive Grid ─────────────────────────── */
.snm-archive-wrap {
    width: 100%;
}
.snm-archive-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}
.snm-archive-card {
    width: calc(33.333% - 16px);
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.snm-archive-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.snm-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.snm-card-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
}
.snm-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.snm-card-body {
    padding: 16px;
}
.snm-card-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
    font-family: 'Source Sans Pro', sans-serif;
}
.snm-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0084c9;
    line-height: 1.4;
    font-family: 'Source Sans Pro', sans-serif;
}
.snm-no-posts {
    text-align: center;
    color: #666;
    font-size: 16px;
    padding: 40px 0;
}
.snm-archive-wrap .page-numbers {
    display: inline-block;
    padding: 6px 14px;
    margin: 2px;
    border: 1px solid #0084c9;
    color: #0084c9;
    border-radius: 3px;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
}
.snm-archive-wrap .page-numbers.current,
.snm-archive-wrap .page-numbers:hover {
    background: #0084c9;
    color: #fff;
}

/* ── Single Old Content ───────────────────── */
.snm-old-content {
    max-width: 860px;
    margin: 0 auto;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* ── Newsletter Wrapper ───────────────────── */
.all-newsletter {
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    font-family: 'Source Sans Pro', sans-serif;
}

/* ── Shared template styles ───────────────── */
.nl-t3-first-section { width: 100%; }
.template-one-spacing p { line-height: 1.5; margin-bottom: 1rem !important; }
table td { border: none; }
.contentblock { padding: 0 6px; }
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ── Shared responsive nav / layout helpers ─ */
td.nl-navigation { padding: 0; }
.footer { width: 2% !important; }
.footer_get_in_touch { font-weight: 600; }
.template1_yellow_background { padding-bottom: 16px; padding-top: 4px; }
.template1 { margin-top: 20px !important; }
.template2_heading { padding-top: 0 !important; }
.template2_bottom { padding-top: 0; padding-bottom: 0; }
.template2_last { padding: 40px 0 16px 0 !important; }
.template2_com { padding: 20px 0 16px 0 !important; }
.nl-t3-head2 { padding-top: 4px !important; }
.nl-nav-menu-container { width: 100% !important; }
.header-web { justify-content: space-between; }
.img-web { width: 100% !important; }
.max-wid { max-width: 800px !important; }
.ftsi  { font-size: 34px !important; }
.ftsi2 { font-size: 24px !important; }
.ftsi3 { font-size: 23px !important; }

/* ── Template 1 specific ─────────────────── */
.nl-t1-dis-inline-d-flex { display: flex; flex-direction: row; }
.nl-dis { display: none; }
.mb-image { display: block; }

/* ── Responsive: tablet / mobile ─────────── */
@media (max-width: 1024px) {
    .nl-t1-dis-inline-d-flex { flex-direction: column; }
    .remove { display: none; }
    .remove-width { width: auto; }
    .footer_get_in_touch { margin-left: 0 !important; width: auto !important; }
    .bottom-table-mob { order: 2; }
    .paddin { padding: 0 !important; }
    .nl-dis { display: block !important; }
    .mb-image { display: none !important; }
}

@media (max-width: 767px) {
    .snm-archive-card { width: calc(50% - 12px); }

    .nl-navigation tr td,
    .nl-bottom-header tr td,
    .nl-top-header tr td {
        display: inline-block;
        width: 100% !important;
        text-align: center !important;
    }
    .nl-bottom-header p { text-align: center !important; margin-right: 0 !important; }
    .nl-nav-menu-container ul li { border-bottom: 1px solid #fff; padding: 10px 0; }
    .nl-nav-menu-container ul li:last-child { border-bottom: 0 none; }
    .nl-t3-first-section td { padding-left: 0; padding-right: 0; }
    .nl-width0 { width: 0 !important; padding: 0; }
    .nl-t3-p-width0 { width: auto !important; }
    .nl-t2-did-you tr td { display: inline-block; width: 100%; }
    .footer { width: auto !important; }
    .footer1 { width: auto !important; }
    .nl-t3-last-secions p { padding-left: 10px; padding-right: 10px; }
    .nl-footer-bottom { padding: 24px 10px !important; }
    .nl-dn { display: none !important; }
    .nl-t1-dis-inline td { display: inline-block; width: 100%; }
    .nl-width-auto { padding: 0 !important; width: auto !important; }
    .nl-t1-bottom { padding: 10px 0 0 !important; }
    .nl-t1-span p,
    .nl-title-p { padding: 0 10px !important; }
    .nl-t1-btn { padding: 14px 10px !important; }
    .nl-dr-about { width: 100% !important; }
    .nl-dr-about1 { width: 40% !important; }
    .nl-footer-padding { padding: 0 10px !important; }
    .fsize { font-size: 24px !important; }
    .dr-mob { flex-direction: column; align-items: center; gap: 30px; }
    .nl-wid { width: 100% !important; }
    .header-web { padding-inline: 0%; }
    .nl-t2-tab { padding: 18px 15px !important; }
    .nl-t2-tab-content { padding: 0 0 20px !important; }
}

@media (max-width: 480px) {
    .snm-archive-card { width: 100%; }
    .snm-archive-grid { gap: 16px; }
}

@media (min-width: 318px) and (max-width: 426px) {
    .contentblock { padding: 0; }
    .header-bar { display: block; }
}
