/* Brand hero block — shown on /{category}/mark/{id} pages */

.brand-hero {
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .06);
}

/* Logo + text + video on a single row */
.brand-hero-row {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 20px 24px;
}

.brand-hero-logo {
    flex: 0 0 170px;
    max-width: 170px;
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
}

.brand-hero-logo img {
    max-width: 100%;
    max-height: 110px;
    height: auto;
    object-fit: contain;
}

.brand-hero-body {
    flex: 1 1 auto;
    min-width: 0;
}

.brand-hero-title {
    margin: 0 0 12px 0;
    font-size: 34px;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-hero-description {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    /* Keep the hero compact — short teaser, full text lives on "ნახე სრულად" */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-hero-more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
    padding: 8px 18px; background: #df2121; color: #fff; border-radius: 8px;
    font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s ease;
}
.brand-hero-more:hover { background: #b81717; color: #fff; text-decoration: none; }

.brand-hero-description p { margin: 0 0 10px; }
.brand-hero-description img { max-width: 100%; height: auto; border-radius: 6px; margin: 6px 0; }
.brand-hero-description iframe { max-width: 100%; }

.brand-hero-video {
    flex: 0 0 360px;
    max-width: 360px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.brand-hero-video::before {
    content: "";
    display: block;
    padding-bottom: 56.25%; /* 16:9 */
}

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

@media (max-width: 900px) {
    .brand-hero-row { flex-direction: column; }
    .brand-hero-logo { flex: 0 0 auto; max-width: 150px; align-self: center; }
    .brand-hero-video { flex: 0 0 auto; width: 100%; max-width: 100%; }
    /* Stacked layout — show the full description, no clamp */
    .brand-hero-description { display: block; -webkit-line-clamp: unset; overflow: visible; }
}

@media (max-width: 600px) {
    .brand-hero-title { font-size: 26px; }
}
