/* Trying the reset first method for these two pages, different from RH & RB websites */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ibarra Real Nova', serif;
    background-color: #1836AF;
    color: white;
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1, h2 {
    font-family: 'Ibarra Real Nova', serif;
    color: #CAD0FF;
    font-weight: 300;
	font-size: 1.2rem;
	font-style: italic;
	margin-bottom: 0.7rem;
}

/* Corner social links */
.local-time {
    color: white;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0px;
	text-align: center;
}

/* Main content */
.main-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
	margin-top: 2.5rem;
	margin-bottom: 4rem;
}


.body-text {
    line-height: 1.3;
    font-size: 1.2rem;
	color: #CAD0FF;
}

.banner-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
	margin-top: 2rem;
	margin-bottom: 2rem;
	border: 2rem;
	border-color:white;   
}

.hero,
.writing,
.other,
.elsewhere {
	margin-bottom: 2rem;
}

ul, li {
	line-height: 1.3;
    font-size: 1.2rem;
	color: #CAD0FF;
	list-style-position: inside;
}

li {
margin-bottom: 0.7rem;	
}

li:last-child {
	margin-bottom: 0;	
}


/* Links */
.inline-link {
	font-size: 1.2rem;
    text-decoration: underline;
	color: #F0F2FF;
    transition: opacity 0.2s ease;
}

.inline-link:hover{
    opacity: 0.5;
}

/* Footer */
/* Responsive goes here */
/* Responsive goes here */
/* Responsive goes here */
/* Responsive goes here */

@media (max-width: 768px) {
	
    .main-content {
        padding: 0 1.5rem;
    }
    
    .body-text {
        font-size: 1.2rem;
    }
	
	li{
		 font-size: 1.2rem;
	}
	
	h1 {
		 font-size: 1.2rem;
	}
	
	.year{
	font-size: 1.2rem;
    }
	
	.inline-link {
	font-size: 1.2rem;
    }
	
}	

@media (max-width: 480px) {
    .main-content {
        padding: 0 1rem;
    }
	
    
     .body-text {
        font-size: 1.1rem;
    }
	
	li, h1{
		 font-size: 1.1rem;
	}
	
	.year{
	font-size: 1.1rem;
    }
	
	.inline-link {
	font-size: 1.1rem;
    }
}
    

/* 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;
}

/* Better image rendering on iOS */
img {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
}
