/* ------------------------------
   GLOBAL PAGE WRAPPER
------------------------------ */
.schools-listing {
    max-width: 1290px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Page Title */
.schools-listing h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

/* ------------------------------
   FILTER FORM STYLES
------------------------------ */
.school-filter-form {
    background: #f4f6f9;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.school-filter-form input,
.school-filter-form select {
    padding: 12px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    font-size: 15px;
    width: 230px;
    background: #fff;
}

.school-filter-form button {
    padding: 12px 25px;
    background: #0057d2;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease;
}

.school-filter-form button:hover {
    background: #003c9e;
}

/* ------------------------------
   SCHOOL GRID
------------------------------ */
.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

/* ------------------------------
   SCHOOL CARD
------------------------------ */
.school-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    text-decoration: none !important;
    color: #222 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    border: 1px solid #e5e5e5;
    transition: 0.25s ease;
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.school-card img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    margin-bottom: 15px;
}

.school-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #111;
}

.school-card .verified-tag {
    color: #00aa3a;
    font-weight: 600;
}

/* Sports text */
.school-card p {
    margin: 5px 0;
    font-size: 15px;
}

/* ------------------------------
   PAGINATION
------------------------------ */
.pagination a,
.pagination span {
    padding: 8px 12px;
    margin: 3px;
    border-radius: 6px;
    text-decoration: none;
    background: #f0f0f0;
    color: #333;
}

.pagination .current {
    background: #0057d2;
    color: #fff;
}



/* Single Page CSS */

/* ------------------------------------------
   GENERAL WRAPPER
------------------------------------------- */
.school-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* ------------------------------------------
   HEADER SECTION
------------------------------------------- */
.school-header {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.school-header img.school-banner {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.school-header .school-top {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    align-items: center;
}

.school-header .school-logo {
    width: 130px;
    height: 110px;
    object-fit: contain;
}

.school-header h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

/* VERIFIED BADGE */
.school-verified {
    color: #16a34a;
    font-weight: bold;
    font-size: 15px;
    margin-top: 4px;
}

/* ------------------------------------------
   FOLLOW BUTTON
------------------------------------------- */
#followBtn {
    padding: 10px 20px;
    font-size: 15px;
    color: #ffffff;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

#followBtn.following {
    background: #10b981 !important;  /* Green */
}

#followBtn.not-following {
    background: #2563eb !important;  /* Blue */
}

#followBtn:hover {
    opacity: 0.9;
}

/* FOLLOW COUNT */
.follow-count-box {
    margin-top: 8px;
    font-size: 14px;
    color: #374151;
}

/* ------------------------------------------
   INFORMATION BOXES
------------------------------------------- */
.school-info,
.school-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.school-info p,
.school-section p {
    font-size: 15px;
    margin: 8px 0;
    color: #374151;
}

.school-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ------------------------------------------
   SPORTS LIST
------------------------------------------- */
.sports-list li {
    list-style: none;
    padding: 6px 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sports-list img {
    width: 30px;
    height: 30px;
    border-radius: 4px;
}

/* ------------------------------------------
   STAFF SECTION
------------------------------------------- */
.staff-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.staff-card {
    width: 210px;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.staff-card img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.staff-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.staff-card small {
    color: #6b7280;
    font-size: 14px;
}

/* ------------------------------------------
   CULTURE STATEMENT
------------------------------------------- */
.culture-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
}
