/*
  ========================================
  Základní nastavení a import písem
  ========================================
*/

/* Import Google Fonts - bezplatné alternativy */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

/* --- Sohne Schmal fonty --- */
@font-face {
    font-family: 'Sohne Schmal';
    src: url('assets/fonts/SohneSchmal-Dreiviertelfett.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'Sohne Schmal';
    src: url('assets/fonts/SohneSchmal-Dreiviertelfett.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'Sohne Schmal';
    src: url('assets/fonts/SohneSchmal-Fett.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
  }
  
  /* --- GT America fonty --- */
  @font-face {
    font-family: 'GT America';
    src: url('assets/fonts/GT-America-Standard-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'GT America';
    src: url('assets/fonts/GT-America-Standard-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'GT America';
    src: url('assets/fonts/GT-America-Standard-Medium.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'GT America';
    src: url('assets/fonts/GT-America-Standard-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  
  
  /*
    ========================================
    Základní styly pro celý dokument
    ========================================
  */
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Sohne Schmal", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 20px;
    line-height: 31px;
    color: #252626;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  /*
    ========================================
    Styly pro specifické textové elementy
    ========================================
  */
  
  /* Zde přepisujeme výchozí písmo z <body> pro konkrétní elementy */
  span,
  a,
  p,
  li {
    /* Fallback písma jsou stejná jako u body, ale primární je GT America */
    font-family: "GT America", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  
  
  /*
    ========================================
    Styly pro nadpisy (zůstává Sohne Schmal)
    ========================================
  */
  
  h1, h2, h3, h4, h5, h6 {
    /* Tady není potřeba nic měnit, protože nadpisy zdědí písmo z <body> */
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
  }
  
  /*
    ========================================
    Ostatní styly (beze změny)
    ========================================
  */
  
  p {
    margin-bottom: 1em;
  }
  
  a {
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  
  /*
    ========================================
    CSS VARIABLES - Barevné schéma Clickbait
    ========================================
  */
  
  :root {
    --color-orange: #FF9E7B;
    --color-green: #8FC9B5;
    --color-dark-green: #1A786A;
    --color-white: #FFFFFF;
    --color-black: #252626;
    --color-gray-light: #F5F5F5;
    --color-text: #333333;
  }
  
  
  /*
    ========================================
    RESET a základní styly
    ========================================
  */
  
  
  /* Utility class pro skrytí elementů vizuálně, ale ponechání pro screen readery */
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  
  /*
    ========================================
    HERO SEKCE
    ========================================
  */
  
  .hero-section {
    padding: 125px 0 60px;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background-color: var(--color-white);
  }
  
  .hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  
  /* Levá strana - obsah */
  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .logo-container {
    margin-top: 120px;
  }
  
  
  .hero-heading {
    font-family: "Sohne Schmal", sans-serif;
    font-size: 72px;
    font-weight: bold;
    line-height: 1;
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    position: relative;
    padding: 35px 0;
    margin-top: 24px;
    text-align: center;
  }
  
  .hero-heading::before,
  .hero-heading::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, 
      #D7F8EA 0%, 
      #D7F8EA 35%, 
      #8FC9B5 35%, 
      #8FC9B5 65%, 
      #D7F8EA 65%, 
      #D7F8EA 100%);
  }
  
  .hero-heading::before {
    top: 0;
  }
  
  .hero-heading::after {
    bottom: 0;
  }
  
  .hero-heading .highlight {
    color: var(--color-dark-green);
    font-family: "Sohne Schmal", sans-serif;
    letter-spacing: 1.67px;
  }
  
  .hero-description {
    font-family: "GT America", sans-serif;
    max-width: 500px;
    margin: auto;
  }
  
  .hero-description p {
    margin: 0;
    text-align: center;
    color: var(--color-black)

  }
  
  .hero-description strong {
    font-weight: 600;
  }
  
  /* Pravá strana - formulář jako obálka */
  .newsletter-form-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    margin-top: -220px;
  }
  

  
  .form-card {
    border-radius: 20px;
    position: relative;
    width: 100%;
    max-width: 480px;
    z-index: 2;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.15);
    padding-bottom: 150px;
    margin-bottom: -200px;
  }
  
  .form-heading {
    font-family: "Sohne Schmal", sans-serif;
    font-size: 55px;
    font-weight: 800;
    color: var(--color-green);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 0.025em;
    line-height: 50px;
  }
  
  .newsletter-form-container:after {
    content: '';
    position: absolute;
    width: 105%;
    max-width: 560px;
    height: 100vh;
    background-image: url(assets/images/foreground.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
    @media (max-width: 768px) {
  .newsletter-form-container::after {
      max-width: 500px;
      height: 350px;
  }  }
  
    @media (max-width: 480px) {
     .newsletter-form-container::after {
      max-width: 400px;
      height: 300px;
    }}
    
    
    #mc_embed_shell
    {
        padding: 0px 50px 40px;
    }
  
  /*
    ========================================
    FORMULÁŘ STYLY
    ========================================
  */
  
  #mc_embed_signup {
    background: transparent;
    clear: left;
    width: 100%;
  }
  
  #mc_embed_signup form {
    padding: 0;
  }
  
  .mc-field-group {
    margin-bottom: 20px;
  }
  
  .mc-field-group input[type="email"],
  .mc-field-group input[type="text"], #password {
    width: 100%;
    padding: 8px 24px;
    font-family: "Sohne Schmal", sans-serif;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 0.025em;
    border: 3px solid #A7A9AC;
    border-radius: 20px;
    outline: none;
    transition: all 0.3s ease;
    color: #A7A9AC;
    text-align: center;
    background-color: transparent;
  }
  
  .mc-field-group input::placeholder {
    font-family: "Sohne Schmal", sans-serif;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 0.025em;
    color: #A7A9AC;
    text-align: center;
  }
  
  .mc-field-group input:focus {
    border-color: var(--color-green);
  }
  
  .mc-field-group input:hover {
    border-color: var(--color-green);
  }

  /* Styly pro admin formulář */
  
  .admin .button {
    margin-bottom: 10px;
    padding: 10px 20px;
    font-size: 22px !important;
    color: white;

}
  .admin-form {
    margin-top: 50px;
    margin-bottom: 50px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .admin-form .mc-field-group {
    margin-bottom: 32px;
  }

  .admin-form label {
    display: block;
    font-family: "GT America", "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
  }

  .admin-form input[type="text"],
  .admin-form input[type="file"],
  .admin-form textarea,
  .admin-form select, .admin-form #external_url,.admin-form #issue_number  {
    width: 100%;
    padding: 16px 20px;
    font-family: "GT America", "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #2c3e50;
    background: #ffffff;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
  }

  .admin-form input[type="file"] {
    cursor: pointer;
    padding: 12px 20px;
  }

  .admin-form input[type="file"]:hover {
    border-color: #3498db;
    background: #f8f9fa;
  }

  .admin-form input[type="text"]:focus,
  .admin-form textarea:focus,
  .admin-form select:focus {
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    transform: translateY(-1px);
  }

  .admin-form input[type="text"]:hover,
  .admin-form textarea:hover,
  .admin-form select:hover {
    border-color: #bdc3c7;
  }

  .admin-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
  }

  .admin-form textarea[name="content_html"] {
    min-height: 300px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
  }

  .admin-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
    appearance: none;
  }

  .admin-form input::placeholder,
  .admin-form textarea::placeholder {
    color: #95a5a6;
    font-style: italic;
    font-weight: 400;
  }

  .admin-form .form-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #ecf0f1;
  }

  .admin-form .button {
    flex: 1;
    max-width: 200px;
    padding: 16px 32px;
    font-family: "GT America", "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
  }

  .admin-form .button[type="submit"] {
    background: linear-gradient(135deg, var(--color-green), #4caf50);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  }

  .admin-form .button[type="submit"]:hover {
    background: linear-gradient(135deg, #4caf50, #45a049);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
  }

  .admin-form .button.back {
    background: #95a5a6;
    color: white;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
  }

  .admin-form .button.back:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(149, 165, 166, 0.4);
  }

  /* Responsive design pro admin formulář */
  @media (max-width: 768px) {
    .admin-form {
      margin: 20px;
      padding: 24px 16px;
      border-radius: 8px;
    }

    .admin-form .form-actions {
      flex-direction: column;
      gap: 12px;
    }

    .admin-form .button {
      max-width: none;
    }

    .admin-form textarea[name="content_html"] {
      min-height: 200px;
    }
  }
  
  /* Tlačítko */
  .form-card .button {
    padding: 20px;
    font-family: "Sohne Schmal", sans-serif;
    font-size: 28px;
    letter-spacing: 1.2px;
    font-weight: 800;
    text-transform: uppercase;
    background-color: var(--color-orange);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(255, 158, 123, 0.25);
    width: fit-content;
    margin: auto;
    display: flex;
  }
  
  .form-card .button img{
    margin-left: 5px;
  }

  form-card .button:hover {
    background-color: #FF8A5F;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 158, 123, 0.4);
  }
  
  .button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 158, 123, 0.3);
  }
  
  /* Response messages */
  #mce-responses {
    margin-top: 15px;
  }
  
  .response {
    padding: 12px;
    border-radius: 8px;
    font-family: "GT America", sans-serif;
    font-size: 14px;
    text-align: center;
  }
  
  #mce-error-response {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
  }
  
  #mce-success-response {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
  }
  
  .logo-admin
{
    margin-bottom: 40px;
        height: 50px;
    width: auto;
    display: block;
}
  /*
    ========================================
    SEKCE S VYDÁNÍMI NEWSLETTERU
    ========================================
  */
  
  .issues-section {
    padding: 80px 0 40px;
    background-color: var(--color-white);
  }
  
  .issues-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  .issue-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  
  .issue-card:hover {
    transform: translateY(-5px);
  }
  .issue-card-link:hover
{
    text-decoration: none;
}

  /* NWSL číslovka na index stránce */
  .issue-nwsl-number {
    margin-bottom: 12px;
    font-family: 'Sohne Schmal', 'Inter', sans-serif;
    font-weight: 700;
  }

  .issue-nwsl-text {
    color: #8FC9B5;
    font-size: 48px;
    margin-right: 6px;
    letter-spacing: 0.025em;
    font-weight: 800;
  }

  .issue-nwsl-hash {
    color: #1A786A;
    font-size: 1rem;
    font-size: 48px;
    margin-right: 6px;
    letter-spacing: 0.025em;
    font-weight: 800;
  }

  /* Logo na index stránce */
  .issue-post-logo {
    margin: 0 auto 16px;
  }

  .issue-post-logo-img {
    height: 40px;
    width: auto;
    margin: 24px auto 0;
  }

  .issue-header {
    padding: 0 0 12px 0;
    text-align: center;
  }

  .issue-title {
    font-family: "Sohne Schmal", sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--color-green);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: color 0.3s ease;
    margin-top: 15px;
  }

  .issue-title:hover {
    color: var(--color-dark-green)
  }

  /* Perex na index stránce */
  .issue-excerpt {
    line-height: 1.4;
    color: var(--color-black);
    margin-bottom: 16px;
    flex: 1;
    background-color: #8fc9b5;
    padding: 15px;
  }
  .issue-excerpt-description
  {
       color: white !important;
      font-size: 14px;
      margin-top: 20px;
  }
  .issue-excerpt-large-text img
{
    padding: 0 30px;
}
.issue-desc
{
    color: black;
    font-size: 16px;
    line-height: 1.4;    
}
  .issue-excerpt p {
    margin: 0;
  }
  
  .issue-number {
    font-family: "Sohne Schmal", sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: var(--color-text);
    text-transform: uppercase;
  }
  
  .issue-preview {
    background-color: var(--color-green);
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
  }
  
  .issue-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Placeholder pro obrázky */
  .issue-preview::before {
    content: 'E FRIEN';
    font-family: "Sohne Schmal", sans-serif;
    font-size: 48px;
    font-weight: bold;
    color: var(--color-white);
    text-transform: uppercase;
    position: absolute;
    z-index: 1;
  }
  
  .issue-footer {
    padding: 16px 0 0 0;
    text-align: center;
    margin-top: auto;
  }
  
  /*
    ========================================
    FOOTER
    ========================================
  */
  

  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .site-footer .container
{
    max-width: 100%;
}

