/*
Theme Name: 9NE
Theme URI: https://9ne.com.br
Author: Tábula Digital
Author URI: https://tabuladigital.com.br
Description: Tema desenvolvido para o 9NE
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
*/

/* Import Font */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* Root Variables */
:root {
  --primary-color: #094372;
  --secondary-color: #084e8a;
  --accent-color: #f47b20;
  --light-bg: #f5f7fa;
  --dark-text: #333333;
  --light-text: #ffffff;
}

/* Base Styles */
body {
  font-family: "Inter", sans-serif;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

/* Header */
header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
  background-color: var(--primary-color);
  padding: 0.5rem 0;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler.always-visible {
  display: block !important;
}

.navbar-toggler i {
  color: var(--accent-color);
  font-size: 2rem;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-nav {
  width: 100%;
  text-align: center;
}

.navbar-nav .nav-link {
  color: var(--light-text) !important;
  font-weight: 500;
  padding: 8px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color) !important;
}

/* Logo */
.logo {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Social Icons */
.social-icon {
  font-size: 2rem;
  color: #fff;
}

.social-icon:hover {
  color: var(--accent-color);
}

.social-icons a {
  font-size: 3.5rem;
  color: var(--accent-color);
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.social-icons a:hover {
  background-color: #333;
  color: var(--accent-color);
}

/* Offcanvas Menu */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1;
  display: none;
}

.offcanvas {
  background-color: var(--primary-color);
}

.offcanvas-header button {
  background-color: transparent;
  border: none;
}

.offcanvas-header button i {
  color: #fff;
  font-size: 2.2rem;
  margin-right: auto;
  opacity: 50%;
}

.social-media-menu a {
  color: var(--accent-color);
  font-size: 2.3rem;
  text-decoration: none;
}

/* Buttons */
.read-more-btn,
.read-more-btn-sm {
  background-color: var(--accent-color);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.read-more-btn {
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  align-self: flex-start;
  margin-top: auto;
}

.read-more-btn:hover {
  background-color: #e05e00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.read-more-btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.read-more-btn-sm:hover {
  background-color: #e05e00;
}

/* Advertisement */
.ad-banner {
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  padding: 3rem 0 2rem;
}

.footer h5 {
  color: var(--light-text);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer p,
.footer li {
  color: rgba(255, 255, 255, 0.8);
}

/* Home Section */
.news-home {
  margin-top: 2rem;
}

.news-home-img {
  width: 60%;
  height: 395px;
  border-radius: 0.5rem;
  background-repeat: no-repeat;
  background-size: cover;
}

.news-home-content {
  width: 600px;
  position: absolute;
  right: 1rem;
  top: 2rem;
  background: #e9f3ff;
  padding: 3rem;
  border-radius: 0.8rem;
  box-shadow: 1px 3px 10px 0px #0000002b;
}

.news-home-title h1 {
  color: var(--primary-color) !important;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 1rem;
}

.news-home-text {
  color: #002981 !important;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.news-home-button {
  text-align: right;
}

    .news-block {}

    .news-block-title h2 {
      font-size: 1.3rem;
      color: var(--primary-color);
      font-weight: bold;

    }

    .news-block-title a {
      text-decoration: none;
      color: var(--accent-color);
      font-weight: bold;
      font-size: .9rem;

    }

    .nb-content {
      width: 100%;
      height: auto;
      border: 1px solid #dee0e2;
      border-radius: .4rem;
      padding: .8rem;
      border-bottom: 2px solid var(--accent-color);
    }

    .nb-img {
      width: 100%;
      height: 150px;
      border-radius: 5px 5px 0 0;
      background-size: cover;
    }

    .nb-data {
      font-size: .8rem;
      display: block;
      margin-bottom: .2rem;
      margin-top: .5rem;
      color: #6c757d;

    }

    .nb-read {
      text-decoration: none;
      color: var(--primary-color);
      font-weight: 700;
      font-size: 1.1rem;

    }

/* Media Queries */
@media (max-width: 991.98px) {
  /* Placeholder: Add rules here as needed */
}

@media (max-width: 767.98px) {
  .news-home {
    margin-top: 2rem;
    position: relative;
  }

  .news-home-img {
    width: 100%;
    height: 295px;
  }

  .news-home-content {
    width: 100%;
    position: static;
    margin-top: -100px;
    right: 0;
    top: -120px;
    padding: 2rem 3rem;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .logo {
    height: 50px;
  }
}
