/* ============================================
   LENSPO AWARDS STYLING
   Awards landing page, single award page, cards,
   filters, timeline, gallery and badges. Built to
   match the existing theme (green brand + Bootstrap
   utility classes already in use site-wide).
   Brand green: #2B8B47  ·  Award gold: #E0A800
   ============================================ */

:root {
    --award-green: #2B8B47;
    --award-green-dark: #238f61;
    --award-gold: #e0a800;
    --award-gold-dark: #c8920a;
    --award-ink: #1d1d1d;
    --award-muted: #7a7a7a;
    --award-line: #e7efe9;
    --award-soft: #f7faf8;
    --award-shadow: 0 10px 30px rgba(20, 40, 25, 0.08);
}

/* ---------- Buttons ---------- */
.btn-award {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    line-height: 1.2;
}
.btn-award-primary {
    background: var(--award-green);
    color: #fff;
    box-shadow: 0 2px 8px rgba(43, 139, 71, .25);
}
.btn-award-primary:hover {
    background: var(--award-green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(43, 139, 71, .32);
}
.btn-award-outline {
    background: #fff;
    color: var(--award-green);
    border-color: var(--award-green);
}
.btn-award-outline:hover { background: var(--award-green); color: #fff; }

/* ---------- Badges / chips ---------- */
.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}
.award-badge.badge-featured { background: #fff4d6; color: #9a6a00; }

.award-type-chip,
.award-year-chip,
.award-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 30px;
    padding: 4px 11px;
    line-height: 1.4;
}
.award-type-chip { background: rgba(224, 168, 0, .14); color: var(--award-gold-dark); }
.award-year-chip { background: var(--award-green); color: #fff; }
.award-cat-badge { background: #eef4f0; color: var(--award-green); }

/* ---------- Breadcrumb ---------- */
.awards-breadcrumb { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.85); }
.awards-breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.awards-breadcrumb a:hover { color: #fff; }
.awards-breadcrumb .sep { margin: 0 8px; opacity: .6; }
.awards-breadcrumb .current { color: #fff; font-weight: 600; }

/* ---------- Intro ---------- */
.awards-page .awards-intro { max-width: 820px; margin: 0 auto; }
.awards-intro-text { color: var(--award-muted); font-size: 1.05rem; }

/* ---------- Featured award ---------- */
.featured-award-section { margin: 50px 0 30px; }
.featured-award-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #fff;
    border: 1px solid var(--award-line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--award-shadow);
}
.featured-award-media { position: relative; min-height: 320px; }
.featured-award-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-award-media .award-badge { position: absolute; top: 16px; left: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.featured-award-content { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-award-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.featured-award-title { font-size: 1.9rem; font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.featured-award-title a { color: var(--award-ink); text-decoration: none; }
.featured-award-title a:hover { color: var(--award-green); }
.featured-award-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--award-muted); font-size: 14px; margin-bottom: 16px; }
.featured-award-meta i { color: var(--award-green); margin-right: 5px; }
.featured-award-desc { color: #555; margin-bottom: 22px; }

/* ---------- Filter bar ---------- */
.award-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--award-line);
    border-radius: 14px;
    padding: 16px 18px;
    margin: 36px 0 28px;
    box-shadow: 0 4px 16px rgba(20,40,25,.05);
}
.award-filter-search {
    position: relative;
    flex: 1 1 240px;
    display: flex;
    align-items: center;
}
.award-filter-search i { position: absolute; left: 14px; color: var(--award-muted); }
.award-filter-search input {
    width: 100%;
    padding: 11px 14px 11px 38px;
    border: 1px solid #dfe6e1;
    border-radius: 9px;
    font-size: 14px;
    background: var(--award-soft);
}
.award-filter-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.award-filter-field select {
    padding: 10px 14px;
    border: 1px solid #dfe6e1;
    border-radius: 9px;
    font-size: 14px;
    background: var(--award-soft);
    cursor: pointer;
    min-width: 130px;
}
.award-filter-search input:focus,
.award-filter-field select:focus {
    outline: none;
    border-color: var(--award-green);
    box-shadow: 0 0 0 3px rgba(43,139,71,.12);
}

/* ---------- Listing ---------- */
.awards-listing-head { margin: 8px 0 18px; }
.awards-listing-title { font-size: 1.5rem; font-weight: 800; color: var(--award-ink); }

.award-listing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--award-line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.award-listing-card:hover { transform: translateY(-5px); box-shadow: var(--award-shadow); }
.award-listing-card.is-featured { border-color: var(--award-gold); }

.award-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.award-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.award-listing-card:hover .award-card-media img { transform: scale(1.05); }
.award-card-media .award-type-chip { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(2px); }
.award-card-media .award-badge.badge-featured { position: absolute; top: 12px; right: 12px; }
.award-card-media .award-year-chip { position: absolute; bottom: 12px; left: 12px; }

.award-card-body { padding: 18px 20px 8px; flex: 1; }
.award-card-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-bottom: 10px; }
.award-card-date { color: var(--award-muted); font-size: 12.5px; }
.award-card-date i { margin-right: 5px; color: var(--award-green); }
.award-card-title { font-size: 1.2rem; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.award-card-title a { color: var(--award-ink); text-decoration: none; }
.award-card-title a:hover { color: var(--award-green); }
.award-card-recipient { font-size: 13.5px; color: #444; margin-bottom: 8px; }
.award-card-recipient i { color: var(--award-green); margin-right: 6px; }
.award-card-dept { color: var(--award-muted); }
.award-card-desc { color: var(--award-muted); font-size: 13.5px; margin-bottom: 0; }
.award-card-actions { padding: 6px 20px 20px; }
.award-card-actions .btn-award { width: 100%; justify-content: center; }

/* ---------- Pagination ---------- */
.awards-pagination { margin: 30px 0 10px; }
.awards-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.awards-pagination a, .awards-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border-radius: 9px; border: 1px solid var(--award-line);
    background: #fff; color: var(--award-ink); text-decoration: none; font-weight: 600;
    transition: all .2s ease;
}
.awards-pagination a:hover { border-color: var(--award-green); color: var(--award-green); }
.awards-pagination .current { background: var(--award-green); border-color: var(--award-green); color: #fff; }

/* ---------- Timeline ---------- */
.awards-timeline-section { margin: 70px 0 30px; }
.awards-timeline { position: relative; max-width: 880px; margin: 30px auto 0; padding-left: 30px; }
.awards-timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--award-line); }
.awards-timeline-group { position: relative; margin-bottom: 34px; }
.awards-timeline-year {
    display: inline-block; font-weight: 800; color: #fff;
    background: var(--award-green); padding: 4px 16px; border-radius: 30px;
    margin-bottom: 16px; position: relative;
}
.awards-timeline-year::before {
    content: ""; position: absolute; left: -29px; top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px; border-radius: 50%; background: var(--award-gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--award-gold);
}
.awards-timeline-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.awards-timeline-item {
    display: flex; gap: 12px; align-items: center;
    background: #fff; border: 1px solid var(--award-line); border-radius: 12px; padding: 10px; text-decoration: none;
    transition: all .2s ease;
}
.awards-timeline-item:hover { border-color: var(--award-green); box-shadow: var(--award-shadow); }
.awards-timeline-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.awards-timeline-info { display: flex; flex-direction: column; }
.awards-timeline-info strong { color: var(--award-ink); font-size: 14px; line-height: 1.25; }
.awards-timeline-info .t-type { color: var(--award-gold-dark); font-size: 12px; font-weight: 600; }
.awards-timeline-info .t-dept { color: var(--award-muted); font-size: 12px; }

/* ---------- Gallery ---------- */
.awards-gallery-section { margin: 70px 0 20px; }
.awards-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 24px; }
.awards-gallery-item { display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; }
.awards-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.awards-gallery-item:hover img { transform: scale(1.08); }

/* ---------- Homepage "Award Photo of the Year" ---------- */
.home-poty-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: #fff;
    border: 1px solid var(--award-line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--award-shadow);
    max-width: 1040px;
    margin: 0 auto;
}
.home-poty-media { position: relative; min-height: 340px; }
.home-poty-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-poty-media .award-badge { position: absolute; top: 16px; left: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.home-poty-content { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.home-poty-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.home-poty-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.home-poty-title a { color: var(--award-ink); text-decoration: none; }
.home-poty-title a:hover { color: var(--award-green); }
.home-poty-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--award-muted); font-size: 14px; margin-bottom: 16px; }
.home-poty-meta i { color: var(--award-green); margin-right: 5px; }
.home-poty-desc { color: #555; margin-bottom: 22px; }
.home-poty-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-awards-more { max-width: 1040px; margin-left: auto; margin-right: auto; }

/* ---------- Single award ---------- */
.award-single-figure { background: #fff; border: 1px solid var(--award-line); border-radius: 16px; padding: 14px; box-shadow: var(--award-shadow); }
.award-single-figure .award-badge { position: absolute; top: 24px; left: 24px; z-index: 2; }
.award-single-figure img { width: 100%; border-radius: 10px; display: block; }
.award-single-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.award-thumb { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.award-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.award-thumb.is-active { border-color: var(--award-green); }

.award-info-strip { list-style: none; padding: 0; margin: 0 0 24px; border: 1px solid var(--award-line); border-radius: 12px; overflow: hidden; }
.award-info-strip li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--award-line); }
.award-info-strip li:last-child { border-bottom: 0; }
.award-info-strip li:nth-child(odd) { background: var(--award-soft); }
.award-info-strip .label { color: var(--award-muted); font-weight: 600; font-size: 13.5px; }
.award-info-strip .value { color: var(--award-ink); font-weight: 700; font-size: 14px; text-align: right; }

.award-description { color: #444; line-height: 1.8; margin-bottom: 26px; }

.award-share { display: flex; align-items: center; gap: 10px; margin: 6px 0 20px; }
.award-share-label { font-weight: 700; color: var(--award-ink); }
.award-share-btn {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; transition: transform .2s ease, opacity .2s ease;
}
.award-share-btn:hover { transform: translateY(-2px); color: #fff; opacity: .9; }
.award-share-btn.share-fb { background: #1877f2; }
.award-share-btn.share-x  { background: #1da1f2; }
.award-share-btn.share-li { background: #0a66c2; }
.award-share-btn.share-wa { background: #25d366; }

.award-certificate-section { margin: 50px 0 20px; }
.award-certificate { text-align: center; }
.award-certificate img { max-width: 100%; box-shadow: var(--award-shadow); }

/* ---------- Prev / next ---------- */
.award-adjacent { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0 10px; border-top: 1px solid var(--award-line); padding-top: 24px; }
.award-adjacent-item { flex: 1; }
.award-adjacent-item.next { text-align: right; }
.award-adjacent-item a { text-decoration: none; display: inline-flex; flex-direction: column; gap: 4px; }
.award-adjacent-item .dir { color: var(--award-green); font-weight: 700; font-size: 13px; }
.award-adjacent-item .title { color: var(--award-ink); font-weight: 600; }
.award-adjacent-item a:hover .title { color: var(--award-green); }

.awards-related { background: var(--award-soft); padding: 60px 0; margin-top: 50px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .featured-award-card, .home-poty-card { grid-template-columns: 1fr; }
    .featured-award-media, .home-poty-media { min-height: 260px; }
    .featured-award-content, .home-poty-content { padding: 28px 26px; }
    .awards-page .padding-lr200 { padding-left: 0; padding-right: 0; }
}
@media (max-width: 575px) {
    .award-filter-bar { padding: 14px; }
    .award-filter-controls { width: 100%; }
    .award-filter-field, .award-filter-field select { flex: 1 1 100%; width: 100%; }
    .featured-award-title, .home-poty-title { font-size: 1.5rem; }
    .awards-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .award-info-strip .value { text-align: left; }
}
