.blog-section{
padding:60px 0;
}


.blog-categories{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-bottom:40px;
}

.blog-cat-btn{
padding:7px 18px;
border-radius:50px;
font-size:13px;
font-weight:600;
color:#888;
border:1px solid #2a2a2a;
background:transparent;
text-decoration:none;
transition:all 0.2s;
}

.blog-cat-btn:hover{
color:#fff;
border-color:#3a3a3a;
text-decoration:none;
}

.blog-cat-btn.active{
background:#de1b1c;
border-color:#de1b1c;
color:#fff;
}


.blog-grid{
display:flex;
flex-direction:column;
gap:20px;
margin-bottom:40px;
}


.blog-card{
border-top:1px solid #661720;
border-bottom:1px solid #661720;
overflow:hidden;
transition:border-color .2s,transform .2s;
display:flex;
flex-direction:row;
min-height:unset;
max-height:285px;
padding:1rem;
}

.blog-card:hover{
border-color:#fdffdb;
transform:translateY(-4px);
}

.blog-card-image{
display:block;
width:100%;
height:auto;
min-width:280px;
max-width:400px;
overflow:hidden;
}

.blog-card-image img{
width:100%;
height:100%;
object-fit:cover;
transition:transform 0.3s;
}

.blog-card:hover .blog-card-image img{
transform:scale(1.05);
}

.blog-card-body{
padding:24px;
flex:1;
display:flex;
flex-direction:column;
}

.blog-card-meta{
display:flex;
align-items:center;
gap:12px;
margin-bottom:12px;
}

.blog-card-category{
background:rgba(222,27,28,.15);
color:#de1b1c;
font-size:11px;
font-weight:600;
text-transform:uppercase;
letter-spacing:0.5px;
padding:3px 10px;
border-radius:4px;
}

.blog-card-date{
color:#555;
font-size:12px;
}

.blog-card-title{
font-size:18px;
font-weight:600;
margin-bottom:10px;
line-height:1.4;
}

.blog-card-title a{
color:#FDFFDB;
text-decoration:none;
transition:color 0.2s;
}

.blog-card-title a:hover{
color:#de1b1c;
}

.blog-card-excerpt{
color:#888;
font-size:14px;
line-height:1.7;
margin-bottom:16px;
flex:1;
}

.blog-card-link{
color:#de1b1c;
font-size:13px;
font-weight:600;
text-decoration:none;
transition:color 0.2s;
margin-top:auto;
}

.blog-card-link:hover{
color:#ff3333;
text-decoration:none;
}


.blog-empty{
text-align:center;
padding:80px 0;
color:#555;
font-size:16px;
}


.blog-pagination{
display:flex;
justify-content:center;
margin-top:20px;
}


.blog-post-layout{
display:grid;
grid-template-columns:1fr 300px;
gap:50px;
align-items:flex-start;
}

.blog-post-full{
grid-template-columns:1fr;
}



.blog-post-title{
font-size:3rem;
font-weight:700;
color:#FDFFDB;
margin-bottom:20px;
line-height:1.3;
}

.blog-post-cover-wrap{
position:relative;
margin-bottom:30px;
}

.blog-post-cover{
width:100%;
border-radius:10px;
aspect-ratio:16/9;
object-fit:cover;
display:block;
}

.blog-post-cover-caption{
font-size:0.82rem;
color:#666;
margin-top:10px;
padding-left:12px;
border-left:2px solid #de1b1c;
font-style:italic;
line-height:1.5;
}


.blog-post-meta{
display:flex;
align-items:center;
gap:12px;
margin-bottom:30px;
padding-bottom:20px;
border-bottom:1px solid #2a2a2a;
}


.blog-post-content{
color:#ccc;
font-size:16px;
line-height:1.8;
}

.blog-content-header{
color:#FDFFDB;
margin:40px 0 15px;
font-weight:600;
}

.blog-content-p{
margin-bottom:20px;
color:#ccc;
}

.blog-content-list{
margin:0 0 20px 20px;
color:#ccc;
}

.blog-content-list li{
margin-bottom:8px;
line-height:1.7;
}

.blog-content-quote{
background:#1e1e1e;
border:1px solid #3a3a3a;
border-left:3px solid #de1b1c;
border-radius:0 8px 8px 0;
padding:18px 20px;
margin:20px 0;
color:#ccc;
font-style:italic;
}

