/*
Theme Name: RephraseTool Blog
Description: Custom theme matching the RephraseTool.com main site header, footer, and typography.
Author: Lustinus
Version: 1.0
Text Domain: rephrasetool-blog
*/

/* ==========================================================================
   Base / Typography (matched from theme.css on rephrasetool.com)
   ========================================================================== */
body {
  background: #fff;
  color: #666;
  font-family: 'Droid Serif', Arial, Helvetica, sans-serif;
  font-size: 1em;
  line-height: 1.4em;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  line-height: 1.5em;
  margin: .45em 0;
  padding: 0;
  color: #333;
}

a, a:visited, a:active { color: #0099ff; text-decoration: none; }
a:hover { text-decoration: underline; }

* { box-sizing: border-box; -moz-box-sizing: border-box; }

img { max-width: 100%; height: auto; }

p { margin: 0 0 1.5em; }

.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* ==========================================================================
   Structure
   ========================================================================== */
.wrapper { width: 92%; margin: 0 auto; }

@media only screen and (min-width: 980px) {
  .wrapper { max-width: 1200px; margin: .75em auto; }
}

header.site-header { padding: 15px 0; }
#banner { text-align: center; }

@media only screen and (min-width: 481px) {
  #banner { float: left; text-align: left; margin-bottom: -20px; }
  .menu-toggle { margin-top: 10px; float: right; }
}
@media only screen and (min-width: 980px) {
  header.site-header { padding: 0; }
  #banner { float: left; text-align: left; margin-bottom: 0; margin-top: 5px; }
}

#page-header {
  background: #f3f3f3;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
  padding: 30px 0;
  text-align: center;
}
#page-header h1 { margin: 0; }
#page-header .page-description { margin: 10px 0 0; color: #666; font-size: 1.05em; }

#content-area { padding: 40px 0; }

/* ==========================================================================
   Main Menu (matches .srt-menu on main site)
   ========================================================================== */
.menu-toggle {
  display: block;
  padding: 10px;
  margin: 20px 0 0;
  background: #666;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 20px;
}
.menu-toggle.toggled-on { background: #38b6ff; }

.srt-menu { display: none; clear: both; margin-bottom: 20px; list-style: none; padding: 0; }
.srt-menu.toggled-on { display: block; position: relative; z-index: 10; }
.srt-menu li a {
  color: #666; background: #dadada; display: block; margin: 1px 0; padding: 10px;
  text-decoration: none; font-size: .9em;
}
.srt-menu li a:hover { background: #38b6ff; color: #fff; }

@media only screen and (min-width: 980px) {
  .menu-toggle { display: none; }
  .srt-menu { display: block; }
  #topnav, .srt-menu { float: right; margin: .35em 0 0 0; }
  .srt-menu, .srt-menu * { margin: 0; padding: 0; list-style: none; }
  .srt-menu li { float: left; position: relative; margin-left: 1px; height: 25px; }
  .srt-menu a { display: block; position: relative; text-decoration: none; }
  .srt-menu li a { background: #fff; margin: 0; padding: 10px 20px; color: #666; }
  .srt-menu li:hover > a { color: #fff; background: #38b6ff; }
  .srt-menu li.current a { color: #38b6ff; background: none; }
  .srt-menu li.current:hover > a { color: #fff; background: #38b6ff; }
}

/* ==========================================================================
   Blog content
   ========================================================================== */
.wide-content article,
.post-card {
  border: 1px solid #EFEFEF;
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  margin-bottom: 25px;
}

.post-card h2 { margin-top: 0; }
.post-card h2 a { color: #333; }
.post-card h2 a:hover { color: #38b6ff; }

.post-meta { font-size: .85em; color: #999; margin-bottom: 10px; }

.entry-content { max-width: 800px; }
.entry-content h2, .entry-content h3 { color: #333; }
.entry-content img { border-radius: 8px; margin: 1em 0; }

.pagination { text-align: center; margin: 30px 0; }
.pagination a, .pagination span {
  display: inline-block; padding: 8px 14px; margin: 0 4px;
  background: #dadada; color: #666; border-radius: 4px; text-decoration: none;
}
.pagination a:hover, .pagination .current { background: #38b6ff; color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  background-color: #2c3e50;
  color: #bdc3c7;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-family: Arial, sans-serif;
  margin-top: 40px;
}
#colophon { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.footer-grid-container { display: grid; gap: 1.5rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) { .footer-grid-container { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid-container { grid-template-columns: repeat(4, 1fr); } }
.footer-section { padding: 10px; }
.footer-section h3 {
  font-size: 20px; color: #fff; margin-bottom: .75rem;
  position: relative; padding-bottom: 10px;
}
.footer-section h3::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px;
  background: linear-gradient(90deg,#4285F4,#34A853,#FBBC05,#EA4335); border-radius: 3px;
}
.nav-list { margin: 0; padding: 0; list-style: none; }
.nav-item { margin-bottom: .35rem; }
.nav-item a {
  color: #bdc3c7; text-decoration: none; font-size: .95rem; display: flex; align-items: center; padding: 6px 0;
}
.nav-item a:hover { color: #fff; text-decoration: underline; padding-left: 5px; }
.nav-item svg { margin-right: 10px; width: 20px; height: 20px; fill: currentColor; flex: 0 0 20px; }

.social-link {
  display: flex; align-items: center; text-decoration: none; color: #bdc3c7; font-size: .95rem; margin-bottom: .5rem;
}
.social-link svg { margin-right: 10px; width: 20px; height: 20px; flex: 0 0 20px; }
.social-link:hover { color: #fff; }
.social-link.pinterest svg { fill: #E60023; }

#copy_right {
  color: #bdc3c7; font-size: 14px; text-align: center; clear: both; padding-top: 20px;
  border-top: 1px solid #34495e; margin-top: 20px;
}
