﻿.container-outer {
  width: 90%;
  max-width: 90%;
}

.container-inner {
  width: 95%;
}



.main-grid {
  display: grid;
  grid-template-columns: 6fr 2fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 20px;
}

.content_box {text-align: center; }

.content-grid {
	display:grid;
	grid-template-columns:2fr 3fr;
	gap:20px;
}

.afta-logo {
  display: flex;
  justify-content: flex-end;  /* pushes image to the right horizontally */
  align-items: center;        /* centers vertically */
  text-align: right;
	width: 100%;
}

#homePageLogo {
  width: auto;   /* fills the entire width of .afta-logo */
  height: auto;  /* keeps aspect ratio */
  max-width: 90%;
  display: block;
	margin: 0;
}

/* Center the message both vertically and horizontally */
.main-message {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical centering */
  align-items: center;       /* horizontal centering */
  text-align: center;
  height: 100%;              /* makes sure it fills its parent container */
}

/* Optional: responsive text inside */
.main-message p {
	font-size: clamp(14px, 2vw, 24px);
	margin: 0.3em 0;
	line-height: 2;	
}

.events_calendar { text-align: center; }

.homepage_box { text-align: center; }

.usefulLinks_box {
  text-align: left;
}

.links-title {
  border-bottom: 2px solid #c8c2fa;
  text-align: center;
  font-size: clamp(14px, 1.8vw, 18px);
}

#ul_links {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#ul_links li {
  line-height: 1.6;
}

#ul_links li a {
  display: inline-block;
  font-size: clamp(10px, 1.6vw, 20px);
}

#welcomeNote {
	color:blue;
	font-size: clamp(18px, 2vw + 1px, 26px);
	font-weight:bold;
}


/* ======================================================== */
/* =============== PAGE SPECIFIC FORMAT ====================*/
/* ======================================================== */
/* ABOUT US *************************************************/

.about_us .main-grid{
	display: grid;
    grid-template-columns: 2fr 1fr; /* Left: content_box, Right: stacked box */
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 20px;
}

.about_us .content_box {
  grid-column: 1;
  grid-row: 1;
}

.about_us .right-stack {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about_us #main_page_heading {	
	height:auto;	
	background-color:#c8c2fa;
	border-radius:15px 0 0 15px;
}

.about_us #page_heading {
	padding:5px 10px;
	font-size: clamp(16px, 2vw + 1px, 26px);
	font-family: "Times New Roman";
	font-weight: bold;
	color: white;
	text-align:left;
}

.about_us .main_body_motto {
	width: 97%;
	height:auto;
	text-align:right;
	margin-right: 15px;
}

.about_us #pa2 {
	font-style:italic;
	font-weight:bold;
	font-size: clamp(13px, 1.8vw, 26px);
	padding-top:10px;
}

.about_us #main_body_message p {
	text-align: justify;
	font-size: clamp(10px, 1.6vw, 20px);
}

.about_us #main_body_message li {
	text-align: justify;
	font-size: clamp(10px, 1.6vw, 20px);
	line-height: 1.5em;
	padding-bottom: 10px;
}

.about_us .homepage_box {
	grid-column: 1 / span 2;
    text-align: center;
	font-size: clamp(10px, 1.6vw, 20px);
}




