:root {
    --bacon-red: #c04040;
    --bacon-fat: #f8d8b8;
    --bacon-dark: #a03030;
    --bacon-crispy: #e07050;
    --pan-color: #8b7355;
    --pan-dark: #6b5a45;
    --egg-yolk: #ffd700;
    --egg-white: #f8f8f8;
    --greens: #2e8b57;
    --text-color: #4a3c2c;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5e9d8;
    background-image: 
        repeating-linear-gradient(
            45deg,
            rgba(192, 64, 64, 0.05) 0px,
            rgba(192, 64, 64, 0.05) 2px,
            transparent 2px,
            transparent 4px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(139, 115, 85, 0.05) 0px,
            rgba(139, 115, 85, 0.05) 2px,
            transparent 2px,
            transparent 4px
        );
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, 
            rgba(139, 115, 85, 0.1) 1px, 
            transparent 1px),
        linear-gradient(to bottom, 
            rgba(139, 115, 85, 0.1) 1px, 
            transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: var(--bacon-dark);
    transition: var(--transition);
    font-weight: bold;
}

a:hover {
    color: var(--bacon-crispy);
    text-decoration: underline;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: var(--bacon-dark);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
}

h1 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 10px;
}

h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--bacon-dark), 
        var(--bacon-red), 
        var(--bacon-fat));
    border-radius: 2px;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    text-align: justify;
    margin-bottom: 0.5rem;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.1);
}

ul li {
    position: relative;
    padding-left: 10px;
}

ul li::before {
    content: "";
    color: var(--bacon-red);
    font-weight: bold;
    position: absolute;
    left: -15px;
    text-shadow: 1px 1px 2px rgba(192, 64, 64, 0.3);
}

ol {
    counter-reset: item;
}

ol li {
    counter-increment: item;
    position: relative;
    padding-left: 10px;
}

ol li::before {
    content: "";
    color: var(--bacon-red);
    font-weight: bold;
    position: absolute;
    left: -25px;
    min-width: 20px;
    text-align: right;
    text-shadow: 1px 1px 2px rgba(192, 64, 64, 0.3);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#topblock {
    background: linear-gradient(90deg,
        var(--bacon-fat) 0%,
        var(--bacon-fat) 25%,
        var(--bacon-red) 25%,
        var(--bacon-red) 50%,
        var(--bacon-fat) 50%,
        var(--bacon-fat) 75%,
        var(--bacon-red) 75%,
        var(--bacon-red) 100%);
    color: var(--text-color);
    padding: 15px 0;
    border-bottom: 4px solid var(--pan-dark);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

#topblock::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 5px,
        rgba(160, 48, 48, 0.2) 5px,
        rgba(160, 48, 48, 0.2) 6px
    );
    z-index: 1;
    pointer-events: none;
}

#donntu {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    position: relative;
    z-index: 2;
}

#donntu a {
    color: var(--text-color);
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    background-color: rgba(248, 216, 184, 0.8);
    border: 2px solid var(--pan-color);
    transition: var(--transition);
    position: relative;
    z-index: 3;
}

#donntu a:hover {
    background-color: rgba(192, 64, 64, 0.8);
    color: white;
    transform: translateY(-2px);
    border-color: var(--bacon-dark);
}

#header {
    display: flex;
    align-items: center;
    padding: 25px;
    background: linear-gradient(to bottom, #a09078, #8b7355);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 30px 0;
    border: 5px solid var(--pan-dark);
    position: relative;
    overflow: hidden;
}

#header::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid rgba(139, 115, 85, 0.5);
    border-radius: calc(var(--border-radius) - 3px);
    pointer-events: none;
}

#photomag {
    flex: 0 0 180px;
    margin-right: 30px;
}

#photomag img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 3px solid var(--bacon-fat);
}

#photomag img:hover {
    transform: scale(1.05);
}

#headertext h1 {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#headertext h1::after {
    background: linear-gradient(90deg, 
        var(--bacon-fat), 
        var(--egg-yolk));
}

#headertext h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--bacon-fat);
    padding: 5px 10px;
    background-color: rgba(160, 48, 48, 0.7);
    border-radius: 4px;
    display: inline-block;
    border: 1px solid var(--bacon-fat);
}

