/*
Theme Name: Alumniyat Foundation
Theme URI: https://alumniyat.org/
Author: Alumniyat Foundation
Author URI: https://alumniyat.org/
Description: A clean, modern one-page nonprofit theme for Alumniyat Foundation for Poetry & Arts. Includes a customizable front page with sections for About, Mission, Programs, Support, and Contact.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alumniyat-foundation
Tags: one-column, custom-logo, custom-menu, featured-images, block-styles, sticky-post, translation-ready

This theme ships its main styling in /assets/style.css
*/

/* Optional small WP defaults */
.wp-block-image img{height:auto;}
.alignwide{max-width:var(--max);}
.alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}

/* Custom logo inside the square mark */
.logo a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;}
.logo img{max-width:100%;max-height:100%;object-fit:contain;display:block;}

/* WordPress menu links rendered by our custom walker */
.nav-links a{display:inline-flex;}





/* FORCE rectangular, large logo in header */
.header .logo,
.header .custom-logo-link {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
}

/* The actual logo image */
.header .custom-logo {
  height: 72px !important;   /* 👈 make it bigger (60–90px ideal) */
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

/* Prevent flexbox from shrinking the logo */
.header .brand {
  display: flex;
  align-items: center;
}

.header .brand .logo {
  flex: 0 0 auto;
}

/* === REMOVE ANY HEADER DIVIDERS (brand | nav) === */
.header .header-inner,
.header .header-inner * {
  border-left: none !important;
  border-right: none !important;
}

/* Common divider implementations using pseudo-elements */
.header .header-inner::before,
.header .header-inner::after,
.header .brand::before,
.header .brand::after,
.header .nav::before,
.header .nav::after,
.header .nav-links::before,
.header .nav-links::after {
  content: none !important;
  display: none !important;
}

/* If the divider is created by a box-shadow/outline trick */
.header .brand,
.header .nav,
.header .nav-links {
  box-shadow: none !important;
  outline: none !important;
}


/* --- Main Container --- */
.comments-area {
    margin: 40px auto;
    max-width: 800px; /* Adjust based on your layout */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #333;
}

/* --- Headings --- */
.comments-area .h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
    color: #2c3e50;
}

/* --- Comment List Reset --- */
.comment-list, 
.comment-list .children {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Individual Comment Body --- */
.comment-list .comment-body {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    position: relative;
    transition: box-shadow 0.2s ease;
}

.comment-list .comment-body:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* --- Author & Avatar --- */
.comment-list .comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-list .comment-author img.avatar {
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    /* Sizing is handled by PHP, but we ensure shape here */
}

.comment-list .fn {
    font-style: normal;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
}

.comment-list .fn a {
    text-decoration: none;
    color: inherit;
}

/* --- Metadata (Date) --- */
.comment-list .comment-metadata {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
}

.comment-list .comment-metadata a {
    text-decoration: none;
    color: #999;
}

/* --- Comment Content --- */
.comment-list .comment-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #4a4a4a;
}

/* --- Reply Button --- */
.comment-list .reply {
    text-align: right;
}

.comment-list .reply a {
    display: inline-block;
    padding: 6px 15px;
    font-size: 0.85rem;
    border: 1px solid #0073aa;
    color: #0073aa;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.comment-list .reply a:hover {
    background-color: #0073aa;
    color: #fff;
}

/* --- Nested Comments (Replies) --- */
.comment-list .children {
    margin-left: 20px; /* Indent replies */
    border-left: 2px solid #f0f0f0;
    padding-left: 20px;
}

/* --- Comment Form --- */
#respond {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.comments-area form.form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Form Inputs */
.comments-area .form p {
    width: 100%;
    margin: 0;
}

.comments-area textarea,
.comments-area input[type="text"],
.comments-area input[type="email"],
.comments-area input[type="url"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box; /* Ensures padding doesn't break width */
    background-color: #fff;
}

.comments-area textarea:focus,
.comments-area input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* Submit Button */
.comments-area input[type="submit"] {
    background-color: #2c3e50;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.comments-area input[type="submit"]:hover {
    background-color: #1a252f;
}

/* Helper text */
.comments-area .muted {
    color: #777;
    font-size: 0.9rem;
}

/* Footer legal links visible on dark background */
.footer .footer-legal a,
.footer .footer-right a {
  color: #fff;
  opacity: 0.85;
  text-decoration: none;
}

.footer .footer-legal a:hover,
.footer .footer-right a:hover {
  opacity: 1;
  text-decoration: underline;
}


