/* ==========================================================================
   Print Insights (blog list + post) and Help & FAQs. Loaded together with
   category-page.css, which supplies the hero band, breadcrumb, pills, pager,
   empty box and quote bar (.cp-*).
   ========================================================================== */

/* -- post cards ------------------------------------------------------------------------- */
.ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ins-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.ins-card:hover { box-shadow: 0 10px 28px rgba(0, 49, 53, .12); transform: translateY(-3px); border-color: #cfdcdd; }
.ins-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: #eef4f4; overflow: hidden; color: #94a3b8; font-size: 34px; }
.ins-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ins-card:hover .ins-img img { transform: scale(1.04); }
.ins-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.ins-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ins-tags.is-center { justify-content: center; }
.ins-tags a {
    display: inline-block; padding: 3px 10px; border-radius: 999px; background: #eaf3f3; color: #003135; font-size: 12px; font-weight: 600;
    text-decoration: none; line-height: 18px;
}
.ins-tags a:hover { background: #003135; color: #fff; }
.ins-card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; line-height: 1.4; }
.ins-card h3 a { color: #111827; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ins-card h3 a:hover { color: #003135; }
.ins-card p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.65; color: #64748b; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ins-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: #64748b; margin-bottom: 14px; }
.ins-meta.is-center { justify-content: center; font-size: 14px; margin: 14px 0 0; }
.ins-meta i, .ins-meta svg { margin-right: 5px; color: #0f766e; }
.ins-more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #003135; text-decoration: none; }
.ins-more svg, .ins-more i { transition: transform .2s; }
.ins-more:hover { color: #0f766e; }
.ins-more:hover svg, .ins-more:hover i { transform: translateX(4px); }

/* -- one post ---------------------------------------------------------------------------------- */
.ins-post { max-width: 860px; margin: 8px auto 0; }
.ins-post-head { text-align: center; padding: 10px 0 24px; }
.ins-post-head h1 { margin: 0; font-size: clamp(26px, 4vw, 40px); line-height: 1.2; font-weight: 800; color: #003135; overflow-wrap: anywhere; }
.ins-cover { margin: 0 0 30px; border-radius: 14px; overflow: hidden; background: #eef4f4; }
.ins-cover img { width: 100%; height: auto; display: block; }
.ins-article { font-size: 17px; line-height: 1.8; color: #334155; overflow-wrap: anywhere; }
.ins-article h2, .ins-article h3, .ins-article h4 { color: #003135; font-weight: 700; line-height: 1.3; margin: 1.6em 0 .6em; }
.ins-article h2 { font-size: 28px; }
.ins-article h3 { font-size: 22px; }
.ins-article h4 { font-size: 18px; }
.ins-article p { margin: 0 0 1.1em; }
.ins-article ul, .ins-article ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.ins-article li { margin: .35em 0; }
.ins-article a { color: #0f766e; text-decoration: underline; }
.ins-article img { max-width: 100%; height: auto; border-radius: 10px; }
.ins-article table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15.5px; display: block; overflow-x: auto; }
.ins-article th, .ins-article td { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: left; }
.ins-article th { background: #f1f5f9; color: #0f172a; }
.ins-article blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid #ffe600; color: #475569; font-style: italic; }
.ins-share { display: flex; align-items: center; gap: 12px; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid #e5e7eb; }
.ins-share span { font-weight: 600; color: #334155; }
.ins-share a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #eaf3f3; color: #003135; font-size: 17px; text-decoration: none; transition: background .15s, color .15s; }
.ins-share a:hover { background: #003135; color: #fff; }
.ins-related { margin: 10px 0 20px; }
.ins-related h2 { margin: 0 0 20px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: #111827; text-align: center; }

/* -- Help & FAQs ------------------------------------------------------------------------------------- */
.fq-group { max-width: 900px; margin: 0 auto 30px; scroll-margin-top: 110px; }
.fq-group h2 { margin: 0 0 14px; font-size: 22px; font-weight: 700; color: #003135; }
.fq-list { display: flex; flex-direction: column; gap: 10px; }
.fq { border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.fq[open] { border-color: #003135; box-shadow: 0 4px 16px rgba(0, 49, 53, .08); }
.fq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none;
    font-size: 17px; font-weight: 600; color: #111827;
}
.fq summary::-webkit-details-marker { display: none; }
.fq summary i, .fq summary svg { flex: 0 0 auto; width: 14px; height: 14px; color: #0f766e; transition: transform .2s; }
.fq[open] summary i, .fq[open] summary svg { transform: rotate(45deg); }
.fq-answer { padding: 0 20px 18px; font-size: 16px; line-height: 1.7; color: #475569; }

/* -- tablet / phone ---------------------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767.98px) {
    .ins-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .ins-body { padding: 14px 16px 16px; }
    .ins-card h3 { font-size: 16.5px; }
    .ins-post-head { padding-bottom: 16px; }
    .ins-cover { margin-bottom: 20px; border-radius: 12px; }
    .ins-article { font-size: 16px; line-height: 1.75; }
    .ins-article h2 { font-size: 22px; }
    .ins-article h3 { font-size: 19px; }
    .fq summary { padding: 14px 16px; font-size: 15.5px; }
    .fq-answer { padding: 0 16px 16px; font-size: 15px; }
    .fq-group h2 { font-size: 19px; }
}

/* -- information pages (CMS) and Contact ----------------------------------------------------------------------- */
.cp-hero.is-compact { padding: 30px 24px 26px; }
.ins-page { max-width: 860px; margin: 8px auto 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 32px 38px; }
.ins-page > :first-child { margin-top: 0; }
.ins-page h3 { font-size: 20px; }
.ins-more-info { max-width: 860px; margin: 30px auto 10px; }
.ins-more-info h2 { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: #111827; }
.contact-card { max-width: 860px; margin: 8px auto 20px; }
@media (max-width: 767.98px) {
    .cp-hero.is-compact { padding: 22px 16px 20px; }
    .ins-page { padding: 20px 18px; border-radius: 12px; }
    .ins-page h3 { font-size: 18px; }
    .ins-more-info { margin-top: 22px; }
}

/* -- information page, the reference shop's way: full-width dark hero, then plain text in a narrow column ---------- */
.ip { background: #fff; }
.ip-hero { background: linear-gradient(165deg, #004a50 0%, var(--shop-primary, #003135) 45%, #001a1c 100%); color: #fff; text-align: center; padding: 62px 0 56px; }
.ip-date { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 700; color: #ffe600; }
.ip-hero h1 { margin: 0; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; font-weight: 800; color: #fff; overflow-wrap: anywhere; }
.ip-hero p { max-width: 780px; margin: 18px auto 0; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.ip-article { max-width: 780px; margin: 44px auto 70px; padding: 0 2px; }
.ip-article > :first-child { margin-top: 0; }
.ip-article h2, .ip-article h3, .ip-article h4 { color: #111827; }
.ip-article h3 { font-size: 26px; margin-top: 1.9em; }
.ip .contact-card { max-width: 860px; margin: 40px auto 60px; }
@media (max-width: 767.98px) {
    .ip-hero { padding: 34px 0 30px; }
    .ip-date { font-size: 14px; margin-bottom: 8px; }
    .ip-hero p { font-size: 15.5px; margin-top: 12px; }
    .ip-article { margin: 26px auto 44px; }
    .ip-article h3 { font-size: 21px; }
    .ip .contact-card { margin: 24px auto 36px; }
}

/* the theme resets list markers; article text needs them back */
.ins-article ul { list-style: disc; }
.ins-article ol { list-style: decimal; }
.ins-article li::marker { color: #0f766e; }