#centermenu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.button {
    display: block;
    padding: 14px 28px;
    background: linear-gradient(135deg,
        var(--bacon-red) 0%,
        var(--bacon-red) 40%,
        var(--bacon-fat) 40%,
        var(--bacon-fat) 60%,
        var(--bacon-red) 60%,
        var(--bacon-red) 100%);
    color: white;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    transition: var(--transition);
    min-width: 180px;
    border: 3px solid var(--pan-dark);
    box-shadow: 0 5px 0 var(--pan-dark),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    text-shadow: 
        0 0 3px rgba(0, 0, 0, 0.9),
        0 0 5px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.3px;
    text-decoration: none;
}

.button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(224, 112, 80, 0.3) 5px,
        rgba(224, 112, 80, 0.3) 6px
    );
}

.button:hover {
    background: linear-gradient(135deg,
        var(--bacon-dark) 0%,
        var(--bacon-dark) 40%,
        var(--bacon-fat) 40%,
        var(--bacon-fat) 60%,
        var(--bacon-dark) 60%,
        var(--bacon-dark) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 0 var(--pan-dark),
                0 4px 15px rgba(192, 64, 64, 0.4);
    color: white;
    text-shadow:
        0 0 3px rgba(0, 0, 0, 0.9),
        0 0 5px rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

.colorfix {
    background: linear-gradient(135deg,
        var(--greens) 0%,
        var(--greens) 40%,
        #4ca771 40%,
        #4ca771 60%,
        var(--greens) 60%,
        var(--greens) 100%);
    border-color: #1e6b3b;
    box-shadow: 0 5px 0 #1e6b3b;
    text-shadow: 
        0 0 3px rgba(0, 0, 0, 0.9),
        0 0 5px rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

.another {
	color: #f8d8b8;
}

.colorfix:hover {
    background: linear-gradient(135deg,
        #1e6b3b 0%,
        #1e6b3b 40%,
        #4ca771 40%,
        #4ca771 60%,
        #1e6b3b 60%,
        #1e6b3b 100%);
    box-shadow: 0 8px 0 #1e6b3b,
                0 4px 15px rgba(46, 139, 87, 0.4);
    color: white;
    text-shadow: 
        0 0 3px rgba(0, 0, 0, 0.9),
        0 0 5px rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

#maintext {
    background: linear-gradient(to bottom, #f8f8f8, #f0f0f0);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    border: 8px solid var(--pan-color);
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(248, 216, 184, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 90% 90%, rgba(248, 216, 184, 0.3) 1px, transparent 1px);
    background-size: 30px 30px;
}

#maintext::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--pan-dark);
    border-radius: calc(var(--border-radius) + 2px);
    pointer-events: none;
}

hr {
    border: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--bacon-fat) 20%, 
        var(--bacon-red) 50%, 
        var(--bacon-fat) 80%, 
        transparent);
    margin: 25px 0;
    border-radius: 2px;
}

.video-container {
	position: relative;
	width: 250px;
	height: 250px;
	margin: 10px auto;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
	cursor: pointer;
	border: 3px solid rgb(160, 48, 48);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
	transform: scale(1.05); 
	box-shadow: 0 8px 25px rgba(0,0,0,0.3); 
}

.video-preview {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s;
	z-index: 2;
}

.video-preview:hover {
	opacity: 0.9;
}

.video-player {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: none; 
	z-index: 1;
}

.video-container.playing .video-preview {
	display: none;
}

.video-container.playing .video-player {
	display: block; 
}

.video-player {
	pointer-events: auto; 
}

#resume {
    width: 100%;
    border-collapse: collapse;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--pan-color);
}

#resume tr {
    border-bottom: 1px solid var(--bacon-fat);
}

#resume tr:last-child {
    border-bottom: none;
}

#resume td {
    padding: 18px 15px;
    vertical-align: top;
}

#resume td.c1 {
    width: 25%;
    font-weight: bold;
    color: var(--bacon-dark);
    background-color: rgba(192, 64, 64, 0.1);
    border-right: 2px solid var(--bacon-fat);
    font-size: 1.05rem;
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
}

#resume td.c2 {
    width: 75%;
    background-color: rgba(248, 216, 184, 0.1);
}

.even td {
    background-color: rgba(139, 115, 85, 0.05);
}

.even td.c1 {
    background-color: rgba(139, 115, 85, 0.1);
}

.lib {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px dashed var(--bacon-fat);
    position: relative;
}

.lib:last-child {
    border-bottom: none;
}

.lib::before {
    position: absolute;
    left: -30px;
    font-size: 1.2rem;
    top: 0;
}

