body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: justify;
}

h1,
h2 {
    color: #2a7b6f;
    margin-top: 32px;
    margin-bottom: 16px;
    transition: color 0.3s;
}

h1:hover,
h2:hover {
    color: #e67e22;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

.toc {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 14px rgba(42, 123, 111, 0.09);
    padding: 14px 14px 14px 15px;
    font-size: 0.99em;
    margin-bottom: 24px;
    color: #11695a;
    margin-left: 0;
    max-width: 210px;
}

@media (min-width: 1024px) {
    .container {
        max-width: 800px;
        margin-left: calc(50vw - 400px + 30px);
        margin-right: auto;
        position: static;
        left: unset;
        transform: none;
        float: none;
    }
    .toc {
        position: fixed;
        top: 110px;
        left: 18px;
        right: auto;
        max-width: 210px;
        width: 13vw;
        z-index: 200;
        font-size: 1em;
        box-shadow: 0 2px 18px rgba(42, 123, 111, 0.13);
        margin-bottom: 0;
        margin-left: 0;
        border-radius: 12px;
        margin-right: 0;
        transition: box-shadow 0.2s;
    }
}

@media (max-width: 1023px) {
    .toc {
        display: none;
    }
    .container {
        margin-left: 0;
    }
}

.toc strong {
    display: block;
    font-size: 1.10em;
    margin-bottom: 8px;
    color: #0d7356;
}

.toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc li {
    margin-bottom: 10px;
    line-height: 1.48;
}

.toc a {
    color: #2a7b6f;
    text-decoration: none;
    font-weight: 500;
}

.toc a:hover {
    color: #e67e22;
    text-decoration: underline;
}

.review-img {
    display: block;
    margin: 32px auto 24px auto;
    max-width: 800px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(42, 123, 111, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(230, 126, 34, 0.18);
}

span,
i {
    font-size: 1.08em;
    line-height: 1.7;
    display: block;
    margin-bottom: 12px;
    transition: background 0.3s, color 0.3s;
    text-align: justify;
}

i {
    color: #2a7b6f;
    background: #eafaf1;
    padding: 8px 16px;
    border-radius: 8px;
}

span:hover,
i:hover {
    background: #fdf6e3;
    color: #e67e22;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    box-shadow: 0 2px 12px rgba(42, 123, 111, 0.07);
    border-radius: 0 0 12px 12px;
    margin-bottom: 24px;
    padding: 0 24px;
    min-height: 54px;
    gap: 32px;
    position: relative;
}

.main-nav-logo {
    font-weight: bold;
    color: #2a7b6f;
    text-decoration: none;
    font-size: 1.2em;
    margin-right: 40px;
    letter-spacing: 1px;
    transition: color 0.25s;
}

.main-nav-logo:hover {
    color: #e67e22;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 0;
}

.dropdown-toggle {
    background: transparent;
    color: #248a71;
    font-size: 1.06em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 11px 22px 11px 18px;
    border-radius: 9px;
    transition: background 0.18s, color 0.18s;
    position: relative;
}

.dropdown-toggle::after {
    content: '\25BC';
    font-size: 0.82em;
    color: #9BA7A7;
    margin-left: 8px;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-toggle,
.dropdown:focus-within .dropdown-toggle {
    background: #f7fbfa;
    color: #e67e22;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 110%;
    background: #fff;
    min-width: 225px;
    box-shadow: 0 8px 24px rgba(42, 123, 111, 0.12);
    border-radius: 12px;
    z-index: 999;
    padding: 9px 0 9px 0;
    animation: fadeInMenu 0.24s;
    margin-top: 4px;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

.dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-list li {
    margin: 0;
    padding: 0;
}

.dropdown-list a {
    display: block;
    padding: 12px 19px;
    color: #268872;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    border-radius: 7px;
    transition: background 0.16s, color 0.14s;
}

.dropdown-list a:hover,
.dropdown-list a.active {
    background: #eafaf1;
    color: #e67e22;
}

@keyframes fadeInMenu {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 700px) {
    .main-nav {
        flex-direction: column;
        gap: 7px;
        padding: 0 8vw;
        min-height: unset;
    }
    .dropdown {
        width: 100%;
    }
    .dropdown-content {
        min-width: 98vw;
        left: 0;
    }
}

img {
    display: block;
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: 32px auto 24px auto;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(42, 123, 111, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(230, 126, 34, 0.18);
}

.sapo {
    background: #f7fbfa;
    padding: 18px 18px;
    border-radius: 10px;
    margin-bottom: 28px;
    font-weight: 500;
    font-size: 1.1em;
    line-height: 1.7;
    box-shadow: 0 1px 8px rgba(42, 123, 111, 0.07);
    color: #23584b;
}

@media (max-width: 640px) {
    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 8px 8vw;
        min-height: unset;
    }
    .main-nav-logo {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .main-nav-list {
        gap: 14px;
    }
    .container {
        border-radius: 10px;
        padding: 12px 4vw;
    }
}

@media (max-width: 850px) {
    .container {
        max-width: 98vw;
        padding: 12px;
    }
    .review-img {
        max-width: 98vw;
    }
}