@charset "utf-8";

/* Base Styles */


.form-control {
    margin: 0 !important;
}

.company-brand-logo {
    height: 37px !important;
}


body {    
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    font-family: 'Open Sans', sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

h1 {    
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.h2, h2 {
    font-size: 2rem;
    color: #2c3e50;
}

.MainArticleList .h2, .MainArticleList h2 {
    font-size: 1.4rem;
    color: #2c3e50;
}

.h6, h6 {
    font-size: 1.2rem;
}

/* Banner Styles */
#Banner h1 {
    margin-top: 12rem !important;
    margin-bottom: 6rem !important;
    color: #2c3e50 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    width: fit-content !important;
    padding: 1.5rem 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(5px);
}

/* Navigation */
.navbar .pure-menu-selected .pure-menu-link {
    border-bottom: 2px solid #3498db !important;
    transition: all 0.3s ease;
}

.navbar .pure-menu-link {
    padding: 0.8rem 1.2rem;
    font-weight: 500;
}

/* Grid Layout */
.mygrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

/* Blog Post Cards */
.PostImg {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

article:hover .PostImg {
    transform: scale(1.02);
}

.PostImgSml {
	aspect-ratio: 1.5 / 1;
    object-fit: cover;
    border-radius: 10px;
}


article {
    transition: all 0.3s ease;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	height: 100%;
}

article div {
	XXheight: 100%;
    height: auto;
}


.Item-1XX {
    flex: 0 1 calc(66.6666% - 10px) !important;
}


.ArticleDiv-1 {
	 !important
}

article:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Forms */
.form-control {
    padding: 1rem !important;
    border: 1px solid rgba(220, 224, 229, 0.8) !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.form-control:focus {
    border-color: #3498db !important;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2) !important;
}

.btn {
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.action-button {
    background-color: #3498db !important;
    color: white !important;
    border: none !important;
}

.action-button:hover {
    background-color: #2980b9 !important;
    transform: translateY(-2px);
}

/* Responsive Design */
@media only screen and (max-width: 992px) {
    .mygrid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    body {
        font-size: 16px;
    }
    
    #Banner h1 {
        margin-top: 8rem !important;
        font-size: 2rem;
    }
}

@media only screen and (max-width: 768px) {
    .mygrid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    #Banner h1 {
        margin-top: 6rem !important;
        font-size: 1.8rem;
        padding: 1rem 1.5rem !important;
    }
}

@media only screen and (min-width: 768px) {
	
	.Item-1 {
		flex: 0 1 calc(66.6666% - 10px) !important;
	}	

	.Item-2 img {
		aspect-ratio: 1 / 1.17;
	}

}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Article Content */
.ArticleContent {
    XXmax-width: 75ch;
    margin: 0 auto;
}

.ArticleContent h1, 
.ArticleContent h2, 
.ArticleContent h3 {
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700;
    color: #2c3e50;
}

.ArticleContent p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* List Styles */
li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Placeholder Styles */
::placeholder {
    color: #95a5a6;
    opacity: 1;
}

::-ms-input-placeholder {
    color: #95a5a6;
}

/* Remove Unnecessary Breaks */
.ArticleContent  {
	
	ul br, 
	ul + br, 
	li br, 
	li + br, 
	p + br, 
	h1 + br, 
	h2 + br, 
	h3 + br {
		display: none;
	}
}

.ArticleContent h1 {    
    margin-top: 0 !important;
}