.blog-content-delimiter{
border:none;
border-top:1px solid #2a2a2a;
margin:30px 0;
}


article.blog-post .blog-post-content h2{
font-family:"Jost",sans-serif;
font-size:clamp(1.4rem,2.5vw,2rem);
font-weight:500;
color:#FDFFDB;
line-height:1.2;
margin:52px 0 18px;
}
article.blog-post .blog-post-content h3{
font-family:"Jost",sans-serif;
font-size:clamp(1.1rem,1.8vw,1.4rem);
font-weight:500;
color:#FDFFDB;
margin:36px 0 12px;
}
article.blog-post .blog-post-content p{
font-family:"Open Sans",sans-serif;
font-size:1rem;
color:#ccc;
line-height:1.85;
margin-bottom:20px;
}
article.blog-post .blog-post-content strong{
color:#FDFFDB;
font-weight:600;
}
article.blog-post .blog-post-content em{
font-style:italic;
color:#FDFFDB;
}
article.blog-post .blog-post-content s{
opacity:0.6;
}
article.blog-post .blog-post-content a{
color:#de1b1c;
text-decoration:none;
border-bottom:1px solid rgba(222,27,28,0.35);
transition:color 0.2s,border-color 0.2s;
}
article.blog-post .blog-post-content a:hover{
color:#ff3333;
border-bottom-color:#ff3333;
}
article.blog-post .blog-post-content blockquote{
margin:36px 0;
padding:20px 28px;
border-left:3px solid #de1b1c;
background:#1e1e1e;
}
article.blog-post .blog-post-content blockquote p{
font-style:italic;
color:#FDFFDB;
margin:0;
line-height:1.65;
}
article.blog-post .blog-post-content ul,
article.blog-post .blog-post-content ol{
margin:18px 0 20px 0;
padding-left:24px;
}
article.blog-post .blog-post-content li{
font-family:"Open Sans",sans-serif;
font-size:1rem;
color:#ccc;
line-height:1.8;
margin-bottom:8px;
padding-left:16px;
position:relative;
list-style:none;
}
article.blog-post .blog-post-content ul li::before{
content:"—";
position:absolute;
left:-10px;
color:#de1b1c;
}
article.blog-post .blog-post-content ol{
counter-reset:li;
}
article.blog-post .blog-post-content ol li{
counter-increment:li;
padding-left:28px;
}
article.blog-post .blog-post-content ol li::before{
content:counter(li,decimal-leading-zero);
position:absolute;
left:0;
color:#de1b1c;
font-size:0.9rem;
font-weight:600;
top:5px;
}
article.blog-post .blog-post-content hr{
border:none;
height:1px;
background:#2a2a2a;
margin:48px 0;
}
article.blog-post .blog-post-content pre{
background:#141414;
border:1px solid #2a2a2a;
border-radius:4px;
padding:20px 24px;
margin:28px 0;
overflow-x:auto;
}
article.blog-post .blog-post-content pre code{
font-family:'Courier New',Courier,monospace;
font-size:0.9rem;
color:#c8c8c8;
line-height:1.7;
white-space:pre-wrap;
word-break:break-word;
}
article.blog-post .blog-post-content table{
width:100%;
border-collapse:collapse;
margin:28px 0;
font-size:0.95rem;
border:1px solid #2a2a2a;
}
article.blog-post .blog-post-content th{
text-align:left;
color:#FDFFDB;
font-weight:600;
padding:11px 15px;
border-bottom:2px solid #de1b1c;
border-right:1px solid #2a2a2a;
font-size:0.88rem;
letter-spacing:0.05em;
text-transform:uppercase;
background:#1a1a1a;
}
article.blog-post .blog-post-content th:last-child{
border-right:none;
}
article.blog-post .blog-post-content td{
padding:11px 15px;
color:#ccc;
border-bottom:1px solid #2a2a2a;
border-right:1px solid #2a2a2a;
line-height:1.6;
}
article.blog-post .blog-post-content td:last-child{
border-right:none;
}
article.blog-post .blog-post-content tr:last-child td{
border-bottom:none;
}
article.blog-post .blog-post-content tbody tr:nth-child(even) td{
background:#141414;
}
article.blog-post .blog-post-content tbody tr:hover td{
background:#1e1e1e;
color:#FDFFDB;
}
article.blog-post .blog-post-content table p,
article.blog-post .blog-post-content table h2,
article.blog-post .blog-post-content table h3{
margin:0;
}
article.blog-post .blog-post-content img{
max-width:100%;
display:block;
margin:36px auto;
border:1px solid #2a2a2a;
box-shadow:5px 5px 0 #de1b1c,0 8px 32px rgba(0,0,0,0.6);
transition:box-shadow 0.3s ease,border-color 0.3s ease;
}
article.blog-post .blog-post-content img:hover{
border-color:#FDFFDB;
box-shadow:5px 5px 0 #FDFFDB,0 8px 32px rgba(0,0,0,0.6);
}
article.blog-post .blog-post-content figure{
margin:36px 0;
}
article.blog-post .blog-post-content figure img{
margin:0 auto;
width:100%;
}
article.blog-post .blog-post-content figcaption{
font-family:"Open Sans",sans-serif;
font-size:0.82rem;
color:#666;
margin-top:12px;
padding-left:12px;
border-left:2px solid #de1b1c;
font-style:italic;
line-height:1.5;
}


