/*
Theme Name:     Foxiz child
Template:      	foxiz
Theme URI:      https://foxiz.themeruby.com
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/portfolio/
Description:    Make your modifications to Foxiz in this child theme.
Version:        1.0
Tags:           custom-background, custom-menu, featured-images, theme-options, custom-colors, translation-ready, threaded-comments, translation-ready
License:        Themeforest Licence
License URI:    https://themeforest.net/licenses/standard
*/

/* Your CSS code goes here
-------------------------------------- */

/* ============ ESST Electives custom design (Designature reference) ============ */
.esst-electives-archive { padding-bottom: 0; }
.esst-electives-intro { max-width: 750px; margin: 0 auto; text-align: center; padding: 60px 24px 40px; }
.esst-electives-intro h1 { font-size: 2.6rem; font-weight: 800; color: #16324f; margin-bottom: 16px; }
.esst-electives-intro p { color: #333; line-height: 1.7; }
.esst-electives-band { background: #2281B0; width: 100vw; position: relative; left: 50%; margin-left: -50vw; padding: 50px 0 120px; overflow: hidden; }
.esst-electives-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%); pointer-events: none; }
.esst-electives-band .esst-electives-flow { position: relative; z-index: 1; }
.esst-electives-flow-white { padding: 50px 0; }
.esst-electives-flow { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 0; }
.esst-flow-image { min-height: 320px; background-size: cover; background-position: center; background-color: #16324f; }
.esst-flow-text { background: #fff; padding: 30px 34px; display: flex; flex-direction: column; justify-content: center; min-height: 320px; }
.esst-flow-title { display: block; color: #16324f; font-weight: 800; font-size: 1.25rem; line-height: 1.3; text-decoration: none !important; margin-bottom: 10px; }
.esst-flow-title:hover { color: #2281B0; }
.esst-flow-uni { color: #f4941f; font-weight: 700; margin: 6px 0 0; }
.esst-electives-pagination { text-align: center; padding: 30px 0; }

.esst-elective-header { max-width: 900px; margin: 0 auto; padding: 50px 24px 0; }
.esst-elective-breadcrumb a { color: #f4941f; text-decoration: none; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.esst-elective-single h1 { color: #16324f; font-size: 2.4rem; line-height: 1.2; margin: 12px 0 12px; font-weight: 800; }
.esst-elective-university { color: #f4941f; font-weight: 700; font-size: 1.15rem; margin: 0 0 10px; }
.esst-elective-photo { max-width: 1100px; margin: 30px auto 10px; padding: 0 24px; }
.esst-elective-photo img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 4px; display: block; }
.esst-elective-content { max-width: 900px; margin: 0 auto; padding: 40px 24px 70px; }
.esst-elective-content h2 { color: #16324f; font-size: 1.4rem; font-weight: 700; margin: 38px 0 14px; }
.esst-elective-content h3 { color: #16324f; font-size: 1.1rem; font-weight: 700; margin: 22px 0 10px; }
.esst-elective-content p, .esst-elective-content li { line-height: 1.75; color: #333; }
.esst-elective-content ul { padding-left: 22px; }
.esst-elective-content a { color: #f4941f; }

.esst-pill-btn { display: inline-block; background: #2281B0; color: #fff !important; font-weight: 700; padding: 14px 32px; border-radius: 30px; text-decoration: none !important; margin: 10px 0 30px; }
.esst-pill-btn:hover { background: #1b6a8c; }

.esst-info-band { background: #16324f; color: #fff; text-align: center; padding: 50px 24px; width: 100vw; position: relative; left: 50%; margin-left: -50vw; margin-top: 40px; }
.esst-info-band h2 { color: #fff; font-size: 1.8rem; margin: 0 0 10px; }
.esst-info-band p { color: #cfe0ea; margin: 0; }

details.esst-bib { margin: 50px 0 0; padding: 0; }
details.esst-bib summary { background: #16324f; color: #fff; text-align: center; font-weight: 800; font-size: 1.4rem; cursor: pointer; padding: 36px 24px; list-style: none; width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
details.esst-bib summary::-webkit-details-marker { display: none; }
details.esst-bib summary:after { content: '+'; display: block; color: #fff; font-size: 1.6rem; margin-top: 6px; }
details.esst-bib[open] summary:after { content: '\2212'; }
details.esst-bib .esst-bib-body { max-width: 900px; margin: 0 auto; padding: 34px 24px 10px; }
details.esst-bib h3 { color: #16324f; font-size: 1.05rem; margin: 20px 0 8px; }
details.esst-bib p, details.esst-bib li { line-height: 1.7; color: #333; }


/* ============ ESST elective: video embed + info tabs ============ */
.esst-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 800px; margin: 40px auto; border-radius: 4px; }
.esst-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.esst-info-tabs { max-width: 900px; margin: 50px auto 0; padding: 0 24px 60px; }
.esst-tabs-nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid #e2e2e2; margin-bottom: 28px; }
.esst-tab-btn { background: none; border: none; padding: 12px 18px; font-weight: 700; font-size: 0.95rem; color: #16324f; cursor: pointer; border-bottom: 3px solid transparent; font-family: inherit; }
.esst-tab-btn.active { color: #2281B0; border-bottom-color: #2281B0; }
.esst-tab-btn:hover { color: #2281B0; }
.esst-tab-panel { display: none; }
.esst-tab-panel.active { display: block; }
.esst-tab-panel h3 { color: #16324f; font-size: 1.1rem; font-weight: 700; margin: 22px 0 10px; }
.esst-tab-panel h3:first-child { margin-top: 0; }
.esst-tab-panel p, .esst-tab-panel li { line-height: 1.75; color: #333; }
.esst-tab-panel ul { padding-left: 22px; }
.esst-tab-panel a { color: #f4941f; }

.esst-elective-photos { display: flex; flex-wrap: nowrap; gap: 16px; max-width: 900px; margin: 30px auto; padding: 0 24px; box-sizing: border-box; } .esst-elective-photos img { box-sizing: border-box; flex: 1 1 0; min-width: 0; } @media (max-width: 700px) { .esst-elective-photos { flex-wrap: wrap; } .esst-elective-photos img { flex: 0 0 100%; max-width: 100%; width: 100% !important; } }
.esst-elective-photos img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; display: block; }
