* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
    font-family: Arimo, Arial, sans-serif;
    line-height: 1.3;
    background: #000000;
    color: #1A1A1A;
    height: 100vh;
    overflow-x: hidden;
    padding-top: 200px; /* Approximate height of your header stack */
}

@media (max-width: 768px) {
	body {
		padding-top: 150px; /* Approximate height of your header stack */
	}
}

/* ==========================================================================
   SITE HEADER - Combined Top Bar & Main Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Increased z-index */
    width: 100%;
    background: transparent; /* Ensure no background conflicts */
}

.header-top {
    background: linear-gradient(to bottom, #fff 0%, #ccc 90%);
    border-bottom: 5px solid #e30613;
    padding: 0.5rem 2rem;
    font-size: 11pt;
    text-transform: uppercase;
    position: relative; /* Ensure proper stacking */
    z-index: 1001;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand-name {
    font-weight: bold;
}

.tagline {
    font-style: italic;
    text-transform: none;
}

/* Main Header */
.header-main {
    background: linear-gradient(to bottom, #555555 0%, #2c2c2c 100%);
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-main-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem 0 0.5rem;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-section img {
    height: 111px;
    width: auto;
}

.institute-text {
    font-family: 'Kaisei Decol', serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.institute-line-1,
.institute-line-2 {
    display: block;
    letter-spacing: 1px;
    padding-bottom: 2px;
    border-bottom: 2px solid #ccc;
}

.institute-line-1 {
    font-size: 15px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.institute-line-2 {
    font-size: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Hamburger Menu */
.hamburger {
    color: #FFFFFF;
    font-size: 1.25rem;
    cursor: pointer;
    font-weight: 300;
	padding: 1rem 1rem;
	border: 1px solid transparent; /* Adjust width as needed */
  border-image: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.15), 
    rgba(255, 255, 255, 0.05), 
    rgba(0, 0, 0, 0.15)
  ) 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-top {
        padding: 0.5rem 1rem;
        font-size: 10pt;
    }
    
    .header-top-content {
        gap: 0.25rem;
    }

	.brand-name, .tagline {
    	font-size: 7px;
	}	
    
    .header-main {
        height: 80px;
    }
    
    .header-main-content {
        padding: 0;
    }
    
    .logo-section img {
        height: 50px;
    }
    
	.institute-line-1 {
		font-size: 10px;
	}
	
	.institute-line-2 {
		font-size: 13px;
	}
}

/* ==========================================================================
   NAVIGATION TABS
   ========================================================================== */

/* Desktop Navigation */
.header-nav {
    background: linear-gradient(to bottom, #2c2c2c 0%, #1a1a1a 100%);
    border-bottom: 1px solid #444;
}

.nav-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 4rem;
    max-width: 100%;
    overflow-x: auto;
}

.nav-tabs li {
    margin: 0;
    white-space: nowrap;
}

.nav-tabs a {
    display: block;
    padding: 1rem 1.5rem;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-tabs a:hover,
.nav-tabs .current-menu-item a {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-bottom-color: #e30613;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-nav {
    width: 100%;
    padding: 2rem;
    margin-top: 150px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list li {
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.mobile-nav-list a {
    display: block;
    padding: 1rem 0;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.mobile-nav-list a:hover {
    color: #e30613;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .nav-tabs {
        padding: 0 2rem;
    }
}


.tile-title {
	font-family: 'Kaisei Decol', serif;
    font-size: clamp(1.5rem, 1.75rem + 0.625vw, 2.5rem); /* Scales from ~1.75rem mobile to 2.5rem desktop */
	text-align: right;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	display: inline-block;
	padding: 0.2em 0.5em;

	word-break: break-word;
	font-weight: bold;
	color: #e30613;  /* your red */
	/* first a tight black outline, then a larger white outline */
	text-shadow:
		/* black stroke: 1px in all 8 directions */
		-1px  0    0 #000,
		1px  0    0 #000,
		0   -1px  0 #000,
		0    1px  0 #000,
		-1px -1px  0 #000,
		-1px  1px  0 #000,
		1px -1px  0 #000,
		1px  1px  0 #000,
		
		/* white stroke: 2px in all 8 directions */
		-2px  0    0 #fff,
		2px  0    0 #fff,
		0   -2px  0 #fff,
		0    2px  0 #fff,
		-2px -2px  0 #fff,
		-2px  2px  0 #fff,
		2px -2px  0 #fff,
		2px  2px  0 #fff;
}

.grid-tile:hover .tile-title {
    text-decoration: underline;
    text-decoration-color: #fff;
    text-underline-offset: 3px;
}

.grid-tile {
	border: 5px solid transparent;
}

.grid-tile:hover {
	border-color: red;
	animate: border-color;
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.tile-meta {
	text-transform: uppercase;
    font-size: 16pt;
    line-height: -5px;
    letter-spacing: 0.3rem;
    display: block;
    color: #888888;
    text-shadow: -1px -1px 0 rgb(255, 255, 255, 0.2);
    border-bottom: 1px solid #ffffff;
    padding: 0;
    margin-bottom: 0;
    text-align: right;
    border-top: 1px outset rgb(20, 20, 20, 0.2);
	background-image: linear-gradient(#222, rgb(0, 0, 0, 0));	
	box-shadow: -5px -5px 5px rgb(0, 0, 0, 0.22);
}