/* Responsive Styles for various screen sizes */
@media (max-width: 768px) {
div {
padding: 10px;
}
h1 {
font-size: 2em !important;
margin-bottom: 20px !important;
}
h2 {
font-size: 1.5em !important;
margin-bottom: 15px !important;
}
h3 {
font-size: 1.2em !important;
margin-top: 20px !important;
margin-bottom: 10px !important;
}
p, li, table {
font-size: 0.95em !important;
}
.info-box p {
font-size: 1em !important;
}
.info-box {
padding: 15px 20px !important;
margin-bottom: 30px !important;
}
.infographic-summary > div {
flex-basis: 100% !important; /* Stack elements on small screens */
}
}
@media (max-width: 480px) {
h1 {
font-size: 1.8em !important;
}
h2 {
font-size: 1.3em !important;
}
p, li, table {
font-size: 0.9em !important;
}
.infographic-summary > div {
padding: 15px !important;
}
}
/* Base styles for block editor integration */
/* Assuming Vazirmatn or IRANSansX font is loaded via theme or @import */
body {
font-family: ‘Vazirmatn’, ‘IRANSansX’, sans-serif;
direction: rtl;
text-align: right;
line-height: 1.8;
color: #333333;
margin: 0;
background-color: #F0F2F5; /* Light background for the overall page */
}
/* Main container for the article */
div {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
background-color: #F8F8F8; /* Slightly off-white for article background */
box-shadow: 0 0 20px rgba(0,0,0,0.05);
border-radius: 10px;
}
/* Headings */
h1 {
font-size: 2.5em; /* 2.5 times base font size */
font-weight: bold;
color: #0A1128; /* Deep Navy Blue */
text-align: center;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 3px solid #00C4CC; /* Vibrant Teal underline */
}
h2 {
font-size: 1.8em; /* 1.8 times base font size */
font-weight: bold;
color: #0A1128; /* Deep Navy Blue */
margin-bottom: 20px;
padding-bottom: 5px;
}
h3 {
font-size: 1.4em; /* 1.4 times base font size */
font-weight: bold;
color: #0A1128; /* Deep Navy Blue */
margin-top: 30px;
margin-bottom: 15px;
}
/* Paragraphs and Lists */
p {
font-size: 1.05em;
color: #444;
margin-bottom: 1em;
}
ul, ol {
padding-right: 20px;
font-size: 1.05em;
color: #444;
margin-bottom: 1em;
}
li {
margin-bottom: 10px;
}
/* Links */
a {
color: #00C4CC; /* Vibrant Teal */
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
}
a:hover {
color: #0A1128; /* Deep Navy Blue on hover */
text-decoration: underline;
}
/* Info Box / CTA */
.info-box {
background-color: #E6F7F7; /* Light teal background */
border-left: 5px solid #00C4CC; /* Vibrant Teal border */
padding: 20px 25px;
margin-bottom: 40px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.info-box p {
font-size: 1.1em;
color: #0A1128;
margin-bottom: 15px;
}
/* Infographic Summary */
.infographic-summary {
margin-bottom: 50px;
padding: 30px;
background-color: #FFFFFF;
border-radius: 12px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.infographic-summary h2 {
text-align: center;
margin-bottom: 30px;
}
.infographic-summary h2 span {
border-bottom: 2px solid #FFD166; /* Warm Gold underline */
padding-bottom: 5px;
}
.infographic-summary > div {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 20px;
}
.infographic-summary > div > div {
flex: 1 1 300px; /* Allows flexibility but minimum 300px width */
background-color: #F8FCFE; /* Very light blue background */
border: 1px solid #E0F2F2;
padding: 20px;
border-radius: 10px;
text-align: center;
box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.infographic-summary > div > div p:first-child {
font-size: 2em; /* Emoji size */
margin-bottom: 10px;
}
.infographic-summary > div > div p:nth-child(2) {
font-weight: bold;
color: #0A1128;
font-size: 1.1em;
}
.infographic-summary > div > div p:last-child {
color: #555;
}
/* Table of Contents */
.table-of-contents {
background-color: #EBF7FA; /* Light blue background */
border-radius: 10px;
padding: 25px 30px;
margin-bottom: 40px;
border: 1px solid #A8DDE4;
}
.table-of-contents h2 {
margin-bottom: 20px;
}
.table-of-contents h2 span {
border-bottom: 2px solid #00C4CC;
padding-bottom: 5px;
}
.table-of-contents ul {
list-style: none;
padding: 0;
}
.table-of-contents li {
margin-bottom: 10px;
}
.table-of-contents a {
color: #00C4CC;
text-decoration: none;
font-weight: normal;
}
.table-of-contents a:hover {
text-decoration: underline;
color: #0A1128;
}
/* Standard Table */
table {
width: 100%;
border-collapse: collapse;
text-align: right;
background-color: #FFFFFF;
border-radius: 8px;
overflow: hidden; /* Ensures rounded corners are applied */
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
margin-bottom: 20px;
}
table thead tr {
background-color: #0A1128; /* Deep Navy Blue header */
color: #FFFFFF;
}
table th, table td {
padding: 15px;
border: 1px solid #333; /* Darker border for contrast */
}
table th {
font-size: 1.1em;
font-weight: bold;
}
table tbody tr:nth-child(even) {
background-color: #F8FCFE; /* Lighter background for even rows */
}
table tbody tr:nth-child(odd) {
background-color: #FFFFFF; /* White background for odd rows */
}
table td ul {
list-style-type: square;
padding-right: 15px;
margin: 0;
}
/* Specific section div styling for better block separation */
div[id] {
background-color: #FFFFFF;
padding: 30px;
border-radius: 12px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
margin-bottom: 40px;
}
div[id]:nth-of-type(odd) {
background-color: #FDFDFD;
}
/* Custom styling for embedded images/diagrams (if any, described as text) */
.diagram-description {
font-style: italic;
color: #666;
text-align: center;
margin-top: 15px;
margin-bottom: 25px;
}