/* ===== Page Setup ===== */
html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #323232;
    text-decoration-skip-ink: auto;
}

strong {
    font-weight: 500;
    color: #000; 
}

/* ===== Accessibility ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.visually-hidden.focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 8px;
    background: #551F41;
    color: #fff;
    z-index: 10000;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #551F41;
    outline-offset: 2px;
}

/* ===== Navigation ===== */
.site-nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
}

.nav-inner {
    width: 100%;
    max-width: 1024px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}

.nav-inner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 4px;
    background-color: #000;
}

.nav-links a:focus-visible {
  outline: none;
  background-color: rgba(0,0,0,0.1);
  border-radius: 4px;
}

.hamburger {
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #551F41;
    -webkit-appearance: none;
    appearance: none;
}

/* ===== Menu ===== */
.nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;   
    right: 30px;
    background-color: #551F41;
    list-style: none;
    width: 150px;
    padding: 10px 0;   
    margin: 0;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 14px;
    display: block;
    font-size: 16px;
    line-height: 18px;
}

.nav-links li a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ===== Hero Image ===== */
.hero-image {
    display: block;
    margin: -4px auto 0 auto;
    position: relative;
    top: -4px;   
    width: calc(100% - 32px);
    max-width: 992px;
    height: auto;
    border: 4px solid #000;
    box-sizing: border-box;
}

/* ===== Main Content ===== */
.main-panel {
    background-color: #ffffff;
}

.panel-inner {
    max-width: 1024px;
    margin: 0 auto 24px;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-sizing: border-box;
    align-items: flex-start; 
}

.left-column,
.right-column {
    flex: 0 0 298px;
}

.center-column {
    flex: 1;
}

.left-column {
    text-align: justify;
}

.left-column p {
    margin-bottom: 24px;
}

.left-column p:has(+ .indented-list) {
    margin-bottom: 10px;
}

.left-column a {
    color: #323232;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(85, 31, 65, 0.35);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.left-column a:hover {
    color: #551F41;
    text-decoration-color: #551F41;
}

.left-column p:first-child {
    margin-top: 0;
}

.left-column > .heading:first-child {
    margin-top: 0;
}

.right-column {
    display: flex;
    justify-content: flex-end;
}

/* Headings */
.heading {
    font-weight: 600;
    font-size: 16px;
    margin: 24px 0;
}

/* Logo */
.logo {
    width: 298px;
    height: auto;
    display: block;
}

/* Indented List */

.indented-list {
    list-style-position: outside;
    padding-left: 16px;   /* indent */
    padding-right: 20px;  /* equal space on right */
    margin: 10px 0 16px;       /* space above/below list */
    list-style-type: disc;
}

.indented-list li {
    margin-bottom: 10px;  /* spacing between items */
    margin-left: 1em;	
}

.indented-list li:last-child {
    margin-bottom: 0;     /* remove extra gap at end */
}

.indented-list li:marker {
    color: #551F41;
} 


/* ===== Regulatory ===== */
.regulatory {
    max-width: 1024px;
    margin: 24px auto;
    padding: 24px 16px;
    font-size: 11px;
    text-align: center;
    line-height: 14px;
    color: #551F41;
    -webkit-text-size-adjust: 100%;
}

.regulatory a {
    color: #551F41;
    text-decoration: underline;
    margin-right: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) and (orientation: portrait) {

    body {
        font-size: 17px;
        line-height: 26px;
    }

    .panel-inner {
        flex-direction: column;
        padding: 0px 16px 16px;
        gap: 8px;
    }

    .left-column,
    .right-column {
        flex: none;
        width: 100%;
    }

    .center-column {
        display: none;
    }

    .right-column {
        order: -1;
        display: block;
	text-align: right;
	margin-top: 16px;
    }

    .logo {
        width: 200px;
        height: auto;
        margin-left: auto;
	margin-bottom: 16px;
    }

    .heading {
        font-size: 18px;
    }
}