/*!
Theme Name: Newsmatic
Theme URI: https://blazethemes.com/theme/newsmatic-free/
Author: BlazeThemes
Author URI: https://blazethemes.com/
Description: Newsmatic is a complete solution for your news website with full Elementor compatibility. By integrating the News Kit Elementor Addons plugin on your site, you can customize any part of the theme with the Elementor page builder. It is fast, feature-rich, customizer-based, and multipurpose. Newsmatic is multilingual, Gutenberg, and Elementor compatible, and can be easily integrated with newsletter/form plugins. Schema-ready and GDPR-safe.
Version: 1.3.16
Tested up to: 6.0
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newsmatic
Tags: news, blog, entertainment, one-column, two-columns, grid-layout, block-styles, left-sidebar, right-sidebar, custom-header, flexible-header, custom-background, custom-colors, custom-menu, featured-images, full-width-template, post-formats, sticky-post, rtl-language-support, footer-widgets, theme-options, threaded-comments, translation-ready
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
  - Normalize
  - Box sizing
# Base
  - Typography
  - Elements
  - Links
  - Forms
## Layouts
# Components
  - Navigation
  - Posts and pages
  - Comments
  - Widgets
  - Media
  - Captions
  - Galleries
# Plugins
  - Jetpack infinite scroll
# Utilities
  - Accessibility
  - Alignments
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
========================================================================== */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
========================================================================== */

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
========================================================================== */

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
========================================================================== */

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

/* Embedded content
========================================================================== */

img {
  border-style: none;
}

/* Forms
========================================================================== */

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress { vertical-align: baseline; }
textarea { overflow: auto; }

[type="checkbox"], [type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
========================================================================== */

details { display: block; }
summary { display: list-item; }

/* Misc
========================================================================== */

template { display: none; }
[hidden] { display: none; }

/* Box sizing
--------------------------------------------- */

*, *::before, *::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

body, button, input, select, optgroup, textarea {
  color: var(--body-text-default-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 { clear: both; }

p { margin-bottom: 1.5em; }

dfn, cite, em, i { font-style: italic; }

blockquote {
  margin: 0 1.5em;
  border-left: 5px solid var(--border-bottom-color);
  padding-left: 15px;
}

address { margin: 0 0 1.5em; }

pre {
  background: #eee;
  font-family: var(--post-content-font);
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  padding: 40px;
}

abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

big { font-size: 125%; }

body { background: #fff; }

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul, ol {
  margin: 0 0 1.5em 0.5em;
}

ul { list-style: disc; }
ol { list-style: decimal; }

li > ul, li > ol {
  margin-bottom: 0;
  margin-left: 0.2em;
}

dt { font-weight: 700; }
dd { margin: 0 0.3em 1.5em; }

/* Embeds */
embed, iframe, object { max-width: 100%; }
img { height: auto; max-width: 100%; }
figure { margin: 1em 0; }
table { margin: 0 0 1.5em; width: 100%; }

/* Links --------------------------------------------- */
a { color: #4169e1; }
a:visited { color: #4169e1; }
a:hover, a:focus, a:active { color: #191970; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

/* Forms --------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation --------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(18, 18, 18, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  color: #121212;
}

.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 48.1em) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
    flex-wrap: wrap;
  }

  .site-header.layout--one .main-navigation ul {
    justify-content: center;
  }
}

/* Posts and pages --------------------------------------------- */
.sticky { display: block; }

.post, .page {
  margin: 0 0 1.5em;
}

.updated:not(.published) { display: none; }

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments --------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
  color: #25C1C5;
}

.bypostauthor { display: block; }

/* Widgets --------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media --------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions --------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
  color: #121212;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries --------------------------------------------- */
.gallery {
  margin-bottom: 1em;
  display: grid;
  grid-gap: 1em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }

.gallery-caption { display: block; }

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll --------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility --------------------------------------------- */
.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 !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #B8FAF8;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(18, 18, 18, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #25C1C5;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

#primary[tabindex="-1"]:focus { outline: 0; }

/* Alignments --------------------------------------------- */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Footer & Custom Diamante FM Adjustments
--------------------------------------------------------------*/

/* Rodapé com gradiente oficial */
body .site-footer {
  background: linear-gradient(90deg, #121212, #25C1C5);
  color: #FFFFFF;
}

body .site-footer.dark_bk {
  border-top: 5px solid #25C1C5;
}

body .site-footer a {
  color: #6FE4E8;
  transition: color 0.3s ease;
}

body .site-footer a:hover {
  color: #FFFFFF;
}

/* Botões e elementos interativos */
button,
input[type="submit"],
input[type="button"] {
  background: #25C1C5;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: #6FE4E8;
}

/* Títulos principais */
h1, h2, h3, h4, h5, h6 {
  color: #121212;
}

/* Links */
a { color: #25C1C5; }
a:hover, a:focus, a:active { color: #6FE4E8; }

/* Bordas e divisores */
hr {
  background-color: #5E6A71;
}

/* Categorias (alto contraste) */
.category-acidentes { background-color: #C62828; color: #FFFFFF; }
.category-agricultura { background-color: #7BAE1A; color: #FFFFFF; }
.category-cultura { background-color: #1AB1B6; color: #FFFFFF; }
.category-esporte { background-color: #25C1C5; color: #FFFFFF; }
.category-noticias-locais { background-color: #121212; color: #FFFFFF; }
.category-policial { background-color: #0E5962; color: #FFFFFF; }
.category-saude { background-color: #219EBC; color: #FFFFFF; }
.category-festas { background-color: #D151B8; color: #FFFFFF; }

/* Player fixo topo */
.top-player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #121212, #25C1C5);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 9999;
  box-sizing: border-box;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-left img {
  height: 38px;
  width: auto;
}
