/*
Theme Name: studyukrussia
*/

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: "Segoe UI", Arial, sans-serif;
	background: #f7f7f8;
	color: #1d1d1f;
}

a { color: #006caa; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.header { background: #414042; color: #fff; }
.branding { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.logo img { height: 42px; }
.site-title { display: flex; flex-direction: column; gap: 4px; font-weight: 600; line-height: 1.3; }
.site-title .subtitle { font-size: 13px; color: #bdefff; }
.site-title .title { font-size: 18px; color: #00cbfe; }
.menu-toggle { margin-left: auto; display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 36px; background: transparent; border: 1px solid #00cbfe; border-radius: 4px; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; height: 3px; width: 100%; background: #fff; border-radius: 2px; }
.nav { padding-bottom: 12px; }
.nav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.nav a { display: block; padding: 10px 14px; background: #58595b; color: #fff; border-radius: 4px; font-size: 14px; }
.nav a:hover { background: #464646; text-decoration: none; }
.nav.is-open { display: block; }

.main { display: flex; gap: 24px; align-items: flex-start; padding: 32px 0 40px; }
.content { flex: 1 1 65%; }
.content h1 { font-size: 28px; margin: 0 0 16px; }
.content p { font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.content ul { margin: 0 0 16px 18px; padding: 0; }
.content li { margin: 0 0 8px; line-height: 1.5; }
.schedule li { list-style: disc; }
.cta-inline { margin: 12px 0 16px; }
.hero { border-radius: 8px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); margin: 0 0 20px; }
.save-the-date { padding: 12px 14px; background: #eef8ff; border-left: 4px solid #00b0e8; border-radius: 6px; }
.pictured-links-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pictured-item { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05); }
.pictured-item .info .link { font-weight: 600; margin-bottom: 6px; }

.sidebar { flex: 1 1 32%; display: flex; flex-direction: column; gap: 16px; }
.card { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); }
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0 0 10px; line-height: 1.5; }
.card .note { color: #666; font-size: 13px; margin-top: 6px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; background: #00b0e8; color: #fff; border-radius: 6px; font-weight: 600; border: none; transition: background 0.2s ease, transform 0.1s ease; cursor: pointer; box-shadow: 0 8px 16px rgba(0, 176, 232, 0.3); }
.button:hover { text-decoration: none; background: #008fc0; }
.button:active { transform: translateY(1px); }
.button.block { width: 100%; justify-content: center; }
.button.ghost { background: #fff; color: #006caa; border: 1px solid #cfe8f5; box-shadow: none; }

.footer-links { background: #f0f0f2; padding: 24px 0; }
.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.links-grid .section-title { font-weight: 700; margin-bottom: 8px; color: #1d1d1f; }
.links-grid a { display: block; margin: 4px 0; color: #006caa; }

#footer { background: #414042; color: #fff; padding: 16px 0; }
.footer-content { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 42px; height: 42px; border-radius: 6px; background: linear-gradient(135deg, #00cbfe, #006caa); }
#footer a { color: #00cbfe; }

.breadcrumbs { display: flex; gap: 6px; align-items: center; margin: 0 0 12px; font-size: 14px; color: #555; }
.breadcrumbs a { color: #006caa; }
.section-head h1, .section-head h2 { margin: 0 0 6px; font-size: 26px; }
.section-head .muted { margin: 0 0 16px; }

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-card { display: grid; grid-template-columns: 220px 1fr; gap: 16px; background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05); }
.news-thumb img { border-radius: 8px; height: 100%; object-fit: cover; }
.news-body h2 { margin: 6px 0 8px; font-size: 20px; line-height: 1.35; }
.news-body p { margin: 0 0 10px; }
.news-meta { font-size: 13px; color: #666; }
.news-mini { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.news-mini a { color: #006caa; }

.pagination { display: flex; gap: 8px; margin: 20px 0 0; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; background: #eef8ff; border-radius: 6px; border: 1px solid #cfe8f5; color: #006caa; }
.pill.pill--active { background: #00b0e8; color: #fff; border-color: #00b0e8; }

.news-article h1 { font-size: 28px; margin: 4px 0 10px; }
.news-article .muted { margin: 0 0 16px; }
.article-hero img { border-radius: 10px; box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08); margin: 0 0 18px; }
.article-body h2 { margin: 18px 0 8px; font-size: 20px; }
.article-body p, .article-body li { font-size: 16px; line-height: 1.6; }
.muted { color: #666; }

@media (max-width: 960px) {
	.menu-toggle { display: inline-flex; }
	.nav { display: none; }
	.nav ul { flex-direction: column; }
	.nav li a { width: 100%; }
	.main { flex-direction: column; }
	.sidebar { width: 100%; }
}
@media (max-width: 760px) {
	.news-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.branding { align-items: flex-start; }
	.site-title .title { font-size: 16px; }
	.content h1 { font-size: 22px; }
	.footer-content { flex-direction: column; align-items: flex-start; }
}

/* COMMENTS */
.comments_list li { padding: 15px; margin: 0 0 15px 0; border: 1px solid #ddd; background: #f8f8f8; }
.comments_list li li { margin: 15px 0 0 0; }
.comments_list li.thread-even { background: #fff; }
.comments_list .even { background: #fff; }
.comments_list .alt { background: #f8f8f8; }
.comment_ava { float: left; padding: 0 10px 0 0; }
.comment_top { padding: 0 0 10px 0; }
.comment_a { font-weight: bold; }
.comment_d { font-style: italic; }
.comment_repl { text-align: right; }
#respond { padding: 15px; border: 1px solid #ddd; background: #eee; margin: 0 0 15px 0; }
.comments_list #respond { margin: 0 15px 15px 15px; }
#cancel-comment-reply-link { display: inline-block; margin: 0 0 15px 0; }

/* WP OTHER */
.wp-caption { box-sizing: border-box; max-width: 100%; border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding: 4px; margin: 10px; border-radius: 3px; }
.wp-caption img { max-width: 100%; height: auto; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }
.wpcf7-not-valid { border-color: #ad2929 !important; color: #ad2929; }
#wp-calendar #prev a, #wp-calendar #next a { font-size: 9pt; }
#wp-calendar a { text-decoration: none; display: block; }
#wp-calendar caption { font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif; text-align: center; width: 100%; }
#wp-calendar th { font-style: normal; text-transform: capitalize; }
#wp-calendar { empty-cells: show; margin: 10px auto 0; width: 155px; }
#wp-calendar #next a { padding-right: 10px; text-align: right; }
#wp-calendar #prev a { padding-left: 10px; text-align: left; }
#wp-calendar td { padding: 3px 0; text-align: center; }
#wp-calendar td.pad:hover { background-color: #fff; }

