/* ============================================================
   lucyfalcone.com — faithful rebuild of the original DNN "polo"
   skin. Values measured from the live site with getComputedStyle.
   Gold #eca909 · Green #39B54A · Frame #333 · Page #000
   Headings: Cormorant Garamond · Body: Arial 17px/27px
   Nav: Raleway→Arial 18px/900 · FAQ titles: Open Sans 18px
   ============================================================ */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    background-color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 23.2px;
    color: #fff;
}

#wrapper {
    max-width: 1220px;
    margin: 0 auto;
    background-color: #000;
    border: 1px solid #eee;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }

p {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 27px;
    color: #fff;
}

a { color: #eca909; text-decoration: none; }
a:hover { color: #eca909; }

/* In the dark content sections, plain links are white; .text-primary ones gold */
.section a { color: #fff; }
.section a:hover { color: #eca909; }
.section a.text-primary, .section .text-primary a { color: #eca909; }
a[href*="willowawards"], a[href*="resourcelinksmagazine"] { color: #00923E; }

::selection { background: #eca909; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Helvetica, Arial, sans-serif;
    letter-spacing: 1px;
    color: #eca909;
    margin: 0 0 13px;
}
h1 { font-size: 44px; line-height: 58px; font-weight: 300; }
h2 { font-size: 33px; line-height: 45px; font-weight: 400; }
h3 { font-size: 25px; line-height: 37.5px; font-weight: 400; color: #39B54A !important; }
h1 strong, h1 b, h2 strong, h2 b, h3 strong, h3 b { font-weight: 600; }

.text-primary   { color: #eca909 !important; }
.text-secondary { color: #39B54A !important; }
.text-center    { text-align: center; }

hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0 10px;
}

.separator {
    height: 17px;
    margin: 30px 0;
    background: linear-gradient(#535A52, #535A52) 0 9px / 100% 1px no-repeat;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ---- Buttons (polo .btn) ---- */
.btn {
    display: inline-block;
    background-color: #eca909;
    border: 1px solid #eca909;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 14px;
    text-transform: uppercase;
    padding: 11px 20px;
    border-radius: 0;
    cursor: pointer;
    text-align: center;
}
.btn:hover { background-color: #eca909; border-color: #eca909; color: #fff; }

/* ---- Header ---- */
#site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background-color: #000;
    border-bottom: 1px solid #000;
}
.header-inner {
    display: flex;
    align-items: flex-start;
    height: 95px;
}
#logo { padding-top: 5px; flex-shrink: 0; }
#logo img { height: 80px; width: auto; display: block; }

#main-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}
#main-menu ul { list-style: none; margin: 0; padding: 0; }
#main-menu > ul { display: flex; gap: 4px; }
#main-menu > ul > li {
    position: relative;
    height: 95px;
    display: flex;
    align-items: center;
}
#main-menu > ul > li > a {
    display: block;
    position: relative;
    padding: 11px 14px;
    font-family: Raleway, Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: normal;
    color: #eca909;
}
#main-menu > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: all .3s ease;
}
#main-menu > ul > li:hover > a::after,
#main-menu > ul > li.current > a::after { left: 0; width: 100%; }

#main-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% - 6px);
    left: 0;
    min-width: 285px;
    padding: 10px;
    background-color: #252525;
    z-index: 300;
}
#main-menu .dropdown:hover .dropdown-menu,
#main-menu .dropdown.open .dropdown-menu { display: block; }
#main-menu .dropdown-menu li a {
    display: block;
    padding: 12px 20px 12px 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    color: #eca909;
}

#menu-toggle {
    display: none;
    margin: 30px 15px 0 auto;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
#menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: transform .2s, opacity .2s;
}
#menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle.open span:nth-child(2) { opacity: 0; }
#menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Banner strip + page title ---- */
#slider { background-color: #000; }
.banner {
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center center;
}
.banner-default {
    background-image: url('../img/banner.jpg');
    background-size: auto;
    height: 172px;
}
.banner-books {
    background-image: url('../img/books-banner.png');
    background-size: cover;
    height: 140px;
}
.banner-title { text-align: center; margin: 15px 0 20px; }
.banner-title.tight { margin-bottom: 0; }

/* ---- Sections / grid (Bootstrap 3 widths) ---- */
.section {
    background-color: #000;
    padding: 20px 0 70px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
[class*="col-"] { padding: 0 15px; width: 100%; }
@media (min-width: 992px) {
    .col-md-2  { width: 16.6667%; }
    .col-md-3  { width: 25%; }
    .col-md-4  { width: 33.3333%; }
    .col-md-6  { width: 50%; }
    .col-md-8  { width: 66.6667%; }
    .col-md-9  { width: 75%; }
    .col-md-12 { width: 100%; }
    .col-md-offset-3 { margin-left: 25%; }
}

/* ---- Home ---- */
.home-portrait { text-align: center; padding-bottom: 20px; }
.home-slide { padding: 10px 10px 30px; }
.home-slide h1 { text-align: center; font-weight: 400; }
.home-slide h1 b { font-weight: 700; }
.home-slide hr { margin-top: 20px; }
.read-more-home { margin: 10px 0; }

.social-icons a { display: inline-block; line-height: 0; }
.social-icons svg { display: block; }
.social-icons.lg { margin: 0 0 13px; }
.social-icons.lg a { margin: 10px; }
.social-icons.sm { display: flex; justify-content: center; align-items: center; height: 45px; }
.social-icons.sm a { margin-right: 10px; }

/* ---- Video (polo fluid-width wrapper) ---- */
.video-box {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
    overflow: hidden;
}
.video-box iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- Books list ---- */
.books-side h1 { color: #fff; font-weight: 900; margin: 0; }
.books-side .m-b-20 { margin-bottom: 20px; }
.books-side p { font-size: 17.5px; }
.book-row { padding: 30px 0; }
.book-row h2 strong { font-weight: 600; }
.read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 15.4px;
    line-height: 23.2px;
}
.read-more svg { width: 13px; height: 15px; vertical-align: -2px; margin-left: 3px; }

/* ---- Book detail ---- */
.book-detail { padding: 30px 0; }
.book-detail .excerpt-btn { margin: 40px 0; }
.book-detail .back-row { margin: 20px 0 50px; }

/* ---- Bibliography ---- */
.biblio { margin: 10px -15px 50px; }
.biblio .hr-wrap { margin: 40px 0; }
.biblio .hr-wrap hr { margin: 10px 0; }

/* ---- News pager ---- */
.pager-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px;
}
.pager-table td {
    padding: 8px;
    font-size: 14px;
    line-height: 20px;
    vertical-align: top;
}
.pager-table .btn { margin-right: 5px; }
.pager-table .btn:last-child { margin-right: 3px; }

/* ---- Gallery items + Zoom overlay ---- */
.gallery-item {
    position: relative;
    padding: 10px;
}
.gallery-stack .gallery-item { margin-bottom: 20px; }
.gallery-item img {
    display: block;
    width: 100%;
    cursor: pointer;
    transition: opacity .25s ease-in-out;
}
.gallery-item::after {
    content: 'Zoom';
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -38%);
    padding: 11px 20px;
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-radius: 50px;
    color: #4c5667;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 14px;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 250ms ease-in-out;
}
.gallery-item:hover::after { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.gallery-item:hover img { opacity: .75; }
.gallery-caption {
    background-color: rgba(0, 0, 0, .7);
    color: #f3f3f3;
    font-size: 12px;
    line-height: 14px;
    padding: 4px 0;
    text-align: left;
    word-wrap: break-word;
}

#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(11, 11, 11, .8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
#lightbox[hidden] { display: none; }
#lightbox img {
    max-width: 95%;
    max-height: 88vh;
    width: auto;
    height: auto;
    box-shadow: 0 0 8px rgba(0, 0, 0, .6);
}
#lightbox-close {
    position: absolute;
    top: 10px;
    right: 18px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    opacity: .65;
    cursor: pointer;
}
#lightbox-close:hover { opacity: 1; }

/* ---- Excerpt modal (Bootstrap modal-lg, square corners) ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 900;
    overflow-y: auto;
    padding: 30px 15px;
}
.modal-overlay[hidden] { display: none; }
.modal-content {
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
.modal-header h2 { margin: 0; }
.modal-close {
    background: none;
    border: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: .3;
    cursor: pointer;
}
.modal-close:hover { opacity: .6; }
.modal-body { padding: 15px; }
.modal-body p { color: #333; }
.modal-footer {
    padding: 15px;
    border-top: 1px solid #e5e5e5;
    text-align: right;
}

/* ---- FAQ accordion ---- */
.accordion {
    background-color: #edf2e1;
    padding-bottom: 20px;
}
.ac-item { border-bottom: 1px solid rgba(0, 0, 0, .1); }
.section .ac-title {
    position: relative;
    margin: 0 0 2px;
    padding: 12px 30px 12px 15px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 1px;
    color: #000 !important;
    cursor: pointer;
}
.ac-title::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 17px;
    width: 6px;
    height: 6px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform .2s;
}
.ac-item.open .ac-title::before { transform: rotate(-135deg); top: 20px; }
.ac-content { display: none; padding: 16px 13px; }
.ac-item.open .ac-content { display: block; }
.ac-content p, .ac-content ul { color: #111; }
.ac-content ul { font-size: 17px; line-height: 27px; margin: 0 0 10px; padding-left: 20px; }

/* ---- Contact form (LiveForms "Porto" look) ---- */
.contact-form-panel {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}
.lf-field { padding: 10px 15px; }
.contact-form-panel h1 {
    color: #1d2127;
    font-weight: 400;
    margin: 0 0 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}
.contact-form-panel p { color: #111; }
.contact-form-panel input[type="text"],
.contact-form-panel input[type="email"],
.contact-form-panel textarea {
    display: block;
    width: 100%;
    height: 34px;
    padding: 8px 8px 8px 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #666;
    background: #fff;
    border: 1px solid #ccc;
    border-left: 5px solid #ff4b4b;
    border-radius: 4px;
}
.contact-form-panel textarea { height: 150px; resize: vertical; }
.contact-form-panel input:focus,
.contact-form-panel textarea:focus { outline: none; border-color: #66afe9; border-left-color: #ff4b4b; }
.lf-submit {
    background-color: #0088cc;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 20px;
    padding: 6px 12px;
    cursor: pointer;
}
.lf-submit:hover { background-color: #0077b3; }
.hp-field { position: absolute; left: -9999px; }

.notice { padding: 12px 15px; margin: 0 15px 10px; border-radius: 4px; font-size: 14px; }
.notice.ok  { background: #dff0d8; color: #3c763d; border: 1px solid #d6e9c6; }
.notice.err { background: #f2dede; color: #a94442; border: 1px solid #ebccd1; }

/* ---- Legal pages ---- */
.legal-content .SubHead { display: block; font-weight: bold; font-size: 17px; margin: 20px 0 8px; }

/* ---- Footer ---- */
#site-footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding-top: 40px;
}
.footer-nav a { color: #eca909; }
.footer-follow { margin: 30px 20px 20px; }
.copyright-bar {
    background-color: rgba(0, 0, 0, .02);
    padding: 30px 0;
}
.copyright-text {
    padding-top: 10px;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
}
.copyright-text a { color: #fff; }

/* ---- Back to top ---- */
#go-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background-color: rgba(0, 0, 0, .25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
#go-top.visible { opacity: 1; pointer-events: auto; }
#go-top svg { width: 16px; height: 16px; }

/* ---- Responsive (polo collapses the menu below 992px) ---- */
@media (max-width: 991px) {
    .header-inner { height: auto; min-height: 95px; flex-wrap: wrap; }
    .header-inner { position: relative; justify-content: center; }
    #logo { margin: 0 auto; }
    #menu-toggle { position: absolute; top: 28px; right: 15px; margin: 0; }
    #menu-toggle { display: block; }
    #main-menu {
        display: none;
        flex-basis: 100%;
        background-color: #000;
    }
    #main-menu.open { display: block; }
    #main-menu > ul { flex-direction: column; padding-bottom: 10px; }
    #main-menu > ul > li { height: auto; display: block; }
    #main-menu > ul > li > a { padding: 10px 15px; }
    #main-menu > ul > li > a::after { display: none; }
    #main-menu .dropdown-menu { position: static; min-width: 0; padding: 0 0 0 15px; }
    #main-menu .dropdown:hover .dropdown-menu { display: none; }
    #main-menu .dropdown.open .dropdown-menu { display: block; }
}
@media (max-width: 767px) {
    .hidden-xs { display: none !important; }
    h1 { font-size: 30.64px; line-height: 41.79px; }
}
