/* Action Team — rebuilt local stylesheet */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font: 14px/1.5 "Lucida Sans Unicode", "Lucida Grande", Garuda, sans-serif;
    color: #333;
    background: #f4f4f4;
    min-width: 990px;
}
a { color: #1e75c3; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; border: 0; }
.g-left { float: left; }
.g-right { float: right; }
.g-clear { clear: both; }
.g-inline-b { display: inline-block; vertical-align: middle; }
.g-icons { background: url("/assets/www.polaroidrussia.com/images/site/sprite.png") no-repeat 0 0; }
.container, .container--2, .container--3 {
    width: 990px;
    margin: 0 auto;
    padding: 0 10px;
}
.page--wrap { overflow: hidden; }

/* Header — shared with main site */
.site-wrap {
    width: 990px;
    margin: 0 auto;
    padding: 0 10px;
}
.site-header {
    height: 74px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.site-header__logo { margin-top: 18px; }
.site-header__search {
    margin-top: 20px;
    position: relative;
    padding: 5px 10px 4px 30px;
    background: #fcfcfc;
    border: 1px solid #d4d4d4;
    border-radius: 1.4em;
    width: 180px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
}
.site-header__search-text {
    border: none;
    width: 100%;
    outline: none;
    background: transparent;
    font: inherit;
}
.site-header__search-submit {
    position: absolute;
    left: 12px;
    top: 50%;
    margin-top: -6px;
    width: 12px;
    height: 12px;
    border: none;
    background-position: -113px -283px;
    cursor: pointer;
}
.site-header__nav {
    text-align: center;
    padding-top: 24px;
    font-size: 0.875em;
    color: #514e4e;
}
.site-header__nav-item {
    color: #514e4e;
    text-decoration: none;
    margin: 0 0.9em;
}
.site-header__nav-item:hover { color: #1e75c3; text-decoration: none; }
.site-header__nav-item-production { display: inline-block; }
.site-header__sub-nav {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #dedede;
    z-index: 100;
}
.site-header__nav-item-production:hover .site-header__sub-nav { display: block; }
.site-header__sub-nav-items {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    margin: 0;
}
.site-header__sub-nav-item {
    display: block;
    width: 80px;
    height: 66px;
    margin: 0 auto 8px;
    background: url("/assets/www.polaroidrussia.com/images/site/sprite-menu-new.png") center 0 no-repeat;
}
.site-header__sub-nav-item-moment { background-position: center -66px; }
.site-header__sub-nav-item-action { background-position: center -132px; }
.site-header__sub-nav-item-photo { background-position: center -198px; }
.site-header__sub-nav-item-sunglasses { background-position: center -264px; }

/* User bar */
#user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0 8px;
}
#page-title h2 {
    margin: 0;
    font-size: 1.75em;
    font-weight: 300;
    color: #222;
}
.socials { margin: 0; }
.socials dt { display: none; }

/* Hero slide */
#main-slide { margin-bottom: 0; }
.slide--wrap {
    min-height: 400px;
    background-size: cover;
    background-position: center top;
    position: relative;
}
.slide--wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}
.label--wrap {
    position: relative;
    z-index: 1;
    padding: 50px 0;
}
.label-content {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #fff;
}
.square--wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.9);
    flex-shrink: 0;
}
.square--wrap img { width: 100%; height: 100%; object-fit: cover; }
.name { font-size: 1.5em; display: block; margin-bottom: 8px; }
blockquote {
    margin: 0;
    font-size: 1.1em;
    font-style: italic;
    opacity: 0.9;
}

