/*
Theme Name: hb
Author: HB Capital
Description: Giao diện magazine của lungmat.vn
Version: 1.0
License: GNU General Public License v2 or later
*/
@charset "UTF-8";
:root {
  --hb-default-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --hb-heading-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --hb-nav-font: sans-serif;

  --hb-background-color: #fff; /* Background color for the entire website, including individual sections */
  --hb-background-light-color: #f0f0f0;
  --hb-background-dark-color: #000;
  --hb-alt-background-color: #38383e;
  --hb-default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --hb-heading-color: #37373f; /* Color for headings, subheadings and title throughout the website */
  --hb-accent-color: #4169e1; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --hb-accent2-color: #191970;
  --hb-grey-color: #bbb; /* The contrast color is used for elements when the background color is one of the heading, accent, or default colors. Its purpose is to ensure proper contrast and readability when placed over these more dominant colors */
  --hb-contrast-color: #fff; /* The contrast color is used for elements when the background color is one of the heading, accent, or default colors. Its purpose is to ensure proper contrast and readability when placed over these more dominant colors */

  --wp--style--block-gap: 5px;
}
/* Reset */
a, abbr, acronym, address, applet, big, blockquote, body, caption, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, html, iframe, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, ul, var{border:0;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline}
html{line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary{display:block}
audio, canvas, progress, video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}
[hidden],template{display:none}
a{background-color:transparent}a:active{outline:0}a,a:focus,a:hover,a:visited{text-decoration:none !important;}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b, strong{font-weight:700}dfn{font-style:italic}
img{border:0;}svg:not(:root){overflow:hidden}figure{margin:0}
hr{box-sizing:content-box;height:0}pre{overflow:auto}code, kbd, pre, samp{font-size:1em}
button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button], input[type=reset], input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled], html input[disabled]{cursor:default}button::-moz-focus-inner, input::-moz-focus-inner{border:0;padding:0}
input{line-height:normal}input[type=checkbox], input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}
#comments .submit, .search .search-submit{padding:10px 15px;border-radius:2px;line-height:1.85714285714286;border:0}.archive .no-results .ast-search-submit,.search .site-main .ast-search-submit{display:none}
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration{-webkit-appearance:none}
fieldset{border:1px solid var(--ast-border-color);margin:0 0;padding:.35em .625em .75em}
legend{border:0;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}
fieldset legend{margin-bottom:1.5em;padding:0 .5em}
textarea{overflow:auto}
table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

