/*
Theme Name: VisualNews
Theme URI: https://wpenjoy.com/themes/visualnews
Author: WPEnjoy
Author URI: https://wpenjoy.com
Description: VisualNews is a WordPress newspaper theme built with the WordPress Site Editor, which allows you to create beautiful newspaper websites with drag and drop, no coding skills required. Theme Demo: https://demo.wpenjoy.com/visualnews Documentation: https://wpenjoy.com/documentation/visualnews/
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 5.6
Version: 1.0.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: 
Text Domain: visualnews
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/
.one-line,
.two-lines,
.three-lines,
.four-lines {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical; }

.one-line {
  -webkit-line-clamp: 1; }

.two-lines {
  -webkit-line-clamp: 2; }

.three-lines {
  -webkit-line-clamp: 3; }

.four-lines {
  -webkit-line-clamp: 4; }

:root {
  --wp--custom--core-button--spacing--padding--left: 40px;
  --wp--custom--core-button--spacing--padding--right: 8px;
  --wp--custom--core-button--spacing--padding--top: 8px;
  --wp--custom--core-button--spacing--padding--bottom: 10px;
  --wp--custom--core-button--color: var(--wp--preset--color--white);
  --wp--custom--core-button--color--background: var(--wp--preset--color--primary);
  --wp--custom--core-button--color-hover: var(--wp--preset--color--primary);
  --wp--custom--core-button--color--background-hover: var(--wp--preset--color--secondary);
  --wp--custom--core-button--box-sizing: border-box;
  --wp--custom--core-button--word-break: border-box;
  --wp--custom--core-button--text-align: center;
  --wp--custom--core-button--border-radius--top-left: 0;
  --wp--custom--core-button--border-radius--top-right: 0;
  --wp--custom--core-button--border-radius--bottom-left: 0;
  --wp--custom--core-button--border-radius--bottom-right: 0;
  --wp--custom--core-button--typography--font-size: var(--wp--preset--font-size--small);
  --wp--custom--core-button--typography--font-weight: 500;
  --wp--custom--core-button--line-height: 1.7; }

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased; }

header p a,
footer p a {
  text-decoration: none; }

/* -------------------------------------------------------- */
/* ---// Links Style
-------------------------------------------------------- */
a {
  text-decoration: none; }

p a {
  text-decoration: underline; }

.editor-styles-wrapper .has-no-underline a,
.editor-styles-wrapper .has-no-underline,
.has-no-underline a, .has-no-underline,
.wp-block-post-excerpt__more-link,
.wp-block-latest-posts .wp-block-latest-posts__post-title:hover,
.page-template-page-no-title .widget a:not(.wp-block-button__link),
.page-template-page-no-title .entry-summery a:not(.wp-block-button__link),
.page-template-page-no-title .entry-content a:not(.wp-block-button__link) {
  text-decoration: none; }

select,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  box-sizing: border-box;
  display: block;
  font-size: var(--wp--preset--font-size--small);
  width: 100%;
  background: var(--wp--preset--color--input-field);
  border: 1px solid transparent;
  line-height: 1.75;
  padding: 7px 15px;
  color: var(--wp--preset--color--foreground); }

select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: var(--wp--preset--color--foreground) !important;
  box-shadow: none;
  outline: none;
  border: 1px solid var(--wp--preset--color--primary); }

textarea {
  width: 100%;
  height: 120px;
  padding: 15px 20px; }

input[type="checkbox"] {
  display: inline; }

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: var(--wp--preset--color--foreground); }

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: var(--wp--preset--color--foreground); }

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: var(--wp--preset--color--foreground); }

table {
  border-spacing: 0;
  border: 1px solid var(--wp--preset--color--border); }

table td,
table th {
  border: 1px solid var(--wp--preset--color--border);
  padding: 15px; }

.wp-block-preformatted {
  background-color: var(--wp--preset--color--background-secondary);
  box-sizing: border-box;
  font-family: 'Courier Prime', monospace;
  overflow: auto;
  word-wrap: break-word;
  padding: 60px; }

.wp-block-quote {
  position: relative;
  padding: 0 0 0 20px;
  border-color: var(--wp--preset--color--primary); }

.wp-block-quote p {
  font-size: var(--wp--preset--font-size--medium);
  font-style: normal;
  margin-top: 0; }
  .wp-block-quote p:last-child {
    margin-bottom: 0; }

.wp-block-quote.is-large:not(.is-style-plain), .wp-block-quote.is-style-large:not(.is-style-plain) {
  padding: 50px; }

select,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  border-radius: 0;
  box-sizing: border-box;
  display: block;
  font-size: 17px;
  width: 100%;
  background: var(--wp--preset--color--input-field);
  border: 1px solid #e9e9e9;
  line-height: 1.75;
  padding: 7px 15px;
  color: var(--wp--preset--color--foreground); }

select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: var(--wp--preset--color--primary);
  box-shadow: none;
  outline: none;
  border: 1px solid var(--wp--preset--color--primary); }

textarea {
  width: 100%;
  height: 120px;
  padding: 15px 20px; }

input[type="checkbox"] {
  display: inline; }

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: var(--wp--preset--color--foreground); }

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: var(--wp--preset--color--foreground); }

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: var(--wp--preset--color--foreground); }

hr {
  background-color: var(--wp--preset--color--border);
  border-width: 0;
  height: 1px;
  margin-bottom: 1.5em; }

.wp-block-search__button,
.wp-block-file .wp-block-file__button,
.wp-block-button__link {
  text-decoration: none;
  border-style: solid; }

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
  text-decoration: none;
  border-style: solid; }

.wp-block-button.is-style-outline .wp-block-button__link {
  border: 2px solid;
  text-decoration: none; }

