/* -----------------------------------------------------------
   2026 HACP Prep Course – Modernized CSS
   Clean, reusable, mobile-first, legacy-safe
----------------------------------------------------------- */

/* --- Global Fixes --- */
section #container #content div {
    margin-bottom: 0;
}

/* --- Headings --- */
#container h2 {
    font-size: 1.8rem;
    line-height: 1.9rem;
    font-weight: 500;
    margin: 24px 0 12px;
    color: black;
    font-family: "Roboto", "Gill Sans", "Gill Sans MT", "Myriad Pro",
                 "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}

#container h3 {
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    margin: 24px 0 12px;
    font-size: 1.35rem;
    color: black;
    font-weight: 500;
    line-height: 1.2;
    font-family: "Roboto", "Gill Sans", "Gill Sans MT", "Myriad Pro",
                 "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}

/* -----------------------------------------------------------
   Program Blocks (CMS, PE, IC)
   Replaces #cmsDESC, #peDESC, #icDESC, #cmsIMG, etc.
----------------------------------------------------------- */

.program-block {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin: 32px 0;
}

.program-text {
    flex: 1;
}

.program-image img {
    width: 136px;
    height: auto;
    border-radius: 4px;
}

/* Mobile collapse */
@media (max-width: 768px) {
    .program-block {
        flex-direction: column;
        gap: 16px;
    }

    .program-image img {
        margin: 0;
    }
}

.hacp-subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 6px 0 0 0;
    font-size: 1rem;
}

.hacp-subnav a {
    color: #1c2841;
    text-decoration: underline !important;
    font-weight: 500;
}

.hacp-subnav a:hover {
    text-decoration: none !important;
}

.hacp-subnav .active {
    color: black;
    font-weight: 600;
}

.hacp-subnav .divider {
    color: #999;
}


/* -----------------------------------------------------------
   Data Grid (program.asp)
----------------------------------------------------------- */

#data-grid {
    border-bottom: 2px solid #bb9e66;
}

#data-grid th {
    background-color: #1c2841;
    padding: 12px 0 12px 12px;
    text-align: left;
    color: white;
    font-size: 1.1em;
    border-radius: 5px 5px 0 0;
}

#data-grid td {
    padding: 8px;
}

#data-grid th b {
    font-weight: 400;
    font-family: "Roboto", "Gill Sans", "Gill Sans MT", "Myriad Pro",
                 "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}

#data-grid .odd-row {
    background-color: silver;
}

#data-grid .highlight {
    background-color: lightslategrey;
}

/* -----------------------------------------------------------
   Session Blocks (session.asp)
----------------------------------------------------------- */

#session .speaker {
    font-weight: 600;
}

#session div {
    margin-top: 12px;
}

#session .first {
    margin-top: 4px;
    padding: 0;
}

#session img {
    float: left;
    margin: 2px 18px 8px 0;
    border-radius: 4px;
}

/* -----------------------------------------------------------
   Hotel Reservations (hotel-reservations.asp)
----------------------------------------------------------- */

#reservations div {
    margin-top: 12px;
}

#reservations img {
    float: left;
    margin: 12px 18px 16px 0;
    border-radius: 4px;
}

#reservations .ONE {
    max-width: 760px;
    padding-top: 8px;
}

#hotel {
    width: 100%;
    margin-top: 12px;
}

/* Mobile */
@media (max-width: 768px) {
    #reservations img {
        margin: 8px 18px 0 0;
    }
}

/* -----------------------------------------------------------
   Miscellaneous
----------------------------------------------------------- */

.sbullet {
    color: darkgoldenrod;
    font-size: 1.5em;
}

.black {
    color: black;
}

#goldBLOCK {
    margin: 12px 0;
    padding: 18px;
    text-align: center;
    background-color: #bb9e66;
    color: white;
    line-height: 1.2;
    font-size: 1.1rem;
    border-radius: 4px;
}

/* Remove legacy UL hack */
ul {
    margin: 12px 0;
    padding-left: 20px;
}

/* Remove mobile/desktop toggle system */
#mobile,
#desktop {
    display: none;
}

/* Submit Button */
.button-row {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.button-row form {
    margin: 0;
}

@media (max-width: 768px) {
    .button-row {
        flex-direction: column;
        gap: 8px;
    }
}

.button-checkout {
    padding: 12px 18px;
    border: 1px solid #7a92aa;
    margin-top: 0;
    text-decoration: none;
    text-align: center;
    text-shadow: none;
    font: 1.2em/normal sans-serif;
    color: white;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
    background-color: #7a92aa;
    background-image: linear-gradient(#7a92aa, #415967);
    border-radius: 0.2em;
}

.button-checkout:hover,
.button-checkout:focus,
.button-checkout:active {
    border-color: #7a92aa;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
    color: #fff;
    background-image: linear-gradient(#415967, #7a92aa);
}

@media (max-width:768px) {
    .button-checkout {
        margin-bottom: 6px;
        width: 100%;
    }
}

/* Location blocks */
.location-block {
    margin: 8px 0 20px 0;
    line-height: 1.5;
}

/* Two-column hotel layout */
.hotel-grid {
    display: flex;
    gap: 24px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.hotel-card {
    flex: 1 1 340px;
    background: #dde5ed;
    padding: 16px;
    border-radius: 4px;
    min-height: 230px;
}

.hotel-card:nth-child(2) {
    background: #e0e0e0;
}

.hotel-card .preferred {
    text-align: center;
    margin-top: 16px;
    font-weight: bold;
    color: #b30000;
}

/* Mobile */
@media (max-width: 768px) {
    .hotel-grid {
        flex-direction: column;
    }
}

.download-box {
    margin: 24px 0;
    padding: 16px 20px;
    background: #f5f5f5;
    border-left: 4px solid #bb9e66;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.5;
}

.download-box a {
    font-weight: 600;
    color: #1c2841;
    text-decoration: none !important;
}

.download-box a:hover {
    text-decoration: underline !important;
}


  