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

/* 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: 75px 0px;
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  margin-top: 100px;
}

.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 img
{
    max-height: 150px !important;
}

.logo-container {
    margin: auto;
}

.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;
  margin-bottom: 0px;
  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: 436px;
  z-index: 2;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.15);
  padding-bottom: 190px;
  margin-bottom: -190px;
}

.form-heading {
  font-family: "Sohne Schmal", sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--color-green);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 15px;
  letter-spacing: 0.025em;
  line-height: 1;
  margin-top: 40px;
}

.newsletter-form-container:after {
  content: '';
  position: absolute;
  width: 105%;
  max-width: 580px;
  height: 100vh;
  background-image: url(assets/images/finalni-obalka.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
  top: 100%;
  left: 51.4%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .newsletter-form-container::after {

    height: 100% !important;
  }
}
@media (max-width: 499px) {
  .newsletter-form-container:after {
      transform: translate(-50%, -60%) !important;
  }
}
#mc_embed_shell {
  padding: 0px 50px 40px;
}

/*
    ========================================
    FORMULÁŘ STYLY - MAILCHIMP
    ========================================
  */
  #mergeRow-gdpr p, .content__gdpr label
  {
      display: none !important;
  }
  #mc_embed_signup .mc-field-group {
      padding-bottom: 0 !important;
      min-height: inherit;
  }
  
  #mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error
  {
       padding-bottom: 0 !important;
       margin: 0px !important;
  }
/* Reset Mailchimp default styles */
#mc_embed_signup {
  background: transparent !important;
  clear: left;
  width: 100% !important;
  font: inherit !important;
}

#mc_embed_signup form {
  padding: 0 !important;
  margin: 0 !important;
}

#mc_embed_signup .indicates-required {
  display: none !important;
}

#mc_embed_signup .mc-field-group {
  margin-bottom: 20px !important;
  padding: 0 !important;
}

#mc_embed_signup .mc-field-group label {
  display: none !important;
}

#mc_embed_signup input[type="email"],
#mc_embed_signup input[type="text"] {
  width: 100% !important;
  padding: 8px 24px !important;
  font-family: "Sohne Schmal", sans-serif !important;
  font-weight: 400 !important;
  font-size: 32px !important;
  letter-spacing: 0.025em !important;
  border: 3px solid #A7A9AC !important;
  border-radius: 20px !important;
  outline: none !important;
  transition: all 0.3s ease !important;
  color: #A7A9AC !important;
  text-align: center !important;
  background-color: transparent !important;
  box-sizing: border-box !important;
}

#mc_embed_signup input::placeholder {
  font-family: "Sohne Schmal", sans-serif !important;
  font-weight: 400 !important;
  font-size: 32px !important;
  letter-spacing: 0.025em !important;
  color: #A7A9AC !important;
  text-align: center !important;
}

#mc_embed_signup input:focus {
  border-color: #8FC9B5 !important;
}

#mc_embed_signup input:hover {
  border-color: #8FC9B5 !important;
}

/* GDPR sekce */
#mc_embed_signup #mergeRow-gdpr {
  margin-top: 15px !important;
  padding: 0 !important;
}

#mc_embed_signup .content__gdpr > p {
  font-family: "GT America", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #666 !important;
  margin-bottom: 15px !important;
  text-align: center !important;
}

#mc_embed_signup .mc_fieldset {
  border: none !important;
  padding: 0 !important;
  margin: 0px !important;
}

#mc_embed_signup .checkbox.subfield {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: auto !important;
  max-width: 260px !important;
  text-align: center;
  padding: 0 !important;
}

#mc_embed_signup .checkbox.subfield input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  cursor: pointer !important;
  border: 2px solid #A7A9AC !important;
  border-radius: 4px !important;
}

#mc_embed_signup .checkbox.subfield span {
  font-family: "GT America", sans-serif !important;
  font-size: 14px !important;
  color: #252626 !important;
  font-weight: 500 !important;
  text-align: left !important;
  line-height: 1.4 !important;
}


#mc_embed_signup .content__gdprLegal p {
  font-family: "GT America", sans-serif !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: #999 !important;
  text-align: center !important;
  margin: 0 !important;
}

#mc_embed_signup .content__gdprLegal a {
  color: #8FC9B5 !important;
  text-decoration: underline !important;
}

