h1 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .title-container {
        flex-direction: column;
    }
}

.title-container > a {
    border-radius: 15px;
    border: none;
    padding: 15px 40px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #8066ea 0%, #674ba2 100%);
}

h2 {
    font-size: 1.8rem;
    color: #374151;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.no-border {
    border-bottom: none;
}

h3 {
    font-size: 1.4rem;
    color: #4b5563;
    margin-top: 30px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

h4 {
    font-size: 1.3rem;
    color: #5a6b7a;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-left: 30px;
    position: relative;
    padding-left: 14px;
}

h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

h3 a,
h4 a {
    color: inherit;
    text-decoration: inherit;
    border-radius: 6px;
    padding: 2px 4px;
    transition: background-color 300ms ease;
}

h3 a:hover,
h3 a:focus,
h4 a:hover,
h4 a:focus {
    background-color: rgba(102, 126, 234, 0.056);
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
}

img {
    display: block;
    max-width: 100%;
    max-height: 900px;
    object-fit: contain;
    margin: auto;
}

figcaption {
    font-size: 1rem;
    line-height: 1.8;
    color: #3e4650;
    text-align: center;
    vertical-align: text-top;
    margin: 0px 20px;
}

.illustration-title {
    color: #5a6b7a;
	font-size: 1.4rem;
	font-weight: bold;
	text-align: center;
	padding-bottom: 15px;
}

.indent {
    margin-left: 2em;
}

.no-bottom-margin {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .indent {
        margin-left: 0;
    }
}


.highlight-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left: 4px solid #667eea;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: #374151;
    font-style: italic;
}

.illustrated-paragraph {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.illustrated-paragraph--left {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin: 40px 0;
}

.illustrated-paragraph > a,
.illustrated-paragraph--left > a,
.illustrated-paragraph > img,
.illustrated-paragraph--left > img {
    display: grid;
    place-items: center;
}

.illustrated-paragraph--left > figure,
.illustrated-paragraph > figure {
    display: grid;
    place-items: center;
    margin: auto;
}

.illustrated-paragraph--left > figure > img,
.illustrated-paragraph > figure > img {
    padding-bottom: 10px;
}

.illustrated-paragraph--left img,
.illustrated-paragraph img {
    margin: auto;
    border-radius: 5%;
}

.illustrated-paragraph > table {
    align-self: center;
}

.illustrated-paragraph h3,
.illustrated-paragraph h4 {
    margin-top: 0;
}

@media (max-width: 1240px) {
    .illustrated-paragraph,
    .illustrated-paragraph--left {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .illustrated-paragraph-text {
        display: contents;
    }
    
    .illustrated-paragraph > .illustrated-paragraph-text > h4,
    .illustrated-paragraph--left > .illustrated-paragraph-text > h4,
    .illustrated-paragraph--left > .illustrated-paragraph-text > h3,
    .illustrated-paragraph > .illustrated-paragraph-text > h3{
        order: 1;
    }
    
    .illustrated-paragraph > a,
    .illustrated-paragraph > figure,
    .illustrated-paragraph > img,
    .illustrated-paragraph--left > a,
    .illustrated-paragraph--left > figure,
    .illustrated-paragraph--left > img {
        order: 2;
    }
    
    .illustrated-paragraph > .illustrated-paragraph-text > div,
    .illustrated-paragraph > .illustrated-paragraph-text > p,
    .illustrated-paragraph--left > .illustrated-paragraph-text > div,
    .illustrated-paragraph--left > .illustrated-paragraph-text > p {
        order: 3;
    }

    .illustrated-paragraph > table,
    .illustrated-paragraph--left > table {
        order: 4;
    }
}

ul {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
    margin-left: 20px;
}

ol {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
    margin-left: 20px;
}

.browser-warning {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px 20px;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 600px;
    text-align: center;
}

.browser-warning > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 0;
    text-align: center;
}

table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

th {
    padding: 16px;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

td {
    padding: 14px 16px;
    color: #333;
}

tbody tr:hover {
    background-color: #f9fafb;
    transition: background-color 0.2s ease;
}
