.brand-logo {
    display: block;
    width: auto;
    max-width: min(240px, 100%);
    max-height: 90px;
    margin-bottom: 18px;
    object-fit: contain;
}

.pcms-custom-fields {
    display: grid;
    gap: 0;
    margin: 24px 0;
    border: 1px solid #dfe5ec;
    background: #fff;
}

.pcms-custom-field {
    display: grid;
    grid-template-columns: minmax(150px, 32%) minmax(0, 1fr);
    gap: 18px;
    padding: 12px 15px;
    border-top: 1px solid #e8edf2;
}

.pcms-custom-field:first-child { border-top: 0; }
.pcms-custom-field dt { font-weight: 750; }
.pcms-custom-field dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.pcms-custom-field img { display: block; max-width: 100%; height: auto; }

@media (max-width: 620px) {
    .pcms-custom-field { grid-template-columns: 1fr; gap: 4px; }
}

.content-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    margin: -4px -4px 15px;
    overflow: hidden;
    border-radius: 11px;
    background: #eef1f5;
}

.content-card__image img,
.game-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-cover {
    max-height: 520px;
    margin-bottom: 22px;
    border-radius: 14px;
}

@media (max-width: 620px) {
}

/* System components are loaded for every theme. */
.pcms-site-search {
    width: min(760px, 100%);
    margin: 20px auto 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}
.pcms-site-search label { margin: 0; }
.pcms-site-search input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 11px 15px;
    border: 1px solid #d9e0e8;
    border-radius: 12px;
    background: #fff;
    color: #172033;
    font: inherit;
    outline: none;
    box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}
.pcms-site-search input[type="search"]:focus { border-color: #5b5ce2; box-shadow: 0 0 0 3px rgb(91 92 226 / 12%); }
.pcms-site-search button {
    min-height: 48px;
    padding: 10px 20px;
    border: 0;
    border-radius: 12px;
    background: #5b5ce2;
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.pcms-smart-banner { display: block; margin: 24px 0; overflow: hidden; border-radius: 14px; text-decoration: none; }
.pcms-smart-banner img { display: block; width: 100%; height: auto; border-radius: inherit; }
.pcms-smart-rating { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 12px; border: 1px solid #e0e5ec; border-radius: 10px; background: #fff; }
.pcms-smart-rating b { font-size: 1.15em; }
.pcms-smart-rating small { opacity: .65; }
.pcms-smart-cta { display: inline-flex; min-height: 44px; padding: 10px 18px; align-items: center; justify-content: center; border-radius: 10px; background: #5b5ce2; color: #fff !important; font-weight: 750; text-decoration: none; }
.pcms-smart-offers, .pcms-smart-list { display: grid; gap: 12px; margin: 20px 0; }
.pcms-smart-offer { padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #e0e5ec; border-radius: 12px; background: #fff; }
.pcms-smart-offer h3 { margin: 3px 0 0; font-size: 1.05em; }
.pcms-smart-offer p { margin: 5px 0 0; }
.pcms-smart-offer code { padding: 7px 9px; border-radius: 7px; background: #f3f5f8; }
.pcms-smart-offer > a { flex: 0 0 auto; }

@media (max-width: 620px) {
    .pcms-site-search { grid-template-columns: 1fr; }
    .pcms-site-search button { width: 100%; }
    .pcms-smart-offer { align-items: stretch; flex-direction: column; }
}


/* PartnerCMS reusable blocks */
.pcms-saved-block{margin:28px 0}.pcms-saved-block>h2{margin:0 0 14px}.pcms-saved-list--compact{padding:18px 20px;border:1px solid #e0e5ec;border-radius:12px;background:#fff}.pcms-saved-list--compact ul{margin:0;padding-left:22px;display:grid;gap:8px}.pcms-saved-list--compact a{font-weight:700}.pcms-saved-rating{overflow:hidden;border:1px solid #e0e5ec;border-radius:14px;background:#fff}.pcms-saved-rating>h2{margin:0;padding:17px 20px;border-bottom:1px solid #e0e5ec}.pcms-saved-rating ol{margin:0;padding:0;list-style:none}.pcms-saved-rating__item{padding:13px 16px;display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:12px;border-bottom:1px solid #e8ebef}.pcms-saved-rating__item:last-child{border-bottom:0}.pcms-saved-rating__rank{width:34px;height:34px;display:grid;place-items:center;border-radius:999px;background:#f3f5f8;font-weight:850}.pcms-saved-rating__item>div{display:grid;gap:2px}.pcms-saved-rating__item>div>a{color:inherit;font-weight:800;text-decoration:none}.pcms-saved-rating__item>div>small{opacity:.68}.pcms-saved-rating__item>strong{white-space:nowrap;font-size:18px}.pcms-saved-rating__item>strong small{margin-left:2px;opacity:.6;font-size:11px}.pcms-saved-rating__cta{min-height:38px;padding:7px 12px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:#5b5ce2;color:#fff!important;font-weight:750;text-decoration:none}.pcms-saved-block .pcms-smart-banner{margin:0}
@media(max-width:700px){.pcms-saved-rating__item{grid-template-columns:34px minmax(0,1fr) auto}.pcms-saved-rating__cta{grid-column:2/-1}.pcms-saved-rating__item>strong{font-size:16px}}

/* PartnerCMS 2.0 — universal grouped-search shell. Themes may override these classes. */
.pcms-search-zone{margin:0 0 30px;padding:18px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 6px 22px rgb(15 23 42 / 4%)}
.pcms-search-zone__head{display:flex;align-items:center;gap:10px;margin:0 0 15px;padding-bottom:12px;border-bottom:1px solid #edf1f5}
.pcms-search-zone__head>div{min-width:0;flex:1}.pcms-search-zone__head h2{margin:0;font-size:clamp(19px,2.2vw,24px);line-height:1.2;color:inherit}.pcms-search-zone__head p{margin:5px 0 0;color:#64748b;font-size:13px;line-height:1.45}
.pcms-search-zone__head>span{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:800}
.pcms-search-zone__all{margin-left:auto;font-weight:750;text-decoration:none;white-space:nowrap}
.pcms-search-zone>.content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pcms-search-zone .category-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(max-width:900px){.pcms-search-zone>.content-grid,.pcms-search-zone .category-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.pcms-search-zone{padding:14px}.pcms-search-zone__head{align-items:flex-start;flex-wrap:wrap}.pcms-search-zone__all{margin-left:0;width:100%}.pcms-search-zone>.content-grid,.pcms-search-zone .category-card-grid{grid-template-columns:1fr}}