.blog-sidebar-box{
background:#1a1a1a;
border:1px solid #2a2a2a;
border-radius:10px;
padding:24px;
}

.blog-sidebar-box h4{
color:#FDFFDB;
font-size:15px;
font-weight:600;
margin-bottom:16px;
padding-bottom:12px;
border-bottom:1px solid #2a2a2a;
}

.blog-sidebar-post{
display:flex;
flex-direction:column;
gap:4px;
padding:12px 0;
border-bottom:1px solid #1e1e1e;
text-decoration:none;
transition:color 0.2s;
}

.blog-sidebar-post:last-child{
border-bottom:none;
}

.blog-sidebar-title{
color:#ccc;
font-size:14px;
line-height:1.4;
transition:color 0.2s;
}

.blog-sidebar-post:hover .blog-sidebar-title{
color:#FDFFDB;
text-decoration:none;
}

.blog-sidebar-date{
color:#555;
font-size:12px;
}


.blog-card--repost{
max-height:unset;
border-left:2px solid #1a2d1a;
border-top-color:#1a2d1a;
border-bottom-color:#1a2d1a;
}

.blog-card--repost:hover{
border-color:#4a9e4a;
transform:translateY(-4px);
}

.blog-card-category--repost{
background:#0e1a0e;
color:#4a9e4a;
border:1px solid #1a2d1a;
text-transform:none;
letter-spacing:0;
font-size:12px;
}

.blog-card-editorial{
margin-bottom:16px;
flex:1;
}

.blog-card-editorial-label{
display:block;
font-size:10px;
font-weight:600;
text-transform:uppercase;
letter-spacing:0.5px;
color:#4a9e4a;
margin-bottom:6px;
}

.blog-card-editorial p{
color:#888;
font-size:14px;
line-height:1.7;
font-style:italic;
margin:0;
}

.blog-card-link--repost{
color:#4a9e4a;
}

.blog-card-link--repost:hover{
color:#6ac96a;
}


.blog-narrator{
margin-bottom:2rem;
color:#ccc;
font-size:16px;
line-height:1.8;
}

.blog-member-block{
border-radius:8px;
padding:1.5rem;
margin-bottom:2rem;
border-left:4px solid;
}

.blog-member-block__header{
display:flex;
align-items:center;
gap:1rem;
margin-bottom:1rem;
}

.blog-member-block__avatar{
width:52px;
height:52px;
border-radius:50%;
object-fit:cover;
flex-shrink:0;
}

.blog-member-block__info{
flex:1;
display:flex;
flex-direction:column;
}

.blog-member-block__name{
font-weight:700;
font-size:1rem;
color:#FDFFDB;
}

.blog-member-block__role{
font-size:0.8rem;
opacity:0.7;
}

.blog-member-block__linkedin{
margin-left:auto;
opacity:0.7;
transition:opacity 0.2s;
}

.blog-member-block__linkedin:hover{
opacity:1;
}

.blog-member-block__linkedin svg{
width:24px;
height:24px;
}

.blog-member-block__content{
font-style:italic;
line-height:1.7;
font-size:15px;
}


.blog-post-content iframe{
width:100%;
aspect-ratio:16 / 9;
display:block;
margin:24px 0;
border:none;
}