/* Submit button - Pill shape s kruhem a šipkou */
#mc_embed_signup .clear {
  text-align: center !important;
  margin-top: 10px !important;
  position: relative !important;
}

#mc_embed_signup input[type="submit"] {
  position: relative !important;
  min-height: 60px !important;
  padding: 12px 80px 12px 32px !important;
  font-family: "Sohne Schmal", sans-serif !important;
  font-size: 28px !important;
  letter-spacing: 1.2px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  background-color: #FF9E7B !important;
  background-image: url('data:image/svg+xml;utf8,<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="13.7295" cy="13.6135" r="13" fill="white"/><g clip-path="url(%23clip0_1649_4415)"><path d="M18.3899 13.0297H8.08801V14.0109H18.3899V13.0297Z" fill="%23FF9E7B"/><path d="M13.0428 19.5592L12.3511 18.8675L17.6982 13.5203L12.3511 8.17314L13.0428 7.48145L19.0816 13.5203L13.0428 19.5592Z" fill="%23FF9E7B"/></g><defs><clipPath id="clip0_1649_4415"><rect width="10.9936" height="12.0777" fill="white" transform="translate(8.08801 7.48145)"/></clipPath></defs></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  background-size: 44px 44px !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 60px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(255, 158, 123, 0.25) !important;
  width: auto !important;
  display: inline-block !important;
  text-align: left !important;
}

#mc_embed_signup input[type="submit"]:hover {
  background-color: #FF8A5F !important;
  background-image: url('data:image/svg+xml;utf8,<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="13.7295" cy="13.6135" r="13" fill="white"/><g clip-path="url(%23clip0_1649_4415)"><path d="M18.3899 13.0297H8.08801V14.0109H18.3899V13.0297Z" fill="%23FF9E7B"/><path d="M13.0428 19.5592L12.3511 18.8675L17.6982 13.5203L12.3511 8.17314L13.0428 7.48145L19.0816 13.5203L13.0428 19.5592Z" fill="%23FF9E7B"/></g><defs><clipPath id="clip0_1649_4415"><rect width="10.9936" height="12.0777" fill="white" transform="translate(8.08801 7.48145)"/></clipPath></defs></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 11px center !important;
  background-size: 44px 44px !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(255, 158, 123, 0.4) !important;
}

#mc_embed_signup input[type="submit"]:active {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 15px rgba(255, 158, 123, 0.3) !important;
}
 
/* Response messages */
#mc_embed_signup #mce-responses:not(:has(.response:not([style*="display: none"])))::after {
  display: none;
}
#mc_embed_signup #mce-responses {
  position: fixed !important;
  top: 20% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 9999 !important;
  padding: 20px 30px !important;
  margin: 0 !important;
  max-width: 400px !important;
  text-align: center !important;
}

#mc_embed_signup .response {
  padding: 0 !important;
  border-radius: 0 !important;
  font-family: "GT America", sans-serif !important;
  font-size: 16px !important;
  text-align: center !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

#mc_embed_signup #mce-error-response {
  background-color: transparent !important;
  color: #c62828 !important;
  border: none !important;
  font-weight: 600 !important;
}

#mc_embed_signup #mce-success-response {
  background-color: white !important;
  color: #2e7d32 !important;
  border: none !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  padding: 20px 30px !important;
}

/* Animace pro zobrazení/skrytí zprávy */
#mc_embed_signup #mce-responses {
  animation: fadeInScale 0.3s ease-out !important;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Fallback styly pro starší formuláře */
.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: 400;
  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: 400;
  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;
  background-color: green;
  border: none;
}

.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;
  }
}

/* ========================================
   Admin - Posts (responzivní tabulka)
   ======================================== */
.admin table {
  width: 100%;
  border-collapse: collapse;
}

.admin table th,
.admin table td {
  padding: 12px 8px;
  border-bottom: 1px solid #f0f0f0;
}

.admin table th {
  text-align: left;
}

