/* =========================================================
   HARIMAU TV - HIGHLIGHTS BOARD
   Desktop / 3 Column / 600x404
   ========================================================= */

body #wrapper {
    width: 100%;
}

body #container_wr {
    width: 100%;
    max-width: none;
}

body #container {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

#container_title {
    display: none;
}


/* BOARD */

.harimau-highlights-board {
    width: calc(100% - 40px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 44px 0 80px;
    box-sizing: border-box;
}


/* HERO */

.harimau-highlights-hero {
    position: relative;
    padding: 38px 42px;
    margin-bottom: 28px;
    background: #111111;
    border-radius: 16px;
    overflow: hidden;
}

.harimau-highlights-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #ffcc00;
}

.harimau-highlights-kicker {
    display: block;
    margin-bottom: 10px;
    color: #ffcc00;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.harimau-highlights-title {
    margin: 0 0 12px;
    padding: 0;
    color: #ffffff;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
}

.harimau-highlights-intro {
    max-width: 780px;
    margin: 0;
    color: #cfcfcf;
    font-size: 15px;
    line-height: 1.75;
}


/* WRITE */

.harimau-highlights-top-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.harimau-highlights-write {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    background: #111111;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
}


/* GRID */

.harimau-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}


/* CARD */

.harimau-highlight-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.harimau-highlight-card:hover {
    transform: translateY(-3px);
    border-color: #ffcc00;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}


/* IMAGE */

.harimau-highlight-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 600 / 404;
    overflow: hidden;
    background: #eeeeee;
}

.harimau-highlight-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.harimau-highlight-noimage {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111111;
}

.harimau-highlight-noimage strong {
    color: #ffcc00;
    font-size: 24px;
    font-weight: 900;
}

.harimau-highlight-noimage span {
    margin-top: 7px;
    color: #999999;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


/* PLAY BUTTON */

.harimau-highlight-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.78);
    border: 3px solid #ffffff;
    border-radius: 50%;
    color: #ffcc00;
    font-size: 25px;
    line-height: 1;
    box-sizing: border-box;
    pointer-events: none;
}


/* BODY */

.harimau-highlight-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 245px;
    padding: 20px;
    box-sizing: border-box;
}

.harimau-highlight-label {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 6px 9px;
    background: #fff6c7;
    border-radius: 5px;
    color: #806500;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
}

.harimau-highlight-card-title {
    margin: 0 0 10px;
    padding: 0;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.4;
}

.harimau-highlight-card-title a {
    color: #111111 !important;
    text-decoration: none !important;
}

.harimau-highlight-description {
    margin: 0;
    color: #747474;
    font-size: 13px;
    line-height: 1.7;
}


/* BUTTON */

.harimau-highlight-actions {
    margin-top: auto;
    padding-top: 20px;
}

.harimau-highlight-view-button {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    box-sizing: border-box;
    background: #111111;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.harimau-highlight-view-button:hover {
    background: #ffcc00;
    color: #111111 !important;
}


/* EMPTY */

.harimau-highlights-empty {
    padding: 70px 30px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    text-align: center;
}

.harimau-highlights-empty strong {
    display: block;
    margin-bottom: 8px;
    color: #111111;
    font-size: 20px;
    font-weight: 900;
}

.harimau-highlights-empty p {
    margin: 0;
    color: #888888;
    font-size: 13px;
}


/* PAGINATION */

.harimau-highlights-pagination {
    margin-top: 35px;
    text-align: center;
}


/* TABLET */