.footer-logo
{
    background-color: #ff9e7b;
        width: 70%;
        padding: 40px 20px;
}

.social-links
 {
  display: flex;
      gap: 20px;
      justify-content: center;
      height: -webkit-fill-available;
      position: relative;
      align-items: anchor-center;
}

  
  .footer-logo-img {
    max-width: 365px;
  }
  
  .social-links {
    display: flex;
    gap: 20px;
    justify-content: center; /* centrování ikon vodorovně */
    width: 30%;
    background-color: #8FC9B5;
  }
  
  .social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .social-icon:hover {
    transform: translateY(-3px);
  }
  
  .social-icon img {
    width: 44px;
    height: 44px;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .copyright {
    font-family: "GT America", sans-serif;
    font-size: 14px;
    color: var(--color-white);
    margin: 0;
  }
  
  
  /*
    ========================================
    RESPONSIVE DESIGN
    ========================================
  */
  
  /* Tablet - 1024px a méně */
  @media (max-width: 1024px) {
    .hero-section .container {
      grid-template-columns: 1fr;
      gap: 60px;
    }
    
    .hero-heading {
      font-size: 56px;
      display: grid;
      padding: 24px 0;
    }
    
    .issues-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }

    .issue-card {
      padding: 16px;
    }
    
    .form-card {
      max-width: 500px;
      margin: 0 auto;
    }
    .logo-container img
{
    max-width: 350px;
    margin: auto;
}
    .logo-container {
    margin-bottom: 0px;
}
.newsletter-form-container
{
    margin-top: 0px;
}
.newsletter-form-container:after {
    transform: translate(-50%, -75%);
}
  }
  
  /* Mobile - 768px a méně */
  @media (max-width: 768px) {
    .container {
      padding: 0 20px;
    }
    
    .hero-section {
      padding: 40px 0;
      min-height: auto;
    }
    
    .hero-heading {
      font-size: 42px;
    }
    
    .main-logo {
      max-width: 100%;
    }
    
    .form-card {
      padding: 40px 30px;
      border-radius: 15px;
    }
    
    
    
    .issues-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    
    .footer-content {
      flex-direction: column;
      gap: 30px;
      text-align: center;
    }
    
  }
  
  /* Small mobile - 480px a méně */
  @media (max-width: 480px) {
    .hero-heading {
      font-size: 36px;
    }
    
    .form-heading {
      font-size: 20px;
    }
    
    .form-card {
      padding: 30px 20px;
    }
    
 
    .mc-field-group input[type="email"],
    .mc-field-group input[type="text"] {
      padding: 14px 18px;
      font-size: 13px;
    }
    
    .button {
      padding: 16px 30px;
      font-size: 14px;
    }
    
    .issue-preview::before {
      font-size: 32px;
    }
  }

  /*
    ========================================
    Gutenberg Editor Styles
    ========================================
  */

  .gutenberg-editor {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background: #fff;
    min-height: 400px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }

  .editor-toolbar {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
    border-radius: 6px 6px 0 0;
    gap: 8px;
    flex-wrap: wrap;
  }

  .add-block-btn {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  .add-block-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateY(-1px);
  }

  .blocks-container {
    padding: 16px;
    min-height: 200px;
  }

  .add-block-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    margin: 16px;
    background: #fafbfc;
  }

  .add-first-block-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .add-first-block-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
  }

  .gutenberg-block {
    position: relative;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
  }

  .gutenberg-block:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
  }

  .gutenberg-block:hover .block-controls {
    opacity: 1;
  }

  .block-controls {
    position: absolute;
    top: -12px;
    right: 12px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .block-controls button {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.2s ease;
  }

  .block-controls button:hover {
    background: #f3f4f6;
  }

  .delete-block-btn {
    color: #ef4444;
  }

  .delete-block-btn:hover {
    background: #fef2f2;
    color: #dc2626;
  }

  .block-content {
    padding: 16px;
  }

  .block-input {
    width: 100%;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    background: transparent;
  }

  .paragraph-input {
    min-height: 60px;
    font-size: 16px;
  }

  .heading-input {
    font-size: 20px;
    font-weight: 600;
    margin-top: 8px;
  }

  .quote-input {
    min-height: 80px;
    font-style: italic;
    padding-left: 16px;
    border-left: 3px solid #e5e7eb;
  }

  .heading-level {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
  }

  .upload-image-btn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .upload-image-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
  }

  .block-image-preview {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  /* Link block styles */
  .link-text-input,
  .link-url-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
  }

  .link-text-input:focus,
  .link-url-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }

  .link-newtab-input {
    margin-right: 6px;
    cursor: pointer;
  }

  /* Article link styles (pro zobrazení na webu) */
  .article-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
    border-bottom: 2px solid transparent;
  }

  .article-link:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
  }

  /* Responsive design */
  @media (max-width: 768px) {
    .editor-toolbar {
      flex-direction: column;
      align-items: stretch;
    }

    .add-block-btn {
      justify-content: center;
    }

    .block-controls {
      position: static;
      opacity: 1;
      margin-bottom: 8px;
      justify-content: center;
    }

    .gutenberg-block {
      border-color: #d1d5db;
    }
  }

  /*
    ========================================
    Post Page Styles
    ========================================
  */

  .post-header {
    background: #fff;
    border-bottom: 1px solid #e1e5e9;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
  }

  .post-header .main-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
  }

  .post-nav {
    display: flex;
    align-items: center;
  }

  .nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .nav-link:hover {
    background: #f3f4f6;
    color: #1f2937;
  }

  .post-main {
    padding: 40px 0;
    background: #fff;
    min-height: calc(100vh - 200px);
  }

  .post-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .article-header {
    margin-bottom: 40px;
    text-align: center;
  }

  /* NWSL číslovka */
  .nwsl-number {
    margin-bottom: 20px;
    font-family: 'Sohne Schmal', 'Inter', sans-serif;
    font-weight: 700;
  }

  .nwsl-text {
    color: #6b7280;
    font-size: 1.25rem;
    margin-right: 8px;
  }

  .nwsl-hash {
    color: #8FC9B5;
    font-size: 1.5rem;
    font-weight: 800;
  }

  /* Logo pod číslovkou */
  .post-logo {
    margin-bottom: 30px;
  }

  .post-logo-img {
    height: 24px;
    width: auto;
    opacity: 0.8;
  }

  .article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1f2937;
    margin-bottom: 20px;
    font-family: 'Sohne Schmal', 'Inter', sans-serif;
  }

  .article-excerpt {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 24px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .article-excerpt p {
    margin-bottom: 0;
  }

  .article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
  }

  .published-date {
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
  }

  .article-cover {
    margin-bottom: 40px;
    text-align: center;
  }

  .cover-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 60px;
  }

  .article-content h1,
  .article-content h2,
  .article-content h3,
  .article-content h4,
  .article-content h5,
  .article-content h6 {
    font-family: 'Sohne Schmal', 'Inter', sans-serif;
    font-weight: 700;
    color: #1f2937;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
  }

  .article-content h1 { font-size: 2rem; }
  .article-content h2 { font-size: 1.75rem; }
  .article-content h3 { font-size: 1.5rem; }
  .article-content h4 { font-size: 1.25rem; }

  .article-content p {
    margin-bottom: 1.5rem;
  }

  .article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .article-content blockquote {
    border-left: 4px solid #8FC9B5;
    padding-left: 24px;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
    background: #f9fafb;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
  }

  .article-content ul,
  .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
  }

  .article-content li {
    margin-bottom: 0.5rem;
  }

  .article-content a {
    color: #8FC9B5;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
  }

  .article-content a:hover {
    border-bottom-color: #8FC9B5;
  }

  .article-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 40px;
    margin-top: 60px;
  }

  .back-to-home {
    text-align: center;
    margin-bottom: 40px;
  }

  .share-section {
    text-align: center;
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
  }

  .share-section p {
    margin-bottom: 20px;
    font-weight: 600;
    color: #374151;
  }

  .share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    color: white;
    min-width: 120px;
  }

  .share-btn.facebook {
    background: #1877f2;
  }

  .share-btn.twitter {
    background: #1da1f2;
  }

  .share-btn.linkedin {
    background: #0077b5;
  }

  .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  /* Specifické styly pro footer post stránky */
  .post-main .site-footer {
    margin-top: 60px;
    padding: 40px 0;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
  }

  .post-main .site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .post-main .site-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .post-main .site-footer .footer-logo-img {
    height: 40px;
    width: auto;
  }

  .post-main .site-footer .social-links {
    display: flex;
    gap: 16px;
  }

  .post-main .site-footer .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .post-main .site-footer .social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .post-main .site-footer .social-icon img {
    width: 20px;
    height: 20px;
    filter: grayscale(100%);
    transition: filter 0.2s ease;
  }

  .post-main .site-footer .social-icon:hover img {
    filter: grayscale(0%);
  }

  /* Responsive design pro post stránku */
  @media (max-width: 768px) {
    .header-content {
      flex-direction: column;
      gap: 16px;
      padding: 0 16px;
    }

    .post-article {
      padding: 0 16px;
    }

    .nwsl-text {
      font-size: 1rem;
    }

    .nwsl-hash {
      font-size: 1.25rem;
    }

    .post-logo-img {
      height: 20px;
    }

    .article-title {
      font-size: 2rem;
    }

    .article-excerpt {
      font-size: 1rem;
    }

    .article-content {
      font-size: 1rem;
    }

    .share-buttons {
      flex-direction: column;
      align-items: center;
    }

    .share-btn {
      width: 200px;
      justify-content: center;
    }

    .post-main .site-footer .footer-content {
      text-align: center;
      gap: 20px;
    }

    .post-main .site-footer .container {
      padding: 0 16px;
    }
  }

  /*
    ========================================
    404 Error Page Styles
    ========================================
  */

  .error-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .error-header {
    background: #fff;
    border-bottom: 1px solid #e1e5e9;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .error-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .error-header .main-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
  }

  .error-nav {
    display: flex;
    align-items: center;
  }

  .error-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
  }

  .error-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
  }

  .error-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    font-family: 'Sohne Schmal', 'Inter', sans-serif;
    font-weight: 800;
  }

  .number-4, .number-0 {
    font-size: 8rem;
    color: #8FC9B5;
    text-shadow: 0 4px 8px rgba(143, 201, 181, 0.3);
    animation: bounce 2s ease-in-out infinite;
  }

  .number-0 {
    color: #FF9E7B;
    text-shadow: 0 4px 8px rgba(255, 158, 123, 0.3);
    animation-delay: 0.5s;
  }

  .number-4:last-child {
    animation-delay: 1s;
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-20px);
    }
    60% {
      transform: translateY(-10px);
    }
  }

  .error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
    font-family: 'Sohne Schmal', 'Inter', sans-serif;
  }

  .error-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .error-description p {
    margin-bottom: 16px;
  }

  .error-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
  }

  .button.primary {
    background: linear-gradient(135deg, #8FC9B5 0%, #7AB89B 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(143, 201, 181, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(143, 201, 181, 0.4);
  }

  .button.secondary {
    background: #fff;
    color: #374151;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .button.secondary:hover {
    transform: translateY(-2px);
    border-color: #8FC9B5;
    color: #8FC9B5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .helpful-links {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
  }

  .helpful-links h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    font-family: 'Sohne Schmal', 'Inter', sans-serif;
  }

  .helpful-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .helpful-links li {
    margin-bottom: 12px;
  }

  .helpful-links a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .helpful-links a::before {
    content: "→";
    color: #8FC9B5;
    font-weight: bold;
  }

  .helpful-links a:hover {
    color: #8FC9B5;
  }

  .error-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
  }

  .floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 4s ease-in-out infinite;
  }

  @keyframes float {
    0%, 100% {
      transform: translateY(0px) rotate(0deg);
    }
    50% {
      transform: translateY(-20px) rotate(5deg);
    }
  }

  /* Responsive design pro 404 stránku */
  @media (max-width: 768px) {
    .error-header .header-content {
      flex-direction: column;
      gap: 16px;
      padding: 0 16px;
    }

    .error-content {
      padding: 0 16px;
    }

    .number-4, .number-0 {
      font-size: 5rem;
    }

    .error-title {
      font-size: 2rem;
    }

    .error-description {
      font-size: 1rem;
    }

    .error-actions {
      flex-direction: column;
      align-items: center;
    }

    .button.primary,
    .button.secondary {
      width: 100%;
      max-width: 300px;
      justify-content: center;
    }

    .helpful-links {
      padding: 24px;
      margin: 0 16px;
    }
  }