.lib a {
    color: var(--bacon-dark);
    font-weight: bold;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
    padding: 3px 15px;
    border-radius: 4px;
    background-color: rgba(192, 64, 64, 0.05);
    transition: var(--transition);
    border-left: 4px solid var(--bacon-red);
}

.lib a:hover {
    color: var(--bacon-crispy);
    background-color: rgba(224, 112, 80, 0.1);
    transform: translateX(5px);
}

.cat {
    font-weight: bold;
    display: inline-block;
    padding: 6px 12px;
}

.warning {
    background-color: rgba(192, 64, 64, 0.15);
    color: var(--text-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    border-left: 6px solid var(--bacon-dark);
    position: relative;
    border: 2px solid rgba(192, 64, 64, 0.3);
}

.warning::before {
    position: absolute;
    top: -15px;
    left: -15px;
    font-size: 24px;
    background: var(--bacon-red);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.warning b {
    color: var(--bacon-dark);
    font-size: 1.2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg,
        var(--bacon-red),
        var(--bacon-dark));
    color: white;
    border-radius: 4px;
    font-weight: bold;
    transition: var(--transition);
    border: 2px solid var(--pan-dark);
    box-shadow: 0 4px 0 var(--pan-dark);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--pan-dark);
    background: linear-gradient(135deg,
        var(--bacon-dark),
        var(--bacon-red));
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}

.article_name {
    font-size: 2rem;
    color: var(--bacon-dark);
    margin-bottom: 15px;
    text-align: center;
    padding: 15px;
    background-color: rgba(248, 216, 184, 0.3);
    border-radius: var(--border-radius);
    border: 3px solid var(--bacon-fat);
    position: relative;
    background-image: 
        linear-gradient(45deg, 
            transparent 45%, 
            rgba(192, 64, 64, 0.1) 45%, 
            rgba(192, 64, 64, 0.1) 55%, 
            transparent 55%),
        linear-gradient(-45deg, 
            transparent 45%, 
            rgba(192, 64, 64, 0.1) 45%, 
            rgba(192, 64, 64, 0.1) 55%, 
            transparent 55%);
}

.article_author, .article_university {
    text-align: center;
    color: var(--bacon-dark);
    margin-bottom: 5px;
    font-weight: bold;
}

.article_source {
    background-color: rgba(248, 216, 184, 0.3);
    padding: 18px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    border-left: 6px solid var(--bacon-red);
    font-style: italic;
    border: 1px solid var(--bacon-fat);
}

.non_scientific {
    text-indent: 1.5em;
    text-align: justify;
    line-height: 1.7;
}

.figure {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    background-color: rgba(139, 115, 85, 0.1);
    border-radius: var(--border-radius);
    border: 3px solid var(--pan-color);
}

.figure img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    border: 4px solid var(--bacon-fat);
}

.figure-caption {
    margin-top: 12px;
    font-style: italic;
    color: var(--bacon-dark);
    font-weight: bold;
}

.reference {
    color: var(--bacon-dark);
    font-weight: bold;
    border-bottom: 1px dashed var(--bacon-red);
}