/* Athletes grid */
#athletes-list { padding: 48px 0 24px; background: #fff; }
.row.thumbnails {
    display: flex;
    align-items: stretch;
    gap: 16px;
}
.auxiliary--wrap {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.thumbnail {
    width: 100%;
    min-width: 0;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.thumbnail:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
    border-color: #d0e4f7;
    text-decoration: none;
    color: #1e75c3;
}
.thumbnail figure {
    margin: 0;
    padding: 16px 16px 8px;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}
.thumbnail figure img {
    border-radius: 50%;
    width: 110px;
    height: 110px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.caption {
    padding: 8px 12px 18px;
    font-size: 0.88em;
    line-height: 1.3;
}
.thumbnail.join {
    width: 150px;
    flex-shrink: 0;
    min-height: auto;
    align-self: stretch;
    border: none;
    background: linear-gradient(145deg, #1e75c3 0%, #125a9e 100%);
    color: #fff;
    font-weight: 600;
    line-height: 1.45;
    padding: 24px 16px;
    box-shadow: 0 4px 16px rgba(30, 117, 195, 0.35);
}
.thumbnail.join:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(30, 117, 195, 0.4);
}
.thumbnail.join i {
    font-style: normal;
    font-size: 2em;
    margin-top: 8px;
    line-height: 1;
}
.riders_btn_block { text-align: center; padding: 20px 0 40px; background: #fff; }
.btn, .riders_btn_block .btn {
    display: inline-block;
    padding: 12px 32px;
    background: #1e75c3;
    color: #fff !important;
    border-radius: 2em;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
}
.btn:hover { background: #1565a8; text-decoration: none; }

/* Media gallery */
#media {
    background: #eef0f2;
    padding: 0;
    margin: 0;
    overflow: visible;
    display: block;
    max-width: none;
}
.media-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 52px 20px 56px;
}
.media-inner h3 {
    text-align: center;
    font-size: 1.5em;
    font-weight: 300;
    margin: 0 0 28px;
    color: #222;
}
.media-inner h3 i {
    font-style: normal;
    color: #1e75c3;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.media-tile {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #d8d8d8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.media-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    text-decoration: none;
}
.media-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.media-tile:hover img {
    transform: scale(1.06);
}
.media-tile__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: rgba(30, 117, 195, 0.92);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    pointer-events: none;
    z-index: 2;
}

/* Events grid */
#carousel {
    background: #fff;
    padding: 48px 0 56px;
    border-top: 1px solid #e8e8e8;
}
.block_title {
    text-align: center;
    font-size: 1.5em;
    font-weight: 300;
    margin: 0 0 32px;
    color: #222;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.11);
}
.event-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.event-card__link:hover {
    text-decoration: none;
    color: inherit;
}
.event-card__img {
    height: 148px;
    overflow: hidden;
    background: #ececec;
}
.event-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.event-card:hover .event-card__img img {
    transform: scale(1.05);
}
.event-card__body {
    padding: 14px 16px 18px;
    min-height: 88px;
}
.event-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 0.84em;
    line-height: 1.45;
    color: #333;
    font-weight: 600;
    margin: 0 0 10px;
    min-height: 3.6em;
}
.event-card time {
    display: block;
    font-size: 0.78em;
    color: #999;
}
.page-actionteam .scroll-to-top {
    display: none !important;
}

@media (max-width: 900px) {
    .media-grid,
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 640px) {
    .media-inner {
        padding: 36px 16px 40px;
    }
    .media-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    #carousel {
        padding: 36px 0 44px;
    }
    .event-card__img {
        height: 120px;
    }
}

/* Footer */
.site-footer {
    background: #f0f0f0;
    padding: 24px 0;
    border-top: 1px solid #dedede;
    font-size: 13px;
}
.site-footer__nav {
    list-style: none;
    padding: 0;
    margin: 0 20px 0 0;
    float: left;
    width: 180px;
}
.site-footer__nav-item { margin-bottom: 4px; }
.site-footer__nav-item--title { font-weight: bold; text-transform: uppercase; margin-bottom: 8px; }
.site-footer__nav-item__link { color: #514e4e; text-decoration: none; }
.site-footer__copyright { clear: both; padding-top: 16px; font-size: 0.85em; color: #888; }
.site-footer__social a {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url("/assets/www.polaroidrussia.com/images/site/socials_sprite.png");
    text-indent: -9999px;
    overflow: hidden;
}
.hidden { display: none; }
