/**
 * Public Content Styles
 * 
 * FILE LOCATION: content/assets/css/public-content.css
 * 
 * Styles for the public content pages that match the main site design
 */

/* =========================================================
   PAGE WRAPPER
   ========================================================= */
.content-page-wrapper,
.article-page-wrapper {
    padding: 20px 0 40px;
    min-height: 60vh;
}

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb-nav {
    font-size: 13px;
    color: #666;
    margin: 15px 0;
}
.breadcrumb-nav a {
    color: #F75F16;
    text-decoration: none;
}
.breadcrumb-nav a:hover {
    text-decoration: underline;
}

/* =========================================================
   PAGE INTRO
   ========================================================= */
.page-intro {
    padding: 30px 20px;
    margin-bottom: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}
.page-intro h2 {
    font-family: "avenir", Arial, sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.page-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* =========================================================
   CATEGORY FILTERS
   ========================================================= */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.filter-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.2s;
}
.filter-btn:hover {
    background: #e5e5e5;
    color: #000;
}
.filter-btn.active {
    background: #F75F16;
    color: #fff;
}

/* =========================================================
   RESULTS COUNT
   ========================================================= */
.results-count {
    font-size: 14px;
    color: #888;
    margin: 15px 0;
}

/* =========================================================
   CONTENT CARDS (Grid View)
   ========================================================= */
.content-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.content-card.locked {
    opacity: 0.9;
}

.card-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-thumbnail a {
    display: block;
}

.content-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.lock-overlay i {
    font-size: 32px;
    margin-bottom: 8px;
}
.lock-overlay span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body {
    padding: 15px;
}
.card-category {
    display: inline-block;
    font-size: 11px;
    color: #F75F16;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.card-title {
    font-family: "avenir", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #222;
}
.card-title a {
    color: inherit;
    text-decoration: none;
}
.card-title a:hover {
    color: #F75F16;
}
.card-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}
.card-views i {
    margin-right: 3px;
}
.btn-login {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background: #F75F16;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
}
.btn-login:hover {
    background: #d94d0a;
    color: #fff;
}

/* =========================================================
   ARTICLE PAGE
   ========================================================= */
.article-header {
    margin-bottom: 30px;
    text-align: center;
}
.article-category {
    display: inline-block;
    font-size: 12px;
    color: #F75F16;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.article-title {
    font-family: "avenir", Arial, sans-serif;
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 15px;
    background: transparent;
    padding: 0;
    height: auto;
    display: block;
}
.article-meta {
    font-size: 14px;
    color: #888;
}
.article-meta span {
    margin: 0 10px;
}
.article-meta i {
    margin-right: 3px;
}

