/* =========================================================
   Imag'In You — Mail theme
   Dark palette with warm gold accents. Mirrors the website
   (background #0c0b09, accent #cda45e) and substitutes the
   site's custom faces with Google Fonts that render across
   most email clients.
   ========================================================= */

/* Base */

body,
body *:not(html):not(style):not(br):not(tr):not(code) {
    font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
}

body {
    -webkit-text-size-adjust: none;
    background-color: #0c0b09;
    color: #d8d1c2;
    height: 100%;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100% !important;
}

p,
ul,
ol,
blockquote {
    line-height: 1.7;
    text-align: start;
}

a {
    color: #cda45e;
    text-decoration: none;
}

a img {
    border: none;
}

/* Typography */

h1 {
    color: #ffffff;
    font-family: 'Pinyon Script', 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.05;
    margin: 0 0 12px 0;
    text-align: start;
    letter-spacing: 0;
}

h2 {
    color: #ffffff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin: 32px 0 12px 0;
    text-align: start;
}

h3 {
    color: #cda45e;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin: 28px 0 10px 0;
    text-align: left;
}

p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 18px 0;
    text-align: left;
    color: #d8d1c2;
}

p.sub {
    font-size: 13px;
    color: #8a8072;
}

strong {
    color: #ffffff;
    font-weight: 600;
}

em {
    color: #eaeaea;
    font-style: italic;
}

hr {
    border: 0;
    height: 1px;
    background-color: #2a251b;
    margin: 28px 0;
}

img {
    max-width: 100%;
}

/* Layout */

.wrapper {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #0c0b09;
    margin: 0;
    padding: 0;
    width: 100%;
}

.content {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Header */

.header {
    padding: 44px 0 8px 0;
    text-align: center;
}

.header a {
    color: #ffffff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    text-decoration: none;
}

.header-rule {
    display: block;
    width: 56px;
    height: 1px;
    background-color: #cda45e;
    margin: 18px auto 0 auto;
    line-height: 1px;
    font-size: 1px;
}

/* Logo (unused but kept for component compatibility) */

.logo {
    height: 48px;
    margin-top: 12px;
    margin-bottom: 8px;
    max-height: 48px;
    width: auto;
}

/* Body */

.body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #0c0b09;
    margin: 0;
    padding: 0;
    width: 100%;
}

.inner-body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 600px;
    background-color: #14110c;
    border-color: #2a251b;
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
    box-shadow: none;
    margin: 24px auto 0 auto;
    padding: 0;
    width: 600px;
}

.inner-body a {
    color: #cda45e;
    word-break: break-word;
}

/* Subcopy */

.subcopy {
    border-top: 1px solid #2a251b;
    margin-top: 32px;
    padding-top: 24px;
}

.subcopy p {
    color: #8a8072;
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */

.footer {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 600px;
    margin: 0 auto;
    padding: 28px 0 44px 0;
    text-align: center;
    width: 600px;
}

.footer p {
    color: #6b6456;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
}

.footer a {
    color: #8a8072;
    text-decoration: none;
}

/* Tables */

.table table {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 24px auto;
    width: 100%;
}

.table th {
    border-bottom: 1px solid #2a251b;
    color: #cda45e;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    margin: 0;
    padding-bottom: 10px;
    text-transform: uppercase;
    text-align: left;
}

.table td {
    color: #d8d1c2;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #1f1a12;
}

.content-cell {
    max-width: 100vw;
    padding: 40px 48px 32px 48px;
}

/* Buttons */

.action {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 32px auto 24px auto;
    padding: 0;
    text-align: center;
    width: 100%;
    float: unset;
}

.button {
    -webkit-text-size-adjust: none;
    border-radius: 50px;
    color: #0c0b09 !important;
    display: inline-block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.28em;
    overflow: hidden;
    text-decoration: none;
    text-transform: uppercase;
}

.button-blue,
.button-primary {
    background-color: #cda45e;
    border-bottom: 12px solid #cda45e;
    border-left: 32px solid #cda45e;
    border-right: 32px solid #cda45e;
    border-top: 12px solid #cda45e;
    color: #0c0b09 !important;
}

.button-green,
.button-success {
    background-color: #cda45e;
    border-bottom: 12px solid #cda45e;
    border-left: 32px solid #cda45e;
    border-right: 32px solid #cda45e;
    border-top: 12px solid #cda45e;
    color: #0c0b09 !important;
}

.button-red,
.button-error {
    background-color: #b54a3a;
    border-bottom: 12px solid #b54a3a;
    border-left: 32px solid #b54a3a;
    border-right: 32px solid #b54a3a;
    border-top: 12px solid #b54a3a;
    color: #ffffff !important;
}

/* Panels */

.panel {
    border-left: #cda45e solid 2px;
    margin: 22px 0;
}

.panel-content {
    background-color: #0c0b09;
    color: #d8d1c2;
    padding: 22px 26px;
}

.panel-content p {
    color: #d8d1c2;
    margin: 0 0 12px 0;
}

.panel-content p:last-child {
    margin-bottom: 0;
}

.panel-content strong {
    color: #cda45e;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.panel-content a {
    color: #cda45e;
}

.panel-item {
    padding: 0;
}

.panel-item p:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Message block — preserves user-entered line breaks */

.message-block {
    white-space: pre-wrap;
    font-style: italic;
    font-size: 17px;
    line-height: 1.75;
    color: #eaeaea;
    margin: 0;
}

/* Utilities */

.break-all {
    word-break: break-all;
}

.sign-off {
    color: #cda45e;
    font-family: 'Pinyon Script', 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    line-height: 1;
    margin: 24px 0 4px 0;
    text-align: left;
    font-weight: 400;
}
