/*
Theme Name: Alternate Child
Template: alternate
Version: 1.0
Description: AHEA child theme
*/

/* ── Logo ── */
#logo img {
    width: 220px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* ── Site title ── */
#logo h1,
#logo h1 a {
    display: block;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-size: 33px !important;
    font-weight: 700 !important;
    color: #1a3a6b !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* ── Site description ── */
h2.site-description {
    display: block !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-size: 16px !important;
    color: #c9a84c !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* ── Body ── */
body {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #333333 !important;
}

/* ── Content headings ── */
#rightside h1 {
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a3a6b !important;
    border-bottom: 2px solid #c9a84c !important;
    padding-bottom: 8px !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

#rightside h2 {
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #1a3a6b !important;
    margin-bottom: 14px !important;
    margin-top: 30px !important;
}

#rightside h3 {
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #c9a84c !important;
    margin-bottom: 10px !important;
    margin-top: 24px !important;
}

#rightside h4 {
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #555555 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
}

#rightside p {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #333333 !important;
    margin-bottom: 14px !important;
}

#rightside a {
    color: #1a3a6b !important;
    text-decoration: none !important;
    border-bottom: 1px solid #c9a84c !important;
}

#rightside a:hover {
    color: #c9a84c !important;
    border-bottom-color: #1a3a6b !important;
}

/* ── Tables ── */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
}

th {
    background-color: #1a3a6b !important;
    color: #ffffff !important;
    padding: 10px 12px !important;
    text-align: left !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
}

td {
    padding: 9px 12px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    color: #333333 !important;
}

tr:nth-child(even) td {
    background-color: #f7f7f7 !important;
}

/* ── Navigation menu ── */
.navmenu a {
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #555555 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-bottom: none !important;
}

.navmenu a:hover {
    color: #c9a84c !important;
}

/* ── Sidebar widget titles ── */
#leftside h3,
.widget-title,
.widgettitle {
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding-bottom: 6px !important;
    margin-bottom: 10px !important;
}

/* ── Sidebar widget content ── */
#leftside .widget ul li,
#leftside .widget ul li a {
    font-size: 14px !important;
    color: #555555 !important;
    border-bottom: none !important;
    line-height: 1.6 !important;
}

/* ── Search label ── */
#leftside label,
.widget_search label {
    font-size: 14px !important;
    color: #888888 !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
}

/* ── Sidebar text ── */
#leftside p,
#leftside li {
    font-size: 14px !important;
    color: #555555 !important;
    line-height: 1.6 !important;
}
#leftside .widget p,
#leftside .recentcomments,
#leftside .widget_recent_comments ul li {
    font-size: 14px !important;
    color: #555555 !important;
}
/* ── No comments / block widgets ── */
.no-comments,
.wp-block-latest-comments {
    font-size: 14px !important;
    color: #555555 !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
}
/* ── Search block label ── */
.wp-block-search__label {
    font-size: 14px !important;
    color: #555555 !important;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
}
/* ── Contact Form 7 ── */
.wpcf7 input[type="text"],
.wpcf7 textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    padding: 8px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
}

.wpcf7 textarea {
    min-height: 300px !important;
    resize: vertical !important;
}

.wpcf7 input[type="submit"] {
    background-color: #1a3a6b !important;
    color: #ffffff !important;
    padding: 10px 24px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    cursor: pointer !important;
    letter-spacing: 1px !important;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #c9a84c !important;
}

.wpcf7 select {
    width: 100% !important;
    padding: 8px !important;
    font-size: 15px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
}
/* ── CF7 cleanup ── */
.wpcf7 br {
    display: none;
}

.wpcf7 p {
    margin-bottom: 12px !important;
}

.hidden-fields-container {
    display: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── Header banner ── */
#wrapper {
    background-image: url('/wp-content/uploads/2026/05/AHEA_header_text.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 580px auto;
}

/* ── Hide theme post navigation arrows on newsletter posts ── */
.post-navigation .nav-previous a::before,
.post-navigation .nav-next a::after {
    display: none !important;
}

.post-navigation {
    display: none !important;
}

/* ── Post tags ── */
p.singletags {
    margin-top: 30px !important;
    padding-top: 16px !important;
    border-top: 1px solid #e0e0e0 !important;
    clear: both !important;
}

p.singletags a {
    background: #f0f0f0 !important;
    color: #1a3a6b !important;
    border: 1px solid #e0e0e0 !important;
    border-top: 1px solid #e0e0e0 !important;
    border-right: 1px solid #e0e0e0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    border-left: 1px solid #e0e0e0 !important;
    border-radius: 3px !important;
    font-size: 12px !important;
    padding: 2px 8px !important;
    height: auto !important;
    line-height: 1.6 !important;
    outline: none !important;
}

p.singletags a:hover {
    background: #1a3a6b !important;
    color: #ffffff !important;
    border-color: #1a3a6b !important;
}

/* ── Footer menu ── */
#menu-footer {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 10px;
    width: 100%;
    clear: both;
}

#menu-footer ul.footer-nav {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

#menu-footer ul.footer-nav li a {
    font-family: "Helvetica Neue", Arial, sans-serif !important;
    font-size: 12px !important;
    color: #888 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

#menu-footer ul.footer-nav li a:hover {
    color: #1a3a6b !important;
}

/* ── Hide site title and description — shown in banner instead ── */
#logo h1,
#logo h1 a,
h2.site-description {
    display: none !important;
}

/* ── Footer copyright ── */
#copyinfo {
#    border-top: 1px solid #e0e0e0 !important;
    padding-top: 10px !important;
    margin-top: 10px !important;
    font-size: 12px !important;
    color: #aaaaaa !important;
}

#copyinfo a {
    color: #aaaaaa !important;
    border-bottom: none !important;
}

#copyinfo a:hover {
    color: #1a3a6b !important;
}

/* Awards & Scholarships page */
.ahea-awards { max-width:820px; margin:0 auto; }
.ahea-awards h2 { color:#1a3a6b; font-family:Helvetica Neue,Arial,sans-serif; font-size:21px; margin:6px 0 12px; }
.ahea-award-sep { border:0; border-top:2px solid #c9a84c; margin:34px 0 0; }
.ahea-awards a { color:#1a3a6b; }
.ahea-awards a:hover { color:#c9a84c; }
.ahea-awards img { max-width:100%; height:auto; border-radius:3px; margin:10px 0; }

/* Conference Archive documents line */
.ahea-ca-docs { background:#faf8f2; border-left:3px solid #c9a84c; padding:8px 12px; margin-top:10px; font-size:14px; }
.ahea-ca-docs a { color:#1a3a6b; }
.ahea-ca-docs a:hover { color:#c9a84c; }

/* Past Conferences - details section */
.ahea-cp-details-h { margin-top:20px; }
.ahea-cp-detail { margin:0 0 14px; padding:10px 14px; background:#faf8f2; border-left:3px solid #c9a84c; }
.ahea-cp-detail-title { display:block; color:#1a3a6b; font-family:Helvetica Neue,Arial,sans-serif; font-size:15px; margin-bottom:6px; }
.ahea-cp-detail-content { font-size:14px; line-height:1.6; color:#333; }
.ahea-cp-detail-content p { margin:0 0 8px; }
.ahea-cp-detail-content a { color:#1a3a6b; }

/* Parent theme sets #footer padding-bottom:120px, leaving a large empty
   gap below the copyright box. Trim it so the footer sits at the true
   bottom of the page (same fix applied on arpad.magyarmuzeum.org). */
#footer {
    padding-bottom: 20px !important;
}
