body {
    margin: 0 auto;
    padding: 0;
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
    color: #000;
    line-height: 145%;
}
a {
    color: #4267b2;
    border-bottom: 1px solid #4267b2;
    padding-bottom: 1px;
    text-decoration: none;
}
main { display: block; }

/* Suggested articles: a distinct title followed by its description. */
.sidebar .rapportSID {
    display: flow-root;
    margin: 0 0 1.5rem;
    padding: 0 0 1.5rem;
    border-bottom: 1px solid #dce2e8;
    text-align: start;
}
.sidebar .rapportSID:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.sidebar .rapportSID .ekonomia-related-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
    color: #4267b2;
    text-decoration: none;
}
.sidebar .rapportSID .ekonomia-related-link:hover,
.sidebar .rapportSID .ekonomia-related-link:focus-visible { border: 0; text-decoration: none; }
.sidebar .rapportSID .ekonomia-related-link:focus-visible { outline: 2px solid #4267b2; outline-offset: 3px; }
.sidebar .rapportSID .ekonomia-related-media { display: block; width: 100%; margin: 0; padding: 0; line-height: 0; }
.sidebar .rapportSID .ekonomia-related-media img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; padding: 0; }
.sidebar .rapportSID .ekonomia-related-title { margin: 0; padding: 0; color: inherit; font-size: 1rem; line-height: 1.4; text-align: start; }
.sidebar .ekonomia-related-title a,
.sidebar .ekonomia-related-title a:hover,
.sidebar .ekonomia-related-title a:focus-visible { border: 0; padding: 0; text-decoration: none; }
.sidebar .rapportSID .ekonomia-related-excerpt { margin: 0.65rem 0 0; font-size: 1rem; line-height: 1.65; }
.sidebar .rapportSID .ekonomia-related-excerpt p { margin: 0 0 0.75rem; }
.sidebar .rapportSID .ekonomia-related-excerpt > :last-child { margin-bottom: 0; }
.entry .ekonomia-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    margin: 0 0 0.35rem;
    padding: 0 0 0.5rem;
    border-bottom: 1px solid #dce2e8;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: left;
}
.entry .ekonomia-post-meta > span { max-width: 100%; }
.entry .ekonomia-post-author { overflow-wrap: anywhere; }
.entry .ekonomia-post-author a {
    color: #315b9a;
    border-color: #315b9a;
    font-weight: 600;
}
.entry .ekonomia-post-author a:hover,
.entry .ekonomia-post-author a:focus-visible { text-decoration: underline; }
.entry img, .wp-caption { max-width: 100%; }
.entry img { height: auto; }
.wp-caption { box-sizing: border-box; }
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute; width: 1px; white-space: nowrap;
}
.screen-reader-text:focus {
    clip: auto; clip-path: none; height: auto; margin: 0;
    padding: 12px; width: auto; background: #fff; z-index: 10001;
}

/* Azulejo brand, homepage and common archive presentation. */
header #sloganmenu { color: #173e7d; }
header #slogan2 { color: #325589; }
#frontIMG.ekonomia-home-hero {
    position: relative;
    width: 100%;
    margin: 0 0 2rem;
    overflow: hidden;
    background: #f1f6ff;
    border-bottom: 1px solid #c9d8ef;
}
.ekonomia-home-hero .ekonomia-hero-picture { position: absolute; inset: 0; display: block; }
.ekonomia-hero-picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.ekonomia-home-hero .ekonomia-hero-inner {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: min(1280px, calc(100% - 48px));
    min-height: 540px;
    margin: 0 auto;
    padding: 36px 0;
}
.ekonomia-home-hero .ekonomia-hero-copy {
    box-sizing: border-box;
    width: 350px;
    padding: 26px;
    border: 1px solid #d6e3f5;
    border-radius: 14px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 8px 30px rgba(23,62,125,0.07);
    text-align: left;
}
#frontTitle { position: static; width: auto; margin: 0 0 16px; padding: 0; font-size: 30px; line-height: 1.16; color: #173e7d; text-shadow: none; text-align: left; }
#frontSlogan { position: static; margin: 0; padding: 0; font-size: 17px; line-height: 1.5; color: #294c7c; }