.wp-block-button.is-style-fill .wp-block-button__link {
  border: 2px solid transparent;
  text-decoration: none; }

.is-style-outline > .wp-block-button__link:not(.has-text-color),
.wp-block-button__link.is-style-outline:not(.has-text-color) {
  color: var(--wp--preset--color--primary); }

input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: none;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  padding: 10px 30px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.5; }

input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white); }

.wp-block-button__link:hover {
  text-decoration: none; }

.primary-menu.wp-block-navigation ul li.current-menu-item a span {
  color: var(--wp--preset--color--primary); }

.primary-menu.wp-block-navigation ul li.current-menu-item li a span {
  color: #222; }

.wp-block-navigation ul li .wp-block-navigation-submenu__toggle {
  background: none; }

.editor-styles-wrapper .wp-site-blocks > * + *,
.editor-styles-wrapper .wp-site-blocks > * + * + *,
.wp-site-blocks > * + *,
.wp-site-blocks > * + * + * {
  margin: 0; }

.has-box-shadow {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px; }

.line-height-clear {
  line-height: 0.5; }

.wp-block-group iframe {
  width: 100%; }

.single .entry-content iframe,
.single .entry-content video {
  aspect-ratio: 16/9; }
  
  
  
.related-posts-grid {
    margin-top: 40px;
}
.related-posts-grid h3 {
    font-size: 20px;
    margin-bottom: 20px;
}
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.grid-item a img {
    width: 100%;
    height: 100px;
    display: block;
    object-fit: cover;
}
.post-title {
    margin-top: 10px;
}
.post-title a {
  
font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: -webkit-box;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-title a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .grid-wrapper {
        grid-template-columns: 1fr;
    }
}
.wp-block-navigation__container:only-child,
.wp-block-page-list:only-child {
  flex-grow: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex-direction: row;
    margin: 0;
    color: #fff;
    background: #363b3f;
    width: 100%;
    height: 40px;
    position: relative; /* NOT fixed initially */
    transition: all 0.3s ease-in-out;
    align-items: center;
    z-index: 999;
	overflow:auto;
}

/* Sticky class applied on scroll */
.wp-block-navigation__container:only-child,
.wp-block-page-list:only-child {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Navigation item label styling */
.wp-block-navigation .wp-block-navigation-item__label {
    white-space: nowrap;
    margin-left: 13px;
    font-weight: 600;
}

/* Responsive adjustment for mobile */
@media (max-width: 480px) {
   .wp-block-navigation__container:only-child,
.wp-block-page-list:only-child {{
        white-space: nowrap;
        margin-left: -14px;
        margin: 10px;
        font-weight: 600;
    }
}



	

.wp-block-post-excerpt__excerpt {
    margin: 0;
    color: rgb(143 42 42);
    text-decoration: unset;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: 5px solid #fe5102;
    font-size: 18px;
   
}

.wp-block-navigation.items-justified-space-between
Specificity: (0,2,0)
 {
    --navigation-layout-justification-setting: space-between;
    --navigation-layout-justify: space-between;
    margin: 0;
}
	
.wp-block-navigation.no-wrap {
    --navigation-layout-wrap: nowrap;
    margin-top: 12px;
}

@media (max-width: 480px) {
    .wp-block-navigation.no-wrap {
    --navigation-layout-wrap: nowrap;
    margin-top: 0px;
		        margin-left: -24px;
		width: -webkit-fill-available;
		position: fixed;
            top: 58px;
		
}
    }


:root :where(.is-layout-constrained) > :first-child {
    margin:12px;
}

  
@media (max-width: 768px) {
  .mobile-float-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #ff1d1d;
    z-index: 9999;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
  }

  .mobile-float-menu {
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 2px 2px;
    list-style: none;
    height: 61px;
  background: #2b2323;
  }

  .mobile-float-menu li {
    flex: 1;
    text-align: center;
  }

  .mobile-float-menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
            color: white;
    gap: 2px;
  }

  .mobile-float-menu amp-img,
  .mobile-float-menu img {
    margin-bottom: 2px;
    border-radius: 4px;
	  width: 34px;
        height: 34px;
  }

  body {
    padding-bottom: 80px;
  }
}


	
	header.wp-block-template-part {
    box-shadow: rgba(99, 99, 99, .2) 0 2px 8px 0;
    margin: 0 0 1.5em;
}
	@media only screen and (max-width: 959px) {
    header.wp-block-template-part {
        margin-bottom: 1rem;
        position: fixed;
        top: 0;
        background: white;
        width: 100%;
        z-index: 999;
    }
}


	
	.wp-container-core-group-is-layout-cb46ffcb {
       flex-wrap: nowrap;
    justify-content: space-between;
    position: fixed;
    top: -13px;
    z-index: 999;
    width: -webkit-fill-available;
    background: white;
    height: 59px;
}
	
	
	
	@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
        margin-top: 20px;
    }
}
	
	@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
        margin-top: 42px;
    }
}
	
	

	.featured-left .wp-block-post {
    border-bottom: 1px solid #f0f0f0;
    margin: 0 0 20px 0 !important;
    padding: 0 0 20px 0 !important;
    width: 100%;
    position: relative;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 1px 1px 4px 1px rgba(221, 221, 221, 0.65);
    margin-bottom: 20px;
    padding-top: 15px;
}
	
	
	.section-header h2 {
    line-height: 41px !important;
    font-size: 20px;
    background: #c3c3c373;
    border-left: 5px solid #fe5102;
}
	
	.wp-container-core-group-is-layout-fc9f69e7 {
    flex-wrap: nowrap;
    justify-content: flex-start;
    background: #c9c9c9;
}
	
	.featured-left .wp-block-post-title a {
    display: block;
    line-height: 1.5;
}