* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial;    
}
html,
body {
	display: flex;
	flex-direction: column;
    height: 100vh;
    margin: 0;
    font-family: sans-serif;
    background-color: black;
    color: white;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#dynamic-header {
    position: static;
    width: 100%;
    justify-content: flex-end;
    height: 50px;
    max-height: 50px;
    min-height: 50px;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}
#dynamic-header > h1 {
	display: none;
}
.container {
    flex: 1;
    margin-bottom: 50px;
}
main {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
main > article ul,
main > article ol {
	margin-left: 1em;
	margin-bottom: 1em;
}
main > article p {
	text-indent: 1em;
	margin-bottom: 1em;
}
main > article h1,
main > article h2,
main > article h3,
main > article h4,
main > article h5,
main > article h6 {
	margin-top: 1em;
	margin-bottom: 1em;
}
main > article iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
}
main > article img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}
#regionsDropdownMenu > img {
	height: 20px;
}
.dropdownMenu {
	color: white;
    background-color: black;
    height: 100%;
    padding: 10px 15px;
	font-weight: bold;
	font-size: 15px;
	border: none;
	display: inline-block;
    cursor: pointer;
    display: flex;
	align-items: center; 
}
.dropdownMenu::after {
    content: '▶';
    display: inline-block;
    transform-origin: center center;
    margin-left: 0.6em;
    transition: transform 0.3s ease;
    font-size: 0.8em;
    line-height: 1;
}
.dropdownMenu.open::after {
    transform: rotate(90deg);
}
#regionDropdownOptions {
	position: absolute;
	right: 0;
	top: 50px;
	width: 100%;
	height: calc(100vh - 50px);
	padding: 0;
	margin: 0;
	display: none;
	background-color: black;
	overflow-x: hidden;	
	overflow-y: scroll;
	scrollbar-width: none;
	-ms-overflow-style: none;	
}
#regionDropdownOptions::-webkit-scrollbar {
	display: none;
}
#regionDropdownOptions > li {
	display: flex; 
	align-items: center;
	list-style-type: none;
	color: white;
    background-color: black;
    height: 46px;
    padding: 1px;
	font-weight: bold;
	font-size: 25px;
    width: 100%;
	margin: 2px 0;
	margin-left: 2px;    
}
#regionDropdownOptions > li > img {
	height: 100%;
	margin-right: 10px;
	display: none;
}
#regionDropdownOptions.flagsLoaded > li > img {
	display: initial;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}
.close-button {
	display: flex;
	align-items: center;
	font-size: 40px;
	font-weight: bold;
	color: white;
	background: none;
	border: none;
	cursor: pointer;
	margin-right: 15px;
}
a.share,
button.share {
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	color: inherit;
	background: none;
	cursor: pointer;
	transition: border-color 0.5s ease-in-out;
	flex-shrink: 0;
}
a.share:hover, 
button.share:hover {
	border-color: white;
}

a.share > i, 
button.share > i {
	font-size: 1.5rem;
	line-height: 1;
}
aside {
	display: flex;
    height: 100vh;
    display: none;
    margin: 0;
    padding: 0;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scroll-behavior: smooth;
}
aside::-webkit-scrollbar {
	display: none;
}
aside article {
    width: 100%;
    height: 100%;
    background-color: #1c1c1c;
    overflow-y: auto;
    padding: 20px;
    user-select: none;

	scroll-snap-align: start !important;  
}
aside article::-webkit-scrollbar {
    display: none;
}
.article-share-bar{
	display: none;
}
aside article:last-of-type {
	border-bottom: 2px solid grey;
}
aside article img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 1em;
}
aside article > p {
    margin-bottom: 1em;
}
h1 {
    margin-bottom: 1em;
    font-size: 1.8em;
}
details {
    margin-top: 1em;
}
summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-weight: bold;
}
summary::after {
    content: "▶";
    display: inline-block;
    transform-origin: center center;
    margin-left: 0.4em;
    transition: transform 0.3s ease;
    font-size: 0.8em;
    line-height: 1;
}
details[open] summary::after {
    transform: rotate(90deg);
}
details p {
    margin-top: 0.5em;
}
button.full-article-button {
    width: 100%;
    height: 50px;
    color: white;
    background-color: #404040;
    border: 2px solid white;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    border-radius: 25px;
}
#icons {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    background-color: black;
    padding: 0;
    margin: 0;
}
.icon-btn {
	font-size: 35px;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease;
	color: white;
	position: relative;
	margin: 10px;
}
#dislikeButton {
	transform: scaleX(-1);
}
#bubble {
	position: absolute;
	background: #404040;
	color: white;
	padding: 8px 12px;
	border-radius: 5px;
	font-size: 14px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 1000;
	transform: translateX(-50%);
}
#bubble.share {
	display: grid;
	grid-template-columns: repeat(2, 50px);
	grid-template-rows: repeat(3, 50px);
	gap: 10px;
	width: max-content;
}
#bubble::before {
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #404040;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
}
/**********comment section************/
#commentList i.fa-solid,
#commentList i.fa-regular {
	font-size: 20px;
}
#commentList details {
	margin: 0px;
	margin-bottom: 10px;
}
#commentList li {
	margin-left: 15px;
}
#commentList,
#commentList ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
span.comment-text {
	display: inline-block;
	line-height: 1;
	min-height: 1em;
	padding: 5px;
}
#commentList details > ul {
	padding-top: 10px;
}
#commentList details summary {
	margin-left: 5px;
}
#comment-buttons {
	margin-bottom: 10px;
}
i.fa-comment{
	margin-left: 5px;
}
#commentList span[contenteditable] {
	outline: none;
	box-shadow: 0 0 0 2px white; 
	min-width: 250px;
}
.comment-buttons button {
	background: #333;
	color: white;
	border: 1px solid #555;
	border-radius: 4px;
	padding: 3px 8px;
	font-size: 0.85em;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}
.comment-buttons button:hover {
	background: #555;
	color: #fff;
}
.comment-buttons button:active {
	background: #777;
}