.article-video {
    margin-bottom: 30px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.article-featured-image {
    margin-bottom: 30px;
}
.article-featured-image img {
    width: 100%;
    border-radius: 8px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.article-content p {
    margin-bottom: 20px;
}
.article-content h2, 
.article-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-pdf {
    margin: 30px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}
.btn-pdf-download {
    display: inline-block;
    padding: 12px 24px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}
.btn-pdf-download:hover {
    background: #000;
    color: #fff;
}
.btn-pdf-download i {
    margin-right: 8px;
}

/* =========================================================
   VIP CTA BOX
   ========================================================= */
.vip-cta-box {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #F75F16 0%, #ff8c42 100%);
    border-radius: 12px;
    text-align: center;
    color: #fff;
}
.vip-cta-box h3 {
    font-family: "avenir", Arial, sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}
.vip-cta-box p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}
.btn-vip-join {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #F75F16;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
}
.btn-vip-join:hover {
    background: #f5f5f5;
    color: #d94d0a;
}

/* =========================================================
   LOCKED ARTICLE VIEW
   ========================================================= */
.locked-article {
    text-align: center;
    padding: 40px 20px;
}
.locked-thumbnail {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
}
.locked-thumbnail img {
    width: 100%;
    filter: blur(3px);
}
.lock-overlay-large {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lock-overlay-large i {
    font-size: 64px;
    color: #fff;
}

.locked-info .article-title {
    font-size: 28px;
}
.locked-teaser {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
}

.locked-cta {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}
.lock-message {
    margin-bottom: 30px;
}
.lock-message i {
    font-size: 48px;
    color: #F75F16;
    margin-bottom: 15px;
}
.lock-message h3 {
    font-family: "avenir", Arial, sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}
.lock-message p {
    color: #666;
}

.login-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.btn-login-large {
    display: block;
    width: 100%;
    padding: 15px 30px;
    background: #F75F16;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
}
.btn-login-large:hover {
    background: #d94d0a;
    color: #fff;
}
.or-divider {
    color: #999;
    font-size: 14px;
}
.btn-join-large {
    display: block;
    width: 100%;
    padding: 15px 30px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
}
.btn-join-large:hover {
    background: #000;
    color: #fff;
}

/* =========================================================
   RELATED CONTENT
   ========================================================= */
.related-content {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}
.related-content h2 {
    font-family: "avenir", Arial, sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: left;
}
.related-card {
    margin-bottom: 20px;
}
.related-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}
.related-thumbnail img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.lock-overlay-small {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}
.related-card h4 {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}
.related-card a {
    color: #333;
    text-decoration: none;
}
.related-card a:hover {
    color: #F75F16;
}

/* =========================================================
   PODCAST EPISODE (List View)
   ========================================================= */
.podcast-episode {
    padding: 20px 0;
}
.podcast-episode.locked .podcast-thumbnail img {
    filter: brightness(0.7);
}
.podcast-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.podcast-info h3 {
    font-family: "avenir", Arial, sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}
.podcast-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}
.podcast-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}
.btn-listen {
    display: inline-block;
    padding: 10px 20px;
    background: #F75F16;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}
.btn-listen:hover {
    background: #d94d0a;
    color: #fff;
}
.episode-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 0;
}

/* =========================================================
   ALUMNI CARD (Grid View)
   ========================================================= */
.alumni-card {
    margin-bottom: 20px;
    text-align: center;
}
.alumni-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}
.alumni-card.locked .alumni-thumbnail img {
    filter: brightness(0.7);
}
.alumni-info h4 {
    font-family: "avenir", Arial, sans-serif;
    font-size: 14px;
    margin: 0 0 5px;
    line-height: 1.3;
}
.alumni-info a {
    color: #333;
    text-decoration: none;
}
.alumni-info a:hover {
    color: #F75F16;
}
.alumni-excerpt {
    font-size: 12px;
    color: #888;
    margin: 5px 0;
}
.vip-badge {
    display: inline-block;
    font-size: 10px;
    padding: 3px 8px;
    background: #333;
    color: #fff;
    border-radius: 3px;
    text-transform: uppercase;
}

/* =========================================================
   SPOTIFY BUTTON
   ========================================================= */
.btn-spotify {
    display: inline-block;
    padding: 12px 24px;
    background: #1DB954;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    margin-top: 15px;
}
.btn-spotify:hover {
    background: #1ed760;
    color: #fff;
}
.btn-spotify i {
    margin-right: 8px;
}

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination-wrapper {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}
.page-btn {
    display: inline-block;
    padding: 8px 14px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}
.page-btn:hover {
    background: #e5e5e5;
}
.page-btn.active {
    background: #F75F16;
    color: #fff;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */
.empty-state {
    padding: 60px 20px;
    text-align: center;
}
.empty-state h3 {
    font-family: "avenir", Arial, sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}
.empty-state p {
    color: #888;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
    .article-title {
        font-size: 24px;
    }
    .locked-info .article-title {
        font-size: 22px;
    }
    .podcast-info h3 {
        font-size: 18px;
    }
    .podcast-thumbnail {
        margin-bottom: 15px;
    }
    .login-options {
        width: 100%;
    }
}