.ekonomia-archive-shell { box-sizing: border-box; width: min(970px,calc(100% - 32px)); margin: 32px auto 48px; text-align: left; }
header.ekonomia-archive-intro { box-sizing: border-box; width: auto; height: auto; padding: 24px 0; margin: 0 0 22px; background: none; border-bottom: 1px solid #c9d8ef; }
.ekonomia-archive-intro h1 { margin: 0 0 12px; font-size: clamp(28px,4vw,42px); line-height: 1.2; color: #173e7d; }
.ekonomia-archive-description { max-width: 780px; font-size: 18px; line-height: 1.65; }
.ekonomia-archive-description:empty { display: none; }
.ekonomia-archive-description p { margin: 0 0 12px; }
.ekonomia-eyebrow { margin: 0 0 12px; color: #4267a3; font-size: 14px; font-weight: 700; }
.ekonomia-archive-list-title { margin: 0 0 24px; font-size: 24px; color: #173e7d; }
.ekonomia-archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.ekonomia-archive-grid .ekonomia-archive-card { position: relative; top: auto; float: none; width: auto; margin: 0; padding: 0; overflow: hidden; border: 1px solid #cedcee; border-radius: 10px; background: #fff; text-align: left; }
.ekonomia-card-media { display: block; aspect-ratio: 16 / 9; padding: 0; border: 0; overflow: hidden; background: #f5f8ff; }
.ekonomia-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ekonomia-card-body { padding: 22px; }
.ekonomia-card-body h2, .ekonomia-card-body h3 { margin: 0 0 14px; font-size: 23px; line-height: 1.3; color: #173e7d; overflow-wrap: anywhere; }
.ekonomia-card-body h2 a, .ekonomia-card-body h3 a { color: inherit; border: 0; padding: 0; }
.ekonomia-card-body h2 a:hover, .ekonomia-card-body h3 a:hover { text-decoration: underline; }
.ekonomia-archive-card .ekonomia-post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0 0 12px; margin: 0 0 12px; color: #4b5563; border-bottom: 1px solid #dce2e8; font-size: 14px; line-height: 1.6; }
.ekonomia-card-excerpt { font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.ekonomia-card-excerpt p { margin: 0; }
.ekonomia-archive-shell .navigation.pagination { margin-top: 32px; }
.ekonomia-archive-shell .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ekonomia-archive-shell .page-numbers { padding: 9px 14px; border: 1px solid #b4c9e8; border-radius: 5px; color: #173e7d; }
.ekonomia-archive-shell .page-numbers.current { background: #173e7d; border-color: #173e7d; color: #fff; }

/* Native, accessible table of contents; usable without JavaScript. */
.entry .ekonomia-toc { box-sizing: border-box; margin: 1.5em 0; padding: 18px 22px; border: 1px solid #c4d6f1; border-left: 4px solid #315b9a; border-radius: 8px; background: #f3f7ff; color: #173e7d; text-align: left; }
.entry .ekonomia-toc summary { cursor: pointer; color: #173e7d; font-size: 18px; font-weight: 700; line-height: 1.5; }
.entry .ekonomia-toc ol { padding-left: 24px; margin: 14px 0 0; list-style: decimal; line-height: 1.6; }
.entry .ekonomia-toc ol ol { margin: 6px 0; }
.entry .ekonomia-toc li { display: list-item; margin: 6px 0; padding: 0; background: none; font-size: 16px; list-style: decimal; }
.entry .ekonomia-toc li::before { content: none; }
.entry .ekonomia-toc a { color: #234e8d; border-bottom: 1px solid transparent; overflow-wrap: anywhere; }
.entry .ekonomia-toc a:hover, .entry .ekonomia-toc a:focus-visible { border-color: currentColor; }
[data-ekonomia-content] h2[id], [data-ekonomia-content] h3[id] { scroll-margin-top: 24px; }
.admin-bar [data-ekonomia-content] h2[id], .admin-bar [data-ekonomia-content] h3[id] { scroll-margin-top: 64px; }
@media only screen and (max-width: 767px) {
    .ekonomia-home-hero .ekonomia-hero-picture { position: static; }
    .ekonomia-hero-picture img { height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
    .ekonomia-home-hero .ekonomia-hero-inner { width: 100%; min-height: 0; padding: 22px 16px 28px; }
    .ekonomia-home-hero .ekonomia-hero-copy { width: 100%; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
    #frontTitle { font-size: 29px; }
    #frontSlogan { font-size: 17px; }
    .ekonomia-archive-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
    .ekonomia-archive-shell { margin-top: 18px; }
    .ekonomia-card-body { padding: 18px; }
    .entry .ekonomia-toc { padding: 16px; }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .ekonomia-home-hero .ekonomia-hero-picture { position: static; }
    .ekonomia-hero-picture img { height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
    .ekonomia-home-hero .ekonomia-hero-inner { width: 100%; min-height: 0; padding: 24px; }
    .ekonomia-home-hero .ekonomia-hero-copy { width: 100%; padding: 0; border: 0; background: none; box-shadow: none; }
}
@media only screen and (max-width: 480px) {
    .ekonomia-hero-picture img { height: clamp(190px,64vw,250px); aspect-ratio: auto; object-fit: cover; object-position: right center; }
}

/* Latest published news on the homepage. */
.ekonomia-news-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 24px; }
.ekonomia-news-heading h2 { margin: 0; color: #173e7d; font-size: 30px; line-height: 1.25; }
.ekonomia-news-all { display: inline-block; padding: 9px 14px; border: 1px solid #b4c9e8; border-radius: 6px; color: #173e7d; font-size: 15px; }
.ekonomia-news-all:hover, .ekonomia-news-all:focus-visible { color: #fff; background: #173e7d; border-color: #173e7d; }

/* About belongs in the footer, independently of the category navigation. */
#footer .ekonomia-footer-links { margin: 0 0 0.75rem; font-size: 1rem; line-height: 1.5; }
#footer .ekonomia-footer-links a { display: inline-block; padding: 0.5rem; color: #204f7d; border: 0; }
#footer .ekonomia-footer-links a:hover { text-decoration: underline; }
#footer .ekonomia-footer-links a:focus-visible { outline: 2px solid #4267b2; outline-offset: 2px; }

/* Main illustrations keep the uploaded composition instead of a 640 x 280 crop. */
.entry figure.ekonomia-featured-image {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    box-sizing: border-box;
}
.entry figure.ekonomia-featured-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
}

/* Breadcrumbs flow and wrap as ordinary text, including long article titles. */
nav.ekonomia-breadcrumbs {
    margin: 0 0 0.5rem;
    padding: 0.15rem 0;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.65;
    text-align: start;
    overflow-wrap: anywhere;
}
nav.ekonomia-breadcrumbs a {
    padding: 0;
    border: 0;
    color: #204f7d;
    text-decoration: underline;
    text-underline-offset: 2px;
}
nav.ekonomia-breadcrumbs a:focus-visible { outline: 2px solid #4267b2; outline-offset: 3px; }
nav.ekonomia-breadcrumbs ol.ekonomia-breadcrumb-list {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}
nav.ekonomia-breadcrumbs ol.ekonomia-breadcrumb-list > li {
    display: inline;
    clear: none;
    float: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    list-style: none;
    font: inherit;
}
nav.ekonomia-breadcrumbs ol.ekonomia-breadcrumb-list > li::before { content: none; }
nav.ekonomia-breadcrumbs ol.ekonomia-breadcrumb-list > li + li::before {
    content: "›";
    display: inline-block;
    position: static;
    float: none;
    width: auto;
    margin: 0 0.5em;
    padding: 0;
    background: none;
    color: #6a7d91;
    font: inherit;
    counter-increment: none;
}
nav.ekonomia-breadcrumbs .breadcrumb_last { margin: 0; color: #4b5563; }

/* Dates and navigation follow the chapô; only genuine topic collections are linked. */
.entry #enTeteDesc + .ekonomia-post-meta { margin-top: 1rem; }
.ekonomia-noticia #maintitle { text-align: left; }
nav.ekonomia-topics { margin: 1.5rem 0; padding: 1rem 1.15rem; background: #f3f6fc; border: 1px solid #ccd9e9; border-radius: 12px; text-align: left; }
nav.ekonomia-topics h2 { margin: 0 0 0.75rem; padding: 0; color: #204f7d; font-size: 1.1rem; line-height: 1.4; }
nav.ekonomia-topics ul { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
nav.ekonomia-topics ul li { display: block; margin: 0; padding: 0; background: none; list-style: none; }
nav.ekonomia-topics ul li::before { content: none; }
nav.ekonomia-topics ul li a { display: block; padding: 0.45rem 0.7rem; border: 1px solid #b9cce2; border-radius: 6px; background: #fff; color: #204f7d; font-size: 0.95rem; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
nav.ekonomia-topics ul li a:hover { background: #e5eef9; }
nav.ekonomia-topics ul li a:focus-visible { outline: 2px solid #4267b2; outline-offset: 3px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.navigation.pagination .page-numbers { display: inline-block; padding: 9px 14px; border: 1px solid #b4c9e8; border-radius: 5px; color: #173e7d; }
.navigation.pagination .page-numbers.current { background: #173e7d; border-color: #173e7d; color: #fff; }

/* Format is identified in the reading view; categories label tag-archive cards only. */
.entry .ekonomia-article-format { display: flex; align-items: center; gap: 0.5rem; margin: 0.75rem 0 0; padding: 0; color: #204f7d; font-size: 0.95rem; font-weight: 700; line-height: 1.4; text-align: left; }
.ekonomia-symbol { flex: 0 0 22px; vertical-align: middle; }
.entry .ekonomia-article-format + #maintitle { margin-top: 0.65rem; padding-top: 0; }
.ekonomia-guide .entry .ekonomia-article-format { justify-content: flex-start; }
.entry > .ekonomia-article-format { border: 0; padding-top: 0; }
.ekonomia-card-categories { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.75rem; }
.ekonomia-card-body .ekonomia-category-badge { display: inline-block; padding: 0.2rem 0.55rem; border: 0; border-radius: 4px; background: #204f7d; color: #fff; font-size: 0.8rem; font-weight: 700; line-height: 1.5; text-decoration: none; }
.ekonomia-card-body .ekonomia-category-badge:focus-visible { outline: 2px solid #4267b2; outline-offset: 3px; }

/* Grouped, keyboard-accessible topic exploration; all links are rendered server-side. */
.ekonomia-topic-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.65rem; align-items: start; }
nav.ekonomia-topics .ekonomia-topic-group { margin: 0; padding: 0; border: 1px solid #ccd9e9; border-radius: 8px; background: #fff; min-width: 0; }
nav.ekonomia-topics .ekonomia-topic-group summary { display: flex; align-items: center; gap: 0.55rem; padding: 0.8rem; color: #204f7d; font-size: 0.95rem; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.ekonomia-topic-group summary::-webkit-details-marker { display: none; }
.ekonomia-topic-group summary::after { content: "+"; margin-left: auto; font-size: 1.25rem; }
.ekonomia-topic-group[open] summary::after { content: "−"; }
.ekonomia-topic-group summary:focus-visible { outline: 2px solid #4267b2; outline-offset: 2px; }
.ekonomia-topic-count { margin-left: auto; color: #66758a; font-size: 0.75rem; font-weight: 400; white-space: nowrap; }
nav.ekonomia-topics .ekonomia-topic-group ul { display: block; padding: 0 0.8rem 0.65rem 2.75rem; }
nav.ekonomia-topics .ekonomia-topic-group li + li { margin-top: 0.35rem; }
nav.ekonomia-topics .ekonomia-topic-group li a { display: inline; padding: 0; border: 0; border-radius: 0; background: none; line-height: 1.7; text-decoration: underline; text-underline-offset: 2px; }

.entry aside.ekonomia-incontent-ad { display: block; clear: both; width: 100%; min-height: 250px; margin: 1.5rem 0; padding: 0.5rem 0; box-sizing: border-box; text-align: center; }
.entry aside.ekonomia-incontent-ad .ekonomia-ad-label { margin: 0 0 0.4rem; padding: 0; color: #66758a; font-size: 0.72rem; line-height: 1.4; font-style: normal; text-align: center; }
.ekonomia-incontent-ad:has(> ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
@media (max-width: 767px) { .ekonomia-topic-groups { grid-template-columns: minmax(0,1fr); } }

/* The navigation owns both rules; the article label does not draw a third one. */
.ekonomia-site-header { border-bottom-color: #c9d8ef; }
@media (min-width: 1024px) {
    body > header.ekonomia-site-header { height: 124px; padding: 0; box-sizing: border-box; border-bottom: 1px solid #c9d8ef; background: linear-gradient(to bottom,transparent 69px,#c9d8ef 69px,#c9d8ef 70px,transparent 70px); }
    .ekonomia-site-header #menuHeader { height: 123px; }
    .ekonomia-site-header #menu-navigation { display: flex; align-items: center; gap: clamp(1rem,3vw,2.625rem); position: absolute; top: 70px; left: 0; width: 100%; height: 53px; margin: 0; padding: 0; border: 0; box-sizing: border-box; }
    .ekonomia-site-header #menu-navigation > li { display: flex; align-items: center; min-height: 53px; margin: 0; padding: 0; }
    .ekonomia-site-header #menu-navigation > li > a { display: inline-block; margin: 0; padding: 0; line-height: 1.4; }
    .ekonomia-site-header #menu-navigation > li > ul { top: 100%; }
}
@media (max-width: 1023px) {
    .ekonomia-site-header #menu-navigation { border-top-color: #c9d8ef; border-bottom-color: #c9d8ef; }
}
