/*
Theme Name: Ozeki
Description: OZEKI Tokyo Cuisine (ozeki.com.my) のオリジナルデザインを WordPress 化したテーマ。プロモーション・メニューを管理画面から更新できます。
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ozeki
*/

/*
 * The original site CSS lives unchanged in assets/css/ (reset.css, style.css, camera.css,
 * jquery.tosrus.all.css). This file only adds styles for parts that are new in the
 * WordPress version.
 */

/* Home: intro paragraphs (edited in the block editor). Originally p.mb10, p.mb10, p.mb20. */
.intro_text p { margin-bottom: 10px; }
.intro_text p:last-child { margin-bottom: 20px; }

/*
 * Home: right column. On the original, the Facebook box gives this floated column its
 * 440px width once it loads; fix the width so the YouTube box never collapses meanwhile
 * (or if Facebook is blocked by the visitor's browser).
 */
@media only screen and (min-width: 961px) {
	#contentBottom .contentRight { width: 440px; }
}

/* Promotion text (edited in the classic editor) */
.promotion-body p { margin-bottom: 1em; }
.promotion-body p:last-child { margin-bottom: 0; }
.promotion-body a:link,
.promotion-body a:visited { text-decoration: underline; }
.promotion-body strong, .promotion-body b { font-weight: bold; }
.promotion-body em, .promotion-body i { font-style: italic; }
.promotion-body ul { list-style: disc; margin: 0 0 1em 1.5em; }
.promotion-body ol { list-style: decimal; margin: 0 0 1em 1.5em; }
.promotion-body img { max-width: 100%; height: auto; }

/* Location: the map is now an embed iframe inside the original #map_canvas1 box */
#map_canvas1 iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Generic page (page.php) content */
.page-body { line-height: 1.6em; }
.page-body p { margin-bottom: 1em; }
.page-body h2 { font-size: 1.3em; font-weight: bold; margin: 1.5em 0 0.5em; }
.page-body ul { list-style: disc; margin: 0 0 1em 1.5em; }
.page-body ol { list-style: decimal; margin: 0 0 1em 1.5em; }
.page-body img { max-width: 100%; height: auto; }
