body {
    font-family: 'Noto Sans KR', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

#toc-container {
    transition: all 0.3s ease-in-out;
}

#toc-container:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

#toc-list a {
    color: #4338ca; /* indigo-700 */
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

#toc-list a:hover {
    color: #312e81; /* indigo-900 */
    text-decoration: underline;
}

#toc-list .toc-h3 {
    padding-left: 1.5rem;
    font-size: 0.95em;
    position: relative;
}

#toc-list .toc-h3::before {
    content: '└';
    position: absolute;
    left: 0.5rem;
    color: #6366f1; /* indigo-500 */
}


.expert-tip {
    background-color: #fefce8; /* yellow-50 */
    border-left-width: 4px;
    border-color: #facc15; /* yellow-400 */
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.25rem;
    font-size: 1em;
}

.expert-tip p {
    margin: 0.5rem 0 !important;
}

article a {
    color: #4f46e5;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

article a:hover {
    color: #312e81;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

th, td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb; /* gray-200 */
    text-align: left;
}

th {
    background-color: #f9fafb; /* gray-50 */
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background-color: #f9fafb; /* gray-50 */
}

td:nth-child(2) {
    text-align: right;
}

td:nth-child(3) {
    text-align: center;
    color: #6b7280; /* gray-500 */
    font-size: 0.9em;
}

/* Aspect ratio for video embed */
.aspect-w-16 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.aspect-h-9 {
    /* No-op, used with aspect-w-16 */
}

.aspect-w-16 > iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