/* Typography */
body, button, input, select, optgroup, textarea{color:#404040;font-family:var(--hb-default-font);font-size:1rem;}
h1, h2, h3, h4, h5, h6{clear:both;font-family:var(--hb-heading-font);font-weight:700;margin-bottom:0.3em;}
h1{font-size: 2.5em;}
h2{font-size: 2em;}
h3{font-size: 1.5em;}
h4{font-size: 1.2em;}
h5{font-size: 1em;}
h6{font-size: 0.8em;}
p{margin-bottom:1.5em;line-height:1.5}
dfn, cite, em, i{font-style:italic;}
blockquote{margin:0 1.5em;}
optgroup{font-weight:700}
address{margin:0 0 1.5em;}
pre{background:#eee;font-family:"Courier 10 Pitch",courier,monospace;line-height:1.6;margin-bottom:1.6em;max-width:100%;overflow:auto;padding:1.6em;}
code, kbd, tt, var{font-family:monaco,consolas,"Andale Mono","DejaVu Sans Mono",monospace;}
abbr, acronym{border-bottom:1px dotted #666;cursor:help;}
mark, ins{background:#ff0;color:#000;text-decoration:none;}
big{font-size:125%;}
small{font-size:80%}
sup,sub{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sup{top:-.5em}sub{bottom:-.25em}

.hb_max{width:100%;height:auto;max-width:100%}
.hb_fluid{width:100%;max-width:100%}

/* Links */
a,a:visited{color:var(--hb-default-color)}
a:hover,a:focus,a:active{color:var(--hb-accent-color)}
a:focus{outline:thin dotted;}
a:hover, a:active{outline:0;}

/* Elements */
body{background:#fff;}
hr{background-color:#ccc;border:0;height:1px;margin-bottom:1.5em;}
ul, ol{margin:0 0 1.5em 3em;}
ul{list-style:disc;}
ol{list-style:decimal;}
li > ul, li > ol{margin-bottom:0;margin-left:1.5em;}
dt{font-weight:700;}
dd{margin:0 1.5em 1.5em;}
/* Make sure embeds and iframes fit their containers. */
embed, iframe, object{max-width:100%;}
img{height:auto;max-width:100%;}
figure{margin:0;}
table{margin:0 0 1.5em;width:100%;}

/* 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;}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover{border-color:#ccc #bbb #aaa;}
button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus{border-color:#aaa #bbb #bbb;}
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{color:#666;border:1px solid #ccc;border-radius:3px;padding:3px;}
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:#111;}
select{border:1px solid #ccc;}
textarea{width:100%;}

/* 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(0,0,0,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;}
/* Small menu. */
.menu-toggle, .main-navigation.toggled ul{display:block;}
@media screen and (min-width:37.5em){.menu-toggle{display:none;}
.main-navigation ul{display:flex;}
}
.site-main .comment-navigation, .site-main.posts-navigation, .site-main.post-navigation{margin:0 0 1.5em;}
.comment-navigation .nav-links, .posts-navigation .nav-links, .post-navigation .nav-links{display:flex;}
.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous{flex:1 0 50%;}
.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next{text-align:end;flex:1 0 50%;}

/* Header Footer */
.hb-header,.hb-footer{background:var(--hb-background-light-color);display:flex;justify-content:space-between;align-items:center;padding:15px 15px 5px}
.hb-branding img{height:32px;max-height:32px}
.hb-branding h1{font-size:1.7em;display:flex;align-items:center;}
.hb-footer{font-size:80%;padding:15px}

/* Home/Category, Post/Page, Magazine */

.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;}
.wp-block-post-author__avatar .avatar{border-radius:50%;width:16px;height:16px}

.hb-post-meta{display:flex;justify-content:space-between;align-items:center;padding:10px 5px;margin-bottom:1.5em;color:var(--hb-grey-color)}
.hb-post-meta .byline a{display:flex;align-items:center;}
.hb-post-meta a,.hb-post-meta a:visited{color:var(--hb-grey-color)}
.hb-post-meta a:hover{color:var(--hb-accent2-color)}
.hb-post-meta .posted-on{font-size:90%}
.avatar{border-radius:50%;margin-right:10px}

.hb_post_thumbnail{height:300px;background-size:cover;background-position:center;vertical-align:bottom;display:table-cell;}
.hb_post_thumbnail:after{content:'';display:block;height:15px}

main{width:100%;max-width:100%;margin:0;padding:0;overflow:hidden;min-height:300px}
.hb-grid article{margin:0;padding:0;overflow:hidden}
.hb-post-wrapper{margin:0;padding:16px}
.hb-post-content figure{margin-bottom:1.5em}
.hb-post-summary p{margin-bottom:0}

@media screen and (min-width: 240px){
.hb-grid article,.hb-grid article.sticky,.hb-grid .hb_post,.hb-grid .hb_magazine{width:100%;}
}
@media screen and (min-width: 400px){
.hb-grid article{width:50%;}
.hb-grid article.sticky,.hb-grid article.hb_post,.hb-grid article.hb_magazine{width:100%;}
}
@media screen and (min-width: 768px){
.hb-grid article{width:33.33%;}
.hb-grid article.sticky{width:66.66%;}
.hb-grid article.hb_post,.hb-grid article.hb_magazine{width:100%;}
}
@media screen and (min-width: 1024px){
.hb-grid article{width:25%;}
.hb-grid article.sticky{width:50%;}
.hb-grid article.hb_post{width:75%;}
.hb-grid article.hb_magazine{width:100%;}
}
@media screen and (min-width: 1280px){
.hb-grid article{width:20%;}
.hb-grid article.sticky{width:40%;}
.hb-grid article.hb_post{width:60%;}
.hb-grid article.hb_magazine{width:80%;}
}
@media screen and (min-width: 1366px){
.hb-grid article{width:16.66%;}
.hb-grid article.sticky{width:33.32%;}
.hb-grid article.hb_post{width:49.98%;}
.hb-grid article.hb_magazine{width:66.64%;}
}
@media screen and (min-width: 1440px){
.hb-grid article{width:14.28%;}
.hb-grid article.sticky{width:28.56%;}
.hb-grid article.hb_post{width:42.84%;}
.hb-grid article.hb_magazine{width:57.12%;}
}
@media screen and (min-width: 1920px){
.hb-grid article{width:12.5%;}
.hb-grid article.sticky{width:25%;}
.hb-grid article.hb_post{width:37.5%;}
.hb-grid article.hb_magazine{width:50%;}
}
@media screen and (min-width: 2560px){
.hb-grid article{width:11.11%;}
.hb-grid article.sticky{width:22.22%;}
.hb-grid article.hb_post{width:33.33%;}
.hb-grid article.hb_magazine{width:44.44%;}
}
@media screen and (min-width: 3840px){
.hb-grid article{width:10%;}
.hb-grid article.sticky{width:20%;}
.hb-grid article.hb_post{width:30%;}
.hb-grid article.hb_magazine{width:40%;}
}

/* Pagination */
.hb-pagination{width:100%;text-align:center;margin-top:20px;}
.hb-pagination ul{display:flex;justify-content:center;list-style:none;padding:0;}
.hb-pagination li{margin: 0 5px;}
.hb-pagination a,.hb-pagination span{display:block;padding:5px 10px;background:var(--hb-background-light-color);color:#333;text-decoration:none;border-radius:4px;transition:0.3s;}
.hb-pagination .current{background:var(--hb-background-dark-color);color:var(--hb-contrast-color);font-weight:bold;}
.hb-pagination a:hover{background:var(--hb-background-dark-color);color:var(--hb-contrast-color);}

/* Comments */
.hb-comment-header{background:var(--hb-background-light-color);padding:5px;display:flex;justify-content:space-between;align-items:center;}
.hb-comment-user{display:flex;align-items:center;}
.hb-comment-author{font-weight:bold;}
.hb-comment-content{padding:10px 0 0 10px}

/* 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;}
.wp-caption-text{text-align:center;}

/* Galleries */
.gallery{margin-bottom:1.5em;display:grid;grid-gap:1.5em;}
.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 */
/* Text meant only for screen readers. */
.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:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,0.6);clip:auto !important;clip-path:none;color:#21759b;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;}
/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus{outline:0;}
/* Alignments */
.alignleft{
/*rtl:ignore*/
float:left;
/*rtl:ignore*/
margin-right:1.5em;margin-bottom:1.5em;}
.alignright{
/*rtl:ignore*/
float:right;
/*rtl:ignore*/
margin-left:1.5em;margin-bottom:1.5em;}
.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto;margin-bottom:1.5em;}




/* Testing - Debug */