.blog-youtube-embed{
margin:24px 0;
}

.blog-youtube-embed iframe{
width:100%;
aspect-ratio:16 / 9;
border:0;
border-radius:6px;
display:block;
}


.role-designer{
background-color:#1a1a2e;
border-color:#e94560;
color:#f0f0f0;
}

.role-programmer{
background-color:#0f3460;
border-color:#00b4d8;
color:#f0f0f0;
}

.role-artist{
background-color:#2d1b4e;
border-color:#9b5de5;
color:#f0f0f0;
}

.role-3d_coordinator{
background-color:#1b3a2d;
border-color:#06d6a0;
color:#f0f0f0;
}

.role-3d{
background-color:#1b2d3a;
border-color:#48cae4;
color:#f0f0f0;
}

.role-animator{
background-color:#3a2d1b;
border-color:#f4a261;
color:#f0f0f0;
}

.role-sound{
background-color:#2d1b1b;
border-color:#e76f51;
color:#f0f0f0;
}

.role-composer{
background-color:#1b1b2d;
border-color:#a8dadc;
color:#f0f0f0;
}


@media (max-width:1200px){
.blog-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media (max-width:992px){
.blog-post-layout{
grid-template-columns:1fr;
}

.blog-sidebar{
position:static;
}
}

@media (max-width:768px){
article.blog-post .blog-post-content p{
font-size:0.95rem;
line-height:1.7;
}
article.blog-post .blog-post-content li{
font-size:0.95rem;
}
.blog-grid{
grid-template-columns:1fr;
}

.blog-card{
max-height:unset;
flex-direction:column;
}

.blog-card-image{
width:100%;
min-width:100%;
max-width:100%;
height:180px;
}

.blog-card-title{
font-size:16px;
}
}


.giant-trigger{
height:1px;
background:transparent;
}

.giant-box{
display:none;
width:100%;
height:100px;
background-image:url('/assets/img/modal-giant.png');
background-size:817px 100px;
background-repeat:no-repeat;
background-position:center;
border-top:2px solid #000;
border-bottom:2px solid #000;
border-left:none;
border-right:none;
border-radius:0;
padding:0;
margin:2rem auto;
position:relative;
overflow:hidden;
}

.giant-box.visible{
display:block;
animation:giantSlideUp 0.8s ease forwards;
}

.reopen-btn{
position:absolute;
top:50%;
right:20px;
transform:translateY(-50%);
background:linear-gradient(135deg,rgba(0,0,0,0.9) 0%,rgba(50,0,0,0.8) 50%,rgba(0,0,0,0.95) 100%);
color:rgba(255,255,255,0.9);
border:2px solid rgba(139,0,0,0.6);
padding:12px 28px;
border-radius:6px;
cursor:pointer;
font-weight:bold;
font-size:0.85rem;
text-transform:uppercase;
letter-spacing:2px;
transition:all 0.3s ease;
box-shadow:inset 0 0 15px rgba(0,0,0,0.3),0 4px 15px rgba(139,0,0,0.3);
overflow:hidden;
font-family:Arial,sans-serif;
margin:0;
}

.reopen-btn::before{
content:'';
position:absolute;
top:0;
left:-100%;
width:100%;
height:100%;
background:linear-gradient(90deg,transparent,rgba(139,0,0,0.3),transparent);
transition:left 0.5s ease;
}

.reopen-btn:hover::before{
left:100%;
}

.reopen-btn:hover{
transform:translateY(-50%) translateY(-1px);
box-shadow:inset 0 0 20px rgba(0,0,0,0.4),0 6px 20px rgba(139,0,0,0.5);
border-color:rgba(204,0,0,0.8);
color:#fff;
}

.reopen-btn:active{
transform:translateY(-50%) translateY(0);
}


.giant-modal{
display:none;
position:fixed;
top:0;left:0;
width:100vw;height:100vh;
z-index:9999;
justify-content:center;
align-items:center;
flex-direction:column;
animation:giantFadeIn 1s ease forwards;
}

.giant-modal.active{
display:flex;
}

.giant-modal::before{
content:'';
position:absolute;
inset:0;
background:rgba(0,0,0,0.75);
z-index:5;
}

.giant-video{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit:cover;
z-index:1;
pointer-events:none;
}

.giant-text{
position:relative;
z-index:10;
font-size:clamp(1.4rem,3vw,2.5rem);
color:#FF3333;
text-align:center;
text-shadow:4px 4px 0 #000,-2px -2px 0 #000,2px -2px 0 #000,-2px 2px 0 #000;
animation:giantGlitch 0.8s infinite;
font-family:'Courier New',Courier,monospace;
white-space:pre-wrap;
user-select:none;
line-height:1.2;
max-width:90%;
margin:0 auto;
font-weight:normal;
}

.giant-close-btn{
position:absolute;
top:30px;
right:40px;
color:#fff;
background:rgba(255,0,0,0.8);
border:3px solid #fff;
border-radius:50%;
width:60px;
height:60px;
font-size:1.8rem;
cursor:pointer;
font-weight:bold;
z-index:20;
display:flex;
align-items:center;
justify-content:center;
transition:all 0.3s ease;
box-shadow:0 0 20px rgba(255,0,0,0.5);
}

.giant-close-btn:hover{
background:rgba(255,0,0,1);
transform:scale(1.1);
}

.giant-audio-indicator{
position:absolute;
bottom:40px;
left:50%;
transform:translateX(-50%);
background:rgba(0,0,0,0.8);
color:#fff;
padding:15px 25px;
border-radius:25px;
border:2px solid rgba(255,255,255,0.3);
z-index:20;
display:flex;
align-items:center;
gap:12px;
font-size:0.9rem;
cursor:pointer;
transition:all 0.3s ease;
backdrop-filter:blur(10px);
animation:giantPulse 2s infinite ease-in-out;
}

.giant-audio-indicator:hover{
background:rgba(0,0,0,0.9);
border-color:rgba(255,255,255,0.5);
}

.giant-letter{
display:inline-block;
animation:giantFloat 2s ease-in-out infinite;
}

.giant-letter:nth-child(2n){animation-delay:0.1s}
.giant-letter:nth-child(3n){animation-delay:0.2s}
.giant-letter:nth-child(4n){animation-delay:0.3s}
.giant-letter:nth-child(5n){animation-delay:0.4s}
.giant-letter:nth-child(6n){animation-delay:0.5s}
.giant-letter:nth-child(7n){animation-delay:0.15s}
.giant-letter:nth-child(8n){animation-delay:0.25s}
.giant-letter:nth-child(9n){animation-delay:0.35s}
.giant-letter:nth-child(10n){animation-delay:0.45s}

@keyframes giantFadeIn{
from{opacity:0}
to{opacity:1}
}

@keyframes giantGlitch{
0%{text-shadow:3px 3px 0 #000,-2px -2px 0 #ff0000;transform:translateX(0)}
25%{text-shadow:-2px -2px 0 #000,2px 2px 0 #00ffff;transform:translateX(-2px)}
50%{text-shadow:2px -2px 0 #000,-2px 2px 0 #ff00ff;transform:translateX(2px)}
75%{text-shadow:-2px 2px 0 #000,2px -2px 0 #ffff00;transform:translateX(-1px)}
100%{text-shadow:3px 3px 0 #000,-2px -2px 0 #ff0000;transform:translateX(0)}
}

@keyframes giantFloat{
0%,100%{transform:translateY(0)}
50%{transform:translateY(-6px)}
}

@keyframes giantPulse{
0%,100%{box-shadow:0 0 20px rgba(255,255,255,0.3)}
50%{box-shadow:0 0 30px rgba(255,255,255,0.6)}
}


.blog-post-content img[data-lightbox="true"]{
cursor:zoom-in;
margin:0;
}

.lightbox-wrap img{
margin:0;
width:100%;
}

.lightbox-wrap{
position:relative;
display:block;
line-height:0;
margin:36px auto;
}

.lightbox-wrap::after{
content:'';
position:absolute;
top:8px;
right:8px;
width:28px;
height:28px;
background:rgba(0,0,0,0.55)
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cpolyline points='9 21 3 21 3 15'/%3E%3Cline x1='21' y1='3' x2='14' y2='10'/%3E%3Cline x1='3' y1='21' x2='10' y2='14'/%3E%3C/svg%3E")
center / 16px 16px no-repeat;
border-radius:5px;
pointer-events:none;
opacity:0.85;
transition:opacity 0.15s;
}