/* Base */

body,
body *:not(html):not(style):not(br):not(tr):not(code) {
    box-sizing: border-box;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    position: relative;
}

body {
    -webkit-text-size-adjust: none;
    background-color: #F6F3EE; /* Soft Cream */
    color: #282D31; /* Tailor Charcoal */
    height: 100%;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100% !important;
}

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

a {
    color: #B89A5A; /* Brushed Brass */
    text-decoration: none;
    font-weight: 600;
}

a img {
    border: none;
}

/* Typography */

h1 {
    color: #0F1B2D; /* Midnight Navy */
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: start;
    letter-spacing: 0.5px;
}

h2 {
    color: #0F1B2D; /* Midnight Navy */
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    text-align: start;
}

h3 {
    color: #0F1B2D; /* Midnight Navy */
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16px;
    font-weight: bold;
    margin-top: 0;
    text-align: left;
}

p {
    font-size: 15px;
    line-height: 1.6em;
    margin-top: 0;
    text-align: left;
    color: #282D31; /* Tailor Charcoal */
}

p.sub {
    font-size: 12px;
    color: #8C8273; /* Muted Champagne/Brown */
}

img {
    max-width: 100%;
}

/* Layout */

.wrapper {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #F6F3EE; /* Soft Cream */
    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: 35px 0 20px 0;
    text-align: center;
}

.header a {
    color: #0F1B2D;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Logo */

.logo {
    height: 60px;
    margin-top: 5px;
    margin-bottom: 5px;
    max-height: 60px;
    width: auto;
}

/* Body */

.body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #F6F3EE;
    border-bottom: none;
    border-top: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.inner-body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 570px;
    background-color: #FFFFFF; /* Light background for Card */
    border: 1px solid #CDBEA6; /* Champagne Beige border */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(15, 27, 45, 0.05);
    margin: 0 auto;
    padding: 0;
    width: 570px;
}

.inner-body a {
    word-break: break-all;
}

/* Subcopy */

.subcopy {
    border-top: 1px solid rgba(205, 190, 166, 0.4); /* Muted Champagne Beige border */
    margin-top: 25px;
    padding-top: 25px;
}

.subcopy p {
    font-size: 13px;
    color: #8C8273;
}

/* Footer */

.footer {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 570px;
    margin: 0 auto;
    padding: 30px 0;
    text-align: center;
    width: 570px;
}

.footer p {
    color: #8C8273; /* Muted brown/gray */
    font-size: 12px;
    text-align: center;
}

.footer a {
    color: #B89A5A;
    text-decoration: underline;
}

/* Tables */

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

.table th {
    border-bottom: 1px solid rgba(205, 190, 166, 0.4);
    color: #0F1B2D;
    margin: 0;
    padding-bottom: 8px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.table td {
    color: #282D31;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 10px 0;
}

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

/* Buttons */

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

.button {
    -webkit-text-size-adjust: none;
    border-radius: 4px;
    color: #FFFFFF !important; /* White text on button */
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.button-blue,
.button-primary {
    background-color: #0F1B2D; /* Midnight Navy primary button */
    border-bottom: 10px solid #0F1B2D;
    border-left: 24px solid #0F1B2D;
    border-right: 24px solid #0F1B2D;
    border-top: 10px solid #0F1B2D;
}

.button-green,
.button-success {
    background-color: #2e7d32;
    border-bottom: 10px solid #2e7d32;
    border-left: 24px solid #2e7d32;
    border-right: 24px solid #2e7d32;
    border-top: 10px solid #2e7d32;
    color: #ffffff !important;
}

.button-red,
.button-error {
    background-color: #c62828;
    border-bottom: 10px solid #c62828;
    border-left: 24px solid #c62828;
    border-right: 24px solid #c62828;
    border-top: 10px solid #c62828;
    color: #ffffff !important;
}

/* Panels */

.panel {
    border-left: #B89A5A solid 4px;
    margin: 24px 0;
}

.panel-content {
    background-color: #F6F3EE; /* Soft Cream panel background */
    color: #282D31;
    padding: 16px;
}

.panel-content p {
    color: #282D31;
}

.panel-item {
    padding: 0;
}

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

/* Utilities */

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