
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    background-image: url("../images/linen_optimized_1600w.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;

    font-family: "Times New Roman", Times, serif;
    color: #222;
    line-height: 1.7;
    font-size: 17px;  
}


.wrapper, .container { 
    max-width: 1100px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.93);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    background-color: #e0d8cf; 
    color: #111;
    padding: 48px 20px;
    text-align: center;
    border-bottom: 1px solid #d2c9c0;
}


header .site-title h1 {
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 0.08em;
    font-variant: small-caps;
    margin-bottom: 6px;
}

header .tagline {
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.04em;
    font-variant: small-caps;
    color: #222;
}


nav {
    background-color: #1f1f1f;
    border-bottom: 1px solid #333;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column; 
}

nav li {
    border-top: 1px solid #333;
}

nav li:first-child {
    border-top: none;
}

nav a {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    color: #f6f6f6;
    font-size: 0.9rem;
    font-variant: small-caps;
    letter-spacing: 0.18em; 
    text-align: center;
}

nav a:hover,
nav a:focus {
    background-color: #333;
    text-decoration: none;
}


main {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 25px;
}


.content {
    flex: 2;
}

.sidebar {
    flex: 1;
    background-color: rgba(250, 250, 250, 0.9);
    border-left: 3px solid #e6e0da;
    padding: 18px;
}


h1, h2, h3 {
    color: #111;
    font-variant: small-caps;
    letter-spacing: 0.06em;
}

h2 {
    margin-bottom: 12px;
    font-size: 1.6rem;
}

h3 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 1.15rem;
}


p {
    margin-bottom: 12px;
    font-size: 1rem;
}


.content ul,
.content ol,
.sidebar ul {
    margin-left: 22px;
    margin-bottom: 12px;
}

.content li,
.sidebar li {
    margin-bottom: 6px;
}


figure {
    margin: 18px 0;
}

figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12); 
    border: 1px solid #eee;
}

figure figcaption {
    font-size: 0.9rem;
    color: #444;
    margin-top: 6px;
    letter-spacing: 0.02em;
}

.content a,
.sidebar a,
footer a {
    color: #004f7a;
    text-decoration: none;
}

.content a:hover,
.sidebar a:hover,
footer a:hover {
    text-decoration: underline;
}


footer {
    margin-top: auto;
    background-color: #1f1f1f;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 10px 18px;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

footer .footer-links {
    margin-top: 6px;
}


@media (min-width: 700px) {

    nav ul {
        flex-direction: row;
        justify-content: center;
    }

    nav li {
        border-top: none;
        border-right: 1px solid #333;
    }

    nav li:last-child {
        border-right: none;
    }

    nav a {
        padding: 12px 18px;
    }

    main {
        flex-direction: row;
        align-items: flex-start;
    }

    .content {
        padding-right: 22px;
    }

    .sidebar {
        max-width: 300px;
    }
}

img {
    display: block;       
    margin-left: auto;
    margin-right: auto;   
   max-width: 100%;
	height: auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;   
    height: 0;
    overflow: hidden;

    max-width: 75%;           
    margin: 0 auto;          
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;

	}

	.banner img {
    width: 100%;
    height: auto;
    display: block;
}


	