/*
 * The Book Drop (TGC Books email, v2).
 * The feed sends HubSpot no CSS, so these rules are copied into the <style id="hs-inline-css">
 * block of the HubSpot template (books_newsletter_v2.html). Keep the two in sync.
 */
:root {
    color-scheme: light;
    supported-color-schemes: light;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

* {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

table,
td {
    mso-table-lspace: 0pt !important;
    mso-table-rspace: 0pt !important;
    border-collapse: collapse !important;
}

table td {
    mso-line-height-rule: exactly;
}

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    outline: none;
    text-decoration: none;
    display: block;
}

a {
    color: #8B3A26;
}

a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
}

/* Editor-written copy (intro note, Reading Life links) */
.bd-copy p {
    margin: 0 0 22px 0;
}

.bd-copy p:last-child {
    margin-bottom: 0;
}

.bd-copy a {
    color: #8B3A26 !important;
    text-decoration: underline;
}

.bd-links p {
    margin: 0 0 12px 0;
}

.bd-links p:last-child {
    margin-bottom: 0;
}

.bd-links a {
    color: #8B3A26 !important;
    text-decoration: underline;
}

@media screen and (max-width: 620px) {
    .bd-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .bd-panel-inset {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .bd-gutter {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .bd-stack {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .bd-stack-gap {
        padding-top: 32px !important;
        padding-left: 0 !important;
    }

    .bd-full {
        width: 100% !important;
        height: auto !important;
    }

    .bd-h2 {
        font-size: 30px !important;
        line-height: 36px !important;
    }
}

@media (prefers-dark-interface) {
    body {
        -apple-color-filter: none;
    }
}
