html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


h1 {
    font-size: 40pt;
    color: #000;
    margin-bottom: 0.5em;
    font-weight: bold;
}

p {
    color: #000;
    /*max-width: 600px;*/
}

.card {
    border-radius: 16px;
    box-shadow: 0 4px 24px #0002;
    margin-bottom: 2em;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* lektor*/



h1 {
    font-size: 40pt;
    color: #000;
    margin-bottom: 0.5em;
    font-weight: bold;
}

/*.card {
    border-radius: 16px;
    box-shadow: 0 4px 24px #0002;
    margin-bottom: 2em;
    transition: transform 0.3s, box-shadow 0.3s;
}*/

.navbar-brand {
    font-size: 40pt;
    text-transform: uppercase;
}

.lect-grid {
    display: grid;
    grid-template-columns: 172px 1fr;
    gap: 16px;
    align-items: center
}

.avatar {
    inline-size: 172px;
    block-size: 172px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(96,165,250,.12);
    color: #dbeafe;
    border: 1px solid rgba(96,165,250,.35);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px
}

.title {
    font-size: clamp(26px,4vw,40px);
    line-height: 1.2;
    margin: 12px 0 6px
}

.subtitle {
    color: var(--muted);
    max-width: 60ch;
    margin: 0
}


/* FORM*/



h1 {
    font-size: 40pt;
    color: #000;
    margin-bottom: 0.5em;
    font-weight: bold;
}

/*
.card {
    border-radius: 16px;
    box-shadow: 0 4px 24px #0002;
    margin-bottom: 2em;
    transition: transform 0.3s, box-shadow 0.3s;
}

.navbar-brand {
    font-size: 40pt;
    text-transform: uppercase;
}*/

/*.card {
    grid-column: span 12;
    background: var(--card);
    border: 1px solid #1f2a44;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.card h2 {
    margin: 0 0 10px;
    font-size: 22px
}
*/
.list {
    margin: 0;
    padding: 0 0 0 18px
}

.pill {
    display: inline-block;
    background: #f2f7a6;
    border: 1px solid #1f2a44;
    padding: 6px 10px;
    border-radius: 999px;
    margin: 6px 6px 0 0;
    color: #cbd5e1
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.info {
    background: #f2f7a6;
    border: 1px solid #1f2a44;
    border-radius: 12px;
    padding: 14px
}

    .info strong {
        display: block
    }

form {
    display: grid;
    gap: 16px;
    margin-top: 6px
}

form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

label {
    display: block;
    margin: 0 0 6px;
    color: #000;
    font-weight: 600
}

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #27406d;
    background: #f2f7a6;
    color: #000;
    outline: none;
    transition: .15s border-color, .15s box-shadow;
}

    input:focus, select:focus, textarea:focus {
        border-color: var(--brand);
        box-shadow: var(--ring)
    }

.help {
    color: var(--muted);
    font-size: 14px;
    margin-top: 4px
}

.required::after {
    content: " *";
    color: var(--warn)
}

.actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #1f2a44;
    cursor: pointer;
    font-weight: 700
}

.btn-primary {
    background: linear-gradient(180deg,#1f3f7a,#153264);
    color: white;
    border-color: #355aa0
}

    .btn-primary:hover {
        filter: brightness(1.08)
    }

.note {
    font-size: 14px;
    color: var(--muted)
}

/*footer {
    padding: 24px 0;
    color: #94a3b8;
    text-align: center;
    border-top: 1px solid #1f2a44;
    background: #0a1022
}*/
/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr
    }

    .info-grid {
        grid-template-columns: 1fr
    }

    .row {
        grid-template-columns: 1fr
    }
}

/* === LEKTOŘI PAGE === */

.lektori-page {
    background: #f0f2f7;
    min-height: 60vh;
    padding: 2rem 1rem 4rem;
}

.lektori-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.lektori-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #111;
    margin-bottom: 0.3rem;
}

.lektori-title-line {
    width: 60px;
    height: 4px;
    background: #e91e8c;
    border-radius: 2px;
    margin: 0 auto;
}

.lektori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Card */
.lektor-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Header row: avatar + name/position + edit */
.lektor-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}

.lektor-avatar-wrap {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--avatar-border, #2979ff);
    padding: 3px;
    background: #fff;
}

.lektor-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.lektor-card-title-group {
    flex: 1;
    min-width: 0;
}

.lektor-name-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.lektor-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.lektor-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--edit-color, #2979ff);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 6px 13px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: filter 0.15s;
}

.lektor-edit-btn:hover {
    filter: brightness(1.1);
    color: #fff;
}

.lektor-position {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.lektor-position-icon {
    font-size: 0.95rem;
    color: #888;
}

.lektor-position-text {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Contact section */
.lektor-contact {
    border-top: 1px solid #f0f0f0;
    padding-top: 0.9rem;
}

.lektor-contact-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 0.7rem;
}

.lektor-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.lektor-contact-item--last {
    border-bottom: none;
}

.lektor-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 1rem;
    color: #555;
    flex-shrink: 0;
    margin-top: 2px;
}

.lektor-contact-label {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 1px;
}

.lektor-contact-value {
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.lektor-link-red {
    color: #e53935 !important;
}

.lektor-link-red:hover {
    text-decoration: underline;
}

.lektor-link-blue {
    color: #1565c0 !important;
}

.lektor-link-blue:hover {
    text-decoration: underline;
}

.lektor-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #25d366;
    color: #25d366 !important;
    background: transparent;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 2px;
    transition: background 0.15s, color 0.15s;
}

.lektor-whatsapp-btn:hover {
    background: #25d366;
    color: #fff !important;
}

@media (max-width: 600px) {
    .lektori-grid {
        grid-template-columns: 1fr;
    }

    .lektor-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .lektor-name-row {
        justify-content: center;
    }

    .lektor-position {
        justify-content: center;
    }
}

/* === END LEKTOŘI PAGE === */

/* === FRONTEND NAVIGATION === */

.nav-link-front {
    color: #222 !important;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    padding-bottom: 4px;
    transition: color 0.15s;
}

.nav-link-front::after {
    content: '';
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0;
    height: 2px;
    background: #e91e1e;
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link-front:hover,
.nav-link-front:focus {
    color: #e91e1e !important;
    text-decoration: none;
}

.nav-link-front:hover::after,
.nav-link-front:focus::after {
    transform: scaleX(1);
}

.nav-link-front.active {
    color: #e91e1e !important;
    font-weight: 700;
}

.nav-link-front.active::after {
    transform: scaleX(1);
}

/* === END FRONTEND NAVIGATION === */