.comment {
    background-color: rgba(248, 216, 184, 0.4);
    color: var(--text-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    line-height: 1.6;
    border: 3px solid var(--bacon-red);
    position: relative;
}

.comment::before {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 24px;
    background: var(--bacon-red);
    color: white;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.comment a {
    color: var(--bacon-dark);
    text-decoration: underline;
    font-weight: bold;
}

.content {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(145deg, 
        rgba(248, 216, 184, 0.9) 0%, 
        rgba(255, 240, 230, 0.95) 100%);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 
        0 4px 20px rgba(160, 48, 48, 0.12),
        0 2px 6px rgba(139, 115, 85, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(192, 64, 64, 0.2);
    position: relative;
    overflow: hidden;
}

.content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(224, 112, 80, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(224, 112, 80, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.content li {
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 16px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    padding: 12px 16px;
    box-shadow: 0 2px 6px rgba(139, 115, 85, 0.08);
}

.content li:hover {
    border-left-color: var(--bacon-red);
    transform: translateX(5px);
    box-shadow: 
        0 4px 12px rgba(192, 64, 64, 0.15),
        0 0 0 1px rgba(224, 112, 80, 0.2);
}

.ct1 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px !important;
    padding: 14px 18px;
    background: linear-gradient(90deg,
        rgba(192, 64, 64, 0.1) 0%,
        rgba(248, 216, 184, 0.3) 20%,
        rgba(248, 216, 184, 0.3) 80%,
        rgba(192, 64, 64, 0.1) 100%);
    border-radius: 8px;
    border-left: 4px solid var(--bacon-red);
    border-top: 1px solid rgba(192, 64, 64, 0.2);
    border-right: 1px solid rgba(248, 216, 184, 0.4);
    border-bottom: 1px solid rgba(248, 216, 184, 0.4);
    box-shadow: 
        0 3px 8px rgba(160, 48, 48, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.ct1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 8px,
        rgba(192, 64, 64, 0.05) 8px,
        rgba(192, 64, 64, 0.05) 10px
    );
    pointer-events: none;
    z-index: 0;
}

.ct1:hover {
    background: linear-gradient(90deg,
        rgba(192, 64, 64, 0.15) 0%,
        rgba(248, 216, 184, 0.4) 20%,
        rgba(248, 216, 184, 0.4) 80%,
        rgba(192, 64, 64, 0.15) 100%);
    box-shadow: 
        0 5px 15px rgba(192, 64, 64, 0.18),
        0 2px 5px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.content li {
    animation: fadeIn 0.5s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.05s);
    opacity: 0;
}

.ct1::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 12px;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, var(--bacon-crispy) 40%, transparent 70%);
    border-radius: 50%;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.ct1:hover::after {
    transform: scale(1.3);
    opacity: 0.7;
}

.ct1 a {
    position: relative;
    padding-left: 30px;
}

.ct1 a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--bacon-red), var(--bacon-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75em;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', sans-serif;
}

.content li:nth-child(odd):hover {
    border-left-color: var(--bacon-red);
    background: rgba(255, 248, 240, 0.95);
}

.content li:nth-child(even):hover {
    border-left-color: var(--bacon-crispy);
    background: rgba(248, 240, 235, 0.95);
}

.content li:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(139, 115, 85, 0.1);
}

.ct2 {
    font-size: 15px;
    font-weight: 400;
    color: var(--bacon-dark);
    margin-left: 24px;
    margin-bottom: 8px !important;
    padding: 10px 16px;
    background: linear-gradient(90deg,
        rgba(248, 216, 184, 0.4) 0%,
        rgba(255, 248, 240, 0.7) 100%);
    border-radius: 6px;
    border-left: 3px solid var(--bacon-fat);
    box-shadow: 
        0 2px 5px rgba(139, 115, 85, 0.06),
        inset 0 1px 1px rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.ct2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, 
            rgba(224, 112, 80, 0.03) 2px, 
            transparent 2px),
        radial-gradient(circle at 80% 70%, 
            rgba(224, 112, 80, 0.03) 2px, 
            transparent 2px);
    background-size: 20px 20px;
    pointer-events: none;
}

.ct2:hover {
    background: linear-gradient(90deg,
        rgba(248, 216, 184, 0.6) 0%,
        rgba(255, 248, 240, 0.9) 100%);
    color: var(--bacon-dark);
    box-shadow: 
        0 3px 10px rgba(224, 112, 80, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
    transform: translateX(3px);
    border-left-color: var(--bacon-crispy);
}

.content a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    position: relative;
    padding-right: 28px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.content a::after {
    content: ">";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bacon-crispy);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.3em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.content li:hover a::after {
    opacity: 1;
    transform: translateY(-50%) translateX(3px);
    color: var(--bacon-red);
}

.ct1 a {
    color: var(--bacon-dark);
    text-shadow: 0.5px 0.5px 1px rgba(255, 255, 255, 0.8);
}

.ct1:hover a {
    color: var(--bacon-red);
    text-shadow: 0.5px 0.5px 1px rgba(255, 255, 255, 0.9);
}

.ct2 a {
    color: var(--bacon-dark);
}

.ct2:hover a {
    color: var(--bacon-dark);
}

.content li:not(:last-child) {
    border-bottom: 1px solid rgba(192, 64, 64, 0.15);
    padding-bottom: 12px;
}

.content li:last-child {
    margin-bottom: 0;
}

.itl {
    font-style: italic;
    font-weight: bold;
    color: var(--bacon-dark);
    background-color: rgba(192, 64, 64, 0.1);
    padding: 0 5px;
    border-radius: 3px;
}

.img {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    background-color: rgba(248, 216, 184, 0.3);
    border-radius: var(--border-radius);
    border: 3px solid var(--bacon-fat);
}

.img img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    border: 4px solid white;
}

