/*
Theme Name: dds_knowxplorer.com
Author: Илья Корнеев
Description: Контентный проект о биохакинге и управлении ресурсами организма: статьи, гайды, обзоры устройств и анализ практик для сна, энергии, когнитивной продуктивности и восстановления.
Version: 1.1
Text Domain: kxpr
*/

/* =======================================================
   БАЗА
   ======================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-color: #0F1217;
    color: #EAE7E1;
    font-family: 'Crimson Pro', Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 600;
    line-height: 1.25;
    margin: 1.4em 0 0.6em;
    letter-spacing: -0.01em;
}

h1 { font-size: 2.1rem; color: #EAE7E1; }
h2 { font-size: 1.65rem; color: #D99E32; }
h3 { font-size: 1.3rem; color: #EAE7E1; }
h4 { font-size: 1.12rem; color: #EAE7E1; }

p {
    margin: 0 0 1em;
}

a {
    color: #D99E32;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: #F1B85A; text-decoration: underline; }

img {
    max-width: 100%;
    height: auto;
}

hr {
    border: 0;
    border-top: 1px solid #1E232B;
    margin: 2em 0;
}

blockquote {
    border-left: 3px solid #D99E32;
    padding: 0.3em 1.2em;
    margin: 1.4em 0;
    color: #CFCCC5;
    font-style: italic;
    background: rgba(30, 35, 43, 0.4);
}

code, pre {
    font-family: 'SF Mono', Consolas, Monaco, 'Courier New', monospace;
    font-size: 0.92em;
}

code {
    background: #1E232B;
    padding: 2px 6px;
    border-radius: 4px;
    color: #D99E32;
}

pre {
    background: #1E232B;
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid #262C35;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    border: 1px solid #1E232B;
}
th, td {
    border: 1px solid #1E232B;
    padding: 0.7em 0.9em;
    text-align: left;
}
th {
    background: #161A20;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #D99E32;
}

/* =======================================================
   КОНТЕЙНЕР И СЕТКА
   ======================================================= */
.layout-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

.page-body {
    padding: 40px 0 60px;
}

.page-grid {
    display: grid;
    grid-template-columns: 67% 27%;
    gap: 6%;
    align-items: start;
}
.page-grid.no-aside { grid-template-columns: 85%; justify-content: center; }

/* =======================================================
   ШАПКА
   ======================================================= */
.site-top {
    background: #0B0E13;
    border-bottom: 1px solid #1E232B;
    padding: 22px 0 0;
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #EAE7E1;
    max-width: 62%;
}
.brand:hover { text-decoration: none; }

