/* small edit to push github to start deployment again. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ibarra Real Nova', serif;
    background-color: #ffffff;
    color: #313131;
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1, h2 {
    font-family: 'Instrument Serif', serif;
    color: #1D1D1D;
    font-weight: 400;
}

/* Top navigation */
.back-text {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.back-links {
    font-size: 1rem;
}

.back-link {
    color: #313131;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.6;
}

.intro-text {
   margin-bottom: 1.2rem;
    line-height: 1.3;
    font-size: 1.3rem;
	color: #313131;
	max-width: 60ch;
}

.intro-text2 {
   margin-bottom: 2.5rem;
    line-height: 1.3;
    font-size: 1.3rem;
	color: #313131;
}

/* Main content */
.main-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
	margin-top: 2.5rem;
	margin-bottom: 4rem;
}

.main-title {
    font-size: 5.25rem;
    letter-spacing: 0px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* ehhhhhhhhhhhhhhhhhhh - divider + year */
.year-divider{
	display:flex;
	align-items:center;
	width:100%;
	gap: 16px;
}

.year{
	font-family: "Instrument Sans", sans-serif;
	font-weight: 400;
	font-size: 1.3rem;
	flex-shrink:0;
}

.line{
	flex-grow: 1;
	height: 1px;
	background-color: #000;
	border: none;
}



/* Article content - narrower width */
.article-content {
	margin-top: 3rem;
}

.content-section {
    margin-bottom: 3rem;
}

.body-text {
    margin-bottom: 0.4rem;
    line-height: 1.3;
    font-size: 1.2rem;
}

.sub-text {
    margin-bottom: 0.8rem;
    line-height: 1.3;
    font-size: 1rem;
	color: #ADADAD;
}

.content-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
	margin-top: 3rem;
	margin-bottom: 1.3rem;
    
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1.3rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* Links */
.inline-link {
	font-size: 1.3rem;
    text-decoration: none;
	color: #313131;
    transition: opacity 0.2s ease;
}

.inline-link:hover{
    opacity: 0.5;
}

/* Footer */
.article-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #313131;
}

.footer-links {
    font-size: 1rem;
}

.footer-link {
    color: #313131;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.6;
}

.footer-separator {
    margin: 0 0.5rem;
    color: #313131;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 0.7rem;
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* Responsive goes here */
/* Responsive goes here */
/* Responsive goes here */
/* Responsive goes here */

@media (max-width: 768px) {
	
	
	
    .main-content {
        padding: 0 1.5rem;
    }
    
    
    .main-title {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
	
	.intro-text{
		 font-size: 1.2rem;
	}
	
	.intro-text2{
		 font-size: 1.2rem;
	}
    
    .article-content {
        max-width: 100%;
    }
    
    .body-text {
        font-size: 1.1rem;
    }
	
	.sub-text {
    font-size: 1rem;
    }
	
	.year{
	font-size: 1.2rem;
    }
	
	.inline-link {
	font-size: 1.2rem;
    }
	
	.year-divider{
	gap: 12px;
    }
	

@media (max-width: 480px) {
    .main-content {
        padding: 0 1rem;
    }
	
	.intro-text{
		 font-size: 1.1rem;
	}
	
	.intro-text2{
		 font-size: 1.1rem;
	}
    
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 0.5px;
    }
    
    
    .body-text {
        font-size: 1rem;
        line-height: 1.6;
    }
	
	.sub-text {
    font-size: 0.9rem;
    }
	
	.year{
	font-size: 1.1rem;
    }
	
	.inline-link {
	font-size: 1.1rem;
    }
	
	.year-divider{
	gap: 12px;
    }
    
   

@media (max-width: 320px) {
    .main-title {
        font-size: 2rem;
    }
}

/* iOS Safari optimizations */
/* iOS Safari optimizations */
/* iOS Safari optimizations */
/* iOS Safari optimizations */

body {
    -webkit-text-size-adjust: 100%; /* Prevents text scaling on orientation change */
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

/* Fix iOS Safari viewport issues */
html {
    -webkit-text-size-adjust: 100%;
}

/* Improve tap targets for iOS */
a, button {
    -webkit-tap-highlight-color: rgba(0,0,0,0.1); /* Custom tap highlight */
    touch-action: manipulation; /* zoom double-tap disable i think */
}

/* Smooth scrolling for iOS */
html {
    -webkit-overflow-scrolling: touch;
}

/* Fix fixed positioning issues on iOS Safari */
.return-nav {
    -webkit-transform: translateZ(0); /* what is wrong with IOS ???? */
    transform: translateZ(0);
}

/* Better image rendering on iOS */
img {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);

}




