/* Travet Live Center styles only its own component and inherits the active WordPress theme. */
.tlc-live-center {
    --tlc-accent: #c9151e;
    --tlc-border: rgba(0, 0, 0, .12);
    --tlc-soft: rgba(0, 0, 0, .045);
    width: 100%;
    color: inherit;
    font: inherit;
}

.tlc-event-header,
.tlc-status-row,
.tlc-update-meta {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.tlc-event-header {
    justify-content: space-between;
    border-bottom: 2px solid var(--tlc-border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.tlc-event-title {
    margin: .35rem 0 0;
    font: inherit;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.08;
}

.tlc-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .25rem .65rem;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 1px solid var(--tlc-border);
}

.tlc-status--live {
    color: #fff;
    background: var(--tlc-accent);
    border-color: var(--tlc-accent);
}

.tlc-status--live::before {
    content: '';
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: currentColor;
    margin-right: .4rem;
    animation: tlc-pulse 1.7s infinite;
}

@keyframes tlc-pulse { 50% { opacity: .35; } }

.tlc-last-updated,
.tlc-update-author,
.tlc-form-note,
.tlc-update-meta,
.tlc-connection-note {
    opacity: .68;
    font-size: .86rem;
}

.tlc-refresh-button,
.tlc-question-form button {
    appearance: none;
    border: 1px solid var(--tlc-border);
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    padding: .55rem .85rem;
    cursor: pointer;
    border-radius: 4px;
}

.tlc-question-form button {
    background: var(--tlc-accent);
    color: #fff;
    border-color: var(--tlc-accent);
}

.tlc-event-intro {
    margin: 0 0 1.5rem;
}

.tlc-question-box {
    border: 1px solid var(--tlc-border);
    border-left: 4px solid var(--tlc-accent);
    padding: 0 1rem;
    margin: 0 0 1.5rem;
}

.tlc-question-box summary {
    cursor: pointer;
    font-weight: 800;
    padding: .9rem 0;
}

.tlc-question-form {
    padding-bottom: 1rem;
}

.tlc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.tlc-question-form label {
    display: block;
    margin-bottom: .8rem;
}

.tlc-question-form label > span {
    display: block;
    font-weight: 700;
    margin-bottom: .3rem;
}

.tlc-question-form input,
.tlc-question-form textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    color: inherit;
    background: inherit;
    border: 1px solid var(--tlc-border);
    padding: .7rem;
    font: inherit;
}

.tlc-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
}

.tlc-question-message { margin-top: .7rem; font-weight: 700; }
.tlc-connection-note { min-height: 1.3em; margin-bottom: .35rem; }

.tlc-feed {
    border-top: 1px solid var(--tlc-border);
}

.tlc-update {
    position: relative;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--tlc-border);
}

.tlc-update--important,
.tlc-update--pinned {
    padding-left: 1rem;
    border-left: 4px solid var(--tlc-accent);
}

.tlc-update--result .tlc-update-content {
    font-weight: 700;
}

.tlc-update-meta {
    margin-bottom: .65rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .03em;
}

.tlc-update-meta time {
    color: var(--tlc-accent);
    opacity: 1;
}

.tlc-pin {
    background: var(--tlc-soft);
    padding: .15rem .4rem;
    border-radius: 3px;
}

.tlc-update-content > :first-child,
.tlc-reader-question > :first-child { margin-top: 0; }
.tlc-update-content > :last-child,
.tlc-reader-question > :last-child { margin-bottom: 0; }

.tlc-reader-question {
    margin: 0 0 .9rem;
    padding: .8rem 1rem;
    border: 0;
    background: var(--tlc-soft);
    font-style: normal;
}

.tlc-reader-question p { margin: .25rem 0 0; }

.tlc-update-image {
    margin: 1rem 0 0;
}

.tlc-update-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.tlc-update-image figcaption {
    opacity: .7;
    font-size: .85rem;
    margin-top: .35rem;
}

.tlc-update-author { margin-top: .8rem; }
.tlc-no-updates,
.tlc-empty { padding: 1.2rem 0; opacity: .7; }

@media (max-width: 620px) {
    .tlc-form-grid { grid-template-columns: 1fr; gap: 0; }
    .tlc-event-header { align-items: flex-start; }
    .tlc-refresh-button { padding: .45rem .6rem; }
}


/* Google AdSense inside live feed */
.tlc-update--ad {
    padding: 1.35rem 0;
    text-align: center;
}
.tlc-ad-label {
    margin-bottom: .55rem;
    font-size: .68rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .58;
}
.tlc-adsense-slot {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.tlc-adsense-slot .adsbygoogle {
    display: block;
    max-width: 100%;
}
