/* Алвис Турклуб: перекраска стандартной темы ElkArte под турецкое побережье.
   Глубокое море #0b4f6c, бирюза #0e8fa3, лагуна #5cc3cf, песок #f6ecd9, терракота #c8553d, солнце #f2a33a */
:root { --at-deep: #0b4f6c; --at-sea: #0e8fa3; --at-lagoon: #5cc3cf; --at-sand: #f6ecd9; --at-terra: #c8553d; --at-sun: #f2a33a; }
html { background: #0b4f6c; }
body { background: linear-gradient(180deg, #7cc9d3 0, #bfe3e6 260px, #efe3cb 700px, #e9dcc0 100%); color: #263a44; }
#wrapper { border-top-color: var(--at-sun); }
a, a:link, a:visited { color: #0b6f86; }
a:hover { color: var(--at-terra); }

/* верхняя полоса и шапка: небо, солнце, море */
#top_section { background: var(--at-deep); border-bottom: 3px solid var(--at-sun); }
#top_section, #top_section a, #top_section .welcome { color: #e9f6f7; }
#header { background: linear-gradient(180deg, #8fd3dc 0%, #bfe6ea 55%, var(--at-lagoon) 55%, var(--at-sea) 80%, var(--at-sand) 80%, #ecdcbc 100%); border-radius: 0 0 6px 6px; padding: 18px 20px 40px; position: relative; }
#forumtitle .forumlink, #forumtitle a.forumlink { color: #fff; font-size: 2.1em; font-weight: 700; text-shadow: 0 2px 5px rgba(11, 79, 108, .55); }
#siteslogan { color: #0b4f6c; font-size: 14px; font-weight: 600; line-height: 1.3; max-width: 240px; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
#logobox { display: flex; align-items: center; gap: 12px; }
#logo { max-height: 64px; }

/* меню */
#main_menu .linklevel1, #menu_nav .linklevel1 { color: var(--at-deep); }
#main_menu .linklevel1.active, #main_menu .listlevel1:hover .linklevel1, #main_menu .linklevel1:hover { background: var(--at-terra); color: #fff; border-color: var(--at-terra); }
.linklevel1.active, .linklevel1.active:hover { background: var(--at-terra) !important; color: #fff !important; }

/* хлебные крошки */
.breadcrumb .crumb, .breadcrumb .crumb a { background: var(--at-sand); color: var(--at-deep); }
.breadcrumb .crumb:after, .breadcrumb .crumb:before { border-left-color: var(--at-sand); }
.breadcrumb .crumb:first-child, .breadcrumb .crumb:first-child a { background: var(--at-sea); color: #fff; }

/* заголовки категорий и блоков */
html .category_header, html .forum_category .category_header, html .content_category .category_header, html .forumposts .category_header {
	background: linear-gradient(90deg, var(--at-deep), var(--at-sea)); color: #fff; border: 0; border-radius: 5px 5px 0 0; font-weight: 700;
}
.category_header a, .category_header a:link, .category_header a:visited { color: #fff; }
.forum_category { border: 1px solid #cfe3e6; border-radius: 6px; background: #fff; }
.board_row:nth-child(even), .topic_listing > li:nth-child(even) { background: #fbf8f1; }
.board_row { border-bottom: 1px solid #e7eef0; }
.board_name a, a.board_name, .board_info .board_name { color: var(--at-deep); font-weight: 700; }
.board_name a:hover { color: var(--at-terra); }
.board_description { color: #5f727a; }
.board_icon i, .board_icon .i-board-off, .board_icon .i-board-on, .i-board-sub { color: var(--at-sea) !important; }
.board_latest, .board_stats { color: #6d7d83; }

/* список тем */
.topic_listing, .topic_details { border-color: #d7e6e8; }
.topic_name a, .topic_details h4 a { color: var(--at-deep); font-weight: 700; }
.topic_name a:hover { color: var(--at-terra); }
.topic_listing .stickybg, .stickybg { background: #fff6e3 !important; }

/* сообщения */
.forumposts .post_wrapper { border-top: 3px solid var(--at-lagoon); background: #fff; }
.poster { background: var(--at-sand); }
.poster h4, .poster h4 a { color: var(--at-deep); font-weight: 700; }
.poster .membergroup, .poster .postgroup { color: var(--at-terra); }
.poster img.avatar { border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #e2cfa8; }
.poster .cust_locate, .poster .cust_with, .poster .cust_turk, .poster li.custom { font-size: .88em; color: #61574a; }
.keyinfo h5, .keyinfo .smalltext { color: #6b7b80; }
.bbc_standard_quote, .bbc_quote, blockquote.bbc_standard_quote, blockquote.bbc_alternate_quote { background: #eef8f9; border-left: 3px solid var(--at-sea); }
.quoteheader, .quoteheader a, .bbc_quote_header { color: var(--at-sea); }
.inner a.bbc_link, .bbc_link { text-decoration: underline; text-decoration-color: var(--at-sun); text-underline-offset: 3px; }

/* кнопки и пагинация */
.linkbutton, .button_submit, input[type="submit"], button.button_submit { background: var(--at-sea); border-color: var(--at-sea); color: #fff !important; }
.linkbutton:hover, .button_submit:hover, input[type="submit"]:hover { background: var(--at-terra); border-color: var(--at-terra); }
.pagelinks .current_page, .pagelinks .current_page strong { background: var(--at-sea); color: #fff; border-color: var(--at-sea); }
.pagelinks a.navPages:hover { background: var(--at-sand); }

/* подвал */
#footer_section { background: var(--at-deep); border-top: 3px solid var(--at-sun); color: #d6ecef; }
#footer_section a { color: #fff; }

/* лишнее: кнопка RSS, «Отметить прочитанным», легенда значков, ссылки входа/регистрации гостям */
#index_common_stats, #button_rss, .rssfeeds, #upshrink_header, .board_legend, #mark_all_read, #posting_icons { display: none !important; }

/* карточка автора: звание и поля профиля видны сразу, без выпадающего меню */
.poster .listlevel1.subsections > .menulevel2 { display: block !important; position: static !important; visibility: visible !important; opacity: 1 !important; box-shadow: none !important; border: 0 !important; background: transparent !important; min-width: 0 !important; width: auto !important; padding: 2px 0 0 !important; margin: 0 !important; }
.poster .menulevel2 > li { display: none; }
.poster .menulevel2 > li.postgroup, .poster .menulevel2 > li.membergroup, .poster .menulevel2 > li.custom, .poster .menulevel2 > li.postcount { display: block; padding: 1px 0; line-height: 1.35; background: none; }
.poster .menulevel2 > li.postgroup, .poster .menulevel2 > li.membergroup { color: var(--at-terra); font-weight: 600; font-size: 12px; }
.poster .menulevel2 > li.custom, .poster .menulevel2 > li.postcount { font-size: 11.5px; color: #61574a; }
.poster .listlevel1.subsections > a.linklevel1:after { display: none; }
.poster .listlevel1.icons { display: none; }
.poster { text-align: center; }

/* аватары: в теме 96px над званием, в профиле 150px */
.poster .poster_avatar, .poster li.poster_avatar { padding: 6px 0 4px; }
.poster img.avatar, .poster .avatar img { width: 96px !important; height: 96px !important; max-width: 96px !important; object-fit: cover; }
#basicinfo img.avatar, .profile_basic img.avatar, #profileview img.avatar { width: 150px !important; height: 150px !important; max-width: 150px !important; object-fit: cover; border-radius: 50%; }
#basicinfo .username, #basicinfo h4 { margin-bottom: 6px; }