/* Akční sloupec – zarovnání vpravo a zalamování tlačítek */
.admin table td:last-child {
  text-align: right;
  white-space: nowrap;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin table td:last-child .button {
  margin: 4px 2px;
}

/* Zmenšení a sjednocení tlačítek v adminu */
.admin a.button {
  font-family: "GT America", sans-serif !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  border-radius: 6px !important;
  line-height: 1.1 !important;
}

@media (max-width: 1024px) {
  .admin table td:last-child {
    white-space: normal;
  }
}

/* Mobilní optimalizace: horizontální scroll + menší tlačítka */
@media (max-width: 768px) {
  .admin {
    padding: 16px !important;
  }

  .admin table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
  }

  .admin table thead th {
    white-space: nowrap;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .admin table td,
  .admin table th {
    padding: 10px 8px;
  }

  .admin .button {
    font-size: 13px !important;
    padding: 10px 12px !important;
    line-height: 1.1 !important;
  }

  .admin table td:last-child {
    text-align: left;
    flex-direction: column;
    align-items: stretch;
  }
}

/* Tlačítko */
.form-card .button {
  padding: 8px 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);
}

/* (Removed legacy response styles in favor of #mc_embed_signup scoped styles) */

.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 !important;
  font-weight: 800;
}

.issue-nwsl-text {
  color: #8FC9B5;
  font-size: 48px;
  margin-right: 6px;
  letter-spacing: 0.025em;
  font-weight: 800;
  font-family: 'Sohne Schmal', 'Inter', sans-serif !important;
}

.issue-nwsl-hash {
  color: #1A786A;
  font-size: 48px;
  margin-right: 6px;
  letter-spacing: 0.025em;
  font-weight: 800;
  font-family: 'Sohne Schmal', 'Inter', sans-serif !important;
}

/* 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;
  overflow: hidden;
  background-color: #8FC9B5;
}

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

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

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


.footer-logo-img {
  max-width: 265px;
}

.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  /* centrování ikon vodorovně */
  width: 30%;
  background-color: #8FC9B5;
  height: -webkit-fit-content;
}

.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;
}


/* ========================================
   PDF UPLOAD ADMIN STYLY
   ======================================== */

.pdf-upload-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdf-upload-btn {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-family: 'GT America', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
}

.pdf-upload-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}


.pdf-preview span {
  font-family: 'GT America', 'Inter', sans-serif;
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
}

.pdf-remove-btn {
  background: #dc3545;
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.pdf-remove-btn:hover {
  background: #c82333;
  transform: scale(1.1);
}

/* Preview Image Upload styly */
.preview-upload-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-upload-btn {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-family: 'GT America', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 250px;
}

.preview-upload-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.preview-image-preview {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  margin-top: 8px;
}

.preview-image-preview span {
  font-family: 'GT America', 'Inter', sans-serif;
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
}

.preview-remove-btn {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: all 0.2s ease;
}

.preview-remove-btn:hover {
  background: #c82333;
  transform: scale(1.1);
}

/* ========================================
   PDF CARDS A POPUP STYLY
   ======================================== */

/* PDF karty místo issue karet */
.pdf-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 320px;
  cursor: pointer;
  overflow: hidden;
}

/* Hover efekt pro PDF karty */
.pdf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pdf-card:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(143, 201, 181, 0.1);
  z-index: 1;
  transition: all 0.3s ease;
}

.pdf-card:hover::after {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: var(--color-primary);
  z-index: 2;
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

/* PDF náhled */
.pdf-preview {
  width: 100% !important;
  margin: 8px 0;
  overflow: hidden;
  flex: 1;
  display: block !important;
  position: relative;
  box-sizing: border-box;
  z-index: 0;
}

/* Zajistit, aby obsah PDF karty byl nad overlay při hoveru */
.pdf-card:hover .pdf-preview,
.pdf-card:hover .pdf-preview-fallback,
.pdf-card:hover .pdf-preview-content,
.pdf-card:hover .pdf-open-btn {
  z-index: 3;
  position: relative;
}


.pdf-preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none; /* Zabránit interakci s PDF v náhledu */
  background: #f8f9fa;
  object-fit: cover;
}

/* Fallback pro případy, kdy PDF nelze zobrazit */
.pdf-preview-iframe:not([src]) {
  display: none;
}

/* Fallback náhled PDF */
.pdf-preview-fallback {
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, #8FC9B5 0%, #7BB3A0 100%) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: white !important;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 200px;
  box-sizing: border-box;
}

