/*
Theme Name: Thebesttheme
Author: Ikram
Description: Custom theme from Astro
Version: 1.0
*/

.news-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.news-page h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.news-item {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-thumbnail {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.news-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.news-item h2 {
    font-size: 22px;
    margin: 15px 0 10px;
}

.news-item h2 a {
    color: #333;
    text-decoration: none;
}

.news-item h2 a:hover {
    color: #0073aa;
}

.news-meta {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.news-meta span {
    margin-right: 15px;
}

.news-excerpt {
    color: #555;
    line-height: 1.6;
    margin: 15px 0;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.read-more:hover {
    background: #005a87;
}

/* ============================================
   CUSTOM GIVE FORM LAYOUT STYLES
   ============================================ */

/* Page Wrapper */
.custom-give-page-wrapper {
	background: #f5f5f5;
}

/* Hero Section */
.custom-give-hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 80px 20px;
	text-align: center;
	color: white;
	margin-bottom: 50px;
}

.custom-give-hero h1 {
	font-size: 48px;
	margin: 0;
	font-weight: 700;
	color: white;
}

/* Main Container */
.custom-give-main-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

/* Two Column Grid */
.custom-give-grid {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 40px;
	align-items: start;
}

/* Left Info Column */
.custom-give-info-column {
	background: white;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
	position: sticky;
	top: 20px;
}

.form-description {
	margin-bottom: 30px;
	line-height: 1.7;
	color: #333;
}

.custom-info-box {
	padding: 25px;
	background: #f8f9fa;
	border-left: 4px solid #667eea;
	border-radius: 8px;
	margin-top: 25px;
}

.custom-info-box h3 {
	margin-top: 0;
	color: #667eea;
	font-size: 20px;
}

/* Right Form Column */
.custom-give-form-column {
	background: white;
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* ============================================
   FORM STYLING (Optional Enhancements)
   ============================================ */

/* Form Inputs */
.give-form input[type="text"],
.give-form input[type="email"],
.give-form input[type="tel"],
.give-form select,
.give-form textarea {
	padding: 14px;
	border: 2px solid #e5e5e5;
	border-radius: 8px;
	width: 100%;
	font-size: 16px;
	transition: border-color 0.3s;
}

.give-form input:focus,
.give-form select:focus,
.give-form textarea:focus {
	border-color: #667eea;
	outline: none;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Donation Amount Buttons */
.give-donation-levels-wrap label {
	/*background: #f8f9fa;*/
	background: red !important;
	border: 2px solid #e5e5e5;
	padding: 15px;
	border-radius: 8px;
	transition: all 0.3s;
	cursor: pointer;
}

.give-donation-levels-wrap label:hover {
	border-color: #667eea;
	background: #f0f4ff;
}

.give-donation-levels-wrap input:checked + label {
	border-color: #667eea;
	background: #667eea;
	color: white;
}

/* Submit Button */
.give-submit-button-wrap input[type="submit"] {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 16px 40px;
	border: none;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	transition: all 0.3s;
}

.give-submit-button-wrap input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Multi-Step Progress Bar (if applicable) */
.give-multi-step-nav {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #e5e5e5;
}

.give-multi-step-nav li {
	background: #e5e5e5;
	color: #999;
	padding: 10px 15px;
	border-radius: 6px;
}

.give-multi-step-nav li.active {
	background: #667eea;
	color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
	.custom-give-grid {
		grid-template-columns: 1fr;
	}
	
	.custom-give-info-column {
		position: static;
	}
	
	.custom-give-hero h1 {
		font-size: 36px;
	}
}

@media (max-width: 600px) {
	.custom-give-hero {
		padding: 50px 20px;
	}
	
	.custom-give-hero h1 {
		font-size: 28px;
	}
	
	.custom-give-form-column,
	.custom-give-info-column {
		padding: 25px;
	}
}