.brand-logo {
    width: 48px;
    height: 48px;
    display: block;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #EAE7E1;
    line-height: 1.2;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-tagline {
    font-size: 0.82rem;
    color: #8C867A;
    line-height: 1.4;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.main-nav li a {
    display: block;
    padding: 10px 16px;
    color: #CFCCC5;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 40px;
    transition: all 0.2s ease;
}
.main-nav li a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    color: #D99E32;
    background: rgba(217, 158, 50, 0.08);
    text-decoration: none;
}

.nav-burger {
    display: none;
    background: transparent;
    border: 1px solid #1E232B;
    border-radius: 8px;
    color: #EAE7E1;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1rem;
}

/* Индикатор энергетического режима дня */
.circadian-bar {
    height: 3px;
    width: 100%;
    margin-top: 18px;
    background: linear-gradient(90deg, #2F4A6B 0%, #D99E32 50%, #B85C4A 100%);
    opacity: 0.85;
}
.circadian-bar[data-phase="morning"] { background: linear-gradient(90deg, #4A6E8F 0%, #D99E32 100%); }
.circadian-bar[data-phase="day"]     { background: linear-gradient(90deg, #D99E32 0%, #F1B85A 100%); }
.circadian-bar[data-phase="evening"] { background: linear-gradient(90deg, #D99E32 0%, #B85C4A 100%); }
.circadian-bar[data-phase="night"]   { background: linear-gradient(90deg, #2F4A6B 0%, #1E232B 100%); }

/* =======================================================
   КНОПКИ
   ======================================================= */
.btn {
    display: inline-block;
    padding: 10px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #D99E32;
    background: transparent;
    color: #D99E32;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn:hover {
    background: #D99E32;
    color: #0F1217;
    text-decoration: none;
}

.btn-pill {
    border-radius: 40px;
    background: #161A20;
    border: 1px solid transparent;
    color: #CFCCC5;
    padding: 7px 16px;
    font-size: 0.85rem;
}
.btn-pill:hover {
    border-color: #D99E32;
    color: #D99E32;
    background: #161A20;
}

.btn-gradient {
    border: none;
    background: linear-gradient(90deg, #D99E32 0%, #B85C4A 100%);
    color: #0F1217;
    font-weight: 600;
}
.btn-gradient:hover {
    filter: brightness(1.1);
    color: #0F1217;
}

/* =======================================================
   КАРТОЧКИ ЗАПИСЕЙ
   ======================================================= */
.card-stack {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.card {
    display: flex;
    flex-direction: column;
    background: #161A20;
    border: 1px solid #1E232B;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease;
    position: relative;
}
.card:hover {
    border-color: rgba(217, 158, 50, 0.35);
    transform: translateY(-2px);
}

.card-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0B0E13;
}
.card-thumb-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 22px 22px;
}

.card-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: #2F6B5E;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.card-meta a { color: #2F6B5E; }
.card-meta a:hover { color: #4A9586; }

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    margin: 0 0 10px;
    line-height: 1.3;
}
.card-title a {
    color: #EAE7E1;
    text-decoration: none;
}
.card-title a:hover { color: #D99E32; text-decoration: none; }

.card-excerpt {
    color: #B5B0A6;
    font-size: 0.98rem;
    margin-bottom: 16px;
    flex: 1;
}
.card-excerpt p {
    margin: 0 0 0.5em;
    background: none;
}

.card-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Индекс применимости */
.appl-index {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #EAE7E1;
    background: conic-gradient(#2F6B5E 0% var(--val), rgba(255,255,255,0.06) var(--val) 100%);
    z-index: 2;
}
.appl-index::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #161A20;
}
.appl-index span {
    position: relative;
    z-index: 1;
}
.appl-index.low { background: conic-gradient(#B85C4A 0% var(--val), rgba(255,255,255,0.06) var(--val) 100%); }
.appl-index.mid { background: conic-gradient(#D99E32 0% var(--val), rgba(255,255,255,0.06) var(--val) 100%); }

/* =======================================================
   САЙДБАР И ВИДЖЕТЫ
   ======================================================= */
.sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.widget-block {
    background: #161A20;
    border: 1px solid #1E232B;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 22px;
}
.widget-block h2,
.widget-block .widget-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #D99E32;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.widget-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-block li {
    padding: 7px 0;
    border-bottom: 1px solid #1E232B;
    font-size: 0.96rem;
}
.widget-block li:last-child { border-bottom: none; }
.widget-block a {
    color: #CFCCC5;
    text-decoration: none;
}
.widget-block a:hover { color: #D99E32; text-decoration: none; }

/* =======================================================
   ФРОНТ — МЕТРИКИ И БЛОКИ
   ======================================================= */
.hero-block {
    padding: 40px 0 20px;
}
.hero-block h1 {
    margin-top: 0;
    font-size: 2.4rem;
    max-width: 760px;
}
.hero-block .hero-lede {
    font-size: 1.1rem;
    color: #B5B0A6;
    max-width: 700px;
    margin-bottom: 28px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0 0 48px;
}

.metric-tile {
    background: #161A20;
    border: 1px solid #1E232B;
    border-radius: 14px;
    padding: 22px 22px 18px;
    position: relative;
    overflow: hidden;
}
.metric-tile::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #D99E32 0%, transparent 100%);
    opacity: 0.6;
}
.metric-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8C867A;
    margin-bottom: 10px;
}
.metric-value {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2F6B5E;
    line-height: 1;
}
.metric-value .metric-unit {
    font-size: 0.95rem;
    color: #8C867A;
    font-weight: 500;
    margin-left: 4px;
}
.metric-sub {
    font-size: 0.85rem;
    color: #8C867A;
    margin-top: 8px;
}

.topic-block {
    padding: 50px 0;
    border-top: 1px solid #1E232B;
}
.topic-block:first-of-type { border-top: none; }
.topic-eyebrow {
    font-family: 'Inter', sans-serif;
    color: #2F6B5E;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.82rem;
    margin-bottom: 10px;
}
.topic-block h2 {
    margin-top: 0;
    font-size: 1.9rem;
    max-width: 760px;
}
.topic-block .topic-lede {
    color: #B5B0A6;
    font-size: 1.05rem;
    max-width: 760px;
    margin-bottom: 28px;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.feature-card {
    background: #161A20;
    border: 1px solid #1E232B;
    border-radius: 12px;
    padding: 22px 24px;
}
.feature-card h3 {
    font-family: 'Inter', sans-serif;
    color: #D99E32;
    font-size: 1.05rem;
    margin: 0 0 10px;
}
.feature-card p {
    color: #B5B0A6;
    margin: 0;
    font-size: 0.98rem;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: stepnum;
}
.step-card {
    background: transparent;
    border: 1px dashed #1E232B;
    border-radius: 12px;
    padding: 22px 20px;
    position: relative;
}
.step-card::before {
    counter-increment: stepnum;
    content: counter(stepnum, decimal-leading-zero);
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #D99E32;
    margin-bottom: 8px;
}
.step-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin: 0 0 6px;
}
.step-card p {
    color: #B5B0A6;
    font-size: 0.92rem;
    margin: 0;
}

.latest-block {
    padding: 50px 0 20px;
    border-top: 1px solid #1E232B;
}
.latest-block h2 {
    margin-top: 0;
    font-size: 1.9rem;
}

/* =======================================================
   ЕДИНИЧНАЯ ЗАПИСЬ / СТРАНИЦА
   ======================================================= */
.entry-header {
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #1E232B;
}
.entry-header h1 {
    margin: 0 0 10px;
    font-size: 2.1rem;
}
.entry-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #2F6B5E;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.entry-meta a { color: #2F6B5E; }
.entry-meta a:hover { color: #4A9586; }

.entry-thumb {
    margin: 0 0 28px;
    border-radius: 12px;
    overflow: hidden;
}
.entry-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.entry-content p {
    margin: 0 0 1.1em;
}
.entry-content h2,
.entry-content h3 {
    margin-top: 1.6em;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.2em;
    padding-left: 1.5em;
}
.entry-content li { margin-bottom: 0.4em; }

.entry-footer {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid #1E232B;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #8C867A;
}

/* =======================================================
   ХЛЕБНЫЕ КРОШКИ
   ======================================================= */
.crumbs {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #8C867A;
    padding: 18px 0 4px;
}
.crumbs a { color: #8C867A; }
.crumbs a:hover { color: #D99E32; text-decoration: none; }
.crumbs .sep { margin: 0 8px; color: #434852; }
.crumbs .current { color: #CFCCC5; }

/* =======================================================
   ПАГИНАЦИЯ
   ======================================================= */
.pager {
    margin: 40px 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.pager .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    min-width: 40px;
    text-align: center;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #CFCCC5;
    background: #161A20;
    border: 1px solid #1E232B;
    text-decoration: none;
}
.pager .page-numbers:hover {
    border-color: #D99E32;
    color: #D99E32;
}
.pager .page-numbers.current {
    background: #D99E32;
    color: #0F1217;
    border-color: #D99E32;
}
.pager .page-numbers.dots {
    background: transparent;
    border-color: transparent;
}

/* =======================================================
   КОММЕНТАРИИ
   ======================================================= */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #1E232B;
}
.comments-area h2,
.comments-area h3 {
    font-family: 'Inter', sans-serif;
}
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}
.comment-list li.comment {
    background: #161A20;
    border: 1px solid #1E232B;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 14px;
}
.comment-list .children {
    list-style: none;
    padding-left: 22px;
    margin-top: 14px;
}
.comment-author {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #D99E32;
    margin-bottom: 4px;
}
.comment-date {
    font-size: 0.82rem;
    color: #8C867A;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.comment-form p {
    margin-bottom: 14px;
}
.comment-form label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #CFCCC5;
    margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: #0B0E13;
    border: 1px solid #1E232B;
    border-radius: 8px;
    padding: 10px 14px;
    color: #EAE7E1;
    font-family: inherit;
    font-size: 0.98rem;
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #D99E32;
}
.comment-form .submit {
    background: transparent;
    border: 1px solid #D99E32;
    color: #D99E32;
    padding: 10px 22px;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.comment-form .submit:hover {
    background: #D99E32;
    color: #0F1217;
}

/* =======================================================
   ФОРМА ПОИСКА
   ======================================================= */
.searchform {
    display: flex;
    gap: 8px;
    max-width: 480px;
}
.searchform input[type="search"] {
    flex: 1;
    background: #0B0E13;
    border: 1px solid #1E232B;
    border-radius: 8px;
    padding: 10px 14px;
    color: #EAE7E1;
    font-family: inherit;
    font-size: 0.98rem;
}
.searchform input[type="search"]:focus {
    outline: none;
    border-color: #D99E32;
}
.searchform button {
    background: transparent;
    border: 1px solid #D99E32;
    color: #D99E32;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.searchform button:hover {
    background: #D99E32;
    color: #0F1217;
}

/* =======================================================
   404
   ======================================================= */
.notfound {
    padding: 60px 0;
    text-align: center;
}
.notfound h1 {
    font-size: 4.5rem;
    color: #D99E32;
    margin: 0 0 10px;
    line-height: 1;
}
.notfound h2 {
    color: #EAE7E1;
    font-size: 1.4rem;
    margin: 0 0 20px;
}
.notfound p {
    color: #B5B0A6;
    max-width: 560px;
    margin: 0 auto 22px;
}
.notfound .searchform { margin: 0 auto 22px; }

/* =======================================================
   ПОДВАЛ
   ======================================================= */
.site-bottom {
    background: #0B0E13;
    border-top: 1px solid #1E232B;
    padding: 44px 0 24px;
    margin-top: 60px;
}
.bottom-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 32px;
}
.bottom-cols .widget-block {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
}
.bottom-cols .widget-block h2,
.bottom-cols .widget-block .widget-title {
    color: #D99E32;
    font-size: 0.9rem;
}
.bottom-cols li {
    border-bottom-color: #1E232B;
}

.copyright {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid #1E232B;
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    color: #8C867A;
}
.copyright .lede {
    display: block;
    margin-top: 6px;
    color: #6F6A60;
    font-style: italic;
}

/* =======================================================
   COOKIE
   ======================================================= */
.cookie-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    background: #161A20;
    border: 1px solid #D99E32;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
    max-width: 900px;
    margin: 0 auto;
}
.cookie-bar p {
    margin: 0;
    font-size: 0.92rem;
    color: #CFCCC5;
    font-family: 'Inter', sans-serif;
}
.cookie-bar button {
    background: transparent;
    border: 1px solid #D99E32;
    color: #D99E32;
    padding: 8px 18px;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.cookie-bar button:hover {
    background: #D99E32;
    color: #0F1217;
}
.cookie-bar.hidden { display: none; }

/* =======================================================
   АДАПТИВ
   ======================================================= */
@media (max-width: 960px) {
    .page-grid,
    .page-grid.no-aside { grid-template-columns: 1fr; gap: 30px; }
    .sidebar { position: static; }
    .bottom-cols { grid-template-columns: 1fr; gap: 28px; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-row { grid-template-columns: 1fr; }
    .steps-row { grid-template-columns: repeat(2, 1fr); }

    .nav-burger { display: inline-block; }
    .main-nav {
        width: 100%;
        display: none;
        margin-top: 14px;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    .main-nav li a {
        border-radius: 0;
        padding: 12px 0;
        border-bottom: 1px solid #1E232B;
    }
}

@media (max-width: 600px) {
    body { font-size: 17px; }
    h1 { font-size: 1.7rem; }
    .hero-block h1 { font-size: 1.9rem; }
    .metric-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .metric-tile { padding: 16px; }
    .metric-value { font-size: 1.5rem; }
    .steps-row { grid-template-columns: 1fr; }
    .layout-shell { padding: 0 18px; }

    .btn { width: 100%; text-align: center; }
    .btn-pill { width: auto; }

    .appl-index {
        position: static;
        margin: 14px 22px 0;
    }

    .card-thumb-wrap {
        width: 100%;
        position: static;
    }

    .cookie-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .top-row { gap: 12px; }
    .brand { max-width: 80%; }
}