.pdf-preview-content {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.pdf-preview-header {
  text-align: right;
  font-size: 11px;
  opacity: 0.9;
  margin-bottom: 0;
  position: absolute;
  top: 0;
  right: 0;
}

.pdf-preview-week {
  font-weight: 500 !important;
  font-size: 11px !important;
  color: white !important;
  display: block !important;
}

.pdf-preview-title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.pdf-preview-title h2 {
  font-size: 28px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  text-align: center;
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  letter-spacing: -0.5px;
  color: white !important;
  display: block !important;
}

.pdf-preview-excerpt {
  margin-top: 12px;
  text-align: center;
}

.pdf-preview-excerpt p {
  font-size: 13px !important;
  margin: 0 !important;
  opacity: 0.95;
  line-height: 1.3;
  font-weight: 400;
  color: white !important;
  display: block !important;
}

.pdf-preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: var(--color-text-light);
}

.pdf-preview-placeholder .pdf-icon {
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.pdf-preview-placeholder p {
  font-size: 12px;
  margin: 0;
}


.pdf-open-btn {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-family: 'GT America', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  width: 100%;
  max-width: 200px;
}

.pdf-open-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* Když je celá karta klikatelná, skryj tlačítko */
.pdf-card.pdf-clickable .pdf-open-btn {
  display: none;
}


/* PDF Modal Popup */
.pdf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(4px);
  box-sizing: border-box;
}

.pdf-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  font-size: 28px;
  color: var(--color-white);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.pdf-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.pdf-modal-body {
  flex: 1;
  width: 100%;
  height: 100%;
  padding: 20px;
  overflow: auto !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  max-height: 100%;
}

.pdf-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--color-white);
  /* Zobrazit PDF ve 100% velikosti a nechat zoom řídit prohlížečem/URL (#zoom=200) */
}

/* Když je v modalu obrázek, iframe musí být skrytý */
.pdf-modal-body:has(.image-preview-img) iframe {
  display: none !important;
  visibility: hidden !important;
}

/* Styly pro zobrazení obrázku v modalu místo PDF */
.pdf-modal-body .image-preview-img {
  display: block;
  -webkit-user-select: none;
  user-select: none;
  /* MOŽNOST 1: Zobrazit v původní velikosti bez škálování (nejostřejší) */
  width: auto;
  max-width: none;
  height: auto;
  margin: 20px auto;
  object-fit: contain;
  box-sizing: border-box;
  /* Použít nejlepší možné rendering pro ostrost */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* Bez transformací, které mohou způsobovat subpixel rendering */
  transform: none;
  /* Zajistit, že obrázek není rozmazaný CSS filtry */
  filter: none;
} 

/* Responsive pro PDF modal */
@media (max-width: 768px) {
  .pdf-modal-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .pdf-modal-body {
    padding: 15px;
    overflow: auto !important;
  }
  
  .pdf-modal-body iframe {
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    /* Pro mobilní zařízení nechat PDF přirozeně se přizpůsobit */
  }
  
  .pdf-modal-body .image-preview-img {
    display: block !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    max-width: 90% !important;
    margin: auto !important;
  }
}

/* Zobrazit pouze dva nejnovější PDF články na šířce <= 768px */
@media (max-width: 768px) {
  .issues-grid .pdf-card:nth-child(n+3) {
    display: none !important;
  }
}

/*
    ========================================
    RESPONSIVE DESIGN
    ========================================
  */

/* Tablet - 1024px a méně */
@media (max-width: 1024px) {
  .hero-section .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-heading {

    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;
    min-height: 830px;
  }

  .newsletter-form-container:after {
    height: 80vh;
  }

  .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%, -65%);
  }
}

/* Mobile - 768px a méně */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero-section {
    padding: 40px 0;
    min-height: auto;
  }



  .main-logo {
    max-width: 100%;
  }

  .form-card {
    padding: 40px 30px;
    border-radius: 15px;
  }

  .form-heading {
    margin-top: 10px;
  }

  .issues-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-content {
    background-color: #8FC9B5;
    gap: 20px;
    text-align: center;
  }

  .footer-logo-img {
    max-width: 60%;
  }

  .footer-logo {

    width: 70%;
    padding: 20px 20px;
  }

  .social-links {
    gap: 10px;
    background-color: #8FC9B5;
    padding-right: 15px;
    width: 30%;
  }

  .logo-container {
    margin-top: 0px;
  }
  #mc_embed_shell {
    padding: 0;
  }

  #mergeTable {
    padding: 0;
  }
}

