FONT 		{FONT-FAMILY: Verdana,Helvetica}
TD		{FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
BODY		{
      Font-family: Verdana, Helvetica;
      Font-size: 11px;
      Margin: 0; Padding: 0;
}
P		{FONT-FAMILY: Verdana,Helvetica; COLOR: #000000; FONT-SIZE: 11px}
DIV		{FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
INPUT, TEXTAREA, SELECT, BUTTON {
      Font-family: Verdana, Helvetica;
      Font-size: 12px;
      Color: #000000;
      Background-color: #FFFFFF;
      Border-width: 1px;
      Border-style: solid;
      Padding: 0;
      Margin: 0;
      Border-color: #000000;
}
/* Due to IE display bug,
you can specify special style
for radio in forms below.*/

input.un_radio {
      Background-Color: transparent;
      Border-width: 0px;
      Border-style: none;
}

FORM 		{FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
A:link          {BACKGROUND: none; COLOR: #000000; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
A:active        {BACKGROUND: none; COLOR: #000000; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
A:visited       {BACKGROUND: none; COLOR: #000000; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
A:hover         {BACKGROUND: none; COLOR: #000000; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.title 		{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.content 	{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica}
.storytitle 	{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 14px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.storycat	{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.boxtitle 	{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 11px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.boxcontent 	{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 12px; FONT-FAMILY: Verdana, Helvetica}
.option 	{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.menutitle 	{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 12px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.tiny		{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 10px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.footmsg        {BACKGROUND: none; COLOR: #000000; FONT-SIZE: 10px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.footmsg_l	{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 10px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.box		{FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px; border: 1px solid #000000; background-color: #FFFFFF}

/* Quote & Code blocks */
.code {
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

a.un_story_title_link, .un_story_title_link:active, .un_story_title_link:visited { /* odkaz jako titulek */
      Color: #000000;
      Font-size: 17px;
      Font-family: Verdana, Helvetica;
      Text-decoration: none;
      Font-weight: bold;
}

a.un_story_title_link:hover {/* odkaz aktivni titulek */
      Color: #000000;
      Font-size: 17px;
      Font-family: Verdana, Helvetica;
      Text-decoration: underline;
      Font-weight: bold;
}

font.articlefile_title { /* nadpis clanku */
      Color: #000000;
      Font-size: 18px;
      Font-family: Verdana, Helvetica;
      Font-weight: bold;
}

a.gametitle, .gametitle:active, .gametitle:visited
{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 14px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.gametitle 	{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 17px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.gametitle:hover 	{BACKGROUND: none; COLOR: #000000; FONT-SIZE: 14px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}


/* NVIDIA_test – first modernization pass */
:root {
    --au-blue: #0f4f8f;
    --au-border: #cddfee;
    --au-panel: #ffffff;
    --au-panel-soft: #f5faff;
}

.theme-card,
.theme-card-alt {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 12px 0;
    padding: 12px 14px;
    background: var(--au-panel);
    border: 1px solid var(--au-border);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(31, 79, 120, 0.07);
    color: #1d2d44;
}

.theme-card-alt {
    background: var(--au-panel-soft);
}

.theme-sidebox {
    box-sizing: border-box;
    width: 180px;
    margin: 0 0 14px 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--au-border);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(31, 79, 120, 0.08);
}

.theme-sidebox-title {
    padding: 9px 10px 8px;
    background: linear-gradient(180deg, #f7fbff 0%, #eaf4fd 100%);
    border-bottom: 1px solid var(--au-border);
    color: var(--au-blue);
    font-weight: bold;
    font-size: 12px;
    text-align: center;
}

.theme-sidebox-content {
    padding: 9px 10px 10px;
    background: #fff;
    color: #000;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.theme-sidebox-content img {
    max-width: 100%;
    height: auto;
}


/* Modern bar below the Sydney header */
.theme-topbar {
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 10px;
    margin: 0 0 6px 0;
    background: #f7fbff;
    border-top: 1px solid #d7e5f2;
    border-bottom: 1px solid #d7e5f2;
    color: #183b62;
}

.theme-topbar-date {
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.theme-topbar-search {
    margin-left: auto;
}

.theme-topbar-search form {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.theme-search-input {
    width: 180px;
    height: 28px;
    box-sizing: border-box;
    padding: 4px 8px;
    border: 1px solid #b9cfe2;
    border-radius: 6px;
    background: #fff;
    font: 12px Verdana, Helvetica, sans-serif;
    outline: none;
}

.theme-search-input:focus {
    border-color: #4b93cf;
    box-shadow: 0 0 0 2px rgba(75,147,207,.12);
}

.theme-search-button {
    height: 28px;
    box-sizing: border-box;
    padding: 4px 10px;
    border: 1px solid #2f82c7;
    border-radius: 6px;
    background: #2f82c7;
    color: #fff;
    font: bold 12px Verdana, Helvetica, sans-serif;
    cursor: pointer;
}

.theme-search-button:hover {
    background: #246fae;
}

@media screen and (max-width: 760px) {
    .theme-topbar {
        flex-wrap: wrap;
    }
    .theme-topbar-search {
        width: 100%;
        margin-left: 0;
    }
    .theme-topbar-search form {
        width: 100%;
    }
    .theme-search-input {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }
}


/* Article previews and article detail – frameless desktop design */
.theme-story-card,
.theme-article-card {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 18px 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cddfee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(31,79,120,.06);
}

.theme-story-head,
.theme-article-head {
    padding: 12px 16px 10px;
    background: linear-gradient(180deg, #f7fbff 0%, #edf6fd 100%);
    border-bottom: 1px solid #d7e5f2;
}

.theme-story-title,
.theme-article-title {
    margin: 0;
    padding: 0;
    color: #0f4f8f;
    font-family: Verdana, Helvetica, sans-serif;
    font-weight: bold;
    line-height: 1.25;
}

.theme-story-title {
    font-size: 18px;
}

.theme-article-title {
    font-size: 22px;
}

.theme-story-title a,
.theme-article-title a {
    color: inherit;
    text-decoration: none;
}

.theme-story-title a:hover,
.theme-article-title a:hover {
    text-decoration: underline;
}

.theme-story-meta,
.theme-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    margin-top: 7px;
    color: #6d7c8a;
    font-size: 11px;
    line-height: 1.4;
}

.theme-story-meta a,
.theme-article-meta a {
    color: #2e73aa;
    text-decoration: none;
}

.theme-story-meta a:hover,
.theme-article-meta a:hover {
    text-decoration: underline;
}

.theme-story-body,
.theme-article-body {
    padding: 16px 18px;
    background: #fff;
    color: #222;
    font-size: 12px;
    line-height: 1.55;
}

.theme-story-body img,
.theme-article-body img {
    max-width: 100%;
    height: auto;
}

.theme-story-footer,
.theme-article-footer {
    padding: 9px 16px;
    background: #fafcff;
    border-top: 1px solid #e0ebf4;
    color: #607080;
    font-size: 11px;
    text-align: right;
}

.theme-story-footer a,
.theme-article-footer a {
    color: #2f82c7;
    text-decoration: none;
}

.theme-story-footer a:hover,
.theme-article-footer a:hover {
    text-decoration: underline;
}

.theme-story-sep {
    margin: 0 4px;
    color: #9eb6c9;
}


/* Články z cest – oprava velikosti vlajek pouze v NVIDIA_test.
   Starý blok má u buňky s vlajkou width=1; obecné max-width:100%
   proto obrázek zmenšovalo téměř na čáru. */
.theme-sidebox-content td.Item img[src*="/Flags/"],
.theme-sidebox-content td.Item img[src*="/flags/"] {
    display: block;
    width: 42px;
    max-width: none;
    height: auto;
    margin: 1px 4px 1px 0;
}


/* Detail článku – jemnější sazba a komentáře pouze pro NVIDIA_test */
.theme-article-body {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 13px;
    line-height: 1.62;
}

.theme-comments-wrap {
    box-sizing: border-box;
    width: 100%;
    margin: 18px 0 22px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #cddfee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(31,79,120,.05);
}

/* Starý comments.php používá šedé tabulkové pásy.
   V testovacím theme je zjemníme, aniž bychom měnili comments.php. */
.theme-comments-wrap table {
    max-width: 100%;
}

.theme-comments-wrap td {
    border-color: #d7e5f2 !important;
}

.theme-comments-wrap td[bgcolor="#CCCCCC"],
.theme-comments-wrap td[bgcolor="#cccccc"],
.theme-comments-wrap td[bgcolor="#DDDDDD"],
.theme-comments-wrap td[bgcolor="#dddddd"] {
    background: #f4f8fc !important;
}

.theme-comments-wrap input[type="submit"],
.theme-comments-wrap input[type="button"] {
    padding: 4px 9px;
    border: 1px solid #2f82c7;
    border-radius: 5px;
    background: #2f82c7;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.theme-comments-wrap input[type="submit"]:hover,
.theme-comments-wrap input[type="button"]:hover {
    background: #246fae;
}


/* Staré obrázkové navigační knoflíky v článcích – pouze NVIDIA_test.
   Obrázky zůstávají na serveru, ale v novém theme je nahradíme CSS tlačítky. */
.theme-article-body a:has(> img[src$="/images/Hlavni strana.png"]),
.theme-article-body a:has(> img[src$="/images/Dalsi clanky.png"]),
.theme-article-body a:has(> img[src$="/images/Fotogalerie.png"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 14px;
    border: 1px solid #2f82c7;
    border-radius: 7px;
    background: #2f82c7;
    color: #fff !important;
    font: bold 12px Verdana, Helvetica, sans-serif;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(31,79,120,.10);
}

.theme-article-body a:has(> img[src$="/images/Hlavni strana.png"])::after {
    content: "Hlavn\00ED  strana";
}

.theme-article-body a:has(> img[src$="/images/Dalsi clanky.png"])::after {
    content: "Dal\0161 \00ED  \010D l\00E1 nky";
}

.theme-article-body a:has(> img[src$="/images/Fotogalerie.png"])::after {
    content: "Fotogalerie";
}

.theme-article-body a:has(> img[src$="/images/Hlavni strana.png"]):hover,
.theme-article-body a:has(> img[src$="/images/Dalsi clanky.png"]):hover,
.theme-article-body a:has(> img[src$="/images/Fotogalerie.png"]):hover {
    background: #246fae;
    border-color: #246fae;
}

.theme-article-body a > img[src$="/images/Hlavni strana.png"],
.theme-article-body a > img[src$="/images/Dalsi clanky.png"],
.theme-article-body a > img[src$="/images/Fotogalerie.png"] {
    display: none !important;
}


/* v9 – tolerant matching for legacy article navigation images.
   Some old article HTML serializes spaces/path names differently,
   so match by distinctive filename fragments instead of exact src ending. */

.theme-article-body a:has(> img[src*="Hlavni"][src*="strana"]),
.theme-article-body a:has(> img[src*="Hlavni%20strana"]),
.theme-article-body a:has(> img[src*="Dalsi"][src*="clanky"]),
.theme-article-body a:has(> img[src*="Dalsi%20clanky"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 14px;
    border: 1px solid #2f82c7;
    border-radius: 7px;
    background: #2f82c7;
    color: #fff !important;
    font: bold 12px Verdana, Helvetica, sans-serif;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(31,79,120,.10);
}

.theme-article-body a:has(> img[src*="Hlavni"][src*="strana"])::after,
.theme-article-body a:has(> img[src*="Hlavni%20strana"])::after {
    content: "Hlavn\00ED  strana";
}

.theme-article-body a:has(> img[src*="Dalsi"][src*="clanky"])::after,
.theme-article-body a:has(> img[src*="Dalsi%20clanky"])::after {
    content: "Dal\0161 \00ED  \010D l\00E1 nky";
}

.theme-article-body a:has(> img[src*="Hlavni"][src*="strana"]):hover,
.theme-article-body a:has(> img[src*="Hlavni%20strana"]):hover,
.theme-article-body a:has(> img[src*="Dalsi"][src*="clanky"]):hover,
.theme-article-body a:has(> img[src*="Dalsi%20clanky"]):hover {
    background: #246fae;
    border-color: #246fae;
}

.theme-article-body a > img[src*="Hlavni"][src*="strana"],
.theme-article-body a > img[src*="Hlavni%20strana"],
.theme-article-body a > img[src*="Dalsi"][src*="clanky"],
.theme-article-body a > img[src*="Dalsi%20clanky"] {
    display: none !important;
}


/* Komentáře – modernější vzhled pouze v NVIDIA_test */
.theme-comments-wrap {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.comments-modern-head {
    box-sizing: border-box;
    width: 100%;
    margin: 18px 0 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cddfee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(31,79,120,.05);
    text-align: center;
}

.comments-modern-title {
    padding: 11px 14px 8px;
    background: linear-gradient(180deg, #f7fbff 0%, #edf6fd 100%);
    border-bottom: 1px solid #d7e5f2;
    color: #0f4f8f;
    font-size: 13px;
    font-weight: bold;
}

.comments-modern-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px 13px;
    padding: 9px 12px 5px;
    color: #607080;
    font-size: 11px;
}

.comments-modern-meta a {
    color: #2f82c7;
    text-decoration: none;
}

.comments-modern-meta a:hover {
    text-decoration: underline;
}

.comments-modern-reply {
    margin: 4px 0 9px;
    text-align: center;
}

.comments-modern-reply input[type="submit"] {
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid #2f82c7;
    border-radius: 6px;
    background: #2f82c7;
    color: #fff;
    font: bold 11px Verdana, Helvetica, sans-serif;
    cursor: pointer;
}

.comments-modern-reply input[type="submit"]:hover {
    background: #246fae;
    border-color: #246fae;
}

.comments-modern-warning {
    padding: 7px 12px;
    background: #fafcff;
    border-top: 1px solid #e0ebf4;
    color: #7a8793;
    font-size: 10px;
}

.theme-comments-wrap > .theme-card {
    margin: 10px 0;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #d7e5f2;
    border-radius: 9px;
    box-shadow: none;
}

.comments-modern-item {
    width: 100%;
    background: transparent;
    border-collapse: separate;
    border-spacing: 0;
}

.comments-modern-item > tbody > tr:first-child > td,
.comments-modern-item > tr:first-child > td {
    padding: 0 0 8px;
    color: #607080;
    font-size: 11px;
}

.comments-modern-item > tbody > tr:nth-child(2) > td,
.comments-modern-item > tr:nth-child(2) > td {
    padding-top: 10px;
    border-top: 1px solid #e2ebf3;
    color: #222;
    font-size: 12px;
    line-height: 1.5;
}

.comments-modern-child {
    margin-top: 10px;
    padding: 10px;
    background: #f8fbfe;
    border-left: 3px solid #b8d8ef;
}


/* Formulář komentáře – NVIDIA_test */
.comments-reply-modern {
    box-sizing: border-box;
    width: calc(100% - 24px);
    max-width: 980px;
    margin: 18px auto 26px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cddfee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(31,79,120,.06);
}

.comments-reply-modern-head {
    padding: 12px 16px 10px;
    background: linear-gradient(180deg, #f7fbff 0%, #edf6fd 100%);
    border-bottom: 1px solid #d7e5f2;
}

.comments-reply-modern-title {
    color: #0f4f8f;
    font-size: 17px;
    font-weight: bold;
}

.comments-reply-modern-subject {
    margin-top: 4px;
    color: #6a7885;
    font-size: 11px;
}

.comments-reply-modern-form {
    padding: 16px 18px 18px;
}

.comments-form-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}

.comments-form-label {
    display: block;
    margin: 0 0 5px;
    color: #183b62;
    font-size: 12px;
    font-weight: bold;
}

.comments-form-row .comments-form-label {
    margin: 0;
}

.comments-form-value {
    font-size: 12px;
}

.comments-form-minor {
    color: #7a8793;
    font-size: 11px;
}

.comments-form-input,
.comments-form-textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #b9cfe2;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 12px;
    outline: none;
}

.comments-form-input {
    max-width: 620px;
    height: 32px;
    padding: 5px 8px;
    margin-bottom: 14px;
}

.comments-form-textarea {
    min-height: 230px;
    padding: 9px 10px;
    resize: vertical;
}

.comments-form-input:focus,
.comments-form-textarea:focus,
.comments-form-security input[type="text"]:focus {
    border-color: #4b93cf;
    box-shadow: 0 0 0 2px rgba(75,147,207,.12);
}

.comments-form-help {
    margin-top: 6px;
    color: #7a8793;
    font-size: 10px;
    line-height: 1.4;
}

.comments-form-check {
    display: block;
    margin-top: 12px;
    font-size: 11px;
}

.comments-form-security {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    color: #183b62;
    font-size: 11px;
    font-weight: bold;
}

.comments-form-security input[type="text"] {
    box-sizing: border-box;
    width: 48px;
    height: 28px;
    padding: 3px 6px;
    border: 1px solid #b9cfe2;
    border-radius: 5px;
}

.comments-form-security img {
    display: block;
    width: 52px;
    height: 20px;
    border: 1px solid #c8d3dc;
}

.comments-form-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.comments-form-actions input[type="submit"] {
    min-height: 32px;
    padding: 5px 13px;
    border: 1px solid #2f82c7;
    border-radius: 6px;
    background: #2f82c7;
    color: #fff;
    font: bold 11px Verdana, Helvetica, sans-serif;
    cursor: pointer;
}

.comments-form-actions input[type="submit"]:hover {
    background: #246fae;
    border-color: #246fae;
}


/* Náhled komentáře – NVIDIA_test */
.comments-preview-modern {
    margin: 16px 18px 0;
    padding: 13px 14px;
    background: #f8fbfe;
    border: 1px solid #d7e5f2;
    border-radius: 7px;
}

.comments-preview-subject {
    color: #183b62;
    font-size: 13px;
    font-weight: bold;
}

.comments-preview-meta {
    margin-top: 3px;
    color: #7a8793;
    font-size: 11px;
}

.comments-preview-body {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #e2ebf3;
    color: #222;
    font-size: 12px;
    line-height: 1.55;
}

.comments-form-error {
    margin: 14px 18px 0;
    padding: 9px 11px;
    border: 1px solid #e3c58c;
    border-radius: 6px;
    background: #fff9ee;
    color: #7a5312;
    font-size: 11px;
}

/* =========================================================
   AUSTRALIA – RESPONSIVE
   Zakladni mobilni vrstva
   ========================================================= */

@media screen and (max-width: 760px) {

    html,
    body {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body > table:first-of-type {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    body > table:first-of-type img {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
    }

}

/* =========================================================
   AUSTRALIA – MOBILE MAIN LAYOUT
   ========================================================= */

@media screen and (max-width: 760px) {

    .theme-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .theme-layout-row {
        display: block !important;
        width: 100% !important;
    }

    .theme-sidebar-left,
    .theme-sidebar-right,
    .theme-layout-gap {
        display: none !important;
    }

    .theme-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 8px !important;
    }

}

/* =========================================================
   AUSTRALIA – MOBILE HEADER
   Zatim pouze vzhled. Menu jeste neotvirame.
   ========================================================= */

.theme-mobile-header {
    display: none;
}

@media screen and (max-width: 760px) {

    .theme-desktop-header {
        display: none !important;
    }

    .theme-mobile-header {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 54px;
        box-sizing: border-box;
        background: #0f4f8f;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .theme-mobile-menu-button {
        width: 56px;
        min-width: 56px;
        height: 54px;
        margin: 0;
        padding: 0;
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.18);
        background: transparent;
        cursor: pointer;
    }

    .theme-mobile-menu-icon {
        display: block;
        font-family: Arial, sans-serif;
        font-size: 27px;
        line-height: 54px;
        color: #fff;
        text-align: center;
    }

    .theme-mobile-brand {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        height: 54px;
        padding: 0 14px;
        box-sizing: border-box;
        text-decoration: none !important;
    }

    .theme-mobile-brand-main {
        font-family: Arial, sans-serif;
        font-size: 18px;
        line-height: 20px;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: #fff;
    }

    .theme-mobile-brand-sub {
        margin-top: 1px;
        font-family: Arial, sans-serif;
        font-size: 11px;
        line-height: 13px;
        font-weight: normal;
        color: rgba(255, 255, 255, 0.75);
    }

}

/* =========================================================
   AUSTRALIA – MOBILE DRAWER MENU
   ========================================================= */

.theme-mobile-drawer,
.theme-mobile-overlay {
    display: none;
}

@media screen and (max-width: 760px) {

    .theme-mobile-drawer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100001;

        width: 86%;
        max-width: 340px;
        height: 100vh;
        height: 100dvh;

        box-sizing: border-box;
        background: #17202b;
        border-right: 1px solid rgba(255,255,255,0.15);
        box-shadow: 8px 0 25px rgba(0,0,0,0.35);

        transform: translateX(-105%);
        transition: transform 0.25s ease;

        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .theme-mobile-drawer.is-open {
        transform: translateX(0);
    }

    .theme-mobile-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 58px;
        padding-left: 18px;
        box-sizing: border-box;

        background: #0f4f8f;
        border-bottom: 1px solid rgba(255,255,255,0.16);
    }

    .theme-mobile-drawer-title {
        font-family: Arial, sans-serif;
        font-size: 19px;
        line-height: 24px;
        font-weight: bold;
        color: #fff;
    }

    .theme-mobile-drawer-close {
        width: 58px;
        height: 58px;
        padding: 0;
        border: 0;
        background: transparent;

        font-family: Arial, sans-serif;
        font-size: 34px;
        line-height: 58px;
        color: #fff;

        cursor: pointer;
    }

    .theme-mobile-drawer-links {
        padding: 8px 0 24px;
    }

    .theme-mobile-drawer-links a {
        display: block;
        padding: 13px 18px;

        border-bottom: 1px solid rgba(255,255,255,0.08);

        font-family: Arial, sans-serif;
        font-size: 16px;
        line-height: 20px;
        font-weight: normal;

        color: #e8eef5;
        text-decoration: none;
    }

    .theme-mobile-drawer-links a:active {
        background: rgba(255,255,255,0.08);
    }

    .theme-mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 100000;

        background: rgba(0,0,0,0.62);

        opacity: 0;
        visibility: hidden;

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    .theme-mobile-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    body.theme-mobile-menu-open {
        overflow: hidden;
    }
}

/* =========================================================
   HOMEPAGE - WELCOME
   ========================================================= */

.home-welcome {
    text-align: center;
    font-family: Verdana, Arial, sans-serif;
}

.home-welcome-main hr {
    width: 75%;
    border: 0;
    border-top: 2px solid #66ccff;
}

.home-welcome-main h1 {
    margin: 0;
    color: #66ccff;
    font-family: Verdana, Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
}

.home-welcome-subtitle {
    margin-top: 6px;
    color: #808080;
    font-size: 15px;
}

.home-welcome-intro {
    margin-top: 24px;
}

.home-welcome-intro hr:first-child {
    width: 35%;
    margin-bottom: 10px;
    border: 0;
    border-top: 2px solid #dddddd;
}

.home-welcome-intro div {
    color: #999999;
    font-size: 20px;
}

.home-welcome-intro hr:last-child {
    width: 20%;
    margin-top: 10px;
    border: 0;
    border-top: 2px solid #dddddd;
}


/* Mobil */
@media screen and (max-width: 760px) {

    .home-welcome {
        padding: 0 6px;
    }

    .home-welcome-main hr {
        width: 78%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .home-welcome-main h1 {
        font-size: 25px;
        line-height: 1.28;
    }

    .home-welcome-subtitle {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.45;
    }

    .home-welcome-intro {
        margin-top: 16px;
    }

    .home-welcome-intro hr:first-child {
        margin-top: 0;
        margin-bottom: 8px;
    }

    .home-welcome-intro div {
        font-size: 17px;
        line-height: 1.4;
    }

    .home-welcome-intro hr:last-child {
        margin-top: 8px;
        margin-bottom: 10px;
    }
}

/* =========================================================
   HOMEPAGE - TRAVELER IQ + POWER PLUGS - MOBILE
   ========================================================= */

@media screen and (max-width: 760px) {

    .home-feature-card {
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px 12px 12px 12px !important;
        box-sizing: border-box !important;
    }

    .home-traveler-iq {
        margin-top: 14px !important;
        margin-bottom: 12px !important;
    }

    .home-power-plugs {
        margin-top: 0 !important;
        margin-bottom: 14px !important;
    }

    .home-feature-card img {
        max-width: 440px !important;
        height: auto !important;
        margin-bottom: 6px !important;
    }

    .home-feature-card > div {
        line-height: 1.4 !important;
    }
}

/* =========================================================
   HOMEPAGE - TOP 3 + NOVINKY
   ========================================================= */

.home-top3,
.home-news {
    margin-top: 28px;
}

.home-top3-list,
.home-news-list {
    margin-top: 14px;
}

.home-top3-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 6px;
    text-decoration: none !important;
}

.home-top3-rank {
    display: flex;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

.home-top3-rank-1 {
    background: #b99018;
}

.home-top3-rank-2 {
    background: #858b92;
}

.home-top3-rank-3 {
    background: #a8673c;
}

.home-top3-title {
    line-height: 1.4;
}


/* NOVINKY */

.home-news-item {
    display: block;
    padding: 8px 6px;
    text-decoration: none !important;
    line-height: 1.4;
}

.home-news-title {
    font-weight: normal;
}

.home-news-date {
    margin-left: 5px;
    font-size: 12px;
}

.home-news-date-old {
    color: #228B22;
}

.home-news-date-new {
    color: #d94b4b;
}

.home-news-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #c62828;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 14px;
    font-weight: bold;
    vertical-align: 1px;
}

.home-news-more {
    margin-top: 24px;
}


/* MOBIL */

@media screen and (max-width: 760px) {

    .home-top3,
    .home-news {
        margin-top: 24px;
    }

    .home-top3 h2,
    .home-news h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .home-top3-list,
    .home-news-list {
        margin-top: 10px;
    }

    .home-top3-item {
        gap: 10px;
        padding: 9px 2px;
    }

    .home-top3-rank {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
        font-size: 13px;
    }

    .home-top3-title {
        font-size: 14px;
    }

    .home-news-item {
        padding: 8px 2px;
    }

    .home-news-title {
        display: block;
        font-size: 14px;
    }

    .home-news-date {
        display: inline-block;
        margin: 2px 0 0 0;
        font-size: 11px;
    }

    .home-news-badge {
        margin-left: 5px;
    }

    .home-news-more {
        margin-top: 20px;
        line-height: 1.5;
    }
}

/* =========================================================
   HOMEPAGE - FINAL MOBILE TWEAKS
   ========================================================= */

@media screen and (max-width: 760px) {

    /* Menší mezera pod seznamem novinek */
    .home-news-more {
        margin-top: 14px !important;
    }

    /* Spodní informační text na mobilu skrýt */
    .home-mobile-hide {
        display: none !important;
    }
}


/* =========================================================
   HOMEPAGE WELCOME - MOBILE OVERRIDE INLINE DESKTOP FALLBACK
   NVIDIA_test uses the inline values from Messages.
   Australia mobile overrides only the necessary values here.
   ========================================================= */

@media screen and (max-width: 760px) {

    .home-welcome-main h1 {
        font-size: 25px !important;
        line-height: 1.28 !important;
    }

    .home-welcome-subtitle {
        margin-top: 8px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .home-welcome-intro {
        margin-top: 16px !important;
    }

    .home-welcome-intro > div {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }
}

/* NEWS / CLANKY - MOBILE RESPONSIVE */
@media screen and (max-width: 760px) {
 #news-brand{width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;margin:4px 0 0!important;box-sizing:border-box!important;overflow:hidden!important}
 #news-brand:after{right:-70px!important;top:-20px!important;width:300px!important;height:180px!important;opacity:.18!important}
 #news-brand:before{width:55%!important}
 .news-brand-inner{display:block!important;min-width:0!important;min-height:0!important;padding:16px 14px 15px!important;box-sizing:border-box!important;text-align:center!important}
 .news-brand-logo-wrap{width:100%!important;max-width:none!important;padding:0 0 13px!important;border-right:0!important;border-bottom:1px solid #a8c8e3!important;box-sizing:border-box!important}
 .news-brand-logo{width:auto!important;max-width:82%!important;max-height:74px!important;margin:0 auto!important}
 .news-brand-copy{min-width:0!important;padding:12px 0 0!important}
 .news-brand-kicker{font-size:11px!important;line-height:1.3!important;letter-spacing:1px!important;overflow-wrap:anywhere!important}
 .news-brand-title{font-size:23px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
 .news-brand-sub{font-size:13px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
 .news-brand-spacer{height:10px!important}
 .theme-story-card,.theme-article-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
 .theme-story-head,.theme-article-head{min-width:0!important;padding:11px 12px 9px!important;box-sizing:border-box!important}
 .theme-story-title{font-size:18px!important;line-height:1.3!important;overflow-wrap:anywhere!important;word-break:normal!important}
 .theme-story-meta,.theme-article-meta{min-width:0!important;gap:3px 9px!important;font-size:11px!important;overflow-wrap:anywhere!important}
 .theme-story-body,.theme-article-body{width:100%!important;max-width:100%!important;min-width:0!important;padding:14px 12px!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;word-break:normal!important}
 .theme-story-body img,.theme-article-body img{max-width:100%!important;height:auto!important}
 .theme-story-body table,.theme-article-body table{max-width:100%!important}
 .theme-story-body td,.theme-story-body th,.theme-article-body td,.theme-article-body th{max-width:100%!important;overflow-wrap:anywhere!important}
 .theme-story-footer,.theme-article-footer{min-width:0!important;padding:9px 12px!important;box-sizing:border-box!important;overflow-wrap:anywhere!important}
}

/* =========================================================
   NEWS / CLANKY - MOBILE FIX 02
   Dorovnani legacy banneru a starych tabulek v obsahu clanku.
   ========================================================= */
@media screen and (max-width: 760px) {

    /* Banner: zrusit desktopove flexove sirky a udrzet vse uvnitr viewportu. */
    #news-brand {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    #news-brand .news-brand-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #news-brand .news-brand-logo-wrap {
        display: flex !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 2px 0 13px !important;
        box-sizing: border-box !important;
        border-right: 0 !important;
        border-bottom: 1px solid #a8c8e3 !important;
        overflow: hidden !important;
    }

    #news-brand .news-brand-logo {
        display: block !important;
        position: static !important;
        float: none !important;
        width: auto !important;
        max-width: min(82%, 300px) !important;
        height: auto !important;
        max-height: 74px !important;
        margin: 0 auto !important;
        transform: none !important;
    }

    #news-brand .news-brand-copy {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 12px 0 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        overflow: hidden !important;
    }

    #news-brand .news-brand-kicker,
    #news-brand .news-brand-title,
    #news-brand .news-brand-sub {
        display: block !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    /* Legacy obsah: stare tabulky nesmi roztahovat kartu za viewport. */
    .theme-story-body,
    .theme-article-body {
        overflow-x: hidden !important;
    }

    .theme-story-body table,
    .theme-article-body table {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
        box-sizing: border-box !important;
    }

    .theme-story-body tbody,
    .theme-story-body tr,
    .theme-story-body td,
    .theme-story-body th,
    .theme-article-body tbody,
    .theme-article-body tr,
    .theme-article-body td,
    .theme-article-body th {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .theme-story-body td,
    .theme-story-body th,
    .theme-article-body td,
    .theme-article-body th {
        height: auto !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .theme-story-body td[width],
    .theme-story-body th[width],
    .theme-article-body td[width],
    .theme-article-body th[width] {
        width: auto !important;
    }

    .theme-story-body img,
    .theme-article-body img {
        max-width: 100% !important;
        height: auto !important;
    }

    .theme-story-body a,
    .theme-article-body a {
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }
}

/* =========================================================
   NEWS / CLANKY - MOBILE SCALPEL 03
   Jen specialni rozcestnik "Dosud publikovane clanky":
   mapy pryc na mobilu, hlavni obsah pres celou sirku.
   Desktop zustava beze zmeny.
   ========================================================= */
@media screen and (max-width: 760px) {

    .published-articles-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        box-sizing: border-box !important;
    }

    .published-articles-layout > tbody,
    .published-articles-layout > tbody > tr {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .published-articles-main {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .published-articles-maps {
        display: none !important;
    }

    /* Vnitrni seznam: pevny maly sloupec pro ruzne siroke smajlíky,
       zbytek sirky patri textu. */
    .published-articles-main > table {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
    }

    .published-articles-main .published-article-icon {
        width: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }

    .published-articles-main .published-article-icon + td {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .published-articles-main .published-article-icon + td a {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }
}

/* =========================================================
   MODULOVE BANNERY - JEDNOTNE MOBILNI ROZLOZENI
   Reference: News / Clanky
   Desktop zustava beze zmeny.
   ========================================================= */
@media screen and (max-width: 760px) {

    /* --- Traveler IQ --- */
    #traveleriq-brand {
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        min-height:0 !important;
        box-sizing:border-box !important;
    }
    .traveleriq-brand-inner {
        display:block !important;
        min-width:0 !important;
        min-height:0 !important;
        padding:16px 14px 15px !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }
    .traveleriq-brand-logo-wrap {
        display:block !important;
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
        padding:0 0 13px !important;
        border-right:0 !important;
        border-bottom:1px solid #a8c8e3 !important;
        box-sizing:border-box !important;
    }
    .traveleriq-brand-logo {
        display:block !important;
        width:auto !important;
        max-width:82% !important;
        max-height:74px !important;
        height:auto !important;
        margin:0 auto !important;
    }
    .traveleriq-brand-copy {
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        padding:12px 0 0 !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }

    /* --- Power Plugs --- */
    #pp-brand {
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        min-height:0 !important;
        box-sizing:border-box !important;
    }
    .pp-brand-inner {
        display:block !important;
        min-width:0 !important;
        min-height:0 !important;
        padding:16px 14px 15px !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }
    .pp-brand-logo {
        display:block !important;
        width:auto !important;
        max-width:82% !important;
        max-height:74px !important;
        height:auto !important;
        margin:0 auto 13px !important;
    }
    .pp-brand-copy {
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        padding:12px 0 0 !important;
        border-left:0 !important;
        border-top:1px solid #a8c8e3 !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }
    .pp-brand-sub {
        display:block !important;
    }

    /* --- Cestovatelsky rozcestnik / Web Links --- */
    #wl-brand {
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        min-height:0 !important;
        box-sizing:border-box !important;
    }
    .wl-brand-inner {
        display:block !important;
        min-width:0 !important;
        min-height:0 !important;
        padding:16px 14px 15px !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }
    .wl-brand-logo {
        display:block !important;
        width:auto !important;
        max-width:82% !important;
        max-height:74px !important;
        height:auto !important;
        margin:0 auto 13px !important;
    }
    .wl-brand-copy {
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        padding:12px 0 0 !important;
        border-left:0 !important;
        border-top:1px solid #a8c8e3 !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }

    /* --- Ankety / Surveys --- */
    #surveys-brand {
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        min-height:0 !important;
        box-sizing:border-box !important;
    }
    .surveys-brand-inner {
        display:block !important;
        min-width:0 !important;
        min-height:0 !important;
        padding:16px 14px 15px !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }
    .surveys-brand-logo-wrap {
        display:block !important;
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
        padding:0 0 13px !important;
        border-right:0 !important;
        border-bottom:1px solid #a8c8e3 !important;
        box-sizing:border-box !important;
    }
    .surveys-brand-logo {
        display:block !important;
        width:auto !important;
        max-width:82% !important;
        max-height:74px !important;
        height:auto !important;
        margin:0 auto !important;
    }
    .surveys-brand-copy {
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        padding:12px 0 0 !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }

    /* --- Cestovatelsky archiv --- */
    #archive-brand {
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        min-height:0 !important;
        box-sizing:border-box !important;
    }
    .archive-brand-inner {
        display:block !important;
        min-width:0 !important;
        min-height:0 !important;
        padding:16px 14px 15px !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }
    .archive-brand-logo-wrap {
        display:block !important;
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
        padding:0 0 13px !important;
        border-right:0 !important;
        border-bottom:1px solid #a8c8e3 !important;
        box-sizing:border-box !important;
    }
    .archive-brand-logo {
        display:block !important;
        width:auto !important;
        max-width:82% !important;
        max-height:74px !important;
        height:auto !important;
        margin:0 auto !important;
    }
    .archive-brand-copy {
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        padding:12px 0 0 !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }

    /* --- Fotogalerie / Coppermine --- */
    #gallery-brand {
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        min-height:0 !important;
        box-sizing:border-box !important;
    }
    .gallery-brand-inner {
        display:block !important;
        min-width:0 !important;
        min-height:0 !important;
        padding:16px 14px 15px !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }
    .gallery-brand-logo-wrap {
        display:block !important;
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
        padding:0 0 13px !important;
        border-right:0 !important;
        border-bottom:1px solid #a8c8e3 !important;
        box-sizing:border-box !important;
    }
    .gallery-brand-logo {
        display:block !important;
        width:auto !important;
        max-width:82% !important;
        max-height:74px !important;
        height:auto !important;
        margin:0 auto !important;
    }
    .gallery-brand-copy {
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        padding:12px 0 0 !important;
        box-sizing:border-box !important;
        text-align:center !important;
    }

    /* Jednotna mobilni typografie popisu banneru */
    .traveleriq-brand-kicker,
    .pp-brand-kicker,
    .wl-brand-kicker,
    .surveys-brand-kicker,
    .archive-brand-kicker,
    .gallery-brand-kicker {
        font-size:11px !important;
        line-height:1.3 !important;
        letter-spacing:1px !important;
        overflow-wrap:anywhere !important;
    }

    .traveleriq-brand-title,
    .pp-brand-title,
    .wl-brand-title,
    .surveys-brand-title,
    .archive-brand-title,
    .gallery-brand-title {
        font-size:23px !important;
        line-height:1.15 !important;
        overflow-wrap:anywhere !important;
    }

    .traveleriq-brand-sub,
    .pp-brand-sub,
    .wl-brand-sub,
    .surveys-brand-sub,
    .archive-brand-sub,
    .gallery-brand-sub {
        font-size:13px !important;
        line-height:1.4 !important;
        overflow-wrap:anywhere !important;
    }
}



/* =========================================================
   NEWS ARTICLE DETAIL - LEGACY CONTENT / MOBILE
   Stare cestopisy zustavaji na desktopu beze zmeny.
   Na mobilu se plovouci fototabulky, iframe a spodni
   obrazkova navigace skladaji do jednoho sloupce.
   ========================================================= */
@media screen and (max-width: 760px) {

    .theme-article-body {
        overflow-x: hidden !important;
    }

    /* Samostatne legacy obrazky s align=left/right (napr. uvodni vlajka). */
    .theme-article-body > img[align=\"left\"],
    .theme-article-body > img[align=\"right\"] {
        display: block !important;
        float: none !important;
        clear: both !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 8px auto 14px !important;
    }

    /* Fotograficke tabulky ve starych cestopisech. */
    .theme-article-body table[align=\"left\"],
    .theme-article-body table[align=\"right\"] {
        display: table !important;
        float: none !important;
        clear: both !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 12px auto 16px !important;
        table-layout: auto !important;
    }

    .theme-article-body table[align=\"left\"] img,
    .theme-article-body table[align=\"right\"] img {
        display: block !important;
        float: none !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .theme-article-body table[align=\"left\"] td,
    .theme-article-body table[align=\"right\"] td {
        width: auto !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        text-align: center !important;
    }

    /* Stare mapy / vlozene prvky s pevnou desktopovou sirkou. */
    .theme-article-body iframe {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 700 / 466;
        margin: 12px auto 18px !important;
        box-sizing: border-box !important;
    }

    /* Posledni navigacni tabulka se tremi obrazkovymi tlacitky. */
    .theme-article-body > table[width=\"100%\"]:last-child,
    .theme-article-body > table:last-child {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
    }

    .theme-article-body > table:last-child td {
        width: 33.333% !important;
        padding: 4px !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    .theme-article-body > table:last-child a {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* =========================================================
   AUSTRALIA - MOBILE ARTICLE DETAIL FIX 02
   Hide desktop date/search bar and neutralize legacy fixed widths.
   ========================================================= */
@media screen and (max-width: 760px) {
    .theme-topbar {
        display: none !important;
    }

    .theme-article-card,
    .theme-article-head,
    .theme-article-body,
    .theme-article-footer {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .theme-article-title {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .theme-article-body {
        padding: 14px 12px !important;
        overflow-x: hidden !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .theme-article-body * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .theme-article-body img {
        height: auto !important;
    }

    .theme-article-body img[align="left"],
    .theme-article-body img[align="right"],
    .theme-article-body table[align="left"],
    .theme-article-body table[align="right"] {
        float: none !important;
        clear: both !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .theme-article-body iframe {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 2;
    }
}

/* =========================================================
   NEWS ARTICLE DETAIL - MOBILE SIDEBARS 03 FIXED
   Navazuje na funkcni mobile 02.
   ========================================================= */
@media screen and (max-width: 760px) {

    .article-related-box,
    .article-options-box {
        display: none !important;
    }

    .article-rating-box {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        clear: both !important;
        margin: 14px 0 18px !important;
        box-sizing: border-box !important;
    }

    .article-rating-box table,
    .article-rating-box tbody,
    .article-rating-box tr,
    .article-rating-box td,
    .article-rating-box form {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .article-rating-box img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* =========================================================
   NEWS ARTICLE DETAIL - STATIC LEGACY LAYOUT / MOBILE 04
   Stary article.php sklada clanek + sideboxy do tabulky.
   Na mobilu z ni udelame jednosloupcovy tok.
   ========================================================= */
@media screen and (max-width: 760px) {

    /* Vnejsi legacy tabulka detailu clanku. */
    .theme-content > table,
    .theme-content > table > tbody,
    .theme-content > table > tbody > tr {
        width: 100% !important;
        max-width: 100% !important;
    }

    .theme-content > table > tbody > tr {
        display: flex !important;
        flex-direction: column !important;
    }

    .theme-content > table > tbody > tr > td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Prazdna mezibunka mezi clankem a pravym sloupcem. */
    .theme-content > table > tbody > tr > td:nth-child(2) {
        display: none !important;
    }

    /* Clanek i puvodni prava bunka dostanou plnou sirku. */
    .theme-content > table > tbody > tr > td:first-child,
    .theme-content > table > tbody > tr > td:last-child {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Dva nepotrebne boxy jsou na mobilu pryc. */
    .article-related-box,
    .article-options-box {
        display: none !important;
    }

    /* Hodnoceni zustane pod clankem. */
    .article-rating-box {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 14px 0 18px !important;
        clear: both !important;
        box-sizing: border-box !important;
    }
}

/* =========================================================
   NEWS ARTICLE DETAIL - MOBILE RATING 05
   Kompaktni hodnoceni 1-5 misto starych obrazkovych hvezd.
   ========================================================= */
@media screen and (max-width: 760px) {

    .article-rating-box {
        width: 100% !important;
        max-width: 100% !important;
    }

    .article-rating-box > table,
    .article-rating-box .theme-sidebox {
        width: 100% !important;
        max-width: 100% !important;
    }

    .article-rating-form {
        width: 100% !important;
        margin-top: 18px !important;
        text-align: center !important;
    }

    .article-rating-prompt {
        margin-bottom: 12px !important;
        text-align: center !important;
    }

    .article-rating-choices {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 auto 16px !important;
        width: 100% !important;
    }

    .article-rating-choices label {
        display: block !important;
        cursor: pointer !important;
    }

    .article-rating-choices input[type="radio"] {
        position: absolute !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .article-rating-choices span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        border: 1px solid #5f7180 !important;
        border-radius: 50% !important;
        background: rgba(255,255,255,.04) !important;
        color: inherit !important;
        font-size: 18px !important;
        font-weight: bold !important;
        box-sizing: border-box !important;
    }

    .article-rating-choices input[type="radio"]:checked + span {
        border-color: #66ccff !important;
        box-shadow: 0 0 0 2px rgba(102,204,255,.25) !important;
    }

    .article-rating-submit {
        text-align: center !important;
    }

    .article-rating-submit input[type="submit"] {
        min-width: 120px !important;
        min-height: 42px !important;
        padding: 8px 18px !important;
        cursor: pointer !important;
    }
}

/* =========================================================
   NEWS ARTICLE DETAIL - MOBILE RATING 06
   Jednoznacna skala 1-5 a kompaktnejsi rozlozeni.
   ========================================================= */
@media screen and (max-width: 760px) {

    .article-rating-form {
        margin-top: 12px !important;
    }

    .article-rating-prompt {
        margin-bottom: 10px !important;
        font-weight: 600 !important;
    }

    .article-rating-choices {
        gap: 8px !important;
        margin-bottom: 7px !important;
    }

    .article-rating-choices span {
        width: 42px !important;
        height: 42px !important;
        font-size: 17px !important;
    }

    .article-rating-choices input[type="radio"]:checked + span {
        background: rgba(102,204,255,.16) !important;
        border-color: #66ccff !important;
        box-shadow: 0 0 0 2px rgba(102,204,255,.28) !important;
    }

    .article-rating-scale {
        display: flex !important;
        justify-content: space-between !important;
        width: 242px !important;
        max-width: 100% !important;
        margin: 0 auto 14px !important;
        color: #9eabb5 !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .article-rating-submit input[type="submit"] {
        min-width: 128px !important;
        min-height: 40px !important;
    }
}

/* =========================================================
   ARTICLE RATING 07
   Desktop = puvodni hvezdy, mobil = jednoznacna stupnice 1-5.
   ========================================================= */
.article-rating-mobile {
    display: none;
}

@media screen and (max-width: 760px) {
    .article-rating-desktop {
        display: none !important;
    }

    .article-rating-mobile {
        display: block !important;
    }

    .comments-modern-head {
        box-sizing: border-box !important;
        width: 100% !important;
        padding: 14px 16px !important;
        text-align: center !important;
    }

    .comments-modern-meta {
        display: block !important;
        margin: 0 0 12px !important;
        text-align: center !important;
        font-size: 16px !important;
    }

    .comments-modern-reply {
        margin: 0 0 12px !important;
        text-align: center !important;
    }

    .comments-modern-reply input[type="submit"] {
        min-height: 42px !important;
        padding: 8px 18px !important;
        border: 1px solid #2f82c7 !important;
        border-radius: 7px !important;
        background: #2f82c7 !important;
        color: #fff !important;
        font-weight: bold !important;
        cursor: pointer !important;
    }

    .comments-modern-warning {
        margin-top: 8px !important;
        padding-top: 10px !important;
        border-top: 1px solid rgba(127, 154, 176, .22) !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
        opacity: .72 !important;
    }
}

/* =========================================================
   ARTICLE IMAGES - MOBILE 08
   Stare obsahove obrazky: bez obtekani, na stred.
   Prvni uvodni IMG s align="right": na mobilu skryt.
   Desktop beze zmeny.
   ========================================================= */
@media screen and (max-width: 760px) {

    /* Samostatne stare obrazky primo v textu clanku */
    .theme-article-body > img[align="left"],
    .theme-article-body > img[align="right"] {
        float: none !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        margin: 14px auto !important;
    }

    /*
     * Uvodni dekorativni obrazek je v nasich starych clancich
     * prvni primy IMG element a je zarovnany doprava.
     * :first-child zajisti, ze NESCHOVAME pozdejsi align=right fotky.
     */
    .theme-article-body > img[align="right"]:first-child {
        display: none !important;
    }

    /* Fotky zabalene ve starych align tabulkach: cele bloky na stred. */
    .theme-article-body > table[align="left"],
    .theme-article-body > table[align="right"] {
        float: none !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 14px auto !important;
    }

    .theme-article-body > table[align="left"] img,
    .theme-article-body > table[align="right"] img {
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* =========================================================
   AUSTRALIA – NEWS ARTICLE FLOAT FIX
   Legacy article images often use align="left/right".
   Keep floated images inside the article body/card.
   ========================================================= */
.theme-story-body::after,
.theme-article-body::after {
    content: "";
    display: block;
    clear: both;
}

/* =========================================================
   AUSTRALIA – MOBILE HEADER + DRAWER FINAL OVERRIDE
   Obnova drive odladeneho mobilniho chovani.
   Desktop a ostatni moduly zustavaji beze zmeny.
   ========================================================= */
@media screen and (max-width: 760px) {

    .theme-mobile-header {
        min-height: 80px !important;
    }

    .theme-mobile-menu-button {
        width: 64px !important;
        min-width: 64px !important;
        height: 80px !important;
    }

    .theme-mobile-menu-icon {
        font-size: 30px !important;
        line-height: 80px !important;
    }

    .theme-mobile-brand {
        display: block !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        height: 80px !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #0f4f8f !important;
    }

    .theme-mobile-brand-image {
        display: block !important;
        width: 100% !important;
        height: 80px !important;
        object-fit: cover !important;
        object-position: center center !important;
        border: 0 !important;
    }

    .theme-mobile-brand-main,
    .theme-mobile-brand-sub {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .theme-mobile-drawer {
        width: 74% !important;
        max-width: 290px !important;
    }
}

/* =========================================================
   NEWS / TRAVEL STORIES – MOBILE BANNER CLEANUP
   Odstraneni sedeho gradientoveho pruhu za logem na mobilu.
   Mapa sveta (#news-brand:after) zustava zachovana.
   ========================================================= */
@media screen and (max-width: 760px) {
    #news-brand:before {
        display: none !important;
        content: none !important;
    }
}

/* =========================================================
   NEWS / TRAVEL STORIES – DARK MOBILE MAP CLEANUP
   Ve svetlem rezimu mapa sveta zustava.
   V tmavem mobilnim rezimu se skryje, aby nevznikal svetly obdelnik.
   ========================================================= */
@media screen and (max-width: 760px) and (prefers-color-scheme: dark) {
    #news-brand:after {
        display: none !important;
        content: none !important;
    }
}

/* =========================================================
   NEWS / TRAVEL STORIES – MOBILE MAP OFF
   Jen mobilni banner Travel Stories.
   Desktopova mapa zustava zachovana.
   Po zavedeni vlastniho dark mode lze mobilni mapu znovu zvazit.
   ========================================================= */
@media screen and (max-width: 760px) {
    #news-brand:after {
        display: none !important;
        content: none !important;
    }
}

/* =========================================================
   NEWS / TRAVEL STORIES – MOBILE FULL-BANNER MAP TEST
   Mapa sveta je jen na mobilu roztazena pres celou plochu banneru,
   aby nevznikal viditelny obdelnik ve forced dark mode.
   Desktop zustava beze zmeny.
   ========================================================= */
@media screen and (max-width: 760px) {
    #news-brand:after {
        display: block !important;
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        opacity: .24 !important;
        pointer-events: none !important;
    }
}

/* =========================================================
   AUSTRALIA – UNIFIED MOBILE MODULE BANNER MAP
   Sjednoceni watermark mapy pro mobilni bannery.
   Jen max-width 760px; desktop zustava beze zmeny.
   ========================================================= */
@media screen and (max-width: 760px) {
    #news-brand:after,
    #gallery-brand:after,
    #pp-brand:after,
    #archive-brand:after,
    #surveys-brand:after,
    #traveleriq-brand:after,
    #wl-brand:after,
    #account-brand:after,
    #smilies-brand:after,
    #stats-brand:after,
    #satmap-brand:after,
    #recommend-brand:after,
    #search-brand:after,
    #gbook-brand:after,
    #top10-brand:after,
    #fb-brand:after {
        display: block !important;
        content: "" !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        opacity: .24 !important;
        pointer-events: none !important;
    }

    #news-brand:before,
    #gallery-brand:before,
    #pp-brand:before,
    #archive-brand:before,
    #surveys-brand:before,
    #traveleriq-brand:before,
    #wl-brand:before,
    #account-brand:before,
    #smilies-brand:before,
    #stats-brand:before,
    #satmap-brand:before,
    #recommend-brand:before,
    #search-brand:before,
    #gbook-brand:before,
    #top10-brand:before,
    #fb-brand:before {
        display: none !important;
        content: none !important;
    }
}

/* =========================================================
   COPPERMINE - MOBILE HOME CATEGORY TITLES RESTORE
   Vraci modre zvyrazneni nazvu kategorii/alb na hlavni
   strance fotogalerie. Desktop zustava beze zmeny.
   ========================================================= */
@media screen and (max-width: 760px) {
    #cpg-home-content span.catlink,
    #cpg-home-content span.catlink a,
    #cpg-home-content a.alb_title {
        color: #4f9eea !important;
        -webkit-text-fill-color: #4f9eea !important;
        font-weight: bold !important;
        text-decoration: none !important;
    }
}

/* =========================================================
   COPPERMINE - THUMBNAIL SECTIONS RESTORE
   Nejnovější / Nejprohlíženější / Náhodné obrázky
   Obnova dříve odladěného mobilního rozložení.
   Cíleno jen na Coppermine tabulky obsahující td.code.
   ========================================================= */

.theme-content table.maintable:has(td.code) {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 0 0 18px 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.theme-content table.maintable:has(td.code) .tableh1 {
    padding: 9px 12px !important;
    background: linear-gradient(180deg, #f7fbff 0%, #eaf4fb 100%) !important;
    border: 1px solid #c8def2 !important;
    border-bottom: 1px solid #bfd7ea !important;
    border-radius: 8px 8px 0 0 !important;
    color: #0f4f8f !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: bold !important;
    line-height: 1.3 !important;
}

.theme-content table.maintable:has(td.code) .tableh1 a,
.theme-content table.maintable:has(td.code) .tableh1 .statlink {
    color: #0f4f8f !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

.theme-content table.maintable:has(td.code) td.code {
    padding: 8px !important;
    background: #ffffff !important;
    border: 0 !important;
    color: #5f7385 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    vertical-align: top !important;
}

.theme-content table.maintable:has(td.code) td.code > a {
    display: inline-block !important;
    padding: 7px !important;
    background: #f8fbfe !important;
    border: 1px solid #d5e3ef !important;
    border-radius: 7px !important;
    box-shadow: 0 1px 4px rgba(31,79,120,.06) !important;
    text-decoration: none !important;
}

.theme-content table.maintable:has(td.code) td.code img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    border-radius: 4px !important;
}

.theme-content table.maintable:has(td.code) td.code:hover > a {
    border-color: #a9c9e3 !important;
    box-shadow: 0 2px 8px rgba(31,79,120,.10) !important;
}

@media screen and (max-width: 760px) {
    .theme-content table.maintable:has(td.code) {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
    }

    .theme-content table.maintable:has(td.code) .tableh1 {
        font-size: 13px !important;
        padding: 8px 10px !important;
    }

    .theme-content table.maintable:has(td.code) td.code {
        padding: 5px !important;
        overflow: hidden !important;
    }

    .theme-content table.maintable:has(td.code) td.code > a {
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 5px !important;
    }
}

/* =========================================================
   COPPERMINE - MOBILE META CLEAN 55 RESTORE
   Nejnovější / Nejprohlíženější / Náhodné obrázky.
   Obnova přesně té mobilní geometrie, která byla dříve odladěná:
   4 stejné sloupce, pevná výška karet, skutečné centrování obrázku.
   ========================================================= */
@media screen and (max-width: 760px) {

    .theme-content .cpg-thumb-section > table.maintable {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        border-collapse: separate !important;
        border-spacing: 6px 8px !important;
    }

    .theme-content .cpg-thumb-section > table.maintable > tbody > tr:has(> td.code),
    .theme-content .cpg-thumb-section > table.maintable > tr:has(> td.code) {
        display: table-row !important;
        width: auto !important;
        height: 112px !important;
        min-height: 112px !important;
        max-height: 112px !important;
    }

    .theme-content .cpg-thumb-section > table.maintable > tbody > tr:has(> td.code) > td.code,
    .theme-content .cpg-thumb-section > table.maintable > tr:has(> td.code) > td.code {
        display: table-cell !important;
        position: relative !important;
        width: 25% !important;
        min-width: 0 !important;
        max-width: 25% !important;
        height: 112px !important;
        min-height: 112px !important;
        max-height: 112px !important;
        flex: none !important;
        margin: 0 !important;
        padding: 5px !important;
        vertical-align: middle !important;
        text-align: center !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .theme-content .cpg-thumb-section > table.maintable td.code > a {
        position: absolute !important;
        inset: 5px !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        transform: none !important;
        text-decoration: none !important;
    }

    .theme-content .cpg-thumb-section > table.maintable td.code > a > img.image {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        display: block !important;
        float: none !important;
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translate(-50%, -50%) !important;
        object-fit: contain !important;
        box-sizing: border-box !important;
    }

    .theme-content .cpg-thumb-section .thumb_caption,
    .theme-content .cpg-thumb-section td.code > a + br {
        display: none !important;
    }

    /* Portrait nahledy Coppermine typicky generuje jako height="200".
       Zmensime je, aby vizualne odpovidaly landscape nahledum. */
    .theme-content .cpg-thumb-section > table.maintable
    td.code > a > img.image[height="200"] {
        max-height: 72% !important;
        max-width: 72% !important;
    }
}

/* =========================================================
   AUSTRALIA - LIGHT / DARK SWITCH UI PROTOTYPE
   Zatim pouze vizualni ovladac. Nic na vzhledu webu nemeni.
   Desktop: vedle data. Mobil: uvnitr hamburger menu.
   ========================================================= */

.theme-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.theme-mode-switch {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 76px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 1px solid #c5ced8;
    border-radius: 18px;
    background: linear-gradient(180deg,#eef2f6 0%,#dce3ea 100%);
    box-shadow:
        inset 0 1px 3px rgba(31,49,68,.18),
        0 1px 2px rgba(31,49,68,.08);
    cursor: pointer;
    overflow: hidden;
    vertical-align: middle;
    transition: background .22s ease, border-color .22s ease;
}

.theme-mode-switch:focus {
    outline: 2px solid #4b93cf;
    outline-offset: 2px;
}

.theme-mode-switch-sun,
.theme-mode-switch-moon {
    position: absolute;
    top: 0;
    width: 34px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1;
    color: #aeb8c2;
    pointer-events: none;
    z-index: 1;
}

.theme-mode-switch-sun { left: 1px; }
.theme-mode-switch-moon { right: 1px; font-size: 19px; }

.theme-mode-switch-knob {
    position: absolute;
    z-index: 2;
    top: 2px;
    left: 2px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(180deg,#ffb21d 0%,#ff8a00 100%);
    border: 1px solid #e67c00;
    box-shadow:
        0 2px 5px rgba(31,49,68,.28),
        inset 0 1px 1px rgba(255,255,255,.55);
    color: #ffffff;
    transition:
        left .22s ease,
        background .22s ease,
        border-color .22s ease;
}

.theme-mode-switch-knob-icon {
    display: block;
    margin-top: -1px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    line-height: 1;
    color: #ffffff;
}

.theme-mode-switch.is-dark-preview {
    background: linear-gradient(180deg,#25355f 0%,#1d294c 100%);
    border-color: #40537e;
}

.theme-mode-switch.is-dark-preview .theme-mode-switch-knob {
    left: 44px;
    background: linear-gradient(180deg,#5e88ff 0%,#4169e1 100%);
    border-color: #3557c5;
}

.theme-mode-switch.is-dark-preview .theme-mode-switch-sun {
    color: #536486;
}

.theme-mode-switch.is-dark-preview .theme-mode-switch-moon {
    color: #dfe8ff;
}

/* Mobilni radek v hamburger menu */
.theme-mobile-appearance-row {
    display: none;
}

@media screen and (max-width: 760px) {
    .theme-mobile-appearance-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin: 8px 14px 10px;
        padding: 10px 12px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 9px;
        background: rgba(255,255,255,.045);
        box-sizing: border-box;
    }

    .theme-mobile-appearance-label {
        color: #e8eef5;
        font: 15px Arial, sans-serif;
        line-height: 1.3;
    }

    .theme-mode-switch-mobile {
        width: 86px;
        height: 40px;
        border-radius: 21px;
    }

    .theme-mode-switch-mobile .theme-mode-switch-sun,
    .theme-mode-switch-mobile .theme-mode-switch-moon {
        width: 39px;
        height: 38px;
        font-size: 22px;
    }

    .theme-mode-switch-mobile .theme-mode-switch-knob {
        width: 34px;
        height: 34px;
        top: 2px;
        left: 2px;
    }

    .theme-mode-switch-mobile .theme-mode-switch-knob-icon {
        font-size: 22px;
    }

    .theme-mode-switch-mobile.is-dark-preview .theme-mode-switch-knob {
        left: 48px;
    }
}