.imgcaption {
    margin-top: 12px;
    font-style: italic;
    color: var(--bacon-dark);
    font-weight: bold;
}

#menub {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(to bottom, #a09078, #8b7355);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    border: 5px solid var(--pan-dark);
    box-shadow: var(--box-shadow);
    position: relative;
}

#menub::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px dashed rgba(248, 216, 184, 0.5);
    border-radius: calc(var(--border-radius) - 3px);
    pointer-events: none;
}

.mitemb {
    text-decoration: none;
    padding: 12px 24px;
    background: linear-gradient(135deg,
        var(--bacon-red) 0%,
        var(--bacon-red) 30%,
        var(--bacon-fat) 30%,
        var(--bacon-fat) 70%,
        var(--bacon-red) 70%,
        var(--bacon-red) 100%);
    border-radius: 4px;
    box-shadow: 0 4px 0 var(--pan-dark);
    font-weight: bold;
    transition: var(--transition);
    border: 2px solid var(--bacon-dark);
    color: white;
    text-align: center;
    min-width: 140px;
    text-shadow: 
        0 0 2px rgba(0, 0, 0, 0.9),
        0 0 4px rgba(0, 0, 0, 0.7),
        1px 1px 3px rgba(0, 0, 0, 0.8),
        -1px -1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: 0.3px;
}

.mitemb:hover {
    text-decoration: none;
    background: linear-gradient(135deg,
        var(--bacon-dark) 0%,
        var(--bacon-dark) 30%,
        var(--bacon-fat) 30%,
        var(--bacon-fat) 70%,
        var(--bacon-dark) 70%,
        var(--bacon-dark) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 0 var(--pan-dark);
    color: #fff;
    text-shadow: 
        0 0 3px rgba(0, 0, 0, 0.95),
        0 0 6px rgba(0, 0, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.9),
        -1px -1px 0 rgba(255, 255, 255, 0.3);
}

.table-caption {
    text-align: right;
    font-style: italic;
    margin-top: 5px;
    color: var(--bacon-dark);
    padding-right: 10px;
    font-weight: bold;
}

.smoke {
    position: fixed;
    z-index: -1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.smoke:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.smoke:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

.smoke:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 5%;
    animation-delay: 10s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.05;
    }
    100% {
        transform: translateY(-200px) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 992px) {
    #header {
        flex-direction: column;
        text-align: center;
    }
    
    #photomag {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .smoke {
        display: none;
    }
}

@media (max-width: 768px) {
    #centermenu {
        flex-direction: column;
        align-items: center;
    }
    
    .button {
        width: 90%;
        min-width: auto;
    }
    
    #menub {
        flex-direction: column;
        align-items: center;
    }
    
    .mitemb {
        width: 90%;
        min-width: auto;
    }
    
    #resume td.c1, #resume td.c2 {
        display: block;
        width: 100%;
    }
    
    #resume td.c1 {
        padding-bottom: 10px;
        border-bottom: 2px solid var(--bacon-fat);
        border-right: none;
    }
    
    #resume td.c2 {
        padding-top: 10px;
    }
    
    .article_name {
        font-size: 1.6rem;
    }
    
    .lib a {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .button, .mitemb, .back-link {
        text-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.7);
    }
    
    li {
        text-shadow: none;
    }
    
    ul li::before,
    ol li::before {
        text-shadow: none;
    }
	
	.content {
        padding: 16px;
        border-radius: 10px;
        margin: 12px;
    }
    
    .ct1 {
        font-size: 16px;
        padding: 12px 14px;
        margin-left: 0 !important;
    }
    
    .ct2 {
        font-size: 14px;
        margin-left: 20px;
        padding: 8px 14px;
    }
    
    .content a {
        padding-right: 24px;
    }
    
    .content a::after {
        right: 0;
        font-size: 1.2em;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    #headertext h1 {
        font-size: 1.8rem;
    }
    
    #headertext h3 {
        font-size: 1rem;
    }
    
    .button {
        width: 100%;
        padding: 12px 20px;
    }
    
    #header {
        padding: 20px;
    }
    
    #photomag {
        flex: 0 0 140px;
    }
    
    #donntu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .lib::before {
        left: -20px;
    }
    
    .button, .mitemb, .back-link {
        text-shadow: 0.3px 0.3px 1px rgba(0, 0, 0, 0.7);
    }
}