/*
Theme Name: Kadence Child - NTER
Template: kadence
Description: Дочірня тема Kadence для NTER — IT-новини
Version: 1.0
*/

/* === NTER Custom Styles === */

:root {
    --nter-primary: #1a56db;
    --nter-primary-dark: #1e40af;
    --nter-primary-light: #3b82f6;
    --nter-white: #ffffff;
    --nter-bg: #f3f4f6;
    --nter-text: #1f2937;
    --nter-text-muted: #6b7280;
}

/* Типографика */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&family=Source+Sans+3:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    color: var(--nter-text);
}

body,
p,
.entry-content {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--nter-text);
}

/* Ссылки */
a {
    color: var(--nter-primary);
    transition: color 0.2s ease;
}
a:hover {
    color: var(--nter-primary-dark);
}

/* Карточки записей на главной */
.entry.post {
    background: var(--nter-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
}
.entry.post:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Категории — метки */
.entry-taxonomies a,
.post-categories a {
    background: var(--nter-primary);
    color: var(--nter-white);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.entry-taxonomies a:hover,
.post-categories a:hover {
    background: var(--nter-primary-dark);
    color: var(--nter-white);
}

/* Шапка */
.site-header {
    border-bottom: 2px solid var(--nter-primary);
}

/* Подвал — минимальный */
.site-footer {
    background: var(--nter-text);
    color: var(--nter-bg);
}

/* Статья — комфортная ширина */
.single .entry-content {
    max-width: 720px;
    margin: 0 auto;
}

/* Переключатель мов */
.nter-lang-switcher {
    position: fixed;
    top: 12px;
    right: 20px;
    display: flex;
    gap: 0;
    z-index: 9999;
}
.nter-lang-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2px;
}
.nter-lang-switcher li {
    margin: 0;
}
.nter-lang-switcher li a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    color: var(--nter-text-muted);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.nter-lang-switcher li a:hover {
    color: var(--nter-primary);
    background: var(--nter-bg);
}
.nter-lang-switcher li.current-lang a {
    color: var(--nter-primary);
    background: var(--nter-bg);
}
.nter-lang-switcher img.pll-flag {
    width: 16px;
    height: 12px;
    border-radius: 1px;
}
