/*
Theme Name: Aniol
Theme URI: https://www.scottaniol.com
Author: Scott Aniol
Author URI: https://www.scottaniol.com
Description: Custom theme for scottaniol.com. Cloned from Faculty and extended to absorb site plugin features (page-builder layer, contact form, calendar, RSS, icons) as native theme code. Academic personal profile.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: license.txt
Tags: theme-options, full-width-template, sticky-post, threaded-comments, featured-images
Text Domain: faculty
*/

/*
Actual styles are enqueued from the /css folder via functions.php.
This file provides the theme header only.
*/

/* === Aniol native-scroll restore 2026-07-03 === */
.fac-page, #blog-content, #archive-content { overflow-y: auto !important; overflow-x: hidden; }
/* thin, unobtrusive native scrollbars */
.fac-page, #blog-content, #archive-content, #sidebar-wrapper { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.28) transparent; }
.fac-page::-webkit-scrollbar, #blog-content::-webkit-scrollbar, #archive-content::-webkit-scrollbar, #sidebar-wrapper::-webkit-scrollbar { width: 9px; height: 9px; }
.fac-page::-webkit-scrollbar-track, #blog-content::-webkit-scrollbar-track, #archive-content::-webkit-scrollbar-track, #sidebar-wrapper::-webkit-scrollbar-track { background: transparent; }
.fac-page::-webkit-scrollbar-thumb, #blog-content::-webkit-scrollbar-thumb, #archive-content::-webkit-scrollbar-thumb, #sidebar-wrapper::-webkit-scrollbar-thumb { background: rgba(0,0,0,.24); border-radius: 6px; }
.fac-page:hover::-webkit-scrollbar-thumb, #blog-content:hover::-webkit-scrollbar-thumb { background: rgba(0,0,0,.4); }
#sidebar-wrapper::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); }

/* === Aniol accordion (vc_tta replacement) === */
.aniol-acc{ border-top:1px solid #e2e2e2; margin:1.4em 0 2em; }
.aniol-acc-item{ border-bottom:1px solid #e2e2e2; }
.aniol-acc-item > p{ display:none; }
.aniol-acc-head{ display:block; width:100%; text-align:left; background:none; border:0; cursor:pointer; font-size:18px; font-weight:700; color:#333; padding:18px 44px 18px 2px; position:relative; }
.aniol-acc-head:hover{ color:#03cc85; }
.aniol-acc-head:focus-visible{ outline:2px solid #03cc85; outline-offset:2px; }
.aniol-acc-head:after{ content:''; position:absolute; right:6px; top:50%; width:13px; height:13px; margin-top:-7px; background:linear-gradient(#03cc85,#03cc85) center/13px 2px no-repeat, linear-gradient(#03cc85,#03cc85) center/2px 13px no-repeat; }
.aniol-acc-head[aria-expanded="true"]:after{ background:linear-gradient(#03cc85,#03cc85) center/13px 2px no-repeat; }
.aniol-acc-panel{ display:none; padding:2px 2px 20px; }
.aniol-acc-panel.open{ display:block; }
.aniol-acc-panel p{ margin:0 0 .6em; }


/* === Aniol tweaks (per request) === */
body.home .pageheader .title{ display:none !important; }
#sidebar-inner #profile .title h3, #sidebar #profile .title h3{ display:none !important; }
body.home .pageheader.has-bg{ min-height:460px; }


/* === Aniol itinerary / calendar === */
.aniol-calendar{ max-width:760px; margin:6px auto 30px; }
.aniol-cal-month{ font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:#9a9a9a; font-weight:700; margin:30px 0 14px; padding-bottom:8px; border-bottom:1px solid #ececec; }
.aniol-cal-month:first-child{ margin-top:0; }
.aniol-cal-event{ display:flex; gap:20px; align-items:center; padding:16px; margin:0 0 12px; background:#fff; border:1px solid #ececec; border-radius:10px; transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.aniol-cal-event:hover{ box-shadow:0 12px 28px -16px rgba(0,0,0,.28); transform:translateY(-1px); border-color:#dcdcdc; }
.aniol-cal-datebox{ flex:0 0 auto; width:74px; text-align:center; background:#243049; color:#fff; border-radius:8px; padding:11px 6px; line-height:1; box-shadow:0 8px 16px -9px rgba(36,48,73,.55); }
.acd-mon{ display:block; font-size:11px; font-weight:700; letter-spacing:.1em; opacity:.92; }
.acd-day{ display:block; font-size:30px; font-weight:800; margin:3px 0 2px; }
.acd-dow{ display:block; font-size:11px; font-weight:600; letter-spacing:.04em; opacity:.92; }
.aniol-cal-body{ flex:1 1 auto; min-width:0; }
.aniol-cal-title{ display:block; font-size:18px; font-weight:700; color:#2a2a2a; line-height:1.3; margin-bottom:7px; }
.aniol-cal-meta{ display:flex; flex-wrap:wrap; gap:8px 18px; }
.aniol-cal-meta span{ display:inline-flex; align-items:center; gap:6px; font-size:14px; color:#787878; }
.aniol-cal-ic{ width:15px; height:15px; fill:none; stroke:#243049; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
.aniol-cal-empty, .aniol-cal-error{ text-align:center; color:#888; padding:34px; font-size:16px; }
@media (max-width:560px){ .aniol-cal-event{ gap:14px; padding:12px; } .aniol-cal-datebox{ width:62px; } .acd-day{ font-size:26px; } .aniol-cal-title{ font-size:16px; } }