@media (max-width: 1050px) {

    .harimau-highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* SMALL */

@media (max-width: 700px) {

    .harimau-highlights-board {
        width: calc(100% - 28px);
        padding-top: 22px;
    }

    .harimau-highlights-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   HARIMAU TV - HIGHLIGHT VIEW
   ========================================================= */

.harimau-highlight-view {
    width: calc(100% - 40px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 44px 0 80px;
    box-sizing: border-box;
}


/* HEADER */

.harimau-highlight-view-header {
    position: relative;
    padding: 38px 42px;
    margin-bottom: 28px;
    background: #111111;
    border-radius: 16px;
    overflow: hidden;
}

.harimau-highlight-view-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #ffcc00;
}

.harimau-highlight-view-kicker {
    display: block;
    margin-bottom: 10px;
    color: #ffcc00;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.harimau-highlight-view-title {
    margin: 0 0 12px;
    padding: 0;
    color: #ffffff;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.25;
}

.harimau-highlight-view-subtitle {
    margin: 0;
    color: #cccccc;
    font-size: 15px;
    line-height: 1.7;
}


/* MAIN */

.harimau-highlight-view-main {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}


/* VIDEO */

.harimau-highlight-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000000;
}

.harimau-highlight-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* FALLBACK IMAGE */

.harimau-highlight-view-image {
    width: 100%;
    overflow: hidden;
    background: #f4f4f4;
}

.harimau-highlight-view-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* CONTENT */

.harimau-highlight-view-content {
    padding: 34px 38px 40px;
}

.harimau-highlight-view-label {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 6px 10px;
    background: #fff6c7;
    border-radius: 5px;
    color: #806500;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
}

.harimau-highlight-view-text {
    color: #333333;
    font-size: 16px;
    line-height: 1.85;
    word-break: keep-all;
}

.harimau-highlight-view-text h2 {
    margin: 0 0 20px;
    padding: 0;
    color: #111111;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.4;
}

.harimau-highlight-view-text h3 {
    margin: 32px 0 14px;
    color: #111111;
    font-size: 21px;
    font-weight: 900;
}

.harimau-highlight-view-text p {
    margin: 0 0 22px;
    color: #444444;
    font-size: 16px;
    line-height: 1.85;
}

.harimau-highlight-view-text a {
    color: #9b7600;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.harimau-highlight-view-text img {
    max-width: 100%;
    height: auto;
}


/* NOTE */

.harimau-highlight-view-note {
    max-width: 960px;
    margin: 28px auto 0;
    padding: 24px 28px;
    border-left: 6px solid #ffcc00;
    background: #f7f7f7;
    box-sizing: border-box;
}

.harimau-highlight-view-note strong {
    display: block;
    margin-bottom: 8px;
    color: #111111;
    font-size: 17px;
    font-weight: 900;
}

.harimau-highlight-view-note p {
    margin: 0;
    color: #777777;
    font-size: 14px;
    line-height: 1.75;
}


/* BOTTOM ACTIONS */

.harimau-highlight-view-actions {
    display: flex;
    max-width: 960px;
    margin: 28px auto 0;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.harimau-highlight-view-back {
    display: inline-flex;
    min-height: 48px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    background: #111111;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
}

.harimau-highlight-view-admin {
    display: flex;
    gap: 8px;
}

.harimau-highlight-admin-button {
    display: inline-flex;
    min-height: 44px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #ffffff;
    color: #111111 !important;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none !important;
}

.harimau-highlight-delete {
    border-color: #111111;
}


/* MOBILE SAFETY */

@media (max-width: 700px) {

    .harimau-highlight-view {
        width: calc(100% - 28px);
        padding-top: 22px;
    }

    .harimau-highlight-view-header {
        padding: 28px 24px;
    }

    .harimau-highlight-view-title {
        font-size: 28px;
    }

    .harimau-highlight-view-content {
        padding: 24px 20px 28px;
    }

    .harimau-highlight-view-text,
    .harimau-highlight-view-text p {
        font-size: 14px;
    }

    .harimau-highlight-view-text h2 {
        font-size: 22px;
    }

    .harimau-highlight-view-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .harimau-highlight-view-back {
        width: 100%;
        box-sizing: border-box;
    }

    .harimau-highlight-view-admin {
        width: 100%;
    }

    .harimau-highlight-admin-button {
        flex: 1;
    }
}