/* Small mobile - 499px a méně */
@media (max-width: 499px) {

  .hero-section {
    margin-top: 50px;
}

  .form-heading {
    font-size: 40px;
    margin-top: 10px;
  }

  .form-card {
    min-height: 750px;
  }

  .issue-nwsl-number {
    font-weight: 700;
    line-height: 1;
}
.issue-post-logo-img {
  height: 30px;
}

.issue-post-logo-img {
  margin: 0px auto 0;
}

  .mc-field-group input[type="email"],
  .mc-field-group input[type="text"] {
    font-size: 13px !important;
    line-height: 2;
  }

  .mergeRow input[type="email"],
  .mergeRow input[type="text"] {
    padding: 15px 10px!important;
    font-size: 13px !important;
    line-height: 1;
  }

  .button {
    padding: 16px 30px;
    font-size: 14px;
  }

  .mergeRow .button {
    padding: 16px 30px;
    font-size: 14px;
  }

  .formEmailButton {
    padding: 16px 30px;
    font-size: 14px;
  }

  .issue-preview::before {
    font-size: 32px;
  }
  
  /* Mailchimp responsive */
  #mc_embed_signup input[type="email"],
  #mc_embed_signup input[type="text"] {
    padding: 10px !important;
    line-height: 1;
  }
  
  #mc_embed_signup input::placeholder {
    font-size: 24px !important;
  }
  
  #mc_embed_signup input[type="submit"] {
    font-size: 20px !important;
    padding: 12px 70px 12px 24px !important;
    min-height: 56px !important;
    background-size: 38px 38px !important;
    background-position: right 6px center !important;
  }
  
  #mc_embed_signup input[type="submit"]:hover {
    background-size: 38px 38px !important;
    background-position: right 9px center !important;
  }
  
  #mc_embed_signup .checkbox.subfield {
    flex-direction: row !important;
    align-items: flex-start !important;
  }
}

/*
    ========================================
    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);
  }
}
#mc_embed_signup div.mce_inline_error {
  background-color: transparent !important;
  color: red !important;
  text-align: center;
}
.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;
  }
}


/*mergeTable styles*/
#mergeTable {
  padding: 0px 50px 0px;
}

.mergeRow {
  margin-bottom: 20px;
}

.mergeRow label,
#MERGE6 {
  display: none;
}

.mergeRow input[type="email"],
.mergeRow input[type="text"] {
  width: 100%;
  padding: 8px 24px;
  font-family: "Sohne Schmal", sans-serif;
  font-weight: 400;
  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;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mergeRow input::placeholder {
  font-family: "Sohne Schmal", sans-serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.025em;
  color: #A7A9AC;
  text-align: center;
  text-transform: uppercase;
}

.mergeRow input:focus {
  border-color: var(--color-green);
}

.mergeRow input:hover {
  border-color: var(--color-green);
}

.mergeRow .button {
  padding: 8px 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;
}

.mergeRow .button:hover {
  background-color: #FF8A5F;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 158, 123, 0.4);
}

.mergeRow .button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 158, 123, 0.3);
}

.formEmailButton {
  padding: 8px 20px;
  font-family: "Sohne Schmal", sans-serif;
  font-size: 28px;
  letter-spacing: 1.2px;
  font-weight: 400;
  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;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.formEmailButton:hover {
  background-color: #FF8A5F;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 158, 123, 0.4);
}

.formEmailButton:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 158, 123, 0.3);
}

.formEmailButton img {
  margin-left: 8px;
  vertical-align: middle;
}

.field-shift {
  display: none;
}


/* obálka formularu na mobilu */

@media only screen and (max-width: 1240px) {
  .form-card
  {
          max-width: 450px;
  }
  .newsletter-form-container:after {
 width: 544px;
}
}


@media only screen and (max-width: 499px) {
  .form-card
  {
          max-width: 300px;
  }
  .newsletter-form-container:after {
 width: 364px;
}
#mc_embed_signup #mce-responses {
  top: 35% !important;
}

#mc_embed_signup div.response {
  top: 0 !important;
  z-index: 1;
  width: 100% !important;
  box-shadow: 0 4px 20px rgb(0 0 0 / 10%);
}
}

@media only screen and (max-width: 375px) {
  .form-card
  {
          max-width: 265px;
  }
  .newsletter-form-container:after {
 width: 320px;
}
}